You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Parse wavec dry-run JSON without first-brace last-brace heuristics #39
bugSomething isn't workingstabilityIssues that improve reliability, recovery, and deterministic behavior.wave compatibilityIssues related to compatibility with the Wave language, module system, and wavec contracts.
Vex extracts a dry-run plan by slicing from the first { to the last } in stdout or stderr. Any diagnostic, debug line, or path containing braces before or after the plan makes the selected slice invalid or combines multiple JSON objects.
The current noisy-output test covers extra text but not extra braces or multiple JSON values.
Expected behavior
Vex should consume an unambiguous machine-readable plan and reject ambiguous output with useful diagnostics.
Acceptance criteria
Define which stream carries the plan and whether it is one JSON document or JSON Lines.
Parse complete JSON values rather than brace positions.
Reject zero or multiple candidate plans explicitly.
Preserve compiler diagnostics separately from the plan.
Add tests for braces in logs, nested objects, multiple JSON objects, leading BOM or whitespace, and invalid UTF-8.
bugSomething isn't workingstabilityIssues that improve reliability, recovery, and deterministic behavior.wave compatibilityIssues related to compatibility with the Wave language, module system, and wavec contracts.
Activity