Repository navigation
Commit 3d7aedc
committed
fix: bound oversized task-check rewrites to one correction
## Model
GPT-6.1-Sol.
## Summary
Refs #521/#522/#489; FEATURE_SPEC5.3/5.4/5.5 respecting3/7. Actual local-c21ee2959a02b0ef consumed600s during repeated oversized TASK proposals. Give this specific length failure its existing single validation correction immediately, rather than spending the general turn budget rewriting the same invalid contract. Still-invalid correction explicitly stops before coder/publication. Preserve all existing changed-Ask, scope, locked-model and other rewrite behavior. No parsing waiver, requirement truncation or increased budget.
## Verification
New red20-turn regression confirmed prior repeated rewrite exhaustion. Final Node20 planner/acceptance/task/plan-mode/layout63/63pass,4.8s. Exactly two calls for unchanged invalid oversized draft, successful written and JSON corrections retained; existing Ask/protected-path/selected-model refusals unchanged. Last full trusted CI1720/1720green; new head requires CI. No private config, runtime deps/store, workflow/policy/vendor edit, dummy commit or invented evaluation.
node --test --test-concurrency=4 tests\planner.acceptance.test.mjs tests\planner.test.mjs tests\planner-task.test.mjs tests\plan-mode.test.mjs tests\test-layout.test.mjs
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
AI-Agent: r4yharris-agent-coder
AI-Model: GPT-6.1-Sol1 parent f208b8c commit 3d7aedc
3 files changed
Lines changed: 36 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
432 | 442 | | |
433 | 443 | | |
434 | 444 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
67 | 89 | | |
68 | 90 | | |
69 | 91 | | |
| |||
0 commit comments