Back to Openspec

Proposed Initiative Next / Agent Handoff UX

openspec/initiatives/context-store-and-initiatives/work-items/proposed-initiative-next-agent-handoff-ux/plan.md

1.5.03.1 KB
Original Source

Proposed Initiative Next / Agent Handoff UX

Status

Discussion draft. Not locked into the numbered roadmap yet.

Why This Exists

The GSD workspace comparison highlighted a UX gap: OpenSpec has increasingly good discovery primitives, but agents still need to infer the next useful step from several commands.

The candidate idea is a tiny "what now?" handoff command after initiative discovery from the current repo or workspace. It should not become a dashboard, work-progress status view, or replacement for workspace local-view behavior.

The manual beta pass surfaced a second, related handoff gap: before a command like initiative next exists, a fresh coding agent still needs baseline OpenSpec literacy. It needs to understand context stores, initiatives, workspaces, repo-local changes, and where artifacts should live. A small use-openspec skill may be the simplest first slice.

Candidate Goal

Help an agent answer:

text
What should I do next for this initiative from the current repo or workspace?

Possible Command Shape

bash
openspec initiative next <id> --json

Possible response:

json
{
  "initiative": "billing-launch",
  "next_action": "create_repo_change",
  "reason": "initiative found, no linked local change exists for this repo",
  "suggested_command": "openspec new change add-billing-api --initiative billing-launch"
}

Possible Skill Shape

text
use-openspec/
  SKILL.md
  references/
    shared-context-beta.md
    artifact-placement.md

This would be a baseline guide skill, not a workflow action. It should not produce /opsx:use-openspec, should not appear as an implementation workflow, and should not imply that workflow command delivery is unavailable.

Open design question: whether this is literally part of the default profile, a separate always-on bundled skill, or a managed guide skill installed by default whenever the selected agent supports skills.

Discussion Points To Review

  • Should this become a numbered roadmap item before workspace initiative opening?
  • Is initiative next the right command name, or should this guidance live inside workspace initiative opening or repo-local status?
  • Should the command suggest exactly one next action, or return a ranked set of possible actions?
  • Should it inspect actual work progress, or stay limited to handoff readiness?
  • How should it behave when no stores are registered, the initiative is ambiguous, the local repo is unrelated, or linked changes already exist?
  • Should baseline OpenSpec guidance be modeled as a default skill, a profile member, or a separate managed guide?
  • How should the guide skill interact with commands-oriented delivery?
  • How should it teach artifact placement: context-store initiative vs repo-local change vs workspace view?

Boundaries

  • Do not add progress/status semantics in the first version.
  • Do not create changes, clone repos, or mutate workspace state.
  • Do not make workspace opening a prerequisite.
  • Prefer agent-readable JSON over broad interactive UX in the first slice.
  • Do not turn baseline guidance into a new slash command unless a separate workflow need emerges.