Commit Graph

17 Commits

Author SHA1 Message Date
Alexander Whitestone
fa43d82f79 Merge remote-tracking branch 'origin/burn/168-1776263899' 2026-04-15 22:11:25 -04:00
Alexander Whitestone
c7b7b38510 Merge remote-tracking branch 'origin/burn/171-1776263896' 2026-04-15 22:11:23 -04:00
Alexander Whitestone
908fbbb26c Merge remote-tracking branch 'origin/burn/174-1776263883' 2026-04-15 22:11:21 -04:00
Alexander Whitestone
ea33c331f6 Merge remote-tracking branch 'origin/burn/169-1776263898' 2026-04-15 22:11:20 -04:00
93bc3fc18a fix: add directory exclusions for scan performance (#170) 2026-04-15 15:06:09 +00:00
Alexander Whitestone
9668034ad6 feat: Add refactoring opportunity finder (#169)
Cross-references complexity, churn, and coverage to identify refactoring targets.

Acceptance criteria met:
- Cross-references: complexity x churn x coverage
- Identifies: refactor targets with priority scoring
- Output: prioritized refactor list (JSON or human-readable)
- Designed for monthly execution via cron

Scoring formula:
- Complexity (40%): Higher cyclomatic complexity = higher priority
- Churn (30%): Frequently changed files = high value to refactor
- Size (20%): Larger files = more to refactor
- Coverage (10%): Low coverage = higher risk but more need

Usage:
  python3 scripts/refactoring_opportunity_finder.py --repo /path/to/repo
  python3 scripts/refactoring_opportunity_finder.py --repo /path/to/repo --json

Closes #169
2026-04-15 10:54:58 -04:00
49365c64d2 test: automation opportunity finder tests (#170) 2026-04-15 14:53:43 +00:00
Alexander Whitestone
341abab2a0 feat: Priority Rebalancer — re-score issues from pipeline data (#174)
Monthly pipeline tool that:
- Reads knowledge store, metrics, and staleness data
- Scores all open issues across the org
- Suggests priority upgrades/downgrades based on accumulated signals
- Generates JSON + markdown reports
- Optional --apply mode to push changes via Gitea API

Signals detected:
- Stale/missing knowledge entries
- Empty knowledge store
- Missing metrics output
- Low repo coverage
- Issue age, activity, assignment status
- Keyword/label analysis

Usage:
  python3 scripts/priority_rebalancer.py --org Timmy_Foundation
  python3 scripts/priority_rebalancer.py --org Timmy_Foundation --apply
  python3 scripts/priority_rebalancer.py --org Timmy_Foundation --json

23 tests, all passing.
2026-04-15 10:52:51 -04:00
e8359cf10a feat: automation opportunity finder (#170)
Analyzes cron jobs, docs, scripts, session transcripts, and shell history to find manual processes that could be automated.

Outputs ranked proposals with confidence scores and impact ratings.
2026-04-15 14:51:29 +00:00
f1175df79d test: add improvement proposal generator tests (#168) 2026-04-15 14:47:30 +00:00
be805a1b4c feat: add Performance Bottleneck Finder (#171)
Analyzes: slow tests, build artifacts, CI workflows, heavy imports.
Outputs: markdown report or JSON. Designed for weekly cron.

Closes #171
2026-04-15 14:47:27 +00:00
1d47665dd4 feat: add improvement proposal generator (#168) 2026-04-15 14:47:26 +00:00
81c02f6709 feat: Add staleness detector tests (closes #179) 2026-04-15 04:00:46 +00:00
c2c3c6a3b9 feat: Add knowledge staleness detector (closes #179) 2026-04-15 04:00:12 +00:00
8d716ff03f Add comprehensive test script for harvest prompt validation 2026-04-14 19:02:41 +00:00
102ef67a8e Add test script for knowledge extraction prompt 2026-04-14 17:22:17 +00:00
Alexander Whitestone
b5873e9e3d Initial structure: knowledge store, scripts, metrics, templates 2026-04-14 11:17:01 -04:00