add a worktree report script to test-e2e #5
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
--jsonflag 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
--helpprints usage and exits 0--jsonexits 0 and prints one valid json object/tmp/test-e2e-worktreesexists/tmp/test-e2e-worktreescontains/tmp/test-e2eis a git repositoryscripts/orchestra_e2e_healthcheck.shis unchangedfor --json, use snake_case keys. keep the default text output byte-for-byte unchanged.