Commit 1f96bca
committed
The ADR's staged plan in META.a2ml and its mirrors in TECH-DEBT.adoc /
ECOSYSTEM.adoc / SETTLED-DECISIONS.adoc had drifted into a confused
state where S5 was described in two contradictory ways:
* ADR-015 (canonical, META.a2ml): S5 = `wasi:filesystem` (unblocks
INT-06). Original S4 wording: "native `wasi:clocks` + environment
+ argv via preview2, replacing the preview1 shims behind the
component path."
* TECH-DEBT + ECOSYSTEM (post-S4b): "Remaining: S5 (native preview2
clocks/env/argv replacing the preview1 shims)" — i.e. the ledger
had quietly re-purposed S5 to mean what the ADR's S4 originally
promised, and pushed `wasi:filesystem` off the visible plan.
Root cause: what shipped as `S4a` (clock_now_ms) and `S4b`
(env_count, arg_count) did NOT fulfil the ADR's original S4 — those
slices emitted preview1 shims (clock_time_get, environ_sizes_get,
args_sizes_get) and rely on the preview1->preview2 adapter to bridge
to wasi:clocks / wasi:cli, instead of having codegen emit native
preview2 calls. That's a defensible choice (the bridging is free,
preview1 stays the default until S6c, source-to-source targets are
untouched), but it left the ADR's S4 wording untrue and pulled the
ledger into a half-baked S5-redefinition to compensate.
Resolution: amend ADR-015 to record what S4 actually shipped, restore
S5 = `wasi:filesystem` everywhere, and document the native-preview2
codegen cleanup as a bundled step inside S6c (since switching from
`wasi_snapshot_preview1.*` imports to `wasi:clocks/monotonic-clock` /
`wasi:cli/environment` / `wasi:sockets/tcp` calls only pays off once
preview2 is the default). The amendment is explicit — the ADR is
honest about the divergence rather than pretending it didn't happen.
Files:
- .machine_readable/6a2/META.a2ml (ADR-015 canonical): S4 rewritten
to "DONE, preview1-shim, NOT native preview2"; S6c gains the
native-preview2 bundled cleanup; consequences line corrected
("preview1 retained as the default through S6b; flip at S6c").
- docs/TECH-DEBT.adoc INT-03 row: "Remaining: S5 (filesystem) +
S6c (flip + native cleanup bundle)" replaces the S5 = native-
preview2 framing. Notes ADR-015 in META.a2ml is canonical.
- docs/ECOSYSTEM.adoc INT-03 row: same correction.
- docs/specs/SETTLED-DECISIONS.adoc staged-plan summary line:
S4 / S5 / S6c restated to match the ADR.
No code changes; numbering only. The shipped S4a, S4b, S6a, S6b
slice labels in prior commit messages remain accurate — this commit
only changes how the *remaining* plan is described, plus the ADR's
historical record of S4.
Refs #180
1 parent 81d9fc7 commit 1f96bca
4 files changed
Lines changed: 64 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
985 | 985 | | |
986 | 986 | | |
987 | 987 | | |
988 | | - | |
989 | | - | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
990 | 1004 | | |
991 | 1005 | | |
992 | 1006 | | |
| |||
1013 | 1027 | | |
1014 | 1028 | | |
1015 | 1029 | | |
1016 | | - | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
1017 | 1038 | | |
1018 | 1039 | | |
1019 | 1040 | | |
1020 | | - | |
| 1041 | + | |
| 1042 | + | |
1021 | 1043 | | |
1022 | 1044 | | |
1023 | 1045 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
249 | 255 | | |
250 | 256 | | |
251 | 257 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
224 | | - | |
225 | | - | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
226 | 232 | | |
227 | 233 | | |
228 | 234 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
315 | 323 | | |
316 | 324 | | |
317 | 325 | | |
| |||
0 commit comments