Agent runtime
Plan artifacts
Plan artifacts are saved Markdown plans that appear inline in chat and can be implemented as a follow-up turn.
How they appear
A plan artifact appears as a card in the assistant response. The card shows the title, a short snippet, and a status badge: Draft, Implemented, or Rejected.
Opening the card shows the saved path and the full rendered Markdown plan.
Implementing a plan
Draft plans include an Implement the plan button. Clicking it closes the dialog and starts an implementation turn with file-editing tools enabled. The implementation still uses the current permission mode.
Storage
Plans are real session artifacts. They keep an id, session id, path, title, status, content, creation time, and update time. Reopening the session restores the same cards.
Why they exist
Plans keep high-level intent visible while the chat continues. They are also useful when you need a reviewable handoff before allowing a longer or riskier edit.
