Skip to content

feat: legacy repo adoption workflow (#251, #252, #255, #256)#272

Open
ColumbusLabs wants to merge 1 commit into
mainfrom
cursor/adoption-workflow-251-256-e67d
Open

feat: legacy repo adoption workflow (#251, #252, #255, #256)#272
ColumbusLabs wants to merge 1 commit into
mainfrom
cursor/adoption-workflow-251-256-e67d

Conversation

@ColumbusLabs

Copy link
Copy Markdown
Owner

Summary

Ships and documents the legacy repo adoption workflow as one cohesive path:

  1. debtlens calibrate — percentile-based threshold suggestions (#256)
  2. debtlens scan --sort payoff — payoff-ranked findings with top-target sections (#251)
  3. debtlens triage — interactive keep / baseline / suppress (#255)
  4. budgets config + --budget-report — per-area debt SLO gating (#252)

All four features were already implemented on main; this PR polishes gaps, adds docs/tests, and closes the open issues.

Scope

  • This change is focused on one issue or one small improvement.
  • I updated docs or examples if behavior changed.
  • I added or updated tests for code changes.
  • If I added or changed a rule, I noted its pack in docs/rule-packs.md when applicable.

Changes

Behavior

  • Triage now prompts for a required suppression reason (was hardcoded).
  • Calibrate CLI exposes --pack, --rules, and --threshold to match scan/adopt.

Docs

  • New docs/prioritization.md — payoff formula, priority weights, budgets.
  • README Tune, prioritize, triage, and budget adoption section.
  • docs/false-positives.md calibrate guidance.
  • CHANGELOG issue links for #251#256.

Tests

  • CLI tests for calibrate, --sort payoff, triage baseline/suppress flows.

Validation

npm run test:all   # 887 tests pass
npm run build

Closes #251, #252, #255, #256

Open in Web Open in Cursor 

Document and polish the calibrate → payoff → triage → budgets adoption
path. Triage now prompts for suppression reasons, calibrate accepts
--pack/--rules/--threshold, and integration tests cover all four features.

Closes #251, #252, #255, #256

Co-authored-by: ColumbusLabs <ColumbusLabs@users.noreply.github.com>
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.

Add debt interest / payoff ranking to prioritize highest-cost findings

2 participants