You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rename: pick up typedwasm.ownership section name from typed-wasm#65 (#137)
## Summary
- Producer-side update for the wasm custom-section rename
`affinescript.ownership` → `typedwasm.ownership`.
- Bumps `typed-wasm-verify` rev pin to typed-wasm#65 (the
source-of-truth PR).
- Updates 5 in-source doc-comments that referenced the old name.
The section name itself flows in via
`typed_wasm_verify::OWNERSHIP_SECTION_NAME` — no string-literal
hardcoding in ephapax — so the rev bump is what flips the actual emitted
bytes.
## ⚠️ Re-bump obligation
The rev pin currently points at typed-wasm#65's branch HEAD
(`a1935c16`). **RE-BUMP to the post-merge SHA on `origin/main` before
this PR merges** — otherwise the dangling-ref risk grows if typed-wasm's
branch is auto-deleted after merge.
## Sibling PRs (coordinated hard-flip)
- **typed-wasm#65** (must merge first): the `OWNERSHIP_SECTION_NAME`
constant + verifier crate.
- **affinescript** PR (sibling producer): emitters, parsers, JS loader,
TEA bridges, CLI strings, docs.
- **ephapax** (this PR): rev pin + 5 comment sites.
## What changed
- `Cargo.toml` — bump `typed-wasm-verify` rev + inline note about
re-bump.
- `Cargo.lock` — `indexmap` 2.13.0 → 2.14.0 (required by `wasmparser`
0.250.0 that the bumped `typed-wasm-verify` pulls in).
- `src/ephapax-wasm/src/lib.rs` — 4 doc-comment references.
- `src/ephapax-cli/src/main.rs` — 1 doc-comment reference.
## Test plan
- [x] `cargo test -p ephapax-wasm` → **79/79 passing** against the new
`typed-wasm-verify` rev — proves the integration end-to-end with the
renamed constant.
- [x] `rg 'affinescript\.ownership'` (excl `CHANGELOG.md`) → 0 hits.
## Why now
Estate disentangling: AffineScript and Ephapax must be independent
languages. Ephapax was previously embedding the AffineScript brand in
every wasm module it emitted (via the section name pulled from
`typed-wasm-verify`). Now both producers consume a producer-neutral name
from a shared crate.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments