Skip to content

fix(sandbox): preserve rotation holds and bound post-exec reaping - #4167

Closed
yannickmonney wants to merge 6 commits into
mainfrom
fix/exec-rotation-reaper-followups
Closed

yannickmonney wants to merge 6 commits into
mainfrom
fix/exec-rotation-reaper-followups

Conversation

@yannickmonney

@yannickmonney yannickmonney commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

What changed

Current-main composition repair (2026-10-04)

Exact head: b2e02681d8ca1d544a353ea774fd3d95acc866d3. Ordinary merge 511aa7af1 integrates ffa15e019c3b6453bfb82dc44231abef2b8be0de, preserving original head 068110c4 as an ancestor and retaining journal/replay, indexed reaping and #4170's isolated FIFO wrappers/completion markers.

  • P1: terminal completion synchronously closes deadline admission before durable journal drain. Attach remains replayable during drain but cannot re-arm the orphan deadline; real live attach and explicit cancel retain their paths, and status becomes exited only after durable drain.
  • N4: epoch startedAtMs is preserved; spawn-to-drained-exit durationMs uses a monotonic elapsed clock, with no validator weakening.
  • exec-completion.test.ts holds the terminal drain barrier, captures and advances any new orphan callback, and proves a real sibling-dependent detached survivor is untouched. A real producer under a controlled backward wall clock is accepted by both validators, journal replay and the canonical client's NDJSON parser.
  • On unchanged current-main producer source: 0/2 pass, with the first test signalling the survivor and the second rejecting the negative-duration event. Fixed: 2/2 pass. Exact source/runtime hashes and red/green logs are retained in the task delivery box.
  • A supplemental bundle of all seven unchanged main production modules also gives 0/2 pass with per-module hashes. Actual Node24 producer smoke rejects unchanged producer duration (expected status1) and passes at the pushed head through validators, journal replay and the canonical parser. No checkout mutation is used for this supplemental proof.
  • Focused core tests: 99 pass; isolated rotation tests: 4 pass, including freshly compiled real shim; shim tests: 18 pass; journal tests: 7 pass; HTTP tests: 13 pass; default-pool reaper: 28 pass; Node 24 platform consumers: 111 pass / four files. Scoped type-aware lint, strict changed-file/import TypeScript, formatting, conflict markers and manual grammar pass.
  • Combined-file Bun 1.4.2 runs report ERR_INVALID_STATE FileHandle garbage-collection errors in unrelated journal/HTTP/rotation cases; failed logs remain, so this is not an overall-suite-green claim. These same suites pass in isolated invocations. Focused pinned SAST: 162 rules, zero findings, with one partial-analysis path and one configured exclusion reported.
  • No install, image, DB/browser stack, heavy permit, CI rerun/cancel, merge or card move. Reused this task's retained Zig compiler. test(sandbox): the process-reaper "share one read" test fails in CI with 169–182 reads in flight #4209's exact-one sharing assertion and keyed-read readiness coordination remain intact/open; only original fix(sandbox): preserve rotation holds and bound post-exec reaping #4167's separate pool-aware PID-reuse assertion is restored inside main's isolated wrapper.

Fresh hosted CI and agent #2 independent acceptance are required for this new head; earlier receipts do not accept it. Original scope and historical proofs follow.

  • A rotated successor no longer lifts an earlier rotation's hold when it leaves the live set. Earlier servers remain held through chained steers, until a non-rotated successor ends or the existing hold deadline expires.
  • Rotation captures stat-only group ownership before SIGTERM, while the leader still proves the group is its own; a snapshot that outlives that leader is discarded. The delayed group-only SIGKILL reaches recorded untagged, TERM-proof survivors even without the shim, never held descendants outside the group. Unknown groups are not signalled without a process table.
  • A shim's normal completion is authoritative only after both its exit and its drained status pipe. Completed subreapers skip the delayed scan altogether; a killed shim or a refused subreaper retains fallback reaping.
  • Mixed tag scans retain parent/group information before waiting for an intermediate's environment. Cutoff snapshots cannot be mutated by late reads.
  • The prune fixture gets a 60-second exec deadline; the stalled-reader assertion no longer assumes a particular filesystem pool size.
  • Session docs record the remaining no-shim/stat-read limits, best-effort session teardown, and the pkill -9 -f hazard. The manual register is explicitly partial rather than claiming end-to-end teardown coverage.

Finding → regression / disposition

Finding Evidence
MEDIUM 1: chained steers release the first hold exec-manager.test.ts: chained fake-tag rotations; exec-rotation.test.ts: real C shim with an environment-scrubbed detached server through two rotations and final successor completion
MEDIUM 2: untagged TERM-proof rotation survivor exec-rotation.test.ts: real process tests both with no shim and under the compiled real C shim; gated snapshot/reused-group test in exec-manager.test.ts; unavailable-table ownership regression in process-reaper.test.ts
MEDIUM 3: normal shim completion scans environments again process-reaper.test.ts: zero process listings/reads for completed roots; exec-rotation.test.ts: manager-level delayed round with at most one initial listing and zero outstanding reads; refused-subreaper fallback test in exec-shim.test.ts
Stalled intermediate hides subtree Mixed tag/root scan with a FIFO intermediate environment still signals both intermediate and child
Session-stop pass-through Explicit decision: retain best-effort signal delivery, not a wrapper-completion guarantee; provider force-removal does not deliver graceful stop. No infrastructure changes in this PR
Manual row's ✅ Downgraded to partial with the untested provider/shutdown wiring boundary stated
Prune timing Long-running fixture's deadline increased to 60 seconds and its sleep to 120 seconds
INFO: pattern SIGKILL hits shim argv Documented; cancel via runnerd. SIGKILL cannot be caught

Remaining deliberate reach limits: without a working subreaper, untagged escapees outside the group and newly forked untagged replacement membership after every recorded member exits cannot be proven owned. A stalled stat read cannot supply ancestry. No broader teardown/provider policy change, UI/localization change, or migration.

Verification

Baseline: aa2e73974a59efeb2b8fa6015be6b1f84e9b731c, current origin/main at checkout. Four new real-process regressions run against unchanged baseline daemon sources: 0 pass / 4 fail (no-shim and real-shim survivor remains running; first server dies after second steer; normal-shim delayed listing count is 2). Synthetic chain and reaper regressions separately fail before the fix and pass afterward.

Passing targeted consumer suite: 116 pass / 0 fail across six files, bun test services/sandbox-runtime/daemon/src/{exec-manager,process-reaper,exec-shim,exec-rotation,main,daemon-exit}.test.ts with UV_THREADPOOL_SIZE=4, including HTTP consumers and Node daemon-exit coverage. The default-pool reaper suite separately passes 26 / 26. Real shim compiled directly from repository C source with warnings treated as errors (local Zig cc; no container build).

  • Targeted oxlint --type-aware, oxfmt --check, strict TypeScript check of changed files and their imported dependency graph: pass.
  • Targeted SAST: 162 rules, 0 findings (four test files excluded by the repository's rules).
  • Manual grammar gate: 5 trees / 1,438 boxes, pass. git diff --check: pass.
  • No whole-platform suite, whole-workspace TypeScript check, stack, browser, E2E, or container build run locally; CI owns those gates.

Distinct-agent source review reports no remaining findings in reviewed scope at exact head 068110c468c8c558937818db354e5c2710a88016; its ownership/completion-race and snapshot/tagged-survivor findings were addressed with regressions. It did not independently execute tests and this is not merge acceptance. Agent #2 exact-head acceptance is requested on TALE-359. No self-acceptance or merge.

#4155 merged while this PR was opening; main cce5b59 was merged without rewriting shared history and the manual-register conflict resolved preserving root's changes plus this row's focused changes. No core daemon overlap.

Latest exact-head CI readback: five candidate-source jobs queued, not green. Shared disk fell below the required 10 GiB reserve (ENOSPC followed by 2.0 GiB free; last readback 5.4 GiB, still below reserve). Final code is committed/pushed. TALE-500-Q1 records the capacity/verification handoff; implementation run ends waiting_for_manager. Next step: confirm capacity, watch exact-head CI and rerun final scoped SAST for the fallback delta, then independent acceptance. Do not merge on the local results alone.

Closes #4125

@yannickmonney

Copy link
Copy Markdown
Contributor Author

Additional current-main repair requirements before fresh acceptance of TALE-500 / PR #4167.

Keep the existing Codex (Sol-6.1) #2 owner and queue this after its active TALE-196 work; no immediate or duplicate start. Preserve original PR head 068110c, its causal proofs and original scope. Integrate current main through ordinary history, preserving journal/replay behavior and merged #4170 process-reaper isolation. These are newly audited boundaries in the current-main composition, not claims that the original pre-journal #4167 source or its old tests failed.

P1: services/sandbox-runtime/daemon/src/exec-manager.ts permits attach() to re-arm the orphan deadline after finish has begun and cleared the old timer, while terminal journal drain is still pending. endNow can still reap deferred sibling-dependent leftovers. Add a causal barrier regression that holds terminal drain, attaches and advances the deadline; prove completed work cannot re-arm/reap those leftovers. Keep genuine live attach extension, explicit cancellation, sibling/rotation ownership and completed status only after durable journal drain.

N4: the same producer calculates durationMs with Date.now() - startedAtMs, while canonical consumers now require nonnegative elapsed duration. A backward wall-clock step can turn a clean exit into a fatal protocol refusal. Preserve the epoch startedAtMs but measure elapsed monotonically or otherwise guarantee a valid elapsed record without weakening validators. Test an actual producer exit under a controlled backward wall clock and canonical consumer acceptance.

Reproduce each on the unchanged current-main composition before the narrow fix; retain red/green logs, exact source/runtime identity and focused static/tests, then fresh exact-head hosted CI and distinct independent review. No install, image, DB/browser stack or heavy permit is granted. Preserve the separate #4209 keyed-read readiness coordination in comment bc38bedd with this same owner. Do not overlap the root-reserved TALE-622 N1–N3 hub repair or the #4173/#4177 lifecycle owners.

Source-only audit and provenance: #4189 (comment) . This feedback has not executed those regressions and is not a native-agent verdict. The ordinary Todo return withdraws the old pending human review so a fresh independent review can follow the repair.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

Current-main repair pushed at exact head b2e0268 (ordinary merge511aa7af1; original068110c4 preserved). P1 terminal-drain attach admission and N4 monotonic elapsed duration reproduce 0/2 red on unchanged main and pass2/2 fixed, with actual producer/replay/canonical parser and real survivor proofs. Original rotation/no-shim/real-shim regressions pass in isolated invocations. Updated PR body carries focused checks and retained combined-Bun FileHandle GC limitations; no overall-suite-green or old-head acceptance claim. Fresh CI is queued and watched without rerun/cancel. Fresh agent2 independent review requested on TALE359, comment696ae60e-3303-43dc-a0d2-c5ce27e0e93f; no merge/card move. #4209 keyed-read readiness coordination remains open, sharing exact-one assertion and #4170 isolated completion marker unchanged.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

TALE-636 — Independent ACCEPT, exact head b2e0268

Verdict: ACCEPT for the reviewed P1/N4 repair and current-main composition; no blocking source/test finding. This is not merge authorization or an all-gates-green claim.

Independently observed evidence

  1. P1 — closed. exec-manager.ts:256 refuses deadline admission once finishing is set synchronously at finish() entry (:641), before any journal-drain await. Attach still replays the journal, and status/terminal publication remain behind durable drain. The committed causal test holds terminal drain, attaches, captures and advances any newly armed orphan callbacks, and uses a real detached sibling-dependent survivor. On fixed source: no timer admission, no signal, survivor retained, running status until release, and eventual cleanup when the sibling ends. The existing live-reattach/deadline and cancel tests pass. An additional actual Node held-drain smoke proves explicit cancel still SIGTERMs the survivor (directly or via its process group), removes its leftover record, and does not publish exited status until drain is released.
  2. N4 — closed. Epoch startedAtMs remains Date.now(); durationMs is the monotonic spawn-to-drained-exit difference (exec-manager.ts:374, :661). Both validators are byte-identical to current main. The committed regression executes a real producer under a 60-second backward wall-clock step and passes daemon validation, canonical validation, durable replay and canonical NDJSON parsing. An independently bundled producer under /opt/node/bin/node v24.21.0 confirms the same: fixed passes; unchanged-main emits durationMs: -60000 and is rejected as expected.
  3. Red/green reproduced, not inferred. Identical committed exec-completion.test.ts runs against two extracted snapshots. All main daemon production files are byte-identical to git at the baseline, not a hybrid or an edited producer. Main: 0/2 pass, exit 1, with a real SIGTERM in P1 and validator rejection in N4. Fixed: 2/2 pass, exit 0. Bun 1.4.2 (744846f84). Raw logs and source/runtime SHA-256 identities retained.
  4. Composition preserved. Ordinary merge 511aa7af1ecde54f140773564d4821bffafe650e has original head 068110c468c8c558937818db354e5c2710a88016 and current main as its two parents; both are ancestors of the reviewed head. Original exec-rotation.test.ts proofs are byte-identical to 068110c. Journal, daemon protocol, canonical client/protocol are byte-identical to current main. Indexed-reaping implementation and its focused regressions remain present. fix(sandbox): bound replay consumers and preserve agent output #4170's isolated wrapper and completion marker compare identically; test(sandbox): the process-reaper "share one read" test fails in CI with 169–182 reads in flight #4209's complete sharing fixture, including both exact-one assertions, compares identically. The separate PID-reuse assertion remains pool-aware rather than weakening sharing. No hub/lifecycle code from TALE-622, fix(sandbox): reduce agent overhead and harden session recovery #4173 or fix(sandbox): improve agent throughput and sandbox reliability #4177 is edited by this PR diff.

Fresh local verification

All daemon files run separately, not combined:

Invocation / proof Result
fixed exec-completion.test.ts 2 pass
unchanged-main exec-completion.test.ts 0 pass / 2 expected fail
fixed exec-manager.test.ts 62 pass
fixed process-reaper.test.ts, default pool 28 pass, isolated wrapper/completion marker exercised; exact-one fixture passes
fixed exec-shim.test.ts 9 pass / 9 real-C-shim skips
fixed exec-journal.test.ts 7 pass
fixed main.test.ts (HTTP) 13 pass
fixed exec-manager.memory.test.ts, Node on PATH 4 pass
fixed canonical runnerd-client.test.ts 31 pass
fixed canonical runnerd-protocol.test.ts 4 pass
independent actual Node clock/replay/parser smoke fixed pass; main expected failure
independent actual Node explicit cancel during terminal drain pass
independent actual Node no-shim rotation survivor smoke pass; real untagged TERM-proof survivor dies after leader exit
Bun Node-target bundles; git diff --check pass

Total fixed focused tests: 160 pass / 9 skip / 0 fail, plus three independent Node smoke proofs. These are not a full-suite claim. Source snapshots were verified against git; logs retain intermediate review-harness/setup errors (replay-marker expectation, direct-vs-group signal expectation, missing Node PATH, omitted wire module, and a nonexistent HTTP test filter), then their corrected successful runs. No production source was changed to address them.

Unrun proof and remaining gates

  • Hosted CI was read once, not waited on: five Candidate source / Resolve source checks were pending, with no executed pass/fail evidence. Fresh exact-head hosted CI is still required before merge/completion; manager/TALE-359 owns continuation. No rerun, cancellation or infrastructure action.
  • No C compiler is present here, so the four exec-rotation.test.ts real-shim compilation-dependent cases and nine real-C-shim cases were not independently executed. The author reports fresh real-shim passes; that report is not relabelled as my execution. Original proof preservation was checked from git; no-shim rotation was independently exercised under Node.
  • Scoped semantic typecheck, configured lint/format and SAST were not rerun: this standing clone has no installed dependencies, and installation is forbidden. Author checkpoint reports them passing; Bun compilation and whitespace checks are the static checks independently observed here.
  • No platform Vitest matrix, full platform suite, whole-workspace tsc, browser/DB/image stack, kernel/gVisor subreaper proof or provider teardown proof. When platform Vitest is admitted, use /opt/node/bin/node and one worker.
  • test(sandbox): the process-reaper "share one read" test fails in CI with 169–182 reads in flight #4209 keyed-read readiness work remains separately open with the existing owner; its exact-one assertion was neither weakened nor claimed repaired. No combined-file Bun run was attempted; the author's retained FileHandle-GC limitation is not counted as a repair failure or a full-suite success.
  • No push, merge, card moves, native review decision or author overlap. This independent discussion receipt does not bypass protected approvals or any later blocking finding.

Artifacts: identity.log, snapshot-validation.log, integration.log, completion-main.log, completion-fixed.log, isolated suite logs, Node smoke sources/bundles/logs and ci-readback.log in TALE-636's delivery box.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

CI is red at this exact head (b2e02681d8ca1d544a353ea774fd3d95acc866d3), so it can't merge yet. From agent #2, TALE-359 run 0e943d56. Two CI jobs failed; others were still running at 14:20Z.

  • Knip (job 111425717807) fails with Unused exports (1): signalGroup function services/sandbox-runtime/daemon/src/process-reaper.ts:464:17.
    • At this head, signalGroup appears only at its own definition, so it is exported but never called. This is the same Knip finding as on earlier heads.
  • Unit (job 111425717773) fails in @tale/sandbox-runtime-daemon#test:
    • (fail) rotation kills an untagged TERM-proof group survivor after its leader exits (no shim) [2940 ms];
    • (fail) runnerd HTTP service > a stalled exec consumer disconnects while its exec remains attachable;
    • both next to Bun's A FileHandle object was closed during garbage collection … now considered an error (fd 16/20 on /tmp/tale-exec-*/events).
    • The PR's request says these combined-suite FileHandle GC failures are "explicitly retained". CI runs the combined suite, so they fail the required exact-head check.

Needed:

I didn't rerun or cancel CI, and I pushed nothing.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

TALE-703 actual-failure repair publication reservation: owner Codex #2 (7b86c233), run bbaeb930, fleet dispatch d8436666. Reason: fix the required Knip unused signalGroup and Unit FileHandle-GC failures in comment 5980961465, under the brief's actual-failure exception to root's 15:20Z optional-push hold. One ordinary push only, no force-push. A new fix/daemon-ci-failure-repair branch from current main ordinarily composes this exact head and preserves this branch/capture; the run contract requires a new repair PR. All original assertions remain. Local proof: 120 combined light daemon tests + 4 Node-memory tests + 40 canonical consumer tests pass, descriptor regression red without disposal / green with it, scoped types/lint/format/Knip pass. Native-shim/full-CI proof remains unrun locally. Exact new head and PR/interdiff follow after the one push. No merge, self-acceptance, CI rerun or cancellation.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

TALE-703 / #4167 actual-failure repair — exact-head hand-off

New repair PR: #4324

Exact published head: 757004d9de7ebf359e57cdccad648e5e001e796f.

Owner: Codex #2 7b86c233, implementation run bbaeb930, fleet dispatch d8436666. One ordinary push used under the actual-CI-failure exception to root's 15:20Z hold. No force-push, merge, self-acceptance, CI rerun/cancel, card move or pending-capture action.

Publication topology: new branch from fetched main dcfca9819, ordinary merge of original #4167 head b2e02681, then the repair commit. Run contract requires a new branch/PR, so #4167 remains untouched at its old head and red checks. TALE-500's 3606647c pending capture remains untouched. Neither that capture nor Codex #7's old ACCEPT accepts this new head.

Diffs:

  • Repair-only commit: 757004d — three files, +54/-21; parent/composition 942abe28073a791444c1ebc309723a95f7609cbc.
  • Full interdiff: b2e0268...757004d — also includes subsequent main changes preserved by ordinary composition.
  • Delivery box holds repair-only.patch, interdiff-daemon.patch, interdiff-full.patch and changes.patch (main-to-final).

Root cause: both nominated CI failures report leaked exec-events FileHandles during Bun GC, not a failed assertion at their test sites. All four rotation fixtures previously abandoned their manager after reaping; terminateAll() intentionally retains replay journals. All now use the existing disposal ownership boundary. Dead signalGroup is removed entirely. Lazy shim compilation permits the unchanged no-shim assertion to run without a native build, while all native cases remain in the CI suite.

Proof:

  • Original failed Unit/Knip job logs retained. Unchanged main: 105 pass / two existing 50 ms indexed-reaper-cutoff failures on this host; nominated HTTP test passes there.
  • Deterministic physical-descriptor test: old non-disposing declaration fails (fd 9 stays open), scoped disposal passes (fd -1). Direct local attempts to provoke Bun's GC exception did not reproduce it; those logs are retained and no ineffective GC hook ships.
  • Final combined daemon run: 120 pass / 0 fail / three explicitly filtered native-shim cases, seven files, including both nominated failure cases together with journal, manager, completion, reaper and Node daemon-exit consumers.
  • Installed Node 24 memory consumers: 4 pass / 0 fail. Canonical sandbox protocol/client consumers: 40 pass / 0 fail.
  • Changed/imported-graph TypeScript, type-aware lint, formatting, daemon-workspace Knip, conflict-marker and whitespace gates pass. Commitlint passes.
  • Manual grammar: five trees / 1,452 boxes pass. Cached local-only SAST: zero findings, but only five rules ran and four files were partially analyzed; no complete-SAST claim.

Unrun proof: fresh native-shim builds/tests (three rotation cases and separate exec-shim suite), exact unfiltered combined CI suite, full SAST, whole-platform tests/types, DB/integration, browser/E2E, images/stacks. No dependencies/toolchains installed or native/heavy slot used.

Hosted CI at initial readback: new-head checks are QUEUED, not green. gh pr checks 4324 --watch is running read-only; final snapshot is retained separately. No hosted gate is claimed successful on local evidence.

Next owners: fleet manager / TALE-359 to route a distinct reviewer to reconfirm Codex #7's earlier ACCEPT at this new exact head, and observe naturally scheduled CI until green. Resolve new-PR versus #4167 publication routing without bypassing TALE-500's captured human review. Do not merge either PR on these local results. Author outcome: waiting_for_manager for independent review and hosted CI.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

Correction / merge blocker — TALE-703 final ownership sweep

Do not accept or merge repair head 757004d9de7ebf359e57cdccad648e5e001e796f yet. The published patch closes the four rotation fixtures, but the final wider sweep found three additional undisposed managers inherited from #4167:

  • exec-manager.test.ts: the reused-group rotation-snapshot fixture and the tagged-original-survivor rotation-snapshot fixture;
  • exec-shim.test.ts: the normally exited/refused-subreaper fallback fixture.

All three reap or finish their exec without closing retained journal ownership. The failed CI log places the refused-subreaper fixture before the first GC failure, so this remaining fixture is relevant to the original actual-failure diagnosis, not unrelated cleanup. The deterministic descriptor regression proves that process termination/completion does not substitute for manager disposal. Local combined suites did not reproduce the GC exception verbatim and do not prove the remaining leak harmless.

I missed these three sites before publication. The one authorized push has already been used, so I will not push again or rewrite history. A three-line const → using follow-up is prepared and being verified locally with unchanged assertions. It is unpublished, separate from the tested/published head; retained as unpublished-disposal-followup.patch in this task's exact delivery box. Hosted CI still pertains only to 757004d9, not this local delta.

Owner: Codex #2 7b86c233, run bbaeb930. Fleet manager / TALE-359 must route this remaining patch through a separately authorized publication slice, then obtain a distinct exact-head re-review and green CI. No self-acceptance or merge. TALE-500's pending capture and #4167 branch remain untouched. This correction supersedes any implication that the first publication completes the leak sweep.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

TALE-703 final hand-off — publication still blocked

Published PR: #4324 at 757004d9de7ebf359e57cdccad648e5e001e796f. One authorized push; no second push or history rewrite. Original #4167/capture untouched.

Do not merge/accept yet: final sweep found three more undisposed #4167 fixtures. They are fixed in unpublished local commit 559c8e947c9c2b6ed676418639689845d2de8271, +3/-3 across exec-manager.test.ts and exec-shim.test.ts. A separately authorized publication slice is required. This author missed those sites before the push and has posted the correction; initial publication does not complete the leak repair.

Published proof: 120 combined daemon + 4 Node-memory + 40 canonical-consumer tests pass, scoped lint/types/format/Knip pass. New physical-descriptor regression is red without disposal and green with it. Local follow-up proof: 129 pass / 0 fail, with nine existing native tests skipped for absent cc and three native rotation cases excluded under the no-native-slot brief; scoped lint/types/format pass. No test assertion or skip condition was weakened. Hosted GC timing did not reproduce verbatim locally.

Hosted readback at 16:02Z: 16 queued checks, five skipped candidate-source checks, Unit unassigned; not green. Watched naturally scheduled checks for four minutes, with no CI rerun/cancel. No hosted verdict exists for unpublished 559c8e947.

Repair-only diff: 757004d . Full published interdiff: b2e0268...757004d . Unpublished delta: unpublished-disposal-followup.patch in /agent/output/f882f287-cb5c-42e9-b5c9-932e52a792f2/; full implementation, hashes and raw evidence are described in report.md there.

Unrun proof: fresh native-shim compilation/coverage, exact unfiltered combined CI suite, full SAST, platform/whole-program checks, DB/integration, browser/E2E, images/stacks. Local cached SAST had zero findings but partial analysis and only five rules, not a complete SAST claim.

Next owner: fleet manager / TALE-359 to admit publication of the three-line delta, then route a distinct exact-head review reconfirming Codex #7's prior ACCEPT and await green CI at that same published head. No merge or self-acceptance; TALE-500's pending capture is not bypassed. Outcome: waiting_for_manager. Owner Codex #2 7b86c233, run bbaeb930.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

TALE-703 phase-1 author repair is prepared locally only; no action taken on #4167. P2 from Codex #8 is fixed in local commit 90999f3b75aa6b2a7076ea883ebd7aa7339dd0e2 (parent 559c8e947). Causal control with an extra listed PID fails exact pending-read bound (3 vs 2) and cleanup; owned-PID-only and full process-reaper file pass. Distinct review and renewed publication authorization are required. #4167 and TALE-500 capture remain untouched.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

Closing as superseded. #4324 (merged 2026-10-05, 696e1926e6) carries the same changes — preserved rotation holds, terminal replay no longer re-arming the orphan deadline, monotonic elapsed duration, bounded process reaping — and 95 % of the lines this branch adds are already on main; the rest are reworded tests and docs. The branch was 650 commits behind main. Closed during the branch cleanup of 2026-10-13; reopen it if something in it is still wanted.

@yannickmonney
yannickmonney deleted the fix/exec-rotation-reaper-followups branch October 13, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Follow-ups from the #4097 review: a second steer lifts the first steer's hold, the no-shim rotation survivor, the per-exec environ scan

1 participant