Repository navigation
fix(elements): an instance whose data copies disagree takes its current copy's transform (#227) (RE-216) - #949
Merged
Merged
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4d9d53f340
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…' opening placements and properties (#227) (RE-216)
DrunkOnJava
enabled auto-merge (squash)
October 24, 2026 22:44
… names it, so an unreadable current copy drops the instance rather than taking an older one (#227)
This was referenced Oct 24, 2026
DrunkOnJava
added a commit
that referenced
this pull request
Oct 24, 2026
…y's issue changes (#227) (#873) (#951) ## Summary Docs catch up with what landed and changed today. ## Changes - `docs/contribution-map.md`: the 0.8.0 and 1.0.0 remainders regenerated from the tracker. #227 has its new title (the releases other than 2024 and 2025), and #873, closed with S1 and S2 passed, is gone. - `ROADMAP.md`: 0.8.0's #227 remainder is the openings on releases other than 2024 and 2025. RE-216 (#949) opened Core Interior's last 8 doors. - `docs/status.md`: an RE-216 line after RE-215's, saying all 132 of Core Interior's door openings are within 0.001 ft of Revit's. ## Testing Unit tests are banned in this repository: do not add them. Show the change working end to end on real files instead. - N/A: docs only. The figures are #949's measurement (Measure 40139965684). ## Audit-honesty checklist - [x] README / docs reflect the current state after this PR - N/A: no user-visible capability change beyond #949's, which has its fragment - [x] Commit messages describe what changed and why - [x] No emojis in code, docs, or commit messages - [x] No private paths, personal email addresses, or internal jargon in committed files - N/A: not a reverse-engineering finding ## Legal and contribution hygiene - [x] Apache-2.0 - [x] No Autodesk proprietary content - [x] No fixtures ## Breaking changes None. ## Screenshots or output samples N/A.
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
A family instance whose element data sits in more than one partition, with copies whose transforms disagree, had no transform at all:
scan_instance_transformsdropped it. It now takes the copy in the partition the instance's current record is in, by the same routingnative_documentreads records with (RE-145). On Core Interior this gives Revit's opening to the 8 doors RE-215 §7 left as boxes: all 132 doors within 0.001 ft of Revit's, from 124. Part of #227; answers #548's "which copy" question for instance transforms. RE-216.Motivation
#227's remainder named 8 Core Interior doors with a cut loop but no transform read.
examples/probe_227_missing_transforms.rsfound why:Partitions/46andPartitions/59;Which copy Revit drew:
tools/re/opening_copies_vs_ifc.py(Measure 40137774555) moves Revit's opening into each copy's frame. OnlyPartitions/59puts it on the cut loop and the host's band, 0.0000 ft against 0.0833 ft.native_documentreads all 8 doors' current records fromPartitions/59(40138226998).The 8 are one stacked door, so this is one pattern confirmed eight times. The rule's broader evidence is RE-145: the route takes the latest copy on 1,518 of 1,522 differing ids.
Changes
src/native_document.rs:routed_partitions(file, ids)(crate-visible). It gives the partition each id's stored revision routes to (native_index::route_episode), using the memoised preamble.src/partition_instance_transforms.rs,scan_instance_transforms:native_documentdoes;examples/probe_227_missing_transforms.rs;tools/re/opening_copies_vs_ifc.py.reports/element-framing/RE-216-current-instance-copies.md;docs/support-matrix.json: thefamily-instance-transformsnote and evidence, andnative-symbol-cut-sizes, now 138 of 138 openings.changelog.d/fixed/current-instance-copies.md.Testing
Unit tests are banned in this repository: do not add them. Show the change working end to end on real files instead.
tools/check-local.shpasses: CI runs it. rustfmt and the let-chain scan pass locally.Verified end to end on real Revit files. Measure 40138537515, this branch against
main(c38a5b0), default models plus-f r2025=true -f nordic=true:mainopening_boxes_vs_ifc)openings_vs_ifc)type_objects_vs_ifc)Flippedtype GlobalId is Revit's.If this touches the IFC exporter: Core Interior's export gains 8 placements and 56 property values. Its two
rvt-rs.jsonobservations are refreshed from this PR'soctetproof-core-interiorartifact (CI run 40139655393, commit 45ac78b); only those counts and the observation hash change.tools/ci/witness-verdict.pyregenerates both verdicts as PASS, with all three replays matching, byte-identical to the committed ones.N/A: performance. The routing reads the memoised preamble only when an instance's copies disagree.
Audit-honesty checklist
changelog.d/examples/and a dated addendum todocs/rvt-moat-break-reconnaissance.mdLegal and contribution hygiene
Contributor declaration (CLEANROOM.md): the finding rests on byte observations of the files listed in the report and on Revit's own IFC exports of them. I have not used Autodesk SDK source, ODA SDK source, leaked internal documentation, NDA material, or decompiled internal Revit implementation code.
Breaking changes
None.
scan_instance_transformskeeps its signature; it returns more instances.Screenshots or output samples
N/A: the change is in the measured table above.