Repository navigation
Description
2026-09-08 on Danoble-MBP-A, the first writ deploy after make install moved the binary from 155067ae
to 919b9521, which includes #858 ("a value in an any slot carries its type…").
Observed
Before that deploy, with three layers registered and 269 links on disk from the previous day's deploys:
$ writ deploy --allow-dirty common noblefactor-ops
Error: refusing to deploy over 270 occupied target(s) not recognized as writ's own unmodified output:
…/.local/share/zsh/site-functions/… (42) …/.local/share/man/man1/… (42) …/Library/Fonts/SFMono-*.otf …
use --conflict=replace to archive-and-overwrite them, or --conflict=skip to leave them
$ writ reconcile -o json | jq '.entries, (.health.findings | length)'
null
9
Every one of the 270 is a symlink writ made the day before, pointing into the personal layer's working
tree. The nine health findings are why writ did not know them:
- three traces from 2026-08-09:
op.LoadTrace: yaml decode: op.ResourceState: unknown state "1" - six graphs from 2026-09-06 and 2026-09-07 — the previous build's deploys —
{}{"common", "noblefactor"} is not a type wrapper; ananyslot must carry one
After one deploy under --conflict=skip (which relinked nothing and added the new layer's four files),
reconcile reports linked: 273, copied: 1 — the inventory rebuilt from the one trace the new build wrote —
and the same nine findings.
Mechanism
readback.Fold builds the inventory from the traces and their graphs. A graph the current decoder cannot
read is dropped with a health finding; the inventory proceeds without it. #858 changed the any-slot
encoding without a reader for the previous shape, so every graph the previous build wrote is unreadable,
and the inventory — and with it occupantIsOurs in the deploy pre-flight, reconcile, and upgrade's
notion of what exists — went to nothing between the upgrade and the next deploy. The 2026-08-09 traces
show the same class from an earlier ResourceState change: the store already held history no build could
read, silently.
What this costs
A make install of develop is a normal morning act. After it, the machine's deployment is invisible to
writ until a deploy under skip or replace writes a fresh trace — stop, the ruled default, refuses
everything — and reconcile says the machine has nothing. That is the opposite of what a store is for.
Wanted
- A serialization change ships with a reader for the shape it replaces, or a migration of the store, never
neither; A value in an any slot carries its type, a resource slot records the catalog id, and the checksum covers the catalog rows #858's shape gets its reader for the previous one now - A trace or graph the current build cannot read is a loud finding:
reconcilestates it in its
human rendering, anddeploy's pre-flight says "N targets unknown because M traces are unreadable" and
points here, instead of calling writ's own links foreign - An unreadable trace does not silently drop its targets from the inventory; the inventory marks them
unknownand the policies treatunknownas "ask", not "foreign"
Acceptance
- a graph written by
155067aeloads under develop, and a test pins the previousany-slot shape -
reconcileon this machine's store shows zero findings, or names each with the build that wrote it - a deploy under
stopafter a binary upgrade recognizes the previous build's links as its own - the layer-journey scenario (The layer journey as a scenario: self install, repo set in every combination, deploy and deploy thenobles, then the move — on every platform #855) gains a step: deploy, replace the binary with one whose reader
lacks the shape (simulated), and assert the refusal names the store rather than the targets
Related
#858 (the shape change), #762 (reconcile), #853 (the dry run cannot show the pre-flight), #842 (narrate
what a policy passes over), #847 (pinned versus live links — the same store is what a pin would rest on),
noblefactor-ops#147 / #476 (the deploy that found it).
Activity
David-Noble-at-work commentedon Sep 8, 2026
Ruled 2026-09-08: "the old graphs can be tossed … and the traces." Done on Danoble-MBP-A: the ten graphs and ten trace directories earlier builds wrote are gone, the index keeps its two lines for the graph
919b9521wrote, andwrit reconcilereads the store clean — 273 linked, 1 copied, zero findings. So the first item under Wanted (a reader for the replaced shape, or a migration) is withdrawn for this change: no history worth carrying. What stands is the behaviour: an unreadable document must be a loud finding inreconcileand indeploy's pre-flight, naming the store rather than calling writ's own links foreign, and its targets marked unknown, not dropped. The scenario step in Acceptance stands too.David-Noble-at-work commentedon Sep 8, 2026
Closed 2026-09-08, ruled: not a bug. This is a greenfield product with no legacy; a change to the graph or trace shape owes the old store nothing, and tossing it is the intended cost — which is what was done on Danoble-MBP-A, after which the store reads clean.
reconcilealready reported the unreadable documents in its health findings. The one gap that stands is the deploy pre-flight's refusal, which named the targets and suggested--conflict=replacerather than naming the unreadable documents; that is one sentence in #842's narration rule, recorded there.