Plan graph before delegating: sisi plan, pick --node, deny delegations outside the plan, gate on ready nodes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
25b5e90c6b
commit
cadae3cc8c
8 files changed
+753
-35
No files matched your search
+11
-2
@@ -30,8 +30,14 @@ Delegation
|
||||
sisi models the workers you have: what each is good at and what it costs
|
||||
sisi models research [--record FILE]
|
||||
the brief for a research worker to rebuild that table; record its answer
|
||||
sisi plan brief | --record FILE the brief for a planning worker; record its graph (| node | class | needs | branch
|
||||
| files | check | why |) before handing out any work; `sisi plan` shows each node
|
||||
sisi plan --done ID EVIDENCE | --fail ID WHY
|
||||
a node you did yourself (the join) is done; or reopen a node
|
||||
sisi pick --node ID [--review-of WORKER] [--not WORKER ...] [--limit MINUTES]
|
||||
sisi pick routine|ordinary|hard [--review-of WORKER] [--not WORKER ...] [--limit MINUTES] [--branch NAME]
|
||||
the wheel gives you one worker of that class; one pick, one delegation
|
||||
the wheel gives you one worker for a ready plan node (or of a class, for a
|
||||
`sisi chore:` brief); one pick, one delegation
|
||||
sisi judge WORKER good|bad|out WHY | extend MINUTES WHY [--newest]
|
||||
how a delegation went (`out` with the provider's own message when it hit a
|
||||
limit: sisi tries it again by itself), or give a running job more time
|
||||
@@ -49,7 +55,7 @@ Hooks (the agent tool calls these): sisi tick | prompt | watch | gate
|
||||
Your own rules, models table and retro log live in ~/.local/share/sisi ($SISI_DATA, else $XDG_DATA_HOME/sisi), a git repository;
|
||||
a project's rules live in its .sisi/rules.md. Settings: "core" in
|
||||
its config.json (gate, meter, direct_calls, direct_extension, rules_lines, rules_chars, organize_after,
|
||||
research_days, shell_workers, worker_minutes, retro_minutes, disk_free_percent, disk_drop_percent, checkouts)."""
|
||||
research_days, shell_workers, enforce, worker_minutes, retro_minutes, disk_free_percent, disk_drop_percent, checkouts)."""
|
||||
|
||||
|
||||
def main(argv):
|
||||
@@ -67,6 +73,9 @@ def main(argv):
|
||||
if cmd in ("retro", "done"):
|
||||
from . import retro
|
||||
return (retro.run if cmd == "retro" else retro.done)(args)
|
||||
if cmd == "plan":
|
||||
from . import plan
|
||||
return plan.run(args)
|
||||
if cmd == "fault":
|
||||
from . import faults
|
||||
return faults.run(args)
|
||||
|
||||
Reference in new issue
Block a user