revert no longer undoes moves between levels; it names the command back
A change that moves rules between levels (sisi rules move, or an organize that moves lines across levels) prints the exact reverse command when it succeeds, and revert after it changes nothing and prints the same command. Revert keeps undoing learn, retro and single-level organize. The multi-file undo record and its restore loop are gone. Fixes the five findings of the fix review: a store with no .git starts its history with the rules as they are (no undo goes past them); revert reads the undo record even when its bytes did not change; a trailing slash in SISI_DATA is still the store; organize takes the user lock and refuses a linked drops.jsonl. Also: rules usage names canon; a non-UTF-8 file is named. Product code 2427 -> 2426 lines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
064cd6f5ca
commit
2a68ead05f
5 files changed
+192
-83
No files matched your search
+3
-3
@@ -22,9 +22,9 @@ The learning loop
|
||||
sisi rules organize [--record FILE]
|
||||
the brief for a cheap worker to audit and organize them; record its answer
|
||||
sisi rules move "<start>" core|user|project|canon [--project PATH]
|
||||
move one rule to another level (canon: out of the queue once it is in canon/core.md)
|
||||
sisi rules revert undo the last learn, retro, organize or move (a second re-applies it); declines if
|
||||
a project file it touched changed since
|
||||
move one rule to another level (canon: out of the queue once in canon/core.md)
|
||||
sisi rules revert undo the last learn, retro or organize (a second re-applies it); declines if the
|
||||
project file changed since; a move is not undone: both print the command back
|
||||
|
||||
Delegation
|
||||
sisi models the workers you have: what each is good at and what it costs
|
||||
|
||||
Reference in new issue
Block a user