Skip to content

refactor(core): share WASM cell-kind wire tags - #42

Merged
chh-ay merged 2 commits into
0.4.0from
refactor/wire-tag-single-source
Jul 26, 2026
Merged

refactor(core): share WASM cell-kind wire tags#42
chh-ay merged 2 commits into
0.4.0from
refactor/wire-tag-single-source

Conversation

@chh-ay

@chh-ay chh-ay commented Jul 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • define the TypeScript WASM cell-kind wire tags in one dependency-free internal module
  • migrate the store, visible-window reader, and paint worker without changing encodings or branches
  • exercise the real WASM-to-TypeScript window contract and enforce the new leaf in the import-ownership gate

Verification

  • bun test packages/core/test/wire-tags.test.ts — 1 pass
  • bun test packages/core/test — 753 pass
  • bun run lint — pass (one existing corpus-size warning)
  • bun run typecheck — pass
  • cd packages/wasm && cargo check --target wasm32-unknown-unknown — pass
  • bun scripts/check-import-cycles.ts — 88 modules acyclic
  • bun run api:check — pass; baseline unchanged
  • bun run changeset:ci — pass
  • structural searches — KIND_* declarations only in store/wire-tags.ts; string decode sentinel uses shared NO_STRING; both cache caps remain independent
  • bun test — 1267 pass, 7 unrelated base failures: one stale docs compatibility inventory expectation and six benchmark-artifact checks whose recorded TypeScript 7.0.2 differs from the locked 6.0.3 compiler

@vercel

vercel Bot commented Jul 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sheetwrite Ready Ready Preview, Comment Jul 26, 2026 3:51pm

@chh-ay
chh-ay merged commit 0e09ecc into 0.4.0 Jul 26, 2026
11 checks passed
@chh-ay
chh-ay deleted the refactor/wire-tag-single-source branch July 26, 2026 15:57
@chh-ay chh-ay mentioned this pull request Jul 26, 2026
36 tasks
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