Changes touching this path
- ADR 0042 + spec: loot's native tracker is a directory of sealed paths in the repo's own tree (#599)
c8fa1b26 ·dbf3dbe6… - ADR 0098 records the decisions on #2411: the web writes tickets as signed changes the browser builds, seals and pushes, one per action and stow-first, and the forge becomes a second writer to main for ticket-only changes, those whose every path is under tickets/ and whose signer is a key on the owner account. the forge refuses an ingest that would drop a head it does not descend from; a land folds ticket-only forge changes in before the gate and fails closed on any other forge-only change; a web write racing a land is folded by the sync as a ticket-only merge with no gate, pinned by a test that no gate input reads tickets/; the CLI reads web tickets through a read-only forge overlay; a web change subject is content-free (ticket <id>: <verb>); and tickets never reach git main or GitHub. docs/specs/loot-tickets.md gains dated amendments: created-at on c/ and r/, event position keyed on the space-stripped path so a move keeps order, loot tickets --state replacing --closed, no new --id, the BOM strip on --body-file -, the web write path, criterion 2 met in dependency waves, and the map #2422 slicing. ADR 0028 gains the ticket-free projection and ADR 0063 the gate-less ticket-only sync fold. CONTEXT.md amends Ticket and gains Second writer, Ticket-only change and Stow-first publish. the doc link, line-ending, hygiene corpus and runbook suites are green (22 passed), and the link gate went red under a broken link in the new ADR (1 failed, 2 passed) and was restored. docs only, no code moves (#2423)
2669a01a ·diffdbf3dbe6… - loot ticket new, loot ticket show and loot tickets ship as slice 1 of the native tracker (spec §12, map #2422): a new ticket module in loot-cli holds the layout (tickets/<id>, tickets/public/<id>, tickets/<group>/<id>, where an 8-letter k-z segment is always an id and never a space), the one file format of header lines, a blank line and a verbatim body, ids of 16 random bytes shown as 8 letters and minted again on a collision with any ticket at the read position, and causal order keyed on the space-stripped path, found by walking the change graph from the read position in descending generation to the change where each key first appeared, with a key only the working tree holds sorting after every recorded one. a read folds the tree at the harbor tip, this position and the working tree, so a lane sees a ticket a sibling landed without adopt and its own uncaptured one. new writes meta, the body and one waits-on edge per --on as plain files in the working tree and prints the id alone on stdout; the body comes only through --body-file, a file or - for stdin, with a leading byte-order mark dropped and CRLF made LF, and --title refuses a tab or a line break. show --json and tickets --porcelain are the spec §7 shapes, recorded in an ADR 0023 amendment; the JSON leads with contract as ADR 0023 has every --json do, the open form and the sealed {contract, id, sealed: true} alike, the spec field list naming the payload after it. a ticket this identity cannot open is an S row, and a field filter keeps it. --restricted-to and --published are left to #2428. red under eleven named mutations over sixteen runs, each 0 passed and 1 failed and restored: position keyed on the spaced path, the harbor tip skipped, a colliding id kept, the byte-order mark kept (once through the binary), a tab allowed in a header, an unopenable meta dropped, an id-shaped segment read as a space, labels folded add-only, a field filter dropping a sealed ticket, and contract left off the sealed form and off the open form. the verb census moves: README 87 verbs, 137 usage lines, ADR 0066 at 87 dispatched and 35 with machine output, MACHINE_OUTPUT, the placeholder census and the site verb list. cargo test green in two runs, 4576 passed with 13 ignored, and the site gate green at 819 passed (#2424)
1a26ff0a ·diffdbf3dbe6… - loot ticket comment, resolve, label, wait, edit and frontier ship as slices 2 and 3 of the native tracker (spec §12, map #2422): each write to a ticket adds one event file under it, c/ with author and created-at, r/ with a one-line gist and a body that are both required, l/ and w/ as add or remove events, or for edit rewrites meta or body and no other file, keeping every meta header it does not set; a write to a ticket this identity cannot open is refused. resolve prints the tickets its closing unblocks, and a second answer is kept beside the first, which stays the answer. frontier <map-id> is the open children with no open waits-on target, in causal order, where a target not filed yet counts as open; --porcelain is the tickets rows and nothing else, recorded in an ADR 0023 amendment, and the human form marks the rows a live lane holds and adds a line with the takeable count and the file opens. the index now counts every file it opens by kind, and the frontier opens each meta, the w/ files of each open child and the l/ files of each row, never a body, comment, attachment or resolution. show of a map renders its prose, then Decisions so far from the first gist of each closed child, then its frontier. the spec, CONTEXT.md and ADR 0066 record what shipped, and the usage line count moves to 143. red under sixteen named mutations, each restored, over the 26 ticket tests (23 passed and 3 failed for the first, 24 and 2 for three, 25 and 1 for the rest): events ordered by name not position, decisions taking the last answer, the frontier folding each child whole, an absent target read as closed, edit dropping unset headers, edit writing an event, a further answer unblocking again, unblocking past other open targets, a comma in a label, a sealed ticket writable, no lane holding a row, the summary in the porcelain, no index under a map, an empty gist, no note for an absent wait target, and a comment with no created-at. cargo test green, 4627 passed over 142 binaries with 13 ignored (#2427)
7d705601 ·diffdbf3dbe6… - loot ticket new --restricted-to and --published, move and attach ship as slices 4 and 5 of the native tracker (spec §12, map #2422): every ticket write is checked against .lootattributes by the rule that matches first before a byte is written, a file under tickets/public/ resolving published, one under tickets/<group>/ restricted and one under tickets/<id>/ not published, and a write it would seal otherwise is refused naming that rule and the line to add; no ticket verb writes .lootattributes, because a restricted= rule names its readers by identity name, so a group name there locks out an author whose identity has another name, and publication stays an act of the operator. a group name is lowercase, is not public and is never 8 letters of k-z. move rewrites every file byte for byte under the new space and prunes the old through disk_entry::prune_unwritten, so its history keeps its order; it refuses a ticket with a file this working tree does not hold, prints that what was published stays world-readable when it leaves public, and asks --allow-demote itself for a move from a group to internal, because the demotion guard compares a path with its own history and a move gives every file a new path, while the publish gate still refuses each newly published file. attach writes one a/ file with the declared name over the bytes and refuses a secret-shaped name in every space unless --allow-reveal. the spec, ADR 0042 and CONTEXT.md record what shipped and the demotion correction, and the usage line count moves to 145. red under thirteen named mutations over the 35 ticket tests, each restored: no tier check (32 passed and 3 failed), only meta checked (34 and 1), an id-shaped group allowed (34 and 1, and 4 and 1 through the binary), no demotion consent (34 and 1), position keyed on the recorded path (33 and 2), no note leaving public (34 and 1), a file only the harbor holds skipped (34 and 1), no attach gate (34 and 1, and 4 and 1 through the binary), internal allowed to publish (34 and 1), public allowed unpublished (34 and 1), restricted accepting any unpublished tier (33 and 2), old files kept (32 and 3), and the move writing internal whatever its target (32 and 3). cargo test green, 4640 passed over 142 binaries with 13 ignored (#2428)
59ee663d ·diffdbf3dbe6… - review sweep 1 fix-up over the native tracker lands #2424, #2427 and #2428 (map #2422): every write to a ticket is refused, naming loot adopt, when landed main holds the ticket in another space than this position reads it in and the fork point of the two does not, so a lane taken before a sibling moved a ticket into a group can no longer write a file sealed as the old space seals; a file in a group must be decided by a restricted= rule whose pattern begins with the group directory, so a broader restricted= rule above the group rule is refused naming both rules, or naming it and the line to add; a move from one group to another asks --allow-demote unless the first rules matching each old and new path are both restricted= and the new names are all among the old, and any pair the rules cannot compare asks too; loot ticket frontier emits an S row for each open ticket this identity cannot open, since its parent is withheld, never takeable and counted apart from the children in the human summary. ADR 0023 records the frontier S rows and the attachment object as shipped with author, the ticket.rs module doc stops saying a write deletes nothing, ADR 0098 status and section 8 and ADR 0028 say what #2425 built, and CONTEXT.md, the spec and ADR 0042 say what is built. red under nine named mutations, each restored: no landed-elsewhere check and no fork-point comparison (0 passed and 1 failed each, through a real land_pass from a sibling lane), no scope test on the restricted rule, no widening consent, source and target compared when the source rule is not restricted, no S row, closed sealed tickets kept, sealed rows counted takeable, and author dropped from the attachment object (37 passed and 1 failed each over the 38 ticket tests). cargo test green, 4644 passed over 143 binaries with 13 ignored (#2454)
4bc5a30a ·diffdbf3dbe6… - loot ticket and loot tickets read the ticket-only changes on the forge that have not landed, as a layer between landed main and this position (ADR 0098 §6, the overlay): forge_view asks the default remote for its heads when it answers as a forge, loads what the shared graph holds and stows the rest in memory through the relay append-only ingest, after which the handle refuses to persist, so no head, pointer or conflict of any position moves and #2390 is untouched; a head is overlaid only when every forge-only change it reaches passes the land judgment and its tree matches its base outside tickets/, and the layer holds only what that line wrote under tickets/. a write reads the ticket it names through the same layer, so a web ticket takes a comment before it lands, and a ticket the forge moved to another space is refused as #2454 refuses one landed main moved. every ticket leaf and loot tickets take --offline; a read says on stderr what it took from the forge or why it read locally (no forge, unreachable, --offline), human rows mark forge tickets, and a forge file this identity cannot open reads as an S row naming loot pull-grants in the primary. the bundles a read fetched are recorded in .loot/forge-view, a new position-owned store artifact excluded from undo, and a read inside forge_view::FRESH_SECS answers from it without asking. ADR 0098, the spec §6 note, CONTEXT.md and the usage lines say so, and the Workspace width census moves to 411. pinned against an in-process forge with a second clone of the identity as the web writer; red under named mutations, each restored: a read persisting what it stowed (0 passed and 1 failed), the persist guard off (0 and 1), --offline ignored (0 and 1), the judgment not read and the tree property off (each 0 and 1 over the judgment pin, and together 0 and 1 over the end-to-end pin, which each alone leaves green since the other still keeps a code write out), the layer ignoring its base (0 and 1), no forge_elsewhere (0 and 1), the record never fresh (0 and 1), a sealed forge file not counted (0 and 1), the layer not folded (0 and 1), and a leaf or the listing without --offline (0 and 1 each). cargo test green, 4707 passed over 143 binaries with 13 ignored. client only, no deploy (#2430)
8ca351c0 ·diffdbf3dbe6… - review sweep 3 fix-up over #2430 and #2431 (map #2422): the browser ticket builder reads the rules and the ticket files a write answers to from the head it builds on instead of taking them from its caller as text, where a stale or forged .lootattributes handed in could publish what the head rules do not. loot-wasm ticket::reads names the objects a write reads on the head (.lootattributes, and the meta of the ticket it writes to with its body for an edit), the caller fetches them by address, and ticket::build opens each itself under the forge key lane or a key the session keyring holds, inflating a compressed one with a host zstd the caller passes (ADR 0040); a file it reads that no key opens refuses the write. an edit carries what the head held at each file it rewrites, and built again on a moved head that holds another version it answers a collision with both versions and builds nothing, while an append rebuilds freely (ADR 0098 §9, the browser half). the SDK publishTicket takes keyFor in place of context, resolves with the collision rather than publishing, reads again when the head moves between /ref and /fetch, and reports a 401 or 403 at /stow as an AuthError through assertStowAccepted. loot-ticket holds space_in, and its comment, resolution, label and wait files check their own values; the wasm lockout refusal is RepoError::Lockout; forge_fold keeps differs_outside_tickets alone. the spec §0 amendment records what #2430 and #2431 added past it, and CONTEXT.md, ADR 0098 and the SDK README say what changed. red under ten named mutations, each restored: unopenable rules read as none (0 passed and 1 failed), rules not read from the head (0 and 1), a copy handed over taken for the head file (0 and 2), meta not read (0 and 1), no collision check (0 and 1), an append compared like an edit (0 and 1), no inflate (12 and 3), a /ref to /fetch race refused (1 failed and 4 skipped in the SDK suite), a rebuild without its base (1 failed and 4 skipped), and a /stow refusal as transport (1 passed and 2 failed). cargo test green, 4728 passed over 144 binaries with 13 ignored, and the SDK gate green with npm test at 153 passed. client only, no deploy (#2479)
4efb1baa ·diffdbf3dbe6… - a web ticket write stows its objects and its change rides the ingest alone, so an attempt whose ingest lost the race never reaches another reader as a change (ADR 0098 §5): the forge files a change a /stow carries into its graph, and an unbounded pull serves every change that graph holds past the history of the caller, so before this a lost race left the attempt on the forge, a later pull merged it with the head, and a clone read the map meta from either side of that merge depending on the run. loot-wasm ticket::build now stows the objects without the change and the /ingest envelope carries it, so a refused write leaves objects no change names, which no pull serves. the forge is untouched, which keeps the unbounded pull that recovers a head a push dropped (#2426) and the stowed stack a proposal holds, and owes no deploy. ADR 0098 §5 is corrected in place, with CONTEXT.md, the tickets spec, the SDK README and the publishTicket doc. pinned natively by a forge_view test, where a fresh clone and a clone from before the race each hold the forge head alone and read its meta, and in the SDK collision behaviour test, where a fresh clone log lacks the attempt and its heads are the racer alone. red under named mutations, each restored: the stow carrying the change again (0 passed and 1 failed natively, 4 passed and 1 failed in the SDK tickets suite) and the ingest without the change (11 passed and 5 failed over forge_view). cargo test green, 4738 passed over 144 binaries with 13 ignored, and the SDK gate green with npm test at 153 passed (#2481)
c9fe9b32 ·diffdbf3dbe6… - the GitHub import, part a of #2433 (map #2422): loot_ticket::import turns a GitHub issue into ticket files, its kind from its wayfinder label, its parent from Child of map #N or (map #N, its waits-on edges from the run after Blocked by less a map edges to its own children, and for a closed issue one resolution whose gist is its title and whose body is the comment nearest the close within an hour. ticket::import_github writes them through the writer loot ticket new writes through, checking every path before writing any, and refuses a position that already holds an import, and the import-github example in loot-cli fetches the issues with gh and runs it, kept out of the verb surface since an import runs once. the files of one import share one position, so an imported id leads with its issue rank by opening and an event name with its rank by GitHub time, and tickets and comments read in GitHub order whether captured or not. this change carries the import itself: all 1355 issues (75 open, 1280 closed; the other numbers up to 2488 are pull requests) as 1355 internal tickets in 5463 files (1355 meta, 1355 body, 675 comments, 1280 resolutions, 488 labels, 310 waits-on edges), with 19 map edges to its own children dropped and 20 closed issues whose resolution says it had no closing comment. read back with the lane-built loot: tickets --state all lists 1356, the 1355 and the test ticket main held, 76 open and 1280 closed; show of map #2422 lists its closed children titles as its decisions; the comments of #1667 and #483 read in GitHub order. loot status in the lane went from 0.44 s to 0.94 s, and a first capture of the same 5463 files in a scratch repo took 0.66 s. spec §1.3, §1.5 and §13 and the CONTEXT.md Ticket entry record migrated-from, github-author, github-closed-as, the ordered leading bytes and the operator decisions. red under named mutations, each restored: ids keeping their drawn lead (3 passed and 1 failed over the import tests, 0 and 1 for the CLI import test), event names keeping theirs (3 and 1, 0 and 1), no closing comment ever found (2 and 2), map edges to own children kept (3 and 1), and a second run not refused (0 and 1). cargo test green, 4749 passed over 145 binaries with 13 ignored, and the site gate green at 863 passed. no deploy owed (#2433)
51f80da3 ·diffdbf3dbe6… - the cutover, part b of #2433 (map #2422, loot zvtrxmmy): loot is the tracker. docs/agents/issue-tracker.md binds the wayfinder operations to loot per spec §11, map a ticket of kind map, child --parent, blocking loot ticket wait --on, frontier one loot ticket frontier call, claim loot lane new --ticket with the bare id as the lane handle, resolve loot ticket resolve with a gist and a body file, and says takeable is the frontier less live lanes, how a ticket write reaches main (in a lane it rides the change of that lane, the primary does not author, the web writes directly), how an old #N finds its ticket through migrated-from, that a subject now cites the bare id, and that GitHub Issues stays as the intake for outside contributors and how an intake issue becomes a ticket. the skills ticket-to-lane and afk-loop (sweep, claim, land, park, the end) with its implementer brief read, claim, comment on and resolve tickets with loot verbs where they used gh, with no assignee since the lane is the claim, and resolve in the lane before review so the close rides the land; the perf hunt, land-change and diagnose-bounce say ticket and id where they said issue and number. workflow.md, concurrent.md, identity.md, AGENTS.md, CONTEXT.md and dated amendments to spec §11 and ADR 0042 say the same. .gitignore gains a root-anchored /tickets/, since an unanchored tickets/ would ignore site/src/components/workbench/views/tickets/, shown in a scratch git repo; loot reads .lootignore alone, loot explain names no ignore line for a ticket file, a probe file under tickets/ still shows in loot status, and a lane-built loot tickets --state all lists 1356 before and after, byte-identical. red under a named mutation, restored: a broken link in issue-tracker.md (doc_links 2 passed and 1 failed). cargo test -p loot-first green, 305 passed. no product code and no deploy owed (#2433)
55f79a85 ·diffdbf3dbe6… - record the operator grill on web move and attach (map ztrnpqko): ADR 0098 gains §11, the decisions of 2026-09-27 with their reasons. a web write publishes only with consent for its exact paths, which the builder refuses a write without; a device may silence the public-write confirmation, the refusal standing underneath and the public badge kept; a move that widens readership always confirms and is never silenced; web attach refuses a secret-shaped name behind a confirm that is never silenced; attachments are capped at 10 MiB in the shared writer; an attachment previews only as a blob: image or escaped text and is otherwise a download of application/octet-stream, since any script on the private origin can recover the seed; and the web filter term frontier becomes unblocked, with frontier:<map> meaning loot ticket frontier <map>. the spec gains dated notes beside §3 (consent), §5.3 (naming) and §6 (the cap, the name check, display), and the CONTEXT.md Frontier entry names the web term. none of it is built: wyllqvzy and vsropolo build it. .lootattributes gains tickets/security/** restricted=connor and tickets/public/** published, below docs/pitch/** and above the rest, and loot explain decides a path in each space by its own line with no rule above it matching, while tickets/<id>/ stays internal. no ticket lives in either space, so nothing is published, and loot tickets --state all lists 1361, every ticket directory. red under a named mutation, restored: a broken link in the ADR (doc_links 2 passed and 1 failed). cargo test -p loot-first green, 305 passed. no code changed and no deploy owed (xqmltwyn)
743caa19 ·diffdbf3dbe6… - web move and attach, and the consent a web write needs (map ztrnpqko): the browser ticket builder takes move, which opens each file of the ticket the head holds outside the new space and seals it again for its path there byte for byte, removing the old path and keeping each file name so the history keeps its order, and attach, the declared name over the bytes. consent is an input per path: publish for each path the change writes that the rules publish, demote for each path a move writes out of a group to internal, to public, or to a group the rules cannot show names no one new, and reveal for an attachment path under a secret-shaped name. a write missing any builds nothing and answers each path and why, and a write built again is handed back the event names its first build drew, so it writes the paths consented to. a move out of a group into public asks demote as well as publish, which the CLI move does not, since a device may silence the publish question. the 10 MiB cap is loot_ticket::ATTACHMENT_CAP in the shared writer, so loot ticket attach refuses the same file, and is_secret_name with its set moved from loot-cli policy.rs to loot_codec::attributes, which builds for wasm32. publishTicketWith resolves a write missing consent as a consent outcome before anything reaches the forge, with the consent that answers it and the write to publish again, and the Tickets view shows it as not taken, saying why, until vsropolo asks. ADR 0098 §11, the spec and CONTEXT.md record it. pinned natively against an in-process forge over rules like this repo, with a Restricted path outside tickets/: a move into tickets/security/ and out into tickets/public/ read in order by a clone, the browser read and a lane, each consent refused and then given, the cap, and an attachment the CLI reads byte for byte. red under named mutations, each restored: publish never asked (5 passed and 2 failed), demote never asked (5 and 2), reveal never asked (6 and 1), no cap (0 and 1 in loot-ticket, 0 and 2 in loot-cli), a move drawing fresh names (0 and 1), a move keeping the old paths (0 and 1), an attachment losing a byte (0 and 1), and in the SDK the consent outcome not surfaced (18 and 2), the names not handed back (19 and 1) and the consent not passed (19 and 1). cargo test green, 4757 passed over 144 binaries with 13 ignored, the SDK suite at 176 passed with a lane release build, and the site gate green at 863 passed. owes a site deploy, and the primary binaries a rebuild (wyllqvzy)
73f4a22a ·diffdbf3dbe6… - the Tickets view asks the consent a web write needs, and moves, attaches and shows attachments (map ztrnpqko): a write the core builds only with consent waits in the pending list while a sheet asks, publish naming each file that becomes world-readable for good beside a per-device do not show this again, which a notice above the view turns back on, demote naming who gains access and reveal refusing a secret-shaped name with an override, neither of which can be silenced, and a silenced device gives publish consent itself once per write; a composer on a public ticket shows a public badge either way. the rail moves a ticket to the spaces the head rules define, read by loot_wasm::ticket::spaces with the rule deciding each, and when they define none but internal it says so with the lines to add. the conversation takes a dropped or picked file, refused over ATTACHMENT_CAP before it is read, and an attachment opens through ticket_read::attachment: an image by its byte signature as a blob: URL in an img, the private CSP img-src widened by blob: alone, text by its declared extension escaped in a pre, and anything else a download of application/octet-stream. the filter term frontier becomes unblocked, frontier:<map> is the map frontier the core read, and a query holding the bare word redirects 301, /tickets/q/frontier to unblocked. ADR 0098 §11, the spec and CONTEXT.md record it. pinned natively (the spaces offered, a lockout group left out, internal alone with the lines to add, the attachment bytes the browser opens) and in the site. red under named mutations, each restored: img-src without blob: (41 passed and 2 failed), a quiet device dropping the demote question (42 and 1), the reveal question silenced (42 and 1), do not show this again beside every question (42 and 1), svg shown as text (42 and 1), an image judged by its name (42 and 1), a download typed text/html (42 and 1), an iframe preview (41 and 2), frontier:<map> read as map:<map> (42 and 1), no redirect (42 and 1), the badge off a public ticket (42 and 1), the internal-only note never shown (42 and 1), a lockout group offered (0 and 1), only the current space offered (0 and 1), the whole a/ file answered as the attachment (0 and 1). cargo test green, 4758 passed over 144 binaries with 13 ignored, the site gate green at 877 passed, and a CSP-enforced headless Chrome load of the built tickets routes with no violation, a blob: image loaded and a foreign image refused. owes a site deploy (vsropolo)
75a3eeb3 ·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…
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.