Changelog¶
All notable changes to zer0-CMS are documented here. The format follows Keep a Changelog, and this project adheres to Semantic Versioning.
1.1.1 (2026-11-18)¶
Bug Fixes¶
- agents: claim a queued run atomically and settle stale runs on beat (1694c24)
- agents: claim a queued run atomically, so a duplicate delivery never runs it twice, and settle stale runs on beat (8628094)
- content: publish only the revision the editor reviewed (55c9175)
- content: publish only the revision the editor reviewed (4f10d26), closes #61
1.1.0 (2026-11-10)¶
Features¶
- books: Badwill Impairment, a fresh draft from The Impairment's premise (0a578f5)
- content: directives become briefs, and the page that answers one closes it (99c752a), closes #86
- distribution: a cadence for the lanes: one draft per open slot, publish_at, the page's phase (#89) (342e3cc)
- distribution: a LinkedIn channel with no author connects the member's own profile (0585a4f)
- distribution: connect X in the studio over OAuth 2.0, the platform as the X app (622a215)
- distribution: Disconnect gives an X channel's grant back to X (5044caf)
- distribution: keep a site and LinkedIn in step: sync, a weekly featured article, revisions, a review order (47f5a00)
- distribution: publish to X — a lane over a site's files and a platform channel (eab9646)
- distribution: sync book chapters to Substack (sanctioned feed/copy, gated unofficial adapter) (208c986)
- distribution: the platform's release queue: a channel's cadence, approve into the next slot, beat releases (#89) (c4d48de)
- sites: zer0-pages moves to the Jekyll-theme option, the last site's Ruby gone (bcdd672)
- voice: the Voice tab maps who reads which layer, and every badge can be read (778ab22)
- voice: V0 — compose a site's voice in one place and show it in the studio (15ce35d)
Bug Fixes¶
- distribution: a lane share never links to a page that is not up, and carries its own card (31c5751)
- distribution: a revision takes no slot: a queue run sends it at once, and the cadence does not count it (bc72f75)
- distribution: an X post leaves out LinkedIn's fold note (9801f91)
- distribution: the site map shows only this site's pages, never a share of another site's (6ebf26c)
- studio: a delete's empty 204 is its success, not "No Content" (9f01235)
- studio: the Sites list asks for checkouts only for someone who may register a site (780b0fa)
- voice: show what the guard actually applies, and keep findings to their scope (756348e)
- web: keep unsaved page edits across newer revisions and navigation (e715b5a)
- web: keep unsaved page edits across newer revisions and navigation (f87381e), closes #64
- web: the page picker searches the platform, so every page is within reach (861d09b)
Performance Improvements¶
- ci: cut Actions minutes in content, CodeQL and the uncapped jobs (508971f)
- ci: cut Actions minutes in content, CodeQL and the uncapped jobs (7cb8993)
1.0.0 (2026-10-28)¶
⚠ BREAKING CHANGES¶
- theme: land "the theme goes home" on main (ADR 0005, PLAN Phase T)
- theme:
bin/zer0no longer knows azer0-mistakesproject; a site that wants a local theme checkout names it withZER0_THEME_LOCAL(drsai) or its own Gemfilepath:. - parodynews: DJANGO_SETTINGS_MODULE for the news app is config.settings.
; the workflow, compose files and docs in the tree are updated, external deployments must follow.
Features¶
- accounts: G3 — sign-in through django-allauth (OIDC, MFA, passkeys), scoped tokens and the account menu (73bb647)
- accounts: scoped person tokens, issued, listed and revoked over /api/v2/account/tokens/, accepted by GraphQL (92e2336)
- accounts: sign in through django-allauth — local accounts, OpenID Connect IdPs from the environment, MFA, passkeys, the admins routed to it (8f7254b)
- accounts: the studio signs in through allauth's headless API, and the account menu (2c391d4)
- ai: /api/v2/ai/ and the ai.* tools (6e3e94c)
- aieo: AIEO on the platform — audits, rewrites, patterns, agents, citations, connectors, reports (deb463d)
- aieo: an audit's neighbours in meaning, on the platform's vectors in place of Qdrant (b774745)
- aieo: the analyzers and the scoring engine, ported with AIEO's recorded outputs (f87bd2e)
- ai: image parts in a message, for the providers that can see (ec9c6da)
- ai: run an assistant or a pipeline on a page, its answer proposed there as suggestions (f1af98c)
- ai: run kinds, brief context and web search for the apps built on the AI layer (a3e7544)
- ai: the AI content layer's provider registry, tables and runs (cd7da10)
- automations: triggers, JMESPath conditions and owner-run actions, every run logged (G16) (4b07df0)
- books: a book or its site may switch the brand guard's built-in bans off for its chapters (acffdd9)
- books: a book or its site may switch the brand guard's built-in bans off for its chapters (1771807)
- books: books in the platform — the generated library, the bookshelf's commands and AI-assisted writing (94a1a5b)
- cms: a book's and a chapter's manuscript fields (d63085c)
- cms: SEO fields beyond Wagtail's own — canonical URL, Open Graph, noindex (87f13a5)
- compose: the platform carries distribution's settings and runs its own consumers (7cec500)
- content: a page's file path and raw front matter in the API and the studio (7113867)
- content: a person's API token, for the VS Code extension (6aadc19)
- content: find the pages a file was imported into (a48ea70)
- content: G2's blocks — table, typed table, embed, document, raw HTML, Liquid, callout (1d74448)
- content: jobs and the site registry — sync, write-back under the stale-write guard, and zer0 doctor in Python (c2aaead)
- content: log actions for suggestion, run and token events (aca06e9)
- content: one platform — ADR 0004, PLAN Phase G/H, and the ops baseline (G0 + G1) (48d5276)
- content: P4's remaining items — G2's blocks, brand rules per site, the Editorial workflow, log actions, SEO fields (a250e4d)
- content: the Jekyll catalog, front-matter surgery and the confined writer in Python (f45a628)
- content: the ops baseline — probes, request ids, the error envelope, JSON logging, throttling, CORS, OpenAPI (5f8c9a9)
- content: the outbox desk — view, manage, run and publish onto the outbox harness from the studio (d0a572f)
- content: the outbox desk — view, manage, run and publish onto the outbox harness from the studio (f6264de)
- content: the studio's API — session, sites, pages, revisions, publishing, review inbox (P4) (30cc910)
- distribution: channels, the queue, the ledger and statistics on the platform (641e400)
- distribution: manage.py linkedin mcp — the lane's MCP server in Python (2e058ea)
- distribution: the LinkedIn client in Python over httpx (518496f)
- docs: generate the installer reference from its help text (c769d7b)
- docs: generate the settings reference in docs/CONFIG.md §5 from package.json (fb24830)
- docs: generate the theme's command, workflow and agent-guidance reference (43776eb)
- extension: the studio bridge asks before main's other live changes (673e990)
- extension: the studio's workspaces in the webviews when a platform is configured (e4bde52)
- extension: the token prompt points to the studio's account menu (8b83287)
- feedback: adopt the universal page-feedback widget (kit v0.2.0) (81ff49d)
- image-gen: illustration loop for the claude provider (plan → author → shape → look → critique) (6519af6)
- image-gen: plan → author → shape → look → critique loop for the claude provider (WIP) (34b2bcd)
- image-gen: Ruby twins, --shape, forge on the production path, CI + docs (285fb6c)
- importers: barodybroject's AI tables onto the AI content layer (235d857)
- newsroom: desks, stories and the newsroom workflow, with fronts, bylines, corrections and newsletters (5344ccb)
- parodynews: route the news app's Jekyll sidecar at /parodynews/ (PLAN C5) (8c83b76)
- research,ideas: the research library and boards of ideas (G14 backend and API) (27917fb)
- site: improve the frontend and fix production-only remote-theme defects (bamr87/wargames#14) (0d34252)
- sites: brand rules per site — a site's banned phrases beside its voice (e817621)
- sites: eight sites render with the Jekyll-theme option; their Ruby goes (PLAN P2) (9965fcf)
- studio: capture from any page with a bookmarklet; brief and research-brief flows tested (8844429)
- studio: share boards, collections, ideas and sources; feeds, the drawer's save and exact corrections tested (6b63f9e)
- studio: the Ideas and Research workspaces, and research in the editor (3a9a5eb)
- the agent-native content plane (PLAN M0, M3–M15) + fork-tag tooling (#34) (31a308a)
- the agent-native content plane (PLAN M0, M3–M15) + fork-tag tooling (#34) (df8fe42)
- the agent-native content plane (PLAN M0, M3–M15) + fork-tag tooling (#34) (54eb759)
- tools: bin/zer0 doctor and zer0-doctor.yml run the platform's Python doctor; no Ruby (ce41b25)
- tools: ratchet zer0-mistakes dependencies down to the Jekyll-theme option (32cc380)
- tools: site_manifest.py records and compares what a site builds (PLAN P1) (bd0b486)
- tools: the absorption gate — the Ruby ratchet and the capability ledger (ADR 0006) (87fb9e5)
- tools: the Jekyll-theme option — a site rendered with the zer0 theme by a Jekyll server (PLAN P2) (ca96745)
- tools: the ledger's
specifiedstatus — a source the owner deleted before it moved (a68650d) - tools: the theme ratchet does not count recorded site builds (6a6c45e)
- tools: zer0-pages's Obsidian bridge in Python (PLAN P2) (ff55209)
- web: a finished audit names the audits closest to it in meaning (96e2374)
- web: a workspace registry and the site picker in @zer0/ui (3592f79)
- web: authors and their pages in the Newsroom (bbaf14c)
- web: filter a conversation's messages, and the providers' status on Home (7f50107)
- web: re-record every routed site as site-manifest/v2, and record 2005 and irony-works (0422bc6)
- web: record every routed site's Jekyll build (PLAN P1) (0745eb0)
- web: the AI workspace in the studio — providers, models, assistants, pipelines, schemas, briefs, conversations, the editor's AI panel (2d79f54)
- web: the AIEO workspace under Sites, and the editor's citability panel (dbaf9d5)
- web: the extension's webviews as a package built from @zer0/ui (ebb71b9)
- web: the extension's webviews render every workspace main has (2874919)
- web: the five dimensions as a radar in an audit's score card (eb2116a)
- web: the studio and its shared packages (P4) (4e166a7)
- web: the studio's AI -> Automations (G16) (f4e8d5a)
- web: the studio's Books workspace (7bf4f67)
- web: the studio's Distribution area and Distribute in the editor and the story panel (cba930b)
- web: the studio's Newsroom workspace (2b855c6)
- web: the studio's Sites area — the registry, a site's overview and settings, its jobs followed live, its findings (f04d62e)
- workflow: the seeded "Editorial" workflow — brand review, then a moderator (642f486)
- workspace: bin/zer0 in Python, with the same commands, output and exit codes (P5) (4bf8afe)
Bug Fixes¶
- aieo: a pattern's citation boost is bounded at 100%, not by the database (24cca0b)
- aieo: a report lists tied patterns in its scorer's order on Postgres too (483afc5)
- aieo: reports keep the scorer's pattern order on Postgres; a stricter inline-script check (bc87b27)
- aieo: rotating the AI keys moves the connectors' credentials too (b88b080)
- ai: one rotation re-encrypts every secret kept under the credential keys (2bc9585)
- ai: provider adapters keep a row's settings away from the worker (60f8a2a)
- ai: runs act for the person who started them and recheck what they use (4adf6bb)
- ai: swap only the text a person selected, propose through the registry, and only for people (494558e)
- api: request bodies are their own components, without read-only fields (b4a93ec)
- api: request bodies as their own components, so the client asks only for what a caller sends (004515d)
- automations: runs stay their owner's, email and webhooks are bounded, every site rule holds (G16 review) (6e0474d)
- automations: the events consumer's test puts the handler table back (8276892)
- books: an edited ABC letter exports a plate planned for its word, and its spec sidecar (481c26f)
- books: find a chapter in the read model by its path, and leave room for an assistant's read tool (a092cb3)
- books: match library/ case-sensitively and stop at the filesystem root (9b1aab9)
- books: nothing lost between the platform and its generated library, and the review's other findings (0b79525)
- both zer0:content consumers reach the outbox desk's belt (7a8a407)
- cms: the editor's preview renders every page type (6559c4b)
- cms: the preview shows a raw HTML block as escaped source (adf916f)
- compose: mount the books library into the content service; ignore local agent/editor scratch (36fc7ba)
- compose: the content service mounts the books library, which the image does not carry (639141d)
- content: a file finds only its own site's pages (4f4ea12)
- content: one hashed bearer token for agents and people, used without a write in the request (8050d18)
- content: redact person tokens in logs, error reports and Sentry (c6b9d48)
- content: serve the platform on threaded workers, so a run's stream survives (6495188)
- content: the image installs both requirement files while git is present (9660e52)
- content: the studio API's review findings — links, access, locks, the save guard, one scope (1c42baa)
- distribution: a delivery claims its attempt, so a redelivered task never posts twice (c2dbcd0)
- distribution: a site ledger the platform cannot reach blocks the channel (d5086ca)
- distribution: rotating the AI layer's keys rotates every channel's credential (4be39a1)
- docs: escape backslashes as well as pipes in reference table cells (16c1c13)
- drsai: floor github-pages at 228 so Liquid renders on Ruby 3.2+ (02a65a9)
- extension: admit @zer0/ui's drag-and-drop library into dist/studio.js (08e05a5)
- extension: an alias inside the node it names reads as unknown (a508b04)
- extension: date patterns keep file mode's vocabulary (752779c)
- extension: decide platform mode per file, and keep the file dashboard in either mode (e793657)
- extension: keep schemas/books/ out of the vsix (8c8b162)
- extension: keep web/ out of the vsix (e8c7128)
- extension: the studio bridge gates the request it sends, and carries the headers the platform reads (8cc174e)
- extension: the vsix leaves out schemas/books/ (caf3e36)
- github-pages floor for drsai and the installer demos' latest_posts Liquid (96edc00)
- ideas,research: an idea shows only what its reader may see; only an owner re-shares a row (5646fc3)
- image-gen: edit rounds revise the pre-outline source, not glyph paths (8b2e285)
- image-gen: trim spaces/quotes by index scan in text_to_paths.rb (CodeQL rb/polynomial-redos) (7754de6)
- importers: a file the site does not build imports as a draft or scheduled (d32582f)
- importers: find a preview where Jekyll serves it, under assets/, SVG included (3f8a530)
- importers: re-importing barodybroject leaves what people changed here (f9a2fb5)
- irony-works: the landing page no longer prints the build's date (2cff8b6)
- jobs: the OpenAPI document is the same on SQLite and Postgres (f0a97a0)
- ledger: a proof must be a test; the eight site publish rows are partial (19efc0a)
- newsroom: a create's body is its writable fields, and a change is a PATCH (9b600eb)
- newsroom: a planning change writes only its fields; an issue's stories are read once per send (cee3cbe)
- newsroom: hold every publish path to a story's rules, and the review's other platform findings (d387560)
- outbox: consume_events outlasts an idle stream's read (755dbf1)
- outboxdesk: a published handoff stays on its piece's trace (fba8f5d)
- outboxdesk: importing a site sends nothing onto the belt (8df0e62)
- outbox: the events consumer survives quiet spells and reads EVENTS_STREAM (912d884)
- parodynews: bump djangorestframework and setuptools past advisories (254c7ea)
- parodynews: bump djangorestframework and setuptools past advisories (4be214b)
- parodynews: repair what the rename surfaced (8862d54)
- research: a fetch ends at its deadline, on a queue of its own, throttled per person (fbf9758)
- research: fact-checks read the draft's citations first and propose exact corrections through the registry (b92afbe)
- research: fetch.post, a notification under the fetcher's guard and one deadline (a64be1f)
- research: read a feed from the bytes fetched, never a file its body names (769b548)
- research: read text in its own encoding and keep NUL out of what is stored (596f1ca)
- research: workers write only what a fetch owns, and claim a feed before reading it (e83fdb2)
- schema: dedent page docstrings with inspect.cleandoc (#37) (5da1418)
- sites: a page that is not live reaches its Jekyll file as published: false (55577a0)
- sites: a registration whose _config.yml does not read is refused, not a 500; one manage query per site list (61213c0)
- sites: a write-back never writes a page into another page's file (1cd00c7)
- the four off-Linux defects from the 2026-10-20 validation (9a5e44f)
- the platform's open bugs and main's CI, with G16, G7 and G10 merged (b56100e)
- tools: check_absorption --tighten keeps the comments inside a ratchet block (ffdd157)
- tools: graft.sh works on a main that already holds a merged graft (b08585d)
- tools: re-vendor docs_index.py with multi-line comment stripping (fa111bd)
- tools: re-vendor docs_index.py with multi-line comment stripping (de44af9)
- tools: site_manifest records a page's own content, feed dates and what the build resolved (3614b94)
- tools: the Jekyll-theme option never deletes a directory it did not write (2d7ba29)
- web: a modal's scroll lock in the extension's webviews carries the CSP nonce (7324a30)
- web: offer to apply a brief only to whoever may, and render each area's routes in its tab panel (c13991b)
- web: one request per action, briefs saved once, and a conversation paged from its newest messages (85b51da)
- web: templates in monospace without their labels, and selects wide enough to read (5f088b4)
- web: the automations view says whose its runs are, and what email and webhooks take (aa48af1)
- web: the Books area's review findings — a book's other files, the library's shelf, the chapter writer under test (525105a)
- web: the editor's AI panel sends where a selection is (20cab34)
- web: the Newsroom asks before anything goes live, pages its board, and leaves the desk's decisions to the desk (27fb6ba)
- web: the studio's review findings — block keys, drafting, locks, expiry, accept-all, the live timeline (a539de8)
- workspace: affected reads git's paths with -z, tested on every kind of change (P5) (a0b7740)
- workspace: every path the manifest names stays inside the repository (P5) (ae96f65)
- workspace: without PyYAML, bin/zer0 runs on the repository's .venv and names routes that work (P5) (a6d3c68)
- zer0-mistakes: assign the latest-posts limit before the for loop (927f434)
Performance Improvements¶
- ideas,research: clusters compared by pgvector; retrieval's word stage through Wagtail search (b0efb3d)
Code Refactoring¶
- parodynews: rename barodybroject to parodynews and strip the brand (ADR 0003) (19e838f)
- theme: land "the theme goes home" on main (ADR 0005, PLAN Phase T) (be7b2a1)
- theme: the theme returns to bamr87/zer0-mistakes — remove packages/zer0-mistakes (bf03bf6)
0.3.0 (2026-10-18)¶
Features¶
- cms: doctor — the zer0 stack consumer contract check (0ed8d0f)
- distribution: LinkedIn distribution — a declared-call API client, the governed lane, CLI, workflow, MCP and fleet CMS screens (64db526)
- distribution: the governed LinkedIn lane — queue, guard, ledger, pipeline, CLI, MCP (601c772)
- doctor: check a site's LinkedIn distribution settings (96ad097)
- linkedin: a stdlib LinkedIn client whose every call is declared (ae27019)
- rails: LinkedIn distribution and channels in the fleet CMS (a41bca4)
- rails: Site/Page/Asset/Term index rebuilt from disk by SiteSync (41a7f15)
- rails: the fleet CMS on Administrate — disk-synced index, safe write-back, image-engine bridge, zer0 doctor (contains PR A) (27db8e6)
- rails: the fleet CMS platform — a site registry, in-place front matter, media, taxonomy, search (e456a92)
- rails: the image-engine bridge — missing previews and a local preview per page (8671131)
- rails: the panel on Administrate — dashboards, custom fields, PageEditor (ac80405)
- re-land console v2 (#18–#21) with fleet, parser and docs fixes (b8864b7)
Bug Fixes¶
- ci: keep compose out of the vsix, pin the boot pid, drop a ReDoS regex (91da9d5)
- cms: Jekyll-exact catalog, the extension's front-matter surgery, a confined writer (3e68a25)
- core: read wrapped quotes, keywords and anchored quotes like YAML (77de536)
- doctor: a preview fork reads preview_images, not just the filename (fcbef06)
- extension: keep root AGENTS.md out of the vsix (#32) (fd3df63)
- fleet: an unread workflow, run or pull list is null, never [] (1d4273b)
- rails: an empty ZER0_CMS_USER means the default user (95da0b5)
- rails: basic auth or loopback only, CSP nonce, confined /files, explicit ABC export target (600882f)
[Unreleased]¶
🛰 The fleet, not one repository¶
Slice 1 was one repository and two verbs. This is a fleet: a roster — the folders open in this window that carry a manifest, plus repositories you enrol in your settings, plus, only when you ask for it, the hub's registry — and a Monitor tab showing every repository against every lane: its switch, its newest run, the open pull requests attributed to it, what it has cost, and the grade the shared audit gives its workflows.
Three verbs act on a run rather than on configuration: re-run the last failure, cancel what is in flight, enable or disable the workflow file. Each says plainly what it does — re-running queues a new attempt and the original stays on the record; cancelling leaves the run recorded as cancelled, which is not the same as failed; disabling registers the workflow with GitHub and does not touch the file, which is why it is not an edit and why a person who wants the lane gone still has to delete it.
A refresh costs four calls per repository, whatever the lane count — variables, workflows, recent runs, open pull requests, joined locally. The previous slice cost one per gated lane plus one per lane, which on lifehacker alone was thirty-one. The whole nine-manifest roster now refreshes in thirty-six calls where it would have taken eighty-seven, and opening the Monitor reads nothing at all: a row's own button is the only thing that opens a socket.
The honesty rule matters more here than anywhere else, because a fleet view is mostly cells. A cell nobody has read says unknown and looks different from off. A repository with no checkout and no refresh shows as unread rather than empty. Nothing renders $0.00 for an unmeasured cost. listVariables returning null rather than an empty list is that rule in the type system: "there are no variables" and "you may not read them" are different answers, and rendering both as blank would be lying about one.
🔒 The plan grew, and the guard got stricter¶
The declared call plan went from six entries to fifteen. The guard that keeps it a boundary was tightened in the same change rather than after it.
fleetSurfaceIsRepoScopedOnly used to check only that a path began with /repos/{owner}/{repo}. That would have admitted /issues, /hooks, /keys, /collaborators and /actions/secrets the moment anyone added one. It now matches an explicit allow-list of sub-roots, whole-segment. A second guard, fleetPlanHasNoMergeVerbs, refuses /merge, /reviews, /update-branch, /actions/secrets, /collaborators, any DELETE, and any write to /labels. Both are asserted from both directions — every planned call passes, and a hand-written forbidden one fails.
A .. path segment is now refused before a URL is built, because fetch would have normalised …/contents/../../../user into an endpoint the plan never named.
This console never merges, approves, closes, removes a review label, or reads a secret. Those are the boundary, not a backlog.
🧭 The harness, inventoried¶
An agent file, a skill, a workflow, a manifest lane, a kill switch, a token and a line in a spend ledger are seven files describing one lane, and holding that join in your head was the only way to see it. The Harness tab reads them and reports the joins — and, more usefully, where they disagree: an agent a workflow names that does not exist, a skill nothing references, a lane with no workflow, a workflow with no lane, a switch the manifest claims that no workflow reads.
The rules were tuned against the real fleet rather than fixtures, and five of them were wrong on the first pass. Each guard now names the case that taught it: a metering line's --agent flag is a ledger role, not an agent reference; <x> subagent names an agent, not a skill; a comment about a token trap is not the trap. The strongest evidence they are right now: over lifehacker.dev the inventory reports twelve token-chain findings, and they are byte-identical to the twelve workflows that repository's own token lint hand-maintains as migrating debt — a list a person curated, rediscovered from scratch.
A lane reader ports what wtd fleet adopt does, so the console and that tool agree about what a workflow is: 45 of 45 lanes across five repositories match on every parity field. It is used only to agree — a derived lane is never written over a committed manifest, and a disagreement is reported as drift.
🛠 Lanes you can write¶
Describe a lane — what it should do, when, as whom — and get the files that make it real: a workflow calling the fleet's shared runner, an agent, a skill stub, and a manifest entry. Not a wizard that hides its output: a plan you read, a diff you review, and files you commit yourself.
It refuses more than it writes, and that is the point. Modelled on lifehacker's own content-review lane, the generator classifies it bespoke and produces nothing — because expressing it as a shared-runner caller would silently drop the github.event.action != 'synchronize' loop-breaker, re-creating an infinite retrigger loop that fleet has already had to fix once. A lane it cannot express honestly comes back with reasons a person can act on, not a shrug.
House rules are enforced rather than documented: the kit stamp is line 1; a cron is never on the hour (every lane in a fleet firing at :00 queues behind the rest of GitHub); a token is never secrets.X || github.token (that degrades to a token which cannot open a pull request, silently, mid-run); every generated lane carries its *_ENABLED switch; and nothing ever targets a factory--*.yml.
Writing the files never arms the lane. The variable that turns it on is named in the modal and deliberately not created — writing a file somebody reviews and arming a loop to run are different powers, and the console holds only the first.
Three MCP tools join the set (sixteen): zer0_harness_inventory and zer0_lane_preview are read-only; zer0_lane_scaffold is double-gated by an environment flag and a per-call confirmation, exactly as publishing is.
🗂 Many sites, one window¶
A window can hold more than one site. The fleet's own workspace holds twelve folders — seven of them Jekyll sites this extension can detect, audit and publish — and until now eleven of them were invisible, because everything resolved the first folder.
The unit is still one folder: one configuration, one snapshot, one cache key, one MCP server. Multi-root is composition above that rather than a second model threaded through it. A site registry holds one store per folder, and a Sites tree and dashboard tab show what is in the window: each folder's platform, whether it is configured, its content roots, its counts, whether it carries a fleet manifest.
Which site a command acts on is decided by the command, not by the window. A command invoked on a file acts on that file's site — registering a folder edits that folder's zer0.json, a draft goes into its own site's queue, diagnostics validate against the owning site's content types. Only a command with no argument falls back to the active site, resolved as: an explicit pick that still exists, then the folder owning the active editor, then the first folder. That rule is a pure function with tests, because a rule like this quietly acquires a fourth case.
The panel's persisted state is namespaced per site, so two sites no longer overwrite each other's collapsed sections. The MCP provider offers one server per configured site rather than one per window — on the twelve-folder workspace that is two or three servers, not twelve. zer0Cms.site.preview runs the detected platform's own serve command through a VS Code task and offers the preview URL when it is ready.
🤝 One harness vocabulary¶
The agent in this editor and the AI lanes in CI shared nothing. The editor did not read the repository's model configuration, did not know its .claude/agents roles, did not attach this extension's own MCP server, and defaulted to a model the fleet does not use — so "run this as the content role" was possible in a workflow and impossible at the desk, and the two disagreed about the model without anyone noticing.
A harness profile now resolves a repository's roles, skills and model once, in the CI runner's own precedence — a setting, then zer0.json, then the site's _data/ai.yml, then a built-in fallback — and projects to either an editor run or the equivalent CI invocation. zer0Cms.agent.runAsRole picks a role from the repository's own agents and runs it under the approval card; Copy the CI equivalent hands you the run.sh line or the workflow with: block for that role. On lifehacker.dev the editor now resolves the same model that repository's own lanes use, instead of a different one.
The extension's own MCP server is attached to an agent run, with eight read-only tools auto-allowed and the other eight on the card — the six that write or spawn, plus zer0_harness_inventory and zer0_lane_preview, which only read but are not on the auto-allow list yet. The publish and scaffold flags are explicitly deleted from the child environment: an editor run must not inherit whatever armed something else.
🔒 A gate that was not holding¶
permissionMode: 'acceptEdits' bypassed the approval card entirely, and this extension offered it as a setting. Measured against the Agent SDK rather than assumed: with that mode a Write landed on disk and canUseTool — the single gate the whole agent design rests on (decision D10) — was never called at all.
It is gone from the manifest, removed from the type, and clamped at both configuration layers, so a settings file or a zer0.json that still names it falls through to default rather than disarming the gate. plan remains, because planning without acting needs no gate. Two related things were measured and are worth writing down: a repository-committed permissions.allow rule does not bypass the card, and a repository-committed escalating default mode is dropped by the CLI's own trust filter.
Loading a repository's .claude/settings.json into an editor run is off unless the workspace is trusted and you opt in for that run — those files can declare hooks, which are command lines running under your credential.
🌍 Every site, not just this one¶
zer0-CMS now knows what kind of site it is looking at. Jekyll, MkDocs, Wiki.js, Hugo, Docusaurus, Astro and a generic fallback are profiles — content roots, front-matter dialect and keys, the draft convention, date keys and formats, the slug and permalink rules, the directories a build writes and the command that serves the site locally — resolved once from marker files, with an explicit platform.id in zer0.json always winning. Everything platform-specific that used to be hard-coded in the core now comes from one of them.
zer0-mistakes is an overlay on Jekyll, never a sibling identity: a site using that theme is a Jekyll site with extra conventions, and modelling it as its own platform would have meant restating every Jekyll rule to keep it true.
Three things this immediately fixed, each found by pointing the code at real repositories rather than fixtures:
- The theme overlay matched one site out of six. The probe looked for the literal
remote_theme: bamr87/zer0-mistakes, and five of the six sites in this fleet write it aligned and quoted —remote_theme : "bamr87/zer0-mistakes". A detector that only recognises tidy files is a detector for fixtures. Probes now read past spacing, quoting and case. - A site whose
collections_dircarries a YAML anchor was invisible. it-journey.dev writescollections_dir: &collections_dir pages, and treating that as unresolvable meant none of its 409 content files were seen. An anchor is a label on a value — the value is right there, and reading it is not a guess. An alias, which points at a value defined elsewhere, still reports as unknown rather than being invented. - Jekyll's loose pages were not content. Deriving only the declared collections left fourteen of lifehacker.dev's 383 files unseen. Jekyll builds every markdown file under the source directory, and a CMS that cannot see a page cannot report a problem with it. Coverage on the two largest sites in the fleet went from 368/383 and 0/409 to 383/383 and 408/409 — the one remaining file has no front matter and is skipped on purpose.
Publishing follows the platform too. PublishTarget was an open interface with exactly one implementation and a registry that threw for anything else, so a detected MkDocs site would have crashed the publish preview. One factory now serves every file-writing platform, with the same exclusive-write and adopt-a-retry semantics Jekyll always had. governance.target defaults to empty, meaning follow the platform — so naming one is a real choice rather than an indistinguishable default, and Jekyll sites publish exactly as they did.
🔍 The front-matter audit¶
Every page checked against its content type, its site's own schema and its platform's conventions — thirteen rules using lifehacker.dev's own rule id strings, so a finding raised in the editor and one filed by that site's CI are the same finding rather than two. It reads the schema the site already has (frontmatter_schema.yml, a .cms/ contract, zer0.json, or the platform's defaults) instead of asking you to restate it, and every report names which one answered — because "required" means something different in each case.
A finding that a script can honestly fix offers a fix; the rest say why not. title: '' is not a repair, and neither is draft: true. Applying one re-reads the file, re-runs the rule against what is actually on disk now, shows the real diff in a diff editor and asks — in that order, so a fix for a finding you have since edited away cannot land. The parser also grew a warnings channel: a file using YAML anchors, aliases, merge keys or multi-line flow collections is reported as unreadable rather than audited on a misreading, and fix-it refuses it outright.
Available as an Audit tab, three commands, and a read-only zer0_audit MCP tool — the thirteenth; the harness tools above bring the set to sixteen. Over lifehacker.dev's 382 real posts it reports zero errors and two warnings, both genuine over-long descriptions — the rules were tuned against a real corpus, and one that fired ten times on correct files was fixed rather than shipped.
🐛 Found by pointing the console at the real fleet¶
- An unread list is not an empty one.
listWorkflows,recentRunsandopenPullsanswered[]on a 403 or 404, so a repository whose Actions nobody could read drew every lane as never having run and every workflow as unregistered. They now returnnull, aslistVariablesalways did: the Monitor and Fleet tabs draw unknown, the run verbs refuse with "could not be read", and the engines adapter throws rather than handing the package a fabricated[]. - A quoted value PyYAML wrapped is read whole. A
'…'or"…"scalar continued on a more-indented line was truncated to its first line and reported as unreadable, and every one of it-journey's 131 quest reports tripped it. It is now folded the way YAML folds it — those 131 pages match PyYAML on all 1,826 of their string values — and a quote that never closes is still reported. Reading them also exposes what the audit had been skipping on those pages, including 121duplicate-slugfindings that come from how a dated file name's slug is derived. keywordsis not a taxonomy. The zer0-mistakes overlay listed it, and the theme never reads it as a list, so it-journey's 218keywords: {primary, secondary}mappings were 218 falsetags-not-arrayerrors. The rule also called a mapping "a scalar" and offered to fix it; it now says mapping, and offers no fix.- An anchored quoted value loses its quotes.
title: &title "Lifehacker.dev"was read as"Lifehacker.dev", quotes and all, on lifehacker.dev, it-journey and zer0-mistakes; an anchored""now reads as absent, exactly as an unanchored one does. - This repository's own
fleet.manifest.ymlparses. ItsCLAUDE_CODE_OAUTH_TOKENpurpose was a single-quoted scalar wrapped at column 80 and continued at column 0 — thewtd fleet adoptwrap PyYAML forgives and theyamlpackage rejects. It is one line now, and both read the same value.
0.2.0 (2026-09-11)¶
Features¶
- core: close the feedback loop — analytics, portfolio, media (#11) (159de61)
- core: fold multi-line plain scalars in the YAML subset parser (5088da9)
- core: the fleet domain — manifest, gate, and a declared GitHub surface (9207603)
- fleet: the Fleet console — dashboard tab, two gated commands, an MCP read (cf41ced)
- fleet: the Fleet console — read this repo's lanes, gate switch and dispatch on a human (slice 1) (c83f8aa)
🧱 Foundations¶
This release turns zer0-CMS from a CMS for this repository into the foundation of one that can operate a fleet of them. Nothing here is a new feature you can point at; it is the floor the next four slices stand on — platform profiles, a site-wide front-matter audit, a multi-root site registry, a harness inventory with lane generation, and the fleet console's second slice. Two long-standing bugs fall out of it, and one promise the documentation had been making for a year becomes true.
- The AI agent panel was never wired up.
AgentPanelinstalls itself as the agent host in its constructor, and nothing in the extension ever constructed one — so everyzer0Cms.agent.*command ended at "the AI agent panel is not available in this window", for the whole of 0.1.0, whilesrc/agent/README.mddescribed the wiring in the present tense.activate()now builds it at step 8. The bundle is asserted to contain that wiring, because the test process and the running extension are different module instances and a runtime check would have passed for the wrong reason. - Workspace Trust is now the outer gate on everything that runs (decision D13). Five paths in this extension can start a process — the content engine, the front-matter normalizer, a
placeholders[].script, the new verify command, and the agent — and in an untrusted workspace all five refuse, as a result value rather than an exception, and the extension registers no MCP server at all. The manifest declaresuntrustedWorkspaces: limitedand names the eighteen settings that decide what runs or whether a gate is armed, so a cloned repository's own.vscode/settings.jsoncannot aim them. Trust is re-checked inside each function that spawns: thewhenclause is the courtesy, the function is the gate. A script path that resolves outside the workspace root is refused whichever layer supplied it, and every spawn is now logged with its interpreter, its script and which configuration layer supplied them — so the output channel shows what a repository tried to run even when nothing ran. The engine also grew a ten-minute timeout, which it had never had. - The fleet's shared engines arrive by dependency, not by copy (decisions D3 and D14).
@bamr87/fleet-enginesis an exact-pinneddevDependencythat the bundler admits intodist/extension.jsalone; the MCP bundle's allow-list is now empty, so the layering gate that has always guardedvscodeguards every package, anddist/mcp-server.jsstays standalone by construction rather than by habit. One seam,src/core/fleet/engines.ts, is the only importer and is never re-exported through the core barrel.dependenciesis still{}and still will be. - Four of the fleet's seven committed
fleet.manifest.ymlfiles are invalid YAML, and the upstream parser was hiding it.wtd fleet adoptwraps a single-quoted scalar at column 80 and writes the continuation at column 0, outside the block indent; the engines' parser swallows the error and returns an empty manifest reporting zero skipped lanes, so a console consuming it would show a repository with no AI lanes at all and no indication anything went wrong. This repository's own manifest is one of the four. Keeping our own tolerant reader — which parses all seven — is what caught it, and a parity test now pins both halves: exact agreement where the package can read the file, and the silent-failure disagreement where it cannot. - Comparing what a manifest claims against what its workflows do.
manifestDriftreports where the two disagree, and on the real fleet it immediately found a lane declaringopens_pull_requests: falsethat demonstrably opens pull requests, a kill switch named in a manifest that no workflow reads, a schedule recorded for a cron that is commented out, and a token claimed but never used. - Performance, measured rather than assumed. Cold indexing of a 382-file site went from 54 ms to 27 ms via a bounded worker pool whose results are folded back by candidate index, so page order and object identity are unchanged. The page-index cache is no longer rewritten when nothing changed — that write was 0.5–1.4 MB per rebuild per root — and its key is now per-root, because entries are keyed by absolute path and one shared key would rewrite every root's entries whenever any one of them refreshed.
- The design decisions have somewhere to live. Fifteen source and documentation files cited a plan document by section number; that plan was a conversation, not a file, and had never been in this repository.
docs/ARCHITECTURE.mdnow states D1–D14 from the code, each with the mechanism that enforces it, alongside the contract map (what this console consumes, who owns it, where it is pinned) and a plain statement of what it will never do.
✨ New features¶
- Six new settings, and a manifest that says what may run untrusted.
fleet.roster,fleet.hubandfleet.gitfactoryUrl(the multi-repository roster and the hand-off to GitFactory),fleet.scaffoldAllow(settings-only, likedispatchAllow, for writing a lane's files), andcms.aiConfigPathandcms.verifyCommand(the site's own model configuration and its verification command). The 44 settings are grouped into eleven titled sections, and most are now folder-scoped so one window can hold several sites without their settings leaking into each other.SETTING_IDSand the manifest are asserted equal, in order, andtools/check-config-docs.pyfails the build when the documentation and the manifest disagree. - A release path.
release-pleaseowns the version and the changelog; a repo-owned job packages the.vsix, attaches it to the GitHub release so any machine cancode --install-extensionit, and publishes to the Marketplace and Open VSX when those tokens exist — skipping with a notice, not a failure, while they do not. The packaged file list is committed and diffed in CI, so a packaging regression is a reviewed change.docs/RELEASING.mdwrites down what a person still has to do by hand. - The route registry. The eleven dashboard routes and the tabs currently offered are one table, shared by the host and the webview, with a renderer table total over the union — a route can no longer be declared without a renderer. Operator primitives (status pills that distinguish unknown from neutral, scrolling data tables, empty states, gated buttons, diff views, a keyed staged form) moved into the shared component library where the five coming tabs can use them.
🐛 Fixes¶
- The bundled MCP server reported a hard-coded
0.1.0that nobody remembered to bump; it now reports the extension's own version, and a test asserts the two cannot drift. - The ABC generator under
rails/is no longer called "the content engine" — that name belongs to the.cms/contract engine — and it has its own CI workflow, so an extension pull request stops running Ruby and a generator change stops downloading VS Code. Its README documented two commands that never worked: there is nobin/railsbinstub and no Rakefile. - Three claims the documentation made that CI had never checked are now tests: that
--vscode-appears only in the token layer, that field widgets mount and dispose without leaking listeners, and that every route renders its empty state. A fourth was quietly false —el()'sstyleprop could never work under the strict Content-Security-Policy — and is gone.
Found by running the core over a real 100-file content repository instead of the seven-file fixture workspace.
🐛 Fixes¶
- Slugs no longer lose words that carry meaning.
slugifyinherited Front Matter's SMART stop-word list, which containsback,new,value,use,way,thing,vsandwithout. Over a real 72-post site it cost a meaningful word in 31% of titles:"MCP for the back office"becamemcp-office, and"… without losing data"became…-losing-data— the opposite claim, in a permanent URL. The default list is nowminimal, the closed class of English function words. - An uncounted body reports "unknown", not "0 words". Without a
.cms/contract the filesystem scan reads front matter and never bodies, andpageToRecordfilledwordCountandheadingCountwith0— a claim, not an absence. The content tree drew "0 words" under every article in a repository with no engine, and the MCPzer0_get_contentanswer told a model that a two-thousand-word page was empty. Both now carryUNKNOWN_COUNT(-1), the sentinelhealthalready used, and render throughcountLabel.
✨ New features¶
- The Fleet console — this repository's AI lanes, and two verbs a human has to answer for. With
zer0Cms.fleet.enabledthe dashboard grows a Fleet tab that readsfleet.manifest.yml(specfleet/v1, the shared vocabularywtd fleet adoptwrites) and draws every lane: kind, harness, workflow, triggers, guardrails, the*_ENABLEDrepository variable that gates it, and the tokens it spends. After a GitHub sign-in you answer, two more columns arrive — the switch's current value and the workflow's newest run — and two buttons: flip the switch, or dispatch the lane once. The buttons post{lane}and nothing else;doToggleSwitchanddoDispatchLanere-read the manifest from disk, re-runevaluateFleetGates()(a fixed, tested blocker order, exactly like the publish gate) and ask modally, naming the repository, the lane, the variable and the value — which for a toggle is derived from the variable as fetched a moment earlier, never from a message. The master gate,zer0Cms.fleet.dispatchAllow, is read from your settings alone, so a clonedzer0.jsonor manifest cannot arm it; a lane whose own manifest admits to merging or writing to the default branch is refused outright. Decision D11 states the one relaxation of the activation promise: network only from an explicit user action, through afetchinjected intocore/fleet, whose every call is declared as data and checked against that plan before a socket opens. No token is stored.zer0_fleet_status, the twelfth MCP tool, reads the manifest only and says the switch state is unknown from there. - The YAML subset folds multi-line plain scalars. A value continued on more-indented lines was read as its first line and the rest skipped — a documented gap, until the manifest's 80-column-wrapped
summary:made it a bug. Continuation lines now fold the way YAML folds them (one space per line break, a newline per blank line); a line that reads as a key or a sequence item still ends the value, as before, so nothing that parsed previously parses differently. - The feedback loop closes.
catering/could already turn engagement into a worklist andcontract/could already store it, but nothing turned a platform's statistics into theperformance.jsonthose two agree on — so Lanes B–D were empty unless somebody hand-wrote the file.core/analyticsadds the join: statistics arrive keyed by a post id, the ledger says which post came from which page, and they leave keyed by content path.zer0_ingestruns it from any MCP client andzer0_worklistranks on the result. - The read surface is declared as data, and the boundary is a test.
readPlan()enumerates every call the analytics lane would make, with what each returns, so it can be printed and reviewed before a credential exists.readSurfaceIsOwnContentOnlychecks each one describes the author's own content; the suite asserts it for both shipped plans and asserts that a follower-enumeration call fails it. Reaching another person's data is a failing build rather than a review comment. There is deliberately nofetchhere — invented numbers would silently poison the worklist that decides what somebody writes next. core/portfolio— the published track record. Volume, cadence, streak and collections, computed from the ledger, so it is meaningful from the first entry rather than waiting on statistics. The streak is anchored to the newest month in the data, not to today: a portfolio that reported a broken run because you opened it in a quiet week would be measuring the calendar, not the work. Exposed aszer0_portfolio.core/media— reuse the image the site already made. Resolves a page's preview image from front matter, then fromassets/images/previews/<slug>.*, and when there is none emits the zer0-image-generator command that would produce it. It generates nothing: rendering stays where the provider matrix and review stage live. Publishing already read the image and silently posted without one, which let a repository drift into publishing untreated links;zer0_mediamakes that askable across the whole content set before anything ships. SharesTHUMBNAIL_KEYSandpreviewImageValuewithgovernance/publishrather than restating them, so the report and the publish path cannot disagree.slug.stopWordsinzer0.json—"minimal"(default),"smart"(Front Matter verbatim, for a repository whose permalinks FM already minted),"none", or a literal array. An unrecognised value falls back to the default rather than to "none", so a typo cannot silently re-slug a site. Seedocs/CONFIG.md§3.11.
📝 Documentation¶
docs/CONFIG.mdsaid the bundled MCP server parseszer0.jsonwithJSON.parseand would choke on a comment. It reads it withreadJsonc, exactly as the extension does, and always has.
[0.1.0] - 2026-07-31¶
The first release of zer0-CMS as its own extension. Everything before this point was a fork of Front Matter CMS; that history stays in git, but none of it ships. See ATTRIBUTION.md.
✨ New features¶
- Metadata panel — the active content file's front matter as real controls: 18 field types, required-field validation, taxonomy pickers with freeform creation, image preview fields, and grouped field collections.
- Content dashboard — grid, list and structure views over every registered content folder, with search, filters, sorting, grouping and pagination.
- SEO insights — title, description, slug, content-length and keyword checks against the thresholds in
zer0.json. - Governed publishing — a draft queue where approval is a human decision recorded in the file: draft → brand guard → approve → publish → ledger. Publishing is off until
zer0Cms.governance.publishAllowis enabled. - Brand guard — length limits, the fold preview, banned phrases, filler detection, and a workspace-supplied pattern file.
- Idempotency ledger — keyed by canonical URL, byte-compatible with the Python publishing lane, so a repo and its CI never double-publish.
- Distribution lanes — what to write next, derived from the
.cms/contract and the ledger, exportable as a worklist. .cms/contract — per-file health, freshness and the mechanical/substantive issue lanes when the content engine has run; an honest filesystem scan when it hasn't.- Bundled MCP server — eight tools for Copilot agent mode and any MCP client. Publishing is double-gated: an environment flag and an explicit per-call confirmation. The editor sets that flag only when
zer0Cms.governance.publishAllowis set in your own settings — azer0.jsonarriving with a cloned repository can enable publishing for the in-editor gates, which sit behind a modal, but never for an agent. - Optional AI agent — the
cms-curatorskill through the Claude Agent SDK, with an approve/deny gate on every mutating tool. Off by default.
🎨 Enhancements¶
- Zero runtime dependencies. The agent SDK is an optional dependency, dynamically imported, and never required to use the CMS.
src/coreandsrc/mcpcannot importvscode— enforced by eslint and by the MCP bundle's build.- Front matter is edited by line surgery, so comments and formatting survive an edit.
- Every publish gate is re-checked host-side, in the same function the command palette calls. A webview is UI, never the gate — including for deleting and renaming, where the host re-derives the target against the page index and asks before it acts.