Repository navigation
Conversation
Issacboy123
force-pushed
the
stack/native-plan-04-session-tests
branch
from
August 16, 2026 03:14
3739601 to
d1dc42f
Compare
Exercise plan submission, collaboration guards, and extension command ownership at the session boundary.
Verify queued prompts preserve ordering and plan submissions remain exclusive across preflight races.
Verify accepted and resumed plans persist exact continuation state across session lifecycle transitions.
Pepps233
force-pushed
the
stack/native-plan-04-session-tests
branch
from
August 16, 2026 03:57
d1dc42f to
56be72a
Compare
Contributor
Author
|
Closing to rebuild on a clean base. This stack does not build. Two separate defects are present, and the first masks the second:
Replacement stacks:
The branch behind this PR is retained unchanged as a backup. |
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
Adds a focused
AgentSessionintegration suite for native plan mode using the faux provider and real session, tool, extension, queue, and persistence boundaries.The coverage exercises both the expected planning workflow and the failure or concurrency paths that could otherwise leak mutation capabilities, lose an accepted continuation, or deliver stale input after submission.
Reasoning
The core plan invariants depend on event ordering across asynchronous input hooks, agent turns, queues, persistence, extension commands, and public session mutations.
Isolated schema tests cannot prove that the canonical tool boundary remains intact or that a terminal plan submission wins races against prompts already in preflight.
Accepted continuations also need durable exactly-once behavior rather than best-effort delivery.
The suite verifies that the same authorization survives restart and write failure, remains protected from extension rewriting, and is consumed only by its persisted user turn.
Changes
submit_plan, intersects those reads with allow and deny policies, and never certifies custom or embedding-provided impostor tools.Testing
npm run checkpassed.