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 (46.181888ms)
|
||
✔ the clone is not at its place until git clone has finished (33.446947ms)
|
||
✔ a later launch fast-forwards a clean clone after a commit to the root, then finds it current (82.41501ms)
|
||
✔ a clone ahead of the root keeps its commits and counts as current (57.426964ms)
|
||
▶ a dirty clone and one on another branch are fetched, and nothing but refs/remotes moves
|
||
✔ a modified file (60.679259ms)
|
||
✔ an untracked file (62.7248ms)
|
||
✔ a staged file (64.618466ms)
|
||
✔ another branch (58.769504ms)
|
||
✔ a detached HEAD (54.545676ms)
|
||
✔ a dirty clone and one on another branch are fetched, and nothing but refs/remotes moves (302.755803ms)
|
||
✔ a diverged clone gets the fetch into refs/remotes and is kept, not-fast-forward (55.943707ms)
|
||
▶ a clone kept before the branch check, or for a failed status, gets no fetch
|
||
✔ not-a-clone (29.732225ms)
|
||
✔ hooks-present (37.793678ms)
|
||
✔ submodule (39.044909ms)
|
||
✔ config-changed (36.941336ms)
|
||
✔ root-unreadable (37.525492ms)
|
||
✔ root-detached (43.7347ms)
|
||
✔ status-failed, on the root's branch and clean (44.039774ms)
|
||
✔ status-failed, dirty (44.16184ms)
|
||
✔ a clone kept before the branch check, or for a failed status, gets no fetch (314.58875ms)
|
||
✔ a dirty clone whose fetch fails is kept, fetch-failed, exactly as it was (52.942714ms)
|
||
✔ every git call the host makes, for a new clone and an existing one, carries maintenance.auto=false and gc.auto=0 (52.46687ms)
|
||
✔ a clone with loose objects enough for gc --auto gets no maintenance or gc from the fetch and the merge (85.371888ms)
|
||
▶ a clone with user.name or user.email in its config is kept, and git runs nothing in it
|
||
✔ user.name (28.719967ms)
|
||
✔ user.email (26.84233ms)
|
||
✔ a clone with user.name or user.email in its config is kept, and git runs nothing in it (56.028634ms)
|
||
✔ a commit git can't read after the fast-forward is null (49.502274ms)
|
||
✔ a new clone whose commit can't be read refuses the launch and leaves nothing behind (24.644713ms)
|
||
▶ a clone the session rigged is kept, and git runs nothing and writes nothing outside it
|
||
✔ core.fsmonitor (39.202811ms)
|
||
✔ core.hooksPath (54.618168ms)
|
||
✔ a hook file (40.31826ms)
|
||
✔ include.path (39.625277ms)
|
||
✔ includeIf (45.555114ms)
|
||
✔ a filter driver (40.196453ms)
|
||
✔ origin moved (38.067547ms)
|
||
✔ a second origin url (35.856731ms)
|
||
✔ the origin url twice, both the root (40.295341ms)
|
||
✔ an ext:: origin (38.599133ms)
|
||
✔ a branch tracking another remote (38.785363ms)
|
||
✔ a branch merging a tag (38.806915ms)
|
||
✔ a fetch line onto local branches (40.456589ms)
|
||
✔ no origin (43.363126ms)
|
||
✔ a config file over the size cap (39.118783ms)
|
||
✔ config a symlink to /dev/zero (33.966256ms)
|
||
✔ the clone a symlink to the bait (33.254988ms)
|
||
✔ the clone a file (33.226467ms)
|
||
✔ the clone a plain directory (31.75001ms)
|
||
✔ .git a gitdir: file (37.017175ms)
|
||
✔ .git a symlink (33.505567ms)
|
||
✔ .git/logs a symlink (33.542906ms)
|
||
✔ .git/refs/heads a symlink (33.818649ms)
|
||
✔ .git/objects a symlink (35.33418ms)
|
||
✔ a reflog hard-linked to a file outside (35.381895ms)
|
||
✔ HEAD a fifo (37.698803ms)
|
||
✔ a commondir file (37.487622ms)
|
||
✔ an alternates file (40.068156ms)
|
||
✔ a gitlink staged, no .gitmodules (55.930502ms)
|
||
✔ a gitlink and .gitmodules staged (60.036038ms)
|
||
✔ a gitlink to a repository with its own gitlink (70.15739ms)
|
||
✔ a gitlink and .gitmodules committed (67.976557ms)
|
||
✔ a gitlink and submodule.active in config (61.774321ms)
|
||
✔ a .git/modules with no gitlink (43.731129ms)
|
||
✔ a clone the session rigged is kept, and git runs nothing and writes nothing outside it (1433.804568ms)
|
||
▶ a root that can't be cloned refuses with the project id and leaves nothing behind
|
||
✔ missing (13.89723ms)
|
||
✔ not a repository (13.194742ms)
|
||
✔ a plain directory inside another repository (20.094637ms)
|
||
✔ unreadable (12.889804ms)
|
||
✔ on no branch (14.940078ms)
|
||
✔ missing an object (20.336912ms)
|
||
✔ a root that can't be cloned refuses with the project id and leaves nothing behind (96.440575ms)
|
||
✔ a clone whose root is on no branch, or gone, is kept and named (40.583677ms)
|
||
✔ no credential or forge remote of the root reaches a clone (61.613767ms)
|
||
✔ every project in the business file gets its own clone at its own branch (47.981952ms)
|
||
✔ a clone past its time gets SIGTERM and refuses the launch, with nothing left in the workspace (516.375173ms)
|
||
✔ a clone that ignores SIGTERM gets SIGKILL once the grace period is over (1018.521788ms)
|
||
✔ a timeout signals git's process group, so a process git started dies with it (514.656525ms)
|
||
✔ once a signalled git has closed, its group gets SIGKILL, so a process that ignored SIGTERM dies too (514.411551ms)
|
||
✔ rootHits: a top-level file, a new top-level directory, src/ and v1/ are the root; paths under known directories aren't (1.982993ms)
|
||
✔ gateEnv keeps the named variables that are strings and drops everything else (0.196312ms)
|
||
✔ isMosaicStack: a checkout whose HEAD descends from the root commit and has node_modules; nothing else (37.451634ms)
|
||
✔ gateSteps: each package with tests but queue in name order, then each scripts/test-*.sh (1.865163ms)
|
||
✔ runGate: every step passes, each with its own log and a summary line, under the environment it was given (185.782936ms)
|
||
✔ runGate: the first failing step stops the gate and names its log (282.039226ms)
|
||
✔ runGate: an abort stops the running step and everything in its group, and runs nothing after it (186.395077ms)
|
||
✔ 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 (603.265606ms)
|
||
✔ RUNNER_FILES is exactly what the runner and the harness sources it starts import (2.765161ms)
|
||
✔ sandboxProblem names a missing bwrap and a bwrap that fails (10.752064ms)
|
||
✔ every bind says why; the bundle and session file stay read-only over the run directory (2.137058ms)
|
||
✔ REQ-THREAD-2 a thread store binds its session directory and Claude transcripts, and nothing more (2.019283ms)
|
||
✔ the host's git socket is bound only when given, read-only and before the writable binds (0.967014ms)
|
||
✔ the git identity is the instance's, at <instance>@<business>.mosaic.invalid, and sandboxArgv refuses without it (1.445091ms)
|
||
✔ a confined session's shell reaches its own workspace and run directory and nothing of the founder's or another session's (1930.676455ms)
|
||
✔ a bind that exposes a stand-in, or a missing workspace bind, fails the matching check (2488.408111ms)
|
||
✔ a confined session that runs tester-cli.mjs is refused as tester, and the same shim outside the sandbox binds (388.011987ms)
|
||
✔ resolveSeat: by name under --repo resolves the repo layout (1.446823ms)
|
||
✔ resolveSeat: by path resolves the fleet layout (0.418262ms)
|
||
✔ resolveSeat: refusals for missing dir, missing launch.sh, non-executable launch.sh, invalid name, and unknown layout (0.87271ms)
|
||
✔ tmuxContext: outside tmux, default socket, custom socket, and exec failure (0.873858ms)
|
||
✔ makeRegistration produces a record that validates; each shape violation throws SeatError (1.015959ms)
|
||
✔ writeRegistration/readRegistration: round trip, permissions, absence, and malformed records (2.082246ms)
|
||
✔ updateTask: changes task, taskSetBy and updatedAt only, and refuses appropriately (2.083706ms)
|
||
✔ CLI launch: registers, execs the fake launch script, and passes args through (42.176152ms)
|
||
✔ CLI launch: --harness lands in the record (34.903261ms)
|
||
✔ CLI launch: the launch script's own exit code passes through (32.328863ms)
|
||
✔ CLI launch: relaunching a seat rewrites the one registration record (76.140005ms)
|
||
✔ CLI launch: omitting --task records an empty string, not null (36.191897ms)
|
||
✔ CLI seat task: updates only the task after a launch, and refuses on an unlaunched seat (120.024658ms)
|
||
✔ CLI refusals: no args, unknown flag, missing config, already-registered env, and exec failure (175.990156ms)
|
||
✔ samePath: equal paths, symlinked dirs, distinct dirs, and non-strings (0.479783ms)
|
||
✔ resolveSetBy: explicit --by wins over the environment; absent or empty environment gives unknown; invalid explicit or environment values refuse with exit 4 (0.604952ms)
|
||
✔ 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.791516ms)
|
||
✔ 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.033007ms)
|
||
✔ 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 (318.346538ms)
|
||
✔ REQ-LIMIT-1: family substring matching is no longer exported (1.176458ms)
|
||
✔ sessionEnv passes only the allowlist, the repo's bin on PATH, and the run id (0.987192ms)
|
||
✔ sessionExit gives a runner's signal death back as the signal; a session credential is one whole set of nonempty variables (0.315353ms)
|
||
✔ newRun: short ids, 0700 directories, and a refusal when the socket path won't fit (2.306488ms)
|
||
✔ session file and launch log: 0600, the session file written once (1.59678ms)
|
||
✔ endReason maps the runner's exit codes; a signal is killed (0.231842ms)
|
||
✔ Registry mirrors to sessions.json; readSessions marks live entries; bad files refuse (1.982887ms)
|
||
✔ REQ-THREAD-1 Registry.running keys a thread run by business, instance and thread (0.786923ms)
|
||
✔ REQ-THREAD-2 REQ-LAUNCH-1 threadStore checks both segments before the join and refuses an unsafe directory (2.327234ms)
|
||
✔ stopSession refuses an unknown run, reports a stale one, and won't signal a pid that isn't a runner (1.417024ms)
|
||
✔ a session runs in its sandbox as pid 1 of its namespace, claims, answers, and stops on mosaic stop (362.068095ms)
|
||
✔ workRef and validBranch take only what a ref name can hold (1.860135ms)
|
||
✔ a push lands as the task's work ref, a fast-forward lands after it, and main is the root's (204.697839ms)
|
||
✔ a rewritten branch refuses non-fast-forward and the work ref stays (172.267254ms)
|
||
✔ a branch with no history in common with main refuses unrelated-history (81.852741ms)
|
||
✔ a bundle that needs commits the working repository lacks refuses missing-prerequisite (58.750642ms)
|
||
✔ the root is fetched again before each push and main follows it, so a clone of a newer root pushes (179.88666ms)
|
||
✔ a root moved back after the clone leaves the push's base unknown: missing-prerequisite (118.289697ms)
|
||
✔ a commit with a broken object refuses invalid-bundle, and only because fsck is on (104.638269ms)
|
||
✔ only a v2 bundle with the named branch is read (61.199007ms)
|
||
✔ a branch named main, or named for another task, moves only this task's work ref (117.576399ms)
|
||
✔ a record that throws moves the work ref back, or removes a new one (191.093558ms)
|
||
✔ a work ref that can't go back refuses rollback-failed, naming the ref and the commit (397.149583ms)
|
||
✔ a root that can't be read refuses root-unreadable (32.574025ms)
|
||
✔ a git past its time gets SIGTERM, leaves no ref lock, and the next push lands (2207.102123ms)
|
||
✔ a git that ignores SIGTERM gets SIGKILL once the grace period is over (1028.507942ms)
|
||
✔ a working repository path that isn't a directory refuses (24.527851ms)
|
||
✔ review bundles a pushed commit as refs/mosaic/review, leaving out what the reviewer has (142.818001ms)
|
||
✔ review of a project with no working repository refuses unknown-commit (15.202666ms)
|
||
✔ the runner's git tools hold the host's limits and branch rule (1.274991ms)
|
||
✔ a reseed moves root but leaves a landed main, and main forwards once root contains it (262.124338ms)
|
||
✔ after a landing, a push built on the root still lands and main stays where the landing put it (165.797775ms)
|
||
✔ once the root shares no history with a landed main, a push is checked against main, not the root (256.014078ms)
|
||
✔ a landing squashes the reviewed diff onto main as the bus host and moves main only at finish (147.582464ms)
|
||
✔ a landing refuses ref-moved, base-conflict and root-file before it makes a commit (447.570771ms)
|
||
✔ a landing whose applied diff isn't the reviewed one refuses patch-drift and leaves no worktree (162.555766ms)
|
||
✔ finish refuses base-moved when main moved, and a record that throws moves main back (284.779211ms)
|
||
ℹ tests 150
|
||
ℹ suites 0
|
||
ℹ pass 150
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 6941.647665
|