/**
 * Ralph workflow for OpenCode — 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 use the OpenCode SDK's structured output
 * (`format: { type: "json_schema" }`) to guarantee the review result
 * matches the {@link ReviewResultSchema}.
 *
 * Run: atomic workflow -n ralph -a opencode "<your spec>"
 */
declare const _default: import("../../../index.ts").WorkflowDefinition<"opencode", 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