connor / loot

connor/loot

Changes touching this path

  • an offer-corpus harness measures loot's own history, where a delta-scoped offer already carries the whole tip tree (#803) 8139603c · dbf3dbe6…
  • the change graph gets one read view, and the two forwarding bands over it retire (#868) 826c3339 · dbf3dbe6…diff
  • loot-forge, loot-net, loot-first, loot-perf, loot-relayd, loot-relay-contract, loot-s3 and loot-bench production comments cut by 70% to the docs/agents/writing.md standard: history, ticket numbers, rosters and ADR retellings removed, wire contracts, security and safety reasoning kept; comment-only, Rust token streams identical, test modules untouched (yrkykmsn) a94b3d35 · 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
  • an /offer leaves out the addresses a tree of a held tip of the have names, ADR 0021: DagRepo::offered_objects, the relay answer, and serve::offered_objects, the forge answer through referenced_by_versions over held_tips, drop them, since a client asks for the unheld unburned addresses of its own trees whether offered or not, so its wants do not change, and a push still offers every address its changes name through push_plan; over this history the /offer of a 100-change catch-up went from 11,025 addresses and 352,802 bytes to 1,283 and 41,058, and of a one-change catch-up from 10,350 and 331,202 to 3 and 98, while the gated offer_addresses_delta1 fell from 24 to 1 and offer_addresses and offer_bytes, asked of a peer declaring nothing, stay at 119 and 3810; perf only, so it owed no kept test, and the perf harness tests of its fixtures go; cargo test 2591 passed and ci/local.sh green (zuuoyuyq) Perf-Baseline: reset an /offer to a catch-up leaves out what the client's held tips already name, so offer_addresses_delta1 falls from 24 to 1 by design 6eec1203 · dbf3dbe6…diff
  • an /offer leaves out the addresses the trees of the held tips of the have name only for a client that says it holds every version its have names, ADR 0021: /offer gains a trailing holding byte (loot_net::encode_offer, decode_offer) the CLI sends only when Workspace::holds_every says so, the test fetch_declared already used, and only to a relay or forge whose /info says the new offer_holding, so an older host gets the plain body and an older client the whole offer; DagRepo::offered_objects is the whole answer again, DagRepo::offered_to_holder and serve::offered_objects under holding the narrowed one, since a shallow position declares dangling parents whose trees it never asks about, and a pull from a second source holding such a parent left out the addresses its tree shares with a sibling, which arrived short with a false withheld-by-the-server note until a second pull; the new pin, a position cut one deep fetching a sibling of its dangling parent from a second relay and from a second forge, went red on both before the fix (0 passed 1 failed each) and again with the client always saying holding and with either host narrowing whatever the client says (0 passed 1 failed each), and the /offer codec pin keeps the plain body byte-identical; over this history a complete position still takes a 100-change catch-up offer of 1,268 addresses and 40,578 bytes where the whole one is 11,036 and 353,154, and a one-change one of 6 and 194, while offer_addresses_delta1 stays at 1 and the gate reads no move; ADR 0021, the offered_objects docs, the negotiation() doc and the CONTEXT.md Delta frame stamp sentence, which missed chunked bundles at 16, say what the code does; cargo test 2592 passed and ci/local.sh green (lsqxxslu) 90df54cb · 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.