Skip to content

Fix/bundler corruption 20260518#916

Draft
JamesPiechota wants to merge 4 commits into
edgefrom
fix/bundler-corruption-20260518
Draft

Fix/bundler corruption 20260518#916
JamesPiechota wants to merge 4 commits into
edgefrom
fix/bundler-corruption-20260518

Conversation

@JamesPiechota
Copy link
Copy Markdown
Collaborator

No description provided.

@JamesPiechota JamesPiechota force-pushed the fix/bundler-corruption-20260518 branch 5 times, most recently from 6194048 to b314aa5 Compare May 20, 2026 20:10
@JamesPiechota JamesPiechota force-pushed the fix/bundler-corruption-20260518 branch 2 times, most recently from fd5a398 to 3201c25 Compare May 20, 2026 20:57
JamesPiechota and others added 2 commits May 20, 2026 16:58
When converting from structured to a target codec, the target codec
is provided as a hint to dev_structured and informs how dev_structured
loads or unloads children as it recurses through dev_structured:from.

This prevents bugs where a message could end up in a load state that
does not match its commitments.

This change also adds similar functionality to verify/id/commit.
Add dev_message_bundle_test_vectors: a battery exercising the
`bundle'/`hint-device' machinery over a three-level signed message
tree. For every 3x3x3 permutation of per-level bundle flags (true /
false / none) it checks verify/3, id/3 and convert/4 -- the per-node
path always verifies, a forced request bundle is harmless, and a
converted tree's load state matches what was requested.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@JamesPiechota JamesPiechota force-pushed the fix/bundler-corruption-20260518 branch from 3201c25 to 47c7c49 Compare May 20, 2026 21:01
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