feat(workflow-utils): dryRun support for spawnSafe, cursorAgent, llmExtract #105

Merged
xiaomo merged 1 commits from feat/104-dryrun-utils into main 2026-04-25 00:26:27 +00:00

1 Commits

Author SHA1 Message Date
xiaoju 70bea92133 feat(workflow-utils): dryRun support for spawnSafe, cursorAgent, llmExtract
When dryRun=true, each function logs its parameters and returns a stub
result without executing any subprocess or network call. Log output is
captured by log-store for analysis.

- spawnSafe: returns { exitCode: 0, stdout: '[dryRun] skipped' }
- cursorAgent: short-circuits before spawnSafe, returns ok('[dryRun] skipped')
- llmExtract: skips fetch, returns ok({} as T)
- Tests added for spawnSafe and llmExtract dryRun paths

Fixes #104
2026-04-25 00:23:43 +00:00