Skip to content

Guard oversized semantic planner requests - #8

Merged
MauScheff merged 1 commit into
mainfrom
codex/fix-semantic-plan-context
Oct 29, 2026
Merged

MauScheff merged 1 commit into
mainfrom
codex/fix-semantic-plan-context

Conversation

@MauScheff

Copy link
Copy Markdown
Owner

A large semantic manifest can produce a planner prompt above the Codex input limit. The planner now stops before dispatch, records a bounded local planning packet, and preserves the full prompt for manual change-file planning. Oversized initial requests skip run-record validation and record that it did not run; normal requests keep the existing validation path.

Validation: the reported large module produced a 4,307,790-byte request and stopped locally without starting the provider. The native suite passed 900 unit tests and 11 CLI tests; 6 tests were ignored. Formatting and whitespace checks passed.

@MauScheff
MauScheff merged commit c28289f into main Oct 29, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant