Skip to content

feat: experimental relation domains + honest capability doctor - #178

Merged
DrunkOnJava merged 1 commit into
mainfrom
cursor/phase1-relations-capability-67f9
Aug 30, 2026
Merged

DrunkOnJava merged 1 commit into
mainfrom
cursor/phase1-relations-capability-67f9

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Aug 30, 2026 •

Copy link
Copy Markdown
Owner

Summary

Phase 1 leftovers (cloud-safe, no Revit):

  • relations — RelationDomain registry (ES / BIM / ElemTable isolation), Tarjan SCC, condensation DAG, quarantine helpers + unit tests
  • capability::CapabilityManifest honest snapshot (ArcWall 2023 verified; compound 0x0821 + es.elementid_remap unsupported)
  • rvt-capabilities CLI doctor stub
  • Evidence / edge ledger JSON round-trip helpers
  • docs/schemas/capability-manifest.schema.json

Honesty

Architecture only — not wired to production IFC/topology claims. Does not invent ES remapping, Door/Window, or compound-opening decode.

Test plan

  • cargo test --lib -- relations:: capability:: evidence::
  • cargo clippy --lib --bins -- -D warnings
  • cargo fmt --all -- --check
  • rvt-capabilities -f text / -f json smoke

Note

Low Risk
Additive research/architecture and a read-only doctor CLI; no changes to default IFC export or production decode paths.

Overview
Adds Phase 1 cloud-safe architecture for typed relations and an explicit “what we claim vs. don’t” surface—without wiring new decode paths into IFC or topology.

A new relations module introduces isolated relation domains (ES ref graph, ES value tree, BIM topology, ElemTable ownership), per-domain graphs with cross-domain quarantine, Tarjan SCC + condensation, and tier-based quarantine helpers, covered by unit tests.

capability::CapabilityManifest::honest_snapshot() encodes fail-closed capability rows (e.g. ArcWall 2023 verified; compound 0x0821, ES remap, Door/Window, converter-grade IFC unsupported). The rvt-capabilities CLI emits JSON or text from that snapshot. docs/schemas/capability-manifest.schema.json documents the payload; changelog and coordination docs are updated accordingly.

EvidenceLedger and EdgeLedger gain JSON serialize/deserialize helpers for research artifacts. Library exports register relations and capability.

Reviewed by Cursor Bugbot for commit 5be8adc. Configure here.

Add RelationDomain registry with Tarjan SCC/condensation/quarantine
stubs (ES isolated from ElemTable scoring), CapabilityManifest snapshot
aligned with support-matrix honesty, rvt-capabilities CLI, evidence
ledger JSON round-trips, and capability-manifest schema. Architecture
only — not wired to production IFC claims.

Co-authored-by: DrunkOnJava <[email protected]>
@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_090f0d89-63d8-494c-8b1f-863842902bec)

@DrunkOnJava
DrunkOnJava merged commit 25eb43e into main Aug 30, 2026
25 checks passed
@DrunkOnJava
DrunkOnJava deleted the cursor/phase1-relations-capability-67f9 branch August 30, 2026 07:01
cursor Bot pushed a commit that referenced this pull request Aug 30, 2026
DrunkOnJava added a commit that referenced this pull request Aug 30, 2026
## Summary
Update `docs/disc-112-coordination.md` to record Phase 1 leftovers
shipped in #177–#179. Credit @STE1200 / Discussion #112. Phase 2 remains
Revit-blocked.

## Test plan
- [x] Docs-only; no code changes

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Documentation-only status tracking with no code, CI, or runtime
behavior changes.
> 
> **Overview**
> Updates **Discussion #112 coordination**
(`docs/disc-112-coordination.md`) to reflect that the **Phase 1
leftover** work is complete.
> 
> Adds a **2026-08-30** progress table marking relation
domains/SCC/`rvt-capabilities`
([#178](#178)),
TransmissionData extracts, compound `0x0821` framing harness, IFC
`Pset_` stub ([#179](#179)),
and CI Rust cache consolidation
([#177](#177)) as **Done**.
> 
> **P1 next** is trimmed: the former “Phase 1 leftovers” step is removed
and the list is renumbered so the next items are evidence-only
[#152](https://github.com/DrunkOnJava/rvt-rs/issues/152)–[#156](https://github.com/DrunkOnJava/rvt-rs/issues/156),
Revit-blocked Phase 2 ES oracles, and human publish decisions. **Hard
walls** and other coordination content are unchanged.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
31c97fe. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: DrunkOnJava <[email protected]>
DrunkOnJava added a commit that referenced this pull request Aug 31, 2026
## Summary
Phase 1 leftovers (cloud-safe, no Revit):
- `relations` — RelationDomain registry (ES / BIM / ElemTable
isolation), Tarjan SCC, condensation DAG, quarantine helpers + unit
tests
- `capability::CapabilityManifest` honest snapshot (ArcWall 2023
verified; compound `0x0821` + `es.elementid_remap` unsupported)
- `rvt-capabilities` CLI doctor stub
- Evidence / edge ledger JSON round-trip helpers
- `docs/schemas/capability-manifest.schema.json`

## Honesty
Architecture only — **not** wired to production IFC/topology claims.
Does not invent ES remapping, Door/Window, or compound-opening decode.

## Test plan
- [x] `cargo test --lib -- relations:: capability:: evidence::`
- [x] `cargo clippy --lib --bins -- -D warnings`
- [x] `cargo fmt --all -- --check`
- [x] `rvt-capabilities -f text` / `-f json` smoke

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Additive research/architecture and a read-only doctor CLI; no changes
to default IFC export or production decode paths.
> 
> **Overview**
> Adds **Phase 1 cloud-safe architecture** for typed relations and an
explicit “what we claim vs. don’t” surface—without wiring new decode
paths into IFC or topology.
> 
> A new **`relations`** module introduces isolated **relation domains**
(ES ref graph, ES value tree, BIM topology, ElemTable ownership),
per-domain graphs with cross-domain quarantine, **Tarjan SCC** +
condensation, and tier-based quarantine helpers, covered by unit tests.
> 
> **`capability::CapabilityManifest::honest_snapshot()`** encodes
fail-closed capability rows (e.g. ArcWall 2023 **verified**; compound
`0x0821`, ES remap, Door/Window, converter-grade IFC **unsupported**).
The **`rvt-capabilities`** CLI emits JSON or text from that snapshot.
**`docs/schemas/capability-manifest.schema.json`** documents the
payload; changelog and coordination docs are updated accordingly.
> 
> **`EvidenceLedger`** and **`EdgeLedger`** gain JSON
serialize/deserialize helpers for research artifacts. Library exports
register **`relations`** and **`capability`**.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
c862c66f8058a129bdfc9e23888257d7c7c5444f. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: DrunkOnJava <[email protected]>
DrunkOnJava added a commit that referenced this pull request Aug 31, 2026
## Summary
Update `docs/disc-112-coordination.md` to record Phase 1 leftovers
shipped in #177–#179. Credit @STE1200 / Discussion #112. Phase 2 remains
Revit-blocked.

## Test plan
- [x] Docs-only; no code changes

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Documentation-only status tracking with no code, CI, or runtime
behavior changes.
> 
> **Overview**
> Updates **Discussion #112 coordination**
(`docs/disc-112-coordination.md`) to reflect that the **Phase 1
leftover** work is complete.
> 
> Adds a **2026-08-30** progress table marking relation
domains/SCC/`rvt-capabilities`
([#178](#178)),
TransmissionData extracts, compound `0x0821` framing harness, IFC
`Pset_` stub ([#179](#179)),
and CI Rust cache consolidation
([#177](#177)) as **Done**.
> 
> **P1 next** is trimmed: the former “Phase 1 leftovers” step is removed
and the list is renumbered so the next items are evidence-only
[#152](https://github.com/DrunkOnJava/rvt-rs/issues/152)–[#156](https://github.com/DrunkOnJava/rvt-rs/issues/156),
Revit-blocked Phase 2 ES oracles, and human publish decisions. **Hard
walls** and other coordination content are unchanged.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
3a320672cb72cbaf094266d7030d903e622e5946. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: DrunkOnJava <[email protected]>
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.

2 participants