Choosing the approach is a checked step; three tiers for where knowledge lives; patterns
ci / tests (macos-latest, python 3.10) (push) Canceled after 0s
ci / tests (macos-latest, python 3.11) (push) Canceled after 0s
ci / tests (macos-latest, python 3.13) (push) Canceled after 0s
ci / tests (macos-latest, python 3.9) (push) Canceled after 0s
ci / tests (ubuntu-latest, python 3.10) (push) Canceled after 0s
ci / tests (ubuntu-latest, python 3.11) (push) Canceled after 0s
ci / tests (ubuntu-latest, python 3.13) (push) Canceled after 0s

A new first rule and a required design section in the contract for sizeable
work, validated structurally and enforced by the end-of-turn check. Lessons
and statements are tiered core, user or project; core items are queued for
the product (sisi promote). The owner's statements take effect at once and
form the principles document. Every retro names the general pattern behind
its incident; learning rounds group lessons under patterns.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Fable 5.2 committed 2026-11-23 09:48:47 -07:00
1 parent ba84772acf
commit ec91e526a6
32 files changed
+2484 -251

No files matched your search

+6 -2
View File
@@ -14,14 +14,18 @@ Under `SISI_HOME` (tests) the personal folder is `$SISI_HOME/.local/share/sisi`
VERSION format version of this folder, a single integer (an update migrates older folders after taking a backup).
Not the product's release number: that is the VERSION file in the clone, shown by `sisi --version`
oracle.md what the person wants
oracle.md what the person wants: the standing principles (user-tier statements, plus
core ones until the product carries them), rewritten as a whole document
by learning rounds; absent until a round writes it, in which case
`sisi oracle` prints the live statements directly
overlay/ learned changes to the product (below); overlay/enforced.json holds enforced lessons
notes/<id>.md field notes per verifier or recipe id (notes/draft-<id>.md: a recipe that does not exist yet)
cycles/ one JSON record per learning cycle, including the bytes revert restores
config.json settings (over config.default.json)
trusted.json projects whose contracts may run commands
lessons.jsonl sorted dump of the lessons database, committed whenever lessons change
learn-quarantine.jsonl, notes.jsonl, proposals.jsonl
learn.jsonl, notes.jsonl, proposals.jsonl what the person stated (`sisi learn`, live at once;
an older learn-quarantine.jsonl is migrated into learn.jsonl on first read)
retest.jsonl replaced items whose base changed in an update (id, old base hash, new base hash)
retro.db lessons database (sqlite; not in git; lessons.jsonl is its committed form)
generated/core.md the effective rulebook (not in git; rebuilt by `sisi build-canon`)