Skip to content

Commit 666795b

Browse files
docs(tw_section): update stale typed-wasm proposal 0001 reference (accepted + ADR-0002/0003) (#468)
## Summary \`lib/tw_section.mli\` describes the forward-compatibility slot for typed-wasm carrier-section encoders. Its header gates that slot on \"the proposal promotes to [accepted]\" — but the gating event happened on 2026-05-30: - typed-wasm proposal 0001 (\`docs/proposals/0001-multi-producer-carrier-section.adoc\`) reached \`[accepted]\` and was promoted to typed-wasm ADR-0002 in typed-wasm#116 - typed-wasm proposal 0002 (\`docs/proposals/0002-access-site-carrier.adoc\`) reached \`[accepted]\` and was promoted to typed-wasm ADR-0003 in the same PR This PR refreshes the header to reflect the new state and adds \`access_sites\` to the list of encoders the slot reserves, with a pointer to active downstream work (#462). No substantive behaviour change — encoders still land here as codegen produces them. ## Test plan - [ ] CI green (single-file .mli comment update) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
1 parent 4f0f3ca commit 666795b

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

lib/tw_section.mli

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@
88
(avoiding a cycle with [Codegen]). Callers map their domain
99
types to bytes before invoking.
1010
11-
Forward-compatibility slot for typed-wasm proposal 0001 (issue
12-
hyperpolymath/typed-wasm#34): [Encode.regions] and
13-
[Encode.capabilities] land here when the proposal promotes to
14-
[accepted]. Sharing the internal LE writers (u8 / u32le / leb128)
15-
inside this module prevents the 3-sections × 2-copies = 6-encoder
16-
fan-out flagged by hyperpolymath/affinescript#444. *)
11+
Forward-compatibility slot for typed-wasm proposals 0001 + 0002
12+
(now [accepted] 2026-05-30; promoted to typed-wasm ADR-0002
13+
[multi-producer carrier sections] and ADR-0003 [access-site
14+
carrier]). [Encode.regions], [Encode.capabilities], and
15+
[Encode.access_sites] land here as codegen produces them — see
16+
hyperpolymath/affinescript#462 (typed access-sites emission).
17+
Sharing the internal LE writers (u8 / u32le / leb128) inside this
18+
module prevents the 3-sections × 2-copies = 6-encoder fan-out
19+
flagged by hyperpolymath/affinescript#444. *)
1720

1821
module Encode : sig
1922
(** v1 wire format for [typedwasm.ownership]:

0 commit comments

Comments
 (0)