Unclaimed files left in the canonical checkout. Inventory: canonical-cleanup-inventory.md (commit-as-evidence groups). detect-secrets scan clean on 2026-11-02: hits are sha256 pins, git object ids, test sentinels already in tracked tests and unit-file lines.
164 lines
12 KiB
Plaintext
164 lines
12 KiB
Plaintext
✔ a first launch clones the root at its branch, with the root's path as origin (45.992029ms)
|
||
✔ the clone is not at its place until git clone has finished (33.134093ms)
|
||
✔ a later launch fast-forwards a clean clone after a commit to the root, then finds it current (81.744526ms)
|
||
✔ a clone ahead of the root keeps its commits and counts as current (51.763424ms)
|
||
▶ a dirty clone and one on another branch are fetched, and nothing but refs/remotes moves
|
||
✔ a modified file (64.99677ms)
|
||
✔ an untracked file (52.7686ms)
|
||
✔ a staged file (53.284529ms)
|
||
✔ another branch (52.931089ms)
|
||
✔ a detached HEAD (53.026131ms)
|
||
✔ a dirty clone and one on another branch are fetched, and nothing but refs/remotes moves (278.409088ms)
|
||
✔ a diverged clone gets the fetch into refs/remotes and is kept, not-fast-forward (64.389205ms)
|
||
▶ a clone kept before the branch check, or for a failed status, gets no fetch
|
||
✔ not-a-clone (36.671375ms)
|
||
✔ hooks-present (38.164208ms)
|
||
✔ submodule (44.552571ms)
|
||
✔ config-changed (47.350371ms)
|
||
✔ root-unreadable (43.992945ms)
|
||
✔ root-detached (45.886398ms)
|
||
✔ status-failed, on the root's branch and clean (57.658485ms)
|
||
✔ status-failed, dirty (46.855477ms)
|
||
✔ a clone kept before the branch check, or for a failed status, gets no fetch (363.016892ms)
|
||
✔ a dirty clone whose fetch fails is kept, fetch-failed, exactly as it was (61.037319ms)
|
||
✔ every git call the host makes, for a new clone and an existing one, carries maintenance.auto=false and gc.auto=0 (62.770113ms)
|
||
✔ a clone with loose objects enough for gc --auto gets no maintenance or gc from the fetch and the merge (120.311397ms)
|
||
▶ a clone with user.name or user.email in its config is kept, and git runs nothing in it
|
||
✔ user.name (41.040564ms)
|
||
✔ user.email (32.776621ms)
|
||
✔ a clone with user.name or user.email in its config is kept, and git runs nothing in it (74.457071ms)
|
||
✔ a commit git can't read after the fast-forward is null (57.327337ms)
|
||
✔ a new clone whose commit can't be read refuses the launch and leaves nothing behind (26.991172ms)
|
||
▶ a clone the session rigged is kept, and git runs nothing and writes nothing outside it
|
||
✔ core.fsmonitor (46.227814ms)
|
||
✔ core.hooksPath (41.190576ms)
|
||
✔ a hook file (40.149531ms)
|
||
✔ include.path (40.420762ms)
|
||
✔ includeIf (40.402718ms)
|
||
✔ a filter driver (39.462585ms)
|
||
✔ origin moved (46.174336ms)
|
||
✔ a second origin url (37.857582ms)
|
||
✔ the origin url twice, both the root (37.140957ms)
|
||
✔ an ext:: origin (34.554477ms)
|
||
✔ a branch tracking another remote (43.252256ms)
|
||
✔ a branch merging a tag (49.412597ms)
|
||
✔ a fetch line onto local branches (49.369542ms)
|
||
✔ no origin (44.286205ms)
|
||
✔ a config file over the size cap (34.400574ms)
|
||
✔ config a symlink to /dev/zero (31.943198ms)
|
||
✔ the clone a symlink to the bait (29.988028ms)
|
||
✔ the clone a file (30.967405ms)
|
||
✔ the clone a plain directory (31.79158ms)
|
||
✔ .git a gitdir: file (36.325855ms)
|
||
✔ .git a symlink (38.381804ms)
|
||
✔ .git/logs a symlink (38.353154ms)
|
||
✔ .git/refs/heads a symlink (40.494641ms)
|
||
✔ .git/objects a symlink (45.266411ms)
|
||
✔ a reflog hard-linked to a file outside (36.75156ms)
|
||
✔ HEAD a fifo (36.501619ms)
|
||
✔ a commondir file (40.684335ms)
|
||
✔ an alternates file (40.7417ms)
|
||
✔ a gitlink staged, no .gitmodules (61.444108ms)
|
||
✔ a gitlink and .gitmodules staged (61.543483ms)
|
||
✔ a gitlink to a repository with its own gitlink (67.911502ms)
|
||
✔ a gitlink and .gitmodules committed (53.540252ms)
|
||
✔ a gitlink and submodule.active in config (54.428985ms)
|
||
✔ a .git/modules with no gitlink (48.361437ms)
|
||
✔ a clone the session rigged is kept, and git runs nothing and writes nothing outside it (1455.055384ms)
|
||
▶ a root that can't be cloned refuses with the project id and leaves nothing behind
|
||
✔ missing (14.049334ms)
|
||
✔ not a repository (12.605836ms)
|
||
✔ a plain directory inside another repository (19.509201ms)
|
||
✔ unreadable (14.738444ms)
|
||
✔ on no branch (15.095535ms)
|
||
✔ missing an object (18.923ms)
|
||
✔ a root that can't be cloned refuses with the project id and leaves nothing behind (96.148046ms)
|
||
✔ a clone whose root is on no branch, or gone, is kept and named (41.305485ms)
|
||
✔ no credential or forge remote of the root reaches a clone (54.974121ms)
|
||
✔ every project in the business file gets its own clone at its own branch (39.945725ms)
|
||
✔ a clone past its time gets SIGTERM and refuses the launch, with nothing left in the workspace (514.077535ms)
|
||
✔ a clone that ignores SIGTERM gets SIGKILL once the grace period is over (1022.358251ms)
|
||
✔ a timeout signals git's process group, so a process git started dies with it (525.880412ms)
|
||
✔ once a signalled git has closed, its group gets SIGKILL, so a process that ignored SIGTERM dies too (514.32645ms)
|
||
✔ rootHits: a top-level file, a new top-level directory, src/ and v1/ are the root; paths under known directories aren't (1.85894ms)
|
||
✔ gateEnv keeps the named variables that are strings and drops everything else (0.184731ms)
|
||
✔ isMosaicStack: a checkout whose HEAD descends from the root commit and has node_modules; nothing else (37.64184ms)
|
||
✔ gateSteps: each package with tests but queue in name order, then each scripts/test-*.sh (1.79059ms)
|
||
✔ runGate: every step passes, each with its own log and a summary line, under the environment it was given (180.155405ms)
|
||
✔ runGate: the first failing step stops the gate and names its log (263.738434ms)
|
||
✔ runGate: an abort stops the running step and everything in its group, and runs nothing after it (186.383941ms)
|
||
✔ the CLI: root-file prints the hits and exits 2, or exits 0; gate exits 0, or 2 with the step and its log; anything else is usage (698.030619ms)
|
||
✔ RUNNER_FILES is exactly what the runner and the harness sources it starts import (2.570506ms)
|
||
✔ sandboxProblem names a missing bwrap and a bwrap that fails (12.34221ms)
|
||
✔ every bind says why; the bundle and session file stay read-only over the run directory (1.848707ms)
|
||
✔ REQ-THREAD-2 a thread store binds its session directory and Claude transcripts, and nothing more (1.1249ms)
|
||
✔ the host's git socket is bound only when given, read-only and before the writable binds (0.957288ms)
|
||
✔ the git identity is the instance's, at <instance>@<business>.mosaic.invalid, and sandboxArgv refuses without it (1.485237ms)
|
||
✔ a confined session's shell reaches its own workspace and run directory and nothing of the founder's or another session's (1710.629227ms)
|
||
✔ a bind that exposes a stand-in, or a missing workspace bind, fails the matching check (2890.667071ms)
|
||
✔ a confined session that runs tester-cli.mjs is refused as tester, and the same shim outside the sandbox binds (277.84237ms)
|
||
✔ resolveSeat: by name under --repo resolves the repo layout (1.581024ms)
|
||
✔ resolveSeat: by path resolves the fleet layout (0.384261ms)
|
||
✔ resolveSeat: refusals for missing dir, missing launch.sh, non-executable launch.sh, invalid name, and unknown layout (0.875177ms)
|
||
✔ tmuxContext: outside tmux, default socket, custom socket, and exec failure (0.792434ms)
|
||
✔ makeRegistration produces a record that validates; each shape violation throws SeatError (0.970437ms)
|
||
✔ writeRegistration/readRegistration: round trip, permissions, absence, and malformed records (1.624064ms)
|
||
✔ updateTask: changes task, taskSetBy and updatedAt only, and refuses appropriately (1.386398ms)
|
||
✔ CLI launch: registers, execs the fake launch script, and passes args through (40.166716ms)
|
||
✔ CLI launch: --harness lands in the record (30.893405ms)
|
||
✔ CLI launch: the launch script's own exit code passes through (30.605172ms)
|
||
✔ CLI launch: relaunching a seat rewrites the one registration record (70.120588ms)
|
||
✔ CLI launch: omitting --task records an empty string, not null (40.251458ms)
|
||
✔ CLI seat task: updates only the task after a launch, and refuses on an unlaunched seat (99.117447ms)
|
||
✔ CLI refusals: no args, unknown flag, missing config, already-registered env, and exec failure (151.845514ms)
|
||
✔ samePath: equal paths, symlinked dirs, distinct dirs, and non-strings (0.4751ms)
|
||
✔ resolveSetBy: explicit --by wins over the environment; absent or empty environment gives unknown; invalid explicit or environment values refuse with exit 4 (0.621043ms)
|
||
✔ validateRegistration/readRegistration: taskSetBy is optional; a record without it (written before #1511) still loads unchanged; an invalid one is refused; the version does not change (0.818952ms)
|
||
✔ updateTask: records setBy, preserves startedAt and every unrelated field, upgrades an old record in place only when the task is set, and replaces a previous attribution (2.437479ms)
|
||
✔ CLI seat task: --by beats MOSAIC_AGENT_NAME, the environment beats nothing, empty environment is unknown, invalid --by or environment refuses with exit 4 and leaves the record byte for byte (346.206775ms)
|
||
✔ REQ-LIMIT-1: family substring matching is no longer exported (1.117769ms)
|
||
✔ sessionEnv passes only the allowlist, the repo's bin on PATH, and the run id (1.106333ms)
|
||
✔ sessionExit gives a runner's signal death back as the signal; a session credential is one whole set of nonempty variables (0.396378ms)
|
||
✔ newRun: short ids, 0700 directories, and a refusal when the socket path won't fit (2.257148ms)
|
||
✔ session file and launch log: 0600, the session file written once (1.706745ms)
|
||
✔ endReason maps the runner's exit codes; a signal is killed (0.20086ms)
|
||
✔ Registry mirrors to sessions.json; readSessions marks live entries; bad files refuse (2.441204ms)
|
||
✔ REQ-THREAD-1 Registry.running keys a thread run by business, instance and thread (0.746015ms)
|
||
✔ REQ-THREAD-2 REQ-LAUNCH-1 threadStore checks both segments before the join and refuses an unsafe directory (2.394046ms)
|
||
✔ stopSession refuses an unknown run, reports a stale one, and won't signal a pid that isn't a runner (1.709971ms)
|
||
✔ a session runs in its sandbox as pid 1 of its namespace, claims, answers, and stops on mosaic stop (359.861944ms)
|
||
✔ workRef and validBranch take only what a ref name can hold (1.671444ms)
|
||
✔ a push lands as the task's work ref, a fast-forward lands after it, and main is the root's (184.503062ms)
|
||
✔ a rewritten branch refuses non-fast-forward and the work ref stays (159.905804ms)
|
||
✔ a branch with no history in common with main refuses unrelated-history (83.065641ms)
|
||
✔ a bundle that needs commits the working repository lacks refuses missing-prerequisite (56.227333ms)
|
||
✔ the root is fetched again before each push and main follows it, so a clone of a newer root pushes (193.680435ms)
|
||
✔ a root moved back after the clone leaves the push's base unknown: missing-prerequisite (127.283653ms)
|
||
✔ a commit with a broken object refuses invalid-bundle, and only because fsck is on (117.140109ms)
|
||
✔ only a v2 bundle with the named branch is read (78.858406ms)
|
||
✔ a branch named main, or named for another task, moves only this task's work ref (152.792395ms)
|
||
✔ a record that throws moves the work ref back, or removes a new one (191.530793ms)
|
||
✔ a work ref that can't go back refuses rollback-failed, naming the ref and the commit (422.7518ms)
|
||
✔ a root that can't be read refuses root-unreadable (37.849431ms)
|
||
✔ a git past its time gets SIGTERM, leaves no ref lock, and the next push lands (2194.608064ms)
|
||
✔ a git that ignores SIGTERM gets SIGKILL once the grace period is over (1034.12444ms)
|
||
✔ a working repository path that isn't a directory refuses (23.903299ms)
|
||
✔ review bundles a pushed commit as refs/mosaic/review, leaving out what the reviewer has (137.887631ms)
|
||
✔ review of a project with no working repository refuses unknown-commit (13.521017ms)
|
||
✔ the runner's git tools hold the host's limits and branch rule (1.215816ms)
|
||
✔ a reseed moves root but leaves a landed main, and main forwards once root contains it (227.553775ms)
|
||
✔ after a landing, a push built on the root still lands and main stays where the landing put it (163.928434ms)
|
||
✔ once the root shares no history with a landed main, a push is checked against main, not the root (244.866028ms)
|
||
✔ a landing squashes the reviewed diff onto main as the bus host and moves main only at finish (136.512928ms)
|
||
✔ a landing refuses ref-moved, base-conflict and root-file before it makes a commit (391.674826ms)
|
||
✔ a landing whose applied diff isn't the reviewed one refuses patch-drift and leaves no worktree (136.721076ms)
|
||
✔ finish refuses base-moved when main moved, and a record that throws moves main back (257.522889ms)
|
||
ℹ tests 150
|
||
ℹ suites 0
|
||
ℹ pass 150
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 6841.474893
|