Changes touching this path
- day 0: loot hosts loot
f4c30e75 ·dbf3dbe6… - evidence: crew minted and verified (#86)
1fada823 ·diffdbf3dbe6… - normalize working tree to LF: byte-stable co-located bridge (.gitattributes -text)
e58fdda6 ·diffdbf3dbe6… - converge: three-way deletion-vs-base rule (#295) (#300)
merge_trees had no deletion-vs-base case: a path in theirs but not ours was
always AdoptTheirs, and a path in ours but not theirs was never visited (the
walk only iterated theirs). Either way a one-side deletion since the fork was
silently undone -- it fired twice while landing #288, re-adopting freshly
deleted files from the sibling line.
Apply the standard 3-way rule against the base merge_tips already computes:
- one side deleted + other unchanged-from-base -> the deletion wins (both
directions; a symmetric ours-only pass covers the path theirs dropped);
- one side deleted + other edited-since-base -> a delete/edit Conflict,
recorded so it surfaces through the harbor bounce (ADR 0036) rather than
silently resurrecting or deleting (base content stands in for the deleted
side's missing oid);
- base lacks the path -> a genuine add, adopted as before.
Unchanged-ness: address equality first, then plaintext via the key oracle
(re-seals mint fresh addresses, #65/#98); an unopenable side keeps the
conservative pre-#295 keep/adopt. New same_content helper.
Tests: converge unit tests for both delete-vs-untouched directions (incl. a
reseal-address case), both delete-vs-modified conflict directions, delete-vs-
delete clean, base-lacks-path add, unopenable conservative, and a classify
theirs-side case; engine merge_tips tests proving the one-side deletion is
honored (both orders, clean) and a delete/edit collision surfaces a conflict.
Amends ADR 0028 (new #295 amendment) + CONTEXT.md Convergence-classifier and
Adopt entries + concurrent.md, retiring the "the merge is what resurrects
files deleted upstream" caveat for the reconcile/adopt merge.
Git-Author: Connor Miller <53197564+Connor-Miller@users.noreply.github.com>
9fed0444diff - Workspace accepts its clock; lane flag-gate goes pure so cmd_* tests never touch a real .loot (#322)
20ac82e1 ·diffdbf3dbe6… - conflicts map stores base OID + loot resolve --tool for external 3-way merge (#400, #401)
a0711731 ·diffdbf3dbe6… - Rename the Public visibility tier to Internal (ADR 0041 §2, #480)
6969626d ·diffdbf3dbe6… - a resolution records which side it answered, so catching up after resolving no longer re-raises the path (#744); ADR 0039 says what the one-commit promise actually guarantees (#653)
b837289e ·diffdbf3dbe6… - a publication survives a merge, an ingest and a resolve, so a catch-up stops silently reverting one (#783)
The reported symptom was consent fatigue: every capture in the repo refused with
"refusing to publish README.md", including changes touching nothing published.
The cause was the opposite of the symptom -- README was not published any more,
and the gate was correctly reporting a new @world transition on a publication
that had been reverted.
The ticket's hypothesis (an adopt/ferry fold re-sealing README from git-side
content) was not the mechanism. Reading the real graph, #750's own publication
change never published README at all, while it did publish both licenses. The
difference is that the licenses were NEW paths, so the snapshot seal minted them
@world, while README already existed and went through the merge -- where converge
picked between two addresses holding identical plaintext under identical
Visibility and its tie-break took the unpublished one.
@world is address-neutral, outside every signature and ignored by open,
key-travel and compression. That inertness is what made publication cheap; it is
also why nothing carries the marker structurally. It survives only where the code
writing a tree entry chooses to carry it, and four writers did not: converge, the
git bridge's ingest, resolve (so a bounce quietly unpublished the conflicted
path) and absorb's span rebuild. The snapshot seal learned this at #481 and
nothing generalized it, so Repo::put_sealed now is the generalization.
converge gains an is_published question on KeyOracle and compares publish-status
as part of a path's content, which makes the existing 3-way answer publish flips
correctly in both directions: a publication since the fork is an edit and wins
over a stale untouched side, and a deliberate unpublish is equally an edit and
still lands. On identical bytes with no base to judge from, the published side
wins -- widening was consented to once, and reverting it on no evidence is the
only outcome that loses something silently.
The other three carry, and carry ONLY. A re-seal never originates a publication:
ingest takes its policy from a git commit, which reaches loot without passing a
consent seam, so a break-glass commit adding a `published` rule seals plain and
leaves the transition for the capture gate to ask about in the usual place.
Sealing more tightly than the rule says is always safe; more loosely is what this
subsystem exists to prevent.
Ask 2 -- should an unpublish need consent? No. A prompt would make consent MORE
frequent, which is the failure the ticket is actually about: a gate that fires
routinely teaches operators and agents to pass publication flags reflexively. The
fix is fewer ways to unpublish, not another prompt, so dropping the rule is now
the only one. For the same reason the gate still asks the anchor OBJECT's marker
and not the anchor's .lootattributes: policy and marker disagree both when a
marker was lost and when a rule has just begun publishing a path, nothing there
can tell them apart, and trusting policy would turn the standing rule into a way
to publish unasked. A future marker-losing path would make the gate nag again,
and that is the failure worth having.
Ask 4 -- the forge's published index cannot disagree with main: this repo pushes
to relay.millerbyte.com and has never pushed to the forge, so the index holds no
README row. Had the push happened inside the window, it would have received the
unpublished object.
ADR 0041 gains a 2026-08-04 amendment; CONTEXT.md's Published entry records the
carry/originate split.
ec50222e ·diffdbf3dbe6… - the converge seam merges with a diff3 three-way, so two disjoint edits compose instead of one silently dropping the other (#790)
2fd16e7f ·diffdbf3dbe6… - a fourth caller stops being able to read the merge's unsealed tree, because merge_trees now returns an Unsealed with no tree field and exactly two exits, one for the two callers that seal it into a change and one for the cherry-pick that re-seals under its own attributes (#1409)
e14639ff ·diffdbf3dbe6… - a publication marker that could not be read stops being carried as an unpublished one, because the three re-seals that carry @world across a rewrite now ask a read that refuses instead of a predicate whose swallow was argued for the publish guard alone, and the refusal is a typed variant rather than prose so a corrupt seal reaches the run-loot-verify remedy a vanished one already did, while ADR 0012 table rows name their consumer and state the grep the census is the output of (#1582)
6ee38984 ·diffdbf3dbe6… - loot apply-patch lands as the inbound half of patch interchange, and the limit 1512 deliberately left open is CLOSED BY REFUSING: CRLF is refused on both sides, because the two halves are not the same kind of problem. A patch declaring lossy: crlf-normalized cannot reconstruct the bytes the change it names recorded - that is fidelity, read off the exporters own measurement rather than re-derived, since by the time the content is in the file it is LF. The half that actually bites is the LOCAL one: a hunks line space is LF, so writing an applied result back over a CRLF working file rewrites EVERY line ending in it, a whole-file change no hunk describes, that no report would show as more than the lines the patch touched, and that the next capture would sign. Reconstruction was rejected as a guess - the line space carries no endings at all, so an inserted line in a mixed file has nothing to decide from - and documentation as too weak for a silent whole-file rewrite. The cost is named rather than hidden: a CRLF repo cannot use patch interchange in either direction, and the remedy is a bundle, which carries content verbatim because it carries objects. Refusing is also what makes the round-trip pin true rather than approximately true. This is a separate verb from loot apply and not a mode of it, since a bundle carries objects, keys and signed change nodes while a patch carries none of those; dispatch is an exact-name lookup so nothing can collide there, and the place that DOES match loosely is verb_usage, which compares the token after loot rather than a prefix - pinned, because a prefix match would have dragged the whole apply-patch usage line into loot apply --help. Hunks apply strictly at the lines they declare, and what does not falls back to the ADR 0044 three-way against the change the patch names in its own parent row, which is the git am -3 shape and the reason that row is full width; loot-core gains one narrow door, converge::compose, because the theirs side of a patch is text at NO address while three_way_merge exists to pick between two addresses. A contended path is recorded and the run stops with the tree untouched, which makes this the sixth member of the 1506 resume family, and the census is what said so. Three of the ticket premises moved under it. The AC3 re-seal under the local .lootattributes is a SENTENCE and not a step, exactly as 1499 found for restore: the verb writes plaintext and then captures, so the tier is todays local policy by construction, and the export side already carries no tier for it to have inherited - the work was pinning it and saying it in the report. The AC4 no-partial-application rule forced the capture-first snapshot to run AFTER the plan rather than before, found by a fixture rather than reasoned out: a repo holding a path it cannot open has that paths plaintext on disk, capture_uncaptured_edits refuses to re-seal content it cannot read, and with the capture first the verbs own refusal was never reached at all. And a hunk body must be consumed by the counts in its @@ header and never by scanning for the closing separator, because a deleted line whose content is exactly a dash renders as two dashes, byte-identical to it. ADR 0082 freezes the header grammar now that a reader exists, which is why the 1786 fidelity rows went in before this ticket rather than after; the machine shape 1512 expected this ticket to name is deferred, with the reason written into ADR 0066 and PROSE_ONLY_CEILING, because it is one shape shared by both verbs and freezing the import side alone is the same half-contract 1512 declined on its own side (#1513)
d5fba81e ·diffdbf3dbe6… - a test is kept only for a bug whose damage outlives its detection (ADR 0105, docs/agents/testing.md): disclosure, durable bytes, signed history, silent-pass refusals and machine contracts keep their tests, everything else is trusted or fixed fast, and assertions are on outcomes, never prose. the implementer brief asks that question before a test is written and owes a mutation proof only for a must-test pin. the suite is cut to it in one pass, Rust test functions 4848 to 1665, site vitest cases 1307 to 258 and SDK cases 160 to 64, with the living docs and comments that named deleted tests corrected and ADRs, tickets and released migrations left as history. cargo test green at 1945 passed with 6 ignored, the site gate green at 240 passed, the SDK at 75 passed with its one known macOS path failure from before the cut (ruwknvpw)
61f0184b ·diffdbf3dbe6… - loot-core, loot-codec, loot-wasm, loot-hygiene, loot-identity, loot-revset, loot-ticket and loot-count production comments cut by 72% to the docs/agents/writing.md standard: history, ticket numbers, rosters and ADR retellings removed, contracts, formats and safety reasoning kept; comment-only, Rust token streams identical, test modules untouched (yrkykmsn)
c1305a2b ·diffdbf3dbe6… - site and sdk production comments cut by 71% to the docs/agents/writing.md standard: history, ticket numbers, rosters and ADR retellings removed, security reasoning, browser quirks and directives kept; comment-only, the TypeScript AST without comments identical, built bundles unchanged but for the build stamp (yrkykmsn)
d8c01375 ·diffdbf3dbe6… - docs/agents/writing.md is the standard for comments and docs: a comment says only the why the code cannot, rg and loot log answer who-calls, which-members and when-changed better than a cached comment, and history, ticket numbers, rosters and emphasis are deleted on sight. AGENTS.md links it. CONTEXT.md, AGENTS.md, docs/agents, the skills, specs, READMEs, research and evidence are cut by about 65% to it, every cited heading, § number and test-pinned string kept; files the yrkykmsn ticket (yrkykmsn)
8e3c7b83 ·diffdbf3dbe6… - the ADRs are cut by 71% to the docs/agents/writing.md shape: Context, Decision and Consequences in about a page each, amendments folded into the decision they amend, function tours, test counts, sweeps and ticket archaeology removed; every title, Status section, cited § and numbered decision kept. ADR 0103 folds in the vmusyoxz, snmzospn and xrqwmovz amendments and restores the operator rulings of 3e1a10ce that the loot-core comment land reverted (yrkykmsn)
0fc947d9 ·diffdbf3dbe6… - merge_pair reuses the plaintext and publish marker it already opened for a side when the base is at the address of that side, instead of opening and asking about the same object again, which a fast-forward pull hits for every changed path and a carry for every path one side left at the base, and change_delta_merge keeps the plaintext it opens to check a delta path is readable and hands it to the action when the path keeps that address instead of decrypting it again; object_gets went from 70 and 140 to 50 and 100 for a fast-forward pull of 10 and 20 changed paths, from 66 and 126 to 44 and 84 for carry_line over 10 and 20 paths the target edited, and from 80 and 160 to 50 and 100 for a cherry-pick of 10 and 20 edited paths, with object_disk_reads at 0 throughout because the fixture holds its objects in memory; the converge table went red when either reuse took the other side marker (5 passed, 1 failed each) and the pick suite went red when the kept plaintext ignored its address (9 passed, 1 failed), the measurement is not kept as a test, the gated counters do not move, and the suite is green (xsytsmqq)
33341c2a ·diffdbf3dbe6… - the lock test that reads live ages before one stat error waits out a 500 ms horizon instead of 50 ms so a scheduler pause cannot break the lock while the code is right, and still went red without the reset (0 passed, 1 failed); the status publish test drives status --json and reads the visibility of its working listing instead of copying the internal calls of status, and went red when the listing dropped the publish flag (0 passed, 1 failed); loot_ticket gains located_entries, the tickets/ range, stop and locate rule over any path-ordered entries, which subtree, ticket_entries and the recorded_entries of the CLI now share; the entries_from and address_at docs say a frame walk fills no memo while the fallback decodes and keeps the manifest, and the merge_pair and frames test docs are cut to why; the gated counters do not move, and the suite is green (woxqkpvz)
90437c6f ·diffdbf3dbe6… - files the two amend edges xysopyyo left open: a non-root amend gates its capture against its parent tree rather than the version it replaces (vzuzpspr), and loot edit of a root change on a pinned position loses the pin (vlsmounz)
4d1ef5fb ·diffdbf3dbe6… - restore the 71 files 430a057a reverted to 385bcb40's bytes: a tickets-only land (vzuzpspr, vlsmounz) recorded stale copies in the Mac primary, which held the desktop's newer versions sealed with keys it had not pulled, and a loot fetch there had left the disk behind loot's view; the keys are pulled now, the lane equals 385bcb40 outside tickets/ but for that land's benchmark entry, and mmzxtyyt records the mechanism
Perf-Baseline: reset 430a057a's baseline measured the reverted code; restoring 385bcb40's brings object_gets, store_file_reads and graph_sorts back down
7806746e ·diffdbf3dbe6… - a .lootattributes that is not UTF-8, such as the UTF-16 Windows PowerShell 5.1 writes with >, is now a malformed rule naming its encoding at the disk load, the ferry ingest and the recorded-tree vet, so loot new and a ferry ingest of a self-authored commit refuse instead of signing plan.txt internal with exit 0, and a line opening with a byte-order mark, which made the first rule match nothing, is malformed too; the unreadable recorded rules refusals carry the code unreadable_attrs, which the SDK classes as a guard error and the tests assert, and ADR 0038 states the costs of passing over a signed parent rules file and an unsigned ingested parent, and its wrap is fixed; the new cases went red without the fix (0 passed, 2 failed), again with the disk load reading text (1 passed, 1 failed), with the ferry reading text (1 passed, 1 failed) and with the byte-order mark unrecorded (1 passed, 1 failed), the code assertions went red without the code (0 passed, 3 failed), the gated counters do not move, the SDK typecheck passes, and the suite is green at 2103 passed (ymmvvvxq)
9d623289 ·diffdbf3dbe6… - a merge now takes their version of a path ours left at the merge base address even when this identity cannot open theirs, where merge_pair relayed and kept ours, so bob merging a re-seal of doc.txt he cannot read recorded his old v1 and reverted it, reproduced with two identities through loot merge and loot converge on main at 1639a162; a no-arg loot adopt or a loot ferry catch-up now refuses with the code replaced_version, naming the paths, to sign a working change holding at a path it changed the bytes of a version it can open that landed main has replaced, where it signed them as an edit that reverted landed work; CONTEXT and ADR 0023 say so; red without it: the merge table went 0 passed 1 failed with the base-address arm dropped, and the catch-up pin 0 passed 1 failed with the guard disabled and again with only the ferry call removed; the suite is green at 2207 passed 0 failed; it also files lsrotrzr, the post-land check that would catch the revert shapes this leaves (mmzxtyyt)
60b957a3 ·diffdbf3dbe6… - review sweep 14 fix-ups on the perf afk-loop lands: the replaced_version guard of a no-arg loot adopt or a loot ferry catch-up now asks only about versions landed main recorded at a changed path since the working change forked and has replaced, where it asked about every earlier version in history and so refused an honest revert to a version older than the fork; where landed main holds a version sealed away from this identity its remedy names loot pull-grants before loot restore; its walk is bounded to the changes landed since the fork, a stored uncompressed object whose ciphertext length cannot hold the plaintext is skipped without a decrypt (Readable::may_open_to_len over sealed::may_open_to_len), opened digests are memoised and the landed version is opened only after a match, so a 200-version path forked 49 versions back went from 201 decrypts and 201 object gets to 49 and 97 for compressible content and to 1 and 49 for incompressible content; a capture on a position pinned at nothing with no amend open beside live heads now warns that it starts a second root line rather than refusing, since loot edit and loot adopt of a version, which would re-pin, refuse over the uncaptured edits it records; the convergence classifier reports theirs at the merge base address with either side unreadable as merged where it read relayed unmerged; ChangeGraph::fork_from is the one pin-to-fork-base match for the engine snapshot and the stale-disk decision, untracked_base returns a Pin, DagRepo::amends reads amend_gated_against, DagRepo::snapshot and snapshot_allowing take a Pin, the guard takes a named ChangedPath, and the CONTEXT adopt and classifier entries and ADR 0032 say so; red without it: the reworked catch-up table went 0 passed 1 failed with the whole history asked again (the honest revert refused), with the guard off, with a sealed landed version passed over, with the GCM tag length dropped and with compressed objects length-filtered, the classifier table 0 passed 1 failed with the new arm dropped, and the pinned-at-nothing pin 0 passed 1 failed with the warning never firing; the suite is green at 2211 passed 0 failed; it also files pqnmmypn, the review findings on the lanes listing, glob and settle claim lands (ptkvquqv)
4487134f ·diffdbf3dbe6…
Renames are not followed. loot's tree maps a path to an address, so a rename is a delete and an add. This list is the history of the name, not of the bytes.