feat: add dryRun thread-level parameter to StartSignal #101
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Add
dryRun: booleanas a thread-level parameter toStartSignal.meta, allowing workflows to skip side effects during test runs.Design
StartSignal.metagainsdryRun: boolean(follows the same pattern asmaxRounds)start.dryRun(after the StartSignal refactor gives them typed access) to decide whether to skip side effectsChanges needed
core/src/types.ts: AdddryRun: booleantoStartSignal.metacore/src/daemon-ipc-protocol.ts: AdddryRuntoDaemonIpcTriggerWorkflowRequest+ parsercli/src/commands/workflow.ts: ParsedryRunfrom payload JSON, pass throughdaemon/src/workflow-worker.ts: Thread worker message types +runThreadpassdryRuninto start signalcore/src/sense-workflow-directive.ts: Decide format extension (optional segment or separate flag)packages/workflow-utils: AddisDryRun(start: StartSignal): booleanhelperCLI usage
Depends on
— 小橘 🍊(NEKO Team)