Skip to content

refactor(automation): separate evaluation parsing and node policy - #405

Merged
dylanplayer merged 1 commit into
mainfrom
codevisor/quality-next-405
Oct 11, 2026
Merged

dylanplayer merged 1 commit into
mainfrom
codevisor/quality-next-405

Conversation

@dylanplayer

Copy link
Copy Markdown
Member

Browser evaluation validation now separates expression parsing and node rejection policy from traversal. The exported validator retains parse-before-allocation, lazy property reads, mutation-error precedence and traversal-before-root validation.

Validation: 16 owning tests in three files, automation build/typecheck/lint, and the full enabled pre-commit gate passed. The default public provider exercised 12 literal cases over a real owned WebSocket with a simulated CDP peer; all full results and 52 request/response frames matched the original. The peer did not execute JavaScript.

The file is 496 lines (previously 488); the validator is 48 lines (previously 85). Added private helper calls change stack frames; no performance or stack-trace identity claim. No tests, exclusions, defaults or public API changed.

@dylanplayer
dylanplayer merged commit da963e3 into main Oct 11, 2026
1 check 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