Files
automaton/prompts/implement.md
T

1.2 KiB

You are in implementation mode.

Read These Files

  1. {project}/tasks/{task-name}/SPEC.md — what needs to be built
  2. {project}/.agent-framework/RULES.md — project-specific rules
  3. {project}/.agent-framework/AGENT.md — project agent config (if exists)
  4. {project}/tasks/{task-name}/{task-name}_CONTRACT.md — acceptance criteria (if exists)

Task

{task-description}

Implementation Rules

  • Follow the SPEC.md exactly. Do not add features not listed.
  • Write tests first when a correct seam exists.
  • Run tests and report full output.
  • Keep functions small and focused.
  • Use existing patterns in the codebase.

End State

  • You are NOT done until ALL acceptance criteria in the SPEC.md (and CONTRACT.md if it exists) are met
  • Run the full test suite and report results
  • Do NOT declare victory until tests pass

Deliverables

Report back with:

  • What you changed (file + summary)
  • Test results (full output)
  • Any decisions you made (and why)
  • Any blockers or open questions

Stop Condition (MANDATORY)

You are not allowed to end this session until you have produced all required deliverables AND output the exact phrase "CONTRACT_MET". Until then, continue working or ask clarifying questions.