Skip to content

feat(list): --orphans — list artifacts disconnected from the graph (REQ-128)#373

Merged
avrabe merged 1 commit into
mainfrom
feat/req-128-list-orphans
May 31, 2026
Merged

feat(list): --orphans — list artifacts disconnected from the graph (REQ-128)#373
avrabe merged 1 commit into
mainfrom
feat/req-128-list-orphans

Conversation

@avrabe
Copy link
Copy Markdown
Contributor

@avrabe avrabe commented May 31, 2026

The orphan detector — mechanical enforcement of 'no asserted-but-unanchored claim' (a requirement no test verifies, a decision no hazard drives). rivet list --orphans keeps only artifacts with no inbound AND no outbound links, built on the existing LinkGraph::orphans; composes with --type + --format json. Verified on rivet's repo (5 disconnected artifacts) + regression test; clippy --all-targets clean. Completes the orphan half of REQ-128 (the inbound-count ranking report remains, so REQ-128 stays draft).

…lity graph (REQ-128)

The orphan/"asserted-but-unanchored" detector (#358-adjacent; the epistemic
companion to the incoming-links view already shipped in #364). `rivet list
--orphans` keeps only artifacts with no inbound AND no outbound links — a
requirement no test verifies, a decision no hazard drives. Built on the
existing `LinkGraph::orphans`; composes with `--type` and `--format json`.
Verified on rivet's own repo (surfaces 5 genuinely-disconnected artifacts);
regression test asserts orphans are a subset of the full list. clippy
--all-targets clean.

REQ-128 (the inbound-link-count ranking report remains; kept draft).

Implements: REQ-128
Verifies: REQ-128
Refs: REQ-007

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

📐 Rivet artifact delta

No artifact changes in this PR. Code-only changes (renderer, CLI wiring, tests) don't touch the artifact graph.

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Rivet Criterion Benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.20.

Benchmark suite Current: 71af562 Previous: ef54557 Ratio
traceability_matrix/1000 62527 ns/iter (± 1339) 43199 ns/iter (± 149) 1.45

This comment was automatically generated by workflow using github-action-benchmark.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 31, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@avrabe avrabe merged commit de3d414 into main May 31, 2026
21 of 39 checks passed
@avrabe avrabe deleted the feat/req-128-list-orphans branch May 31, 2026 19:18
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