Commit a4cb1e7
catlog22
fix(planning-agent): relax task parser regex and inject Prior Analysis into CLI context
1. extractStructuredTasks regex: /### (TASK-\d+|T\d+):/ was too strict,
failing when Gemini outputs fewer #'s or omits colon. Relaxed to
/#{1,3}\s*(TASK-\d+|T\d+):?\s*/ to tolerate format variations.
2. CLI Command Template CONTEXT field: added explicit instruction to use
Prior Analysis from task description as primary planning context when
exploration files are absent.1 parent 4f3ef5c commit a4cb1e7
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
261 | | - | |
| 260 | + | |
| 261 | + | |
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| |||
0 commit comments