-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Open
Labels
triage:feature-requestFeature or enhancement requestFeature or enhancement request
Description
Pre-submission checklist
- I have searched existing issues and feature requests for duplicates
- This feature request is specific to oh-my-opencode (not OpenCode core)
- I have read the documentation
Problem Description
boulder.json is a single global file. Running /start-work on plan B overwrites plan A's state. Session A then reads boulder.json, sees plan B, and switches to it mid-execution.
This makes concurrent plan execution impossible — a common workflow when working on a backend fix in one session while a portal feature runs in another.
Steps to Reproduce
- Session A:
/start-workon plan-a →boulder.json= plan-a - Session B:
/start-workon plan-b →boulder.json= plan-b (overwrites) - Session A goes idle →
boulder-continuation-injectorreads boulder.json → injects plan-b continuation - Session A abandons plan-a and starts working on plan-b
Proposed Solution
Scope boulder state per session instead of globally. Options:
- Per-session files:
boulder-{sessionID}.json— each session reads only its own state - Multi-plan map: Single file with
{ plans: { [sessionID]: BoulderState } } - In-memory: Store boulder state in the plugin's session state map (simplest, but lost on restart)
Alternatives Considered
/stop-continuationon plan A before starting plan B (manual, easy to forget)- Separate project directories per plan (impractical for same-repo work)
Feature Type
Core Orchestration
Contribution
- I'm willing to help with testing
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
triage:feature-requestFeature or enhancement requestFeature or enhancement request