connor / loot

connor/loot

Changes touching this path

  • the adr 0004 guard stops being a claim about a struct and becomes a question asked of the repo on disk: the pin it left asserts that no field of SealedObject is a function of plaintext, which stays green over a store that has the deleted digest back beside the struct, and that is measured rather than argued, since with DagRepo::put appending blake3 of the plaintext to a file in .loot the pin reports 1 passed and 0 failed while the new census reports 4 passed and 2 failed. plaintext_equality_census records two worlds through the same verbs, one with two paths holding the same bytes and one with them holding different bytes of the same length, builds each world four times, and refuses a persisted difference its readings can see between them: structure cancels because both worlds record the same tree, randomness is filtered by keeping only what every build of a world agrees on, and the wall clock is blanked by value, because adr 0043 stamps a second per version and a gap between two builds read red on that second alone. it walks the repo root rather than a named place, so relocation is the thing it is aimed at, and it is a lower bound and not a proof: a token shorter than its window, an index encrypted per build, and any write path the fixture does not run (a push, a pack, the mirror, the forge and the wire) are outside what it has looked at, which the new adr 0004 amendment states before a reader meets either guard. three oracles are planted as standing controls, one per reading, each the shape of a proposal that has actually been made. red under mutation, counts read each time: the sidecar planted in DagRepo::put (the census 4 passed and 2 failed, the struct pin 1 passed and 0 failed beside it), the value reading removed (5 passed and 1 failed), the shape reading stripped of its lengths (5 passed and 1 failed), the repetition reading removed (5 passed and 1 failed), the walk stopped from recursing (2 passed and 4 failed) and the two worlds made identical (3 passed and 3 failed). adr 0086 gains a pointer where it records the proposal this gap would have waved through, and CONTEXT.md says what the new reading reaches. no migration, no wire or format byte moves and no host behaviour moves, so this owes no deploy. the workspace suite is green (4092 passed over 131 binaries, 8 ignored) (#1894) 327f63f8 · dbf3dbe6…
  • the stale narrowing moves to the enum that defines the set, and the plaintext census stops asking its constants what the store holds: pinned.rs still said the opener refuses a directory git cannot name a revision for, which is the vocabulary of the round before #637 gave that door a loot arm, and #1895 had just pointed the corrected loot-perf-cli header at this paragraph as its argument, so the module header now names no arm and sends the reader to Names, the door doc says what the accepted set widens with, and the struct doc and the refusal beside it follow. the binary header stops calling the door the only constructor of the type a measurement is taken against, a claim about a set the module can grow with one function and nothing derived behind it, and states privacy instead, which the compiler holds: the fields are private to pinned, so a value cannot be made out there at all. the census clock window opened at the first redaction, which runs after the fixture has built every repo, so the seconds it redacts sat below the lower edge and only the slack held them in; it now opens at the span the fixture records itself writing in, frozen once so both worlds redact through one window, and the slack is stated as paying for skew between two clock reads rather than for build time. the same census read green over a fixture whose varied path never reached the store, every planted control still catching its oracle because an oracle is planted from the recorded constants; the premise is read back per build through the repo door now and compared on the bytes that come out. the keypair archive record stops making a later second part of why a re-run works, since ts is a whole second and the put-back frees the tag, so a re-run inside the refused second takes that tag back, which is what the test exercises now; the branch where the put-back is itself refused stays unexercised and that deviation is recorded at the code with what makes it unreachable from a fixture. adr 0066 stops answering how many today with the figures in one block, because the verb-line figure the census holds stands outside it, and says instead that what decides is surviving the cut. red under mutation, counts read each time: the fixture slowed by seventy seconds between the worlds under the old window (census 4 passed and 2 failed, the value rows naming one unix second against eight redaction bytes), the window start taken at the reading again (6 passed and 1 failed), the capture stopped from recording the varied path before the new reading existed (6 passed and 0 failed, every control green) and after it (6 passed and 1 failed, naming b.txt), the put-back removed (loot-identity 48 passed and 1 failed), the suffix search started past the refused tag (46 passed and 3 failed, the resume test naming rotated-7-2), and the amendment date requirement removed, re-measured on the landed tree (loot-cli bin 0 passed and 1 failed, naming line 15 and 111 lines where the landed record says 103, that document being 952 lines before this land and not 953). no migration, no wire or format byte moves and no host behaviour moves, so this owes no deploy. the workspace suite is green (4093 passed over 132 binaries, 8 ignored) (#2179) 19bc2ec4 · dbf3dbe6…diff
  • adr 0004 is now asked of what a repo encodes to send as well as of what it persists: plaintext_equality_census gains a wire half, which keeps per build the payloads its sent function has the fixture repo encode through the public Workspace doors loot bundle and loot push call (the full bundle, the /stow batches a push to an empty host sends, closed at one object a batch so the first-batch delta framing runs, and the /ingest payload around the metadata-only declaration bundle), and takes the same value, shape and repetition readings over them between the equal and distinct worlds; nothing was exported for it, since the ticket premise that a bundle is unreachable from the test crate was wrong. a premise test opens every object the payloads carry with the key riding beside it and holds each world to the plaintexts it records, a moving-bytes control refuses payloads that never change between builds, and three oracles are planted on the wire: the deleted identity_hash itself, an address-only grouping and a per-build-salted digest. the wire is clean: nothing plaintext-derived was found. the repetition reading, shared with the store half, now counts occurrences of repeated windows rather than distinct ones, because the payloads repeat content and a chance collision merged two repeated windows and lowered the count the minimum keeps: at the distinct count the wire half read red in 4 of 25 runs, at the occurrence count 60 of 60 green. red under mutation, counts read each time: the bundle producer appending a domain-separated blake3 of each carried plaintext (census 11 passed and 2 failed, while engine bundle_carries_no_plaintext_equality_oracle reports 1 passed and 0 failed beside it), sent building nothing (8 and 5), the push batches carrying no object (12 and 1), the value reading removed (11 and 2), the shape reading removed (11 and 2), the repetition reading removed (11 and 2), each restored to green. the forge question is answered in the new adr 0004 amendment: /stow and /ingest decode the same Frame and /ingest takes encode_ingest_payload, so a forge input is what the wire half reads, while what a forge or relay keeps of it is its own store and is not asked; the engine pin doc scopes it to the one value it searches for, and CONTEXT.md names the wire half. no migration, no format byte, no wire byte and no published wording moves, so this owes no deploy. the workspace suite is green (4351 passed over 138 binaries, 12 ignored) (#2172) b98809ca · dbf3dbe6…diff
  • the review-sweep fix-up over #2303, #2159 and #2172. the wake-up sender: its client is built with no_proxy, so a proxy named in the environment is not used, pinned in a test binary of its own that sets the proxy variables and sees the request reach the pinned address and not the proxy; refused_wake_address now refuses every address that is not globally routable unicast, an ipv6 address carrying an ipv4 one (mapped, compatible, nat64 64:ff9b::/96, 6to4) judged by the one it carries, so 64:ff9b::a9fe:a9fe is refused, with the refused blocks copied from the iana special-purpose registries at the code and a table of example addresses pinning the rule; name resolution runs on a thread waited on for at most WAKE_TIMEOUT_SECS with the request given what is left, and the wake-ups in flight are bounded by MAX_WAKES_IN_FLIGHT, a resolver that outlives its wait keeping its place until it returns. the ingest kinds trailer is now a byte per head in head order, still absent when no head declares a kind, so each head is given jobs for its own kinds only and no job is made for a kind a head has no step of; the pre-2159 decoder still reads the new payload, the one-byte union shape was in no release, and neither format constant moves, pinned against the marker put_version writes rather than its digits. MetadataStore::ingest answers the jobs its commit wrote (store::Ingested) and a push wakes runners for those alone, so a triple a racing request filed first wakes nobody here; the proposal job half answers no error once the proposal is committed and logs instead. the job_cost no-kind pin now states the property, that the job half calls the store for nothing when nothing is declared, instead of a list of methods. the seek busy marker: one that does not parse is believed until its mtime is past the window, so the instant between its creation and its clock no longer admits two holders, and a marker that cannot be created for a reason other than one standing there is retried and then refused naming the state rather than counted as held; the held-marker comment is scoped to a round that claimed it. the census wire half plants each oracle into every payload sent builds and asks each payload for moving bytes, calls the now-public verbs::sync::forge_declaration instead of a copy, records that the fixture declares no kinds, and records the measured flake rate of its minimum reading (200 runs: 40 of 1600 store builds and 15 of 1600 wire builds above the floor, none red). false sentences fixed: jobs.rs says what a false proposal declaration costs the owner and what the trust floor does and does not stop, ADR 0091 section 7 and its 2159 amendment are corrected with a 2307 amendment and the reads-not-writes scope of the job cost measurement, ADR 0090 and ADR 0004 gain corrections, CONTEXT.md names the per-head trailer, the census module doc states the property instead of naming places, and an in_progress rewrap leftover is rewrapped. red under mutation, counts read each time, each restored to green: no_proxy dropped (0 passed and 1 failed), the 2159 refusal rule restored (2 and 2), embedded forms unrecognised (3 and 1), 6to4 unrecognised (3 and 1), the resolver thread not holding its place (0 and 1), the ceiling ignored (0 and 1), the resolve wait unbounded (0 and 1), the trailer encoding the union (25 and 2), the forge unioning kinds across heads (1 and 3), the memory ingest answering every handed job (4 and 2), the push waking for planned jobs (5 and 1), the proposal refusing after a failed job write (3 and 2), the job half reading with nothing declared (3 and 1), an unparseable marker read as idle (1 and 1), a failed create counted as held (1 and 1), the census reading the bundle alone (9 and 4), every payload a copy of the bundle (10 and 3), the ingest payload emptied (11 and 2). no migration, no format byte and no published wording moves; the forge binary changes, so the sender and per-head jobs are live once the forge is redeployed. the workspace suite is green (4360 passed over 138 binaries, 12 ignored), and green under bash ci/local.sh against Postgres 18 (#2307) 665b3cec · dbf3dbe6…diff
  • a push now carries an attestation recorded over a change the remote already holds, so loot tag after loot push reaches a relay and a forge instead of being left behind under a success line: a local attestation ledger (.loot/attestation-ledger) records per remote what each push delivered and is read by a push and by no open or save, written by RepoStore::record_attestations_sent as a read-merge-write under the shared-store lock; the push sends the attestations over the held changes of the remote that the ledger has not recorded beside the send set and prints how many, the bundle builder keeps a late attestation only over a change inside the have closure of the recipient whoever handed it in, the forge /ingest keeps one over any change its repo holds through a new changes_held store read that costs no query when every attestation rides its change, and /info gains an additive late_attestations field so a forge that does not advertise it is sent none, has nothing recorded as sent, and the push warns how many it left behind. the land gate store_file_reads is 24 on its workload with no move, where a first cut that read the ledger on every open measured 26 and was refused; an open reads 20 store files, 21 with that cut. the #48 bound holds on the wire: a push carrying one late tag sent 256 B at a relay and 306 B at a forge over both 2 and 24 held tags. the ticket recipe, whose fresh clone lacked late-tag2 through the 0.4.24 binary, shows it through a lane build. red under mutation, counts read each time, each restored green: the open reading the ledger again (0 passed and 1 failed), the ledger write overwriting instead of merging (0 and 1), the ledger ignored (0 and 2), the late lane dropped (0 and 2), the privacy filter removed (1 and 1), the forge back to in-this-bundle (2 and 1, and end to end 1 and 1), the forge keeping any change (2 and 1), a relay push recording nothing (0 and 2), a push recording to a forge that does not keep them (1 and 1), the /info flag ignored (1 and 1). no format constant, codec byte or migration moves; the forge change is live once the forge is redeployed. the pull half is not built: a pull still carries an attestation only with a change it sends. the workspace suite is green under bash ci/local.sh against Postgres 18 (4425 passed over 139 binaries, 13 ignored; site live suites 7 files passed) (#2251) 414ba6b2 · dbf3dbe6…diff
  • test scratch directories are named by one shared helper, common::scratch, from the process id and a per-process counter rather than the clock, so two tests asking for one tag at once are no longer handed one directory that the second caller empties and refills (the #2258 mechanism): 19 test files under crates/*/tests named a temp_dir path from SystemTime nanoseconds in 21 statements and now call fresh_dir or fresh_path, loot-cli files reaching it through mod common and loot-first exit_codes compiling the same std-only file by path, and revset_everywhere and plaintext_equality_census, which already counted, call it too. scratch_dirs.rs holds the #2258 pin, moved from revset_everywhere and aimed at the shared helper, red under the clock naming in 13 runs of 13 (0 passed and 1 failed, 1 to 16 of 400 directories handed twice), and a guard that walks every .rs file under crates/*/tests and refuses a temp_dir statement that reads the clock, red over the unconverted tree naming the 19 files (1 passed and 1 failed), red with buoy_exit put back (1 and 1) and red when the walk finds nothing (0 and 1), each restored green. no other test changes what it asserts. the workspace suite is green (4533 passed over 140 binaries, 13 ignored, from 4532 over 139: the guard is new and the pin moved into its own binary). test-only, so it owes no deploy (#2358) 6dd1e05b · dbf3dbe6…diff
  • a first push of a history whose change nodes pass the body cap reaches an empty forge: a forge push sends its object batches, then the change delta in batches of changes alone within the batch budget, parents first, and /ingest carries the last batch beside the key lane and attestations of the whole delta (DagRepo::bundle_stow_batched and DagRepo::bundle_declaration), where the first /stow batch carried every change past have with its whole manifest and /ingest carried them again, the budget counting object ciphertext alone; a change naming an address the push cannot send ends the stowed lane, so /ingest still refuses it rather than a forge taking its child; a forge that keeps an attestation only with its change is not recorded as keeping one over a stowed change; a push with nothing to stow asks the format gate before /ingest. no forge code changes, and a relay push is unchanged. read over a proxy refusing a body past a 128 KiB cap: 61 changes, 192775 B on one body before, now 16 /stow requests and one /ingest, the largest body 15260 B. pinned: a_first_push_of_a_history_past_the_body_cap_reaches_an_empty_forge, a_first_push_interrupted_between_its_change_batches_is_finished_by_the_next, an_older_forge_is_not_recorded_as_keeping_an_attestation_over_a_stowed_change, a_forge_push_batches_its_change_lane_after_its_objects_and_its_parents and a_change_naming_an_address_the_push_cannot_send_rides_the_declaration; red under named mutations, each restored: the old shape at the forge (3 failed and 0 passed over the three sync pins), the change lane unbounded (3 and 0, and the batching pin failed), the declaration keeping the stowed changes (1 failed and 2 passed, and the batching pin failed), the change batches reversed (1 and 2, and the batching pin failed), the stowed changes cut from the key lane and attestations (1 and 2, and the batching pin failed), the older forge recorded as keeping them (1 and 2), and no cut (1 failed and 1 passed over the two engine pins). cargo test green, 4977 passed over 145 test result lines with 15 ignored, and the perf gate dry run reads no move. owes no forge deploy (kqzkruyv) 61e49854 · dbf3dbe6…diff
  • a forge push asks the forge about the addresses its changes name that this position does not hold, beside its offer, and refuses before any /stow, naming them, when the forge lacks one (DagRepo::offered_and_unheld), where such an address ended the stowed change lane and the rest of the history rode one /ingest past the body cap; an object whose first change another author wrote rides a /stow batch of its own beside that change, so the forge files that author as its introducer, who may burn it, where every object rode a change-less batch and was filed as the pusher; the forge /stow report carries its deferred count and the push stops before /ingest on a batch that defers more changes than it was built to (StowBatches::defers); an attestation over a stowed change rides the declaration as a late one, so a forge that keeps one only with its change is not sent it and the push counts it left behind; the forge push takes its membership from the offer, so a push of one change walks no wants index, and a delta of one change is not measured for batching; the perf gate negotiation workload builds the forge push of its tip, so that work is in the gated counters, object_gets 743 to 793 and graph_sorts 8 to 11 on the dry run; docs say the declaration is bounded in its change lane alone and carries the purge lane again, and the b4dbf2d note says CatchUpBlockers::is_empty asks CaptureRefusals::is_empty. read through a proxy refusing a body past a 128 KiB cap: a history naming a lost object sent /wants and nothing after it, and one naming a restricted object the forge holds went up in 16 /stow requests, the largest body 15775 B, where its /ingest had been refused with a 413. pinned: a_history_naming_a_lost_object_is_refused_before_any_stow, a_history_naming_a_restricted_object_the_forge_holds_still_batches, a_stow_batch_the_forge_defers_a_change_on_stops_the_push, an_address_this_position_cannot_send_is_named_beside_the_offer_and_cuts_no_lane, another_authors_objects_ride_beside_that_authors_change, a_one_change_forge_push_sorts_the_graph_once, a_push_of_another_authors_change_leaves_that_author_the_introducer, and the left-behind count in an_older_forge_is_not_recorded_as_keeping_an_attestation_over_a_stowed_change; red under named mutations, each restored: the cut put back (1 failed and 3 passed over the four engine pins, and 1 failed and 5 passed over the six sync pins, the restricted one on a 413), no refusal of a lacking address (1 and 5 over the sync pins), a refusal of any unheld address (1 and 5), the offer walk naming no unheld address (1 and 3, and 2 and 4), no attribution batches (1 and 3, and the forge pin failed on the introducer), attribution batches built to cause no deferral (1 and 3, and the forge pin failed), no deferral check (1 and 5), the forge reporting no deferred count (1 and 5), stowed changes not owed late (2 and 4), and the wants index walked again (1 and 3, graph_sorts 2). cargo test green, 4990 passed over 144 test result lines with 15 ignored. owes a forge deploy for the deferred count, which a forge without it leaves unchecked; the introducer fix is client side and owes none (opywoozo) Perf-Baseline: reset the negotiation workload now builds the forge push a land makes, so its reads and sorts join the gated work counters (opywoozo) 9e4e77c8 · dbf3dbe6…diff
  • a forge push computes one push plan, the have closure, the delta in topological order and the store answer for each address the delta names, which the offer, the /stow batches and the declaration key lane read, and partition_wants records the answer for each want it gets so the object batches and the first relay bundle read it instead of getting the want again; a forge push of the tip on the gated negotiation fixture went from 50 object_gets and 3 graph_sorts to 24 and 2, moving object_gets 793 to 767 and graph_sorts 9 to 8 with object_disk_reads at 200 and every artifact counter unchanged; the declaration still sorts and expands its own have, since a push re-reads the forge heads before it declares; the key lane test now also builds a forge push object batch and declaration and goes red (0 passed, 1 failed) when the declaration reads a planned address as unembargoed, and the suite is green (qsnyppvr) Perf-Baseline: reset object_gets 793 to 767 and graph_sorts 9 to 8, a forge push plans its delta once (qsnyppvr) fd8f7831 · dbf3dbe6…diff
  • files the two amend edges xysopyyo left open: a non-root amend gates its capture against its parent tree rather than the version it replaces (vzuzpspr), and loot edit of a root change on a pinned position loses the pin (vlsmounz) 4d1ef5fb · dbf3dbe6…diff
  • restore the 71 files 430a057a reverted to 385bcb40's bytes: a tickets-only land (vzuzpspr, vlsmounz) recorded stale copies in the Mac primary, which held the desktop's newer versions sealed with keys it had not pulled, and a loot fetch there had left the disk behind loot's view; the keys are pulled now, the lane equals 385bcb40 outside tickets/ but for that land's benchmark entry, and mmzxtyyt records the mechanism Perf-Baseline: reset 430a057a's baseline measured the reverted code; restoring 385bcb40's brings object_gets, store_file_reads and graph_sorts back down 7806746e · dbf3dbe6…diff
  • a .lootattributes that is not UTF-8, such as the UTF-16 Windows PowerShell 5.1 writes with >, is now a malformed rule naming its encoding at the disk load, the ferry ingest and the recorded-tree vet, so loot new and a ferry ingest of a self-authored commit refuse instead of signing plan.txt internal with exit 0, and a line opening with a byte-order mark, which made the first rule match nothing, is malformed too; the unreadable recorded rules refusals carry the code unreadable_attrs, which the SDK classes as a guard error and the tests assert, and ADR 0038 states the costs of passing over a signed parent rules file and an unsigned ingested parent, and its wrap is fixed; the new cases went red without the fix (0 passed, 2 failed), again with the disk load reading text (1 passed, 1 failed), with the ferry reading text (1 passed, 1 failed) and with the byte-order mark unrecorded (1 passed, 1 failed), the code assertions went red without the code (0 passed, 3 failed), the gated counters do not move, the SDK typecheck passes, and the suite is green at 2103 passed (ymmvvvxq) 9d623289 · dbf3dbe6…diff
  • a push plans its stow batches and builds each bundle only as it sends it, so a cold push holds the bundle in flight and not every bundle: a 549 MB fixture store pushed to a loopback relay peaked at 609 MB RSS where it peaked at 1182 MB, the relay stores byte-identical, a new through-push pin goes red with 0 passed 1 failed when the last batch is skipped, and the full suite is green at 2232 passed 0 failed (mvxyptlk) ab967228 · dbf3dbe6…diff
  • the integration tests of loot-cli, loot-core, loot-net, loot-first and the database-free half of loot-forge link as one test binary each (tests/all.rs declaring the files in place, autotests = false, and emit_snapshot, wake_proxy, oplog_record_cost and the live-database forge files kept as binaries of their own because they set environment variables, install a global allocator or share a Postgres cluster), so the integration-test binaries drop from 82 to 25 and the test executables from 107 to 50 with every test kept (the same 389 integration tests by name and 2231 passed, 6 ignored, now 2232 with the new guard), a touch of loot-core then relinks 41 binaries instead of 98 in about 6 s against about 12 s on the Mac and the gate-style run of the units takes about 18 s against 19 to 37 s under load 20 and more; the site gate type-checks through tools/typecheck.mjs, one incremental tsc -p per referenced project beside the others with its build info in node_modules/.cache/tsc keyed on file content, taking the step from 7.8 s to 1.2 s on a repeat pass, and runs build:wasm through tools/build-wasm.mjs, which skips wasm-pack while src/wasm carries a stamp of the cargo-metadata closure of loot-wasm, the lockfile, the toolchain pin and the output hash, taking it from 1.1 s to 0.14 s, so a repeat site gate runs in about 9.8 s against about 16.6 s (medians of 4 interleaved runs, a cold pass unchanged within noise); orchestrator.rs is untouched because the gate is still npm run gate; test_files_run in loot-first fails the suite for a tests/*.rs that no binary builds, red with a stray file in loot-net (0 passed, 1 failed), typecheck.test.ts pins that a cached failure, an old-timed edit and an unreadable cache never turn a failing project green, red with a failure forgiven when a cache exists (1 failed), and build-wasm.test.ts pins what refuses the skip, red with the dependency closure dropped (7 passed, 1 failed) and with the output hash dropped (7 passed, 1 failed); the suite is green at 2232 passed in cargo test and 357 passed in the site gate (pvqwkyso) 572b273c · dbf3dbe6…diff
  • the position stat cache is outside ADR 0004 line (ADR 0086 gains a section 6, ADR 0004 and CONTEXT.md point to it): loot burn now drops the burned path rows from the stat cache of the primary and every registered lane, keeping the other rows, passing over a lane whose directory is gone and removing whole a cache it cannot rewrite, which went red with the scrub dropped, with lanes skipped, with every row dropped and with an unparseable cache kept (0 passed, 1 failed each); plaintext_equality_census exempts .loot/stat-cache by name and its fixture runs status, red without the exemption and red with the cache bytes copied into forge-view (11 passed, 2 failed each); describe and new write their own position stat cache rows under the racily clean rule, so over L lanes of 40 files captured only by describe, lane_statuses cache shape went from (0, 80) and (0, 160) at L 2 and 4 to (80, 0) and (160, 0), with object disk reads at 0 and tree walks at L before and after; the suite is green at 2269 passed, 0 failed, 6 ignored (pssunvrm) 4542ebb8 · 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.