Cut the check suite's comments to contracts, traps and pointers #107
No reviewers
Labels
No labels
blocked
bug
decision
duplicate
enhancement
help wanted
invalid
landed?
question
ready-to-merge
stale
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
allod/archetypes!107
Loading…
Reference in a new issue
No description provided.
Delete branch "agent/comments-checks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The check suite under
checks/loses 235 comment lines and keeps every contract and trap: the 64-line block inconsumed-file-carve-out.nixand the 49-line block indev-forge-opt-out.nixare now the contract each check pins, the traps that made it necessary, and a pointer to the issue; the allod/archetypes#88 story is cited, not retold; every trap that already has its long form innix.md,testing.mdorarchitecture.mdpoints there. Not one non-comment line moved, and every machine's derivation path is byte-identical to master. Ten checks' derivation paths do move, and only those, for two known reasons: the four shell files underchecks/are copied into the store by path literal, and eleven position words inside the check bodies' own comments were named instead; for each of those ten the witness is the check's own build, and./check.shbuilt all nineteen green on this branch. If it is wrong, revert the three commits; no other repository reads these files.What changed
checks/(outsidefork-fixture/): 1631 to 1396. Position words in comment lines: 79 to 0; history phrasing: 22 to 0 (the one remaining "no longer" inpi-provider-lifecycle/run.shis ordinary English about a live owner, not a history note). Of the 96 ledger entries, each names the wrong edit the block was preventing and what prevents it now.consumed-file-carve-out.nix:10364 lines to 10,dev-forge-opt-out.nix:16449 to 20, each keeping the trap and citing allod/archetypes#21 and #88.agent-vm-status.nix's six-space indentation is kept as a one-sentence trap.testing.md(derivation-name shadowing, one sabotage fixture per validator, a real machine in a fixture) ornix.md(per-check evaluation memory,tryEvalversusabort, indented-string dedenting) are one line plus the topic file's name. No README change was needed: every long block landed on a forge-issue pointer instead.#comment inside the string; the diff hunks are in the ledger's report.host-user-credentials.nixregained "every dev machine", sinceconsumed-file-carve-outsweeps dev machines only; "those three" inpublic-host.nix's header and "the remaining comparisons" instatic-site.nixname their evaluations and comparisons.writing.md(allod/memory#63). Assertion and error message strings that point by position are a code change and are tracked as allod/archetypes#106.Risk
R1. Comment-only: the gate diffs the Nix parse tree (
nix-instantiate --parse, which drops comments) and comment-stripped shell text against master and reports zero non-comment changes for the first commit; for the in-string commit, the diff filtered to changed non-comment lines is empty and every file parses. No machine's derivation moves. The ten checks whose derivation moves were rebuilt from scratch by./check.shand passed. The residual risk is a compressed trap that a reader no longer notices; the cold review asked that question per block, found three, and all three are fixed. Rollback is a straight revert.Validation
non-comment lines changed: 0 (files checked: 20). Second commit:git diff | grep -E '^[+-][^+-]' | grep -vE '^[+-]\s*#'is empty across 8 files, 11 insertions, 11 deletions; all eight parse. Third commit: gate against the second commit reports zero for the three files.nixprocess per item on master and on this branch: 4 machines, 19 checks on template data, 19 checks on the fork fixtures, plusvmFacts,libandnixosModules. All four machines,vmFacts,libandnixosModulesidentical. Exactly ten checks differ, on both data sets:credential-store-url-parity,dev-forge-opt-out,host-user-credentials,memory-traces,pi-integration,pi-provider-lifecycle,site-content,ssh-settings,static-site,vm-facts-coherence. The other nine are identical../check.shon this branch:All 32 steps passed (checks: 19 built)../fork-safety.shwas not run: it is the lock-bump pin witness, and the fork-side derivations move for the same ten checks for the same comment-only reasons.gpt-5.6-terraon codex, high effort), asked per deleted or compressed block what wrong edit it prevented and what prevents it now, with every new pointer verified against the README and the memory topic files: three findings (one compressed sentence that overstated a sweep's coverage, two pointers by position), all confirmed against the source and fixed in the third commit. The transcript shows the diff and ledger reads.Closes allod/archetypes#101
a645cd3088toe97d928317