Skip to content

chore: preserve local work 6fc011f7dbca - #534

Closed
bloodf wants to merge 11 commits into
mainfrom
preserve-review/20261109-loose-6fc011f7dbca
Closed

bloodf wants to merge 11 commits into
mainfrom
preserve-review/20261109-loose-6fc011f7dbca

Conversation

@bloodf

@bloodf bloodf commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Preservation requested by Heitor before removing local worktrees and branches.

Existing local work only. No product resume or merge requested.

Original checkout: $HOME/Developer/github.com/bloodf/beans
Original HEAD: 05e042d
Frozen preservation HEAD: 05e042d
Observed main/base: 93c2fa1

Tests/build/independent review: NOT_RUN. Historical snapshots can overlap other drafts and can use older bases. Review complete diff before integration. Private and generated files remain in the local preservation backup.

bloodf added 11 commits October 20, 2026 17:49
Port the cancellation slice from upstream ed6dcc1025a28789c695e0a0ca1bcc1e2fe77253. Keep AgentLoopConfig source-compatible and preserve current-state execution authorization for top-level and child calls.

Use one second for pre-execution hooks and two seconds for executing tools, leaving room for pipe bash's unchanged total one-second cleanup deadline. Keep child result finalization. Event sinks and other hooks remain outside this cutoff.

Add stuck-tool and stuck-review Stop/Send now coverage, child cutoff coverage, and real held-pipe cleanup coverage. Checks are intentionally deferred to integration QA.
Register gated pipe workers in per-call execution scopes. Retain shared join completions across disposed parent, child, and drain futures. Drain inclusive subtrees at loop boundaries and every codemode exit without resetting bash's total one-second cleanup deadline.

Require scoped runner dispatch and preserve CheckRunner read-only and capability gates. The CheckRunner adapter targets the old routine base and requires explicit composition against the integrated routine version.

Add real nested Stop/Send now and script return/timeout barriers plus registry closure, retained-waiter, panic, and root-isolation regressions. Builds and tests remain deferred to coordinator QA; source and evidence are not accepted for merge.
Preserve bounded cleanup uncertainty when the owning call already failed. Pin nested regression ordering: admission is closed at parent disposal, cleanup starts only after release, and Send now promotion follows cleanup completion. Keep the script fixture runner alive across its future.

No builds or tests run; coordinator source and evidence gates remain pending.
Replace the destructor assertion with recorded admission state and assert it in the fixture. Exercise nested child cutoff explicitly and require admission closure before its disposal checkpoint.

Source and evidence remain HOLD pending independent review and coordinator checks. No builds or tests run.
Attempt child creation and pipe registration at actual child execution disposal. Record outcomes without destructor assertions and verify rejection outside Drop.

Freeze source candidate for coordinator compilation and independent review. No builds or tests run; no merge acceptance.
Retain ordinary pipe command failures without uncertain-cleanup diagnostics. Tag worker join failure separately. Track cutoff explicitly and emit one diagnostic in each owning path; avoid repeated folding in built-in runner convenience boundaries.

Add failed-worker cutoff coverage for both owning paths, actual parallel execution-end isolation, immutable completion retention and promotion ordering, and ordinary signal-error preservation. Exclude one-time login-shell discovery from the cancellation fixture watchdog.

Prior focused candidate had 21 passing and 2 failing loop tests. Final corrections are frozen without another test run; coordinator full-suite evidence and independent S1 rereview remain required before cherry-pick or merge.
Carry runtime cleanup provenance separately from ordinary tool errors. Reject uncertain structured replies before script continuation, and restore owning failure with one bounded diagnostic after hook overrides. Preserve ordinary structured error resolution and hook recovery.

Add composite script continuation and top-level/nested hook recovery regressions. Frozen for coordinator focused and full-suite execution; no tests run for this correction and no merge authorization.
Keep the owned uncertainty diagnostic outside mutable content. Taking or replacing provenance no longer indexes, removes, or parses tool output. Project one diagnostic into execution-end and transcript reporting while preserving runtime provenance through tool composition and hooks.

Add a real DirectRunner uncertain-child regression covering clear, replacement, and reordered content through outer execution/finalization and reporting. Frozen without running tests; coordinator evidence and independent S4 rereview remain required.
Restrict cleanup classification to the agent crate and expose a read-only query. Migrate external ToolResult literals to existing constructors and public output assignments. Add external compile-pass/compile-fail examples and retain the real runner output transformation regression.

The 50 ms timeout fixture assumed a spawned shell had already printed. Arm its unchanged timeout after observed pipe output using the existing test-only lifecycle readiness mechanism. Preserve production timeout semantics, structured output assertions, and the absolute one-second cleanup deadline.

Frozen without mid-flight tests. Coordinator full-suite result 212 passed, 1 failed, 7 ignored at 1c5e2cd does not cover this correction. Independent review and exact-source execution remain required.
@vercel

vercel Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
beans Canceled Canceled Nov 9, 2026 2:46am UTC

Request Review

@bloodf

bloodf commented Nov 22, 2026

Copy link
Copy Markdown
Owner Author

Triaged commit by commit: this work is either already on main or superseded by the integrated PRs. Work still worth porting is tracked in the open drafts #530, #533, #538, #540, #544, #546 and #548. Closing.

@bloodf bloodf closed this Nov 22, 2026

This branch was previously deployed

1 inactive deployment
Preview — 05e042dd Deployed Nov 9, 2026 by vercel[bot]
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.

1 participant