Repository navigation
Conversation
Own the ACP peer lifecycle, arbitrate prompt publication, and verify process-group cleanup with a scripted peer.
Bind approval, peer launch, restoration, and settlement to the live run and durable session state.
Expose delegated sessions in the bundled agent loop and exercise restart, cancellation, and approval through the Gateway.
Bound the approval race fixture and assert that both callers reach the gate before the persistence worker serializes them.
Forward workspace reads and reviewed file and process actions through the run-bound relay. Cover discovery handoff, native callback refusal, and cleanup without assuming synchronous listener closure.
Use schemas.rustscript.org for bundled schema IDs and references. Regenerate canonical snapshots and check offline resolution.
Compile the policy peer once per Gateway test process. Install its bytes at each fixture-local path to keep each launch and workspace isolated.
fffonion
force-pushed
the
feat/rss-acp-harness-delegation
branch
from
December 2, 2026 16:31
675eaa1 to
97d97f3
Compare
This branch has not been 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.
Summary
Add an opt-in
delegate_acptool to the bundled RSS Gateway. RustScript Agent remains responsible for the parent run, approval, workspace authority, and final answer. A configured local harness owns child inference and its external session state; the Agent communicates with it over ACP v1 stdio.config.yamlfor local harness launch definitions. Publish the tool only when the Gateway has a valid nonempty harness table and durable storage. Keep the default RSS inventory, the six legacy MCP tools, and editor-drivenacp proxyunchanged.Verification
Local candidate:
8f9b6c3df935530863865a1d46ec4ff6fa7600ee, based on588c9d47baabcdb2f03179531355508a7238f776.session/new, two successfulsession/resumeresponses, and threesession/promptrequests on the same external session. Each parent model response depended on the tool result for its current call. The model and ACP peer were synthetic fixtures; no live inference service was used.Review focus
Check that RSS dispatch and the native launch path share the admitted run and call identity; that new approvals cannot carry over from another call; that restored or interrupted sessions do not replay external work; and that public results exclude private session identifiers, launch definitions, raw frames, and internal replay state.