Repository navigation
Conversation
jefft72
requested review from
Issacboy123 and
Pepps233
and removed request for
Issacboy123 and
Pepps233
August 16, 2026 00:10
Issacboy123
force-pushed
the
stack/native-plan-01-persistence
branch
from
August 16, 2026 03:14
ebb2a54 to
5483436
Compare
Define validated plan artifacts and the intrinsic submit_plan tool so every runtime uses one normalized, bounded representation for planning output.
Persist collaboration mode, submitted plans, resolutions, and accepted continuations through validated append-only session history and branch replay.
Pepps233
force-pushed
the
stack/native-plan-01-persistence
branch
from
August 16, 2026 03:40
5483436 to
6f036b1
Compare
Pepps233
changed the base branch from
feat/task-profiles-28-resume-labels
to
main
August 16, 2026 03:40
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
Introduces native plans as a first-class coding-agent artifact with a bounded schema, normalized content, an intrinsic
submit_plantool, and an explicit implementation authorization prompt.Extends append-only session history so collaboration mode, submitted plan drafts, user resolutions, and accepted implementation continuations survive JSONL reloads and branch replay.
Reasoning
Plan state must remain durable and branch-local because a user can resume, fork, compact, or navigate a session before deciding whether to implement a submitted plan.
Reconstructing that state from validated lifecycle entries prevents a plan from being lost, resolved against the wrong branch, or treated as implementation authority before the user explicitly accepts it.
Persisted artifacts also form a trust boundary.
Strict size, control-text, parentage, and transition checks keep malformed or tampered session data from silently changing collaboration policy or creating an ambiguous continuation.
Changes
CollaborationMode,PlanArtifact, andPlanResolutioncontracts with limits for plan IDs, titles, and Markdown bodies.submit_plantool with a typed input schema and a result that returns the exact persisted artifact.createPlanImplementationPromptso accepted plans become an explicit, decision-ready implementation instruction instead of an implicit state change.SessionContext.Testing
npm run checkpassed.