You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Canonical R2000 fixture omits the required file-header CRC and sentinel #214
area:corpusSample files, their provenance and coveragearea:writerWriting DWGpriority:P1On the path of the current milestonetype:bugSomething reads, writes or reports wrongly
Confirmed while implementing the strict streaming header core (#205), at base ece6adf. tests/fixtures/canonical/synthetic_2000.dwg has three locators, then a stored CRC of 0000 (spec calculation gives 7813) and sixteen zero bytes where ODA v5.4.1 §3.2.6 requires the file-header end sentinel. examples/build_fixtures.rs::build_flat_fixture writes the locator table into a zeroed buffer but never emits those fields. The legacy reader accepts it because it does not check them. This synthetic self-roundtrip must not be called a valid header oracle.
Acceptance:
Correct the generating entry point, regenerate deterministically, and verify the strict streaming header on the generated artifact.
Preserve the 5 known entities and existing object offsets/counts, with real entry-point proof.
CI detects generator drift and validates header integrity.
Keep separate the remaining placeholder sections/object CRCs and AutoCAD openability; correcting the file header does not validate the whole drawing.
Related corpus work: #94/#211. Discovered evidence is recorded in docs/streaming/task-ledger.md on codex/streaming-core.
area:corpusSample files, their provenance and coveragearea:writerWriting DWGpriority:P1On the path of the current milestonetype:bugSomething reads, writes or reports wrongly
Activity
fix(fixtures): write the R2000 file-header CRC and end sentinel