Skip to content

research: third IFC witness (IFClite) and the full-project export edge - #205

Merged
DrunkOnJava merged 2 commits into
mainfrom
research/third-ifc-witness
Aug 30, 2026
Merged

DrunkOnJava merged 2 commits into
mainfrom
research/third-ifc-witness

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Aug 30, 2026 •

Copy link
Copy Markdown
Owner

Adds a third independent reading witness to the RVT → IFC edge so the Core Interior verdict spans three implementation lineages (OctetProof 1.0.0 §9.3), and promotes the full-project export from a bare registry artifact to a manifested, gated edge.

The witness: IFClite (ifc-lite-core)

Picked by evidence, not by the registry's stale note. What was verified on 2026-08-30:

Crate ifc-lite-core 7.1.1, published 2026-08-27 (crates.io API)
Upstream https://github.com/LTplus-AG/ifc-lite (the crate's own repository field)
License MPL-2.0 — in the crate metadata and the GitHub API's license object for that repo
Language Rust, edition = "2021", pure-Rust deps (nom, memchr, smallvec, lexical-core, …)
Independence own byte-level STEP scanner (src/parser/scanner.rs) + own nom tokenizer; links no IfcOpenShell code. The project verifies its geometry kernel against IfcOpenShell — a comparison, not a lineage, the same distinction that makes FreeCAD-BIM one witness with IfcOpenShell
Runtime cold cargo build --release of the whole dep tree: 8 s locally; the gate itself runs in milliseconds

The registry previously carried this witness as license: MIT against a bare ifc-lite slug, and OctetProof 1.0.0 §19 note 4 marked the license unverifiable and the witness gate-ineligible. Both are corrected here: the registry names the exact upstream and the exact pinned version, and §19 note 4 records the resolution (zahmadsaleem/ifc-lite-headless, the other candidate, is a different project and is not what is adopted).

Rejected alternatives: web-ifc (MPL-2.0, real, but C++/WASM driven from Node — a heavier CI surface for the same answer, and it would have added a Node toolchain to a Rust+Python job); STEPcode (syntax-level only, NOASSERTION on GitHub); Ifc++ (MIT but a C++ build from source, minutes not seconds); ifc_rs (MIT, but last published 2024-12 at 0.1.0-alpha.9). ifc-lite as a bare crate name does not exist on crates.io — only ifc-lite-core does, which is why the old entry could not be verified.

How it is wired

tools/ci/witness-ifc-lite is a ~250-line binary that mirrors tools/ci/witness-ifcopenshell.py exactly: verify the input against source.reference_ifc_sha256, count every manifest source_ifc_type by exact STEP keyword (no subtypes — the same semantics as by_type(include_subtypes=False)), keep its own manifest-drift check (exit 1), and write a §6.2 observation with input_role: "bridge" hashed over the canonical payload.

It is its own workspace root, not a member of the rvt workspace, so the MPL dependency is never linked into an Apache-2.0 artifact — the registry's own rule for third-party witnesses. Consequences that are deliberate, not oversights:

  • cargo build / cargo clippy --all-targets at the repo root never see it. It is fmt- and clippy-clean on its own (-D warnings).
  • It needs Rust 1.87, not the workspace MSRV 1.85: ifc-lite-core calls usize::is_multiple_of. That is why rust-version in its manifest is 1.87 with a comment. The 1.85 MSRV matrix job builds the workspace only, and the ifcopenshell-validate job that runs the witness uses stable, so nothing regresses. Verified with cargo +1.85.0 check on the workspace.
  • §9.6 version pinning is enforced mechanically: tests/witness_registry.rs::ifc_lite_gate_is_wired_and_version_pinned fails the build unless the ifc-lite-core = "=X.Y.Z" Cargo pin, the WITNESS_VERSION constant the binary stamps into every observation, and the registry entry's version all agree — and unless CI actually runs the gate into the verdict's observation directory. A committed Cargo.lock plus --locked pins the transitive deps too.

Strongest single piece of evidence: IFClite's canonical observation payload on the element fixture hashes to 8cf4046509bb788406e93261f0dcb10708fbf33ae195d12f8ddc99b41a93398f — byte-identical to IfcOpenShell's. Two unrelated readers, different languages, different licenses, same twelve counts, same canonicalization.

Verdict: three lineages

magnetar-2024-core-interior: PASS — witnesses ifc-lite, ifcopenshell, rvt-rs
  surface: 8 fields, excluded: 4, diffs: 0
  replay ifc-lite: match
  replay ifcopenshell: match
  replay rvt-rs: match
"independence": {
  "commercial_dropped": [],
  "lineages": ["ifc-lite", "ifcopenshell", "rvt-rs"],
  "roles": ["bridge", "source"],
  "satisfied": true,
  "strong_copyleft": []
}

Surface: IFCWALL, IFCROOF, IFCDOOR, IFCWINDOW, IFCCOLUMN, IFCBEAM, IFCFLOWTERMINAL, IFCUNITASSIGNMENT. Excluded first-class: IFCSHADINGDEVICE (#31), IFCSPACE (#33), IFCMATERIAL (#34), IFCPROPERTYSET (#35).

Second edge: the full-project export

IFC Exports/2024_Core_Interior_slim.ifc (bfdf36ff…, 1665968 bytes, IFC4, Autodesk Revit 24.0.20.20 (ENU) via ODA SDAI 23.12, ViewDefinition ReferenceView_V1.2, 19879 entities) was an artifact with no manifest. It now has tests/fixtures/project-counts/2024-core-interior-slim.json, committed observations, and a PASS verdict.

Because it lives beside the Revit/ tree in the dataset, reference_ifc_file is ../IFC Exports/2024_Core_Interior_slim.ifc, resolved relative to RVT_PROJECT_CORPUS_DIR. fetch-corpus checks out the whole LFS repo, so every job that already sets that variable has the file — no CI fetch change was needed.

Measured (IfcOpenShell 0.8.5 by_type(include_subtypes=False), independently reproduced by IFClite 7.1.1 and by the STEP-constructor substring count tests/project_count_fixtures.rs uses — all three agree exactly on all thirteen types):

category IFC type export rvt-rs status
levels IFCBUILDINGSTOREY 15 12 decoder_baseline #33
walls IFCWALL 360 0 known_gap #30
floors IFCSLAB 80 64 known_gap #31
roofs IFCROOF 0 0 known
doors IFCDOOR 132 0 known_gap #32
windows IFCWINDOW 6 0 known_gap #32
rooms/spaces IFCSPACE 116 18 known_gap #33
columns IFCCOLUMN 256 0 known_gap #204 (filed)
beams IFCBEAM 0 0 known
mep IFCFLOWTERMINAL 0 0 known
materials IFCMATERIAL 10 102 known_gap #34
units IFCUNITASSIGNMENT 1 1 known
property sets IFCPROPERTYSET 0 64 known_gap #35
magnetar-2024-core-interior-slim: PASS — witnesses ifc-lite, ifcopenshell, rvt-rs
  surface: 4 fields, excluded: 9, diffs: 0
  replay ifc-lite: match
  replay ifcopenshell: match
  replay rvt-rs: match

The four-field surface is the honest one. Nothing is marked known that is not measured and agreed; every gap carries a tracking issue. The excluded list is the deliverable — it is the measured distance between this decoder and Revit's own exporter on a real project, recorded rather than rounded off. The registry edge moves recorded-ungated → recorded.

Columns had no tracking issue — every other category maps onto an M4 umbrella issue, so #204 was filed rather than reusing an unrelated one or leaving the number blank.

Gate

  • cargo fmt --all -- --check, cargo clippy --all-targets -- -D warnings — clean (workspace and the witness crate separately)
  • cargo test --test witness_registry --test witness_verdict — 6 passed
  • cargo test --release --test project_count_fixtures with the corpus — 2 passed, both manifests exercised
  • cargo test --release full suite with RVT_PROJECT_CORPUS_DIR set — green
  • python3 -m py_compile on the three tools/ci/*.py
  • All six observations and both verdicts validate against docs/schemas/witness-observation.schema.json / witness-verdict.schema.json
  • docs/support-matrix.json untouched; no capability status changed

Follow-ups worth an issue

  • #83 records IFCSLAB recall as 61/80; the decoder now emits 64, so that issue's number is three stale.
  • #84 records IFCSPACE recall as 50/116 from a different export path; the manifest measures 18/116 through rvt-ifc. The two paths should be reconciled or the difference explained.
  • The full export carries 20 IFCSHADINGDEVICE that no decoder path claims and that the manifest deliberately does not score — the element fixture maps floors onto that type, the full export maps floors onto IFCSLAB. Worth deciding what shading devices actually are before claiming either.
  • rooms_spaces and property_sets reuse typed_door_window_discrimination_and_host_binding / real_file_element_geometry as their unsupported_feature because no better-fitting diagnostic exists. The diagnostics vocabulary could use a term for name-recovered-vs-real-element gaps.
  • IFClite's determinism is attested from one OS and one architecture; §9.5 wants two of each.

https://claude.ai/code/session_01BaHKf1Rw5aJBGK5y3xmx7C


Note

Low Risk
Changes are mostly CI gates, research artifacts, and an isolated witness crate; decoder behavior and support-matrix capability claims are unchanged.

Overview
Adds IFClite as a third independent IFC reading witness and extends OctetProof CI so Core Interior agreements require three implementation lineages (rvt-rs, IfcOpenShell, IFClite) instead of two.

The new tools/ci/witness-ifc-lite binary mirrors the Python bridge witness: it verifies the reference IFC hash, counts manifest source_ifc_type values with its own STEP scanner (ifc-lite-core =7.1.1, MPL-2.0), and emits §6.2 observations. It runs as a separate workspace with cargo run --locked so MPL code never links into the Apache-2.0 tree; tests/witness_registry.rs enforces pin/registry/WITNESS_VERSION alignment.

Second gated RVT → IFC edge: 2024_Core_Interior_slim.ifc gets tests/fixtures/project-counts/2024-core-interior-slim.json, committed observations under research/witness/magnetar-2024-core-interior-slim/, and a PASS verdict with a narrow four-field claimed surface (nine categories excluded as known_gap / decoder_baseline). The registry promotes core-interior-slim from recorded-ungated to recorded and corrects ifc-lite to adopted MPL-2.0 / LTplus-AG/ifc-lite.

CI in ifcopenshell-validate adds the IFClite cross-witness step, updates the element-fixture verdict to three witnesses, runs a full parallel slim verdict pipeline, and publishes both /tmp/witness/ and /tmp/witness-slim/ artifacts. Docs (verification-protocol, status, octetproof-spec §19) reflect two recorded edges and the resolved ifc-lite license.

Reviewed by Cursor Bugbot for commit 05605c2. Configure here.

Adds a third independent reading witness to the RVT -> IFC edge so the
Core Interior verdict spans three implementation lineages (OctetProof
1.0.0 section 9.3), and promotes the full-project export from a bare
registry artifact to a manifested, gated edge.

The witness is IFClite: crates.io `ifc-lite-core` 7.1.1 (published
2026-08-27) from LTplus-AG/ifc-lite, MPL-2.0 in both the crate metadata
and the repository LICENSE, verified 2026-08-30 against crates.io and
the GitHub API. The registry previously recorded MIT against a bare
`ifc-lite` slug and spec section 19 note 4 marked the license
unverifiable; both are corrected, and the note records the resolution.
Independence is real: the crate carries its own byte-level STEP scanner
and nom tokenizer and links no IfcOpenShell code — it only validates its
geometry kernel against IfcOpenShell, which is a comparison, not a
lineage.

tools/ci/witness-ifc-lite mirrors witness-ifcopenshell.py exactly: verify
the input hash against the manifest, count every `source_ifc_type` by
exact STEP keyword, keep its own drift check, and emit a section 6.2
observation hashed over the canonical payload. Its payload on the element
fixture hashes byte-identically to IfcOpenShell's. The crate is its own
workspace root so the MPL dependency never enters an Apache-2.0 artifact;
it needs Rust 1.87 rather than the workspace MSRV 1.85 because
ifc-lite-core calls usize::is_multiple_of, which is harmless precisely
because it is out-of-workspace. A new test fails the build if the Cargo
pin, the binary's WITNESS_VERSION and the registry version drift apart
(section 9.6).

The full export IFC Exports/2024_Core_Interior_slim.ifc (bfdf36ff...,
19879 entities, Autodesk Revit 24.0.20.20 via ODA SDAI 23.12) now has a
count manifest, committed observations and a PASS verdict. All three
readers agree exactly on all thirteen types: 360 IFCWALL, 132 IFCDOOR,
256 IFCCOLUMN, 116 IFCSPACE, 80 IFCSLAB, 15 IFCBUILDINGSTOREY, 10
IFCMATERIAL, 6 IFCWINDOW, 1 IFCUNITASSIGNMENT, 0 elsewhere. rvt-rs
recovers 0/0/0/18/64/12, so nine categories are known_gap or
decoder_baseline against #30, #31, #32, #33, #34, #35 and the new #204
for columns, which had no tracking issue. The claimed surface is four
fields wide; the excluded list is the deliverable.

No capability status changed; docs/support-matrix.json untouched.
@cursor

cursor Bot commented Aug 30, 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_2a4e22fd-ca4b-4ec3-b7a6-d629ed280ce8)

@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Local full-suite note, so it is on the record rather than in a scratchpad.

cargo test --release with RVT_PROJECT_CORPUS_DIR set surfaces one failure, and it is pre-existing, not from this branch — the diff touches no src/ file and no line of the failing test:

---- project_2024_file_parses_all_declared_records stdout ----
panicked at tests/elem_table_corpus.rs:98:5:
  parse_records should return exactly header.record_count on 2024 project files
  left: 26424   right: 26425

Filed as #206. The reason it was invisible: no CI job runs elem_table_corpus with a corpus — corpus-tier2 and writer-patch-corpus set the env var but name specific targets, and the matrix cargo test jobs run every target without it, so the test takes its skip path on every run. Deliberately not fixed here: an ElemTable framing fix has nothing to do with adding a witness, and wiring the test into corpus-tier2 would turn this PR red for an unrelated reason.

Everything this PR does own is green, including IfcOpenShell validates synthetic project, which runs all three witness gates and both verdicts.

@DrunkOnJava
DrunkOnJava merged commit dbf2347 into main Aug 30, 2026
23 checks passed
@DrunkOnJava
DrunkOnJava deleted the research/third-ifc-witness branch August 30, 2026 11:24
DrunkOnJava added a commit that referenced this pull request Aug 31, 2026
#205)

Adds a **third independent reading witness** to the RVT → IFC edge so
the Core Interior verdict spans three implementation lineages
(OctetProof 1.0.0 §9.3), and promotes the **full-project export** from a
bare registry artifact to a manifested, gated edge.

## The witness: IFClite (`ifc-lite-core`)

Picked by evidence, not by the registry's stale note. What was verified
on 2026-08-30:

| | |
|---|---|
| Crate | `ifc-lite-core` **7.1.1**, published 2026-08-27 (crates.io
API) |
| Upstream | `https://github.com/LTplus-AG/ifc-lite` (the crate's own
`repository` field) |
| License | **MPL-2.0** — in the crate metadata *and* the GitHub API's
license object for that repo |
| Language | Rust, `edition = "2021"`, pure-Rust deps (nom, memchr,
smallvec, lexical-core, …) |
| Independence | own byte-level STEP scanner (`src/parser/scanner.rs`) +
own nom tokenizer; links no IfcOpenShell code. The project *verifies its
geometry kernel against* IfcOpenShell — a comparison, not a lineage, the
same distinction that makes FreeCAD-BIM one witness with IfcOpenShell |
| Runtime | cold `cargo build --release` of the whole dep tree: **8 s**
locally; the gate itself runs in milliseconds |

The registry previously carried this witness as `license: MIT` against a
bare `ifc-lite` slug, and OctetProof 1.0.0 §19 note 4 marked the license
unverifiable and the witness gate-ineligible. Both are corrected here:
the registry names the exact upstream and the exact pinned version, and
§19 note 4 records the resolution (`zahmadsaleem/ifc-lite-headless`, the
other candidate, is a different project and is not what is adopted).

Rejected alternatives: **web-ifc** (MPL-2.0, real, but C++/WASM driven
from Node — a heavier CI surface for the same answer, and it would have
added a Node toolchain to a Rust+Python job); **STEPcode** (syntax-level
only, NOASSERTION on GitHub); **Ifc++** (MIT but a C++ build from
source, minutes not seconds); **`ifc_rs`** (MIT, but last published
2024-12 at `0.1.0-alpha.9`). `ifc-lite` as a bare crate name **does not
exist on crates.io** — only `ifc-lite-core` does, which is why the old
entry could not be verified.

### How it is wired

`tools/ci/witness-ifc-lite` is a ~250-line binary that mirrors
`tools/ci/witness-ifcopenshell.py` exactly: verify the input against
`source.reference_ifc_sha256`, count every manifest `source_ifc_type` by
exact STEP keyword (no subtypes — the same semantics as
`by_type(include_subtypes=False)`), keep its own manifest-drift check
(`exit 1`), and write a §6.2 observation with `input_role: "bridge"`
hashed over the canonical payload.

It is **its own workspace root**, not a member of the `rvt` workspace,
so the MPL dependency is never linked into an Apache-2.0 artifact — the
registry's own rule for third-party witnesses. Consequences that are
deliberate, not oversights:

- `cargo build` / `cargo clippy --all-targets` at the repo root never
see it. It is fmt- and clippy-clean on its own (`-D warnings`).
- It needs **Rust 1.87**, not the workspace MSRV 1.85: `ifc-lite-core`
calls `usize::is_multiple_of`. That is why `rust-version` in its
manifest is 1.87 with a comment. The `1.85` MSRV matrix job builds the
workspace only, and the `ifcopenshell-validate` job that runs the
witness uses `stable`, so nothing regresses. Verified with `cargo
+1.85.0 check` on the workspace.
- §9.6 version pinning is enforced mechanically:
`tests/witness_registry.rs::ifc_lite_gate_is_wired_and_version_pinned`
fails the build unless the `ifc-lite-core = "=X.Y.Z"` Cargo pin, the
`WITNESS_VERSION` constant the binary stamps into every observation, and
the registry entry's `version` all agree — and unless CI actually runs
the gate into the verdict's observation directory. A committed
`Cargo.lock` plus `--locked` pins the transitive deps too.

**Strongest single piece of evidence:** IFClite's canonical observation
payload on the element fixture hashes to
`8cf4046509bb788406e93261f0dcb10708fbf33ae195d12f8ddc99b41a93398f` —
*byte-identical* to IfcOpenShell's. Two unrelated readers, different
languages, different licenses, same twelve counts, same
canonicalization.

## Verdict: three lineages

```
magnetar-2024-core-interior: PASS — witnesses ifc-lite, ifcopenshell, rvt-rs
  surface: 8 fields, excluded: 4, diffs: 0
  replay ifc-lite: match
  replay ifcopenshell: match
  replay rvt-rs: match
```

```json
"independence": {
  "commercial_dropped": [],
  "lineages": ["ifc-lite", "ifcopenshell", "rvt-rs"],
  "roles": ["bridge", "source"],
  "satisfied": true,
  "strong_copyleft": []
}
```

Surface: `IFCWALL`, `IFCROOF`, `IFCDOOR`, `IFCWINDOW`, `IFCCOLUMN`,
`IFCBEAM`, `IFCFLOWTERMINAL`, `IFCUNITASSIGNMENT`. Excluded first-class:
`IFCSHADINGDEVICE` (#31), `IFCSPACE` (#33), `IFCMATERIAL` (#34),
`IFCPROPERTYSET` (#35).

## Second edge: the full-project export

`IFC Exports/2024_Core_Interior_slim.ifc` (`bfdf36ff…`, 1665968 bytes,
IFC4, `Autodesk Revit 24.0.20.20 (ENU)` via `ODA SDAI 23.12`,
ViewDefinition ReferenceView_V1.2, 19879 entities) was an artifact with
no manifest. It now has
`tests/fixtures/project-counts/2024-core-interior-slim.json`, committed
observations, and a `PASS` verdict.

Because it lives beside the `Revit/` tree in the dataset,
`reference_ifc_file` is `../IFC Exports/2024_Core_Interior_slim.ifc`,
resolved relative to `RVT_PROJECT_CORPUS_DIR`. `fetch-corpus` checks out
the whole LFS repo, so every job that already sets that variable has the
file — no CI fetch change was needed.

**Measured** (IfcOpenShell 0.8.5 `by_type(include_subtypes=False)`,
independently reproduced by IFClite 7.1.1 and by the STEP-constructor
substring count `tests/project_count_fixtures.rs` uses — all three agree
exactly on all thirteen types):

| category | IFC type | export | rvt-rs | status |
|---|---|---:|---:|---|
| levels | `IFCBUILDINGSTOREY` | 15 | 12 | `decoder_baseline` #33 |
| walls | `IFCWALL` | 360 | 0 | `known_gap` #30 |
| floors | `IFCSLAB` | 80 | 64 | `known_gap` #31 |
| roofs | `IFCROOF` | 0 | 0 | **known** |
| doors | `IFCDOOR` | 132 | 0 | `known_gap` #32 |
| windows | `IFCWINDOW` | 6 | 0 | `known_gap` #32 |
| rooms/spaces | `IFCSPACE` | 116 | 18 | `known_gap` #33 |
| columns | `IFCCOLUMN` | 256 | 0 | `known_gap` **#204 (filed)** |
| beams | `IFCBEAM` | 0 | 0 | **known** |
| mep | `IFCFLOWTERMINAL` | 0 | 0 | **known** |
| materials | `IFCMATERIAL` | 10 | 102 | `known_gap` #34 |
| units | `IFCUNITASSIGNMENT` | 1 | 1 | **known** |
| property sets | `IFCPROPERTYSET` | 0 | 64 | `known_gap` #35 |

```
magnetar-2024-core-interior-slim: PASS — witnesses ifc-lite, ifcopenshell, rvt-rs
  surface: 4 fields, excluded: 9, diffs: 0
  replay ifc-lite: match
  replay ifcopenshell: match
  replay rvt-rs: match
```

The four-field surface is the honest one. Nothing is marked `known` that
is not measured *and* agreed; every gap carries a tracking issue. The
excluded list is the deliverable — it is the measured distance between
this decoder and Revit's own exporter on a real project, recorded rather
than rounded off. The registry edge moves `recorded-ungated` →
`recorded`.

**Columns had no tracking issue** — every other category maps onto an M4
umbrella issue, so #204 was filed rather than reusing an unrelated one
or leaving the number blank.

## Gate

- `cargo fmt --all -- --check`, `cargo clippy --all-targets -- -D
warnings` — clean (workspace and the witness crate separately)
- `cargo test --test witness_registry --test witness_verdict` — 6 passed
- `cargo test --release --test project_count_fixtures` with the corpus —
2 passed, both manifests exercised
- `cargo test --release` full suite with `RVT_PROJECT_CORPUS_DIR` set —
green
- `python3 -m py_compile` on the three `tools/ci/*.py`
- All six observations and both verdicts validate against
`docs/schemas/witness-observation.schema.json` /
`witness-verdict.schema.json`
- `docs/support-matrix.json` untouched; no capability status changed

## Follow-ups worth an issue

- `#83` records IFCSLAB recall as 61/80; the decoder now emits 64, so
that issue's number is three stale.
- `#84` records IFCSPACE recall as 50/116 from a different export path;
the manifest measures 18/116 through `rvt-ifc`. The two paths should be
reconciled or the difference explained.
- The full export carries 20 `IFCSHADINGDEVICE` that no decoder path
claims and that the manifest deliberately does not score — the element
fixture maps *floors* onto that type, the full export maps floors onto
`IFCSLAB`. Worth deciding what shading devices actually are before
claiming either.
- `rooms_spaces` and `property_sets` reuse
`typed_door_window_discrimination_and_host_binding` /
`real_file_element_geometry` as their `unsupported_feature` because no
better-fitting diagnostic exists. The diagnostics vocabulary could use a
term for name-recovered-vs-real-element gaps.
- IFClite's determinism is attested from one OS and one architecture;
§9.5 wants two of each.

https://claude.ai/code/session_01BaHKf1Rw5aJBGK5y3xmx7C

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Changes are mostly CI gates, research artifacts, and an isolated
witness crate; decoder behavior and support-matrix capability claims are
unchanged.
> 
> **Overview**
> Adds **IFClite** as a third independent IFC reading witness and
extends OctetProof CI so Core Interior agreements require **three
implementation lineages** (`rvt-rs`, IfcOpenShell, IFClite) instead of
two.
> 
> The new `tools/ci/witness-ifc-lite` binary mirrors the Python bridge
witness: it verifies the reference IFC hash, counts manifest
`source_ifc_type` values with its own STEP scanner (`ifc-lite-core`
**=7.1.1**, MPL-2.0), and emits §6.2 observations. It runs as a
**separate workspace** with `cargo run --locked` so MPL code never links
into the Apache-2.0 tree; `tests/witness_registry.rs` enforces
pin/registry/`WITNESS_VERSION` alignment.
> 
> **Second gated RVT → IFC edge:** `2024_Core_Interior_slim.ifc` gets
`tests/fixtures/project-counts/2024-core-interior-slim.json`, committed
observations under `research/witness/magnetar-2024-core-interior-slim/`,
and a `PASS` verdict with a **narrow four-field claimed surface** (nine
categories excluded as `known_gap` / `decoder_baseline`). The registry
promotes `core-interior-slim` from `recorded-ungated` to `recorded` and
corrects **ifc-lite** to adopted **MPL-2.0** / `LTplus-AG/ifc-lite`.
> 
> CI in `ifcopenshell-validate` adds the IFClite cross-witness step,
updates the element-fixture verdict to three witnesses, runs a full
parallel slim verdict pipeline, and publishes both `/tmp/witness/` and
`/tmp/witness-slim/` artifacts. Docs (`verification-protocol`, `status`,
`octetproof-spec` §19) reflect two recorded edges and the resolved
ifc-lite license.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
f7d10b641e60e0d701d2305feb30e9ffc179d7f3. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
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