Throwaway Python (stdlib only) script spike/orch.py to validate the approach before the Rust rewrite (O1).
Flow: read one task from a Markdown file (title = first heading, body = rest) -> git worktree add on branch orch/<task-id> -> run hx -p BODY --mode json in the worktree, parse NDJSON, collect done usage -> run a gate command (default sh tests/all.sh, configurable) -> append one JSONL telemetry line (task, tokens, duration, exit codes, result) -> leave the branch locally. No push, no PR.
Acceptance:
Runs against a fake hx script (in spike/fake_hx.py) so it needs no subscription; one assert-based self-check spike/check.py passes.
Documents findings in the PR description: hx exit codes, event format surprises, how abort or timeout behaves.
Result values: done, gate-failed, hx-failed, timeout.
Throwaway Python (stdlib only) script `spike/orch.py` to validate the approach before the Rust rewrite (O1).
Flow: read one task from a Markdown file (title = first heading, body = rest) -> `git worktree add` on branch `orch/<task-id>` -> run `hx -p BODY --mode json` in the worktree, parse NDJSON, collect `done` usage -> run a gate command (default `sh tests/all.sh`, configurable) -> append one JSONL telemetry line (task, tokens, duration, exit codes, result) -> leave the branch locally. No push, no PR.
Acceptance:
- Runs against a fake `hx` script (in `spike/fake_hx.py`) so it needs no subscription; one assert-based self-check `spike/check.py` passes.
- Documents findings in the PR description: hx exit codes, event format surprises, how abort or timeout behaves.
- Result values: done, gate-failed, hx-failed, timeout.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Throwaway Python (stdlib only) script
spike/orch.pyto validate the approach before the Rust rewrite (O1).Flow: read one task from a Markdown file (title = first heading, body = rest) ->
git worktree addon branchorch/<task-id>-> runhx -p BODY --mode jsonin the worktree, parse NDJSON, collectdoneusage -> run a gate command (defaultsh tests/all.sh, configurable) -> append one JSONL telemetry line (task, tokens, duration, exit codes, result) -> leave the branch locally. No push, no PR.Acceptance:
hxscript (inspike/fake_hx.py) so it needs no subscription; one assert-based self-checkspike/check.pypasses.