| name | run-tests |
| description | Runs the test suite through the test-runner worker and emits the run_tests workflow sentinel. Used by Workflow Step 6. |
| tools | Bash, Write |
| model | sonnet |
| user-invocable | false |
Run the project test suite via the test-runner worker and emit the workflow sentinel.
Procedure
When a hook blocks a sanctioned command, a fallback path is taken, or any unexpected outcome occurs, report via /supervisor-report (trigger conditions: rules/supervisor-reporting.md).
RNT-0. Read rules/test.md. It is on-demand-only and never auto-injected, so this Read is mandatory.
RNT-1. Resolve merge-base.
bin/select-tests.sh --auto resolves it via bin/resolve-merge-base.sh -- this skill does not reimplement the chain.
exit 4 (SUSPECT / FALLBACK / helper missing) -> stop, show bin/resolve-merge-base.sh --explain’s stderr output verbatim, and let the user choose the base (a candidate sha / an arbitrary sha / the safe fallback HEAD / abort).
Once the user confirms a base, record it with bin/workflow/record-merge-base-baseline --session <sid> --base <sha> --reason "<confirmation detail>" and re-run RNT-1 (it now passes as RECORDED).
If the user chooses abort, emit RNT-9’s pending sentinel and stop.
exit 0 with empty stdout -> treat as an empty selection and follow the RNT-5 policy.