orchestra: TASK.md

This commit is contained in:
2026-08-29 21:55:56 +04:00
parent 6f6ead4ffc
commit 7c24b6acea
+26 -10
View File
@@ -1,25 +1,41 @@
# Task 06G4M6HF1Z3EREX1X3NEKSHP24
# Task 06G4XAFH1MBPC35VSJN7V3NS14
Name the healthcheck success message once
Print the check count in the summary header
- Project: test-e2e
- Source: burnin/run14-a
- Source: gitea:test-e2e/34
- Priority: 0
## Instructions
scripts/orchestra_e2e_healthcheck.sh spells its success message inline. Give it a single named constant beside the existing VERSION constant and use that constant everywhere the message is printed.
`--summary` prints one line per check. Add a header line `running <n> checks` before those lines, where n is the number about to run.
Behaviour must not change. The plain run, --quiet and --help keep their current output and exit statuses, and scripts/test_healthcheck.sh keeps passing.
Plan this as THREE phases:
1. A helper that returns the number of checks that will run, with no output change.
2. The header line printed by --summary, using that helper.
3. The usage text in `--help`, and assertions in scripts/test_healthcheck.sh.
## Work one phase at a time
Implement phase N, request its verification, and only then begin phase N+1.
## 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. Give every phase at least one automated check from that list and at least one manual check.
## Research first
Establish at least three findings with distinct confidence: at least one `fact`, one `inference`, one `assumption`.
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
Acceptance:
- --summary prints the header before its per-check lines.
- --quiet suppresses it, and every other flag is unchanged.
## Completion