Skip to content

docs(re-30): the class-A ElementId is in the frame's reference list (#295) - #297

Merged
DrunkOnJava merged 5 commits into
mainfrom
docs/re-30-oracle
Sep 22, 2026
Merged

DrunkOnJava merged 5 commits into
mainfrom
docs/re-30-oracle

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Sep 22, 2026 •

Copy link
Copy Markdown
Owner

Summary

RE-30 addendum (§7). With an oracle, a class-A element frame turns out not to lack its ElementId: the id is one slot of the frame's own reference list. Docs only; the decode stays fail-closed.

Evidence

  • Oracle: bldrs-ai/test-models holds the Snowdon Towers architectural .rvt, byte-identical to ours (sha256 33271010…), next to its Revit 2024 IFC4 export (sha256 ecfcb04e…, Autodesk Revit 24.0.20.20 - IFC 24.0.20.20). That repository has no licence, so the file is used locally for measurement and never committed.
  • Transform: internal to shared coordinates is a rotation plus a translation, fitted on the five decodable walls and validated by the match rate below.
  • Matching: 1,077 of 1,216 class-A wall frames match exactly one IfcWall by box (26 ambiguous, 113 none).
  • Location: in 1,044 of the 1,077 (97 %), the matched ElementId is a slot of the frame's own ascending reference list at +0x88, and nowhere else nearby. The "own id is the last slot" rule on decodable records is the case where the element is the newest id in its list.
  • Ruled out as the slot selector:
    • Global/ElemTable row fields: best 388 of 1,028, rarely unique within a list;
    • u16 words as row indices: 0 hits;
    • a context-id frequency rule: at most 196 of 1,044.

Audit-honesty checklist

  • Report states measured counts, the oracle's provenance and licence limit, and what is not solved
  • No capability claim changes: nothing new is emitted
  • No emojis; no private paths; the oracle file is not committed

Refs #295.


Note

Low Risk
Documentation-only updates to a research report; no code paths, exports, or capability claims change.

Overview
RE-30 report addendum (§7) documents new measurement after an oracle appeared: a byte-identical Snowdon architectural .rvt paired with a Revit 2024 IFC4 export whose Tag fields carry ElementIds (sourced from bldrs-ai/test-models, measurement-only / not committed).

The write-up narrows the reference scope at the top: §1–§6 still have no element-for-element reference; §7 relies on that IFC export. It describes fitting internal record boxes to IFC world boxes, matching 1,077 of 1,216 class-A wall frames to distinct IfcWall tags, and finding that in 97% of matches the true id is one slot of the frame’s own ascending reference list at +0x88—not absent, and “last slot” is only when the element is the newest id in the list. Three candidate slot-selection rules are ruled out with counts; the doc states the decode stays fail-closed until a byte rule is measured, with work tracked in #295.

Reviewed by Cursor Bugbot for commit 414b011. Configure here.

Edited 2026-11-15: absolute Snowdon Towers figures (positions, elevations, areas) are removed. The Snowdon files measured here have no licence, so only counts, lengths and differences from them are published.

…295)

A Revit 2024 IFC4 export of the identical Snowdon Towers architectural
file (bldrs-ai/test-models, sha256 ecfcb04e..., used locally only) gives
an oracle. After fitting the internal-to-shared transform (26.0156 deg),
1,077 of 1,216 class-A wall frames match exactly one IfcWall by box, and
in 1,044 of them the matched ElementId is a slot of the frame's own
ascending reference list. The last-slot rule on decodable records is the
case where the element is the newest id in its list. Three selectors for
the slot are ruled out; the decode stays fail-closed.
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) September 22, 2026 22:05
@cursor

cursor Bot commented Sep 22, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_875152eb-69c1-4569-b699-d5a91bb991b7)

@DrunkOnJava
DrunkOnJava merged commit 8209287 into main Sep 22, 2026
20 checks passed
@DrunkOnJava
DrunkOnJava deleted the docs/re-30-oracle branch September 22, 2026 22:10
@DrunkOnJava DrunkOnJava mentioned this pull request Sep 22, 2026
2 of 3 tasks
DrunkOnJava added a commit that referenced this pull request Sep 22, 2026
## Summary

Prepare the v0.2.0 release: the inspection-focused alpha described in
`docs/release-0.2.0-plan.md`. It ships PyPI wheels, prebuilt CLI
archives for 5 platforms and the multi-arch container image. **crates.io
is not part of this release:** no `CARGO_REGISTRY_TOKEN` is configured,
and publishing is deferred. Merging this PR is **not** the release.
Nothing is published until the draft v0.2.0 GitHub Release (archives
attached from a tagged-name `workflow_dispatch` run) is published, which
creates the tag and runs `publish.yml`. Until then the docs on `main`
say 0.2.0 is prepared and not yet published.

## Changes

- Versions: `rvt` and `rvt-py` go to 0.2.0, along with the
`stream_evidence` pin, both lockfiles and
`.release-please-manifest.json`.
- `CHANGELOG.md`: `[Unreleased]` is promoted to `[0.2.0] — 2026-09-22`,
with an empty `[Unreleased]` stub.
- `publish.yml`: when `CARGO_REGISTRY_TOKEN` is not configured, the
crates.io job now logs a warning and exits successfully, so PyPI and the
release binaries still ship. A crate the registry rejects still fails
the job and blocks PyPI, which keeps the protection against publishing
mismatched Rust and Python versions.
- `docs/install.md`: the publication table keeps PyPI at 0.1.2 and marks
the 0.2.0 archives and the container image **not yet published**.
crates.io and docs.rs stay marked **not published**.
- `release-binaries.yml`: a `workflow_dispatch` `tag` input names
archives for a release without uploading, which is used to stage the
draft.
- `docs/release-0.2.0-plan.md` and the CHANGELOG heading: prepared, not
yet released.

## Testing

- [x] `cargo publish --dry-run -p rvt`: packages and verifies 482 files
(1.7 MiB)
- [x] Full local gate on the constituent PRs (#289–#297); this PR only
bumps versions and changes docs and workflow configuration
- [ ] CI on this PR

## Follow-up

crates.io and docs.rs: add a crates.io API token as the repo secret
`CARGO_REGISTRY_TOKEN`, then publish `rvt` 0.2.0 (or 0.2.1), and update
`docs/install.md`.

## Breaking changes

`ElemRecord` gained `owner_id` (#294); a struct literal of it now needs
that field.
DrunkOnJava added a commit that referenced this pull request Nov 15, 2026
…nces, never as positions, elevations, areas or volumes (#2066)

## Summary

The Snowdon Towers files the reports measure on (the `.rvt` and Revit's
IFC4 export from bldrs-ai/test-models, and the VIM edition) carry no
licence, so only counts, lengths and differences from them are
published. A sweep of the tree found absolute Snowdon figures in 28
files. Each is rewritten to the difference or length it stood for, or
dropped. Griffin chose the full cleanup: the repository here, and the
GitHub posts and release notes alongside it.

## Changes

- **Site transform** (rotation, translation, vertical shift):
`docs/reference-models.md`, RE-30, RE-52, RE-78, RE-83, and the export
note in `research/witness-registry.json`.
- **Room areas** (830902; 2181757's floor and sections; a record box):
`CHANGELOG.md`, `docs/status.md`, `docs/rooms.md`,
`docs/format-reconnaissance.md`, RE-374, and the rustdoc of
`ROOM_PRISM_HEIGHT_FEET` and the `stored_solid_edges` source.
- **Elevations and positions**: RE-33, RE-48, RE-49, RE-51, RE-52,
RE-59, RE-100, RE-101 and `probe_re99_shaft_openings`'s module doc.
Where a length or difference carries the point, it is given instead:
76.75 ft tall, 87.7 ft above the floor, 0.754 ft lower, 2.0 ft above it,
180 by 228 ft.
- **Volumes and areas**: a flight's volume (RE-47), a beam's section
area (RE-423, now a ratio of 0.58), and the #331 slab pieces' areas
(`CHANGELOG.md`).
- **Second pass** (`1893090c`, `f4856542`): this one read each table and
paragraph whose heading or neighbour names Snowdon, not only the lines
that do. It found:
  - two rooms' areas (RE-101);
- a door's positions across its wall in internal feet (RE-121, now
measured from the wall's face);
- four roofs' volumes against Revit's (RE-401, now the percentage over);
  - wall 1996082's tops (RE-383, now differences);
  - beam 627866's direction (RE-49, dropped).
  RE-383 and RE-49 are from rvtReview's read.

## Testing

Docs and doc comments only; no output changes.
- `git grep` finds none of the figures left.
- `research/witness-registry.json` still parses, and nothing hashes its
text.
- `tools/ci/api-doc-ids.py` passes.
- The two `src/` files change in `///` comments only, so arm with
`--no-gates "src/ changes are doc comments only; no output moves"`.

Outside the tree, done the same day:
- Ten posts are rewritten the same way, each with a dated edit note: PR
#1587's, #297's, #332's and #336's bodies, issue #331's and #309's
bodies, and comments on #1589, #295, #1165 and #1732.
- Their earlier revisions are being deleted from GitHub's edit history.
- The v0.17.0 release notes are fixed (release notes keep no public
history).

What cannot be withdrawn:
- the git history of `main`, which is not rewritten;
- the rustdoc of crate versions already published to docs.rs;
- notification emails already sent;
- GH Archive's copy of each post as first written.

## Audit-honesty checklist

- [x] No figure that a claim rests on is lost: every agreement is kept
as its difference or tolerance.

## Legal and contribution hygiene

- [x] Apache-2.0. Removes figures measured on unlicensed third-party
files.

## Breaking changes

None.

https://claude.ai/code/session_01TFTgj3Ddfs7cFGMNAgVAut
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant