Risk profiles and relevance: sisi risk, the design section retired, hooks print only what a session can act on, recipes matched by structured tags, a recipe for features

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Fable 5.2 committed 2026-11-23 11:09:26 -07:00
commit 8f36c5b527
25 files changed
+1434 -857

No files matched your search

+1 -9
View File
@@ -82,11 +82,7 @@ what "done" means, verifying, or being sent back by the gate.
that prints it in full (`sisi done ID`, `sisi lessons show ID`), within a 2,000-character cap.
A recipe counts only when at least two distinct non-generic request words hit its title,
applies-to or id, at least one of them in its title (matched on stems, so "tag" meets
"tagging") — the same strict floor lessons use. When the request reads as design or build work
(a design, build, implement or create stem on a non-trivial message; never on a question or a
small edit such as a rename or a typo), the owner's standing principles are also injected in
short lines with the instruction to fill the contract's design section first, inside the same
cap. A message that is a question to the agent and
"tagging") — the same strict floor lessons use. A message that is a question to the agent and
names no work (no fix, build, change or the like), trivial messages (a bare yes or no, a slash
command, a short question) and unmatched requests inject nothing at all. These
showings count as *listed* at place `prompt`. The hook never blocks a turn: any error exits
@@ -370,10 +366,6 @@ universal lessons that merely mention common file names such as README or CHANGE
pass, and universal changes whose moment names a project, which also pass because only the
delivered part is checked), and long real-style multi-part requests plus plain questions for
request-time recipe delivery (a hit is the expected recipe; any other recipe is a false match).
The design-section validation is measured the same way in the design tests: a labelled set of
good design sections against filler ones (a hit is a good section passing; a false pass is a
filler section passing), plus labelled design-work requests for request-time delivery.
Delivery therefore depends on the quality of the when-terms the recording agent writes. Thin or
copy-of-the-text terms leave a lesson findable only by its own wording, exactly the failure they
exist to prevent. What sisi ultimately measures is not match scores but the outcome that matters:
+24 -24
View File
@@ -484,24 +484,24 @@
},
{
"id": "R-4.5-1",
"status": "partial",
"how": "The design section requires a named challenger and alternatives before large edits",
"evidence": "sisi/design.py",
"gap": "The challenge is structural text validated for shape, not evidence that a better solution was sought, and it fires by diff size rather than by flawed premises."
"status": "missing",
"how": "nothing: the six-part design section that touched this was retired as ceremony",
"evidence": "",
"gap": "An approach note (chosen approach, alternatives considered, what existing capability is reused) required by risk profile is designed in docs/target.md and not built yet."
},
{
"id": "R-4.5-2",
"status": "partial",
"how": "The design section requires a named challenger and alternatives before large edits",
"evidence": "sisi/design.py",
"gap": "The challenge is structural text validated for shape, not evidence that a better solution was sought, and it fires by diff size rather than by flawed premises."
"status": "missing",
"how": "nothing: the six-part design section that touched this was retired as ceremony",
"evidence": "",
"gap": "An approach note (chosen approach, alternatives considered, what existing capability is reused) required by risk profile is designed in docs/target.md and not built yet."
},
{
"id": "R-4.5-3",
"status": "partial",
"how": "The design section requires a named challenger and alternatives before large edits",
"evidence": "sisi/design.py",
"gap": "The challenge is structural text validated for shape, not evidence that a better solution was sought, and it fires by diff size rather than by flawed premises."
"status": "missing",
"how": "nothing: the six-part design section that touched this was retired as ceremony",
"evidence": "",
"gap": "An approach note (chosen approach, alternatives considered, what existing capability is reused) required by risk profile is designed in docs/target.md and not built yet."
},
{
"id": "R-5.1-1",
@@ -1072,17 +1072,17 @@
},
{
"id": "R-8.2-1",
"status": "partial",
"how": "The audits and design section favour the simplest coherent approach and sisi deletes or retires some dead surfaces",
"evidence": "sisi/design.py",
"gap": "Accidental complexity is not measured, and gate ceremony is triggered by diff size, which equates size with risk."
"status": "missing",
"how": "nothing: the six-part design section that touched this was retired as ceremony",
"evidence": "",
"gap": "An approach note (chosen approach, alternatives considered, what existing capability is reused) required by risk profile is designed in docs/target.md and not built yet."
},
{
"id": "R-8.2-2",
"status": "partial",
"how": "The audits and design section favour the simplest coherent approach and sisi deletes or retires some dead surfaces",
"evidence": "sisi/design.py",
"gap": "Accidental complexity is not measured, and gate ceremony is triggered by diff size, which equates size with risk."
"status": "missing",
"how": "nothing: the six-part design section that touched this was retired as ceremony",
"evidence": "",
"gap": "An approach note (chosen approach, alternatives considered, what existing capability is reused) required by risk profile is designed in docs/target.md and not built yet."
},
{
"id": "R-8.3-1",
@@ -1149,10 +1149,10 @@
},
{
"id": "R-9.3-1",
"status": "partial",
"how": "A six-part design section is required before edits past 40 lines or 3 files",
"evidence": "sisi/design.py:100",
"gap": "Planning is triggered by diff size not risk, validates text shape rather than foreseeable rework, and records no dependencies or integration responsibilities."
"status": "missing",
"how": "nothing: the six-part design section that touched this was retired as ceremony",
"evidence": "",
"gap": "An approach note (chosen approach, alternatives considered, what existing capability is reused) required by risk profile is designed in docs/target.md and not built yet."
},
{
"id": "R-9.4-1",