Skip to content

fix(bridge): align schema limits with evidence validation - #281

Open
rodboev wants to merge 1 commit into
kenn-io:mainfrom
rodboev:bridge-schema-bounds
Open

fix(bridge): align schema limits with evidence validation#281
rodboev wants to merge 1 commit into
kenn-io:mainfrom
rodboev:bridge-schema-bounds

Conversation

@rodboev

@rodboev rodboev commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Docbank's published source-evidence schema now uses the same item limits as the validator that consumes it. Heading paths are capped at 64 entries, and geometry boxes and polygons at 10,000 entries, so bridge callers don't receive payloads the library will reject immediately afterward.

The change adds a normative contract check for all three boundaries, including at-limit and over-limit cases. Other evidence limits, aggregate geometry rules, and the bridge API remain unchanged.

Closes #266

@roborev-ci

roborev-ci Bot commented Sep 4, 2026

Copy link
Copy Markdown

roborev: Combined Review (11da1b9)

No issues found.


Reviewers: 2 done | Synthesis: codex | Total: 1m5s

@rodboev rodboev changed the title Align bridge schema limits with evidence validation fix(bridge): align schema limits with evidence validation Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Bridge schema numeric bounds are wider than the Go validator accepts

1 participant