Files
codewhale/workflows/rlm_cache_change.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.5 KiB
Python

workflow(
id = "rlm-cache-change",
goal = "Evaluate an RLM/cache routing change with safe mock WhaleFlow IR",
nodes = [
branch(
id = "discover",
parallel = True,
children = [
search(
id = "find-cache-surfaces",
query = "Find RLM and cache routing surfaces",
file_scope = ["crates/tui/src/rlm/**", "crates/tui/src/core/**"],
),
agent(
id = "inspect-provider-cache",
prompt = "Inspect provider cache behavior without editing files.",
agent_type = "explore",
file_scope = ["crates/tui/src/providers/**"],
),
],
),
sequence(
id = "verify-and-summarize",
children = [
test(
id = "run-rlm-tests",
command = "cargo test -p codewhale-tui rlm --locked",
file_scope = ["crates/tui/src/rlm/**"],
),
reduce(
id = "summarize-cache-change",
inputs = [
"find-cache-surfaces",
"inspect-provider-cache",
"run-rlm-tests",
],
prompt = "Summarize the smallest safe cache-routing patch.",
),
],
),
],
)