Repository navigation
refactor!: remove the relation-domain section of rvt-capabilities and ifc::NotYetImplemented - #1148
Conversation
… 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.
There was a problem hiding this comment.
💡 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".
|
Self-review. CI passed on the head, and the two checks that matter here show it is the change announced:
|
…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).
Summary
This PR removes two leftovers of removed code from the stable API, in one breaking change as Griffin chose on 2026-10-30:
rvt-capabilitiesand 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-capabilitiesprinted that claim to users, and it was false.NotYetImplementedwas an error no exporter returned. TheExportertrait's doc still described exporters "phased up" from a null one.Changes
src/capability.rs:relation_domainsand itsrelations.typed_domainsrow.RelationDomain,RelationDomainRegistry,RelationDomainEntryandDomainStatusgo.src/bin/rvt_capabilities.rs: the text output and theaboutline drop the section.docs/schemas/capability-manifest.schema.json:relation_domainsleavesrequiredandproperties, and the description no longer mentions it.src/ifc/mod.rs:NotYetImplementedgoes. TheExporterdoc names the three exporters that implement it, andPlaceholderExporter'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.rsvalidatesrvt-capabilities --jsonagainst the edited schema on Linux with the family corpus.semver checksmust see the break, which the!in the title announces. Exports do not change: no exporter touches these types.Audit-honesty checklist
removed/Legal and contribution hygiene
Breaking changes
Rust:
rvt::capability::{RelationDomain, RelationDomainRegistry, RelationDomainEntry, DomainStatus}are gone.CapabilityManifest::relation_domainsis gone.rvt::ifc::NotYetImplementedis gone.CLI:
rvt-capabilities --jsondropsrelation_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.