Repository navigation
Description
Goal
Child of #290. Move tidy to Effect: engine-native/tidy.ts, tidyReport.ts, syncConcurrency.ts, and cli/src/commands/tidy.ts (no Effect.promise). Keep one bounded runner that stops taking queued work after the first failure, lets started work finish, and reports the failure with the lowest index; move its tests to cli/test/unit/syncConcurrency.test.ts with the cases of the first comment of #290. Calls into scratch, the process layer, and the file helpers, which the last child of #290 moves, go through the bridge rule of the #290 Research. Keep the tidy plan, the report, the output, and the exit codes unchanged.
Yolo: the user delegated every decision except the merge to the agent.
Mode: plan-and-implement
Research
Repository facts (main at c8024b5, after #294):
cli/src/engine-native/syncConcurrency.tsrunBounded(tasks, concurrency)runs() => Promisetasks with at most 1 to 3 in flight. After the first rejection it starts no queued task, lets started tasks settle, and rethrows the rejection with the lowest input index (PoolState,drainAfterFailure). Callers:tidy.ts planTidy(worktree inspections, concurrency 3) andtidyReport.ts sizeLinesandtemporarySection(concurrency 3).cli/src/engine-native/index.tsre-exportsrunBounded,SyncConcurrency, andSyncTask; the only importer of that re-export iscli/test/unit/engine-di.test.ts, which holds the four runner cases ("caps overlap and returns results in selection order", "runs the next pipeline only after the prior one settles at cap one", "drains started pipelines, stops queued work, and reports the first input failure", "keeps an undefined rejection when a later input fails during drain").cli/src/engine-native/tidy.ts(1276 lines) andtidyReport.ts(509 lines) areasynccode.TidyHost(git,docker,dockerEndpoint,run,processes,now) returns Promises;defaultTidyHostruns tools throughexec.ts spawnProcess(runTool).DockerRunnerreturns a Promise. Direct synchronousnode:fscalls:realpathSync(normalizePath),readlinkSync(readLinuxCwd),lstatSync(lstatOrUndefined,lstatIfPresent),readdirSync(sortedEntries,entryActivity),readFileSync(adminDirectory, the report's/proc/meminfoand.trashinforeads),statSync,renameSync, andappendFileSync(appendLog). TheStatsfields that tidy reads: the file type,mtimeMs,uid, andblocks.- Throws:
lstatIfPresentandentryActivitythrowcannot check <path>: <code>, andappendLogrethrows a rotation error; the report throws insizeKbanddockerSection, andsectionturns any throw intounavailable: <errorMessage(cause)>. - Calls into modules of later children:
exec.ts spawnProcess,processes.ts processExited(macOS cwd probe),scratch.ts removeTemporaryPath(deletes a scratch entry),ompFileDeploy.ts ensureDirectory(the log folder),home.ts engineHome(commands/tidy.ts).scratch.tskitCacheDir,scratchRoot,tidyApplyLockPath, andisSameOrInsideare pure path functions. cli/src/commands/tidy.tswrapsplanTidy,applyTidy,acquireKitLock,buildTidyReport, andmainRepositoryinEffect.promise. The apply lock callsacquireKitLock(path, { waitMs: 0 }), which makes exactly oneBEGIN IMMEDIATEtry, the same as the synchronous primitivetryAcquireKitLock(path, { privateDirectory: true })(kitLock.ts). A failure count above 0 setsprocess.exitCode = 1; a held lock printsanother docks-kit tidy run holds <path>and leaves the exit code unset.- Untested paths: the
tidy-contextGotcha "Untested paths" requires a should-fail case for a change to network removal, log rotation, the--repolisting, the apply-time scratch recheck, and thetidyCommandinput resolution; this child changes each of them. - Tests:
cli/test/unit/tidy.test.tsawaitsplanTidyandapplyTidywith a stub host whose six fields are replaced, runsrunTidythroughEffect.runPromise, and has one spawned case (tidy --applywhile the lock is held).cli/test/unit/tidyReport.test.tsawaitsbuildTidyReportwith a stub host. No spawned case covers a plaintidyortidy --report. - Guidance:
.agents/skills/tidy-context/SKILL.mdnamesacquireKitLockfor the apply lock,Effect.acquireUseReleaseinrunTidy, and "a throw becomesunavailable: <message>" in the Report section.cli/src/engine-native/DESIGN.mdsays only thatrunBoundedstays for the tidy probes, which stays true.
Effect 4.1.7 facts:
effect/FileSystemhaslstat,stat,readDirectory,readFileString,readLink,realPath,rename,makeDirectory,chmod, andwriteFileStringwith aflag(node_modules/effect/src/FileSystem.ts);File.Infohastype("File","Directory","SymbolicLink", ...),mtime,uid, andblocksasOptionvalues.cli/tsconfig.jsonalready allowseffect/FileSystem#FileSystemandeffect/PlatformError#PlatformError.cli/src/main.tsprovidesBunServices.layer, which suppliesFileSystem, to every command.- The Node and Bun file systems map
ENOENTto the reasonNotFoundand bothENOTDIRandEISDIRtoBadResource, and keep the original error ascause(node_modules/@effect/platform-node-shared/src/internal/utils.tshandleErrnoException). So the errno code of a failure is read from that cause, not from the reason tag. Effect.forEachwithconcurrencyinterrupts started siblings when one effect fails (the first comment of Move the engine-native layer to Effect #290).bridge.tsbridgeSyncandbridgePromiserun legacy code uninterruptibly and turn a throw or rejection intoLegacyStepFailedwith the original message.
Decisions:
- The runner (parent D3 (b), delegated, one line):
runBounded(tasks, concurrency)takesReadonlyArray<Effect<A, E, R>>and returnsEffect<Array<A>, E, R>. It startsmin(concurrency, tasks.length)worker fibers that cannot fail: each worker takes the next index while the pool accepts, runs the task withEffect.exit, and on a failure (a typed failure or a defect) records the cause with the lowest index and stops the pool from accepting. After every worker ends, the runner fails with the recorded cause, else returns the results in input order. A caller interrupt interrupts every worker; a bridged task ends only when it settles. Rejected:Effect.forEachwithconcurrency, which interrupts the started siblings. - The host (delegated, one line): every
TidyHostmethod andDockerRunnerreturns anEffect; the default host bridgesspawnProcesswithbridgePromise, andnowstays a plain function. Rejected: keeping the Promise host behind one bridge incommands/tidy.ts, which leaves the legacy code that the Goal moves. - Files (delegated, one line): every direct
node:fscall of the three engine files goes throughFileSystem, and each call keeps its base outcome:lstatIfPresenttreats only the errno codesENOENTandENOTDIRof the failure's cause as absent and fails withcannot check <path>: <code>otherwise; a failed directory read inentryActivitystays unknown with its base text (also onENOTDIR);lstatOrUndefined,sortedEntries,adminDirectory, andnormalizePathkeep their catch-all fallbacks;readLinuxCwdkeepsENOENTandESRCHas exited; aFile.Infowithoutmtimeis an unknown state that keeps the candidate (fail closed). A failure that the base printed (the log rotation and append, the report read of/proc/meminfo) keeps the message of the original Node error, thecauseof thePlatformError; an unreadable.trashinfoentry stays skipped on its own, as in the basetrashSection. The log folder still comes fromensureDirectorythroughbridgeSync. Rejected: bridging thenode:fscalls, which the parentbridgesrow forbids for calls thatFileSystemcovers. - Signals and interruption (delegated, one line): the base
tidycommand ended at once on SIGINT or SIGTERM with exit 130:BunRuntime.runMaininterrupted the fiber, theEffect.promisewaits gave way, the lock release ran, and a running tool call was left behind (node_modules/effect/src/Runtime.ts, 130 for an interrupt-only exit); its log rotation and append were synchronous, so no signal ran between them. Bridged calls are uninterruptible (D1), sotidyCommandkeeps that behavior with the signal exit of engine runs: it runs insideexitOnSignalofcli/src/engine.ts(exported for this caller), which exits 130 at once on either signal, and the OS releases the SQLite lock. In the base apply, a signal could act only at an awaited tool call (gitordocker); every other step (signals, scratch rechecks and removals, the log rotation and append) ran without a signal turn, and the result was printed when the Promise resumed. The new apply keeps exactly those signal points: two new helpers incli/src/engine.tswork withexitOnSignal: the scopeddeferSignalExit, whichapplyTidyacquires at its start in a nested scope thatrunTidyopens around the apply and the printing of its result and closes right after that printing, before--reportstarts, records a signal instead of exiting until that scope closes, and then exits 130 when a signal was recorded;exitOnSignalstays active for the whole command, so the report keeps the prompt exit; andsignalExitPoint(effect), whichapplyTidywraps around each of itsgitanddockercalls, exits 130 at once for a recorded or a new signal while the call waits, as the base interrupt at an await did. The apply and the printing of its result run as one uninterruptible region inside the lock scope, so the interrupt thatBunRuntime.runMainraises on a signal also waits; the plan, the dry run, and the report stay read-only and keep the prompt exit. Move the process layer, the file helpers, and the kit store to Effect #297 removes the hard exit and the deferral in favor of fiber interruption through its process service, narrows the region, and updates the tidy signal case (recorded in the Move the process layer, the file helpers, and the kit store to Effect #297 Goal). Rejected: no signal exit, which would keep the command and its lock behind a hungdockerorgitcall, a user-visible change. - Typed errors (delegated, one line): each base throw becomes a
Schema.TaggedErrorfailure with the same message (TidyCheckFailedfor a path or activity check and a log rotation,ReportSectionFailedfor the report). A report section turns every failure and every defect, but not an interruption, intounavailable: <message>with the text thaterrorMessagegave before. The report runs its ten sections concurrently, in their fixed order, asPromise.alldid. - The apply lock (delegated, one line):
commands/tidy.tstakestidyApplyLockPath(home)withEffect.acquireReleaseoverEffect.tryoftryAcquireKitLock(path, { privateDirectory: true })and releases it withreleaseKitLock(parent D4 keeps these primitives synchronous). This makes the same single try asacquireKitLockwithwaitMs: 0, so tidy no longer calls the Promise poll that Move the process layer, the file helpers, and the kit store to Effect #297 moves. The lock is still released before--reportruns. - The command (delegated, one line):
tidyCommandreads the home throughbridgeSync(engineHome)and runsmainRepositoryas an Effect. Every typed failure of this child keeps the original thrown value as itscausewhen one exists (thekitLock.tsprimitive errors throughEffect.tryincluded), and at the command boundary a typed failure becomes a defect of thatcause, else of anErrorwith the failure's message, soBunRuntime.runMainprints the same diagnostic and exits 1, as the base defect fromEffect.promisedid. - The re-export (delegated, one line):
index.tskeeps its exportsrunBounded,SyncConcurrency, andSyncTask(cli/AGENTS.md: orchestrators keep prior exports);SyncTaskbecomes the Effect task type, and the moved tests import throughindex.ts. - Version: no bump; the output, the exit codes, and the signal behavior do not change.
Steps
| # | Id | Task | Files | Depends | Effect | Status | Done when |
|---|---|---|---|---|---|---|---|
| 1 | tidy | Move runBounded to the runner decision with its three callers; move tidy.ts, tidyReport.ts, and commands/tidy.ts as the host, files, apply, typed errors, apply lock, and command decisions say; move the four runner cases of engine-di.test.ts to cli/test/unit/syncConcurrency.test.ts as Effect cases and add the two error-order cases of the first comment of #290 with explicit synchronization (Deferred); port tidy.test.ts and tidyReport.test.ts to Effect stubs run with BunServices.layer; add the should-fail cases of the untested row and the spawned cases of the commands row. Red baseline: both error-order cases fail against an Effect.forEach runner with the same signature |
cli/src/engine-native/syncConcurrency.ts, cli/src/engine-native/index.ts, cli/src/engine-native/tidy.ts, cli/src/engine-native/tidyReport.ts, cli/src/commands/tidy.ts, cli/src/engine.ts, cli/test/unit/syncConcurrency.test.ts, cli/test/unit/engine-di.test.ts, cli/test/unit/tidy.test.ts, cli/test/unit/tidyReport.test.ts |
- | local | done | the runner, tidy, untested, commands, scan, and bridges rows pass |
| 2 | guidance | Update tidy-context: the apply-lock call, the runTidy lock scope, the Report failure rule (a failure or a defect of a section), a Gotcha that runBounded must not become Effect.forEach, the "Untested paths" Gotcha (only the paths that stay untested), and the source_files line ranges |
.agents/skills/tidy-context/SKILL.md |
1 | local | done | the guidance row passes |
Acceptance
| ID | Command | Expected |
|---|---|---|
| deps | bun install --frozen-lockfile in the linked worktree |
Exit 0 |
| runner | bun x --no-install vitest run --reporter=verbose cli/test/unit/syncConcurrency.test.ts cli/test/unit/engine-di.test.ts |
Exit 0, with the four moved runner cases and the two error-order cases: with concurrency 2, tasks 0 and 1 start and task 2 stays queued; task 1 fails first, task 2 never starts, task 0 is not interrupted, and the run stays pending until task 0 ends; then the failure of task 0 wins, and in the companion case, when task 0 succeeds, the failure of task 1 wins |
| tidy | bun x --no-install vitest run --reporter=verbose cli/test/unit/tidy.test.ts cli/test/unit/tidyReport.test.ts cli/test/unit/kitLock.test.ts cli/test/unit/scratch.test.ts cli/test/unit/skillMetadata.test.ts |
Exit 0, with every base case of tidy.test.ts and tidyReport.test.ts kept with its reason strings |
| untested | bun x --no-install vitest run --reporter=verbose cli/test/unit/tidy.test.ts |
Exit 0, with a case for each path of the Untested paths fact, each failing when its branch is removed: removing a worktree with containers runs network ls and network rm for its compose project through --host <endpoint>; a tidy.log past LOG_ROTATE_BYTES moves to tidy.log.1 before the append; --repo lists a linked worktree outside the worktree root; a scratch entry refreshed after the plan stays at apply with its keep line; and the spawned tidy --repo <folder that is not a git repository> prints --repo <folder> is not a git repository and exits 2 |
| commands | bun x --no-install vitest run --reporter=verbose cli/test/unit/tidy.test.ts -t "spawned docks-kit tidy" |
Exit 0, with spawned CLI cases in isolated homes whose child PATH holds only stubs for ps, which print valid rows for their parent process (the tidy CLI, which joinRows drops as its own process), and for lsof, which exits 0 with no output, and links to the real tools that a case needs (such as du), with no docker: tidy lists a seeded idle scratch folder (a remove line on Linux and macOS, a keep line with the process-list reason on Windows), and tidy --report prints, inside its Package and tool caches section, the measured entry of a seeded .npm folder on Linux and macOS, and the support notice on Windows; and on Linux and macOS, a tidy --report whose du stub asks the CLI to signal itself (through the test preload cli/test/lib/signalSelfPreload.ts and a request file) and then waits exits 130 within a short bound; the stub ends on its own once its parent is gone or after a hard lifetime longer than that bound, writes its exit marker on every exit path, and the test removes the fixture only after both the CLI exit and that marker; and, on Linux and macOS only (Windows has no tidy process list, so no apply runs): a spawned tidy --apply that removes two seeded idle scratch entries, with a tidy.log past LOG_ROTATE_BYTES, gets SIGTERM during the recheck of the second entry, and in a second run between the rename of tidy.log and the append (for example through a test preload that wraps those file operations); each run exits 130 after it prints every removed line, with the old log in tidy.log.1 and every new line in tidy.log, and both cases fail when the deferral is removed (red baseline); and a spawned tidy --apply whose PATH (its own, with the ps and lsof stubs and a docker stub, never the real docker) reports a local endpoint and a container of a gone folder in the worktree root and then hangs on rm exits 130 within a short bound after one SIGTERM, with the same stub lifetime and cleanup rules as the du stub; and a spawned tidy --apply --report with one seeded idle scratch entry and a seeded .npm folder removes the entry, prints its removed line, and then, after one SIGTERM while the du stub waits on .npm, exits 130 within that bound |
| scan | git grep -nE -e '^[[:space:]]*([^/*[:space:]].*)?Promise<' -e '^[[:space:]]*([^/*[:space:]].*)?async ' -e '^[[:space:]]*([^/*[:space:]].*)?\bthrow\b' -e 'Effect\.promise\(' -e 'Effect\.run[A-Za-z]*\(' -e 'Effect\.tryPromise\(' -e 'from "node:fs"' -- cli/src/engine-native/tidy.ts cli/src/engine-native/tidyReport.ts cli/src/engine-native/syncConcurrency.ts cli/src/commands/tidy.ts |
Exit 1, no match |
| bridges | git grep -n -e 'Effect.try(' -e 'bridgeSync(' -e 'bridgePromise(' -- cli/src/engine-native/tidy.ts cli/src/engine-native/tidyReport.ts cli/src/engine-native/syncConcurrency.ts cli/src/commands/tidy.ts |
Each bridgeSync or bridgePromise match wraps a call into exec.ts, processes.ts, scratch.ts, ompFileDeploy.ts, or home.ts; each Effect.try match wraps a kitLock.ts primitive (parent D4) or process.kill |
| goldens | On the reviewed commit with git status --porcelain empty: bun run golden:dryrun && bun run golden:mutation && git diff --exit-code --merge-base origin/main HEAD -- cli/test/goldens |
Both suites OK; no golden changed |
| red-dry | bun run golden:dryrun --prove-red |
Exit 1; prints prove-red OK: golden-dryrun |
| red-mut | bun run golden:mutation --prove-red |
Exit 1; prints prove-red OK: golden-mutation |
| guidance | git grep -n -e 'a throw becomes' -e 'acquireUseRelease' -e 'Network removal, log rotation' -- .agents/skills/tidy-context; git grep -n 'Effect.forEach' -- .agents/skills/tidy-context/SKILL.md |
The first command exits 1; the second prints the runner Gotcha; skillMetadata.test.ts in the tidy row passes |
| dry | ./docks-kit sync --dry-run |
Exit 0 |
| types | bun run check:types |
Exit 0 |
| ci-tools | bun cli/scripts/verify-ci-tools.ts |
Exit 0 |
| smoke | bun run smoke:package |
Exit 0 |
| gate | bun run check |
Exit 0 |
Do not touch
- The tidy plan rules, the reason strings, the report sections, the output, and the exit codes.
kitLock.ts,scratch.ts,exec.ts,processes.ts,ompFileDeploy.ts, andhome.ts(Move the omp passes and the kit store to Effect #296 and Move the process layer, the file helpers, and the kit store to Effect #297 move them).SoT/.omp/plugin/extensions/hygiene.ts.
Open questions
Verification Results
On reviewed head 9939bb6 (Linux x64):
- deps: exit 0.
- runner: exit 0, 8 passed (6 in
syncConcurrency.test.ts, with both error-order cases; 2 inengine-di.test.ts). Red baseline: with anEffect.forEachrunner, both error-order cases failed (task 0 interrupted). - tidy and untested: exit 0, 92 passed, 1 skipped (the Windows-only report case).
- commands: exit 0, 9 passed. Red baseline: with the deferral disabled, both deferral cases failed (the
removed scratchlines were missing). - scan: exit 1, no match.
- bridges: 7 matches:
Effect.tryovertryAcquireKitLockand overprocess.kill;bridgeSyncoverengineHome,processExited,ensureDirectory, andremoveTemporaryPath;bridgePromiseoverspawnProcess. - goldens: both suites OK; the golden diff exits 0.
- red-dry, red-mut: exit 1 with
prove-red OK. - guidance: the first command exits 1; the second prints the runner Gotcha;
skillMetadata.test.tspasses. - dry, types, ci-tools, smoke: exit 0.
- gate: exit 0, 6507 passed, 12 skipped.
Activity
DocksDocks commentedon Dec 1, 2026
Delegation grant: yolo: "now start #290 please, use yolo, also fix open findings in a follow up"
Parent event: 7326116204
[-]Move tidy and scratch to Effect[/-][+]Move tidy to Effect[/+]DocksDocks commentedon Dec 2, 2026
Plan review round 1
Plan-review: repair
tidy- The plan treatsENOENTandENOTDIRas absence across filesystem calls, buttidy.ts:716-753only does that forlstatIfPresent;entryActivitytreats every directory-read failure as unknown. Inference: if a scratch directory is replaced by a fresh file betweenlstatandreadDirectoryduring apply, the current code keeps it withcannot check …: ENOTDIR. Under the plan's absence rule,applyTidycan receiveundefinedand proceed to delete the replacement throughscratch.ts:165-206. The blanket rule also conflicts with the original log and/proc/meminfodiagnostics intidy.ts:1118-1126,1270-1274andtidyReport.ts:130-138,464-472- Specify error handling per operation. Keep directory-read failures fail-closed, and preserve the original log and report messages from the underlying cause - class: filesystem error policy applied outside its original operationtidy- The currentappendLogrotates and appends synchronously under the apply lock. The Effect 4.1.7 filesystem adapter uses a non-cancellable callback for rename and an abortable write whose interrupt handler does not wait for the write callback (effect/src/internal/effect.ts:1223-1286). Inference: interrupting apply during rotation or append can close the lock scope while I/O is pending, or leave completed removals without their log lines - Keep the rotate-and-append sequence uninterruptible inside the apply lock so it settles before the lock is released - class: interruptible file mutation outlives its lockrunnerandtidy(lines 44–45) - Step 1 changes the runner signature, buttidy.ts:904-907andtidyReport.ts:115-118,201-204still pass Promise thunks until step 2. The focused runner tests can pass on that intermediate tree, but the per-step type check required byplan-manager/references/practices.md:238-243cannot - Land the runner signature and all three production caller migrations in the same step and commit - class: incompatible API cutover split across stepsrunner- The plan deliberately removesrunBounded,SyncConcurrency, andSyncTaskfromindex.ts:24-25. Moving the only current importer makes that removal invisible to the tests, butcli/AGENTS.md:40explicitly requiresindex.tsto keep prior exports - Keep the three exports on the existing import path, with the migrated tests using that path and the types describing the Effect runner - class: export removal conflicts with repository instructionskitLock.ts:74-85throw a native error, whichcommands/tidy.ts:91-93currently forwards as a defect. The Effect runtime logs the uncaught cause, and Effect'sSchema.TaggedErrorand cause formatter preserve the wrapper's error name. Inference: letting the new tagged failure escape prints the wrapper instead of the original diagnostic even though both runs exit 1 - Keep the failure typed internally and preserve the original diagnostic at the tidy CLI boundary - class: typed error changes the CLI diagnosticscanandbridges(lines 56–57) -scanmisses the actualEffect.promise(calls incommands/tidy.ts:117,133because its regex requires a space afterpromise; it likewise misses ordinaryEffect.run*calls. The unescaped pipe also splits the command into separate table cells incli/src/plan/records.ts:216-229. Separately,bridgesaccepts a bareEffect.tryPromisearoundspawnProcesseven though parent D1 andbridge.tsrequire that legacy call to drain before an interrupt releases the lock - Use separate grep expressions forEffect.promise(andEffect.run*(. Require the approved bridge helpers for legacy callees and reserve direct adapters for the allowed synchronous calls - class: migration scan accepts forbidden Effect interopcommands(line 55) - An isolated home does not isolate the POSIX process probe.tidy.ts:245-264,295-323,795-798,1072-1077returnsprocess list unavailablewhen an unrelated same-user process has an unreadable cwd. Inference: on such a Linux or macOS runner, a correct CLI printskeepinstead of the requiredremoveline for the seeded folder - Control the POSIX process-list command results in the spawned fixture so the scratch assertion does not depend on unrelated host processes - class: end-to-end fixture relies on uncontrolled host statetidy; Acceptancetidyandcommands(lines 45, 54–55) -.agents/skills/tidy-context/SKILL.md:229requires a should-fail case when changing network removal, log rotation,--repolisting, the apply-time scratch recheck, ortidyCommandinput resolution. The new plain and report cases do not cover those branches. For example, deleting the recheck intidy.ts:1255-1264would still pass the planned cases while allowing apply to delete a scratch entry refreshed after planning - Extend the existing acceptance rows to cover the affected branches required by the skill. Leave the untouchedsession_startspawn out - class: required regression coverage missing for a changed pathguidance; Acceptanceguidance(lines 46, 61) - The hash check's default root isSoT/.omp/plugin/skills(cli/scripts/skill-content-hash.ts:16-17,cli/src/skills/config.json:2). It exits 0 whether the hash in.agents/skills/tidy-context/SKILL.mdis missing, stale, or correct. That project skill has no hash today - Drop the project-skill hash refresh and its unrelated plugin hash check from this row. Keep the project metadata and guidance checks - class: acceptance command checks a different file treeDocksDocks commentedon Dec 2, 2026
Plan review round 2, delta
Plan-review: repair
commands, line 57 - Emptypsoutput means the process list is unavailable, not that no process uses the scratch folder. Both parsers returnundefinedon empty input, and both POSIX probes propagate it (cli/src/engine-native/tidy.ts:156–186,271–281,295–323). On Linux and macOS a correct CLI therefore printskeep …: process list unavailableinstead of the expectedremoveline (tidy.ts:795–798,1072–1077) - Have bothpsstubs emit valid rows for the tidy CLI's own PID, whichjoinRowsexcludes. Keeplsofsuccessful and empty - class: end-to-end fixture supplies an unavailable process listkitLock.ts:74–85throw a native error. The oldcommands/tidy.ts:85–100passes that error to the runtime. The repaired rule unwraps onlyLegacyStepFailedandPlatformError, so a typed lock-acquisition error still falls back to a newErrorwith the same message. Inference: exit 1 and the message remain, but the diagnostic loses the original error's name, stack, or cause, which the Effect formatter renders - Preserve the native cause in the typed lock-acquisition error and explicitly pass it through at the CLI boundary - class: typed error changes the CLI diagnostic.trashinfofiles among failures the base report prints.cli/src/engine-native/tidyReport.ts:293–319instead skips each unreadable entry and keeps the measured trash size, dates from other entries, and any settings hint. Inference: forwarding that read failure tosectionreplaces those lines withunavailable: …- Keep.trashinfofailures silent per entry. Preserve the underlying error text for/proc/meminfoand log failures, where the base actually prints it - class: filesystem failure assigned to the wrong reporting policyEffect.promiseleft the underlying Promise running, but it did not make the waiting fiber uninterruptible.cli/src/commands/tidy.ts:59,91–100used it in the interruptible use phase, and the Effect Promise adapter does not wait for settlement on interrupt. Inference: withdocker rmhung and a signal delivered to the CLI, the old runtime can exit after releasing the lock. The new region stays pending and holds the lock becausetidy.ts:122–123,1206waits for a child with no timeout. Leaving that region in place at the final cutover also defeats parent Move the engine-native layer to Effect #290 D2's interruptible process service - Record the changed signal behavior while the bridges remain. Have Move the process layer, the file helpers, and the kit store to Effect #297 restore interruption at the process calls while keeping log I/O protected by the lock - class: interruption policy misstates the baseline and final cutoverPrevious findings:
tidy: resolved - Line 34 limits absence handling tolstatIfPresentand keeps failedentryActivitydirectory reads unknown.tidy: resolved - Lines 35 and 46 keep log rotation and append uninterruptible inside the apply lock.runnerandtidy: resolved - Steptidynow moves the runner and all three production callers together.runner: resolved - Lines 39 and 46 retain the three exports and move the tests throughindex.ts.scanandbridges: resolved - Lines 58–59 use separate expressions without a table delimiter, reject directEffect.tryPromise, and restrict the remaining adapters by callee.commands: open - repeated above.tidyand Acceptancetidyandcommands: resolved - Lines 46 and 56 specify a should-fail case for each of the five changed paths.guidance: resolved - Lines 47, 55, and 63 drop the unrelated hash refresh and check, and retain the project skill metadata check.Manager response to round 1
Repaired:
lstatIfPresenttreatsENOENTandENOTDIRas absent, a failed directory read inentryActivitystays unknown, and printed failures keep the message of the original Node error.applyTidyruns as one uninterruptible region inside the lock scope, as the baseEffect.promisedid.tidy).index.tskeepsrunBounded,SyncConcurrency, andSyncTask; the moved tests import through it.runMainprints the same diagnostic and exits 1.Effect.promise(,Effect.run*(, andEffect.tryPromise(, with no pipe in the cell;bridgesrequires the bridge helpers for legacy callees andEffect.tryonly forkitLock.tsprimitives andprocess.kill.psandlsofstubs that print no rows, links to the real tools a case needs, and nodocker.untestedrow with a should-fail case for network removal, log rotation, the--repolisting, the apply-time scratch recheck, and thetidyCommandinput resolution; step 2 updates that Gotcha.guidancerelies on the greps andskillMetadata.test.ts.Rejected: none.
Redesigned: none.
DocksDocks commentedon Dec 2, 2026
Plan review round 3, delta
Plan-review: repair
tidy- The revised plan records a user-visible change but still says not to bump the version. Inference: ifdocker rmhangs duringtidy --apply, Ctrl+C could previously release the lock and exit; the planned command stays running with the lock held until the tool settles (cli/src/commands/tidy.ts:59,91–100,cli/src/engine-native/tidy.ts:1199–1214, Effect runtime).AGENTS.md:52–53requires a version bump and payload regeneration for this change - Keep the recorded signal behavior, addpackage.jsonandcli/src/generated/sotPayload.tsto the step, and bump the version and regenerate the payload - class: user-visible behavior change without the required version bumpPrevious findings:
commands, line 57: resolved - Thepsstubs emit valid rows for the CLI’s own PID, whichjoinRowsdrops. Thelsofstub exits successfully with no output..trashinfoentries individually and preserves native error messages where the base printed them.Manager response to round 2
Repaired:
psstubs: they print valid rows for their parent process, the tidy CLI, whichjoinRowsdrops;lsofexits 0 with no output.cause(thekitLock.tsprimitive errors included), and the command boundary dies with thatcause..trashinfo: an unreadable entry stays skipped on its own; only the log and/proc/meminfofailures keep the Node error text.Rejected: none.
Redesigned: none.
DocksDocks commentedon Dec 2, 2026
Plan review round 4, delta
Plan-review: repair
tidy(line 46) - The redesign restores prompt exit while a tool hangs, but introduces a new interruption window during log rotation.tidy.ts:1118–1126currently renames and appends synchronously, with no signal callback between them. Effect’s pinned filesystem implementation uses asynchronous rename, andengine.ts:62–67callsprocess.exit(130)before Effect can honor the uninterruptible region. Inference: a signal after the rename but before the append can leave onlytidy.log.1and lose the current run’s log lines.AGENTS.md:52–53does not allow the no-bump claim if that change stays - Defer the signal exit during the log rotation and append under the lock, while keeping prompt exit during a hung tool call - class: user-visible behavior change without the required version bumpcommands(line 57) - The new signal case specifies a deadline for the assertion but no independent way to end the waiting stub. If the regression occurs, the CLI waits forduto close (tidyReport.ts:95–100,exec.ts:178–201), whileduwaits for the CLI to exit. The preload raises the signal only once (signalSelfPreload.ts:15–21). The assertion can time out with both processes still running and no exit marker for cleanup. The existing sync fixture avoids that cycle with a hard stub lifetime (syncSignals.test.ts:69–89) - Give the waiting stub a hard lifetime longer than the assertion bound and wait for both processes to finish before removing the fixture - class: signal regression fixture cannot clean up on failurecommands(line 57) - The Move the process layer, the file helpers, and the kit store to Effect #297 handoff names only narrowingapplyTidy’s uninterruptible region. That cannot make an OS signal reach the new process service while the tidy caller still installsengine.ts:62–67’s prepended hard-exit listener. Conversely, once Move the process layer, the file helpers, and the kit store to Effect #297 removes that listener and reaps the child before CLI exit as parent Move the engine-native layer to Effect #290 D2 requires, a stub that writes its marker only after its parent disappears cannot acknowledge that shutdown. The new caller and regression case both depend on the transitional exit order - Record that Move the process layer, the file helpers, and the kit store to Effect #297 removes tidy’s hard-exit wrapper and updates the existing signal case to verify child shutdown before CLI exit - class: incomplete handoff of transitional signal behaviorPrevious findings:
tidy: open - repeated above. The hung-tool scenario is fixed, but the new hard exit changes what can happen during log rotation.Manager response to round 3
Repaired: none.
Rejected: none.
Redesigned:
goldensrow).tidyCommandruns insideexitOnSignalofcli/src/engine.ts(exported for this caller), so SIGINT and SIGTERM end the command at once with 130, as the baserunMaininterrupt did; the OS releases the lock.applyTidystays uninterruptible only against a programmatic interrupt. Thecommandsrow gains a POSIX case: adustub makes the CLI signal itself through the test preload and then waits, and the CLI exits 130 within a short bound. No version bump.DocksDocks commentedon Dec 2, 2026
Plan review round 5, delta
Plan-review: repair
tidy(line 46) - The new deferral protects the log files but ends beforeplanAndApplyprints the apply result. In the base,cli/src/engine-native/tidy.ts:1118–1126,1269–1276appends synchronously and returns the outcome;cli/src/commands/tidy.ts:57–58prints its lines as the Promise resumes. Inference: if SIGTERM arrives during the new asynchronous append intidy --apply --report, round 5 exits 130 at the end of the log region, before printing the completed removal or log-failure line that the base prints before handling the signal. That breaks the unchanged-output Goal and the no-bump premise inAGENTS.md:52- Keep the deferred exit through printing the apply result, including when the runtime listener also requests interruption, while retaining prompt exit during a hung tool call - class: deferred exit ends before the user-visible resulttidy(line 46); Acceptancecommands(line 57) - The helper-only case can pass even if the real apply path never enters the deferral. The spawned signal case runstidy --reportwithout--apply, which bypassesapplyTidy(cli/src/commands/tidy.ts:106–117), and the rotation case does not deliver a signal. Inference: every listed check can pass while a signal between rename and append leaves onlytidy.log.1- Replace the helper-only check with a selectedtidy --applycase that delivers the signal at the rotation or append boundary and checks the rotated log, the appended lines, the printed apply result, and exit 130 - class: acceptance can pass without the protected apply behaviorPrevious findings:
tidy: resolved - The current decision defers the hard exit across both log operations. The output lost after that region is a separate defect reported above.commands: resolved - The waitingdustub has an independent hard lifetime, writes its exit marker on every exit path, and fixture removal waits for both the marker and the CLI exit.commands: resolved - The current decision and Move the process layer, the file helpers, and the kit store to Effect #297’s Goal require removing both tidy signal helpers, narrowing the apply region, and updating the case to verify child shutdown and reaping before CLI exit.Manager response to round 4
Repaired:
deferSignalExitincli/src/engine.tsholds the signal exit back while the rotation and append ofapplyTidyrun; a signal there exits 130 when the region ends. A unit case in thecommandsrow covers it.dustub ends once its parent is gone or after a hard lifetime longer than the assertion bound, writes its exit marker on every exit path, and the test removes the fixture only after the CLI exit and that marker.exitOnSignalanddeferSignalExitfrom the tidy command in favor of fiber interruption, narrows the apply region, and updates the tidy signal case to verify that the tool child is stopped and reaped before the CLI exits.Rejected: none.
Redesigned: none.
DocksDocks commentedon Dec 2, 2026
Plan review round 6, delta
Plan-review: repair
commands(line 57) - The deferral now lasts through printing, but it starts too late. The base rechecks and removes all scratch entries, then appends their results without yielding (cli/src/engine-native/tidy.ts:739–751,1247–1276);cli/src/commands/tidy.ts:57–58prints those results when the Promise resumes. The pinned filesystem implementation makes the new rechecks asynchronous. Inference: with two idle scratch entries, SIGTERM during the second recheck can now exit 130 after deleting the first entry but before logging or printing its removal. The new rename-boundary case can pass despite that regression - Start deferral before the first asynchronous filesystem operation in the formerly synchronous scratch-and-log tail, keep it through printing, and cover the earlier signal boundary in the spawned case. Keep prompt exit while a tool is hung - class: signal deferral starts after a new interruption boundarycommands(line 57) - The row limits the hung-dusignal case to Linux and macOS but leaves the new scratch-rotation case unqualified. Windows runs the unit suite (.github/workflows/parity.yml:99–126) and has no tidy process list (cli/src/engine-native/tidy.ts:325–331). Tidy therefore keeps the seeded scratch folder (tidy.ts:795–798,1071–1077), so the fixture never reaches apply or the rename (cli/src/commands/tidy.ts:54–58) and cannot observe the required exit 130 - Limit the spawned scratch-rotation signal case to Linux and macOS. Keep the Windows dry-run and report expectations - class: acceptance fixture cannot reach the tested branch on a supported platformPrevious findings:
tidy: resolved - The deferral now lasts through apply-result printing, and the uninterruptible region covers printing even whenBunRuntime.runMainalso requests interruption.tidy; Acceptancecommands: resolved - The helper-only check is replaced by a spawnedtidy --applycase that delivers SIGTERM between rename and append and checks stdout, both log files, and exit 130.Manager response to round 5
Repaired:
applyTidyacquiresdeferSignalExitin the scope of the command, which closes after the apply result is printed; the apply and the printing run as one uninterruptible region, so therunMaininterrupt also waits for the printing.tidy --applycase that gets SIGTERM between the rename oftidy.logand the append, exits 130 after it prints theremovedline, and keeps the old log intidy.log.1and the new line intidy.log; it fails when the deferral is removed.Rejected: none.
Redesigned: none.
DocksDocks commentedon Dec 2, 2026
Plan review round 7, delta
Plan-review: repair
tidy; Acceptancecommands-runTidycan run--reportafter a successful--apply(cli/src/commands/tidy.ts:108–120). A finalizer registered in the command scope runs when the whole command finishes, not when apply prints its result (Effect 4.1.7scoped). Inference: ifduhangs during the report phase oftidy --apply --report, SIGTERM is still deferred. The runtime interrupt waits for the uninterruptible subprocess bridge (cli/src/engine-native/tidyReport.ts:95–117;cli/src/engine-native/bridge.ts:49–54), so the CLI hangs instead of exiting promptly with 130. The report-only case does not enter the deferral and can pass - KeepexitOnSignalactive for the whole command, but close a nested deferral scope immediately after apply-result printing and before entering the report - class: signal deferral outlives the protected workcommands(line 57) - The shared fixture rule excludesdockerfrom PATH, but the new hung-rmcase needs a Docker stub there. With no executable,defaultTidyHostreports Docker missing, soplanTidydoes not list containers andapplyTidynever reachesrm(cli/src/engine-native/tidy.ts:333–340,925–943,1234–1246) - Give the hung-rmcase its own PATH containing the Docker stub. Keep Docker absent from the other fixtures and never resolve the real binary - class: acceptance fixture excludes the executable needed to reach the tested branchPrevious findings:
commands: resolved - Deferral now starts at apply entry and covers the scratch rechecks, removals, log writes, and result printing. The tool-call exit points preserve prompt exit at a hunggitordockercall.commands: resolved - Both spawned scratch-apply signal cases are limited to Linux and macOS. The Windows dry-run and report expectations remain.Manager response to round 6
Repaired:
Rejected: none.
Redesigned:
applyTidyacquiresdeferSignalExitat its start; eachgitanddockercall of the apply runs inside the newsignalExitPoint, where a recorded or new signal exits 130 at once. The spawned cases cover a signal during the second scratch recheck, one between the rename and the append, and a hungdocker rm.DocksDocks commentedon Dec 2, 2026
Plan review round 8, delta
Plan-review: repair
commands,tidy --apply --report(line 57) - The fixture has “nothing to apply.”planAndApplyprintsNothing to tidy.and skipsapplyTidywhen there are no actions (cli/src/commands/tidy.ts:56–63), butrunTidystill starts the report (cli/src/commands/tidy.ts:113–118). The check is meant to show that signal deferral ends before a hung report. As written, the CLI can exit promptly with 130 even if deferral still uses the whole-command scope, because the fixture never enters deferral - Seed one removable scratch entry and a report cache directory. Assert that the entry was removed, then send SIGTERM once thedustub is waiting on that cache and require exit 130 within the bound - class: acceptance fixture bypasses the state transition it checksPrevious findings:
tidy; Acceptancecommands: resolved - The current design closes the nested deferral scope after printing the apply result and before starting the report. The command-wide signal handler stays active.commands: resolved - The hung-rmcase now has its own PATH with the Docker stub and no real Docker executable.Manager response to round 7
Repaired:
applyTidyacquiresdeferSignalExitin a nested scope thatrunTidyopens around the apply and its printed result and closes before--reportstarts;exitOnSignalstays active for the whole command. A new spawned case:tidy --apply --reportwith a hungdustub exits 130 within the bound.rmcase has its own PATH with thepsandlsofstubs and adockerstub, never the realdocker.Rejected: none.
Redesigned: none.
DocksDocks commentedon Dec 2, 2026
Plan review round 9, delta
Plan-review: pass
None.
Previous findings:
commands,tidy --apply --report(line 57): resolved - The revised fixture removes a seeded idle scratch entry and checks itsremovedline before sending SIGTERM while the report’sdustub waits on.npm. Requiring exit 130 within the bound now checks that signal deferral ends before the report.Manager response to round 8
Repaired:
tidy --apply --reportcase seeds one idle scratch entry and a.npmfolder, asserts theremovedline, and sends SIGTERM while thedustub waits on.npm; the CLI exits 130 within the bound.Rejected: none.
Redesigned: none.
DocksDocks commentedon Dec 2, 2026
Code review round 1, lens correctness
Code-review: pass
Standards
lstat, the new file is absent from the listing and the directory's fresh mtime is never read. Inference: tidy can delete the newly active directory; the serial async reads widen the window compared with the synchronous scan.removeTemporaryPathchecks ownership and location, not activity. - Recheck the directory's identity and mtime after inspecting its children, and keep it if either changed during the scan. - class: stale directory snapshot before deletiontidy --applyholds its lock and delayingtidy --reportbefore disk measurement begins. The size of the slowdown is unmeasured. - Batch independent metadata reads with bounded concurrency, preserving result order and fail-closed checks. - class: serialized async metadata scansEffect.exitcan capture the failure and yield before the generator marks the pool as draining. Inference: a ready sibling can then admit a queued task after the failure. The bounded-runner fixtures do not exercise that boundary; report sizing has a short failure path, and worktree inspection recovers probe failures before they reach the pool. - Record the failure synchronously in the task'sEffect.onExitcallback, before returning control to the worker loop. - class: failure published after a scheduler yieldDate.now(), and no CLI input supplies a clock. The base caught this as a log failure and still returned the action lines. - Recover non-interruption defects at the log boundary as well as typed filesystem failures. - class: typed recovery drops legacy log defects.gitmarker can enter worktree inspection instead of getting the originalnot a linked worktreereason; a BOM-prefixed Bun manifest or a.trashinfofile starting with a BOM-prefixedDeletionDatecan add report lines the base omitted. Production reach assumes Bun's legacy UTF-8 read matches Node's. - Read bytes throughFileSystemand decode without stripping the BOM at these parser boundaries. - class: implicit BOM normalization changes parsingSpec
None.
Code review round 1, lens spec-and-tests
Code-review: pass
Standards
docker rmdefer SIGTERM, the test times out and teardown sends another SIGTERM to the same deferring handler. The CLI and stub can then remain alive until the stub's 90-second deadline, after teardown has stopped tracking the fixture. - Give teardown a separate way to release the waiting stub, confirm both exits and the marker, then remove the fixture. Keep the single self-signal on the passing path. - class: teardown repeats the failed stop mechanism.npm. IfsizeKbstill launchesdubut discards its result and returns zero, this case and the signal cases still pass. Thecommandsrow inplan-295-cr1.md:57requires the measured entry. - Seed a cache whose size rounds to a nonzero value and compare the report line with an independentdu -skmeasurement of that fixture. - class: shape-only assertion for measured outputEffect.allwould then interrupt started siblings on a defect instead of draining them. No case interrupts the caller either. - Add gated cases that verify a defect drains the pool and retains its cause, and that interrupting the caller interrupts both started workers without starting queued work. - class: untested defect and interruption paths--repocase gets the expected error without Git ever checking the folder. It would reject a valid repository for the same reason. The linked-worktree test passesinputs.repodirectly and does not cover this CLI resolution. - Put a working Git entry in the isolated Windows PATH and add a positive spawned--repocase to distinguish validation from an unavailable tool. - class: negative test satisfied by a missing dependencyTMPDIRcontaining an apostrophe or dollar sign makes stub setup throw before any CLI assertion runs. - Quote the static paths with the existingshQuotehelper and register a shell cleanup function as the trap, rather than embedding paths in the trap text. - class: fixture rejects valid host pathscatchCausewith typed-only recovery leaves the assertions green even though a defect would abort the whole report. - Inject a defect into one section and assert its exactunavailable:line plus normal output from another section. - class: untested section defect isolationSpec
TextDecoder, whereas the removed UTF-8 reads preserved the BOM. Inference: a BOM-prefixed.gitmarker is now admitted as a candidate rather than kept asnot a linked worktree; a BOM-prefixed Bun manifest now lists packages the base report skipped. The same change affects a.trashinfofile withDeletionDateon its first line. This conflicts withplan-295-cr1.md:34, “each call keeps its base outcome,” and the output constraint at line 72. - Read bytes throughFileSystemand decode withignoreBOM: trueat the affected parsers. - class: changed UTF-8 decoding semanticsreleaseKitLock, but its source range still ends at line 121 and omits the release implementation. Step 2 inplan-295-cr1.md:47calls for updating thesource_filesranges; the metadata test only checks that the range ends inside the file. - Extend the lock range through the release implementation. - class: stale source range omits documented behaviorCode review round 1, lens text-and-safety
Code-review: pass
Standards
entryActivitysamples the directory mtime, the new file is absent from the saved listing. The migration gives that race a separate asynchronous wait for every remaining child. Inference: the sweep can still classify the directory as idle and recursively delete the new file.removeTemporaryPathchecks ownership and containment, not activity. This defeats the base rule that the safe sweep removes “idle scratch” (cli/AGENTS.md:19). - Recheck the directory identity and mtime after sampling the children, keep the entry if either changed or cannot be checked, and cover a write during the scan. - class: stale activity check before recursive deletion.npmtest puts an unrestricted realduon PATH. The report also runs it on same-user directories under/tmpand/var/tmpand waits for those measurements before printing any section. Inference: a large or slow directory unrelated to the test can delay or time out the.npmassertion. - Delegate to realduonly for the seeded.npmpath and return a bounded stub response for other paths, as the waitingdufixture already does. - class: spawned test reads outside its fixtureprocess.ppid, the stub can mistake its new parent for the CLI and hold its ticket until the 90-second lifetime expires. Inference: the 10-second teardown then leaves the fixture behind. This is a gap in the second supervision implementation; the sync fixture already records the actual CLI PID and handles a late-starting stub. The directchild.kill()also contradicts the fixture's “no process of these cases signals another process” comment. - Reuse the existing supervisor's CLI PID record and request-file teardown for the signal cases. - class: duplicated child supervision loses parent identityacquireKitLock, the Promise poll that now has only test callers. - Point production guidance totryAcquireKitLockand describe the Promise poll separately as test-only. - class: stale production entry-point guidancerunTidy,TidyHost, andbuildTidyReport, and the package declares a CLI rather than a library API. Exporting the definitions makes private implementation details look supported. - Keep the definitions local; retain exports that have callers, includingTidyFailure. - class: unused internal exportsSpec
None.
Move tidy, its report, and the bounded runner to Effect
Point the tidy guidance to the Effect apply lock and signal rules
DocksDocks commentedon Dec 2, 2026
Code review round 2, delta
Code-review: pass
Previous findings
The round-1 findings remain open in #302. This delta does not repair them.
cli/src/engine-native/tidy.ts:837-845: open - stale scratch snapshot before deletion.cli/src/engine-native/tidy.ts:307: open - serialized metadata scans.cli/src/engine-native/syncConcurrency.ts:43-47: open - failure publication can yield before the pool stops.cli/src/engine-native/tidy.ts:1259: open - log recovery misses defects.cli/src/engine-native/tidy.ts:618-620: open - BOM normalization changes parsing.cli/test/unit/tidy.test.ts:981-1000: open - teardown repeats the failed stop mechanism.cli/test/unit/tidy.test.ts:1196-1216: open - the assertion still checks size format, not the measured value.cli/test/unit/syncConcurrency.test.ts:175-222: open - defect and interruption paths lack tests.cli/test/unit/tidy.test.ts:1226-1240: open - missing Git can satisfy the Windows negative test.cli/test/unit/tidy.test.ts:894-900: open - fixture setup rejects valid host paths.cli/test/unit/tidyReport.test.ts:134-178: open - section defect isolation lacks a test.cli/src/engine-native/tidy.ts:615-620: open - UTF-8 decoding changes base behavior..agents/skills/tidy-context/SKILL.md:12-13: open - the source range omits lock release.cli/src/engine-native/tidy.ts:824-845: open - stale activity check before recursive deletion.cli/test/unit/tidy.test.ts:1196-1211: open - realducan read outside the fixture.cli/test/unit/tidy.test.ts:975-999: open - child supervision can lose the parent PID..agents/skills/tidy-context/SKILL.md:147: open - signal timing guidance omits pending signals..agents/skills/tidy-context/SKILL.md:169: open - production lock guidance points to the old entry point.cli/src/commands/tidy.ts:40: open - unused internal exports.Standards
None.
Spec
None.
Manager response to round 1
Repaired: none. Round 1 passed; its open findings are in #302.
Rejected: none.
Redesigned: none.
Round 2 reviews the fix of a Full CI failure (
RegExp.escape is not a functionon the Ubuntu and Windows runners) in commit b7c4936.DocksDocks commentedon Dec 2, 2026
Archived with landing pull request #303