Parent roadmap: #525
Parent phase: #544
Background
buildLocalBranchAnalysis already produces branchQualityBlockers/accountStateBlockers/scoreBlockers, but there is no consolidated ordered "do these N things" plan.
Goal
New MCP tool gittensory_remediation_plan that turns the blocker lists into an ordered, deduplicated fix-it checklist with rerun conditions.
Current Behavior
Blockers are listed but unordered and scattered across the analysis.
Desired Behavior
Consumes the *Blockers[] + recommendedRerunCondition from buildLocalBranchAnalysis (local-branch.ts:176) and emits a prioritized checklist (highest-impact first), each item with the rerun condition that clears it. Metadata only.
Implementation Requirements
- Register in
src/mcp/server.ts + package bin; outputSchema.
Public/Private Output Boundaries
- Public-safe steps (authored to pass the shared filter so they can go into a PR body).
Acceptance Criteria
- Given a branch with multiple blockers, returns a correctly-ordered, deduped remediation plan.
Testing Requirements
npm run test:ci, 97%+ coverage. Ordering/dedup tests + forbidden-term assertions.
Parent roadmap: #525
Parent phase: #544
Background
buildLocalBranchAnalysisalready producesbranchQualityBlockers/accountStateBlockers/scoreBlockers, but there is no consolidated ordered "do these N things" plan.Goal
New MCP tool
gittensory_remediation_planthat turns the blocker lists into an ordered, deduplicated fix-it checklist with rerun conditions.Current Behavior
Blockers are listed but unordered and scattered across the analysis.
Desired Behavior
Consumes the
*Blockers[]+recommendedRerunConditionfrombuildLocalBranchAnalysis(local-branch.ts:176) and emits a prioritized checklist (highest-impact first), each item with the rerun condition that clears it. Metadata only.Implementation Requirements
src/mcp/server.ts+ package bin;outputSchema.Public/Private Output Boundaries
Acceptance Criteria
Testing Requirements
npm run test:ci, 97%+ coverage. Ordering/dedup tests + forbidden-term assertions.