Repository navigation
Description
Audit and implementation of Griffin's streaming-native architecture request, starting at ece6adf. Work order: hand-written byte-demand core → pausable transport → checkpoints → reviewed grammar compiler upgrade → streaming WASM → boundary fuzz/golden evidence. The compiler does not block the initial handwritten reader. Existing release correctness requirements remain in force; a working prefix reader does not establish full model parsing. Sub-issues will record evidence and acceptance.
Ordered work
- Streaming 1: replace whole-file parsing with explicit byte-demand states #205 Streaming 1: replace whole-file parsing with explicit byte-demand states
- Streaming 2: transport-independent pausable byte sources #206 Streaming 2: transport-independent pausable byte sources
- Streaming 3: portable bounded checkpoints with fresh-process resume #207 Streaming 3: portable bounded checkpoints with fresh-process resume
- Streaming 4: compile reviewed machine-readable DWG grammar after handwritten parity #208 Streaming 4: compile reviewed machine-readable DWG grammar after handwritten parity
- Streaming 5: bounded browser input and checkpoint API in native/WASM CI #209 Streaming 5: bounded browser input and checkpoint API in native/WASM CI
- Streaming 6: proptest chunk schedules and automatic streaming invariant gate #210 Streaming 6: proptest chunk schedules and automatic streaming invariant gate
- Streaming 7: real golden corpus through multi-gigabyte DWG and honest reader benchmarks #211 Streaming 7: real golden corpus through multi-gigabyte DWG and honest reader benchmarks
- Watch ODA specification revisions and open deduplicated grammar-review issues #212 Watch ODA specification revisions and open deduplicated grammar-review issues
Work owner: this Codex chat, isolated branch codex/streaming-core; no delegation. Legacy complete-file API remains subject to the migration issue and is not covered by claims about the new streaming core.
Delivered foundation — October 25, 2026
PR #213 merged at ab1d42b029a34e9b030b68fa2c334c6728df2935; the merged tree equals the tested e7c3df45bbb7c9af56de3297b342e080e32baf9f candidate. Required PR checks passed. Streaming E2E run 40235108179 passed the bounded §3.2 header grammar, two real header oracles, 256 generated chunk schedules, 98 fresh-process byte positions with zero earlier reads, malformed/failed checkpoints, and same-source native/wasm32 no-allocator builds. All three existing WASM wrapper builds passed. Streaming E2E is required in the live main ruleset.
The full program remains in progress: #205–#212 stay open. This delivery covers headers, not object parsing, decompression, R2004+ streaming, generated grammar, browser runtime, a multi-gigabyte golden corpus or reader superiority. Next implementation priority remains container/object migration under #205, retaining the proven byte-demand/source/checkpoint contracts. The compiler waits for a measured handwritten baseline; no later stage is declared complete. #214 records the invalid canonical R2000 file-header fixture.
Activity
docs(streaming): publish measured scope and require streaming proof
feat(streaming): bounded file-header state machine, sources and check…
DrunkOnJava commentedon Oct 25, 2026
Custody handoff, October 25, 2026: Griffin passed the #213 delivery report to a Claude Code session, which now owns the next increments: #214 (canonical R2000 header CRC/sentinel) first, then the R13–R2000 flat container walk under #205. Work happens on new branches in a separate worktree;
codex/streaming-coreand its worktree are untouched. The task ledger's owner line moves in the same PR.