connor / loot

connor/loot

Changes touching this path

  • connectForge, the SDK's forge backend (ADR 0112 §5): reads follow the forge's one head over signed bounded fetches, refusing several heads by name, after applying the session's own standing self-grants from the mailbox, and a pending edit reads as itself; push builds in the WASM core's new change.rs against the head read before the edits, sealing each path by the head's .lootattributes (no visibility from the caller, publishing only on allowReveal, relative one-line paths), stows, deposits self-grants and ingests through the settling loop lifted from publishTicket into ingest.ts, a moved head refusing as ConflictError before anything is sent and a 401 or 403 at /ingest as AuthError naming propose(); propose stows the change with its objects, claims it with the .lootpipeline kinds through Identity.proposalClaim, deposits keys to itself and Internal ones to the owner, never calls /ingest, and revises its earlier proposal under the same change id; loot_codec::proposal_wire::encode_claim takes the claim encoder from loot-net, whose bytes are unchanged, and the visibility census names the one new name match; a behaviour suite against loot-forge --dev and the release CLI, red under each of three mutations; SDK 93 of 93; propose end to end owed to urrqturu (nywvmxll) 96baef90 · dbf3dbe6…
  • the SDK connectForge push and propose send deltas: the session asks the forge /info once, and to a forge that says manifest_delta the wasm forge change builder encodes the push ingest and the proposal offer through Frame::encode_over over the head /ref declared, as the browser ticket write already does, and whole frames to any other; the /info read moves into stow.ts beside the chunked_objects one and the ticket write shares it; /fetch still sets no deltas byte, since its readers hold no base outside the body; against a real loot-forge --dev a 40-file head took the push and the offer at the delta major 15 and the CLI cloned the pushed change back, while a transport with no get sent whole frames the forge also took; a refused delta is loud and nothing it sends outlives its detection, so it owed no kept test; ADR 0113 status amended; cargo test 2591 passed, the SDK 123 of 123 with the behaviour suites and the site gate green (qqmkotnk) 144d8dd8 · dbf3dbe6…diff
  • A run step can name a platform: run@linux, run@windows and run@macos are kinds of their own, so a platform step is a job and a pass role of its own, leased only to a runner enrolled for that kind (runner add --can run@windows), while a plain run stays any run runner's, so old runners and pipelines work as before; the grammar change is the kind column alone, a runner refuses a home naming another platform, runner once runs only the claimed kind's steps, pipeline run lists another platform's step as not run, the runner list keeps platform bits out of the byte an older reader refuses and carries whole sets after the rows, and pipeline status adds a platform row only once a pass names it; no schema moves; ADR 0091 §7 amended (oskvnots) 0a2ddd92 · 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.