Skip to content

feat(routines): add typed Rust scalar ABI projection - #90

Merged
jscott3201 merged 1 commit into
mainfrom
feat/rust-scalar-abi
Aug 24, 2026
Merged

feat(routines): add typed Rust scalar ABI projection#90
jscott3201 merged 1 commit into
mainfrom
feat/rust-scalar-abi

Conversation

@jscott3201

Copy link
Copy Markdown
Owner

Summary

  • add a typed in-memory scalar ABI projection over ResolvedSpecialization
  • preserve scalar order, coordinates, numeric variants, alias metadata, sources, and directions
  • lower enums through caller-supplied source-member mappings with deterministic validation
  • reject inconsistent manually constructed resolved values without panicking

Validation

  • cargo fmt --manifest-path tools/routine-compiler/Cargo.toml -- --check
  • cargo test --locked --manifest-path tools/routine-compiler/Cargo.toml — 29 passed
  • cargo clippy --locked --manifest-path tools/routine-compiler/Cargo.toml --all-targets -- -D warnings
  • focused Python resolution/scalar-ABI suite — 36 passed
  • full routine lint discovery — 189 passed
  • repository schema, semantic, catalog, G36 source/declaration, verifier, fault-library, and dataset gates

Scope

This remains a Rust-only in-memory stage. It does not add raw JSON validation, serialization, a Python or cxf-json bridge, scalar naming, generated artifacts, or Engine/Studio integration.

Project resolved scalar leaves with caller-reviewed enum mappings while preserving ordering and numeric fidelity. Reject malformed mappings and inconsistent typed input with deterministic diagnostics.

@jscott3201 jscott3201 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review cycle 1 completed against d8b6d1538affeadc69b2319e311ff4233587454e.

Both independent reviewers found no blocker, major, minor, or nit issues. The PR head remains unchanged, and the exact-head build and verify checks passed. No repair cycle is required.

@jscott3201
jscott3201 merged commit b906abb into main Aug 24, 2026
3 checks passed
@jscott3201
jscott3201 deleted the feat/rust-scalar-abi branch August 24, 2026 18:42
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