d68f003000
CI / Change detection (push) Has been cancelled
CI / Version drift (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Workflow RLM cache (push) Has been cancelled
CI / Test (macos-latest) (push) Has been cancelled
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / npm wrapper smoke (push) Has been cancelled
CI / Mobile runtime smoke (push) Has been cancelled
CI / Workflow lint (push) Has been cancelled
CI / Documentation (push) Has been cancelled
Web Frontend / Lint & Type Check (push) Failing after 1s
Auto-close harvested PRs / close (push) Failing after 1s
cargo-deny / cargo-deny (bans licenses sources) (push) Failing after 1s
Security audit / cargo-audit (push) Failing after 1s
Sync to CNB / sync (push) Failing after 1s
Web Frontend / Deploy to Cloudflare (push) Waiting to run
cargo-deny / cargo-deny (advisories) (push) Failing after 3s
51 lines
1.6 KiB
JavaScript
51 lines
1.6 KiB
JavaScript
export default workflow({
|
|
"id": "issue-audit-js",
|
|
"goal": "Audit an issue fix with parallel specialist agents, then synthesize a release note",
|
|
"description": "Declarative JavaScript authoring example lowered to typed Workflow IR without executing JS.",
|
|
"nodes": [
|
|
{
|
|
"branch": {
|
|
"id": "parallel-audit",
|
|
"parallel": true,
|
|
"children": [
|
|
{
|
|
"agent": {
|
|
"id": "code-audit",
|
|
"prompt": "Inspect the implementation for correctness and regression risk.",
|
|
"agent_type": "review",
|
|
"mode": "read_only",
|
|
"file_scope": ["crates"]
|
|
}
|
|
},
|
|
{
|
|
"agent": {
|
|
"id": "test-audit",
|
|
"prompt": "Inspect targeted tests and identify missing verification.",
|
|
"agent_type": "verifier",
|
|
"mode": "read_only",
|
|
"file_scope": ["crates", "tests"],
|
|
"budget": { "max_steps": 4, "timeout_secs": 300 }
|
|
}
|
|
},
|
|
{
|
|
"agent": {
|
|
"id": "docs-audit",
|
|
"prompt": "Check whether docs or release notes should mention the change.",
|
|
"agent_type": "review",
|
|
"mode": "read_only",
|
|
"file_scope": ["docs"]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"reduce": {
|
|
"id": "synthesize-release-risk",
|
|
"inputs": ["code-audit", "test-audit", "docs-audit"],
|
|
"prompt": "Combine specialist findings into a release-ready risk summary."
|
|
}
|
|
}
|
|
]
|
|
});
|