connor / loot

connor/loot

Changes touching this path

  • 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 · dbf3dbe6…
  • 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 · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • 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 · 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

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.