Commit 23a4ead
committed
fix(prm): make the dashboard regen unconditional, not a third bullet
The regen landed as leg 3 of a sub-step whose first two legs are judgement
calls, which reads as "do this if the sweep found something". It is the opposite:
`lifecycle.py record` changes what the page shows all by itself, so the ordinary
close-out — clean sweep, no sibling retired — is exactly the one that still has
to re-render.
- Leg 3 is now stated as a command with no condition, ahead of the three legs,
with both verbs spelled out (`intake --apply dashboard`, then
`intake dashboard --check` for the confirmation).
- Verified and documented that re-rendering an already-current tree is a no-op:
`--apply` rewrites both files byte-identically and `git status` stays clean.
So there is no judgement to make about whether it is needed — the cheap
mistake is the redundant render, not the stale page.
- Added the leg's own check: `git show --stat HEAD` must name dashboard.md and
dashboard.html beside the record, or leg 3 did not happen. The ledger's
dashboard line is a claim that has to be backed.
- Closed the loophole in Notes. "A task with no issue/prompt/worktree skips
those sub-steps" does not extend to the regen — that is skippable only where
the close-out wrote nothing to Mind at all.
- reference.md notes both invocation paths (direct `_intake.py` and the
`pyauto-brain` router), since the environment decides which resolves.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011QFJaycmUfaEhR4XoZajy91 parent 5724107 commit 23a4ead
2 files changed
Lines changed: 48 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
143 | 150 | | |
144 | 151 | | |
145 | 152 | | |
| |||
156 | 163 | | |
157 | 164 | | |
158 | 165 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
165 | 180 | | |
166 | 181 | | |
167 | | - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
168 | 185 | | |
169 | 186 | | |
170 | 187 | | |
| |||
178 | 195 | | |
179 | 196 | | |
180 | 197 | | |
181 | | - | |
| 198 | + | |
| 199 | + | |
182 | 200 | | |
183 | 201 | | |
184 | 202 | | |
| |||
212 | 230 | | |
213 | 231 | | |
214 | 232 | | |
215 | | - | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
234 | 236 | | |
235 | 237 | | |
236 | 238 | | |
237 | 239 | | |
238 | 240 | | |
239 | 241 | | |
240 | 242 | | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
241 | 251 | | |
242 | 252 | | |
243 | 253 | | |
| |||
248 | 258 | | |
249 | 259 | | |
250 | 260 | | |
| 261 | + | |
251 | 262 | | |
252 | 263 | | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
253 | 268 | | |
254 | 269 | | |
255 | 270 | | |
| |||
0 commit comments