Task 1 of docs/superpowers/plans/2026-08-26-table-residency.md. - ast.ml: `table_cfg` gains `durable : bool` (default true) and `resident : residency` (ResAll | ResKeys, default ResAll) — both defaulting to the pre-existing behaviour, which is what lets every @table written before this compile byte-identically - parser.ml: `durable:` takes the existing KwTrue/KwFalse tokens; `resident:` takes the bare identifiers `all`/`keys`. Given-twice tracked by local seen flags rather than option fields, so "absent" and "explicitly the default" stay distinguishable without the AST carrying an option nobody reads - five new WO-E102 causes, all catalogued in the same commit: durable twice, resident twice, an unknown resident value, `resident: index` (the pre-review spelling, with a message naming its replacement), and a retired design word (mode/store/ram/cold/tiered/paged/mmap/buffer) which gets a message stating the two real keys instead of a generic "unknown argument" - dump.ml prints each property ONLY when it differs from its default. Printing unconditionally would have moved every pre-existing golden, which this iteration is not allowed to do - new golden compiler/test/golden/ast/table-residency.wo covers all four shapes, including a table declaring `resident: all` explicitly and correctly dumping nothing for it - verified, not assumed: `git diff --stat` over compiler/test/golden/ is EMPTY after a WOC_BLESS run, so all 30 pre-existing goldens are untouched. woc-test 557/0 (was 556), oop-e2e 116/0, employee 8/0; employee, db-bench, db-actor and porch all still typecheck - docs: language-surface's @table row now matches what the parser accepts Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| 00-wob-format.md | ||
| 01-error-catalog.md | ||
| 02-corpus.md | ||
| 03-concurrency-coroutines.md | ||
| 04-db-binding.md | ||
| 08-builtin-surface.md | ||
| README.md | ||
docs/plan/oop-vm/ — OOP + systems track contracts
The normative contract documents both stacks cite. Landed by their named plan tasks:
| doc | contract | plan |
|---|---|---|
00-wob-format.md |
.wob bytecode format (compiler↔VM) |
1 |
01-error-catalog.md |
every WO-E### code |
2, grows 3/8 |
02-corpus.md |
how to add conformance fixtures | 3 |
03-concurrency-coroutines.md |
stackless fibers, park/resume protocols, reduction budget, the no-async rule |
arc (was plan 4's slot; that plan ✖ discarded 2026-08-21) |
04-db-binding.md |
row format, WAL records, query subset | 5 |
05-http-service.md |
route section, trap→HTTP table, JSON subset | 6 |
06-ui-live.md |
delta frames, subscribe protocol, wo:live | 7 |
07-systems-stdlib.md |
per-function nil-vs-trap contracts | 9 |
08-builtin-surface.md |
builtin source names, container/call/entry rules the emitter enforces | 3 |
Specs and plans: docs/superpowers/{specs,plans}/. Repo map: docs/08-project-structure.md.