Repository navigation
docs: audit A4/RELEASE-001/DOC-001 — changelog, install honesty, 0.2.0 plan - #165
Merged
Merged
Conversation
Rewrite stale CHANGELOG Unreleased for inspection-focused post-0.1.2 reality (Finding 1, provenance, corpus, viewer confidence); document PyPI 0.1.2 vs unpublished crates.io/docs.rs 404; add release-0.2.0-plan; SHA-pin publish.yml actions (SUPPLY-001). Co-authored-by: DrunkOnJava <[email protected]>
cursor
Bot
force-pushed
the
cursor/audit-changelog-020-67f9
branch
from
August 29, 2026 20:56
460e1dc to
efe4ecf
Compare
This was referenced Aug 29, 2026
DrunkOnJava
added a commit
that referenced
this pull request
Aug 29, 2026
## Summary Land **Phase 1** of the [unified research report](docs/research/unified-research-report.md) (rev 1.1): foundational document-scoped identity, evidence tiers, ES reference occurrence contracts, observation/capability schemas, and `research/es-remap` + `tools/oracle` scaffolds. **Does not** claim ES ElementId remapping works. Phase 2 fixture generation (N1–N4, R1/R2, C1/C2, …) remains **blocked on a Revit-hosted API oracle** (unavailable on Cloud). ## Changes - `docs/research/unified-research-report.md` — governing program (H-ES5 primary; Phase 0 done → Phase 1 → Phase 2 Revit-blocked) - Rust: `identity`, `evidence`, `es_refs` modules + unit tests (scoping, serialization, no-op transitions) - Schemas: `es-observation.schema.json`, `es-capability.schema.json` (+ research mirrors) - `research/es-remap/` manifest + README; `tools/oracle/README.md` blocker checklist - Pointers in `docs/status.md` / `docs/disc-112-coordination.md` / CHANGELOG ## Honesty / hard walls - No invented Door/Window, schema-field Wall, Level ElementIds, AProperty joins - Formats/Latest strip stays disabled - ES refs outside #152 parent scoring; default IFC omits ES - Discovery = owned synthetics; production corpora = regression only ## Test plan - [x] `cargo test --release --lib identity::` (3/3) - [x] `cargo test --release --lib evidence::` (2/2) - [x] `cargo test --release --lib es_refs::` (3/3) - [x] `cargo test --release --test json_schema_contracts checked_in_schemas` - [x] `cargo fmt --all -- --check` - [x] `cargo clippy --lib -- -D warnings` ## Refs Discussion #112 coordination (doc mirror; comments often 403). Audit P0 already on main (#165–#170). Sibling #171 `source_coverage` left alone. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Adds documentation and additive public API stubs with no changes to decode, IFC export, or CLI behavior; explicit fail-closed honesty limits product-claim risk. > > **Overview** > **Phase 1** of the H-ES5 ES ElementId remapping program: foundational **types and docs** shippable without Revit, explicitly **not** claiming remapping works or adding ES byte decoders. > > Adds public Rust modules `identity` (`DocumentIdentity`, `ScopedElementRef`, `SourceSpan`), `evidence` (`EvidenceTier` E0–E5, evidence/edge ledgers with ES vs ElemTable separation), and `es_refs` (`EsReferenceOccurrence`, path segments, `FixtureTransition` / one-mutation fixture law). Registers them on the crate root in `lib.rs` with unit tests (serde round-trips). > > Introduces the governing **`docs/research/unified-research-report.md`** (rev 1.1), **`research/es-remap/`** (`manifest.yaml`, README, schema mirrors), **`tools/oracle/README.md`** (Phase 2 blocked on Revit API), and JSON schemas **`es-observation`** / **`es-capability`** (also listed in `docs/schemas/README.md` and `json_schema_contracts`). > > **Coordination docs** updated: CHANGELOG, `docs/status.md`, and `docs/disc-112-coordination.md` now point at the research program and reorder P1 so Phase 1 contracts precede Phase 2 oracle fixture work. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 79c182c55173379907fce58e06e84b7aeab677d0. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: Cursor Agent <[email protected]> Co-authored-by: DrunkOnJava <[email protected]>
DrunkOnJava
added a commit
that referenced
this pull request
Aug 31, 2026
## Summary Land **Phase 1** of the [unified research report](docs/research/unified-research-report.md) (rev 1.1): foundational document-scoped identity, evidence tiers, ES reference occurrence contracts, observation/capability schemas, and `research/es-remap` + `tools/oracle` scaffolds. **Does not** claim ES ElementId remapping works. Phase 2 fixture generation (N1–N4, R1/R2, C1/C2, …) remains **blocked on a Revit-hosted API oracle** (unavailable on Cloud). ## Changes - `docs/research/unified-research-report.md` — governing program (H-ES5 primary; Phase 0 done → Phase 1 → Phase 2 Revit-blocked) - Rust: `identity`, `evidence`, `es_refs` modules + unit tests (scoping, serialization, no-op transitions) - Schemas: `es-observation.schema.json`, `es-capability.schema.json` (+ research mirrors) - `research/es-remap/` manifest + README; `tools/oracle/README.md` blocker checklist - Pointers in `docs/status.md` / `docs/disc-112-coordination.md` / CHANGELOG ## Honesty / hard walls - No invented Door/Window, schema-field Wall, Level ElementIds, AProperty joins - Formats/Latest strip stays disabled - ES refs outside #152 parent scoring; default IFC omits ES - Discovery = owned synthetics; production corpora = regression only ## Test plan - [x] `cargo test --release --lib identity::` (3/3) - [x] `cargo test --release --lib evidence::` (2/2) - [x] `cargo test --release --lib es_refs::` (3/3) - [x] `cargo test --release --test json_schema_contracts checked_in_schemas` - [x] `cargo fmt --all -- --check` - [x] `cargo clippy --lib -- -D warnings` ## Refs Discussion #112 coordination (doc mirror; comments often 403). Audit P0 already on main (#165–#170). Sibling #171 `source_coverage` left alone. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Adds documentation and additive public API stubs with no changes to decode, IFC export, or CLI behavior; explicit fail-closed honesty limits product-claim risk. > > **Overview** > **Phase 1** of the H-ES5 ES ElementId remapping program: foundational **types and docs** shippable without Revit, explicitly **not** claiming remapping works or adding ES byte decoders. > > Adds public Rust modules `identity` (`DocumentIdentity`, `ScopedElementRef`, `SourceSpan`), `evidence` (`EvidenceTier` E0–E5, evidence/edge ledgers with ES vs ElemTable separation), and `es_refs` (`EsReferenceOccurrence`, path segments, `FixtureTransition` / one-mutation fixture law). Registers them on the crate root in `lib.rs` with unit tests (serde round-trips). > > Introduces the governing **`docs/research/unified-research-report.md`** (rev 1.1), **`research/es-remap/`** (`manifest.yaml`, README, schema mirrors), **`tools/oracle/README.md`** (Phase 2 blocked on Revit API), and JSON schemas **`es-observation`** / **`es-capability`** (also listed in `docs/schemas/README.md` and `json_schema_contracts`). > > **Coordination docs** updated: CHANGELOG, `docs/status.md`, and `docs/disc-112-coordination.md` now point at the research program and reorder P1 so Phase 1 contracts precede Phase 2 oracle fixture work. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 79c182c55173379907fce58e06e84b7aeab677d0. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: Cursor Agent <[email protected]> Co-authored-by: DrunkOnJava <[email protected]>
DrunkOnJava
pushed a commit
that referenced
this pull request
Nov 10, 2026
…c solids (#1632) ## Summary Decode a standalone Revit 2020 family's positive revolution from its saved profile, axis and angles, and export an analytic `IfcRevolvedAreaSolid` through the normal IFC command. Four fixtures are supported: REV-A, REV-B, REV-BT (line profiles, including partial and tilted sweeps) and ARC-A (full torus), confirmed by Revit's own IFC. ARC-B and ARC-BT remain research/refusal fixtures. ## Motivation Turn the RE-391 findings into bounded decoding and export coverage. The driven line/arc reader is shared with extrusions; existing project-instance and family-extrusion behavior is preserved. ## Changes - Shared sketch-curve selection and typed revolution decoding, with unsupported or ambiguous records and disconnected profile joins refused. - Analytic IFC profiles and placement, native ElementId tags and body diagnostics. - Discover RevolutionElem ids before decoding sketch graphs, avoiding unused sketch decoding and false revolution-budget notes in families without revolutions. - Pin the unchanged public fixture package and member hashes in [`research/family-revolutions-measure.tsv`](https://github.com/BIM4GIB/rvt-rs/blob/9505df6fea25a7542c01e161cdfc1aaded13577f/research/family-revolutions-measure.tsv) for the maintainer's separate Measure integration. - Native-file CLI checks, independent geometry replay, three evidence reports (RE-392–394), capability documentation and one changelog entry. ## Testing and reproduction Fixture download: [six synthetic Revit 2020 families](https://github.com/BIM4GIB/rvt-rs/releases/download/fixtures-revolutions-2020-v2/family-revolutions-revit2020-v2.zip). `family-revolutions-revit2020-v2.zip` contains six MIT-licensed synthetic RFAs, native references, a hash manifest and `REPRODUCE.md` with pinned dependencies and build commands. SHA-256: `6d68bedd29224158c2783fd66ae3072d7f4d931a68540db68856ee12587912c7`. Checked source: [9505df6fea25](BIM4GIB@9505df6). From this PR's source, after that setup: ```text python tools/oracle/runner/revolutions/verify_package.py --bin-dir target/ci --fixtures EXTRACTED_PACKAGE --output NEW_RESULTS_DIRECTORY ``` - All four replay stages pass: byte evidence, native references, compiled reader/refusal controls and actual analytic IFC export. No Revit is needed. - Four supported exports pass schema/EXPRESS, placement, closed topology and fixed 0.3048 mm sampled-distance / 0.01% volume limits and are byte-identical to the previous head. ARC-B and ARC-BT export no body and record an explicit partial-arc refusal. - Required local gates pass, including 302 integration checks with both fixture folders configured, 27 doc tests and 15 MCP checks. - Supplementary regression: 23 existing files / 46 default and `--family-extrusions` exports are byte-identical. Those sample models are not dependencies of the six-fixture replay. - Hosted CI and the required full Measure/witness comparison remain pending; no witness verdicts have been refreshed. Performance benchmark: N/A. ## Scope and known limitations One visible positive revolution, one closed convex profile clear of the axis, in a standalone 2020 family. Project instances, combined forms, voids, mixed line/arc profiles and other releases have no new measured coverage. Mapped-type quality modes still refuse the unclassified body. Profiles containing arcs are exported only for a full turn. The captured native IFC for ARC-B disagrees and ARC-BT times out, so neither is exported. Their native face/projection captures remain research leads, not export confirmation. Surface checks are sampled, not whole-surface proofs. ## Audit-honesty checklist - [x] README, status/support matrix, dated evidence and changelog reflect the final behavior and its limits. - [x] Fixture cleanup was checked by native save/reopen with unchanged geometry; file hashes and byte offsets describe the cleaned archive. - [x] No private paths, personal emails, installed sample models or private journal/launch orchestration are included. ## Legal and contribution hygiene - [x] Code is licensable under Apache-2.0; authored fixture data is MIT. - [x] Sources are synthetic file bytes, existing clean-room readers, public API authoring/oracles and IFC specifications. No proprietary implementation, decompiled internals, ODA source or NDA material was used. ## Breaking changes None to stable APIs or CLI. The research API remains behind `unstable-research`. ## Output sample From the 9,051-byte ARC-A export; two profile arcs and a full analytic turn: ```step #165=IFCINDEXEDPOLYCURVE(#164,(IFCARCINDEX((1,2,3)),IFCARCINDEX((3,4,1))),.F.); #163=IFCARBITRARYCLOSEDPROFILEDEF(.AREA.,$,#165); #166=IFCREVOLVEDAREASOLID(#163,#157,#160,6.283185307179586); ``` ## Related issues Refs #156 and Discussion #393; follows RE-391 / PR #1628. Credit STE1200's team for the sketch-to-solid approach described in Discussion #112.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes unified audit A4 / RELEASE-001 / DOC-001 (+ optional A6 / SUPPLY-001 publish pins).
CHANGELOG.md[Unreleased]for inspection-focused post-0.1.2reality (Finding 1 / RE: Reproduce checksum-paged stream decompression and silent corruption #151, provenance M3-07, corpus, viewer confidence, narrow partition MVP). Explicitly not a converter release track.rvt==0.1.2published; crates.io cratervtdoes not exist (verified API); docs.rs 404 until publish.Cargo.tomldocumentationpoints at the repo README until then.docs/release-0.2.0-plan.mddefining 0.2.0 as inspection-focused alpha with experimental export..github/workflows/publish.ymlactions with Dependabot-friendly version comments; refresh supply-chain policy table.Test plan
curl -sI https://docs.rs/rvt→ 404crate \rvt` does not exist`0.1.2publish.ymlYAML parsesNotes
No crates.io publication invented. Tag
v0.1.2exists historically; Rust registry upload has not landed.Note
Low Risk
Documentation and CI action pinning only; no runtime parser or publish credential changes beyond pinning known action SHAs.
Overview
Aligns release and install documentation with verified publication state: PyPI
rvt==0.1.2is live; the Rust cratervtis not on crates.io (docs.rs 404).Cargo.tomldocumentationnow points at the repo README instead of docs.rs; install, python, launch,rvt-py/README, release checklist, and roadmap call out source builds for Rust CLIs and avoid claiming crates.io/docs.rs until publish succeeds.Rewrites
CHANGELOG.md[Unreleased]into a shorter inspection-focused narrative toward 0.2.0 (Finding 1, provenance/confidence, partition MVP, corpus, viewer honesty) and drops stale overlong / converter-style notes. Addsdocs/release-0.2.0-plan.mddefining 0.2.0 as an inspection alpha with experimental export, plus exit criteria and publication order (crates.io before PyPI when possible).Supply chain:
.github/workflows/publish.ymlSHA-pins checkout, setup-python/node, maturin-action, artifact upload/download, and PyPI publish actions with version comments;docs/supply-chain-policy.mdexception table updated to match.Reviewed by Cursor Bugbot for commit eddcf94199640b998264697949146df19b36ee7e. Configure here.