Skip to main content

DEFAULT_FLOW

Constant DEFAULT_FLOW 

Source
pub const DEFAULT_FLOW: &str = "stages:\n  - name: build\n    kind: agent\n  - name: review\n    kind: exec\n    # `reported` keeps SLOOP_SOCKET/SLOOP_TOKEN in the reviewer\'s environment so\n    # it can call `sloop verdict`; without it the stage would pass whenever the\n    # command exits 0, which `claude --print` always does.\n    verdict: reported\n    # `--allowedTools Bash` lets the reviewer run tests and `sloop verdict`;\n    # without it `claude --print` cannot run any command. It deliberately omits\n    # Write/Edit, so the reviewer can read and run but not rewrite the work.\n    # `--` ends the variadic tool list so the prompt stays a positional.\n    cmd:\n      - claude\n      - --print\n      - --allowedTools\n      - Bash\n      - --\n      - \"Read .agents/sloop/prompts/review.md and follow its instructions.\"\n  - name: merge\n    kind: merge\n";