✔ F1: an ordinary commit after update-ref is refused until step 8; then it commits and the queue stays at C (1090.553334ms)
✔ F1: a plain `commit -e` whose guard ran before update-ref fails at its own HEAD update (860.325971ms)
ℹ 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 (884.776119ms)
ℹ 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 (896.67042ms)
✔ F1: HEAD moving after the step-7 guard check and before update-ref: refused, nothing published (873.322387ms)
✔ F1: H is recorded before the canary, so HEAD moving during the step-1 canary is refused at step 7 (866.540026ms)
✔ F1: a queue commit landing after H is recorded: step 1 says HEAD moved, not the guard (1103.561134ms)
✔ F1: a queue commit landing between the HEAD check and the canary: the failed clean run is reported as HEAD moved (764.046066ms)
✔ F1: a shared-index change during the procedure is not committed (917.183954ms)
✔ F1: a queue path staged after update-ref: step 8 stops and touches nothing (877.261223ms)
✔ F1: a missing or a different hook refuses (592.143837ms)
✔ F1: same bytes without the exec bit, a symlinked hook, and core.hooksPath in the local or global scope each refuse before update-ref (1048.562846ms)
✔ F1: the canary refuses a hook that git would not run (522.720623ms)
✔ F1: the guard deactivated after step 1 is refused at the step-7 recheck (802.088264ms)
✔ bootstrap: implementation-only HEAD, the guard, genesis, the --genesis commit, then an extending commit (744.273778ms)
✔ bootstrap: --genesis with a base present, no base without --genesis, an op before the first commit, a changed map, another branch (775.005557ms)
✔ bootstrap: the archived tests and validator run outside any repository (747.468833ms)
✔ general: an unrelated staged file stays staged, and the committed blobs are the snapshot bytes (740.11411ms)
✔ general: a queue write after the snapshot is not committed (1069.709393ms)
✔ general: a snapshot whose log does not extend the base refuses (817.105266ms)
✔ general: install-hook privilege, repair of a same-bytes hook, and its refusals (150.48406ms)
✔ general: environment overrides, a linked worktree and usage (501.095064ms)
✔ general: a queue path staged before the run refuses at step 1 (535.556604ms)
✔ general: HEAD's queue tests failing in the archive refuse (734.378595ms)
✔ genesis document serializes deterministically and replays (4.481297ms)
✔ a hand edit that stays valid JSON fails replay; a formatting-only edit fails re-serialization (3.381811ms)
✔ a tampered result, receipt or viewSha fails replay (3.033484ms)
✔ op ids: 8 to 72 characters for callers, 80 in the log for .outcome entries (0.233723ms)
✔ add: defaults for an ordinary seat, privileged extras, refusals (5.139632ms)
✔ matrix: queued→briefed privileged; briefed→in-progress owner with after satisfied (5.511441ms)
✔ matrix: release, review round, changes requested and waiting-on-jason (16.685265ms)
✔ matrix J5: in-review→done by the gate owner with evidence naming the current round (7.987129ms)
✔ review issue, lead decision 23: none refuses, one is used, several need --issue, later rounds keep it (21.202422ms)
✔ the row schema refuses a round with a null issue, and the A1 review shape (P2) (2.189077ms)
✔ matrix R1: every state × target × actor class matches 8.7, gate owner jason or not, required or not (1332.867971ms)
✔ matrix: blocked keeps the claim and returns only to previousState (3.432683ms)
✔ matrix J4: parking is Jason's, refused while required; unpark returns to queued (2.520655ms)
✔ field edits: who may change what (4.50944ms)
✔ set issues keeps a logged narrowing of closes (N10) (2.634713ms)
✔ text the table shows refuses \ and <, everywhere it enters (N8) (1.685792ms)
✔ every accepted text renders to nine cells on every row (N8) (24.192119ms)
✔ genesis: the map refuses an owner among its row's reviewers; replay doesn't (2026-10-04) (0.457019ms)
✔ times and dates must be calendar values, not just the shape (2026-10-04) (1.502258ms)
✔ replay holds every op id to the caller's rule (N11) (4.401366ms)
✔ note: owner, listed reviewer or privileged; empty clears (1.041169ms)
✔ assign moves the claim with the owner; done clears it (2.23099ms)
✔ render is byte-stable and escapes pipes (0.448062ms)
✔ view classification: current, genuine stale, edited stale marker, changed current body, markers (0.567204ms)
✔ next: resume, then review, then start, then wait, then nothing; lowest id first (16.201621ms)
✔ canonical args make a retry's identity independent of list order (0.276598ms)
✔ manifests, headings and blob ids (0.392618ms)
✔ the migration map: one queue-map block, exact keys (0.533172ms)
✔ every call but `queue` reaches the seat CLI exactly as before A2 (538.25808ms)
✔ no argument reaches the app entry in packages/cli, and only that call (59.870989ms)
✔ `queue` reaches the queue CLI with the rest of the arguments (173.581047ms)
✔ the pre-A2 fixture is the script A2 changed (0.392074ms)
✔ an old privileged add with no gate owner still replays through loadDoc, and gets jason (5.560386ms)
✔ a non-privileged add gets jason through the replay path and can't name a gate owner (1.724027ms)
✔ the CLI refuses a privileged add without --gate-owner, for jason and sage, and writes nothing (245.968733ms)
✔ the CLI add with --gate-owner carries the named owner and records a log entry (171.071929ms)
✔ the CLI add by a non-privileged seat gets jason and can't name a gate owner (221.668968ms)
✔ a retried sage add recorded with no gate owner answers (already recorded at rev N) and writes nothing (213.423148ms)
✔ acquire publishes the record by link; release removes only its own lock (5.272214ms)
✔ a kill between the temp write and the link leaves no lock (45.395296ms)
✔ a short or failed temp write refuses and leaves no lock and no temp (2.117288ms)
✔ a link error other than EEXIST refuses (1.293046ms)
✔ an error after the link releases the lock: unreadable gate, failing temp stat (3.130021ms)
✔ a release that fails on a gate path is reported, never a stack trace (P1) (4.581331ms)
✔ a paused holder: another writer waits 10 s, then refuses naming it live (10061.178029ms)
✔ two concurrent unlockers: the second refuses on the gate (22.036129ms)
✔ a writer publishing during an unlock, lock first: unlock sees it live and refuses (2.038679ms)
✔ a writer publishing during an unlock, gate first: the writer releases and refuses (1.565591ms)
✔ a gate swapped while held is left in place and reported, on success and on refusal (N1) (1.752657ms)
✔ a reused pid within one boot is mismatch; unlock removes the lock and never signals the process (3.451156ms)
✔ the same pid and start on a different boot is mismatch (0.35772ms)
✔ a foreign host is unknown whatever the local pid says; unlock refuses (49.199743ms)
✔ unreadable /proc: classification is unknown and acquire refuses (0.62585ms)
✔ invalid records: empty, unparsable, wrong keys, bad start or boot (0.184976ms)
✔ a stale gate blocks writers; --check-gate says mismatch for a reused pid (3.056282ms)
✔ a delayed release by a dead owner, after unlock and a new owner: the inode check keeps the new lock (2.161509ms)
✔ release checks the inode too: a byte-identical lock file with a new inode is left in place (0.772776ms)
✔ unlock refuses a live, unknown or invalid lock, and does nothing without one (3.103394ms)
✔ the migration map validates and renders the golden genesis table (4.271646ms)
✔ the marked QUEUE.md holds every row and parked item between its markers (1.188065ms)
✔ map-check reports each kind of drift (3.970755ms)
✔ a request posts once as the requester; a retry sends nothing (565.465841ms)
✔ each transport answer maps to posted, failed or uncertain (8.9 step 3) (2845.819762ms)
✔ the pre-send checks: GET user must name the requester, under the deadline (913.98607ms)
✔ the lead's request refuses a token for login sage (461.560488ms)
✔ the credential file: the seat's own, 0600, no symlink, never the shared default (393.284768ms)
✔ an unresolved request blocks a new request, a new round, waiting-on-jason and done (1288.255875ms)
✔ a same-op retry after a kill sends nothing, even with a stale view (1964.259736ms)
✔ a held lock at the outcome exits 3 and names what the transport said (512.714716ms)
✔ late outcomes: after an abandon, and after a resolve with the same or another id (1287.448954ms)
✔ resolve checks the comment: issue, markers, round, candidate and author (1388.047526ms)
✔ the lead resolves a seat's request: the comment's author is the requester, fetched with the lead's token (446.441073ms)
✔ validateRow checks a request round's shape, which every replayed entry must keep (296.255525ms)
✔ request, changes, a new candidate, approval: every round pinned; no review files (1223.642873ms)
✔ a row with no reviewers opens a round that posts nothing (726.442905ms)
✔ verify-commit: a prospective tree must hold exactly the candidate's paths (1014.079725ms)
✔ semantics: v1 entries replay as before; review entries need v2 (306.404308ms)
✔ set reviewers refuses the row's owner (2026-09-28) (231.292321ms)
✔ the owner records no verdict, even as a listed reviewer (305.927499ms)
✔ a request comment over the length limit is not sent (343.516932ms)
✔ a late POST on a closed row leaves a conflict nothing can resolve, and resolve asks nothing (345.126233ms)
✔ a Jason-gated row reaches waiting-on-jason only on every reviewer's approval (1586.908826ms)
✔ genesis: refusals before anything is written (403.369619ms)
✔ genesis: the map must be committed, well formed, with committed briefs and seats (555.805887ms)
✔ genesis: markers, a stray witness, once only; a retry returns the receipt (432.961703ms)
✔ genesis: a file holding genesis alone with no witness is confirmed by sync or a retry (280.111155ms)
✔ canonical checks: worktree, second clone, detached HEAD, wrong branch, GIT_DIR, foreign code; a symlink works (546.584879ms)
✔ --by that differs from MOSAIC_AGENT_NAME warns on stderr and logs nothing more (N12) (471.616022ms)
✔ op ids: missing, too long, reserved; a retry answers; another payload refuses (558.837829ms)
✔ a retried add returns the id it first allocated, after reassignment and after done (547.201525ms)
✔ Rocko's S4 schedule: a lost result, another writer, then the retry opens no second round (386.543138ms)
✔ the review issue and the evidence round through the CLI (lead decision 23, 8.7) (747.372448ms)
✔ claims and add defaults through the CLI; candidates are manifests or reachable commits (535.943729ms)
✔ add, set reviewers and assign refuse the row's owner as a reviewer (345.91096ms)
✔ the working-brief check: a changed working copy refuses the start and flags next (468.640394ms)
✔ next: resume first, then nothing for an idle seat; needs a seat (249.059621ms)
✔ view stale: new ops and verify refuse naming the unshown op; retries answer; reads warn; render fixes (488.617524ms)
✔ view unknown: a hand edit, an old marker over an edited body, missing or duplicate markers (910.285223ms)
✔ a hand edit to queue.json refuses every verb, reads included (476.627888ms)
✔ verify and render --check leave bytes and mtimes unchanged (339.830044ms)
✔ render is byte-stable across runs and repositories (203.875443ms)
✔ snapshot and verify --snapshot (604.468786ms)
✔ usage errors exit 4 (449.907786ms)
✔ a short write, ENOSPC or a file fsync failure: nothing visible, temp removed (178.147262ms)
✔ a rename failure: nothing visible, temp removed (132.500548ms)
✔ a directory fsync failure: uncertain, exit 3, no receipt; the tail refuses new ops; a retry confirms (139.874303ms)
✔ a directory fsync failure, then sync names the op (284.678485ms)
✔ a witness write failure: uncertain, durable, exit 3; the view is untouched (123.031454ms)
✔ the .git fsync after the witness rename fails: uncertain, exit 3, the witness says so (121.425258ms)
✔ confirming a tail fsyncs queue.json and docs/plans before the witness; either failure changes nothing (124.937748ms)
✔ the docs/plans fsync after the view rename fails: the op stands, the view is written, a warning says so (106.340955ms)
✔ a lock swapped while held is left in place and reported, on a receipt and on a refusal (112.579734ms)
✔ a lock that cannot be released after an op is reported, on a receipt and on a refusal (114.804606ms)
✔ unlock prints a swapped gate's warning on stderr, the result on stdout (104.143339ms)
✔ a view write that fails keeps the op and reports a stale view (98.054409ms)
✔ SIGKILL before the rename: nothing recorded; the retry removes the leftover temp (534.086841ms)
✔ SIGKILL after the rename, before the witness: the tail refuses new ops and sync names the op (594.699352ms)
✔ SIGKILL after the witness, before the view: the stale refusal names the op (544.49914ms)
✔ SIGKILL after the view, before the receipt: the retry returns the receipt (530.008666ms)
✔ git checkout between steps 1 and 7: step 7 refuses and nothing is written (113.952217ms)
✔ git stash restoring an older valid pair: history lost; accept-history needs privilege, a reason and --yes (709.535716ms)
✔ a deleted witness: refused after the locked recheck; accept-history records it absent (179.757106ms)
✔ a header edit during a write: the op stands, the view write is skipped with a warning (109.210051ms)
✔ a reader paused between the witness and the file while a writer finishes: no lost-history report (112.077886ms)
✔ rows: every row as show prints it, in list order; writes nothing; same notes and refusals as list (142.12262ms)
✔ file-then-witness order forced by a hook: the locked recheck prevents a false report (107.748948ms)
✔ a writer paused before and after the witness rename: readers see a tail, then a match (112.492656ms)
✔ a true rollback is reported only after the locked recheck; a held lock names its holder instead (473.174818ms)
✔ an accept-history in progress: an unlocked reader waits on the lock and never reports lost history (424.568513ms)
✔ the platform check refuses other filesystems (96.795502ms)
✔ tmpfs passes only a test layer that allows it (N5) (120.822011ms)
✔ unlock keeps a multi-line lock record on stdout (P3) (141.882501ms)
ℹ tests 156
ℹ suites 0
ℹ pass 156
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 18969.700986
