Skip to content

docs(openspec): plan #3529 Measure and bound the repair return request - #5777

Merged
dan-petty merged 1 commit into
mainfrom
fix/3529-a-return-request-leaves-room-for
Nov 15, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/3529-a-return-request-leaves-room-for

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

The stage job sends an earlier plan and a problem back to the planner when a gate refuses a reply and when a review returns a finding. That return request is the first request plus the whole earlier plan, and no test measured it. At a window of 65,536 tokens the run offers no tool from 49,152 tokens, so a long earlier plan can leave the planner with no tool at all. This change measures the return request offline, as the refine measure test does, and bounds the earlier plan only when the request passes that limit. The bound cuts the texts of the earlier plan and keeps its keys, its paths, the problem and every tool. The first plan request keeps its caps and its reserve. Refs #3529.

Plans #3529

Change: openspec/changes/3529-a-return-request-leaves-room-for/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 15, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 15, 2026 02:07
@dan-petty
dan-petty merged commit ec21d29 into main Nov 15, 2026
22 checks passed
@dan-petty
dan-petty deleted the fix/3529-a-return-request-leaves-room-for branch November 15, 2026 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant