1.3 KiB
1.3 KiB
Task 06G4A4F0TFXKZHJE48N05XN1HG
add a worktree report script to test-e2e
- Project: test-e2e
- Source: gitea:test-e2e/5
- Priority: 0
Instructions
add scripts/orchestra_worktree_report.sh.
the script reports on the local Orchestra worktree layout. by default it prints a short human-readable summary. it also takes an optional --json flag for machine-readable output reporting the same checks.
keep it a plain bash script with no dependencies beyond coreutils, matching scripts/orchestra_e2e_healthcheck.sh.
Acceptance criteria
--helpprints usage and exits 0- running with no arguments prints a human-readable summary and exits 0
--jsonexits 0 and prints one valid json object- the output reports whether
/tmp/test-e2e-worktreesexists - the output reports how many entries
/tmp/test-e2e-worktreescontains - the output reports whether
/tmp/test-e2eis a git repository - unknown arguments exit non-zero with a message on stderr
scripts/orchestra_e2e_healthcheck.shis unchanged
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.