Repository navigation
Conversation
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.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.