Files
codewhale/workflows/issue_fix_tournament.star
T
Hunter Bown 38a0d551ca feat(whaleflow): add Starlark compile gate
Add a fail-closed Starlark authoring layer that compiles workflow files into WorkflowSpec without exposing runtime execution. Include ctx.* repair aliases, unsupported-construct rejection, and rlm_cache_change / issue_fix_tournament examples.

Refs #2670.
Preserves WhaleFlow direction credit for @AdityaVG13 in changelogs and PR notes.
2026-06-05 21:35:05 -07:00

43 lines
1.4 KiB
Python

workflow(
id = "issue-fix-tournament",
goal = "Compare narrow fixes for one issue before promotion",
nodes = [
branch(
id = "candidate-fixes",
parallel = True,
children = [
agent(
id = "minimal-fix",
prompt = "Produce the smallest fix and list verification evidence.",
agent_type = "implementer",
mode = "read_write",
isolation = "worktree",
file_scope = ["crates/**"],
),
agent(
id = "defensive-fix",
prompt = "Produce a more defensive fix and list regression risks.",
agent_type = "implementer",
mode = "read_write",
isolation = "worktree",
file_scope = ["crates/**"],
),
],
),
sequence(
id = "review",
children = [
tournament(
id = "select-fix",
candidates = ["minimal-fix", "defensive-fix"],
),
test(
id = "verify-selected",
command = "cargo test --workspace --locked",
file_scope = ["crates/**"],
),
],
),
],
)