connor / loot

connor/loot

Changes touching this path

  • The harbor: an on-demand lock serializes landing to git-main (#229, closes #195) 8adf34a2 · dbf3dbe6…
  • Land proceeds when the signed line is already projected but unpushed (#349) 08a05020 · dbf3dbe6…diff
  • ADR 0039 build: pure-projection review + carry-at-land (#362) Review mode (`ferry --with-wip` / `loot-first review`) is now a pure projection: no ingest, no dock reconcile, no mirror-main advance, no spine rewrite - it mints the provisional commit from the lane's own anchor marks and pushes only review/<position>. A lane behind git main reviews normally; REFUSE_REVIEW_STALE_ANCHOR is deleted with the fold it guarded (#292/#302), and the #349 review-mode trigger is structurally gone. Reconcile lives only at the signing verbs, and its diverged-line shape is now the carry (DagRepo::carry_line): a self-authored suffix replays onto landed main as superseding versions - same change id, same subject, single parent, stale original kept as predecessor - so landed history stays exactly one commit per change with no ferry: 1412f811 · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • the harbor lock measures silence, not duration: a long-running holder beats a heartbeat, so a land may hold it for minutes and a crashed one is reclaimed in seconds (#1013) b9376a30 · dbf3dbe6…diff
  • a land gates the tree it publishes: the merged-tree gate runs inside the ferry pass, so a lane behind landed main queues and converges instead of being refused (#1013) 4d9d4c0f · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • a land pushes main and prints its verdict at once, and the PR collapse, the forge sync and the seed refresh run after it in a loot-first settle process that the harbor lock is handed to: the land offers the lock in its file, the process claims it with a file only one party can create and beats it, the lane is marked landed last, the verdict reads pending for status, relay, branch, folded and pusher until loot-first settle --pr N --wait prints them, --settle-inline keeps the synchronous land, the PR poll asks before it sleeps, and a refused or failed push of main no longer closes the PR (git stderr tells a non-fast-forward from a network failure, both leave the PR open with a re-land remedy); with the handover removing the file, the offer not marking the beat, the claim not exclusive, the sync after the lane mark and the harbor released before the sync, the pinning tests went red (2 failed 2 passed, 1 failed 3 passed, 1 failed 3 passed, 1 failed 0 passed, 1 failed 0 passed) and the suite is green at 2117 passed (xpvlupvn) f550e310 · dbf3dbe6…diff
  • a land fetches the origin main only after something shows it moved, and the fetch overlaps the forge read: the drift check reads local refs, the harbor round fetches nothing until the non-force push of main is refused as a non-fast-forward or the forge intake meets a change landed main lacks, and a refused push rolls the mirror back (main to its tip before the pass, the pass marks forgotten, the state file restored) and runs the land again after a fetch, up to three pushes, where it used to leave a diverged mirror for the operator; red without it: no fetch on the retry failed 4 of 133 loot-first lib tests, a fetch on the first run failed 2, no rollback failed 4, no intake refetch failed 1, and each of the three rollback parts failed the ferry rollback test; suite green at 2137 passed (tyswnklm) f48a4573 · dbf3dbe6…diff
  • a sealed land publishes only the point the pass judged, a failed PR collapse no longer ends the settle before the sync, loot-first settle --retry runs a settle that died from its handoff, passes looked up are carried across the finalize, the seed refreshes only after a cargo gate ran, a claimed handover is never settled inline, an embargo reveal and not the session label changes the proof key, the gates run without LOOT_SESSION, and the review comments, ADRs 0036 0053 0106 and CONTEXT entries lose emphasis, history and hand-kept lists; with the merged prove pass recording a fresh point the behind-main land test went red (2 failed, 138 passed) and with the point check relaxed the held-point pin went red (1 failed, 139 passed), with a failed collapse ending the settle 1 failed, with a claimed handover resumed 1 failed, with the session in the key 1 failed, with the reveal unkeyed 1 failed, and the suite is green at 2152 passed (kmnkwmuv) fface428 · dbf3dbe6…diff
  • a land ends at its local projection and hands the harbor to the settle, which asks for the approval when the land signed nothing and then pushes main, the compare-and-swap, rolling the projection back and running the land again in its own process when origin refuses it as a non-fast-forward; a proven land so asks github for nothing before its handover, which a fake forge counting calls pins; the projection waiting for origin is recorded beside the ferry spine as ferry::Unpublished, so mirror_main_change answers the main before it and a bare loot ferry refuses with unpublished_main, and every process taking the harbor rolls back a projection a dead land or settle left and records the settle outcome, pushing nothing; settle --wait prints the main origin took as main= on the settled line, --settle-inline keeps the whole land in one process as before, and ADR 0107 amends ADR 0036 and ADR 0106 section 6, with CONTEXT, workflow, concurrent and the afk-loop, land-change and implementer-brief skills updated; the forge read under the harbor stays on the land path for a follow-up; red without it: the new pins went 0 passed 1 failed each with the settle re-land dropped, with the settle approval skipped or asked by the land, with the dead-projection rollback dropped, with the record ignored by mirror_main_change and with the bare-ferry refusal dropped; the suite is green at 2188 passed (nvtqnmvs) 78fe8e37 · dbf3dbe6…diff
  • the settle process adopts the harbor before it opens the workspace (the land now names the lock file with --lock), so the handover that cost 0.19 s on every proven land is the 0.004 s from spawn to adoption measured against a real lock, with the open that follows no longer on the land path; a land of a change finalized before it asks the forge for its heads on a thread beside its reads (forge_fold::HeadsAsk, the transfer floor a test sets on its thread carried over by loot_net::endpoint::Floor) and the take-in under the harbor uses the answer when it is recent and asks again when it failed or went stale, which took reads plus take-in from 0.40 s to 0.21 s over a real lane; the proven land reads were profiled and the cost is the disk check against the sealed change, a tree walk plus opening every sealed path with software AES, so aarch64-apple-darwin builds now turn on the aes and polyval hardware paths (that check 0.30 s to 0.22 s on a clean 9,000-path lane) while a cold stat cache adds 0.16 s and what made 1.36 s once could not be told; ADR 0107 and 0036 and workflow.md updated; red without it: the new freshness pin went 0 passed 1 failed with the staleness bound dropped; the suite is green at 2192 passed 0 failed (nvtqnmvs) 5c97d0a4 · dbf3dbe6…diff
  • review fix-ups on the settle that publishes main: a settle pushes the commit it was handed rather than the mirror main ref, and only while that commit is still the mirror main and no record names another projection, so a settle --retry after its projection was rolled back and another land landed, or a settle that stalled until another land broke its lock and projected, records a failure and pushes, collapses and marks nothing, where it pushed whatever main the mirror held, collapsed the PR onto a commit origin lacked, marked the lane landed and cleared the record of the other land; it clears only its own record, rewrites its handoff to name no projection before it lets the harbor go to land again, and a retry refuses such a handoff without writing an outcome; an undo with no record of its own says so where it said rolled back, the dead-settle outcome says origin may already hold the commit, an early forge ask still running at the harbor is no longer waited for, the settle refuses a --lock that is not the harbor lock of the repo, and ADR 0107 and 0036, workflow.md, the diagnose-bounce skill and test docs are corrected; red without it: the new pin went 0 passed 1 failed on each of its cases before the fix and again with the check dropped, and the dead-settle pin 0 passed 1 failed with the built-on refusal dropped; the suite is green at 2197 passed 0 failed (nvtqnmvs) ddf7da08 · dbf3dbe6…diff
  • the settle now lets the harbor go after the sync and collapses the PR after it, where it collapsed the PR head, polled GitHub for up to 30 s, commented or closed and deleted the branch first, so a land queued behind a settle waited for that poll too (settle rows 6.8 to 10.2 s of publish-collapse, 23 to 30 s on the lands where GitHub was slow to close the PR); the push of main and the sync stay under the harbor, since the sync adopts into and pushes from the primary and its race fold writes the position, in landing order (ADR 0036), while the collapse writes only the PR own branch and the PR; the seed refresh, the pr-map row, the sweep, the lane mark and the outcome follow as before, the outcome last; the settle record in land-timings and the timing line carry harbor_held_seconds, from taking or adopting the harbor to its release, which from the latest settle rows is about 8 s (open, approval, publish and sync) where the whole settle held it for 14 to 19 s; ADR 0036 and 0107, workflow.md and CONTEXT say so; the zero-diff premise did not hold, so the poll is unchanged: 34 consecutive lands closed by collapse in 6.5 to 10 s, and the lands that ran the poll out were code and ticket lands alike with PR heads left at the review commit, GitHub not syncing the force-pushed head; red without it: the new pin went 3 passed 1 failed with the harbor kept to the end of the settle; the suite is green at 2199 passed 0 failed (rrvlnsry) 20d981ad · dbf3dbe6…diff
  • review sweep 2 fix-ups on the settle, lane listing and graph read lands: a settle now holds a claim file, settle/<pr>.lock beside its handoff, beaten as the harbor is from the moment it starts until its outcome is written, and settle --retry takes it after the harbor and refuses while a live process holds it, where the settle let the harbor go before its PR collapse and a retry in that window found the harbor free and no outcome and ran the settle a second time over the first (a second sync, comment and branch delete, and a lane gc could reap the lane under it), while a killed settle leaves a claim that goes silent and is taken over after the harbor staleness horizon so it never blocks the retry for good; loot lanes now skips the tree scan only for an unnamed landed lane this session owns, which a bare lane gc sweeps, so another session landed lane edited after its land reads dirty again and not unscanned before a reap-others deletes the edits; the ADR 0023 ledger entry says the dirty value is dropped and not moved and why no bump was taken; read_shared has a table test over lengths one short, one long, double and zero; the settle harbor_held_seconds sums each hold when the settle runs the land again; ADR 0036, 0107 and workflow.md say the claim stands for a live settle; wrapped one comment and dropped history phrasing from five; red without it: the retry pin failed 0 passed 1 failed with the retry returning Ok, the lane listing pin 0 passed 1 failed with a dirty lane reading unscanned, and the read_shared table 0 passed 1 failed with its tail dropped; the suite is green at 2205 passed 0 failed (rrvlnsry) 0803ef67 · dbf3dbe6…diff
  • the verdict line is built from one token table that marks the fields the settle decides, so a pending verdict and its docs name that set instead of listing it, LandingStatus::MainDiverged, BranchCleanup::NotAttempted, the always-true main_fast_forwarded and the test-only landed() are removed with their docs and test rows, the block-order test asserts a count and the shout prefix instead of heading prose, ensure_salt falls back to a create-new write when the filesystem cannot hard link so a salt is still written, the settle log name has a helper beside the handoff and outcome ones, emphasis markers and ticket ids leave the orchestrator test docs and the ADR 0036 0055 0065 0106 text, the Harbor entry drops to three sentences, and the Gate::builds, pin_disk_tree, approval_ask and FakeForge texts are made true; no test was red without it since this is dead code and wording, and the full suite is green at 2260 passed, 0 failed, 6 ignored (yrswnpuv, mrxnznwl, mlrvwxpq) 1231cccd · dbf3dbe6…diff
  • one lease lock in loot-core, loot_core::lease, now takes, beats and breaks the store, op-log and pack locks, the harbor lock with the pr-map ledger and settle claim it guards, and the seek busy marker claim, with the stale horizon and the clock as inputs, a wall clock and a test clock; the harbor no longer breaks a silent lock by sampling, sleeping and removing it but under the kernel breaker lock, keeping its stale/4 watch, and the lock names, contents and take are unchanged, so an old and a new binary still exclude each other, checked by running the v0.4.34 lock code and the lane lock code as separate processes on one lock with no overlap in mixed live runs, 40 crashed-lock races per store lock kind, 10 harbor races, 40 s beaten holds and a handover each way; the many-breakers stress test is now a deterministic interleaving on the test clock that runs a second breaker whole at each pause point, red 3 of 3 runs with the breaker dropped (0 passed, 1 failed) and 3 of 3 with no second judgment under it (0 passed, 1 failed); ticket.rs holds no lock, its create-new write only refuses to overwrite; the suite is green (2260 passed, 0 failed) (wttrstzz) d2ad70b6 · dbf3dbe6…diff
  • a land that runs a gate holds a turn at origin, gates once under it, and a refused land leaves a lane the same command lands (ADR 0121): a queue of refs on origin, refs/loot/turn/<seq>-<expires>-<holder> behind a counter moved by one atomic push, orders the lands of every machine, so a land whose gate is slow is not overtaken while it runs; land takes its place before its first gate program and, with main ahead, runs the slow gates once over the merged tree; a land that looks every gate up reads the queue before its push and yields to a turn another holds; a tree that is landed main to a program gate, differing only in ticket files and perf points, runs no gate program, writes no perf point and takes no turn; review, prove and land refresh the lane hold from the shared keyring, pull grants in the primary themselves and go round again when a pass refuses over keys at the seam; a head that a signed version supersedes is recorded abandoned at the finalize, which ends the second live version a land refused after its converge left for the next process; a test that fails in the suite runs once more alone and a gate that refuses beside the suite once more in turn, each a sighting on the verdict and in land-timings; loot-first turn lists the queue and holds it for a deploy; the divergence test went red at two live versions and the five others red with their fix disabled (0 passed, 5 failed); cargo test -p loot-cli -p loot-first 594 and 191 passed; real processes on two primaries: the slow lane landed 101 s after it started with seven fast lands around it, where the binary before this refused it after its gate over 18 unopened paths (lzywwsou, uzunnnso, pkttwmns, slutovyy) 9d9823f3 · dbf3dbe6…diff

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.