✔ F1: an ordinary commit after update-ref is refused until step 8; then it commits and the queue stays at C (1324.965524ms)
✔ F1: a plain `commit -e` whose guard ran before update-ref fails at its own HEAD update (1069.545926ms)
ℹ 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 (1091.836977ms)
ℹ 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 (1178.432914ms)
✔ F1: HEAD moving after the step-7 guard check and before update-ref: refused, nothing published (1226.51663ms)
✔ F1: H is recorded before the canary, so HEAD moving during the step-1 canary is refused at step 7 (1214.38844ms)
✔ F1: a queue commit landing after H is recorded: step 1 says HEAD moved, not the guard (1436.845813ms)
✔ F1: a queue commit landing between the HEAD check and the canary: the failed clean run is reported as HEAD moved (995.087339ms)
✔ F1: a shared-index change during the procedure is not committed (1152.559542ms)
✔ F1: a queue path staged after update-ref: step 8 stops and touches nothing (1066.061784ms)
✔ F1: a missing or a different hook refuses (752.89826ms)
✔ F1: same bytes without the exec bit, a symlinked hook, and core.hooksPath in the local or global scope each refuse before update-ref (1254.926539ms)
✔ F1: the canary refuses a hook that git would not run (711.558543ms)
✔ F1: the guard deactivated after step 1 is refused at the step-7 recheck (996.255958ms)
✔ bootstrap: implementation-only HEAD, the guard, genesis, the --genesis commit, then an extending commit (940.929157ms)
✔ bootstrap: --genesis with a base present, no base without --genesis, an op before the first commit, a changed map, another branch (1127.235024ms)
✔ bootstrap: the archived tests and validator run outside any repository (933.119951ms)
✔ general: an unrelated staged file stays staged, and the committed blobs are the snapshot bytes (892.477365ms)
✔ general: a queue write after the snapshot is not committed (1503.673101ms)
✔ general: a snapshot whose log does not extend the base refuses (1079.409414ms)
✔ general: install-hook privilege, repair of a same-bytes hook, and its refusals (159.738017ms)
✔ general: environment overrides, a linked worktree and usage (629.320722ms)
✔ general: a queue path staged before the run refuses at step 1 (672.626209ms)
✔ general: HEAD's queue tests failing in the archive refuse (856.104785ms)
✔ genesis document serializes deterministically and replays (6.025791ms)
✔ a hand edit that stays valid JSON fails replay; a formatting-only edit fails re-serialization (3.307413ms)
✔ a tampered result, receipt or viewSha fails replay (3.307094ms)
✔ op ids: 8 to 72 characters for callers, 80 in the log for .outcome entries (0.180195ms)
✔ add: defaults for an ordinary seat, privileged extras, refusals (4.430774ms)
✔ matrix: queued→briefed privileged; briefed→in-progress owner with after satisfied (5.558526ms)
✔ matrix: release, review round, changes requested and waiting-on-jason (12.150619ms)
✔ matrix J5: in-review→done by the gate owner with evidence naming the current round (8.739873ms)
✔ review issue, lead decision 23: none refuses, one is used, several need --issue, later rounds keep it (19.356517ms)
✔ the row schema refuses a round with a null issue, and the A1 review shape (P2) (2.343705ms)
✔ matrix R1: every state × target × actor class matches 8.7, gate owner jason or not, required or not (1434.478155ms)
✔ matrix: blocked keeps the claim and returns only to previousState (3.724545ms)
✔ matrix J4: parking is Jason's, refused while required; unpark returns to queued (2.737006ms)
✔ field edits: who may change what (5.257737ms)
✔ set issues keeps a logged narrowing of closes (N10) (3.005939ms)
✔ text the table shows refuses \ and <, everywhere it enters (N8) (1.967734ms)
✔ every accepted text renders to nine cells on every row (N8) (27.287644ms)
✔ genesis: the map refuses an owner among its row's reviewers; replay doesn't (2026-10-04) (0.513896ms)
✔ times and dates must be calendar values, not just the shape (2026-10-04) (1.900355ms)
✔ replay holds every op id to the caller's rule (N11) (5.131008ms)
✔ note: owner, listed reviewer or privileged; empty clears (1.192835ms)
✔ assign moves the claim with the owner; done clears it (2.62756ms)
✔ render is byte-stable and escapes pipes (0.498811ms)
✔ view classification: current, genuine stale, edited stale marker, changed current body, markers (0.542756ms)
✔ next: resume, then review, then start, then wait, then nothing; lowest id first (17.804243ms)
✔ canonical args make a retry's identity independent of list order (0.283935ms)
✔ manifests, headings and blob ids (0.411391ms)
✔ the migration map: one queue-map block, exact keys (0.52762ms)
✔ every call but `queue` reaches the seat CLI exactly as before A2 (674.544225ms)
✔ `queue` reaches the queue CLI with the rest of the arguments (195.352557ms)
✔ the pre-A2 fixture is the script A2 changed (0.290873ms)
✔ acquire publishes the record by link; release removes only its own lock (9.563753ms)
✔ a kill between the temp write and the link leaves no lock (51.394846ms)
✔ a short or failed temp write refuses and leaves no lock and no temp (6.803209ms)
✔ a link error other than EEXIST refuses (6.005551ms)
✔ an error after the link releases the lock: unreadable gate, failing temp stat (19.514826ms)
✔ a release that fails on a gate path is reported, never a stack trace (P1) (32.128036ms)
✔ a paused holder: another writer waits 10 s, then refuses naming it live (10096.79375ms)
✔ two concurrent unlockers: the second refuses on the gate (40.573245ms)
✔ a writer publishing during an unlock, lock first: unlock sees it live and refuses (24.490257ms)
✔ a writer publishing during an unlock, gate first: the writer releases and refuses (21.506575ms)
✔ a gate swapped while held is left in place and reported, on success and on refusal (N1) (20.288019ms)
✔ a reused pid within one boot is mismatch; unlock removes the lock and never signals the process (21.734301ms)
✔ the same pid and start on a different boot is mismatch (0.911222ms)
✔ a foreign host is unknown whatever the local pid says; unlock refuses (84.192907ms)
✔ unreadable /proc: classification is unknown and acquire refuses (0.761046ms)
✔ invalid records: empty, unparsable, wrong keys, bad start or boot (0.231473ms)
✔ a stale gate blocks writers; --check-gate says mismatch for a reused pid (21.32465ms)
✔ a delayed release by a dead owner, after unlock and a new owner: the inode check keeps the new lock (26.912867ms)
✔ release checks the inode too: a byte-identical lock file with a new inode is left in place (5.802826ms)
✔ unlock refuses a live, unknown or invalid lock, and does nothing without one (41.223634ms)
✔ the migration map validates and renders the golden genesis table (4.79073ms)
✔ the marked QUEUE.md holds every row and parked item between its markers (1.258254ms)
✔ map-check reports each kind of drift (4.415784ms)
✔ a request posts once as the requester; a retry sends nothing (905.088098ms)
✔ each transport answer maps to posted, failed or uncertain (8.9 step 3) (4705.943451ms)
✔ the pre-send checks: GET user must name the requester, under the deadline (1827.694497ms)
✔ the lead's request refuses a token for login sage (941.467669ms)
✔ the credential file: the seat's own, 0600, no symlink, never the shared default (866.334216ms)
✔ an unresolved request blocks a new request, a new round, waiting-on-jason and done (2369.942983ms)
✔ a same-op retry after a kill sends nothing, even with a stale view (3210.314414ms)
✔ a held lock at the outcome exits 3 and names what the transport said (695.500575ms)
✔ late outcomes: after an abandon, and after a resolve with the same or another id (2548.722514ms)
✔ resolve checks the comment: issue, markers, round, candidate and author (1716.454565ms)
✔ the lead resolves a seat's request: the comment's author is the requester, fetched with the lead's token (847.067684ms)
✔ validateRow checks a request round's shape, which every replayed entry must keep (544.335506ms)
✔ request, changes, a new candidate, approval: every round pinned; no review files (1799.442121ms)
✔ a row with no reviewers opens a round that posts nothing (1183.071596ms)
✔ verify-commit: a prospective tree must hold exactly the candidate's paths (1371.550499ms)
✔ semantics: v1 entries replay as before; review entries need v2 (561.678604ms)
✔ set reviewers refuses the row's owner (2026-09-28) (416.725441ms)
✔ the owner records no verdict, even as a listed reviewer (669.107016ms)
✔ a request comment over the length limit is not sent (551.594405ms)
✔ a late POST on a closed row leaves a conflict nothing can resolve, and resolve asks nothing (664.607ms)
✔ a Jason-gated row reaches waiting-on-jason only on every reviewer's approval (2517.080568ms)
✔ genesis: refusals before anything is written (427.885336ms)
✔ genesis: the map must be committed, well formed, with committed briefs and seats (680.25551ms)
✔ genesis: markers, a stray witness, once only; a retry returns the receipt (554.26491ms)
✔ genesis: a file holding genesis alone with no witness is confirmed by sync or a retry (433.591615ms)
✔ canonical checks: worktree, second clone, detached HEAD, wrong branch, GIT_DIR, foreign code; a symlink works (668.163054ms)
✔ --by that differs from MOSAIC_AGENT_NAME warns on stderr and logs nothing more (N12) (940.316189ms)
✔ op ids: missing, too long, reserved; a retry answers; another payload refuses (779.602848ms)
✔ a retried add returns the id it first allocated, after reassignment and after done (992.408974ms)
✔ Rocko's S4 schedule: a lost result, another writer, then the retry opens no second round (895.763614ms)
✔ the review issue and the evidence round through the CLI (lead decision 23, 8.7) (1324.679043ms)
✔ claims and add defaults through the CLI; candidates are manifests or reachable commits (838.423346ms)
✔ add, set reviewers and assign refuse the row's owner as a reviewer (520.931597ms)
✔ the working-brief check: a changed working copy refuses the start and flags next (694.243984ms)
✔ next: resume first, then nothing for an idle seat; needs a seat (323.350984ms)
✔ view stale: new ops and verify refuse naming the unshown op; retries answer; reads warn; render fixes (749.885267ms)
✔ view unknown: a hand edit, an old marker over an edited body, missing or duplicate markers (1166.173374ms)
✔ a hand edit to queue.json refuses every verb, reads included (579.327776ms)
✔ verify and render --check leave bytes and mtimes unchanged (470.413342ms)
✔ render is byte-stable across runs and repositories (345.591299ms)
✔ snapshot and verify --snapshot (844.369863ms)
✔ usage errors exit 4 (590.929916ms)
✔ a short write, ENOSPC or a file fsync failure: nothing visible, temp removed (294.991623ms)
✔ a rename failure: nothing visible, temp removed (214.12502ms)
✔ a directory fsync failure: uncertain, exit 3, no receipt; the tail refuses new ops; a retry confirms (285.208379ms)
✔ a directory fsync failure, then sync names the op (395.573749ms)
✔ a witness write failure: uncertain, durable, exit 3; the view is untouched (216.389577ms)
✔ the .git fsync after the witness rename fails: uncertain, exit 3, the witness says so (199.305752ms)
✔ confirming a tail fsyncs queue.json and docs/plans before the witness; either failure changes nothing (220.389696ms)
✔ the docs/plans fsync after the view rename fails: the op stands, the view is written, a warning says so (213.091354ms)
✔ a lock swapped while held is left in place and reported, on a receipt and on a refusal (254.333892ms)
✔ a lock that cannot be released after an op is reported, on a receipt and on a refusal (255.382903ms)
✔ unlock prints a swapped gate's warning on stderr, the result on stdout (180.863444ms)
✔ a view write that fails keeps the op and reports a stale view (198.772798ms)
✔ SIGKILL before the rename: nothing recorded; the retry removes the leftover temp (773.517989ms)
✔ SIGKILL after the rename, before the witness: the tail refuses new ops and sync names the op (711.603704ms)
✔ SIGKILL after the witness, before the view: the stale refusal names the op (643.250736ms)
✔ SIGKILL after the view, before the receipt: the retry returns the receipt (710.760378ms)
✔ git checkout between steps 1 and 7: step 7 refuses and nothing is written (322.711236ms)
✔ git stash restoring an older valid pair: history lost; accept-history needs privilege, a reason and --yes (1134.208445ms)
✔ a deleted witness: refused after the locked recheck; accept-history records it absent (408.04457ms)
✔ a header edit during a write: the op stands, the view write is skipped with a warning (230.851588ms)
✔ a reader paused between the witness and the file while a writer finishes: no lost-history report (220.343628ms)
✔ file-then-witness order forced by a hook: the locked recheck prevents a false report (224.916508ms)
✔ a writer paused before and after the witness rename: readers see a tail, then a match (228.249859ms)
✔ a true rollback is reported only after the locked recheck; a held lock names its holder instead (601.437386ms)
✔ an accept-history in progress: an unlocked reader waits on the lock and never reports lost history (603.09745ms)
✔ the platform check refuses other filesystems (172.544266ms)
✔ tmpfs passes only a test layer that allows it (N5) (225.79821ms)
✔ unlock keeps a multi-line lock record on stdout (P3) (232.916337ms)
ℹ tests 148
ℹ suites 0
ℹ pass 148
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 30990.382954
