diff --git a/canon/core.md b/canon/core.md index 04ce473..c5de280 100644 --- a/canon/core.md +++ b/canon/core.md @@ -112,7 +112,7 @@ tests, evidence and completion. When work ends, the lead runs `sisi retro` to see what happened and known problems. Set it against the objective by term: where did work fall short, why, and what instruction prevents it? Record -`sisi retro --gap … --cause … --improve … --term T --problem N|""` (`--problem` is required with `--gap` or refused: cite `N` or name a new one; each citation after opening is a miss; at the 2nd miss a fault opens). The improvement becomes a rule at +`sisi retro --gap … --cause … --improve … --term T --problem N|"" --level L` (`--problem` is required with `--gap` or refused: cite `N` or name a new one; each citation after opening is a miss; at the 2nd miss a fault opens). The improvement becomes a rule at once, at the --level you name: core (every sisi user; queued), user (how this person works across projects), or project (`.sisi/rules.md` at root, in git its main checkout's). Name the root cause, not general advice. Prefer a rule that makes next work do more by itself over a caution; a caution says what stays allowed without asking. Work can always be done better: when nothing fell short, name the one thing that would have scored better (`--no-gap … --term T --better …`). diff --git a/sisi/cli.py b/sisi/cli.py index 10ce9bb..4216bec 100644 --- a/sisi/cli.py +++ b/sisi/cli.py @@ -12,7 +12,7 @@ Before and after the work The learning loop sisi retro what happened in this piece of work, to set against the objective - sisi retro --gap G --cause C --improve I --term T --problem N|"..." [--scope user] + sisi retro --gap G --cause C --improve I --term T --problem N|"..." --level core|user|project record the gap and problem; the improvement is a rule at once sisi retro --no-gap TEXT --term T --better B | --later TEXT nothing fell short; or the work is not finished yet diff --git a/sisi/hooks.py b/sisi/hooks.py index 5ef9737..e07d26a 100644 --- a/sisi/hooks.py +++ b/sisi/hooks.py @@ -12,7 +12,7 @@ DIRECT = ("shell", "read", "edit", "search", "web") # the classes of tool call METER = ("sisi: %d direct tool calls this turn (the limit is %d). Delegate the rest: `sisi models` lists your workers and `sisi pick routine|ordinary|hard` " "chooses one; if doing this yourself costs less than briefing it, say why with `sisi direct \"\"` (%d more).") -GATE = ("sisi: this piece of work changed things and has no retro yet. Run `sisi retro` to see what happened, then record `sisi retro --gap \"\" --cause \"\" --improve \"\" --term --problem N|\"\"` " +GATE = ("sisi: this piece of work changed things and has no retro yet. Run `sisi retro` to see what happened, then record `sisi retro --gap \"\" --cause \"\" --improve \"\" --term --problem N|\"\" --level core|user|project` " "or `sisi retro --no-gap \"\" --term --better \"\"` (or pause: `sisi retro --later \"\"`).") NODONE = "sisi: no done is recorded yet. Define what the person wants and what comes next now: `sisi done --goal \"\" --check \"\" [--check ...] --next \"\"`." NOPICK = ("sisi: this delegation went to a worker the wheel did not give you (recorded so `sisi judge` still works). Use `sisi pick routine|ordinary|hard` next time " @@ -21,7 +21,7 @@ NOLOOK = ("sisi: this brief asks for something the person will look at but state "Choose it with the person from previews and put it in the brief, or add a line 'Look: '.") UNKNOWN = "sisi: the worker you named is not in the models table (recorded so `sisi judge` still works), so the table is out of date. Rebuild it now with a research worker (`sisi models research` prints the brief; `sisi models research --record FILE` records the answer), and use `sisi pick` next time." NOSHELL = "sisi: do not shell out to a worker; start it with the host's delegation tool next time." -FAILED = "sisi: check %s failed. A failed check is a gap: record `sisi retro --gap \"\" --cause \"\" --improve \"\" --term --problem N|\"\"` (or pause: `sisi retro --later \"\"`)." +FAILED = "sisi: check %s failed. A failed check is a gap: record `sisi retro --gap \"\" --cause \"\" --improve \"\" --term --problem N|\"\" --level core|user|project` (or pause: `sisi retro --later \"\"`)." OPEN = "sisi: these checks have no verdict yet: %s. Give each one: `sisi done --pass N \"\"` or `sisi done --fail N \"\"` (or pause: `sisi retro --later \"\"`)." LATE = "%s was started %s and has not reported. Check it: if still running, let it finish (this reminder is shown once); if dead or unwanted, cancel it and run `sisi judge WORKER bad \"\"`; if it reported, run `sisi judge WORKER good|bad \"\"`."