Skip to content

Carry bytes and scalar scientific value contracts through RPC - #353

Closed
bbopen wants to merge 5 commits into
codex/tywrap-value-contracts-20260919from
codex/tywrap-value-interface-20260920
Closed

bbopen wants to merge 5 commits into
codex/tywrap-value-contracts-20260919from
codex/tywrap-value-interface-20260920

Conversation

@bbopen

@bbopen bbopen commented Sep 20, 2026

Copy link
Copy Markdown
Owner

Scope

  • Add the existing bytes wire form to revision 2 value contracts and shared fixtures.
  • Name the Torch outer dtype torch.float16 while retaining the nested ndarray dtype float16.
  • Carry scalar ndarray shape and dtype proof through a call-local decode context to return validation.
  • Keep nested proof tied to each parent object and key, including canonical array indices.

Evidence

  • Prettier checks pass for changed TypeScript files.
  • git diff --check passes.
  • Focused tests cover bytes fixtures, Arrow and JSON scalar proof, nested array and record positions, concurrent equal numbers, and rejected decode isolation.
  • Local compiler and Vitest runs were deferred because the host reports memory pressure level 2. Remote CI is the test gate.

Stack and review

This draft is based on #348 at 755616f. The generated validator and compiler consumer are being implemented in a separate lane. Review this PR with that consumer before merge.

@coderabbitai

coderabbitai Bot commented Sep 20, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@bbopen

bbopen commented Sep 20, 2026

Copy link
Copy Markdown
Owner Author

Integrated through reviewed implementation PR #362, merged as 43f111b43fbb0ce31dcb59f8fb489e8dadf3f191. This branch head is an ancestor of that merged commit. Final combined release candidate aa5497f867b36a76670afedbe9b34a6712a322e3 passed full CI 35508107651. Closing this component PR because its work is already on main; release publication is tracked by #354.

@bbopen bbopen closed this Sep 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant