Skip to content

fix: restore hex colors and deduplicate values - #113

Merged
maebli merged 1 commit into
mainfrom
agent/fix-schema-v2-regressions
Aug 10, 2026
Merged

fix: restore hex colors and deduplicate values#113
maebli merged 1 commit into
mainfrom
agent/fix-schema-v2-regressions

Conversation

@maebli

@maebli maebli commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • release the parser, CLI, Python binding, and WASM package as version 0.4.3
  • restore frame, application-header, DIF/VIF, and payload colors in the website hex view
  • advance the canonical output schema to version 3 and collapse record values to kind plus at most one parsed value
  • keep record raw bytes only in header_hex and data_hex, including the CSV contract
  • rebuild the checked-in website WASM artifacts and update the asset cache key

Root cause

Version 0.4.2 serialized annotation layer and segment identifiers as snake_case, while the website continued matching the previous PascalCase names. Every segment therefore fell through to the fallback styling.

The schema-v2 record value object also exposed the same value through display, decimal, significand, number, scaling, precision, and raw-byte fields. This made canonical output repetitive and ambiguous.

Impact

Hex annotations regain their semantic colors and record grouping. Canonical values now have one authoritative parsed representation, scaled zero values normalize to "0", and consumers can select behavior using schema version 3.

Validation

  • cargo fmt --all -- --check
  • cargo test --workspace --all-features
  • cargo clippy --workspace -- -D warnings
  • wasm-pack test --headless --firefox (8 browser tests)

@maebli
maebli marked this pull request as ready for review August 10, 2026 22:16
@maebli
maebli merged commit 20f26da into main Aug 10, 2026
13 checks passed
@maebli
maebli deleted the agent/fix-schema-v2-regressions branch August 10, 2026 22:18
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