feat(fs5.5): add workspace plan release lifecycle proofs#59
Merged
adybag14-cyber merged 1 commit intomainfrom Mar 19, 2026
Merged
feat(fs5.5): add workspace plan release lifecycle proofs#59adybag14-cyber merged 1 commit intomainfrom
adybag14-cyber merged 1 commit intomainfrom
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (9)
📝 WalkthroughWalkthroughThis PR introduces workspace plan release management, enabling snapshotting, listing, activation, deletion, and pruning of workspace plan versions. Adds persisted storage at Changes
Sequence Diagram(s)sequenceDiagram
actor User
participant CLI as CLI (tool_exec)
participant Service as TCP Service (tool_service)
participant Runtime as Runtime (workspace_runtime)
participant FS as Filesystem
User->>CLI: workspace-plan-release-save v1
CLI->>Runtime: snapshotPlanRelease(...)
Runtime->>FS: Create /runtime/workspace-plan-releases/<name>/<plan>/v1/
Runtime->>FS: Write plan.txt, release.txt (metadata)
Runtime-->>CLI: Success
CLI-->>User: Release saved
User->>CLI: workspace-plan-release-list
CLI->>Runtime: planReleaseListAlloc(...)
Runtime->>FS: Scan release directories
Runtime-->>CLI: List of releases
CLI-->>User: [v1, v2, ...]
User->>CLI: workspace-plan-release-info v1
CLI->>Runtime: planReleaseInfoAlloc(...)
Runtime->>FS: Read plan.txt, release.txt
Runtime-->>CLI: Metadata + plan content
CLI-->>User: Release info
User->>CLI: workspace-plan-release-activate v1
CLI->>Runtime: activatePlanRelease(...)
Runtime->>FS: Read v1 plan.txt
Runtime->>FS: Write to active plan location
Runtime-->>CLI: Success
CLI-->>User: Plan activated
User->>CLI: workspace-plan-release-delete v2
CLI->>Runtime: deletePlanRelease(...)
Runtime->>FS: Remove /runtime/.../v2/
Runtime-->>CLI: Success
CLI-->>User: Release deleted
User->>CLI: workspace-plan-release-prune keep=1
CLI->>Runtime: prunePlanReleases(keep=1)
Runtime->>FS: Sort by sequence, delete excess
Runtime-->>CLI: {deleted: 2, kept: 1}
CLI-->>User: Prune complete
Possibly related PRs
Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Comment |
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 by CodeRabbit
New Features
Documentation