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
Formats/Latest: classify the residual field encodings and Revit 2027's flagged runtime-state fields from byte evidence #1196
area:readerWork in the reader area.priority:P3Useful follow-up work after core milestones land.type:researchReverse engineering, discovery, or design investigation.
Formats/Latest, the schema every Revit file embeds, is read whole, and every field's encoding is classified into a FieldType. This is checked in CI on the 12-release family corpus (tests/field_type_coverage.rs), except for 9 to 12 named residual fields per release. Revit 2027 also lists 325 runtime-state fields with byte 2 of their header set (FieldType::Flagged); the walker reads these as Unknown because their instance bytes are not measured (RE-264).
Done when
Each residual field's encoding is classified from byte evidence in the corpus and removed from RESIDUAL. The 2027 flagged fields' instance bytes are measured where they occur. The coverage gate stays at 100% of the remainder; it is never loosened to make this pass.
Where to start
src/formats.rs, the RESIDUAL list in tests/field_type_coverage.rs, and RE-264. A probe under probes/examples/ that prints each residual field's bytes across releases is a good first step. CLEANROOM.md says what evidence is allowed.
Closed 2026-11-05 as a measured negative (Griffin, 2026-11-05). 11 of the 14 residual names are classified and Revit 2027's flagged fields hold no instance bytes (RE-323, #1309, #1315). The last 3 have no bytes to read: ClassDefinitionRef::m_ref has no instance in any sample project or family, VarParam::m_pSubst has 31,705 instances in the 2015 to 2017 sample projects, every one a null pointer, and VarSketchObj::m_dimValue has none. They stay named in RESIDUAL with that reason (tests/field_type_coverage.rs) and the gate stays at 100% of the rest. A file that holds a real value for one reopens this.
area:readerWork in the reader area.priority:P3Useful follow-up work after core milestones land.type:researchReverse engineering, discovery, or design investigation.
Activity
chore(probes): RE-323 checks each residual field's instances against …
feat(formats)!: classify the pointer arrays, pointer containers and f…
test(formats): hold the schema to the exact grammar's class names, an…
docs(formats): the residual fields are three per release, not nine to…
docs(reports): RE-323, the residual Formats/Latest field encodings an…
docs(reports): RE-323 section 8, the identity Measure moved no export…
feat(formats)!: classify the residual Formats/Latest field encodings,…
fix(formats): a char field is 1 byte and a short field 2, not 2 and 4 (…
docs(formats): RE-325 records the identity run and its scope, and the…
fix(formats): a char field is 1 byte and a short field 2, not 2 and 4 (…
chore(release): prepare v0.14.0 (#1345)