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-14-docs
branch
from
August 16, 2026 03:14
8e68351 to
31ac927
Compare
Document plan-mode commands, SDK controls, structured output, session records, task profiles, extension behavior, and usage examples.
Pepps233
force-pushed
the
stack/native-plan-14-docs
branch
from
August 16, 2026 04:21
31ac927 to
1a61c6b
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
Replaces the previous assumption that plan mode must be supplied by an extension with an authoritative description of Diffex's native read-only planning workflow.
The documentation now follows the feature from CLI entry and interactive resolution through SDK hosting, accepted-plan routing, durable session replay, output-mode boundaries, extension behavior, and recovery after resume or navigation.
Reasoning
Native plan mode spans several public contracts that must agree on when mutation is prohibited, which tools remain available, how a submitted plan becomes a durable artifact, and when an accepted implementation is safe to retry.
Documenting only the interactive command would leave SDK hosts and session consumers without the persistence, routing, ownership, and failure semantics required to implement the workflow safely.
The documentation therefore emphasizes the fail-closed boundaries as well as the happy path.
Unsupported non-interactive hosts, ambiguous profile selection, malformed router output, stale continuation tokens, and extension tool overrides all have explicit behavior so integrations do not silently weaken plan-mode safeguards.
Changes
diffex --plan,/plan [on|off], pending-plan decisions, footer task context, and the interactive-only restriction across the main README and day-to-day usage guide.submit_planplus the permitted canonical subset ofread,grep,find, andls, with shell execution, file mutation, extension tools, and SDK custom tools unavailable while planning.noTools, and active task-profile policies constrain inspection tools without removingsubmit_plan, and reserves canonical plan-tool identities against extension or SDK overrides.collaboration_mode_change,plan, andplan_resolutionJSONL session entries with append APIs, transition validation, compaction-aware replay, tree-navigation behavior, and the rule that lifecycle state entries never become LLM messages.AgentSessionsubscribers.Testing
npm run checkpassed against the final rebased 14-PR stack.