Skip to content

Suppress ILO-P001 cascade after parse errors#164

Merged
danieljohnmorris merged 1 commit into
mainfrom
fix/p001-cascade
May 11, 2026
Merged

Suppress ILO-P001 cascade after parse errors#164
danieljohnmorris merged 1 commit into
mainfrom
fix/p001-cascade

Conversation

@danieljohnmorris
Copy link
Copy Markdown
Collaborator

Resolves a recurring agent token-cost: one syntax error inside an @ loop body used to produce 15-20 spurious follow-up errors. Now suppresses ILO-P001/P002 codes after the first per body, so agents see one error not twenty. Cross-engine tests + manifesto framing in the commit message.

tests + example pinning the cascade suppression.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 11, 2026

Codecov Report

❌ Patch coverage is 94.44444% with 1 line in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/parser/mod.rs 94.44% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@danieljohnmorris danieljohnmorris merged commit 8cc48d7 into main May 11, 2026
5 checks passed
@danieljohnmorris danieljohnmorris deleted the fix/p001-cascade branch May 11, 2026 20:49
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