feat(explorer): v0.8.3 Explorer recommendations — categorized findings with impact and actions - #54
Merged
Conversation
Implements rac/roadmaps/v0.8.x-explorer/v0.8.3-explorer-recommendations.md. Pins review as the Core source, the review_from_portfolio seam, the category grouping and severity tiers, fixed impact copy, and the /recommendations command.
Implements rac/roadmaps/v0.8.x-explorer/v0.8.3-explorer-recommendations.md. review_from_portfolio builds the prioritized review from an already-computed portfolio; build_review delegates to it with byte-identical output. The seam lets Explorer reuse Core's review logic over a loaded repository without a second walk.
Implements rac/roadmaps/v0.8.x-explorer/v0.8.3-explorer-recommendations.md. recommendations_state builds one recommendation per Core review finding over the loaded portfolio, grouping by the four categories in fixed order and mapping Core severities to the Critical/Warning/ Suggestion tiers. Each row carries a fixed impact line (presentation copy keyed by the finding code) plus Core's finding, action, and the affected artifact path.
Implements rac/roadmaps/v0.8.x-explorer/v0.8.3-explorer-recommendations.md. The recommendations screen presents findings grouped by category, explaining impact before the suggested action; selecting one opens the affected artifact's context view. recommendations joins the registry (/recommendations) and the health screen gains an r binding to reach it.
Implements rac/roadmaps/v0.8.x-explorer/v0.8.3-explorer-recommendations.md.
Implements rac/roadmaps/v0.8.x-explorer/v0.8.3-explorer-recommendations.md.
tcballard
force-pushed
the
claude/v0.8.3-explorer-recommendations
branch
from
June 10, 2026 19:56
1b20a2b to
ed0f9ef
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements
rac/roadmaps/v0.8.x-explorer/v0.8.3-explorer-recommendations.md.Adds:
/recommendations, orrfrom the health view): RAC Core's review findings grouped by category, each presenting the finding, why it matters, a suggested action, and navigation to the affected artifactreview_from_portfolioseam so Explorer reuses Core's review logic over a loaded repository without a second walkRoadmap / ADR Trace
Roadmap:
rac/roadmaps/v0.8.x-explorer/v0.8.3-explorer-recommendations.md(contract pinned in the first commit)Relevant ADRs and designs:
Scope
Included
rac.services.review.review_from_portfolio— builds the prioritized review from an already-computed portfolio;build_reviewdelegates to it (byte-identical, golden battery)rac.explorer.state.RecommendationRow/RecommendationsState;ExplorerAdapter.recommendations_state()— one recommendation per Core review finding, grouped into the four categories in fixed orderRecommendationsScreen(multi-line finding → impact → action blocks);/recommendationsin the registry;rbinding on the health screen; selecting a recommendation opens the affected artifact's context viewExcluded (deliberately)
Product / Architecture Decisions
ReviewIssues. The mapping Explorer owns is presentation only: category (by finding code), severity tier (by Core severity), and a fixed impact sentence keyed by the finding code. The impact line is display copy — the same role as Explorer's existing status/phase labels — chosen over adding animpactfield to Core's review JSON contract (which the roadmap does not call for).error → ✗ Critical,warning → ! Warning,info → · Suggestion; definitions stay in Core.User-Facing Contract
CLI / Keys
rac explorer # /recommendations, or h then r/recommendations(anywhere) ·r(health view) → recommendations.Escbacks out. A recommendation +Enter→ that artifact's context view.Human Output (interactive)
Each recommendation renders as a block:
JSON Output
No changes; no new contracts.
Exit Codes
Unchanged:
0session quit ·2not a directory or missingexplorerextra.Verification
Ran
Covered
review_from_portfolio(...).to_dict() == build_review(...).to_dict()across invalid / broken / clean / mixed fixtures! Warningwith a traceability impact and a navigable path; invalid artifact is✗ Critical; clean repo yields none/recommendationsopens the view;rfrom health opens it and a recommendation opens the context view;/helplists all 8 registry entriesrecommendationsdiscoverable and parsesReview Path
rac/roadmaps/v0.8.x-explorer/v0.8.3-explorer-recommendations.md— the pinned contractsrc/rac/services/review.py— thereview_from_portfolioseamsrc/rac/explorer/adapter.py— category/severity/impact mapping andrecommendations_statesrc/rac/explorer/screens/recommendations.py— the screensrc/rac/explorer/commands.py,screens/command.py,screens/health.py—/recommendationsand therbindingtests/— review, adapter, app, commandsdocs/cli.md,CHANGELOG.mdNotes For Reviewer
Implementation Process
Implemented with AI assistance under the roadmap contract.
Final scope, review, and acceptance decisions were made by the maintainer.