42 lines
1.6 KiB
Markdown
42 lines
1.6 KiB
Markdown
# Task 06G4M8WHGQ4P3GQMPEEH0RJRHM
|
|
|
|
Give the healthcheck a --list-checks flag
|
|
|
|
- Project: test-e2e
|
|
- Source: burnin/run14-c
|
|
- Priority: 0
|
|
|
|
## Instructions
|
|
|
|
Give `scripts/orchestra_e2e_healthcheck.sh` a `--list-checks` flag that prints the name of each check it performs, one per line, and exits 0.
|
|
|
|
This is deliberately two pieces of work, and the plan should carry two phases:
|
|
|
|
1. Name the checks. The script performs its checks inline. Introduce one list of check names and drive the existing run from that list, with no change to any output or exit status.
|
|
2. Add the flag. `--list-checks` prints the names from that list and exits 0. Add one line to the usage text describing it.
|
|
|
|
## Verification policy for this project
|
|
|
|
Only two commands may appear on a `- run:` line, exactly:
|
|
|
|
- `["bash", "-n", "<path>"]`
|
|
- `["bash", "scripts/orchestra_e2e_healthcheck.sh"]`
|
|
|
|
Anything else is refused when you seal the plan. `scripts/test_healthcheck.sh` is NOT permitted as an automated command. Update it as a manual step so its expected `--help` text matches, and list that as a manual check.
|
|
|
|
## Research first
|
|
|
|
Establish at least three findings with distinct confidence: at least one `fact`, one `inference`, one `assumption`.
|
|
|
|
|
|
## Quality gate
|
|
|
|
bash -n scripts/*.sh && bash scripts/orchestra_e2e_healthcheck.sh
|
|
|
|
## Completion
|
|
|
|
Run the configured quality gate. When the task is ready for the worker to verify and deliver, create `.orchestra/done`. Do not write a prose completion report.
|
|
|
|
This file is immutable for the lifetime of the task (§6.2) — its hash is
|
|
carried in every handoff and re-verified on every pickup. Do not edit it.
|