Skip to content

Model stateful tooling and complete the repository inventory #273

Done

Description

@DocksDocks

Goal

Resolve first-party supporting code: smoke final scans, shell token and redirection scanners in source extensions, bundle lexing, reusable test harnesses and benchmark tools. Audit remaining tracked executable sources and record each candidate as explicit, changed, orthogonal or inapplicable with its reason. Do not rewrite generated or vendor copies by hand.

Yolo: the user delegated every decision except the merge to the agent.

Mode: plan-and-implement

Research

Base cfdd9066ab83eae7c03abf152498d26ba677dfe4, 2026-12-01. Recursive git ls-tree visited 1,151 entries without descending into frozen plan history. No new dependency or public interface. docks-kit agent-docs verify-skill detect returned verify skill: present.

Inventory and decisions

  1. Final scans and test processes. smokeScan.ts sessionRegistryChecks has a final promise plus finalEnded. Before completion, final-answer and timeout must share the exact promise. After completion, only timeout starts a new scan. Keep the original final promise for repeated answers and diagnostics; its successful completion changes the phase. Keep the latest timeout scan independent. omp-smoke.ts talkMode and talkUiMode pair handles with exit results. Use not-started, live-with-handle, or closed-with-result. Do not put peer, sender and terminal in one phase: they close separately. Preserve pre-readiness scan attribution and scan-before-close order, including early failure. Revert this fixture-only change independently. Guard against double close and losing a leak report using the real fixture and controlled scans.

  2. Fixture call ownership. In smokeTalkTurns.ts ScriptedSession, abort stores an error and clears the outstanding result; a later call rejects with that error. Put the waiter, idle state and aborted error in one slot. Keep whether the opening prompt has occurred separate: staged calls, auxiliary requests and response timing do not imply that the prompt occurred. In omp-smoke.ts PeerCalls and TerminalModel, awaiting a marker needs the marker and whole call. After issuing it, only the result ID, resolver and any handover draft are needed. Use the same local transition shape for both. Do not infer the phase from the input message or keep an issued flag beside stale payloads. Revert locally. Check marker matching, side turns, cancellation and late results with private fixture calls.

  3. Token readers. hygiene.ts scopedSegments keeps the word, presence, quote flag and last unquoted offset independently. Use absence or one active token with text and quote metadata. Allocate only on word start, not per character. An empty quoted word is present. Keep the pending heredoc and segment scope independent. In build-talk.ts lexCode, keep the start only with a candidate loader; preserve it through import.meta.require and comments. Ordinary identifiers need no candidate allocation. Distinguish the control and plain parenthesis markers from import offsets without changing returned maps. Keep independent template nesting, regex eligibility and property position. Revert either scanner separately. Guard against silently changing offsets, emptied tokens and terminal word flushes with existing suites and a base-versus-head inert-text corpus. Do not unify two grammars or execute scanned text.

  4. Existing explicit state and independent facts. verify-gate-core.ts parseShell already distinguishes absent input, ready text and a deferred heredoc reference. The queue keeps each delimiter with its own target. context-tree-core.ts has an optional root; the extension adapters delegate. smokeScan child replies use a kind and status; scanInChild has a one-shot guard for independent process events. Fixture PeerModel has independent one-shot opening and slow-turn promises. Benchmark escapes.mjs tracks a current block and a fence that can occur inside or outside it. score.mjs counts independent timestamps, classifications, cumulative evidence and per-section occurrences. The signal and process in keys.mjs can coexist: a signal prevents later launches and also stops the latest child. No real key or benchmark case is needed. prepare.mjs, redact.mjs, omp.mjs and outcomes.mjs transform records, run ordered steps or release owned paths. Preserve independent facts instead of building a product of unrelated phases. Reverting this decision costs only an inventory revision; a new dependent pair needs its own evidence, implementation and tests, not an exclusion.

  5. Coverage and proof. Index exact paths with ordered ownership rules and explicit exceptions for shared files. Model the bounded worker pool’s failure drain #268 owns bounded workers; Make CLI terminal and child-process lifetimes explicit #269 owns other engine and command code; Model plan write ownership and close-event evidence #270 owns plan I/O and its GitHub fixture; Make talk transport and binding lifetimes explicit #271 owns transport and binding; Make talk delivery and interactive flow phases explicit #272 owns delivery and UI; Model stateful tooling and complete the repository inventory #273 owns scripts, source extensions, test infrastructure, installers, workflows and remaining inputs. Record both owners for shared sources and callers. Distinguish generated artifacts, test-only scenarios, configuration, vendored text and frozen benchmark inputs from executable implementations. In cli/test/lib, optional owned bundle paths release once, current quote is already a literal union, trigger scope flags are independent, and timeouts race existing promises. cli/scripts/pluginContent collects facts or scans sequentially; blank-line, frontmatter and field-presence flags have no dependent payload. The root installers and CI workflows use ordered steps and explicit dependency edges. Fail closed on unclassified executable inputs; report exact revision, counts, boundary rules and candidate dispositions in the issue. A count alone would not catch a reverted model. Recompute on final main even if its paths look unchanged. Any new machine in another assigned owner follows the parent’s new-child rule. No permanent inventory file.

  6. Unit guard baseline. cli/test/lib/rootGuard.ts stores fingerprints independently of the matching Git snapshot. Let the Git baseline own its hashes. A names-only baseline needs none. Do not hash the teardown snapshot wholesale. Keep the no-report rule if Git availability changes midrun. rootGuard.test.ts covers overwrites, rename targets, missing Git and failures. Revert this file independently. Reject leaving two mutable baselines: resetting one without the other would compare unrelated data.

  7. Load baseline correction. At the recorded base, the load check returned 1 although hooks passed. In a private fixture five requests used the fixture model: four had no fixture prompt and offered neither tool; the fifth held a complete host reminder and a separate text part exactly equal to the prompt. That fifth request offered talk and the review agents. Select the first fixture opening by model and exact prompt, independently of tools. Check both advertisements on that same request. Do not select the first request with talk, merge advertisements across requests, disable auxiliary traffic or change default tool configuration. A print fixture with the tool deliberately omitted must still fail; answer text and live requests outside the fixture are not inspected. Revert only this test-driver correction to restore the old assertion.

  8. Hook ownership and stop reminders. In printSessionRegistry, attribution and final-answer hooks refer to the same active check; expose that owner to the scripted responder in one slot. Keep per-session results available for reporting after detachment. In hygiene.ts, resource creation and scratch creation feed one process-wide ledger. A key can be absent, pending with its latest resource, or already reminded. Remember that last state across re-recording and overlapping existence checks; a late negative result must not erase an earlier reminder. Keep immediate creation notices and stop output unchanged. Reject a single global stop phase and a pair of mutable collections. Revert locally. Verify repeat creation, missing resources, active stop hooks and overlapping stop results with fixture-owned resources.

Round 1 correction (owner: tokens). Asked: “Keep immediate creation notices and stop output unchanged.” The existing overlap cases reproduce two incorrect outcomes: a stale negative deletes a replacement, and two stops both announce one resource. Both conflict with the documented stop check and the once-per-key ledger. Preserve normal output and creation notices, but correct those two races. Apply a result only to the exact pending record that was checked; a newer record remains pending and an already reminded key stays quiet. A global lock would unnecessarily serialize unrelated keys. A generation counter duplicates the existing record identity. No new service, permission or production action. Revert the ledger fix, tests and patch version as a unit if ordinary stop output changes.

Review proof correction (owner: fixture). For hygiene-mktemp, require the tool reply followed by a completed assistant text answer and a new stop-specific user message in the same request history. A user context following only a tool result is not enough. Test a synthetic early notice and a real stop continuation. Exercise the driver's actual verdict for both split advertisements with code-reviewer and plan-reviewer. An absent opening request must not claim that the agents were inspected. Match the visible load prompt exactly, without altering the talk responders' existing whitespace behavior. Add troubleshooting for missing requests and stop continuations. Keep test mocks typed; do not cast unknown results into the expected shape.

Tools: kit 0.31.0, GitHub CLI 2.103.3, Git 2.53.0, Bash 5.3.0, Bubblewrap 0.11.1, Python 3.15.0, Node 26.13.0 and Bun 1.4.5 from version output. TypeScript 7.0.2, Effect 4.1.7, @effect/tsgo 0.74.1, Oxlint 1.95.0 and Vitest 5.1.2 from package.json. Use the hash-verified omp 19.2.1 as in #271. See the TypeScript handbook. The only external dependency of the local behavior proofs is a public, credential-free npm dependency read in step 8. All sync and session fixtures run offline.

Package correction. Asked: “The bundle itself must remain identical.” The offline prepack correctly rejected that requirement after the patch bump. cli/talk/extension.ts imports the kit version from package.json. The old bundle contains the string var version="0.31.2" exactly once. Regenerate it with build-talk.ts; compare every byte against the old bundle after replacing that single literal with var version="0.31.3". Compare the deployed bundle and manifest digests independently in all twelve snapshots. Keep every protocol version and all other bundle bytes unchanged. Do not disable a generated-file check or hand-edit an artifact. Revert the generated changes together with the patch version.

Isolation for A3 and replays. Replace the broad home mount, not just HOME. Start a Bubblewrap root with private user, PID and network namespaces, temporary home and temporary filesystem, fresh /proc and /dev, and an empty environment. Mount system programs and libraries, passwd/group/NSS/loader configuration, Bun, dock-kit’s installed executable, and the hash-verified omp executable individually. For V6, expose only SoT, cli/talk, cli/src, .agents/skills/verify, package.json and node_modules under the private /repo. Use a private loopback provider. Do not mount a user home, .git, benchmark data, host session directories or the host root. Run the V6 command from the private work directory using absolute sandbox paths. For non-V6 replays that need Git, provide a clean, fixture-owned checkout of the exact revision with private writable build/test directories, no host home, credentials or registry. Keep historical PR evidence separate from runtime files.

Pre-readiness control. Test the same fixture code that owns pre-ready attribution and process closure. Use an RPC test peer that exits before its ready line. Capture its fixture PID at spawn. Supply a synthetic final-scan response for that PID only: fixture peer scan before ready. Require both the failed startup step and that diagnostic in the final registry report, followed by successful private cleanup. Do not create any registry entry, spoof a peer or read real session data. Run for both talk modes; the terminal can already be ready when its peer fails. A successful live peer, missing-tool test, aggregate scan count or fabricated success does not prove this case.

For the dropped-key control, start with the exact clean revision’s driver. Require exactly one buffered CTRL_S_KEY + ENCODED_ESCAPE_KEY + focusKey expression. Remove only CTRL_S_KEY + from that expression. Assert all other bytes are identical before overlaying it. Do not reuse a full driver from another head. For the two missing-tool controls, overlay the current candidate extension files and the selected fixture registration adapter; leave the candidate driver unchanged.

For A5, replace the bwrap --ro-bind / / wrappers in #268 A3 and #269 A6. Run their identical inner bun -e tidy fixture inside the restricted test namespace. It passed on the base there. The caller combines the positive exit, keep line, cache report and continued existence assertions. Mount exact-revision source paths and required runtime tools, never the host Git database. Vitest uses private writable caches. The guard’s driven negative uses its own small Git checkout, not the user's checkout.

Steps

# Id Task Files Depends Effect Status Done when
1 scans Model final registry scans and the scripted sender's outstanding call .agents/skills/verify/scripts/smokeScan.ts, .agents/skills/verify/scripts/smokeTalkTurns.ts, cli/test/unit/verifySmokeScan.test.ts, cli/test/unit/verifySmokeTalkTurns.test.ts - local done A1 and A3 preserve promise identity, terminal failures and fresh scans.
2 fixture Model process closure, print hooks and marked calls; select the actual load fixture turn .agents/skills/verify/scripts/omp-smoke.ts, .agents/skills/verify/SKILL.md, .agents/skills/verify/scripts/smokeTalkTurns.ts, cli/test/unit/verifySmokeTalkTurns.test.ts 1 local done A3 distinguishes startup, readiness, hook attachment and missing tools.
3 tokens Group token data and model reminder eligibility per resource SoT/.omp/plugin/extensions/hygiene.ts, cli/scripts/build-talk.ts, cli/test/unit/ompKitPluginExtension.test.ts, cli/test/unit/talk/build.test.ts - local done On pre-bump candidate f7a1763, A1–A3 preserved lexer and reminder behavior. Step 7 corrects its stale reminders.
4 payload Refresh the embedded source and its expected install digests cli/src/generated/sotPayload.ts, cli/test/goldens/mutation.json 3 local done On pre-bump candidate f7a1763, A4 passed with unchanged talk.js. Step 7 uses the single version-literal comparison and its three digest checks instead.
5 guard Attach content fingerprints only to the Git baseline cli/test/lib/rootGuard.ts, cli/test/unit/rootGuard.test.ts - local done A1 preserves overwrite, fallback and midrun mode-change outcomes without duplicate state.
6 inventory Reconcile exact paths, candidates and child proofs in this issue - 1, 2, 3, 4, 5 local done A5 passes for this candidate; parent P1–P3 remain mandatory after merge.
7 review_fixes Correct stale reminder results; tighten the driver proofs; prepare the offline package SoT/.omp/plugin/extensions/hygiene.ts, SoT/.omp/plugin/extensions/talk.js, .agents/skills/verify, cli/test, package.json, CHANGELOG.md, cli/src/generated/sotPayload.ts 1, 2, 3, 4, 5, 6 local done The code, A1–A3, local A4, inventory and targeted replays pass. The offline pack provides one versioned tarball and its SHA-256. This step does not install the tarball or depend on step 8.
8 package_probe Verify the exact packed CLI from step 7 in a disposable consumer - 7 probe done bun run smoke:package <tarball> passes using read-only public npm dependency resolution. The packed binary reports the expected version. No credentials, publication, sync outside the fixture, or release.

Acceptance

ID Command Expected
A1 bun run test:unit cli/test/unit/{verifySmokeScan,verifySmokeTalkTurns,ompKitPluginExtension,ompKitPlugin,skillMetadata,rootGuard}.test.ts cli/test/unit/extensions/verify-gate.test.ts cli/test/unit/talk/build.test.ts Existing consumer tests pass. Check the original final promise after refresh, abort before and during a call, auxiliary traffic ahead of the prompted load with a missing tool, empty quoted words, loader offsets and root-guard Git/fallback/mode-change behavior.
A2 Use the fixed inert corpus. From a clean candidate, run bun --no-env-file "$scratch/corpus.ts" SoT/.omp/plugin/extensions/hygiene.ts cli/scripts/build-talk.ts > "$scratch/candidate.json"; run sha256sum "$scratch/candidate.json". The 416 shell cases and 212 JavaScript cases give 062a8188b5d9cb64b2e7abbbe81a2f820cd809420ea1884f3fbb78d4dc1bf53d, calculated on base cfdd9066ab83eae7c03abf152498d26ba677dfe4. To replay both sides, git show "$base:$path" both source modules into scratch and run the same command with those two paths; cmp must pass. No text input executes.
A3 In the private sandbox described above, run bun --no-env-file /repo/.agents/skills/verify/scripts/omp-smoke.ts --repo /repo --omp /tools/omp. Repeat with each of hooks, talk and talk-ui immediately after the script path. Run the three #271/#272 negative controls and the two pre-readiness cases. Run the existing #271 print-process missing-tool control also in load mode. All positive modes exit zero. Missing tools fail on the exact prompted turn, even after auxiliary traffic. The dropped key fails at the focus probe. Early peer exit reports both startup failure and the scan of that peer. Each control exits nonzero for its specified reason and cleans its private registry.
A4 Step 7, offline: generate and verify the talk bundle, payload, twelve sync cases, types, lint, format, public dry-run, fixture sync and bun pm pack --destination <scratch>. Step 8: check the stored tarball hash and run bun run smoke:package <tarball> on those bytes. Step 7 proves the exact single version-literal substitution in the talk bundle, the deployed fixture manifest and all affected digests. Step 8 proves dependency resolution and the packed CLI version. The local step does not wait on the probe.
A5 On the clean candidate run the recursive git ls-tree procedure of #267 P3. Apply the source and test assignments above. Inspect every candidate’s source and record every path category and exception against that revision. Rerun the behavior commands in #268–272 Acceptance (see #267 P3). No unclassified executable or lost model, including cross-owner callers. Record the exact commands, positive and negative outcomes, and counts by path family. Repeat on the final default revision before parent closure; earlier hosted CI does not replace these checks.
A6 Mark the reviewed draft ready and verify the Actions Full CI run, attempt, actor, jobs, expected merge parents, head and current base as in #272 A4. All jobs succeed, including portable checks. GitHub accepts this exact reviewed head. Record the full local suite separately from hosted CI.

Driven guard check for A1. In a new disposable Git fixture, place the actual rootGuard.ts under its original relative path and use it as Vitest’s globalSetup. Commit a harmless fixture text file, then change it before Vitest starts. Have one passing Vitest case overwrite that already-dirty file again. Require a nonzero exit and the exact modified during run: fixture.txt diagnostic. Keep the actual repository read-only. Also run a control without the overwrite and require exit zero. No deliberate change may reach a user file.

Same-request regression for A1. Give the auxiliary request both review agents, then give the actual fixture request talk but no review agents. Require the load probe to report the agents missing. Test the inverse split as well. Both decisions must come from the same first prompted request, not a search for a suitable tool.

Stop continuation for A3. Extend the real hooks fixture. After the fixture creates its disposable directory and attempts to stop, require a new user-context message at the local provider containing both the stop-only heading and that directory's exact path. Do not count creation context, an earlier session's message, system instructions or command output as a continuation. A read-only base probe observed one such user message. No production resource is involved.

Active print hook for A3. In separate load and hooks controls, leave the fixture attribution and the normal process exit in place. At the final scan boundary only, return fixture live print final scan for the matching still-live print process (session in load, hygiene in hooks). Require that exact diagnostic in the driver's registry result after detachment, exit 1, no process timeout and successful private cleanup. In particular, a timeout-initiated scan cannot satisfy this proof. Do not seed a registry file or inspect any actual registry entry to make the control fail.

For each print control, assign an ID to each streamed request in the fixture provider. Carry that ID in asynchronous context through the real responder. Record the text decision, actual final-scan launch, decoded child reply and first text write. Require exactly one target launch and exactly those four events in that order for the same positive ID. An attribution-time scan has no qualifying ID. An unawaited reply follows the first write and fails the comparison. Keep the normal post-detachment registry check. Both controls produced that order on the base. The observer logs only event names and synthetic IDs, never request contents.

For the tokens correction, call the active stop before any inactive stop. Check the three overlaps in Patch proof. Run the corrected regressions against the original candidate and record their failures. Bump only the kit patch version and document the changed race outcomes. For A4, permit only the independently computed hygiene, deployed manifest and generated bundle digests in the twelve sync snapshots. Apply Package correction's whole-bundle comparison before computing the digest. Verify the payload with check:generated. Keep original candidate results below as history, not evidence for the updated release. Never release.

Patch proof. The original candidate says 0.31.2. On the reviewed child require 0.31.3 from the packed CLI and the deployed plugin manifest. For parent P3 use the version in the exact final main manifest; do not require that later releases keep reporting 0.31.3. Check all three overlaps: duplicate positives, stale negative after replacement and stale positive after replacement. In the last case the old result must not remind or mark the new record; the next stop checks the replacement. Normal output stays the same.

Separate environments. Run the actual public dry-run and fixture sync in a private offline mount namespace with a cleared environment. Do not inherit HOME, PI_*, DOCKS_*, XDG_*, Git, Docker, or credential variables. No host root, home, .git, session folder or writable checkout is mounted. Bind only the required source files and executables read-only. The output, stub tools and new home are fixture-owned. Read the version from that home's deployed plugin manifest. Pack offline on the same revision. Pass that exact tarball, mounted read-only, to a separate disposable consumer with public npm access, no credentials or inherited configuration. The smoke installs only local fixture dependencies and runs a dry-run; it does not publish or release.

Gate boundary. Run the focused child and caller checks locally. Run the complete unit and golden gate once in the protected workflow on the reviewed candidate, as in #268–272. Do not claim the whole local gate ran. Record the local checklist item as unticked; a green hosted result is not local evidence.

Do not touch

Keep commands, public types, token grammar, normal output and deadlines unchanged. The only product behavior correction is the stale or duplicate reminder identified above. Never execute a scanner corpus input. Do not use live sessions, real keys, external model accounts, benchmark answer keys or frozen plan history. Do not change the benchmark corpus or merge policy, and do not edit generated files by hand.

Open questions

Verification Results

Candidate f7a17633972baaf419dff7b99ffa329e9984bd99 on base cfdd9066ab83eae7c03abf152498d26ba677dfe4.

  • A1/A5: all 34 focused suites passed in a private Linux namespace on the clean candidate: 1,300 tests passed. Two conditional tests did not run locally: the Windows tidy report and the hosted-CI-only registry test. In a disposable Git repository the real Vitest guard passed its control, then rejected an overwrite with modified during run: fixture.txt. The public tidy fixture kept its dirty worktree and reported its cache.
  • A2: all 628 inert inputs gave the original output byte for byte, SHA-256 062a8188b5d9cb64b2e7abbbe81a2f820cd809420ea1884f3fbb78d4dc1bf53d. No input executed.
  • A3: the real omp 19.2.1 passed load, hooks, talk and talk-ui. The prompted request offered both review agents and talk. The stop continuation named the exact directory. All eight negative controls failed at their intended boundary and removed their private registry. The print controls traced the same request from text selection through scan launch and reply to the actual text write; the registry report retained the diagnostic after detachment.
  • A4: type checking, scoped lint, formatting and both generated-file checks passed. The two existing Effect suggestions are outside this change. The bundle matched the base byte for byte. Only the twelve hygiene digests changed in the sync snapshots. Both public dry runs and all twelve sync mutation cases passed.
  • A5: candidate inventory lists every non-record path. All 1,151 entries were classified without descending into frozen plans. The reviewed child models remain present; the candidate repeats all five siblings' reproducible behavior checks. Parent closure still requires a fresh replay on main.
  • A6: pending the reviewed pull request and its protected check. The complete local suite did not run.

Repaired head 47612aa56e39eaf79a792554455e42193276ac89:

  • A1/A5: all three overlap regressions failed on f7a1763. On the repaired commit, 1,308 tests passed in 34 files, with the same two conditional skips. The actual Vitest guard rejected the dirty fixture, and the public tidy command preserved the dirty worktree.
  • A2/A3: all 628 inert lexer inputs matched the base bytes. All four isolated omp modes passed. Each of the eight negative controls failed for its intended reason and removed its private registry.
  • A4: prepack initially rejected the old generated talk bundle. Regenerated it and the payload. A byte comparison permits only its package-version literal. All 36 snapshot digest updates match the independent computation. Both public dry runs and all twelve mutation cases passed. check:types, scoped lint and format, and check:generated passed. The two unrelated compiler suggestions remain.
  • Offline public sync installed the 0.31.3 plugin manifest in a private home. The hash-checked tarball c724beb0e0aebb93b0e1765520b3d7d5519ad286f81a8a166e627d9c5ccf7c1b passed smoke:package in a separate consumer. Its installed CLI reported 0.31.3 and resolved all four exact pins. No release or deployment.
  • Final candidate inventory: all 1,151 paths classified, same six owners. A6 awaits protected CI. No full local suite claimed.

Round-3 head 0a3b9cbe65b10c3501f6a3b98a0d5f7cd0ef65a9. The previous print control scanned on synthetic request 183; the stop continuation arrived on request 184. The new control proves that the same post-stop request launches and awaits its scan before answering. Both pre-readiness controls now retain exit 47 in the session summary and still report the peer scan. All four positive and eight negative runs behaved as expected. The three focused test files passed all 41 tests, including an ok answer with tool calls, missing or partial agent sections, and a session that ends without a final scan. Type checking, lint and scoped formatting passed. No packaged file changed, so the hash-checked tarball proof still applies. All 1,151 paths retain their owners; the updated inventory hash is 5bebc83dd353310bda2bdfcd0fee5ed4aa574dc7db90b8fb03d265c93e4b9ed1.

Round-4 head bd626363fd0a6c508e0f6fc0bda0053fc9507f57: the last full local replay passed 1,313 tests across 34 files, with two conditional skips. Rechecked the three affected suites after the pipe repair: 41 passed, with clean lint, type checking and formatting. Four positive and twelve negative isolated driver runs met their expectations, including both pre-ready peers with inherited output pipes, both missing RPC executables, a failed print spawn and a real session with no final scan. All removed their private registries. All 1,151 dispositions remain unchanged; path/owner/blob manifest SHA-256 1ccdb0e91cebbc76f44b5570407f0c430f7196c964af565f4e09e58e76b4789a. No packaged input changed.

A6: PR #280 passed Full CI on its first attempt. All 10 jobs succeeded. The tested merge e673ce72cf37708bf818403fe7c3034d3fa19f2b had base cfdd9066ab83eae7c03abf152498d26ba677dfe4 and reviewed head bd626363fd0a6c508e0f6fc0bda0053fc9507f57. GitHub reported the merge state as clean. #279 tracks the three unobserved timeout cases from review.

Activity

  1. self-assigned this
    on Nov 30, 2026
  2. DocksDocks commented on Nov 30, 2026

    @DocksDocks
    OwnerAuthor

    Delegation grant: yolo: next up is a yolo issue for "scan this codebase for any implicit state machines and make it explicit"
    Parent event: 7294751276

  3. DocksDocks commented on Dec 1, 2026

    @DocksDocks
    OwnerAuthor

    Delegation grant: yolo: do all issues remaining following yolo skill without asking please.
    Parent event: 7294751276

  4. DocksDocks commented on Dec 1, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 1

    Plan-review: repair

    • security_risk - Acceptance A3 and Do not touch - A3 promises that no live home or session is visible, but the imported Make talk transport and binding lifetimes explicit #271 A4 recipe mounts the entire host /home read-only. Bubblewrap's sandbox documentation distinguishes read-only mounts from files that are not visible. A private HOME does not make the mounted home unreadable - Replace the broad home mount with a clean fixture checkout and only the required tools and dependencies. Apply that isolation to the positive runs, negative controls and A5 replays - class: verification mount exposes live user state
    • goal_fit - Acceptance A3 - The Make talk transport and binding lifetimes explicit #271 A4 namespace starts in /tmp/work, mounts the checkout at /repo and mounts the verified binary at /verified-omp. It does not set VERIFIED_OMP. As written, A3's relative script path cannot start there, and --repo "$PWD" does not select the candidate. The driver uses that argument to locate the plugin in .agents/skills/verify/scripts/omp-smoke.ts:225–234 - Specify the working directory and verified binary path inside the namespace, as Make talk delivery and interactive flow phases explicit #272 A3 does for the checkout, and omit the mode argument for the load run - class: acceptance command does not match its execution environment
    • goal_fit - Research item 1, Steps fixture and Acceptance A3 - A3's missing-tool controls run after the remote procedure call peer is ready, and its dropped-key control runs during an active terminal session. The driver records the peer at spawn before waiting for readiness, then scans it even if no ready handle was returned (.agents/skills/verify/scripts/omp-smoke.ts:2072–2084,2110–2120,2727–2733,3839–3855). Inference: gating the scan on the ready handle would pass the named controls but silently skip the scan on a startup failure - Make A3 verify a controlled pre-readiness failure and observe the attributed scan before cleanup, including preservation of its diagnostic - class: named control cannot reach the transition it is meant to verify
    • goal_fit - Goal, Research item 5, Steps inventory and Acceptance A5 - The audit omits cli/test/lib/rootGuard.ts:113–147, registered by vitest.config.ts:38. Setup stores a baseline and its fingerprints independently, although the name-only fallback has no fingerprint payload and teardown uses fingerprints from the same Git baseline. The existing overwrite test checks behavior but would still pass with the baseline split across two slots - Include the guard in the audit and model the Git baseline and its fingerprints as one value, separate from the name-only fallback. Preserve the overwrite and fallback behavior - class: phase-dependent owner missing from implementation scope
    • goal_fit - Steps tokens and Acceptance A2 - A2 asks for a base-versus-candidate comparison but gives neither a command nor a fixed or named input corpus. The exports in SoT/.omp/plugin/extensions/hygiene.ts:513–518,1122–1128 and cli/scripts/build-talk.ts:152–171,225–256 take caller-supplied text and arguments. A later replay can therefore omit the input behind an earlier mismatch and still pass. The plan contract requires a command and an observable result - Give A2 a repeatable command with fixed inert inputs and explicit revision selection. Compare both revisions' results without executing the inputs - class: acceptance procedure cannot be reproduced
    • research_gap - Research tool versions and Acceptance A1, A4 and A5 - package.json:31,38,45,56–64 invokes Effect tsgo, Vitest and Oxlint. The pinned Vitest entry point uses Node, and Bun honors that shebang. A Bun-only environment can satisfy the listed versions and still fail before A1 runs. Research also omits the Effect tsgo and Oxlint pins used by A4 - Record the supported Node version on PATH using the archived Make CLI terminal and child-process lifetimes explicit #269 evidence or current version output, and record the two checker pins from package.json - class: execution prerequisite missing from tool facts
  5. DocksDocks commented on Dec 1, 2026

    @DocksDocks
    OwnerAuthor

    A2 differential fixture: corpus.ts

    Copy the fenced block into private scratch. Both module paths come from the command line so the identical driver can load either revision. The fixture treats every shell and JavaScript fragment as text; it executes none.

    import { resolve } from 'node:path';
    import { pathToFileURL } from 'node:url';
    const [h, l] = process.argv.slice(2);
    const hygiene = await import(pathToFileURL(resolve(h)).href);
    const lexer = await import(pathToFileURL(resolve(l)).href);
    const words = ['', "''", 'alpha', '"two words"', "'x'\"y\"", 'a\\ b', 'answer#1', '""', 'title'];
    const shell = new Set(['', 'printf ""', 'printf <<EOF\ntext\nEOF\n', 'printf a > result', 'printf a 2>&1', 'printf hi\n# title\nprintf bye', '(cd one; printf ok); printf after', 'git worktree add -b topic ./example', 'cd project && git worktree add ../feature', 'printf "$(printf word)"', 'printf `printf word`']);
    for (const w of words) for (const v of words) for (const sep of [' ', '\t', ' ; ', ' | ', '\n']) shell.add(`printf ${w}${sep}${v}`);
    const js = new Set(['', 'import("one")', 'import.meta.require("two")', 'const s = `hello ${import("one")}`;', '/re/.test(x); f / 2', 'if(x) /r/.test(y);', 'const obj = {import(arg) {return arg}};', 'import(import("x"))', 'import(', 'f.import("x")', '__require("x")', 'first + require("x"); import("y")']);
    for (const a of ['import','import.meta','import.meta.require','require','__require','name','object.import','value.require']) for (const s of ['', ' ', ' /* gap */ ', '\n', '\t']) for (const t of ['("lib")',' + item','(a(b()))', '()', '.member("z")']) js.add(`${a}${s}${t}`);
    const result=[];
    for(const t of shell) result.push(['shell',t,hygiene.splitShellSegments(t),hygiene.detectResources(t,'/project','','/home/tester','linux')]);
    for(const t of js){const {text,importCalls,requireCalls}=lexer.lexCode(t); result.push(['js',t,text,[...importCalls],[...requireCalls],lexer.loaderCallProblems(t)]);}
    console.log(JSON.stringify(result));

    Base cfdd906: 416 shell cases, 212 JavaScript cases; SHA-256 062a8188b5d9cb64b2e7abbbe81a2f820cd809420ea1884f3fbb78d4dc1bf53d including the final newline.

  6. DocksDocks commented on Dec 1, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 2

    Plan-review: repair

    • security_risk - Research “Isolation for A3 and replays” and Acceptance A5 - The replay instructions prohibit mounting the host root, but the commands A5 imports from Model the bounded worker pool’s failure drain #268 A3 and Make CLI terminal and child-process lifetimes explicit #269 A6 both use --ro-bind / /. Bubblewrap’s sandbox documentation confirms that read-only mounts are still readable. Replaying either command as written exposes the host home despite the fixture’s private HOME - Replace both historical wrappers in A5 with the restricted non-V6 wrapper. Keep the existing tidy fixture and output assertions. - class: verification mount exposes live user state
    • goal_fit - Acceptance A3, dropped-key control - The supplied private.sh:15–16 bind-mounts a complete drop-key.ts over the candidate driver. Its check searches for a line that already exists in the unmodified open-review case in .agents/skills/verify/scripts/omp-smoke.ts:3717–3727. Inference: a stale driver can produce the expected focus failure without exercising the candidate’s cancellation or process changes - Derive the control from the exact revision under test and verify that its only change removes Ctrl+S from the buffered case. - class: negative control replaces the implementation under test
    • goal_fit - Goal, Research items 1 and 3–5, Steps fixture, tokens and inventory - Two phase-dependent owners remain outside the implementation tasks. .agents/skills/verify/scripts/omp-smoke.ts:432–445,1165–1182 installs and clears the print session’s attribution and final-answer hooks together, but the responder reads them as independently optional. SoT/.omp/plugin/extensions/hygiene.ts:1925–1926,2117,2150,2232–2250 keeps resource payloads and stop-reminder status separately, although an already-reminded key suppresses future stop reminders even when a later creation records that same key again. A scanner-only conversion leaves both lifecycles implicit, so the final inventory cannot establish the parent’s completion condition - Assign both owners to implementation steps. Keep print-session hooks with their active check owner, and model reminder eligibility per resource key without changing re-recording or overlapping stop behavior. - class: phase-dependent owner missing from implementation scope
    • goal_fit - Steps guard and Acceptance A1 - vitest.config.ts:38 runs the real root guard as global setup and teardown, but A1’s overwrite proof calls those functions directly with mocked Git and files (cli/test/unit/rootGuard.test.ts:29–53,83–92). Inference: A1 can pass if real teardown stops making Vitest exit nonzero on an overwrite, because the ordinary run plants no violation and the direct test checks only an in-process exit code - Make A1 run Vitest with the real guard in a disposable Git checkout, overwrite an already-dirty fixture file during the run, and require both the path diagnostic and a nonzero runner exit. - class: driven hook behavior is not checked end to end
    • goal_fit - Acceptance A4–A6 - AGENTS.md:69–75 requires the full unit and golden gate once at the local pre-commit or release boundary. A4 checks only selected cases locally, A5 replays focused behavior checks, and A6 records local and hosted results separately without requiring the local gate. A candidate can therefore satisfy every row with only a hosted full run - Require the repository’s local gate once at the prescribed boundary and keep its result separate from Full CI. - class: repository-required acceptance gate omitted

    Manager response to round 1

    Repaired: excluded the host home from every isolation recipe; selected absolute in-sandbox paths; required a peer-specific pre-ready failure; added the Git snapshot guard and its tests; published the fixed 628-case corpus and digest; added Node and checker pins.

    Rejected: none.

    Redesigned: no prior repair. The related load baseline independently exposed an auxiliary-request ordering error. Preserve the assertion on the actual prompted turn and add a negative print control.

  7. DocksDocks commented on Dec 1, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 3

    Plan-review: repair

    • goal_fit - Research item 8, Step tokens, Acceptance A1 and A3 - The reminder repair changes the session_stop hook, but the real omp run only checks the scratch tool description and the creation reminder in .agents/skills/verify/scripts/omp-smoke.ts:1943–1969. The stop tests call the handler directly in cli/test/unit/ompKitPluginExtension.test.ts:1439–1463. Inference: both checks can pass if the handler returns the right text but real omp ends the session without delivering it. The pinned omp documentation describes the continuation that the existing smoke does not observe. - Extend the existing A3 hooks run to require that a fixture-owned resource left in place is named in the stop continuation that reaches the local provider. - class: driven hook behavior is not checked end to end
    • goal_fit - Research item 7, Acceptance A1 and A3 - taskToolAgents searches all requests in .agents/skills/verify/scripts/omp-smoke.ts:1225–1236,1542–1557. The positive trace has neither advertisement on auxiliary requests, and the named print control removes only talk. Inference: a partial fix that selects the prompted request for talk but still borrows the review-agent list from an auxiliary request passes these controls. - Make A1's existing auxiliary-request case require rejection when the prompted request offers talk but only the auxiliary request advertises the review agents. Keep the real A3 missing-talk control. - class: acceptance permits a partial fix that violates the same-request requirement

    Manager response to round 2

    Repaired: A5 explicitly replaces both inherited host-root mount commands with the restricted namespace and keeps the exact inner tidy fixture and assertions. A3 constructs the missing-key comparison from this revision and compares every unaffected byte. The print-session hooks and per-resource reminder state now have implementation tasks. A1 includes a real Vitest control and failing dirty-file overwrite in an isolated checkout.

    Rejected: a second complete local suite. The run must use the narrow tests that exercise the change and its callers. The parent and the five archived children use the complete protected hosted gate once, and keep the separate full local checklist item unticked. The repository's iteration rule calls for direct acceptance and focused regressions. The repaired plan preserves those two distinct evidence levels; it does not claim local full-suite coverage.

    Redesigned: after the recurring isolation finding, replaced inherited outer wrappers rather than supplementing their environment. Compared keeping the old wrappers, nesting namespaces, and using one allowlisted namespace for each surface. A read-only home or root still exposes live data. A nested wrapper failed to create its namespace. The exact inner tidy fixture passed in the new namespace, and an isolated Vitest root-guard run passed ten cases. Each runtime now starts without host state; a future path addition must be explicitly mounted. The change is confined to verification and is reversible without changing the product.

  8. DocksDocks commented on Dec 1, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 4

    Plan-review: repair

    • goal_fit - Research items 1 and 8, Step fixture, Acceptance A1 and A3 - Step fixture says A3 verifies hook attachment. The responder skips the final scan when no hook is attached (.agents/skills/verify/scripts/omp-smoke.ts:432–445,1165–1182), and reporting treats an unstarted scan as empty (.agents/skills/verify/scripts/smokeScan.ts:87–89). A1 calls the scan helper directly. A3's controlled scan runs only for an early RPC peer. Inference: both rows can pass if the refactor stops attaching the final-scan hook in load and hooks mode. A print session would then exit without checking for a late registry entry. - Make A3 supply a fixture-only diagnostic from the final scan of a live print session and require it in the registry report after detachment. - class: acceptance can pass when the final-scan hook is not attached

    Manager response to round 3

    Repaired: a real isolated hooks run now must see the stop-only notice and the exact fixture-owned directory in one new user message. A base probe observed both at the local provider. Require that neither half of a split tool/agent advertisement can borrow the other half from an auxiliary request.

    Rejected: none.

    Redesigned: the hook regression observes the provider boundary rather than adding another direct handler assertion. A direct result does not prove the host delivered it; an unrelated marker or any earlier message could give a false pass. Compare the exact directory and the stop-only text of the new fixture turn. This change is reversible in the existing smoke driver and needs no service.

  9. DocksDocks commented on Dec 1, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 5

    Plan-review: repair

    • goal_fit - Research items 1 and 8, Step fixture, Acceptance A3 “Active print hook” in load and hooks - The supplied control checks only the fixture label and whether its process exists (control.py:12–17). It does not establish that the text-answer hook started the scan. Inference: if the refactor scans as soon as attribution finishes and drops the responder hook, both controls still report the sentinel after detachment and exit 1 without a timeout. The scan can then miss a registry entry written during the remaining turn. The current responder waits for the scan before sending text, and reporting retains its result (.agents/skills/verify/scripts/omp-smoke.ts:432–445,1165–1182; .agents/skills/verify/scripts/smokeScan.ts:69–89). - Make both existing A3 controls verify that the named scan starts at the text-answer boundary and that its reply arrives before the provider sends the text. Keep the post-detachment diagnostic check. - class: acceptance cannot distinguish the final-answer scan from an earlier scan

    Manager response to round 4

    Repaired: require the final-scan sentinel for an identified, live print process in both load and hooks modes. It must reach the registry report after detachment with a normal process exit, no timeout and completed cleanup. No modified registry data.

    Rejected: none.

    Redesigned: previous negative exercised the RPC startup path but not the print responder. Drive the normal terminal answer and inject the diagnostic only at the scan boundary for that print fixture, not through a timeout or the overall report. This checks the actual attachment and cannot pass merely because the scanner helper works.

  10. DocksDocks commented on Dec 1, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 6

    Plan-review: pass

    None.

    Manager response to round 5

    Repaired: require exactly one scan on the target process and text decision, scan start, decoded scan reply and actual text send in order for the same request. Both isolated base controls passed this ordering and failed at registry as intended.

    Rejected: none.

    Redesigned: replaced a liveness-only oracle with correlated events at the actual provider and scan boundaries. Liveness cannot exclude an early scan; clock timestamps or an array of anonymous events cannot separate overlapping requests. Request-local context preserves identity across awaits. The fail-only control logs synthetic IDs, not content, and changes no production behavior.

  11. 3 remaining items

  12. DocksDocks commented on Dec 1, 2026

    @DocksDocks
    OwnerAuthor

    Self-review

    Correctness

    No findings. The differential corpus matches. The real responder waits for its scan on the same request. A late missing result cannot erase a reminder delivered by an overlapping stop.

    Spec and tests

    LOW: The new Docker fixture accepts unknown[] and asserts the argument array and callback types from the executable name alone. Node supports several execFile call signatures. All three test responses ignore the argument array. Remove that unused parameter and narrow the callback, or type the intercepted four-argument signature. The newly added stop assertions can also use Vitest matchers on the unknown result instead of casting its shape. This keeps the new fixture consistent with the project's type standards.

    Text and safety

    No findings. The updated load instructions describe one prompted request for both advertisements. The checks used fixture-owned files and processes; the corpus remained inert.

  13. DocksDocks commented on Dec 1, 2026

    @DocksDocks
    OwnerAuthor

    Code review round 1, lens correctness

    Code-review: pass

    Issue #273, panel mode. Reviewed head f7a17633972baaf419dff7b99ffa329e9984bd99. Covered all seven focus paths: .agents/skills/verify/scripts/{omp-smoke,smokeScan,smokeTalkTurns}.ts, SoT/.omp/plugin/extensions/hygiene.ts, cli/scripts/build-talk.ts, cli/src/generated/sotPayload.ts, and cli/test/goldens/mutation.json. Used the exported plan, base instructions, and decoded payload evidence. No commands run.

    Standards

    • [MEDIUM] Bug - SoT/.omp/plugin/extensions/hygiene.ts:1947-1950, SoT/.omp/plugin/extensions/hygiene.ts:2258-2280, cli/test/unit/ompKitPluginExtension.test.ts:1527-1583 - When a stop finds a directory missing and waits for another resource check, a tool can recreate and record that directory before the stop resumes. The old result deletes the new record, so the next stop misses the live directory. Two positive scans can also both emit the same reminder. The overlapping-stop fixtures assert both outcomes. This defeats the check described in base cli/AGENTS.md:67: “it checks at session stop that those resources are gone.” - Apply each result only if the ledger still holds the exact pending record that the scan checked. Update the fixtures to require that a replacement stays pending and a reminder is emitted once. - class: stale asynchronous ledger update
    • [MEDIUM] Bug - .agents/skills/verify/scripts/omp-smoke.ts:1950-1966 - If the stop text reaches the provider as user context on the tool-result turn, the check can pass without a stop continuation. Inference: the predicate checks the session window, model and final message, but never requires the assistant answer after hygiene-mktemp that precedes the stop attempt. - Require a continuation request after that assistant answer and verify that the matching user context is new in that request. - class: missing event-order check
    • [LOW] Bug - .agents/skills/verify/scripts/omp-smoke.ts:1522-1532 - If only auxiliary requests arrive, the load probe correctly reports that no opening request arrived, then incorrectly reports missing agents from a task tool it never inspected. The same extra diagnostic appears when no request arrives or no task agent list exists. - Report missing agent names only after reading an agent list from the selected opening request. - class: misleading failure attribution

    Spec

    None.

    Code review round 1, lens spec-and-tests

    Code-review: pass

    Panel review for #273 at f7a17633972baaf419dff7b99ffa329e9984bd99, against base cfdd9066ab83eae7c03abf152498d26ba677dfe4. Reviewed .git/docks-review/plan-273.md, the supplied diffs and embedded-source evidence, and the base-1 instructions. No previous code-review comments were supplied.

    Covered all seven focus paths: cli/test/goldens/mutation.json, cli/test/lib/rootGuard.ts, cli/test/unit/ompKitPluginExtension.test.ts, cli/test/unit/rootGuard.test.ts, cli/test/unit/talk/build.test.ts, cli/test/unit/verifySmokeScan.test.ts, and cli/test/unit/verifySmokeTalkTurns.test.ts. No commands run or files changed.

    Standards

    • [MEDIUM] Bug - cli/test/unit/ompKitPluginExtension.test.ts:1485-1493, SoT/.omp/plugin/extensions/hygiene.ts:2254-2262 - The active-stop assertion still passes if the stop_hook_active guard is removed. The preceding inactive stop already marked the only fixture directory as reminded, so the empty-pending check also returns undefined. - Invoke the active stop while the directory is still pending. Assert that it returns no continuation and that a later inactive stop still reports the directory. - class: prior state masks guard regression

    Spec

    • [MEDIUM] Spec - cli/test/unit/verifySmokeTalkTurns.test.ts:162-200, .agents/skills/verify/scripts/omp-smoke.ts:1522-1538 - A1 requires the load probe to “report the agents missing” for the split advertisement and to test the inverse split (.git/docks-review/plan-273.md:61). The unit cases check only the selector's return value and use explore and reviewer, neither of which is a required review agent. The recorded load negative omits talk but does not exercise the split. Inference: dropping the driver's missing-agent diagnostic would leave the split unit cases green. - Use the two required agent names and drive the load verdict with both split fixtures. Assert the expected failure diagnostic for each. - class: acceptance test bypasses verdict
    • [MEDIUM] Spec - .agents/skills/verify/scripts/omp-smoke.ts:1924-1925, .agents/skills/verify/scripts/omp-smoke.ts:1950-1966 - A3 requires a new user-context message after the fixture “attempts to stop” and says not to count creation context (.git/docks-review/plan-273.md:63). The probe searches every request since before the hygiene session began. Inference: if a regression delivers the heading and path as user context before the first text answer, the probe passes without a stop continuation. - Match a new user message after the first text answer following the hygiene-mktemp result. Use that answer as the boundary for the continuation check. - class: missing lifecycle boundary in smoke assertion
    • [LOW] Spec - .agents/skills/verify/scripts/smokeTalkTurns.ts:157-158, .agents/skills/verify/scripts/smokeTalkTurns.ts:196-205 - Unreached: the load selector trims the visible text before comparing it, though the plan requires selection by “model and exact prompt” (.git/docks-review/plan-273.md:24). The sole load caller uses the literal SESSION_PROMPT, the unit fixtures do not supply a padded copy, and the documented provider input contains the exact text. Inference: an earlier same-model request carrying only a whitespace-padded copy could supply the verdict. - Compare the load prompt without trimming after removing whole host-reminder parts. Keep the existing talk responder comparison unchanged. - class: normalized match where exact match is required

    Code review round 1, lens text-and-safety

    Code-review: pass

    Reviewed #273 at f7a17633972baaf419dff7b99ffa329e9984bd99. Covered every focus hunk in .agents/skills/verify/SKILL.md and checked the remaining changed paths for safety.

    Standards

    • [MEDIUM] Bug - SoT/.omp/plugin/extensions/hygiene.ts:2263-2277, cli/test/unit/ompKitPluginExtension.test.ts:1561-1581 - If another session records a resource at the same path while a stop check is waiting, the old check can delete the new record. The new test creates the directory during that wait and requires the next stop to stay silent, locking in a missed cleanup reminder. - Delete the pending entry only if it is still the entry that was checked. Update the test to require the next stop to name the directory. - class: stale check deletes newer state
    • [LOW] Bug - .agents/skills/verify/SKILL.md:32,53 - The V6 table says the sections below list the expected output for every mode, but the load section lists checks, not output. The edit removes the only complete load transcript, including the extensions: line. - Add the expected load output to the load section. - class: missing verification transcript
    • [LOW] Bug - .agents/skills/verify/SKILL.md:256, .agents/skills/verify/scripts/omp-smoke.ts:1950-1966 - When the creation notice passes but the stop continuation does not reach the provider, the new FAIL hygiene-stop-reminder line sends readers to SCRATCH_NOTE. That constant governs the creation notice, not the stop continuation. - Give FAIL hygiene-stop-reminder its own row and point readers to session_stop and stopReminder. - class: wrong troubleshooting target
    • [LOW] Bug - .agents/skills/verify/SKILL.md:253,259, .agents/skills/verify/scripts/omp-smoke.ts:1522-1537 - When only auxiliary requests arrive, the driver reports both a missing opening request and missing agents. The troubleshooting table treats missing agents as a plugin-file problem even though the driver never inspected the intended request. - Report missing advertisements only after selecting an opening request. Document how to distinguish a missing request from missing tools. - class: misleading failure attribution
    • [LOW] Bug - .agents/skills/verify/scripts/smokeScan.ts:61-67,80-91, cli/test/unit/verifySmokeScan.test.ts:73-84 - A final scan that returns a leak diagnostic still enters ended and permits a fresh timeout scan. The new comment says ended means the scan succeeded, which obscures that distinction. - Say that the promise fulfilled, with or without a diagnostic. - class: misleading state documentation
    • [LOW] Maintainability - .agents/skills/verify/scripts/omp-smoke.ts:3165-3168,3809-3819 - If the terminal footer never appears, the terminal is already tagged ready. The tag means the driver has a handle to close, not that the process passed its readiness check. - Name the state open or has-handle so cleanup ownership is distinct from readiness. - class: misleading lifecycle state name

    Spec

    None.

  14. DocksDocks commented on Dec 1, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 7

    Plan-review: repair

    • goal_fit - Research, Round 1 correction; Step 7; Do not touch - Parent Make implicit state machines explicit across the codebase #267 still requires unchanged observable behavior. The overlap cases in cli/test/unit/ompKitPluginExtension.test.ts:1538–1581 show that the correction changes what users receive: a duplicate reminder disappears and a missed reminder returns. The child records the exception, but the parent does not. - Keep the race fix and record the same narrow exception in Make implicit state machines explicit across the codebase #267 for review. - class: child correction conflicts with the parent goal
    • goal_fit - A4 and the tokens correction acceptance paragraph - The checks can pass with no patch bump. cli/scripts/generate-sot-payload.ts:117–146 embeds whatever version is in package.json, and cli/scripts/package-smoke.ts:397–406 checks the installed CLI against that same version. A comparison that holds the version fixed can isolate the hygiene change, but cannot prove the version changed. - Make A4 require the exact next patch version relative to the original candidate in both the packed CLI and the deployed plugin manifest. Keep the separate hygiene digest comparison. - class: acceptance check can pass without the required version bump
    • research_gap - Research, “No external … service … is needed”; Step 7; A4 - cli/scripts/package-smoke.ts:140–155 runs bun add in a new consumer without a lockfile. A disposable state with an empty cache needs registry access to resolve the tarball’s dependencies, as the Bun install documentation explains. The plan labels the work local but does not record that prerequisite. - Record public read-only package resolution as a separate probe, with disposable, credential-free state. Keep packing and installation local and do not publish. - class: unrecorded external dependency of an acceptance command

    Manager response to round 6

    Repaired: none.

    Rejected: none.

    Redesigned: none.

  15. DocksDocks commented on Dec 1, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 8, delta

    Plan-review: repair

    • research_gap - Research, “No external … service … is needed”; Steps 7 and 8; A4 and Patch proof - Step 8 records the registry probe, but it depends on Step 7, which cannot finish until A4 passes. A4 invokes smoke:package, and cli/scripts/package-smoke.ts:140–155,397–406 runs bun add in a fresh consumer before any installed-binary checks. With an empty cache, Bun requires network access. The plan therefore requires the probe before allowing it to start. - Limit Step 7’s completion to the local checks and packing. Run the consumer install and package smoke on that tarball in Step 8, and record public npm as the exception in Research. - class: external acceptance command still gates its local dependency
    • security_risk - Acceptance, Patch proof - A disposable HOME alone does not confine a real sync. If the caller inherits an absolute PI_CODING_AGENT_DIR under the default profile, cli/src/engine-native/ompPaths.ts:69–91 uses that path and cli/src/engine-native/ompSync.ts:45–79 writes agent files there. The proof can still pass because cli/src/engine-native/ompKitPlugin.ts:55–82 writes the checked manifest under the disposable home. - Run the real sync in a separate offline sandbox with a cleared environment and no host checkout, home, or session directories mounted. Check the manifest produced there. - class: mutating proof can escape its disposable home
    • goal_fit - Acceptance, Patch proof; Make implicit state machines explicit across the codebase #267 P3 - The literal 0.31.3 is correct for the reviewed child head, but the plan does not distinguish that check from P3’s replay on final main. Inference: if an unrelated patch lands before parent closure, cli/src/main.ts:92 and cli/src/engine-native/ompKitPlugin.ts:76 will correctly report and install the newer version, yet the literal assertion would fail with both reminder fixes intact. - Keep the exact 0.31.3 assertion for the reviewed child head. On final main, replay the race checks and compare the packed and deployed versions with that revision’s manifest. - class: candidate-specific assertion applied to a moving replay revision

    Previous findings:

    • Round-7 finding on Research, Round 1 correction; Step 7; Do not touch: resolved - Make implicit state machines explicit across the codebase #267 now authorizes exactly the two reminder changes and the associated patch bump, and requires replay of both outcomes on final main.
    • Round-7 finding on A4 and the tokens correction acceptance paragraph: resolved - Patch proof independently requires 0.31.3 in the packed executable and the manifest written by a real sync, while retaining the separate hygiene digest comparison.
    • Round-7 finding on Research, “No external … service … is needed”; Step 7; A4: open - repeated above.

    Manager response to round 7

    Repaired: parent and child now agree on the two race outcomes; verify the exact next patch in the packed CLI and deployed manifest. Classify the uncredentialed public registry reads as their own probe.

    Rejected: none.

    Redesigned: the two changed overlap assertions failed deterministically on the original candidate. Use the actual pending object as ownership evidence, not an added generation counter or lock. The correction only affects two invalid outcomes; normal output and immediate notices remain unchanged.

  16. DocksDocks commented on Dec 1, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 9, delta

    Plan-review: pass

    None.

    Previous findings:

    • Round-8 finding on Research, “No external … service … is needed”; Steps 7 and 8; A4 and Patch proof: resolved - Step 7 packs and hashes the tarball offline. Step 8 checks the hash and runs the package smoke on those exact bytes. Research identifies public npm as the only network dependency of the local proofs.
    • Round-8 finding on Acceptance, Patch proof: resolved - Separate environments puts the real sync in a private offline mount namespace with a cleared environment and no host home, checkout, or session directories. The check reads the manifest deployed to the fixture home.
    • Round-8 finding on Acceptance, Patch proof; Make implicit state machines explicit across the codebase #267 P3: resolved - Patch proof requires 0.31.3 only on the reviewed child. The parent replay uses the exact final main revision’s manifest and checks all three overlaps, including a stale positive after replacement.

    Manager response to round 8

    Repaired: pack offline first, pass its hash-checked bytes to the read-only public package probe, and run the actual sync in its own offline namespace with no inherited user state. Require 0.31.3 on the child; test the actual revision version on later main.

    Rejected: none.

    Redesigned: split the earlier combined install/probe into explicit offline producer and network consumer with one artifact and one hash. The prior completion condition required an external check before its dependency could finish.

  17. DocksDocks commented on Dec 1, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 10, delta

    Plan-review: repair

    • goal_fit - Step 4, Done when (line 50); Package correction (line 33); A4 (line 63) - Step 4 still says A4 passes with no change to talk.js, but the updated A4 requires the generated bundle to contain 0.31.3. The extension imports the package version (cli/talk/extension.ts:18), and prepack compares the committed bundle with a fresh build (package.json:34–35, cli/scripts/build-talk.ts:571–586). Keeping the old bytes fails prepack; regenerating them fails Step 4 as written. - Scope Step 4’s unchanged-bundle result to the pre-bump candidate. Keep the single-literal byte comparison and independently verified digests as Step 7’s acceptance criteria. - class: superseded acceptance condition retained in a dependent step

    Previous findings:

    None from round 9.

    Manager response to round 9

    Repaired: none.

    Rejected: none.

    Redesigned: none.

  18. DocksDocks commented on Dec 1, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 11, delta

    Plan-review: pass

    None.

    Previous findings:

    • Round-10 finding on Step 4, Done when; Package correction; A4: resolved - Step 4 now records the unchanged talk.js result only for pre-bump candidate f7a1763. Step 7 and A4 require the single version-literal substitution and all three digest checks. Step 3 also limits its earlier reminder result to f7a1763 and assigns the race correction to Step 7.

    Manager response to round 10

    Repaired: labeled both pre-bump stop and payload results with the original candidate revision. Step 7 supersedes those conditions for the corrective patch.

    Rejected: none.

    Redesigned: none.

  19. DocksDocks commented on Dec 1, 2026

    @DocksDocks
    OwnerAuthor

    Inventory on the repaired candidate

    Revision 47612aa56e39eaf79a792554455e42193276ac89. Rewalked the tracked tree, excluding the frozen plan subtree. Compared every model path with the six established owners. The per-path inventory still applies: no paths added, removed or reassigned since the first candidate. The manifest with paths, roles, owners and blob IDs now has SHA-256 e8c1c0c19a14fd3cf99633109d3641137606b8c4aecfadd058116ca8051cfbc7.

    Classification Paths
    Modeled source 20
    Other source and workflows 156
    Tests 138
    Fixtures 11
    Generated artifacts 3
    Records 823
    Total 1,151

    No unclassified path. The new package version changes one literal in the generated talk bundle and its embedded copy, not its wire protocol. The independent snapshot comparison permits only the three derived hashes in each of twelve sync scenarios.

  20. DocksDocks commented on Dec 1, 2026

    @DocksDocks
    OwnerAuthor

    Code review round 2, lens correctness

    Code-review: pass

    Standards

    • [MEDIUM] Bug - .agents/skills/verify/scripts/omp-smoke.ts:430-443, .agents/skills/verify/scripts/omp-smoke.ts:1925-1926, .agents/skills/verify/scripts/omp-smoke.ts:1949-1963, .agents/skills/verify/scripts/smokeScan.ts:80-96 - The hygiene fixture continues after its first ok, but the provider runs the final registry scan before that answer. The answer to the stop continuation then reuses the completed scan. Inference: if a registry regression writes a default-folder entry between those answers and removes it on normal exit, the smoke reports a clean registry. The timeout refresh does not run on normal exit. - Call the memoized final-answer hook on the hygiene fixture's post-stop answer. Preserve promise identity and the timeout fallback. - class: nonterminal answer triggers final check
    • [LOW] Bug - .agents/skills/verify/scripts/smokeTalkTurns.ts:179-187, .agents/skills/verify/scripts/smokeTalkTurns.ts:243-252 - When the opening request advertises task with a description such as Launch a subagent. but no agent list, the smoke reports that both agents are missing from the list. The parser returns an empty array for any description without matching bullets, so the verdict cannot distinguish an absent list from an empty one. - Parse the Available Agents section and return null when it is absent. - class: absent list treated as empty

    Spec

    None.### Code review round 2, lens spec-and-tests

    Code-review: pass

    Standards

    • [LOW] Bug - cli/test/unit/verifySmokeTalkTurns.test.ts:337-346, .agents/skills/verify/scripts/smokeTalkTurns.ts:289-295 - The stop-continuation test stays green if the check for assistant tool calls is removed. Its assistant message with a tool call has empty text, so the separate ok check already rejects it. - Give that message PLAIN_ANSWER as well as a tool call, and assert that it cannot satisfy the stop check. - class: negative fixture masked by another check
    • [LOW] Bug - .agents/skills/verify/scripts/smokeTalkTurns.ts:178-187,244-251, cli/test/unit/verifySmokeTalkTurns.test.ts:241-256 - Unreached: a prompted request with a task tool whose description has no agent list gets a missing-agent-names diagnostic rather than the documented missing-list diagnostic. The parser treats any string description as a list. The sole load caller's recorded controls and the unit fixtures cover a present list or an absent tool, not a prose-only description. - Parse the advertised agent list separately from the surrounding description. Add a case with task present but no list. - class: absent list treated as present

    Spec

    • [MEDIUM] Spec - .agents/skills/verify/scripts/omp-smoke.ts:2105-2137,2375-2385,2723-2746,3823-3834,3854-3867 - Both early-exit controls report that the RPC peer exited 47, then say the peer did not run. The plan requires “not-started, live-with-handle, or closed-with-result” and explicitly includes early failure (.git/docks-review/plan-273.md:17,37). Both modes acquire the handle only after readiness, so a peer that starts and exits before its ready line remains classified as not started and its exit result never reaches the session summary. The PID-based final scan still runs. - Give each mode the peer handle at spawn and wait for readiness separately. Preserve the final scan before cleanup and retain the peer's exit result even when readiness fails. - class: readiness conflated with process ownership### Code review round 2, lens text-and-safety

    Code-review: pass

    Standards

    • [MEDIUM] Bug - .agents/skills/verify/scripts/omp-smoke.ts:429-443,1951-1962, .agents/skills/verify/scripts/smokeScan.ts:81-88, .agents/skills/verify/SKILL.md:116 - The hygiene fixture answers ok before the stop hook runs, then answers again on the stop continuation. The first answer starts the only final registry scan. The second reuses its result. Inference: a default-registry entry written between those answers can escape detection on a normal exit, despite the documented scan before the last answer. - Start the single hygiene final scan on the stop-continuation request before writing its answer. Keep promise reuse and the timeout fallback. - class: final check runs before the lifecycle boundary
    • [MEDIUM] Bug - cli/test/lib/rootGuard.ts:68-82,121-125,153-158 - If teardown's git rev-parse fails for a reason other than Git or the work tree being unavailable, the guard still switches to names mode. Inference: after a porcelain setup, a signaled probe or a repository access error can make teardown return successfully without detecting a test overwrite. - Fall back only for missing Git or a confirmed non-work-tree result. Fail the guard on unexpected probe errors and keep the existing policy for genuine mode changes. - class: probe failure mistaken for unavailable mode
    • [LOW] Bug - .agents/skills/verify/scripts/smokeTalkTurns.ts:178-188,244-251, .agents/skills/verify/SKILL.md:271 - If the opening request describes task but has no readable agent list, the probe names agents as missing from a list it never found. The parser accepts any description string and scans bullets outside the agent list. Whether pinned omp emits this shape is uncertain. - Recognize the agent-list section before extracting names. Use the no-list diagnostic when that section is absent or unreadable. - class: misleading failure attribution
    • [LOW] Bug - .agents/skills/verify/scripts/smokeScan.ts:57,94-101, cli/test/unit/verifySmokeScan.test.ts:73-84 - The regression calls timeout() twice and confirms that problem() omits the first timeout result. The interface promises the problems of each scan. - Document that problem() reports attribution, the original final scan, and the latest timeout scan. - class: misleading result documentation
    • [LOW] Bug - .agents/skills/verify/SKILL.md:55, .agents/skills/verify/scripts/omp-smoke.ts:229-230,1331-1336,1499-1503 - The documented load command links the caller's source checkout directly. The transcript calls it the private fixture's checkout, which can lead a reader to mistake the real source tree for a disposable copy. - Define <checkout> as the source checkout selected by the script or by --repo. Distinguish it from the private runtime state. - class: misleading isolation documentation
    • [LOW] Maintainability - .agents/skills/verify/scripts/smokeTalkTurns.ts:259,299 - STOP_HEADING is exported but used only inside its own module. The fixture tests obtain the reminder from the extension instead. - Make STOP_HEADING module-private. - class: unused export

    Spec

    None.

    Manager response to round 1

    Repaired:

    • Stale cleanup checks: session_stop compares the exact record before deleting it or sending a notice. Three deterministic checks fail on the original candidate: duplicate positives, replacement after a missing result, and replacement after a present result. An active stop now runs before the inactive one in the guard regression. Docker callbacks and stop results no longer need unchecked casts.
    • Event order: stopContinued requires the fixture's tool result, the next plain answer without calls, and a later final user message with the heading and exact directory. The fixture tests distinguish early, missing, stale and valid outcomes. A real offline session reaches the stop continuation.
    • Load verdicts: the driver and its tests call loadVerdict. It selects by exact prompt and model; it separates absent openings, absent agent lists, missing agent names and a missing talk tool. It no longer borrows advertisements or emits an unsupported missing-agent diagnostic. Tests cover both split directions with actual required names and cover whitespace.
    • Documentation: restored the full load transcript and separated opening, missing-list, missing-talk and missing-stop diagnostics. FinalScan now documents fulfillment, not absence of a diagnostic. The open process tag means handle ownership, not readiness.
    • Packaging: the kit patch, changelog, generated bundle and embedded payload were regenerated together. The whole talk bundle differs in only its package-version literal; the twelve changed snapshots have only the three independently verified digests each.

    Rejected: none.

    Redesigned: the pending resource now owns its in-flight check; the prior behavior could not distinguish a replacement. See the approved parent and child corrections and the three red fixtures.

  21. DocksDocks commented on Dec 1, 2026

    @DocksDocks
    OwnerAuthor

    Code review round 3, delta

    Code-review: pass

    Previous findings

    • Round-2 finding on .agents/skills/verify/scripts/omp-smoke.ts:430-443: fixed - The hygiene fixture starts the final scan on the post-stop request. Request 184 records scan launch and reply before the text write. See omp-smoke.ts:435-449,1933-1949.
    • Round-2 finding on .agents/skills/verify/scripts/smokeTalkTurns.ts:179-187: fixed - An absent agent section now returns the missing-list diagnostic. A present empty section still reports missing names. See smokeTalkTurns.ts:197-218,273-281.
    • Round-2 finding on cli/test/unit/verifySmokeTalkTurns.test.ts:337-346: fixed - The negative fixture contains both ok and a tool call, so the text check no longer masks the tool-call check. See verifySmokeTalkTurns.test.ts:411-421.
    • Round-2 finding on .agents/skills/verify/scripts/smokeTalkTurns.ts:178-187: fixed - The regression covers prose-only task descriptions and descriptions with reviewer bullets outside the agent section. See cli/test/unit/verifySmokeTalkTurns.test.ts:321-341.
    • Round-2 finding on .agents/skills/verify/scripts/omp-smoke.ts:2105-2137: fixed - Both modes retain the spawned handle before readiness. Both controls show exit 47 in the startup step and the session summary, the peer scan diagnostic, and registry removal. See omp-smoke.ts:2420-2428,3870-3878.
    • Round-2 finding on .agents/skills/verify/scripts/omp-smoke.ts:429-443: fixed - The first hygiene ok does not start the scan. The post-stop answer awaits it, and problem() retains the result after detachment. See omp-smoke.ts:435-449,1185-1188,1933-1949.
    • Round-2 finding on cli/test/lib/rootGuard.ts:68-82: rejected - The merge-base comparison shows the Git probe and mode-mismatch return are unchanged. The new baseline owns the fingerprints without changing fallback behavior. See rootGuard.ts:72-82,136-158.
    • Round-2 finding on .agents/skills/verify/scripts/smokeTalkTurns.ts:178-188: fixed - The parser counts bullets only in # Available Agents, and the troubleshooting row identifies that section. See smokeTalkTurns.ts:182-218 and .agents/skills/verify/SKILL.md:271.
    • Round-2 finding on .agents/skills/verify/scripts/smokeScan.ts:57: fixed - The interface now documents attribution, the original final scan, and the latest timeout scan. See smokeScan.ts:57,97-105.
    • Round-2 finding on .agents/skills/verify/SKILL.md:55: fixed - The transcript distinguishes the selected source checkout from private runtime state. See .agents/skills/verify/SKILL.md:55.
    • Round-2 finding on .agents/skills/verify/scripts/smokeTalkTurns.ts:259: fixed - STOP_HEADING is module-private. See smokeTalkTurns.ts:289,329.

    Standards

    • [MEDIUM] Bug - .agents/skills/verify/scripts/omp-smoke.ts:2149-2173,2767-2771,3901-3904 - If an RPC peer exits before readiness and a helper keeps either output pipe open, both modes can hang before reporting results or cleaning up. Inference: Bun waits for the pipes before emitting close, and the final wait after SIGKILL has no deadline. The delta adds that wait to both pre-readiness paths. The exit-47 adapter has no helper; reach in the pinned binary is unverified. - Record the peer's exit separately from pipe closure. Bound both output draining and the final wait, and keep the scan before shutdown. - class: unbounded wait for child stream closure
    • [LOW] Bug - .agents/skills/verify/scripts/smokeScan.ts:97-105, .agents/skills/verify/scripts/omp-smoke.ts:1175-1188,1755-1758,2002 - When a hooks session exits without a final scan, its new diagnostic does not name the session. The driver combines several sessions into one registry line, so the reader cannot tell which scan was skipped from that line. If spawn fails, the same diagnostic also says a session ended that never started. - Report the missing scan with the session label, and use the existing startup diagnostic alone when no process starts. - class: missing scan diagnostic loses session identity

    Spec

    • [LOW] Spec - .agents/skills/verify/scripts/omp-smoke.ts:2128-2131,2424-2428,2767-2787,3874-3878,3902-3912, .git/docks-review/plan-273.md:17 - Unreached: both exit-47 controls start a peer, and a missing --omp executable fails installation before either RPC caller. Inference: if the RPC spawn itself fails after installation, for example with EAGAIN, both modes mark a handle without a PID as open and later report exited null. The plan requires “not-started, live-with-handle, or closed-with-result.” - Keep the peer not started when spawn returns no PID. Preserve the startup error and record exit results only for peers that started. - class: spawn failure reported as process exit

    Manager response to round 2

    Repaired:

    • Print lifecycle: the old hygiene control launched its final scan on request 183, then received the stop continuation on request 184. The improved control identifies the continuation from the recorded tool reply, assistant answer and new user notice. It requires that exact ID to request and await the final scan before writing its response. No user registry data is involved.
    • RPC ownership: both old pre-readiness exit controls printed exited 47 and the peer omp did not run. Keep the peer handle before readiness, preserve the PID-based final scan and report the actual exit in both summaries. Each control requires the exit in the startup step and the session summary.
    • Agent list: distinguish the task description's advertised agent section from arbitrary prose or unrelated lists. Test missing section and missing agents separately. Remove the unused stop-heading export and give the negative assistant fixture both ok and a tool call to isolate its rejection.
    • Documentation: identify the selected source checkout separately from disposable runtime state. Document that the problem report includes the original final scan and only the latest timeout scan.

    Rejected:

    rootGuard.ts Git availability: this is not a regression in the baseline model. The complete insideGitWorkTree implementation at the merge base and round-2 head is byte-identical (function body SHA-256 b7faf1bd00355ce384916e711961f53ead430f68281c02c80889bd905be5c859). The before/after mode-mismatch return is identical too. Both versions already fail an unexpected spawn error or a failed porcelain status, and both use the same policy for a nonzero or signaled rev-parse. The new representation neither adds this fallback nor relies on a stronger classification for its fingerprint ownership. Research 6 and the parent scope require preserving existing failure semantics. Distinguishing every cause of rev-parse failure would change that separate policy; this change does not claim to do so. The actual dirty-file regression, controlled missing-Git, and mode-change tests pass.

    Redesigned: the print check now uses the fixture-specific terminal request, not the first answer that happens to contain text. The negative control checks the continuation ID independently.

  22. DocksDocks commented on Dec 1, 2026

    @DocksDocks
    OwnerAuthor

    Code review round 4, delta

    Code-review: pass

    Previous findings

    • Round-3 finding on .agents/skills/verify/scripts/omp-smoke.ts:2149-2173,2767-2771,3901-3904: fixed - A peer that exits before readiness no longer waits indefinitely for an inherited pipe. Both modes retain the scan-before-close order, and the wait after SIGKILL is bounded. See .agents/skills/verify/scripts/omp-smoke.ts:2114-2127,2154-2162,2172-2189,2780-2787,3920-3923.
    • Round-3 finding on .agents/skills/verify/scripts/smokeScan.ts:97-105: fixed - A missing final scan names the session. A print spawn without a PID installs no registry checks and reports that the session did not start. See .agents/skills/verify/scripts/smokeScan.ts:97-105 and .agents/skills/verify/scripts/omp-smoke.ts:1173-1188.
    • Round-3 finding on .agents/skills/verify/scripts/omp-smoke.ts:2128-2131,2424-2428,2767-2787,3874-3878,3902-3912: fixed - Both modes keep the peer absent when spawn returns no PID. The readiness rejection reports the startup error, and the session summary says the peer did not run rather than reporting an exit code. See .agents/skills/verify/scripts/omp-smoke.ts:2133-2136,2439-2445,2800-2804,3890-3896,3922-3930.

    Standards

    • [LOW] Bug - .agents/skills/verify/scripts/omp-smoke.ts:2114-2127,2154-2161,2172-2189 - Unreached: the talk and talk-ui callers and their documented normal, early-exit, and failed-spawn controls do not hit the final kill deadline. Inference: if exit arrives in the last 250 ms of that deadline and a helper still holds an output pipe, the driver can report a timeout even though it received the exit status in time. exited settles only after the output drain. - Save the exit status when exit arrives and use it if the shutdown deadline expires before the drain finishes. - class: output drain masks observed exit
    • [LOW] Bug - .agents/skills/verify/scripts/omp-smoke.ts:2183-2189,2762-2773 - Unreached: the normal talk fixture exits on stdin closure, the early-exit and failed-spawn controls never reach this probe, and talk-ui has no equivalent probe. Inference: if shutdown times out without confirming exit and the peer socket is already unreachable, closed-peer-not-live can report ok without proving the documented precondition that the peer exited. The separate sessions check still fails. - Record the timeout and fail closed-peer-not-live before asking the sender to probe. - class: post-exit probe runs without confirmed exit
    • [LOW] Bug - .agents/skills/verify/scripts/omp-smoke.ts:2114-2127,2183-2189,2800-2805,3926-3931 - Unreached: neither mode's normal, early-exit, or failed-spawn controls exercise a peer that yields no exit event after SIGKILL. Inference: when that happens, both session summaries say the peer exited timeout and omit the specific reason. The reason goes only to RPC and readiness promises, not to the result the summaries read. - Carry the shutdown failure reason in the close result and display it in both modes. - class: shutdown timeout diagnostic discarded

    Spec

    None.

    Manager response to round 3

    Repaired:

    • Pre-ready RPC process: a real Bun child exited 47 in 14 ms, but close took 1,009 ms because its helper inherited the pipes. Observe exit separately; give buffered output a bounded drain before releasing streams. A final SIGKILL has a bounded wait as well. A pre-ready peer still undergoes the scan before cleanup. Both real mode controls keep the helper alive and require the scan and exit-47 summary before that helper exits.
    • Missing final scan: include the print session label. A spawn with no PID installs no active checks and reports only that the session did not start. Distinguish this from a real session whose final scan was missed.
    • Missing RPC executable: record an open peer only when the runtime returned a PID. Keep the startup error and do not report an exit code for a process that never started. Use the actual private driver for both modes.

    Rejected: none.

    Redesigned: separate the process exit from the end of its inherited pipes. Waiting on the close event alone loses the exit boundary. Preserve buffered output for a bounded drain, then release the streams; both private controls demonstrate this with a live pipe holder.

  23. DocksDocks commented on Dec 1, 2026

    @DocksDocks
    OwnerAuthor

    Archived with landing pull request #280

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions