/**
 * Ralph workflow for Claude Code — plan → orchestrate → review loop.
 *
 * Each sub-agent invocation spawns its own visible session in the graph,
 * so users can see each iteration's progress in real time. The loop
 * terminates when:
 *   - `max_loops` iterations have completed (defaults to {@link DEFAULT_MAX_LOOPS}), OR
 *   - Both parallel reviewer passes return `overall_correctness === "patch is correct"`.
 *
 * On a failed review the merged findings are formatted into a markdown
 * brief by {@link formatReviewForReplan} and fed into the next iteration's
 * planner, which is responsible for validating, deduping, and clustering
 * them into shared root causes before revising the RFC.
 *
 * The reviewer stages run **headless** via the Claude Agent SDK with
 * `outputFormat: { type: "json_schema", schema: REVIEW_RESULT_JSON_SCHEMA }`,
 * so the SDK validates {@link ReviewResultSchema} before returning. The
 * validated object is read from `s.session.lastStructuredOutput` — no text
 * parsing required. Running the reviewers headless (no tmux pane) keeps the
 * graph focused on stages the user cares about and lets the SDK enforce the
 * schema without TUI round-trips.
 *
 * Run: atomic workflow -n ralph -a claude "<your spec>"
 */
declare const _default: import("../../../index.ts").WorkflowDefinition<"claude", readonly [{
    readonly name: "prompt";
    readonly type: "text";
    readonly required: true;
    readonly description: "task prompt";
}, {
    readonly name: "max_loops";
    readonly type: "integer";
    readonly description: "maximum number of plan/orchestrate/review iterations";
    readonly default: 10;
}]>;
export default _default;
//# sourceMappingURL=index.d.ts.map