AI Drafts
Draft Generation Workflow
Users with `agent_drafts.manage` can generate workflow drafts from `/dashboard/agent-drafts`.
Use this when you need to follow the normal operating flow for AI Drafts.
Users with agent_drafts.manage can generate workflow drafts from /dashboard/agent-drafts.
Generation flow:
- Check agent and Sprint 17/Sprint 18 guardrails.
- Read source-linked local context.
- Create an
AgentRun. - Create
AgentRunSteprecords for guardrail check, context read, draft generation, and proposal creation. - Create an
AgentActionProposalwithautoExecute: false. - Create an
AgentWorkflowDraft. - Create initial
AgentWorkflowDraftVersion. - Create an activity log.
The source record is never mutated during generation.
Developer Details
- Source
- apps/docs/content/agent-drafts/draft-generation-workflow.md
- Owner
- Module Owner
- Status
- Current
- Module
- AI Drafts
- Related route
- /dashboard/agent-drafts