Mechanisms over intentions: request-time lesson delivery, self-referential rules, enforced question dialog
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
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
sisi prompt hands the matching recipe and lessons to the agent when the human's request arrives. Every rule ends with the command that prints its reasons, history, lessons and enforcement; sisi rule lists what enforces each rule. Ending a turn by asking in reply text instead of the question dialog is sent back. Rulebook budget raised to 200 lines and 12,000 characters. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
f7bc6eded1
commit
11be8e3664
21 files changed
+1087
-44
No files matched your search
@@ -6,8 +6,29 @@ All notable changes to this project are recorded here. The format follows
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Changed
|
||||
|
||||
- The always-loaded rulebook budget is raised to the largest size vendor guidance supports; growth
|
||||
still requires shortening elsewhere.
|
||||
|
||||
### Added
|
||||
|
||||
- Request-time delivery (`sisi prompt`): where a tool documents a prompt-submission event with a
|
||||
context channel (Claude Code, Codex CLI, Gemini CLI, Muse CLI, Pi), the matching
|
||||
recipe's "done means" list and the strictly matching lessons are injected when the human's
|
||||
request arrives — no asking needed — each with the command that prints it in full. Nothing is
|
||||
injected for trivial or unmatched messages, the injection is size-capped, showings are counted as
|
||||
listings, and the hook can never block a turn. No prompt hook is wired where the event or its
|
||||
injection channel is unconfirmed (Qwen Code, Cursor, OpenCode); see docs/harnesses.md.
|
||||
- `sisi rule [N|ID]`: every rule in the effective rulebook with how it is enforced, derived from
|
||||
code facts, and one rule in full with its reasons, history and folded lessons. The generated
|
||||
rulebook ends each rule with `More: sisi rule N`; the size budgets grow only by those pointer
|
||||
lines (rule text keeps its former budgets).
|
||||
- The end-of-turn gate enforces the question-dialog rule where a dialog exists and the transcript
|
||||
is readable (Claude Code; Qwen Code wired the same way pending transcript confirmation): ending
|
||||
a turn by asking in reply text without using the dialog is sent back once, with subagents and
|
||||
dialog-less tools exempt.
|
||||
|
||||
- Lessons gain an optional short line (one plain sentence, at most 140 characters) and topic
|
||||
(between one and three lower-case words, at most 30 characters), written at `sisi retro` with
|
||||
`--short` and `--topic` or by a learning round with a `set-short` note action. The cycle brief
|
||||
|
||||
Reference in new issue
Block a user