From 389db7fd1154803d3c6970b5285b65d57ed0683a Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Mon, 23 Nov 2026 13:03:42 -0700 Subject: [PATCH] Learning corrected. done / next: workers --- docs/learning.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/learning.md b/docs/learning.md index b395689..5752188 100644 --- a/docs/learning.md +++ b/docs/learning.md @@ -81,8 +81,7 @@ store: an enforced contract requirement, an enforced command check (both in adjustment (`overlay/risk-adjustments.json`), a routing adjustment (`overlay/routing-adjustments.json`), or a benchmark case (`overlay/benchmarks/.json`). `tool` learnings — changes to sisi's own code — are -refused by the cycle; they go to the backlog shown in the learning report and to the -contribution export. +refused by the cycle; they go to the tool list shown in the learning report and to the contribution export. `sisi cycle apply FILE` treats the file as untrusted input and plans everything before writing anything — the budget and every other check run first, and a refusal applies nothing. If applying then fails part-way @@ -144,7 +143,7 @@ never delivered again. ## Migration -`sisi update` (and `sisi migrate`, and `sisi learn`/`sisi oracle`) run the learning migration whenever the +`sisi update` (and `sisi learn`/`sisi oracle`) run the learning migration whenever the old store exists and the `learnings-migrated.json` marker does not: a backup first, merged by legacy id (a lesson already carried over is not carried twice; a learning recorded before the first migration does not stop it). Old lesson rows become learning records with honest statuses (a lesson folded into prose @@ -176,3 +175,9 @@ learnings in scope that target that entry. - `retro.satisfied(repo, since, fp)` and `retro.TEMPLATE` — what the gate asks. - `learning.delivery_text(project, query, targets=())` — what the prompt hook may add. - `evaluate.validate_command(repo, before, after, cmd)` — the replay. + +## What this does not do + +Replay validation needs commits and a trusted project; without them a check stays +unvalidated and waits for the owner. Being shown is never evidence, and one incident never +earns wider scope on its own.