View raw

Table of Contents

--- inclusion: auto ---

Testing

Policy

Test Runner Agent Integration

When you receive a `GIT_COMMIT_DETECTED` message from the post-commit hook, you must:

  1. Delegate to the **test-runner** agent defined in `.kiro/agents/test-runner.md` using `orchestrate_subagent` with the `general-task-execution` role.
  2. The sub-agent's prompt should instruct it to: - Run `opam exec -- dune test` in the workspace root - Report results in the TEST REPORT format defined in the agent file
  3. Relay the test report back to the user concisely.

If tests fail, offer to help diagnose and fix the failures before continuing with other work.