Skip to content

Epic: streaming-native DWG reader with portable state and enforced chunk bounds #204

Open
0 of 8 issues completed

Description

@DrunkOnJava

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

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.

Sub-issues

Sub-issues

0 of 8 Issues completed
Loading 8 sub-issues

Activity

  1. added
    type:epic
    area:container
    priority:P1
    on Oct 25, 2026
  2. DrunkOnJava commented on Oct 25, 2026

    @DrunkOnJava
    OwnerAuthor

    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-core and its worktree are untouched. The task ledger's owner line moves in the same PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:containerpriority:P1type:epic

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions