Repository navigation
feat: debt tracker Phase 3+4 — badge, estimation, docs (#206) - #254
Merged
Merged
Conversation
Phase 3 — Advanced: - `--badge` flag: shields.io-compatible JSON endpoint - `--estimate` flag: estimated debt fix time (hours/days) - estimate_debt_hours() with per-severity fix time weights - BadgeData struct with schemaVersion (camelCase for shields.io) - generate_badge() with green/yellow/red color thresholds Phase 4 — Polish: - 10 new unit tests (estimation, badge, formatting) — total 495 - docs/cli-reference.md: cora debt commands added - docs/usage.md: Tech Debt Tracking section with examples - docs/configuration.md: Debt Tracking config section - AGENT.md: code structure updated, test count 495 - .agent.md: test count updated All 495 tests pass, clippy clean, fmt clean
- generate_badge_with_debt() includes estimated fix time in badge message - --badge respects --estimate flag for richer badge output - Clarified trend arrow semantics in docs (▼ = fewer findings = improving) - All 495 tests pass, clippy clean
17 tasks
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.
Phase 3+4: Advanced Features + Docs (Issue #206)
Phase 3 — Advanced
--badge— shields.io-compatible JSON endpoint for README badgesgenerate_badge()— score + trend arrow, color-coded (green/yellow/red)generate_badge_with_debt()— includes estimated fix time when--estimateis set--estimate— estimated debt fix time~30min,~3.5h,~2.0d--estimateflag is usedestimated_debt_hoursandestimated_debt_humanfieldsPhase 4 — Polish
cora debtcommands addedVerification
cargo test— 495/495 passcargo clippy --all-targets -- -D warnings— cleancargo fmt --all -- --check— clean