orchestra: TASK.md

This commit is contained in:
2026-08-28 22:56:10 +04:00
parent bf0f287aca
commit b726db6d3d
+8 -6
View File
@@ -1,22 +1,24 @@
# Task 06G4GWWJ8SWFREF06HDYEBAG0C
# Task 06G4KENHXY12M5BNC5TXAF3MXR
Route the healthcheck output through one helper
Late handoff rig 2: name the exit status in the healthcheck usage text
- Project: test-e2e
- Source: gitea:test-e2e/15
- Source: burnin/late-handoff-2
- Priority: 0
## Instructions
`scripts/orchestra_e2e_healthcheck.sh` prints its success line from more than one place. Centralise the output so every path goes through one helper, and give that helper an explicit format argument rather than reading a global.
Behaviour must not change. The plain run, `--quiet`, `--help` and `--json` all keep their current output and exit statuses, and `scripts/test_healthcheck.sh` keeps passing.
Add one line to the usage text printed by scripts/orchestra_e2e_healthcheck.sh --help stating that a passing run exits 0. Keep every existing line and exit status unchanged, and keep scripts/test_healthcheck.sh passing.
## 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.