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-11-profile-context
branch
from
August 16, 2026 03:14
b70fe1a to
518d5bd
Compare
Keep profile, harness, and accepted-plan state visible across footer variants while sanitizing task-facing labels.
Present bounded profile safeguards and tool policies during plan handoff, and preserve retryable ownership on cancellation.
Centralize native plan fixtures, reflective method bindings, virtual terminal setup, and editor ownership helpers.
Pepps233
force-pushed
the
stack/native-plan-11-profile-context
branch
from
August 16, 2026 04:19
518d5bd to
56ea02b
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
Preserves the active task identity throughout native plan implementation handoffs by keeping the current profile, routing mode, and harness visible above both the built-in footer and extension-provided footers.
It also adds the interactive resolution path for an accepted plan whose implementation route is ambiguous, presenting the candidate profiles with their expertise, safeguards, and tool-policy consequences before execution starts.
Reasoning
Accepted plans can survive navigation and session rebinds and can activate a different profile or harness for implementation, so the TUI needs to derive task context from current runtime state on every render instead of leaving users with stale or hidden routing information.
Profile and harness labels can originate outside the core UI, which also makes terminal-sequence stripping, control-character removal, and width-aware truncation part of the display contract rather than a cosmetic detail.
An ambiguous implementation route can change the model's domain instructions, safety constraints, and available tools.
The chooser therefore needs to explain those consequences while preserving exclusive editor ownership, settling exactly against the active handoff, and leaving the accepted continuation retryable when the user cancels.
Changes
/sessiondetails so recovery state stays visible outside the footer.Testing
npm run checkpassed against the final rebased 14-PR stack.