Changes touching this path
- ADR 0032: amend and supersession - the loot edit model (keystone #170)
5995c753 ·dbf3dbe6… - (working change)
64d767d4 ·diffdbf3dbe6… - a superseded head is listed, not counted: loot log and loot heads stop counting a version superseded under ADR 0032 as a head, so a clean loot move --before no longer prints 2 heads - diverged; finalize then converge for a divergence that does not exist. the rule is spelled once as Liveness::is_superseded, which the head partition drops stale by, loot heads prints its superseded annotation by, and the counts now read: history() routes, counts and sections over the heads that predicate rejects, through a new LogGraph::retain_heads that re-indexes reachability into the kept heads, and the heads header counts the rows whose superseded flag is false and says how many superseded versions follow, still listed under the annotation. the head set itself is untouched - the stale head stays in .loot/heads until a converge retires it. reproduced first through the spawned binary on the lane tree at #1837 exactly as the ticket describes, and measured on move --onto too, where the stale head is not empty (B stays reachable only through it), which is why the rule is superseded and not own == 0. status never counted heads and never marks this with !, pinned rather than assumed. every machine shape is byte-identical modulo ids except the rows that were wrong: log --porcelain loses its two H rows and the working-change * row the fork view printed, log --json goes heads null, and heads --porcelain, heads --json and all three status shapes do not move. red first, four ways: the count rule undone reddens the workspace pin and the spawned reorder pin (0 passed, 1 failed; 1 passed, 1 failed), the header count undone reddens the heads pin and the spawned pin (6 passed, 1 failed; 1 passed, 1 failed), every head uncounted reddens the positive controls while the negative pin stays green (5 passed, 3 failed; 1 passed, 1 failed), and the predicate blinded reddens the partition, the annotation and the count together (6 passed, 1 failed; 0 passed, 2 failed). the #1477 production-shape pin moves to the new header, and ADR 0032 and CONTEXT.md record the amendment. no migration, no wire or format byte moves, and no forge or relay behaviour moves, so this owes no deploy. the workspace suite is green (3887 passed over 122 binaries, 7 ignored) (#1839)
8e6c0841 ·diffdbf3dbe6… - sweep 1 fix-up over #1826, #1837 and #1839: a live change only a superseded head reaches is listed in the fork view, in a third section of its own, rather than in no section at all. LogGraph::retain_heads leaves such a change with an empty reachable_from, and history() partitioned the fork on exactly one head and more than one, so after a move --onto the ancestor the old tip alone reaches was printed nowhere - reproduced first through the spawned binary with two live lines (0 passed, 1 failed), the fork and the non-empty superseded head both holding as controls. GraphHistory gains unreached, the renderer prints it under behind a superseded tip after the shared ancestry, drawn_rows leads with it because such a change can only be a child of a lane or shared row, the path filter, retain_versions and all_rows walk it, and both machine shapes carry the row with no new column. HEAD on an untracked position with no working change now counts the heads Liveness::is_superseded rejects and answers the sole counted head by name, because Position::anchor answers the first graph head, which can be the superseded one; measured at the other two sites the ticket named, propose already reads is_live and IntegrationPreview deliberately counts the whole partition with retire for the superseded ones, so the liveness doc now points at the callers of the predicate rather than listing two readers. the move --onto usage line gets its space back; refit_shape spells its path columns through treepath::store_key with a backslash pin, and the #2033 census records the tree-path axis it is blind to by design; the shallow clause has one spelling, workspace::parents_not_held, read by the notice and the push refusal, with the pin the suite lacked; carried is carried_count, Reanchored.change is change_id, the squash and absorb op-log lines say re-anchored, frontier_beyond_the_host is private, the one-flag-member sentences drop one, ADR 0089 names both readers of .loot/shallow and both frontier spellings, and the one raw exit ADR 0089 rests on is held to one by a census in tutorial.rs. own > 0 for the move --onto stale head is pinned off the loot heads row. red first, six mutations in one round over disjoint pins: the unreached filter blinded, drawn_rows reordered, the HEAD filter blinded, store_key undone and a second raw exit added redden five pins with the sync shallow control green (1 passed, 5 failed) and the spawned fork pin (2 passed, 1 failed); the noun-verb swap survived tests/shallow (10 passed, 0 failed), which is why the clause has a pin now (0 passed, 1 failed under the swap). ADR 0066 keeps its gated 28 and points at the gate instead of at tickets. no migration, no wire or format byte moves, and no forge or relay byte moves, so this owes no deploy. the workspace suite is green (3895 passed over 122 binaries, 7 ignored) (#2046)
0b55a20f ·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… - a pull or fetch that brings a divergent co-version now names it and records an operation, so loot heads finds its op and undo of a later abandon restores it, where it said nothing new and the next undo dropped the version; converge retires an abandoned head a pull brings back instead of folding it into a merge, since an abandon holds locally though it never travels (ADR 0032 amended in place); the partition pinned and red-proved, the repro run against a scratch relay, CONTEXT and the concepts/dag page say so (vrlzzmsn)
386a7e2d ·diffdbf3dbe6… - loot edit on a position with no pinned tip records the amend as a sibling of the version it supersedes, as ADR 0032 decides, where the capture forked from every head and made it a child of that version: an amend in progress forks from its own parent, a superseded head left standing until a converge is never forked from, anchored on or surfaced, and an amend carries the out-of-view, unmaterialized or unopenable paths of its own tree instead of signing their deletion, so a reword-only amend finalizes and log --graph joins a divergent pair at its parent instead of ending each version with ~, while the help and CONTEXT now say heads are named above the drawing only on a fork; pinned on an unpinned home, red with the amend forking from every head and with a superseded head forked from (0 passed, 1 failed each), the range-diff fixture red without the carry (0 passed, 1 failed), no format, wire or migration byte moves, workspace green at 2013 passed, 6 ignored (yqztplos)
807c237d ·diffdbf3dbe6… - an amend keeps the parents of what it replaces on every position, none for a root and all of a merge, and a merge base counts predecessors as ancestors ahead of parents, so a peer ingesting an amend over its held predecessor records no phantom conflict and a line built on the superseded version merges with the amend on that version, neither resurrecting what the amend deleted nor conflicting on paths only the line edited, which also fixes the same defect for non-root amends; a root amend gates its capture over the tree it replaces and stale-disk reads its base as empty; ADR 0032 amended, four table tests red-proved by eight mutations, loot-core and loot-cli suites green (xysopyyo)
cf1ffca5 ·diffdbf3dbe6… - a non-root amend now gates its capture against the tree of the version it replaces, as a root amend does, where it gated against its first parent, so a path the amended change added or changed that the amender cannot open was overwritten when the amender wrote it, and a held-back copy of a path it changed was recorded at the parent version; the amend carry loop folds into the base gates, capture_refusals reads the same tree for an amend, and decide_stale_disk reads the amended tree, so a held-back copy stays held back across captures; ADR 0032 says so; red without it: the gate table went 0 passed 1 failed before the change and again with a non-root amend gated against its parent, and the held-back pin 0 passed 1 failed on its first capture before the change and on its second with decide_stale_disk reading the fork base; the suite is green at 2195 passed (vzuzpspr)
49984399 ·diffdbf3dbe6… - loot edit of a root change on a pinned primary now leaves the position pinned at no version, written as an empty .loot/tip that loot_core::Pin reads back as AtNothing, where Position::advance wrote the missing parent as no tip and so unpinned the primary for good: the finished amend never pinned, and its captures forked from the union of its heads, unsafe beside a second line; the position tracks while the amend is open and anchors on nothing, as a lane does, its capture still gates over the tree it replaces, finishing pins the amend and undoing the edit pins the replaced version again; advance pins at nothing for any None on a tracked position while seed still unpins, the tip format exemption allows the empty file, and ADR 0032 says so; red without it: the new pin went 0 passed 1 failed before the change, again with advance unpinning on None, and again with the empty file read as unpinned; the suite is green at 2197 passed (vlsmounz)
b9a79e12 ·diffdbf3dbe6… - review sweep 12 fix-ups on the perf afk-loop lands: a ferry ingest of a git commit from another author whose .lootignore is not UTF-8 or opens with a byte-order mark now takes the commit in unsigned with no ignore rules and a warning naming the encoding and the commit, where it refused every such commit and so every later land, while a commit authored as you that writes paths still refuses, as for a malformed .lootattributes, and the disk seams keep refusing; an amend now gates its capture against the tree of the version it replaces rather than its own working tree, so a path the amender sealed away from themselves earlier in the same amend, plaintext left on disk, no longer refuses the next capture as content they cannot see, while a path of that version they cannot open still refuses, and one DagRepo::amend_gate answers the amend question for the engine gates, the stale-disk decision and the untracked base; ADR 0032 says what an amend gates and that it cannot bring back a parent path the replaced version deleted, CONTEXT and the lootignore reference page state the encoding rule, and the policy, ferry, capture, custody, sync, disk record and engine docs are narrowed and held renamed held_back; red without it: the ferry pin went 0 passed 1 failed before the change, again with the self-authored refusal dropped and again with the warning dropped, and the lockout pin 0 passed 1 failed before the change and with the amend gate reading its own tree, and 0 passed 2 failed beside the vzuzpspr table with it reading the parents; the site gate passes 348 and the suite is green at 2198 passed 0 failed (mkoxqlsl)
fb503bbb ·diffdbf3dbe6… - review sweep 13 fix-ups on the perf afk-loop lands: a capture on a position pinned at no version with no amend open, the empty .loot/tip a 0.4.32 binary leaves after finishing a root amend, now forks with no parent where it fell through to the union of the heads, and the position anchors on nothing there where it fell through to a head; the engine snapshot takes the position pin as its fork base, Position::advance and seed take a Pin, so a root amend and an abandoned fork with no survivor say pinned at nothing where None meant that for advance and unpinned for seed, and position_moved_since_read compares the pin, so a move between pinned at nothing and unpinned is seen; a ferry ingest of a git commit authored as you whose .lootignore is not UTF-8 or opens with a byte-order mark now ingests with no ignore rules and a warning, as a commit by another author does, where it refused and so stopped every land until git history was rewritten, while the disk seams keep refusing; Pin no longer sits between decode_one_oid and its doc, amend_gate is renamed amend_gated_against beside a new DagRepo::amends for the is-amending question, the engine snapshot held closure is renamed node_tree, the ticket-root test doc and the CONTEXT lootignore entry are narrowed, and ADR 0032 and the lootignore reference page say so; red without it: the new pinned-at-nothing pin went 0 passed 1 failed before the change, again with the capture reading pinned at nothing as unpinned and again with the anchor doing so, and the ferry pin 0 passed 1 failed with the self-authored refusal put back; the site gate passes 348 and the suite is green at 2203 passed 0 failed (umxslktv)
6c2de80a ·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.