You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Opencode has plan and build modes but no goal mode for long-horizon autonomous tasks. Proposal: an event-sourced single-goal domain with CAS revisions, model-facing get/create/update goal tools, an idle-checkpoint same-session round driver (one retained goal-round prompt per admitted round, human input always wins), a /goal command, and a goal status projection. Design follows proven DSH goal-mode semantics (durable phase vs process-local armed activation, round-budget caps, evidence-before-complete, 3-round blocker discipline). Scope: shared session/tool/command plus TUI/desktop UI.
Reference implementation exists locally (same-session loop + CAS revisions + fault-injection tests); happy to shape it into a PR if the direction is welcome.
No recognized issue template was used. Please use one of the three templates: Bug Report, Feature Request (title must start with [FEATURE]: and include the verification checkbox), or Question.
The [extend] prefix is not a valid template type. If this is a feature request, please reopen using the Feature Request template with the required verification checkbox and a [FEATURE]: title prefix.
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
[FEATURE]: Add native session goals with /goal #27167: [FEATURE]: Add native session goals with /goal — proposes the same /goal command, per-session goal persistence, model-visible goal tools, TUI/desktop client support, and runtime continuation. This is a very close match.
Closing in favor of #27167, which proposes the same /goal command, per-session goal persistence, model-visible goal tools and TUI/desktop support. What this proposal added on top: a working reference design — event-sourced single-goal domain with CAS revisions, durable-phase vs process-local activation, round-budget caps, evidence-before-complete, 3-round blocker discipline, plus a reconcile() that retracts orphan synthetic rounds. If #27167 moves forward, I can shape the reference implementation (same-session round driver + tests) into a PR.
Activity
github-actions commentedon Sep 9, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
[FEATURE]:and include the verification checkbox), or Question.[extend]prefix is not a valid template type. If this is a feature request, please reopen using the Feature Request template with the required verification checkbox and a[FEATURE]:title prefix.Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
[FEATURE]: Add native session goals with /goal— proposes the same/goalcommand, per-session goal persistence, model-visible goal tools, TUI/desktop client support, and runtime continuation. This is a very close match.[FEATURE]: Native infinite agent mode (auto-continue until done, with limits)— covers the autonomous same-session loop/auto-continue aspect.[FEATURE]: Implement /loop command for automated iterative task execution— covers the iterative autonomous execution loop aspect.If you believe this was flagged incorrectly, please let a maintainer know.
johnhenry030888 commentedon Sep 9, 2026
Closing in favor of #27167, which proposes the same
/goalcommand, per-session goal persistence, model-visible goal tools and TUI/desktop support. What this proposal added on top: a working reference design — event-sourced single-goal domain with CAS revisions, durable-phase vs process-local activation, round-budget caps, evidence-before-complete, 3-round blocker discipline, plus areconcile()that retracts orphan synthetic rounds. If #27167 moves forward, I can shape the reference implementation (same-session round driver + tests) into a PR.