Skip to main content

render_workflow_style

Function render_workflow_style 

Source
pub fn render_workflow_style(
    intent: &StageIntent,
    workflow_root: &str,
) -> String
Expand description

Render a StageIntent as a workflow-reference instruction for agents that cannot receive the legacy /gsd-* slash command (Codex, Pi). The instruction points at the GSD workflow file to follow, carries the --auto token where the workflow requires it, and states the completion contract. Contains NO GSD slash command. Render a StageIntent for an agent that cannot receive the legacy /gsd-* slash command (Codex, Pi). Each stage’s contract is preserved — Validate verdict, Ship review gate, Define no-op, Plan idempotency — but the instruction references the workflow file under workflow_root (a per-driver path) instead of naming a slash command.