✔ F1: an ordinary commit after update-ref is refused until step 8; then it commits and the queue stays at C (1297.926202ms)
✔ F1: a plain `commit -e` whose guard ran before update-ref fails at its own HEAD update (1078.206663ms)
ℹ git commit -e: index.lock free during the editor
✔ F1: a `commit -e -- path` whose guard ran before update-ref fails at its own HEAD update (1095.2359ms)
ℹ git commit -e -- src.txt: index.lock held during the editor
✔ F1: step 8 with index.lock held exits 3, and ordinary commits stay refused until the printed command runs (1123.52289ms)
✔ F1: HEAD moving after the step-7 guard check and before update-ref: refused, nothing published (1080.293295ms)
✔ F1: H is recorded before the canary, so HEAD moving during the step-1 canary is refused at step 7 (1272.504519ms)
✔ F1: a queue commit landing after H is recorded: step 1 says HEAD moved, not the guard (1487.358499ms)
✔ F1: a queue commit landing between the HEAD check and the canary: the failed clean run is reported as HEAD moved (1060.96582ms)
✔ F1: a shared-index change during the procedure is not committed (1182.169241ms)
✔ F1: a queue path staged after update-ref: step 8 stops and touches nothing (1095.171779ms)
✔ F1: a missing or a different hook refuses (710.828984ms)
✔ F1: same bytes without the exec bit, a symlinked hook, and core.hooksPath in the local or global scope each refuse before update-ref (1276.53739ms)
✔ F1: the canary refuses a hook that git would not run (699.58617ms)
✔ F1: the guard deactivated after step 1 is refused at the step-7 recheck (1027.79386ms)
✔ bootstrap: implementation-only HEAD, the guard, genesis, the --genesis commit, then an extending commit (866.310238ms)
✔ bootstrap: --genesis with a base present, no base without --genesis, an op before the first commit, a changed map, another branch (923.873583ms)
✔ bootstrap: the archived tests and validator run outside any repository (1029.80026ms)
✔ general: an unrelated staged file stays staged, and the committed blobs are the snapshot bytes (940.019879ms)
✔ general: a queue write after the snapshot is not committed (1248.889648ms)
✔ general: a snapshot whose log does not extend the base refuses (1099.081908ms)
✔ general: install-hook privilege, repair of a same-bytes hook, and its refusals (162.464212ms)
✔ general: environment overrides, a linked worktree and usage (641.634702ms)
✔ general: a queue path staged before the run refuses at step 1 (715.64098ms)
✔ general: HEAD's queue tests failing in the archive refuse (940.14617ms)
✔ genesis document serializes deterministically and replays (5.940484ms)
✔ a hand edit that stays valid JSON fails replay; a formatting-only edit fails re-serialization (3.641442ms)
✔ a tampered result, receipt or viewSha fails replay (3.469013ms)
✔ op ids: 8 to 72 characters for callers, 80 in the log for .outcome entries (0.263999ms)
✔ add: defaults for an ordinary seat, privileged extras, refusals (5.909515ms)
✔ matrix: queued→briefed privileged; briefed→in-progress owner with after satisfied (6.389515ms)
✔ matrix: release, review round, changes requested and waiting-on-jason (13.576083ms)
✔ matrix J5: in-review→done by the gate owner with evidence naming the current round (7.916756ms)
✔ review issue, lead decision 23: none refuses, one is used, several need --issue, later rounds keep it (17.676615ms)
✔ the row schema refuses a round with a null issue, and the A1 review shape (P2) (2.11945ms)
✔ matrix R1: every state × target × actor class matches 8.7, gate owner jason or not, required or not (1333.619384ms)
✔ matrix: blocked keeps the claim and returns only to previousState (4.170338ms)
✔ matrix J4: parking is Jason's, refused while required; unpark returns to queued (2.951516ms)
✔ field edits: who may change what (5.473956ms)
✔ set issues keeps a logged narrowing of closes (N10) (3.247455ms)
✔ text the table shows refuses \ and <, everywhere it enters (N8) (2.108155ms)
✔ every accepted text renders to nine cells on every row (N8) (24.69893ms)
✔ genesis: the map refuses an owner among its row's reviewers; replay doesn't (2026-10-04) (0.521161ms)
✔ times and dates must be calendar values, not just the shape (2026-10-04) (1.691779ms)
✔ replay holds every op id to the caller's rule (N11) (5.601232ms)
✔ note: owner, listed reviewer or privileged; empty clears (1.236459ms)
✔ assign moves the claim with the owner; done clears it (2.541282ms)
✔ render is byte-stable and escapes pipes (0.529404ms)
✔ view classification: current, genuine stale, edited stale marker, changed current body, markers (0.572265ms)
✔ next: resume, then review, then start, then wait, then nothing; lowest id first (18.508424ms)
✔ canonical args make a retry's identity independent of list order (0.346717ms)
✔ manifests, headings and blob ids (0.423163ms)
✔ the migration map: one queue-map block, exact keys (0.55849ms)
✔ every call but `queue` reaches the seat CLI exactly as before A2 (598.740577ms)
✔ `queue` reaches the queue CLI with the rest of the arguments (218.535104ms)
✔ the pre-A2 fixture is the script A2 changed (0.332706ms)
✔ acquire publishes the record by link; release removes only its own lock (11.035557ms)
✔ a kill between the temp write and the link leaves no lock (52.647479ms)
✔ a short or failed temp write refuses and leaves no lock and no temp (11.909793ms)
✔ a link error other than EEXIST refuses (5.875643ms)
✔ an error after the link releases the lock: unreadable gate, failing temp stat (21.485982ms)
✔ a release that fails on a gate path is reported, never a stack trace (P1) (37.883057ms)
✔ a paused holder: another writer waits 10 s, then refuses naming it live (10102.738287ms)
✔ two concurrent unlockers: the second refuses on the gate (46.880426ms)
✔ a writer publishing during an unlock, lock first: unlock sees it live and refuses (21.666683ms)
✔ a writer publishing during an unlock, gate first: the writer releases and refuses (19.715978ms)
✔ a gate swapped while held is left in place and reported, on success and on refusal (N1) (23.208139ms)
✔ a reused pid within one boot is mismatch; unlock removes the lock and never signals the process (12.674972ms)
✔ the same pid and start on a different boot is mismatch (0.499813ms)
✔ a foreign host is unknown whatever the local pid says; unlock refuses (69.409168ms)
✔ unreadable /proc: classification is unknown and acquire refuses (0.709514ms)
✔ invalid records: empty, unparsable, wrong keys, bad start or boot (0.180227ms)
✔ a stale gate blocks writers; --check-gate says mismatch for a reused pid (21.639971ms)
✔ a delayed release by a dead owner, after unlock and a new owner: the inode check keeps the new lock (30.725911ms)
✔ release checks the inode too: a byte-identical lock file with a new inode is left in place (13.320379ms)
✔ unlock refuses a live, unknown or invalid lock, and does nothing without one (49.571274ms)
✔ the migration map validates and renders the golden genesis table (5.215354ms)
✔ the marked QUEUE.md holds every row and parked item between its markers (1.987613ms)
✔ map-check reports each kind of drift (5.043527ms)
✔ a request posts once as the requester; a retry sends nothing (901.277657ms)
✔ each transport answer maps to posted, failed or uncertain (8.9 step 3) (5117.983211ms)
✔ the pre-send checks: GET user must name the requester, under the deadline (1999.938959ms)
✔ the lead's request refuses a token for login sage (1105.886229ms)
✔ the credential file: the seat's own, 0600, no symlink, never the shared default (877.161859ms)
✔ an unresolved request blocks a new request, a new round, waiting-on-jason and done (2308.993585ms)
✔ a same-op retry after a kill sends nothing, even with a stale view (3288.994539ms)
✔ a held lock at the outcome exits 3 and names what the transport said (645.789079ms)
✔ late outcomes: after an abandon, and after a resolve with the same or another id (2435.89931ms)
✔ resolve checks the comment: issue, markers, round, candidate and author (1647.577978ms)
✔ the lead resolves a seat's request: the comment's author is the requester, fetched with the lead's token (770.35505ms)
✔ validateRow checks a request round's shape, which every replayed entry must keep (575.776837ms)
✔ request, changes, a new candidate, approval: every round pinned; no review files (1864.656731ms)
✔ a row with no reviewers opens a round that posts nothing (1531.164768ms)
✔ verify-commit: a prospective tree must hold exactly the candidate's paths (1507.616592ms)
✔ semantics: v1 entries replay as before; review entries need v2 (519.565419ms)
✔ set reviewers refuses the row's owner (2026-09-28) (359.531717ms)
✔ the owner records no verdict, even as a listed reviewer (478.085764ms)
✔ a request comment over the length limit is not sent (546.993689ms)
✔ a late POST on a closed row leaves a conflict nothing can resolve, and resolve asks nothing (792.643564ms)
✔ a Jason-gated row reaches waiting-on-jason only on every reviewer's approval (2557.086645ms)
✔ genesis: refusals before anything is written (406.715325ms)
✔ genesis: the map must be committed, well formed, with committed briefs and seats (663.485658ms)
✔ genesis: markers, a stray witness, once only; a retry returns the receipt (584.072263ms)
✔ genesis: a file holding genesis alone with no witness is confirmed by sync or a retry (425.788643ms)
✔ canonical checks: worktree, second clone, detached HEAD, wrong branch, GIT_DIR, foreign code; a symlink works (656.621928ms)
✔ --by that differs from MOSAIC_AGENT_NAME warns on stderr and logs nothing more (N12) (935.513416ms)
✔ op ids: missing, too long, reserved; a retry answers; another payload refuses (809.537348ms)
✔ a retried add returns the id it first allocated, after reassignment and after done (1129.480007ms)
✔ Rocko's S4 schedule: a lost result, another writer, then the retry opens no second round (1138.430587ms)
✔ the review issue and the evidence round through the CLI (lead decision 23, 8.7) (1435.162831ms)
✔ claims and add defaults through the CLI; candidates are manifests or reachable commits (935.949236ms)
✔ add, set reviewers and assign refuse the row's owner as a reviewer (544.971984ms)
✔ the working-brief check: a changed working copy refuses the start and flags next (685.882412ms)
✔ next: resume first, then nothing for an idle seat; needs a seat (335.647251ms)
✔ view stale: new ops and verify refuse naming the unshown op; retries answer; reads warn; render fixes (698.578437ms)
✔ view unknown: a hand edit, an old marker over an edited body, missing or duplicate markers (1185.528588ms)
✔ a hand edit to queue.json refuses every verb, reads included (608.003889ms)
✔ verify and render --check leave bytes and mtimes unchanged (460.974009ms)
✔ render is byte-stable across runs and repositories (315.585134ms)
✔ snapshot and verify --snapshot (872.741861ms)
✔ usage errors exit 4 (556.259554ms)
✔ a short write, ENOSPC or a file fsync failure: nothing visible, temp removed (316.943678ms)
✔ a rename failure: nothing visible, temp removed (232.902451ms)
✔ a directory fsync failure: uncertain, exit 3, no receipt; the tail refuses new ops; a retry confirms (275.434107ms)
✔ a directory fsync failure, then sync names the op (410.821707ms)
✔ a witness write failure: uncertain, durable, exit 3; the view is untouched (260.776857ms)
✔ the .git fsync after the witness rename fails: uncertain, exit 3, the witness says so (223.790987ms)
✔ confirming a tail fsyncs queue.json and docs/plans before the witness; either failure changes nothing (248.215453ms)
✔ the docs/plans fsync after the view rename fails: the op stands, the view is written, a warning says so (218.141378ms)
✔ a lock swapped while held is left in place and reported, on a receipt and on a refusal (246.422282ms)
✔ a lock that cannot be released after an op is reported, on a receipt and on a refusal (223.593961ms)
✔ unlock prints a swapped gate's warning on stderr, the result on stdout (183.029349ms)
✔ a view write that fails keeps the op and reports a stale view (222.454896ms)
✔ SIGKILL before the rename: nothing recorded; the retry removes the leftover temp (694.664044ms)
✔ SIGKILL after the rename, before the witness: the tail refuses new ops and sync names the op (713.057385ms)
✔ SIGKILL after the witness, before the view: the stale refusal names the op (684.764134ms)
✔ SIGKILL after the view, before the receipt: the retry returns the receipt (779.819264ms)
✔ git checkout between steps 1 and 7: step 7 refuses and nothing is written (490.159703ms)
✔ git stash restoring an older valid pair: history lost; accept-history needs privilege, a reason and --yes (1250.259282ms)
✔ a deleted witness: refused after the locked recheck; accept-history records it absent (414.77974ms)
✔ a header edit during a write: the op stands, the view write is skipped with a warning (256.841736ms)
✔ a reader paused between the witness and the file while a writer finishes: no lost-history report (289.179628ms)
✔ file-then-witness order forced by a hook: the locked recheck prevents a false report (249.200094ms)
✔ a writer paused before and after the witness rename: readers see a tail, then a match (239.189011ms)
✔ a true rollback is reported only after the locked recheck; a held lock names its holder instead (598.983025ms)
✔ an accept-history in progress: an unlocked reader waits on the lock and never reports lost history (606.87954ms)
✔ the platform check refuses other filesystems (161.406303ms)
✔ tmpfs passes only a test layer that allows it (N5) (250.993318ms)
✔ unlock keeps a multi-line lock record on stdout (P3) (224.753838ms)
ℹ tests 148
ℹ suites 0
ℹ pass 148
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 31907.89883
