Skip to content

Latest commit

 

History

History
37 lines (35 loc) · 1.15 KB

File metadata and controls

37 lines (35 loc) · 1.15 KB
name verified-edit
description Implement a change then verify with a shell command. Use for any task where you need a guarantee the change didn't break things — the check is deterministic, not the model's judgment. Simplest template: one action step, one gate.
parameters
name description
task
What to change. Include file paths, function names, and expected behavior.
name description
verify
Shell command that must exit 0, e.g. 'npm test' or 'cargo test && cargo clippy'.

task: "{{task}}" artifacts:

  • name: change_notes description: What was changed — files touched and a one-line description per file.

steps:

  • type: action name: implement actor: worker instruction: | {{task}} Write a summary of your changes to the change_notes artifact. writes: [change_notes] routes: { done: verify }
  • type: command name: verify command: "{{verify}}" on_success: done on_failure: failed
  • type: terminal name: done outcome: success summary: Change applied and verified.
  • type: terminal name: failed outcome: failure summary: Verification failed after change.