Repository navigation
Conversation
jefft72
requested review from
Issacboy123 and
Pepps233
and removed request for
Issacboy123
August 16, 2026 00:11
Issacboy123
force-pushed
the
stack/native-plan-02-session
branch
from
August 16, 2026 03:14
07c4fcd to
f024239
Compare
Reserve runtime replacements and guard session mutations so overlapping operations cannot corrupt active session state.
Configure plan-aware tools and prompts while constraining collaboration behavior to the active session mode.
Persist submitted plan state and resume accepted plans through the normal prompt lifecycle.
Pepps233
force-pushed
the
stack/native-plan-02-session
branch
from
August 16, 2026 03:45
f024239 to
0023bbd
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 was referenced Aug 16, 2026
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
Builds the complete
AgentSessionworkflow on top of persisted native-plan state, including collaboration-mode transitions, restricted planning tools, plan submission events, durable resolution, and an exact one-shot implementation continuation.Also serializes prompt preparation, extension commands, runtime mutations, and replacement reservations so queued or concurrent work cannot cross a terminal plan submission or session handoff boundary.
Reasoning
Plan mode is a capability boundary, not only a system-prompt variation.
Custom tools, same-name overrides, extension interception, queued prompts, and mutable runtime settings must not reopen write paths while the model is expected to inspect context and produce a plan only.
Accepting a plan must likewise create one authoritative implementation turn.
The session needs to preserve that turn through failures and reloads, prevent competing input from overtaking it, and consume it only after the exact user message has entered durable history.
Changes
read,grep,find, andlsimplementations allowed by policy, together with the intrinsicsubmit_plantool.tools,excludeTools,noTools: "all", andnoTools: "builtin"consistently without suppressing intrinsic plan submission.submit_plan, clears queued and post-run work, permits failed submissions to be repaired, and prevents retry or continuation logic from running past terminal submission.implementresolution.Testing
npm run checkpassed.