Repository navigation
research(elements): a duct's or pipe's type, width and height are in its own object, and duct bodies already have Revit's box (#96) (RE-134) - #527
Merged
Conversation
Bugbot couldn't run - usage limit reachedBugbot 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_320d8798-37c8-4b6d-a333-ad1786ea72d4) |
DrunkOnJava
added a commit
that referenced
this pull request
Sep 30, 2026
… maintainer docs, grouped Dependabot, shorter artifact retention (#529) ## Summary Brings the repository's GitHub side up to the standard an open-source project should meet, and writes it down: rulesets kept as code, a support page and a maintainer guide, grouped Dependabot updates, forms that apply the project's own labels, and shorter retention for CI's throwaway artifacts. Repository configuration and documentation only; nothing in the crate, the CLIs or the viewer changes. ## Motivation An audit of the repository on 2026-09-30 (settings, rulesets, labels, milestones, issues, branches, Actions, security features) found these gaps, each fixed on GitHub first and recorded here: - `main-protection` had no pull-request rule; ADR-005 decided one and was still "Proposed" because the automation token had been refused. There was no protection for release tags. - Code scanning was not configured, and actions were pinned by SHA by convention but not by rule. - No `SUPPORT.md`, and nothing that says how issues are triaged, what the labels mean or how the repository is kept in order. - The bug and feature forms applied `bug` and `enhancement`, a second taxonomy beside the project's `type:*` labels; nine open issues had no labels at all. - The Actions cache was over its 10 GB limit (2.9 GB of it belonged to closed pull requests and deleted branches), and every pull request's CI run kept its smoke wheels and evidence bundle for 90 days. - The `0.4.0` milestone was still open after v0.4.0 shipped, with 12 open issues. ## Changes - `.github/rulesets/main-protection.json` (was `main-protection.proposed.json`) and `release-tags.json`: the live rulesets. `main-protection` gains the pull-request rule (0 approvals, threads resolved, squash only; the maintainer bypass is unchanged), and `release-tags` stops `v*` tags being created, moved or deleted by anyone but a maintainer. ADR-005 is marked accepted and applied. - `.github/SUPPORT.md` and `docs/maintaining.md`: where to ask what, and how issues are triaged and labelled, what a pull request has to pass, how releases and the security settings work, and the housekeeping checklist. `CONTRIBUTING.md` links the guide. - `.github/dependabot.yml`: minor and patch updates grouped per ecosystem; majors stay separate. - `.github/ISSUE_TEMPLATE/bug_report.yml` and `feature_request.yml`: `type:bug` and `type:feature`. - `.github/workflows/ci.yml`: smoke wheels kept 7 days; the evidence bundle 90 days on `main` and 14 on a pull request's run. - `ROADMAP.md`, `docs/contribution-map.md`: the geometry slices are the `0.4.x` milestone; the contribution map's remainders are regenerated from the tracker (25 open issues). - `CHANGELOG.md`. Done through the GitHub API in the same pass, with no file to change: CodeQL default setup for the workflows, JavaScript and TypeScript, and Python (Rust is not accepted by default setup); full-SHA pinning required for actions; the `0.4.0` milestone closed and its 12 open issues moved to a new `0.4.x` milestone; the 12 issues that lacked labels labelled; the labels `community`, `needs-split`, `rust`, `github-actions` and `viewer` created; 1,195 caches of closed pull requests and deleted branches deleted, and two superseded remote branches (their commits stay reachable from PR #275) removed. ## Testing N/A: no code path changes. What was checked instead: - `.github/workflows/ci.yml` and `.github/dependabot.yml` parse as YAML, the two ruleset files as JSON, and every workflow action reference is a full-SHA pin (so requiring pins breaks nothing). - The live rulesets were applied from these files' content; PR #527 merged under the tightened `main-protection` by the maintainer bypass, and this PR needs the five required checks. - Nothing reads `main-protection.proposed.json` but ADR-005, which now points at the new name; the retention change touches only the two upload steps that had no shorter setting, and no job downloads either artifact. ## Audit-honesty checklist - [x] Docs and configuration state what is in force today; nothing claims a setting that is not on - [x] The one setting that could not be enabled is stated: secret scanning's non-provider patterns and validity checks stay off (the API accepts the request and leaves them disabled) - [x] No emojis, private paths or PII ## Legal and contribution hygiene - [x] Apache-2.0 - [x] No Autodesk content - [x] No fixtures ## Breaking changes None. Direct pushes to `main` by anyone but a maintainer, and creating, moving or deleting `v*` tags by anyone but a maintainer, are now refused; none happened before. ## Related issues None.
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
Locates where a duct's or pipe's type, width and height are stored (in its own curve object, after the
RbsCurveConnectorManageranchor jakobhirn-bit found), checks them against Revit's own IFC on RE1 Mechanical and Plumbing, and adds a duct-body scorer to every Measure run. Research only: no change to rvt-rs output.Motivation
Open under #96: ducts (25 of RE1 Mechanical's
IfcFlowSegment), whose family (rectangular, round or oval) follows a shape that is not read. RE-129 found no link from a pipe or duct to its type; jakobhirn-bit's anchor and nominal size (Discussion #112, RE-131) pointed at the curve object, which the schema describes field by field.Changes
examples/probe_re134_duct_connectors.rs: prints the schema's duct, connector andRbsclasses, every anchor with the bytes that follow it, each duct's and pipe's record and connector entries, and the type records.tools/re/curve_fields_vs_ifc.py: reads width or diameter (+8), height (+16), type id (+64) and a duct's size text (+514) at each element's anchor and compares them with Revit's typeTagand profile.tools/re/duct_bodies_vs_ifc.py, added toIFC_SCORERSintools/ci/measure-reference-models.sh: the world-space box of each duct's geometry, rvt-rs against Revit.reports/element-framing/RE-134-curve-fields-at-the-anchor.md, and a CHANGELOG entry.Testing
Measure run 36736022239 on commit e30bf45, whose probe and scorers are byte-identical to this PR's (
gh workflow run measure.yml --ref <branch> -f base=none -f probe=probe_re134_duct_connectors -f probe_scorer=curve_fields_vs_ifc), on the MIT RE1 Mechanical and Plumbing models and Revit's exports of them:+64is Revit's typeTagfor 25 of 25 ducts and 69 of 69 pipes. This closes RE-129's negative: the link is in the element's own object.+8and+16are two of Revit's three extrusion dimensions on 25 of 25, and the size text at+514is width by height in millimetres on 25 of 25.This PR changes the Measure script, so its own Measure run (36737207943) compares this branch's merge commit with main (bed2c72): the exported IFC of all 6 models is identical, and the duct scorer, which both sides run from the same tree, prints the same on both.
Audit-honesty checklist
Legal and contribution hygiene
Breaking changes
None.
Related issues
Refs #96.