Commit 4ac7a5a
authored
docs(proposals/0001): annotate v0 producer surface — flag reserved codepoints (#101)
## Summary
Adds `=== v0 producer surface` subsection to
`docs/proposals/0001-multi-producer-carrier-section.adoc`, recording
what no producer at v0 exercises and explicitly flagging those
codepoints as **reserved** (forward-compatible).
Doc-only — no spec wire-format change, no verifier code change.
## Source of the finding
Evidence-based per-producer surface measurements from the 2026-05-30
paired-review of ephapax#165 + affinescript#402:
- **affinescript** (`lib/wasm.ml`, `lib/codegen.ml:180-190`): emits only
`{I32, I64, F32, F64}`; WBool lowered to i32.
- **ephapax** (`src/ephapax-syntax/src/lib.rs:49`,
`src/ephapax-wasm/src/lib.rs:1290+`): emits only `BaseTy { Unit, Bool,
I32, I64, F32, F64 }`; collapses borrow distinctions to
`Linear`/`Unrestricted` before codegen.
Cross-cutting result: **5 of 11 WasmType variants used**, **2-of-4
PtrKind variants from ephapax**, **cardinality≡1 from both**, **zero
producers for typedwasm.capabilities** at v0.
## Policy stated
Consumers MUST accept reserved codepoints (lenient-reader contract
applies) and MUST NOT reject v0 modules that omit them. Producers
introducing them in v1.x trigger either:
1. **Additive** version bump if wire shape extends, or
2. **Breaking** version bump if existing-codepoint semantics change.
Verifier implementations should NOT preallocate handling for reserved
codepoints at v0.
## Test plan
- [ ] doc-render check (asciidoctor) on the modified proposal — no
syntax errors.
- [ ] visual sanity: subsection inserts cleanly between `L15-C` deferral
note and `=== Versioning policy`.
Closes #93
Refs #34
Refs #76
Refs hyperpolymath/ephapax#165
Refs hyperpolymath/affinescript#402
🤖 Generated with [Claude Code](https://claude.com/claude-code)1 parent 3c90f37 commit 4ac7a5a
1 file changed
Lines changed: 39 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
148 | 187 | | |
149 | 188 | | |
150 | 189 | | |
| |||
0 commit comments