Commit 71e643a
committed
docs(plan-integration): T5.1 — design §5 reviewed against the code; three amendments
Item 5 (D-F) was designed on 2026-09-16 before its RED. Read against
learning/decision.py at 7208eb6, three of its sentences do not fit the
tree; each is amended under §5 with the source it rests on, so T5.2's RED
is written against a design the code can carry.
1. "recovered / gentle review -> low" names a row _struggle_candidates never
emits: it selects only confidence in ("struggling", "learning") or
last_teachback_score < 14. The low-demand class is the `learning` row;
fresh `struggling` (last_seen <= 14 days) is high, old `struggling` or a
weak-teach-back-only row is medium. Demand is derived once in the
collector and carried in candidate metadata.
2. "listed in energy_deferred" cannot hold a repair: DeferredMilestone has a
mandatory milestone_index and all three renderers (cli/_now.py,
learning/recap.py, today-panel.js deferredNotes) print
`milestone {index + 1} "{title}"`. A deferred repair gets its own frozen
DeferredRepair in a new additive key, energy_deferred_repairs, and each
renderer gains one line for it.
3. "opens the existing body-double session route (web/routes/body_double.py)"
names the read-only focus reader. The session door is `studyloop study
"<topic>" --mode co-study` on the CLI and the Body Double view's session
start on the Web; _evidence_command has no conversation branch and would
fall through to `studyloop progress … -c learning` (a write), so the
body-double candidate sets its evidence_command explicitly.
tasks.md T5.1 ticked with the receipt. Full suite on this branch: 30 failed
/ 5120 passed / 14 errors, the 44 failed+errored ids byte-identical to the
item-4 control's committed environmental set (run - control = empty).1 parent 7208eb6 commit 71e643a
2 files changed
Lines changed: 37 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
241 | 271 | | |
242 | 272 | | |
243 | 273 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
196 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
197 | 202 | | |
198 | 203 | | |
199 | 204 | | |
| |||
0 commit comments