Foundry Run Compatibility Conductor
This skill name remains for old invocations. The conductor now advances Sven Unit/PlanIR work through the native runtime command.
SVEN_HOME="${SVEN_HOME:-$HOME/dev/personal/sven}"
UNIT_BIN="$SVEN_HOME/src-tauri/target/debug/sven_unit_workflow"
Hard Guardrails
- Never push, open a PR, merge to a remote, tag, deploy, message, or call an external API from this skill.
- Never write raw SQL.
- Never call predecessor engines or stores for new work.
- Bound each local advancement with
--limit. - Stop on any missing approval, missing binary, command failure, or no-progress report.
First Iteration
Confirm the binary builds:
cargo check --manifest-path "$SVEN_HOME/src-tauri/Cargo.toml" --bin sven_unit_workflowInspect current pending work through status when a batch id is known:
"$UNIT_BIN" status --default-db --batch-id <batch-id> --jsonAdvance only when the current task explicitly authorizes local Sven runtime writes:
"$UNIT_BIN" run --default-db --approve-local-write --enable-runtime-control --limit 1 --json
Loop Rule
After each run, inspect JSON output. Continue only when all are true:
externalWriteExecuted=falseoldFoundryStoreRead=falseoldFindingsFileStoreUsed=false- the run completed at least one Unit or clearly reports no claimable work
- the user asked for a continued local run, or the current task explicitly authorized continuing bounded local advancement
Completion Summary
Report:
SVEN UNIT RUN COMPLETE
Units completed:
Events recorded:
Dispatch receipts:
External effects: false
Predecessor store read: false
Residual risk:
If no claimable work remains, stop and say so. Do not emulate lifecycle transitions outside the native command.