Skip to content

refactor!: remove the relation-domain section of rvt-capabilities and ifc::NotYetImplemented - #1148

Merged
DrunkOnJava merged 4 commits into
mainfrom
refactor/remove-relation-domains
Oct 30, 2026
Merged

DrunkOnJava merged 4 commits into
mainfrom
refactor/remove-relation-domains

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

This PR removes two leftovers of removed code from the stable API, in one breaking change as Griffin chose on 2026-10-30:

  • the relation-domain section of rvt-capabilities and the capability manifest;
  • ifc::NotYetImplemented.

Motivation

The unused-API removal (#1128) kept both because something still named them. #1131 then removed the typed-relation module itself, which left the manifest claiming "RelationDomain registry + SCC/condensation/quarantine stubs exist". rvt-capabilities printed that claim to users, and it was false. NotYetImplemented was an error no exporter returned. The Exporter trait's doc still described exporters "phased up" from a null one.

Changes

  • src/capability.rs:
    • The manifest loses relation_domains and its relations.typed_domains row.
    • RelationDomain, RelationDomainRegistry, RelationDomainEntry and DomainStatus go.
    • Two rows that carried internal planning labels say in plain words what they mean ("Nothing reads the compound variant's openings (RE-15)"; "Its fixtures need Revit API output the project does not have").
    • The compound row's non-claim about marker tokenization goes: that tokenizer was removed in refactor(research): remove class_tag_map, compound_framing and relations, which nothing uses #1131.
  • src/bin/rvt_capabilities.rs: the text output and the about line drop the section.
  • docs/schemas/capability-manifest.schema.json: relation_domains leaves required and properties, and the description no longer mentions it.
  • src/ifc/mod.rs: NotYetImplemented goes. The Exporter doc names the three exporters that implement it, and PlaceholderExporter's doc drops its note about the old name.
  • changelog.d/removed/relation-domains.md.

Testing

Unit tests are banned and none are added. tests/json_schema_contracts.rs validates rvt-capabilities --json against the edited schema on Linux with the family corpus. semver checks must see the break, which the ! in the title announces. Exports do not change: no exporter touches these types.

Audit-honesty checklist

  • No surface claims code that no longer exists
  • Changelog fragment under removed/
  • No emojis, private paths or internal jargon

Legal and contribution hygiene

  • Apache-2.0
  • No Autodesk proprietary content

Breaking changes

Rust:

  • rvt::capability::{RelationDomain, RelationDomainRegistry, RelationDomainEntry, DomainStatus} are gone.
  • CapabilityManifest::relation_domains is gone.
  • rvt::ifc::NotYetImplemented is gone.

CLI: rvt-capabilities --json drops relation_domains, and the text output drops its section.

Nothing replaces any of these, since no code read or wrote a relation domain or returned the error.

… ifc::NotYetImplemented

Both are leftovers of removed code that the unused-API removal (#1128) kept
because something still named them. The capability manifest's
relation_domains section and its relations.typed_domains row described the
typed-relation module #1131 removed, and the row claimed its stubs still
existed. ifc::NotYetImplemented was an error no exporter returned, and the
Exporter trait's doc still described exporters phased up from a null one.
Griffin chose on 2026-10-30 to remove both in one breaking change.

The section leaves rvt-capabilities' text and JSON output and the manifest
schema; RelationDomain, RelationDomainRegistry, RelationDomainEntry and
DomainStatus leave rvt::capability. Two rows that kept internal planning
labels say in plain words what they mean.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b64d68b0b5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Self-review. CI passed on the head, and the two checks that matter here show it is the change announced:

  • semver checks: cargo-semver-checks reports 3 major failures, enum_missing (rvt::capability::RelationDomain), struct_missing (RelationDomainRegistry, RelationDomainEntry, rvt::ifc::NotYetImplemented) and struct_pub_field_missing (CapabilityManifest::relation_domains). Nothing else breaks. The ! in the title announces it, so the job passes.
  • json_schema_contracts: the CLI JSON outputs validate against the edited capability-manifest.schema.json on Linux.

DomainStatus went with the struct that used it. Nothing in the workspace, bindings, viewer, probes or fuzz targets named any removed item (git grep before the change found only src/capability.rs, rvt_capabilities.rs, the schema and the definition in ifc/mod.rs). The two reworded manifest rows keep their status and evidence tier. The changelog fragment is under removed/. Exports cannot move: no exporter touches these types. Nothing else to fix.

@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 30, 2026 14:41
…ion 2

Removing a required field is an incompatible change to the manifest, and
docs/schemas/README.md asks the producing payload to bump its version for
one, so a consumer choosing a parser by schema_version can tell the two
contracts apart (Codex review on #1148).
@DrunkOnJava
DrunkOnJava merged commit 1e85e22 into main Oct 30, 2026
28 checks passed
@DrunkOnJava
DrunkOnJava deleted the refactor/remove-relation-domains branch October 30, 2026 17:26
Repository owner deleted a comment from chatgpt-codex-connector Bot Oct 31, 2026
Repository owner deleted a comment from chatgpt-codex-connector Bot Oct 31, 2026
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