Skip to content

fix(types): enforce post-ASAP summary consistency - #374

Merged
zzylol merged 2 commits into
mainfrom
fix/post-asap-semantic-consistency
Sep 10, 2026
Merged

fix(types): enforce post-ASAP summary consistency#374
zzylol merged 2 commits into
mainfrom
fix/post-asap-semantic-consistency

Conversation

@zzylol

@zzylol zzylol commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

A validated post-ASAP graph could still declare one grouping layout on SummaryAgg, encode another layout in its sketch state schema, or declare an output family absent from that schema. CandidateTopK also transported k as architecture-dependent usize.

This extends graph validation to enforce one family and grouping meaning at the summary boundary and changes the transport payload's TopK count to fixed-width u64. It retains the existing semantic IR's local usize; compilation is the explicit adapter into the portable wire representation.

Stacked on #373.

Validation: cargo test -p asap-types

@zzylol zzylol changed the title Enforce post-ASAP summary schema consistency fix(types): enforce post-ASAP summary consistency Sep 10, 2026
@zzylol
zzylol changed the base branch from fix/post-asap-dag-wire-contract to main September 10, 2026 14:02
@zzylol
zzylol force-pushed the fix/post-asap-semantic-consistency branch from 0abceea to b6db64a Compare September 10, 2026 14:02
@zzylol
zzylol merged commit 5eb14be into main Sep 10, 2026
3 of 4 checks 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