Skip to content

test: add shared Python and TypeScript projection boundary corpus - #5

Draft
dinakarjs wants to merge 1 commit into
review/projection-119-49da7a9from
test/shared-projection-boundaries-20261026
Draft

dinakarjs wants to merge 1 commit into
review/projection-119-49da7a9from
test/shared-projection-boundaries-20261026

Conversation

@dinakarjs

Copy link
Copy Markdown
Owner

Test-only adoption companion for agentrust-io#119 at 49da7a9. Both language suites read one corpus: six canonical timestamps, thirteen noncanonical spellings, and five scalar projection cases. The exact 20-digit positive maps to [99999999999, 999999999]. Local tags construct NaN/infinities because they have no JSON representation. Projection inputs are not claims that arbitrary fields pass the event schema.

Validation: Linux/Python 3.12.14, hash-locked test dependencies and source imports pinned to this checkout; full Python suite 162 tests OK with OTEL_TRACES_SAMPLER=always_on. TypeScript build passes and all 69 tests pass through node --import tsx --test test/*.test.ts. This runs the same tests without the tsx CLI's unavailable IPC launcher. Removing the Python nonfinite filter, TypeScript nonfinite filter, or TypeScript decimal guard independently makes the shared cases fail; source restored. Changed-file lint and whitespace pass.

No SDK/runtime/schema change. Other adapter and EventFactory changes remain in upstream agentrust-io#116–120. This companion contains only our test/corpus/docs additions relative to the reviewed agentrust-io#119 head; it is not an independent approval of agentrust-io#119.

Prepared with OpenAI Codex. DCO-signed; author adoption and independent review remain required.

Published head 4d5dcb2, tree f1ce84eefd44515d7ea08ee1e3c13c4315ca0046, exactly matches the tested tree.

Signed-off-by: Srinivasa Dinakar Jainti <dinakarjs@gmail.com>
@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

🟡 Contributor Check: MEDIUM

Check Result
Profile MEDIUM
Credential LOW
Overall MEDIUM

Automated check by AgenTrust Contributor Check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-review:MEDIUM Contributor check flagged MEDIUM risk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant