Repository navigation
v0.51.0
build folds into reconcile, materialization becomes system-pushed, the producer kinds and machine zones collapse onto one source + retention grammar, and the machine-derivable reference docs graduate to produced artifacts.
Changed (breaking)
buildis removed;tendis nowreconcile(ADR 0087). One verb runs the full two-phase produce → destructive-sweep under a shared lock, and every canon write reactively rebuilds its dependent produced entries (source.on_write: sync | async). Migration: drop allbuildcalls (CLI + MCP); rename scripted/crontendtoreconcile— the verb, the MCP tool id, and the audit-log verb string.- Capabilities collapse to four —
author,keep,propose,reconcile(ADR 0090). Thefetchandbuildcapabilities fold intoreconcile;automationdefaults to[reconcile]. Migration: a role withcan: [fetch]/can: [build](or the interimingest) becomescan: [reconcile]; the old spellings are rejected at load with a hint. - One
machinezone-kind and oneproducedentry-kind (ADR 0091, 0095). Zone-kinds becomecanon | workspace | machine | queue— the formerquarantine+derivedzone-kinds fold into onemachinekind (the kind ⟺ capability mapping is a bijection again; at most onemachinezone). Entry-kinds becomeleaf | nested | produced— the formerderived+intakeentry-kinds fold into oneproducedkind, with the produce-method (intake / derived / external) read offsource.from. Migration:kind: quarantine/kind: derivedon a zone →kind: machine;kind: derived/kind: intakeon an entry →kind: produced. Both are rejected at load with a fold hint; no shim. source:+retention:replaceupkeep/lifecycle/materialize/intake/compute/template(ADR 0093). The old slots conflated production (how an entry's bytes are made) with retention (when an aged entry is retired). They split into an entry-levelsource: { from: project | handler | command }— one "acquire data from upstream" concept, wherefrommust agree withkind:— and a glob-matchedretention: { ttl, action: drop | archive }rule; both run through one produce engine. This is strictly more expressive (re-pull hourly and archive at 90 days is now sayable). Thelifecycle: { on_expire: warn }form is removed (warnwas dead since 0.50's pure-readget). Migration: rewriteupkeep:/lifecycle:/materialize:(and the oldintake:/compute:/template:blocks) intosource:+retention:. Old manifests fail at load with mechanical fold hints; no shim.- A
sourceproduces data;publish:is a list of targets (ADR 0094). A produced entry's stored form is data (e.g..json); rendering moves entirely to the publish path.publish:is now a list — each element a{ to:, template?:, inject_boot?: }file target (copies the data verbatim, or renders it through that target's own template) or a{ tree: }subtree mirror — so one dataset can render to differently-shaped targets (CLAUDE.mdvsAGENTS.md) without bespoke handler code. Published artifacts are clean content; textus's_metaprovenance stays in the stored entry. Migration: the mappublish: { to: [...] }/publish: { tree: }forms (and the olderpublish_to:/publish_tree:) are rejected at load —publish:is a list. - Hook events renamed (ADR 0094). RPC
:resolve_intake→:resolve_handler; pub-sub:entry_put→:entry_written,:build_completed→:entry_produced(plus:entry_publishedandproduce_failed). Migration: update hook subscriptions to the new names; old names fail at registration.
Added
- Reference docs are produced, not hand-authored (ADR 0097, 0098).
docs/reference/verbs.mdanddocs/reference/schema.md(projected from the live verb/schema registry) and the newdocs/reference/adr-log.md(projected from the ADR files) arekind: producedentries published out, with a CI gate that fails whenreconcileis not a no-op. Do not hand-edit them — edit the upstream source (the verb/schema code, or an ADR) and runreconcile;doctorflags a stale hand-edit asgenerator_drift. - The root
README.md,CONTRIBUTING.md, andSECURITY.mdare canon, published out (ADR 0103, 0104). They are authored under.textus/zones/knowledge/and published verbatim to the repo root with an editor banner (the same pattern asdocs/); a hand-edit to a front-door doc is clobbered byreconcileand caught by the CI no-op gate.
Changed
- Docs SSoT/DRY cleanup (ADR 0098). The duplicated ADR index is single-sourced — the mechanical status board lives in
docs/reference/adr-log.md, and the curated decisions README becomes an annotated reading guide; the verb producer depends onRead::Capabilitiesrather than reaching intoDispatcherinternals; a conformance guard keeps theevents/zones/mcpprojections covered.
Internal
- The architecture is now executable, and the produce / schema / port layers are decomposed (ADR 0092, 0099–0101, 0105–0109). The hexagonal layering is enforced by a conformance guard with the layer map written to
lib/textus/ARCHITECTURE.md(0106); the verb token gains a build-time route ⟺ contract bijection guard (0105); the divergent staleness comparisons collapse into oneDomain::Freshness::Evaluator(0099); the produce pipeline is gathered underlib/textus/produce/with anacquire÷rendersplit and thefetch_*fossils renamed (0100); two interface fossils are removed (0101);manifest/schema.rbsplits its validation walk intoSchema::Validatorand its constants intoSchema::Vocabulary+Schema::Keys(0107, 0109); every port becomes one shape — an instantiable class (0108, 0109); and the conformance spec tier is consolidated (67→19 loose) and coupled to the contract rather than to fixture spelling (0092). No behaviour, manifest-grammar, or verb-surface change.