Commit a84831e
feat: capture REGENERATE reason as epic planning memory (#38)
* feat: add Re-run Analysis button to project detail page
Adds POST /admin/ui/projects/{repo_slug}/rescan route that creates a
new onboarding run and enqueues it, then redirects to the live status
page — same flow as the wizard but without touching the Jira mapping.
Adds CSRF-protected button in the project detail page header.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* docs: add rescan route to CLAUDE.md API endpoints table
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* docs: update CLAUDE.md for monorepo detection, file landmarks, ambiguity check, rescan
- repo_profiler: document _scan_for_subdir_stacks() and monorepo detection
- claude_client: document file_landmark_map in arch tool, detect_epic_missing_specifics (Haiku), plan_epic_breakdown full-context params
- Capability Profiles: add Monorepo detection note
- Clarification Loop: add Missing specifics trigger (Epic) row
- Project knowledge injection: document file_landmarks bullet
- Dashboard: document Re-run Analysis button
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: allow optional trailing text after APPROVE/REJECT/REGENERATE run_id
Users naturally append reason text (e.g. "REGENERATE 1 caption was wrong").
Align _APPROVAL_RE with _CLARIFICATION_RE which already supports this.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat: capture REGENERATE reason as epic memory for next planning run
When user sends "REGENERATE 1 <reason>", the trailing text is now stored
as an epic-scoped manual_note so Claude incorporates the feedback on the
regenerated breakdown instead of ignoring it.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 759c909 commit a84831e
2 files changed
Lines changed: 15 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | | - | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
326 | 334 | | |
327 | 335 | | |
328 | 336 | | |
| |||
0 commit comments