Repository navigation
feat(formats)!: Revit 2027 in the family corpus, with the flagged field encodings its schema adds (RE-264) - #1092
Merged
Merged
Conversation
phi-ag/rvt added racbasicsamplefamily-2027.rfa on 2026-10-18 (bec25470, the same bytes as Autodesk's host, sha256 2df5452e...). The fetch pin moves to that commit, ALL_YEARS gains 2027, and the support matrix's 2027 row cites the family capabilities the corpus now measures.
…evit 2027 adds (#1092) (RE-264)
…and map 2027 to Partitions/70 (#1092) (RE-264) Revit 2027's schema lists 325 fields no 2016 to 2026 schema lists, each with byte 2 of its type header set to 0x02, 0x12 or 0x22; with that byte cleared every one decodes as a known encoding (77 bool, 43 u32, 79 reference containers, 34 pointers and so on, Measure run 40949596730). FieldType::Flagged keeps the flag and the base type; readers treat it as Unknown until its instance bytes are measured. The schema-table JSON schema gains the variant.
…s its schema adds (#1092) (RE-264)
DrunkOnJava
force-pushed
the
feat/family-corpus-2027
branch
from
October 29, 2026 20:43
b3c1699 to
f8dd53d
Compare
2 tasks done
DrunkOnJava
marked this pull request as ready for review
October 29, 2026 21:04
DrunkOnJava
enabled auto-merge (squash)
October 29, 2026 21:04
Merged
14 of 15 tasks
DrunkOnJava
added a commit
that referenced
this pull request
Oct 30, 2026
… the years they iterate (#1092)
4 tasks done
DrunkOnJava
added a commit
that referenced
this pull request
Oct 30, 2026
…o 2027 (#1092) (#1123) ## Summary The crates.io and PyPI descriptions and the crate root's rustdoc still named 2016 to 2026 as the releases whose metadata, previews and schema rvt-rs reads. The 2027 sample family has been in the measured corpus since #1092. ## Motivation Found in a repository audit (2026-10-30). `docs/status.md` ("opens every Revit file from 2016 to 2027 and reads its metadata, previews and embedded schema") and the support matrix's 2027 row (`metadata-partatom-preview` and `formats-latest-schema`, both `verified`) already say 2016 to 2027; the package metadata and docs.rs front page lagged. ## Changes - `Cargo.toml` and `pyproject.toml` descriptions: `2016-2026 files` becomes `2016-2027 files`. The rest of each description (which releases' elements are partial or experimental) is unchanged. - `src/lib.rs` crate doc: `from 2016 to 2026` becomes `from 2016 to 2027`. - Module docs of `tests/elem_table_frame.rs`, `tests/native_partitions_walk.rs` and `tests/schema_registry_catalogs.rs`, which iterate `common::ALL_YEARS` (2016 to 2027). - `changelog.d/fixed/release-range-2027.md`. ## Testing N/A for output: text only. `python3 tools/release/changelog.py check` passes. No test pins these strings (`git grep` over `tests/`, `tools/` and `.github/`). ## Audit-honesty checklist - [x] The new wording is what `docs/status.md` and `docs/support-matrix.json` already state - [x] Changelog fragment under `changelog.d/fixed/` - [x] No emojis, private paths or internal jargon ## Legal and contribution hygiene - [x] Apache-2.0; no Autodesk material ## Breaking changes None. ## Related issues Refs #1092.
8 of 15 tasks
DrunkOnJava
added a commit
that referenced
this pull request
Nov 5, 2026
…kflows and widen the PII guard (#1457) (#1462) ## Summary Gates and schedule, part 1 of 2 for #1457: every job that runs steps is time-bounded, the PII guard reads capitalised paths, every runner is a pinned image, the workflows are linted with actionlint and shellcheck, and a script holds the values that must agree across files and fails on any job that lacks a limit. The scheduled checks (part 2) are #1463. ## Motivation #1457 found most jobs with no `timeout-minutes` (the default is 360), a PII guard whose patterns start with `[a-z]` and which skips every workflow file, `-latest` runner labels that move without a commit, stale text in two workflow descriptions and four issue forms, and nothing that checks a workflow before it runs. By the count of `tools/ci/check-workflows.py` 53 jobs ran steps on the day I started (54 now, with `claude.yml`) and 8 had a timeout. ## Changes - PII guard (`ci.yml`): `/Users/`, `/home/` and `C:\Users\` take a user name beginning with either case, a Windows profile folder may hold spaces, and only `ci.yml` (which defines the patterns) is left out of the scan instead of every workflow. A `git grep` that fails (status above 1, such as a pattern that does not compile) now fails the step; it used to read as clean. The patterns are otherwise as they were. - Timeouts on every job that runs steps: 45 jobs gain one (`ci.yml` 20, `publish.yml` 9, `release-binaries.yml` 4, `measure.yml` 3, `fuzz.yml` 3, and `codeql.yml`, `deploy-viewer.yml`, `corpus-nightly.yml`, `perf-budget.yml`, `scorecard.yml`, `zizmor.yml` 1 each). Each is at least 3 times the longest run of that job among the last 96 runs on main and 29 pull-request runs (100 runs of `ci.yml` for the wheel job); the release jobs, which must not die on their limit, are at least 5 times the longest of their last 9 runs (`publish.yml` 20 to 90 minutes, `release-binaries.yml` 20 to 100; `publish-testpypi` was skipped in all 9 runs, so it has no duration and takes the 20 of the other upload jobs). `fuzz`'s limit is an expression: 40 minutes on the default 300 s budget (10 to 13 minutes seen), 360 when a manual run sets another duration. IfcOpenShell has 70: 3.1 times the 22.9 minutes it once took (a slow runner, every step slow) and 17 times its median of 4.0. - Corpus health has 180 minutes. A host that drops packets holds the BIM4LCA and R2025 fetches to their own retries, which end as NOT MEASURED, a warning: BIM4LCA tries two URLs, each five tries of 300 s with 150 s of pauses, 55 minutes; R2025 downloads three archives, and two at their 900 s limit followed by a third refused on four tries of 900 s is 90 minutes; the rest of the job is about 10: 155 in all, and the limit sits above that so a dead host never becomes a red timeout. (The RE1 fetch, `fetch-re1` since #1461, is a red failure, not NOT MEASURED, and is cut off at 15 minutes by its own `timeout 900`: 170 in all.) - `tools/ci/check-workflows.py`, run by `env config lint`, with failure-first tests in `tools/ci/test_check_workflows.py`: it fails on - a job that runs steps without a timeout (a job that calls a workflow is left out); - a `-latest` runner label; - an MSRV that differs between `Cargo.toml`, the two test matrix strings, the other crates (`rvt-mcp` at 1.88 is named as deliberate) and the prose that states it (`README.md`, `CONTRIBUTING.md`, `.cursor/install.sh`, `AGENTS.md`, `docs/python.md`, `RELEASE.md` and `docs/install.md`, which also says the MCP server needs 1.88: that sentence is read against `rvt-mcp`'s own `rust-version`, and an install page whose MCP wording cannot be read fails instead of passing unread); - a documentation-only path list that differs between `ci.yml`'s `paths-ignore`, `viewer-paths` and Deploy viewer's wait step (`viewer-paths` adds `docs/viewer-demos.json` and `docs/support-matrix.json`, named as deliberate; the check reads the wait step's script from a local action too, which #1460 introduces); - a `uses: $/.github/...` or `./.github/...` that names no file, or whose `with:` names an input the target does not declare or leaves out one it requires. actionlint does not know the `$/` form, so `.github/actionlint.yaml` ignores that message and this check stands in for what actionlint would have checked. `PENDING`, the list of jobs another change still edits, is empty. PyYAML joins `requirements-test.txt` with its hashes; its block was spliced in beside the others, and the `uv pip compile` command at the top of the file now produces a fuller file (universal markers for Python before 3.11, `colorama`, `exceptiongroup`, `tomli`, a split `rpds-py`) than the committed one, so a later regeneration will differ in more than PyYAML. CI installs it with `--require-hashes` on Python 3.12. - actionlint 1.7.12 and shellcheck 0.11.0 (the latter through `taiki-e/install-action`, which has no actionlint; the actionlint tarball is checked against the sha256 of its release) in `env config lint`. `.github/actionlint.yaml` ignores exactly the two messages about the `$/` form, whole-message and only for a `$/.github/` target. - Runner pins: every Windows leg runs on `windows-2025-vs2026` and every macOS leg on `macos-26` (the test job, the wheel job, `publish.yml`, `release-binaries.yml`), the images `windows-latest` and `macos-latest` resolved to on 2026-11-05 (actions/runner-images' README lists these labels for them). A pinned label retires eventually: GitHub announces the date in actions/runner-images and runs brownouts first, and after it a job on the label has no runner to pick it up. Moving to the next image is a deliberate edit, as for `ubuntu-24.04` (the comment at `jobs:` in `ci.yml` says so). - Stale text: the `fast` input's description and `ci-pr.yml`'s comment name `corpus-mcp`; the `test` job's header states the unit-test rule as it is; the three issue forms list Revit 2027 down to 2015; `re_finding.yml` links the corpus intake page by its full URL. ## Merged with the other pull requests #1460 (release preflight) and #1461 (wheels without LTO, CodeQL, one RE1 pin list, retried SARIF uploads) are on `main` and merged into this branch. #1460: two textual conflicts, both small (`release-binaries.yml`: the x86_64 macOS entry, mine `macos-26` against its `macos-latest` with `smoke: true` and `rosetta: true`; `publish.yml`: `validate-wheel-install`'s `timeout-minutes` against its `needs: [preflight, build-wheels]`), resolved by taking both. #1461: one conflict, `ci.yml`'s python-wheel job (my pinned `os:` labels beside its no-LTO `env` block), both kept. Two jobs it added had no timeout, and `check-workflows.py` found them: `scorecard.yml`'s `upload-retry` and `zizmor.yml`'s `zizmor-retry` now have 15 minutes, as the jobs they retry do. `PENDING` is empty. #1463 (scheduled checks) is on `main` too and merged: one conflict, `fuzz.yml`'s fuzz job (my timeout expression beside its `actions: read` permissions block), both kept, and the new `scheduled-checks.yml` and `report-failure.yml` already carry timeouts and pinned labels. On the merged tree `check-workflows.py` finds 65 jobs in 17 workflows, 31 local references, 0 errors and 0 warnings, and actionlint exits 0. The RE1 fetch in Corpus health is now `fetch-re1`: each `curl` has `--connect-timeout 20 --speed-limit 1024 --speed-time 60` (a transfer under 1 kB/s for 60 s is abandoned, three tries per host) and the step runs under `timeout 900`, so a stall there is bounded at 15 minutes instead of by the job's limit. The Corpus health arithmetic is 55 + 90 + 10 + 15 = 170 minutes under the limit of 180, and the comment says so. The `publish.yml` wheel comment said it mirrors the CI wheel, which is now a smoke build without LTO, and now says what differs. ## 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.sh` passes (fmt, clippy, rustdoc, build, real-file / CLI / contract checks). N/A: CI-only change; no local compute on this lane, CI is the build. - [ ] Verified end to end on real Revit files. N/A: no Rust or reader change. - [ ] If this touches the IFC exporter. N/A. - [ ] If this is a performance change. N/A. What was run: - `actionlint .github/workflows/*.yml` on `main`: 22 messages (16 `[action]`, 6 `[workflow-call]`, all the `$/` form, no shellcheck finding); with `.github/actionlint.yaml` exit 0. In a scratch copy `uses: foo/bar`, `uses: $/other`, `uses: $/.github/actions/with space` and `uses: other/repo/.github/workflows/x.yml` are still reported, and so is a shellcheck finding in a `run:` script. - `python3 tools/ci/check-workflows.py` on this head: 0 errors, 0 warnings; 65 jobs run steps in 17 workflows, 31 local references, 8 crates and 7 prose files for the MSRV (the head merged with #1463). - `python3 tools/ci/test_check_workflows.py`: 81 tests of the pure comparisons. Of 33 mutations of the script every one makes a test fail (one that did not, a `uses` branch shadowed by an absent `steps`, now has a test that observes it), and of 10 more of the two-valued prose check nine do; the tenth is the line in `main()` that reports an `rvt-mcp` with no `rust-version`, which the prose check reports anyway. - Two stale prose statements planted in the working tree (`RELEASE.md`'s `MSRV 1.86`, `docs/install.md`'s `needs Rust 1.89 or later`): `check-workflows.py` exits 1 with one error for each (`RELEASE.md: states Rust 1.86, Cargo.toml's rust-version is '1.87'`; `docs/install.md: says the MCP server needs Rust 1.89, rvt-mcp/Cargo.toml's rust-version is '1.88'`), and 0 errors after both were put back. - On local scratch commits, never pushed: two typos in local references (`$/.github/actions/fetch-re1x`, `$/.github/workflows/nothere.yml`): actionlint exits 0, `check-workflows.py` reports 4 errors, one per use; a stale README MSRV (`MSRV 1.86`) and `publish.yml`'s `build-sdist` without a timeout: both reported, and earlier the `fmt` job without a timeout, MSRV 1.86 in the fast matrix string, `CITATION.cff` dropped from `paths-ignore` and `fmt` on `ubuntu-latest`, each reported. - The PII guard, the step's own script extracted from `ci.yml` and run with `bash` on local scratch commits that were never pushed (a fake capitalised user name was planted: a file holding `/Users/<Name>/`, `/home/<Name>/` and `C:\Users\<Name With Space>\` paths): - `main`'s step on the planted commit: `PII guard: clean.` - this branch's step on the same commit: exit 1, the three patterns each matched with the file and line. - a planted path in `zizmor.yml`, a workflow other than `ci.yml`: `main`'s step is clean, this branch's exits 1. - the plants removed: `PII guard: clean.` - a pattern that does not compile: `main`'s step prints `clean.`, this branch's exits 1 with `git grep failed (status 128)`. - Hashed install of `tools/ci/requirements-test.txt` on Python 3.12 (uv, `--require-hashes`) succeeds with PyYAML 6.0.3. - On GitHub's runners at the first push (head `cdd2c731`, run 42076073074, a draft, so the fast set): `fast / env config lint` passed in 44 s with every new step (shellcheck 0.11.0 and actionlint installs and runs, the tests, `check-workflows.py`), as did `fast / PII guard`, `fast / cargo fmt`, the Ubuntu MSRV build and zizmor; Measure's `plan`, shards, `same-project gates` and `compare` ran on the changed `measure.yml` and passed. 22 checks passed, none failed, 17 were skipped by the draft's fast set. The CI run of the current head is read by the main session. Not measured: the Windows and macOS legs on `windows-2025-vs2026` and `macos-26` (a draft does not run them; the full set will); the release workflows' new timeouts and labels (they run at a tag); every new timeout's headroom on a cold Rust cache (no run in the 96-run window rebuilt the dependencies from nothing); a cold clone of the family corpus under `test`'s 40 minutes (every run in the window restored it from the cache; on main's first run after #1092 moved its pin, run 40957121621, the fetch step took 2 s on Linux and 10 s on Windows, and the job's steps do not say whether that run restored or cloned); and Scorecard with a `timeout-minutes` on its job (the published restrictions on the job list env, defaults, containers, runners and approved steps, not a timeout, but the first Scorecard run after the merge should still say its results were published). ## Audit-honesty checklist - [x] README / docs reflect the current state after this PR (no user-visible capability changes) - [ ] A user-visible change has its entry as a fragment under `changelog.d/<section>/`. N/A: CI only, as agreed for #1457. - [ ] If a limitation was resolved, the "Known limitations" / "What works today" section is updated. N/A. - [x] If a new limitation was introduced, it is documented in the PR body (none). - [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 (the planted paths of the proof were on local scratch commits only) - [ ] Reverse-engineering finding. N/A. ## Legal and contribution hygiene - [x] I agree this work is licensable under Apache-2.0 - [x] This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content - [x] Any new test fixtures use synthetic values ## Breaking changes None. The Windows, macOS and wheel job names carry the new labels (`build + real files / windows-2025-vs2026 / stable`, `Python wheel / macos-26`); the required check is `full / CI passed`, and nothing in the repository reads the old names. ## Screenshots or output samples See Testing. ## Related issues Refs #1457
9 tasks done
DrunkOnJava
added a commit
that referenced
this pull request
Nov 21, 2026
… later work changed: corner mullions, the T and U roof, ceiling GrossArea, RE1 Plumbing's tank, ducts, shafts after 2024, BIMcollab's air terminals, rac_advanced's Areas and the candidates (#2129) ## Summary Three pages said things later work has changed. Each sentence now says what `main` does, worded from the report or test that changed it. No code, export or `diagnostics.json` changes. - **`docs/evidence.md`:** - Revit 2027: the 79 curtain members of `rac_advanced` carry `IsExternal` since RE-449, and 74 of its 79 corner mullions are back in their curtain wall. Before, all 79 were in none. - Walls: both ends are Revit's on 516 of the office's 607 walls as built and 439 of 589 at permit, the figure the 1.0 criteria page gives from Measure run 42530216655 at `1e2d3de4`. Run 44883137004 on `main` at `166f945b` gives the same; 510 and 430 were RE-322's. - Roofs: the U roof of `20_T_U_Roof` is drawn from its saved mesh since RE-389. It no longer stays its record box. The roof reader still does not decode hip roofs over a T or U footprint (#884 is open), so the pages that list them as not decoded stand. - Ceilings' `GrossArea`: RE-297's rule now covers a ceiling in one piece. RE-465 covers a ceiling in pieces, and RE-480 and RE-486 a ceiling still without one. - RE1 Plumbing's water closet tank has been left out since RE-363 (0.16.0). The sentence citing the older run says so. - The box list names oval ducts, not ducts (RE-371), and says flex ducts are not written and that Revit's export measures ducts on 2025 only. - **`docs/compatibility.md`:** - The 76 files of run 39367864281 (2026-10-20) held the family corpus of 2016 to 2026; 2027 joined it on 2026-10-29 (#1092). The page said 2014 to 2026. - Ducts are swept along their line on 2015 to 2027 (RE-371), measured against Revit's export on 2025 and held to the same samples' 2024 saves on 2015, 2019, 2026 and 2027. Fittings are drawn from their saved mesh from 2023 where it decodes whole. - On 2026 and 2027 no shaft opening is cut (RE-345). The page had said they were. - **`docs/reference-models.md`:** - BIMcollab's example writes nothing Revit's export lacks since RE-372. - All 25 Areas of `rac_advanced`'s 2015 to 2020 state are within 0.1% and 0.01 ft (RE-333 §8). - The candidates section says the two projects have been measured (RE-124, RE-140), as its own table already did. Its heading no longer says "not yet measured", and nothing links to the old anchor. - The samples section names the racadv export as the one Revit export that reaches a run. ## Motivation A read of the public pages against `main` at `166f945b`. Each finding was re-read against its report or test before any text changed. ## Changes - `docs/evidence.md`, `docs/compatibility.md`, `docs/reference-models.md`: the sentences above, nothing else. ## Testing Unit tests are banned in this repository: do not add them. - [x] `python3 tools/ci/measured_numbers.py` passes with the same counts as on `main` (287 of 305 numbers name a model, 9 marked as no measurement). - [x] `tools/ci/api-doc-ids.py` (RE-297, RE-345, RE-363, RE-371, RE-372, RE-389, RE-449, RE-465, RE-480 and RE-486 each have a report) and `tools/ci/readme-matrix.py` pass. - [x] No Measure run: no code changes. ## Audit-honesty checklist - [x] Each changed sentence agrees with the report or test it names. - [x] No changelog fragment: a documentation correction. - [x] No emojis, private paths or internal jargon. ## Legal and contribution hygiene - [x] Apache-2.0. - [x] No Autodesk proprietary content. - [x] No fixtures. ## Breaking changes None. Review: rvtReview, the maintainer session, wrote this change. As rvtDevelop is not running, it re-reads the diff and approves the change itself on a green head (Griffin, 2026-11-12).
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
Adds Autodesk's 2027 sample family to the family corpus (phi-ag/rvt pin d2eb1f3 → bec25470,
ALL_YEARStwelve releases), so metadata, PartAtom, previews and the schema are measured on 2027 as on 2016 to 2026. Two gaps surfaced and are closed here:streams::partition_for_yearhad no 2027 entry. The 2027 family's partition stream isPartitions/70.Changes
src/formats.rs:FieldType::Flagged { flags, base }(new variant at the end of the#[non_exhaustive]enum);decodereturns it for those headers when the base decodes;encodewrites the same bytes back.src/walker.rs: a flagged field reads as anUnknownone did (the record's remaining bytes), since its instance bytes are not measured. Walking 2027 records is unchanged.src/streams.rs: 2027 ↔ 70.docs/schemas/schema-table.schema.json: theFlaggedbranch.examples/probe_re264_schema_field_encodings.rsandreports/element-framing/RE-264-revit-2027-flagged-field-encodings.md. The report also records a side finding: anElementIdRef'ssubis the next field's name length on about 93% of references (formats: an ElementIdRef's sub is the next field's name length on about 93% of references #1101).docs/support-matrix.jsongives 2027 its family capabilities.opens_all_11_versionsrenamedopens_every_release_in_the_corpus; comments updated. No new tests.changelog.d/added/revit-2027-family.md.Testing
Unit tests are banned in this repository: do not add them.
No export changes: no measured project is a 2027 file read through the schema walker, and flagged fields read as before.
Legal and contribution hygiene