Learning corrected. done / next: workers

This commit is contained in:
swaits committed 2026-11-23 13:03:42 -07:00
1 parent bbe32e0dc3
commit 389db7fd11
1 file changed
+8 -3
+8 -3
View File
@@ -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/<name>.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.