Add Needs-you queue and goal view with acceptance checks
- needs table: human steps, permission requests and agent questions wait
for an answer written to the database; a/c/d, y/Y/n, r keys in the TUI
- goal view (g): task graph, critical path, decisions, acceptance checks;
e edit goal, + add check, R run all checks on main
- checks.rs: acceptance checks on a branch or on main in a clean worktree
- runner: wait for --after dependencies, one session in merge at a time,
all checks again on main after each merge
- orch goal / check / checks commands, ORCH_DB and {{repo}} for machine steps
- example machines merge with git merge --ff-only
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5b659fa8ba
commit
7bf0986640
16 files changed
+2551
-105
No files matched your search
@@ -4,7 +4,7 @@ Behaviour per `hx/step`, chosen with FAKE_MODE (orch passes FAKE_* through the p
|
||||
ok intent, tool call, edit, usage, decision, plan, then step_result done (default)
|
||||
blocked step_result blocked, catch FAKE_CATCH (default PlanInvalid)
|
||||
block_once blocked the first time (marker file .fake_blocked in cwd), done afterwards
|
||||
needs_input step_result needs_input with a question
|
||||
needs_input step_result needs_input with a question; finishes when the retried step has a context.hint
|
||||
permission asks session/request_permission first and records the answer in permission.txt
|
||||
crash exits without a step_result
|
||||
Every received message is appended to FAKE_LOG when set. Each step also appends its prompt kind to steps.txt.
|
||||
@@ -59,7 +59,8 @@ def step(params):
|
||||
with open(os.path.join(cwd, "permission.txt"), "w") as f:
|
||||
f.write(json.dumps(m["result"]))
|
||||
break
|
||||
if mode == "needs_input":
|
||||
# needs_input asks once; with the user's answer in context.hint the same step finishes
|
||||
if mode == "needs_input" and not params.get("context", {}).get("hint"):
|
||||
note("hx/step_result", {"status": "needs_input", "question": "Which provider?"})
|
||||
return
|
||||
blocked = mode == "blocked"
|
||||
|
||||
Reference in new issue
Block a user