Skip to content

feat(mcp): gittensory_remediation_plan #548

Description

@JSONbored

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions