CLIMission
How to
Sync work-item context
Fetch provider context or record complete context manually.
What changes
sync stores provider-neutral issue context with the Mission. When the configured work provider reports issueContext: true, it fetches validated remote data; otherwise it records manually gathered evidence from a local Markdown file. It does not mutate the work provider.
When this helps
- The configured work provider reports native issue context and the Mission needs current remote data.
- The
issue.syncflow step is waiting for provider context. - The configured work provider does not report issue context and the Mission needs complete manually gathered context before planning.
Run this command
sumr mission sync SMR-123# configured provider contextsumr mission sync SMR-123 --json# context as JSONsumr mission sync SMR-123 --from issue-context.md# manually gathered work-item contextFlags you can use
--from <file>Record manually gathered issue context from a local Markdown file.
--allow-custom-keyAccept a work key that does not match a configured work-provider prefix. Use only for local or intentionally custom work.
--jsonReturn a structured JSON envelope for scripts, CI jobs, and AI assistants.
--help, -hShow the command syntax, supported flags, and examples without changing files.
Keep in mind
- Run
mission providers --jsonfirst. CheckissueContext,comments,attachments,workflowState, andprojectContextindependently, and record any unavailable source as a context gap. - When
issueContextis false, theissue.syncstep requires--from <file>with substantive, placeholder-free evidence. - A failed native sync records a blocker and returns the reason with the next action.