changelog

0.5.0

2026-12-05

added

  • Global Fuzzy Quick Finder (``Ctrl+K``) & Ripgrep Content Search (``Ctrl+Shift+F``): Added search.py (fuzzy_score, search_files_and_repos, grep_content using rg --json with pure-Python fallback), GET /api/search/quick & GET /api/search/grep, top-bar Find/Grep triggers, and keyboard-navigable modals jumping directly to repos, files, and highlighted source lines in Miller Files.

  • Ranger ``o*`` Sorting, ``dc`` Directory Sizes & Persistent Custom ``g*`` Bookmarks: Added Miller Files sort controls and chords (on natural, os size, om mtime, oe extension, or reverse, of facsimile), dc cumulative folder sizing via /api/system/sizes, and mb / Jump modal +/× persistent bookmarks stored in ~/.config/clerk/bookmarks.toml via POST /api/bookmarks and DELETE /api/bookmarks/{key} with SSE sync.

  • Interactive Split-Pane Git Workbench (``wg``): Added git_ops.py and /api/git/{workbench,diff,stage,unstage,discard,commit,checkout,stash,sync} powering a split-pane workbench with Changes/Commits tabs, Staged/Unstaged/Untracked groups, per-file inline stage/unstage/discard, colorized unified diffs (including untracked file previews and commit patches), branch switcher & branch creation, inline commit bar, stash/pop, pull/push, and SSE git_changed sync.

  • Split-Pane Ordered Todos Workbench (``wt``): Added create_todo_file / archive_todo_file in track/core.py, POST /api/todos/{create,archive}, live syntax-highlighted split preview, project filter pills, inline + New Todo creation, and non-destructive .archive/ completion archiving with SSE todos_changed sync.

  • Dedicated ``resources/`` Archival & Codex Explorer: Added inspect_resources_tree in inspect_tree.py, GET /api/tree/resources, and a split-pane resources/ navigator showing editions, folios (PNG scan / RST transcription / SVG plate badges & status filters), instant Scan ↔ RST ↔ SVG switching, and Folio Review integration.

  • SSE Streaming Action Console + Cancel: Added POST /api/actions/run_stream and POST /api/actions/cancel/{run_id} streaming live command stdout/stderr line-by-line into #console-drawer over SSE action_stream with a one-click Stop (SIGTERM) button.

  • Sticky Audio Mini-Player Bar: Added a persistent bottom #audio-bar mini-player with track title, native playback scrubber, and always-visible Stop × control whenever audio plays inside Miller Files or Gallery Stage.

changed

  • Zero-Build Native ES Module Web Frontend: Split the monolithic 5,058-line web/clerk.js into 14 focused native ES modules under web/js/ and web/js/views/, updated pyproject.toml package-data globs, and fixed cross-module imports.

  • Repo-Wide Zero-Warning ``ruff`` Hygiene: Resolved all 81 legacy ruff warnings across src/ (build/, curate/, gather/, log/, navigator/, track/) and tests/ (specific exception types, ClassVar Textual BINDINGS, explicit subprocess.run(check=...), and sorted imports) so ruff check src tests exits cleanly with zero warnings.

0.4.1

2026-12-05

added

  • Chordulator Studio Managed Service: Registered chordulator-studio (harmonic-resonance/chordulator on http://127.0.0.1:7788, org.photon.ChordulatorStudio) in config._builtin_ecosystem_services and service tests.

fixed

  • Audio Playback Control (`mpv` & Embedded Media): Passed --force-window=yes --player-operation-mode=pseudo-gui to all mpv launchers (config.py, launchers.py, media.py) so audio files always open a visible playback window instead of running headless in the background; added stopEmbeddedMedia() in clerk.js to pause and reset HTML5 <audio>/<video> elements on Gallery Stage close, mode/folder changes, and tab switches; removed surprise autoplay from #gallery-stage.

0.4.0

2026-12-03

added

  • Built-In Static Website Serving (``/site/<org>/<repo>/``): Added zero-port static website routes in clerkd serving <repo>/docs/ (or root index.html fallback) with automatic trailing-slash redirects, .svg/.svgz MIME handling, Cache-Control: no-cache, and path-traversal guards. Added launchers.py, POST /api/site/launch, has_site capability detection, publish.site & publish.serve actions, one-click Website launchers across the Repo Cockpit and docsrc/ Explorer, and per-page View Built Page deep links.

  • Managed Folio Review Viewer Sessions: Added thread-safe Folio Review lifecycle tracking in launchers.py (state_dir/folio_sessions.json + per-repo logs) and /api/folio/{sessions,launch,stop} endpoints with SSE folio_sessions_updated sync, reusing live servers instead of spawning duplicate processes and surfacing one-click Folio Viewer & Stop controls across Repo Cockpit, docsrc/ Explorer, and the Workspace Fleet dashboard.

  • In-Place Gallery Single-Image Stage: Pressing Enter (or double-clicking any tile) in Gallery now toggles cleanly in-place between the Contact Sheet Grid and a full-bleed Single-Image Stage (Shadow-DOM SVGs with t theme cycling & o facsimile underlay, rasters, video/audio, PDFs, +/-/0 zoom, Space marking, and h/l/j/k navigation). Pressing O or Open in svxiv hands off marked items or the entire filtered gallery rotated to the selected image.

  • Ranger-Style ``r`` Open With Modal: Added GET /api/open/options, extended POST /api/open (option_id + custom_cmd), and wired a numbered Open With… modal (0–9 quick picks, j/k/Enter, and / custom command) that serves HTML files inside built sites directly over clerkd HTTP or opens them in photon-app, browser, or nvim.

changed

  • Ranger-Aligned Keymap, ``w*`` Leader & Clamped Scrolling: Replaced colliding single-letter view bindings with a w* leader chord (wd/wf/wi/wg/wt/ww/wv/wn plus ~ Dashboard↔Files toggle and direct W Website / V Folio shortcuts), clamped all list navigation (no wrap-around at top/bottom), added gg/G/Home/End/J/K/Ctrl+D/Ctrl+U/PgDn/PgUp, per-tab H/L history, uq closed-tab restore, Tab/Shift+Tab/Alt+←/→ tab cycling, full 2-key Ranger file chords (yy/yp/yd/yn/dd/dD/pp/ud/uy/uv/cw/mk/zh/z_/z0/zz) with a live status-bar chord prompt, rc.conf-aligned g* bookmarks, and ` / ' Quick-Jump modal.

fixed

  • Hidden ``publish.folio`` Action Capability: Fixed publish.folio in actions/adapters.py to require folio_scans (instead of the unemitted folio_archive), broadened folio_scans detection in context.py, sanitized GLib/GTK application_id``s via ``make_gtk_app_id, and connected WebKit2GTK’s create signal in shell.py so target="_blank" links open cleanly inside photon-app.

0.3.7

2026-12-01

fixed

  • Native Printing & Navigation in ``photon-app``: Connected WebKit2GTK’s print signal (print_op.run_dialog(win)) so window.print(), Ctrl+P (in standalone non-Clerk apps), Ctrl+Shift+P, and the photonApp JS bridge print action open the native GTK Print Dialog, and added Alt+Left/Alt+Right history navigation, F5 reload, and Ctrl+=/-/0 zoom shortcuts.

0.3.6

2026-11-30

fixed

  • Incremental Sphinx Docs Freshness: Updated census._scan_docs, context._compute_docs_status, and inspect_tree to compute the latest build timestamp across docs/index.html, docs/.buildinfo, docs/objects.inv, and docs/searchindex.js so incremental publish build runs that only rewrite modified subpages are accurately reported as fresh instead of falsely remaining stale-docs.

  • Social Banner Cache Ignore Template: Added docsrc/_static/social/*.png.sha to clerk init .gitignore.j2 so local build sidecars are never tracked in newly scaffolded repositories.

0.3.5

2026-11-30

changed

  • Unified 4-Agent Registry & Governing Skills: Updated agents/registry.py and context.py to track the consolidated publish.md subagent and publish + scriptorium-codex skills (replacing legacy scriptorium.md and folio-curator.md).

  • Hero Book Card Scaffolding (`clerk init`): Upgraded docsrc/index.rst.j2 and docsrc/codex/index.rst.j2 to emit unified .. card:: <edition>/index + :layout: hero homepages and complete Book Root metadata (:site_title:, :year:, :kicker:, :description:, :media_style:).

  • Agent & Skill Hygiene: Fixed legacy Cwd command references in clerk.md, clerk-branch, and clerk-rollup to explicit --repo / --directory / --no-cache invocations and added phi-WORKS to org listings.

0.3.4

2026-11-29

added

  • Python / ``uv`` Virtual-Environment Diagnostics (`clerk doctor`): Added check_venv_health in doctor.py to audit org and repo .venv environments across the workspace, flagging empty 0-package stub .venv directories, non-3.13 virtual environments (while respecting explicit .python-version pins), legacy venv/ directories, and broken .venv symlinks. Added studio to expected global tools, updated clerk init .gitignore.j2 to ignore .venv symlinks as well as directories, and added [dependency-groups] dev to pyproject.toml.

0.3.3

2026-11-29

changed

  • Code Quality & Lint Hygiene: Applied 85 safe ruff auto-fixes across src/ and tests/ (Python 3.13 built-in generics, import sorting, and dead code cleanup).

  • Documentation Cleanliness: Fixed docsrc/ Sphinx errors and warnings (replaced missing .. click:: directives in usage/, fixed broken demos/demo.rst include, escaped track/core.py glob docstring, wired root :hidden: toctree, and retired completed todos).

0.3.2

2026-11-29

added

  • Context-Health Diagnostics (`clerk doctor`): Added check_context_health in doctor.py to audit root/org GEMINI.md presence (respecting .geminiignore), flag oversized GEMINI.md files approaching Antigravity’s 24 KB limit (>20,000 bytes), detect broken workspace/org symlinks, and catch stray root runtime artifacts (explorer.log, .ruff_cache, empty top-level directories).

0.3.1

2026-11-29

changed

  • Unified SVG Stage Styles (`svxiv`): Updated viewer/styles.py to load canonical geometor-svg.css from geometor/explorer (falling back to legacy svg.css and bundled CSS) and support both .geometor-svg roots and canonical data-layer layer toggles alongside legacy #id selectors.

  • Process Routing Cleanup: Removed retired seer companion MCP server routing from context.py.

0.3.0

2026-11-28

added

  • Unified Management Platform & 6-Level Situational Awareness: Added config.py, 6-level NodeContext detection (filesystem / workspace / org / repo / subtree / file), SQLite mtime-cached workspace census (census.py), media.py, fs.py Ranger-parity filesystem operations, focus.py human-AI focus bridge, and clerk status / clerk sweep / clerk doctor CLI commands.

  • Action Registry & Zero-Dependency MCP Server: Added declarative actions/ registry, builtins, and adapters (including publish.folio launcher) plus clerk-mcp (mcp_server.py) exposing 10 workspace tools over stdio JSON-RPC.

  • Custom-CSS High-Speed SVG & Image Viewer (``svxiv``): Added GTK3/WebKit2GTK Shadow-DOM SVG viewer (viewer/) with theme/profile/repo CSS stacking, eager raster thumbnails, and native vector layout zoom.

  • Desktop-Web Cockpit (``clerkd`` & ``photon-app``): Added FastAPI + Uvicorn + SSE daemon (server/), systemd --user multi-app service manager (clerk service), standalone GTK3/WebKit2GTK photon-app shell with GNOME Alt-Tab .desktop integration and F11/f fullscreen toggle, and Ranger-in-the-Browser Web UI (multi-tab Miller columns with [/] sibling navigation, Media Gallery, Git, Todos, and Managed Desktop-Web Apps portal).

  • Syntax Highlighting & File-Type Icons: Added offline Pygments line-numbered Obsidian-Amber syntax highlighting (server/highlight.py) with clickable outline symbol/heading jumps, wrap/copy controls, and crisp inline-SVG semantic file-type icons across Miller columns and previews.

  • Home, Root & Filesystem Dashboards: Added system.py and /api/system/{dashboard,sizes} endpoints providing live host vitals, deduplicated real disk mounts, offline APT/security update radar, ~/.photon dotfiles & Trash status, and cached async directory disk-usage bar charts.

  • Dedicated ``src/`` & ``docsrc/`` Explorers: Added inspect_tree.py and /api/tree/{src,docsrc} endpoints powering Repo Cockpit subtree quick-launch cards, a split-pane src/ Source Explorer (namespace auto-unwrapping, package tree, global AST symbol index, CLI script links), and a split-pane docsrc/ Codex & Docs Navigator (human titles, toctree reading order, referenced SVG plate switcher, and one-click publish.build).

0.2.2

2026-11-16

changed

  • Upgrade clerk init templates (progenitor.py, README.rst.j2, docsrc/index.rst.j2, docsrc/intro.rst.j2, action.yml.j2) to the unified Semantic Digital Archive standard: GEOMETOR • <repo> storefront mastheads with top-of-page Visit the Online Archive CTA, •-delimited semantic digital archive descriptions and topic pill defaults (books, catalogs, people, modules), harmonized semantic digital archive • ... Homepage overlines and opening narratives, and geometor/model.git CI wiring for catalog scaffolds.

0.2.1

2026-11-15

changed

  • Align clerk init templates (progenitor.py, conf.py.j2, index.rst.j2, intro.rst.j2, codex/index.rst.j2, catalog/index.rst.j2, about/index.rst.j2) with the Digital Scriptorium Book Codex contract: human-first A–Z site_title metadata, “the works of / ``<FULL NAME>``” Author Home Pages with .. collection::, clean Book Title Pages (moving structure_map.json / provenance details to About), standardized 3-part GEOMETOR Mission in About, and automatic 1200x630 _static/social/ banner generation.

0.2.0

2026-11-15

added

  • Add --type code | codex | catalog repository archetypes to clerk init along with --edition, --title, --book-author, --org, and --git/--no-git options.

  • Generate GEMINI.md, ROADMAP.md, baseline tests/test_<package>.py, :layout: book codex/catalog tracks, and CatalogEntrySpec / assert_no_floats helpers out-of-the-box.

fixed

  • Enforce Jinja2 StrictUndefined across progenitor, Modulator, and logger templates, resolving undefined template variables, hyphenated package identifier collisions, broken Modulator class-import stubs, offline intersphinx_mapping timeouts, and clerk log tag/date rendering.

  • Fix determine_context org detection when invoked directly at ~/PROJECTS/<org> containing an org-level pyproject.toml workspace manifest.

0.1.4

2026-11-15

added

  • Provision canonical geometor and photon-platform logo.png and favicon.ico brand assets in docsrc/_static/ during clerk init project scaffolding, and add clerk’s own docsrc/_static/logo.png and favicon.ico.

0.1.3

2026-11-13

changed

  • Update canonical clerk agent model to flash.

0.1.2

2026-11-12

added

  • Added canonical clerk-branch and clerk-rollup skills and clerk subagent definition.

  • Added clerk agents status and clerk agents sync CLI commands and symlink registry for PHOTON and GEOMETOR workspaces.

0.1.1

2025-12-19

added

0.1.0

2025-12-17

added

refactored

0.0.11

2025-12-12

refactored

0.0.10

2025-12-12

refactored

0.0.9

2025-12-12

changed

0.0.8

2025-12-11

added

0.0.7

2025-12-11

refactored

0.0.6

2025-11-06

refactored

0.0.5

2025-11-05

refactored

0.0.4

2025-11-05

added

0.0.3

2025-11-04

changed

0.0.2

2025-11-04

added