Keeps every owner rule and the suite-time rule from 51ec1e1; the earlier organize had deleted eight owner lines without a store record.
This commit is contained in:
1 parent
51ec1e1b75
commit
6477fc66d2
1 file changed
+20
-4
+20
-4
@@ -1,8 +1,24 @@
|
||||
- This repo is sisi itself: a learned rule that applies to every sisi user on every system goes into the product (canon/core.md) and is then deleted from the learned lists, so the sisi people download is effective at once; only rules about this owner or this machine stay in the learned lists. [owner 2026-11-23]
|
||||
- Detached background workers start with python3 -B and print no user-facing output whose only reader is a log; tests send output to temp files, not pipes, and pass stdin explicitly. [retro 2026-11-23]
|
||||
- Tests never touch the person's rules: a test-base guard fails any test that modifies files under the repo product tree or ~/.claude/CLAUDE.md; tests that call sisi functions use the in_process helper with a temp HOME and temp store; the lead compares ~/.claude/CLAUDE.md before and after any worker run that adds tests. [retro 2026-11-23, 2026-11-26, 2026-11-28]
|
||||
- sisi is a self-improvement loop (forced retros, each improvement a rule at once, rules organized) and nothing more — keep it simple and small, never over-build; anything beyond costs the person attention. [owner 2026-11-23]
|
||||
- sisi must work globally, for any agent in any harness (T3 Code or otherwise): rules, hooks and the loops are installed and enforced in every agent tool on the machine, not only Claude Code. [owner 2026-11-23]
|
||||
- Use no external dependencies and no cron jobs; run periodic upkeep from a counter or chance check during a normal turn, so the system improves just by being used. [owner 2026-11-23]
|
||||
- The real objective function is the one in SPEC.md; sisi always optimizes it by mechanisms (hooks, checks), never by good intentions, and never hard-codes a model or a harness. [owner 2026-11-23]
|
||||
- Scoring a piece of work: it can ALWAYS be done better, so every retro names a concrete way it could have scored better even when nothing went wrong; and scores are kept in the terms the objective lists (value, verified evidence, elapsed time, compute and tool cost, attention, getting better), never in terms of its own. [owner 2026-11-23]
|
||||
- A project's rules and learning live inside that project, in .sisi/ at the project root, never in a subfolder; whether .sisi/ is git-ignored is the user's choice, and sisi must work either way (owner: 'Personally I'd want this checked in and permanent'). [owner 2026-11-24]
|
||||
- Measure loaded text in the unit paid for — characters per session, canon plus every header rules.py prints — and say plainly whether it grew or shrank, checking the budget against the diff before each merge. [retro 2026-11-25]
|
||||
- In this repo, run the suite in a checkout nobody edits until it ends, give every release run a 60-minute limit, and treat the serial suite's run time as an open fault until the release gate runs in parallel. [retro 2026-12-02 p12]
|
||||
- For classifier, matcher or lookup changes, have a different worker write the labelled set and report only held-out accuracy, prototype on a blind set, give three real rows and three real inputs from the live data, and name every flag the matcher takes. [retro 2026-11-23, 2026-11-24]
|
||||
- Detached background workers must start with python3 -B and print no user-facing output whose only reader is a log; in tests send output to temp files, not pipes, and pass stdin explicitly. [retro 2026-11-23]
|
||||
- Add a test-base guard that fails any test modifying files under the repo product tree, and run hook-imported modules under python3 -X importtime, keeping added import time under 20 ms. [retro 2026-11-23]
|
||||
- Test config-file-editing code against hostile pre-existing state: symlinks, read-only files, commented or trailing-comma JSON, duplicate entries, edits between install and uninstall. [retro 2026-11-23]
|
||||
- When a check fails, store and show the lines that identify the failure (FAIL and ERROR blocks, else first and last 40 lines) before the tail. [retro 2026-11-23]
|
||||
- For a brief with a numeric acceptance value or check-skipping limit, compute the number from the formula and put the worked figure in the brief, name the event the count starts from, and require a test where that event happens twice. [retro 2026-11-24]
|
||||
- Never pass --help or any probe argument to a command that changes things until its usage is known from the source or the README. [retro 2026-11-24]
|
||||
- In this repo, finished work that passed its checks goes to main and to both remotes (origin and github) in the same step as the final report; the report names the commit and the GitHub test run. [retro 2026-11-24]
|
||||
- In this repo a new piece that arrives while a worker is busy goes at once to another worker in its own checkout and branch; a brief asks for the one full test run inside 'sisi release' and only the tests for the change before that. [retro 2026-11-25]
|
||||
- In this repo, a change to the product is designed, briefed and asked about from an unknown user with other providers and plans: nothing tied to this owner's workers, harnesses, resellers or plans goes into canon/, and per-user choices are left to each user's sisi. [retro 2026-11-25]
|
||||
- In this repo, count loaded text as canon plus every header rules.py prints into a session, and check the budget against the diff before each merge. [retro 2026-11-25]
|
||||
- In this repo, run the suite in a checkout nobody edits until it ends, give every release run a 60-minute limit, and treat the serial suite's run time as an open fault until the release gate runs in parallel. [retro 2026-12-02 p12]
|
||||
- In this repo, any trial of sisi against a throwaway store also sets HOME to a temp folder, since a rules write re-points every agent tool's rulebook at the store in use; the brief says so and ends by showing ~/.claude/CLAUDE.md unchanged. [retro 2026-11-26]
|
||||
- In this repo a test that calls sisi functions in-process goes through the in_process helper (temp home as well as temp store), every test class carries the guard that fails when the person's own rules file changes, and the lead compares ~/.claude/CLAUDE.md before and after any worker run that adds tests. [retro 2026-11-28]
|
||||
- sisi should occasionally automatically audit all the rules, especially the user rules, to see if any project-level rules snuck into there -- and the secondarily project rules to see if any are more broadly applicable to everything the user might work on even beyond that project. This should be a regular audit. The user never has to trigger this (or anything!) manually!!!! [owner 2026-12-01]
|
||||
- sisi's gates can't ever get in the way. They should be there to HELP. [owner 2026-11-25]
|
||||
- Move or rewrite stored data under one lock that every writer holds from read to commit; readers and session start never wait; read only bounded ordinary files, never links. [retro 2026-11-24]
|
||||
Reference in new issue
Block a user