feat
BREAKING
intel
task/velocity-pure-sql
#1 / 1
feat(intel): rewrite VelocityProvider as pure-SQL BFS
Replace _run_muse subprocess (exits 2 in worker env) with a pure-SQL implementation that mirrors muse code velocity exactly.
- BFS-walks commit DAG from HEAD ref (cap 10_000 commits) - Splits walk into current window (20 commits) and prior window (20 commits) - Derives module as directory of file component of each address - Accumulates added/removed/modified per-commit per-module - Computes active_commits, stagnant_commits, acceleration, net - Sorts by active_commits DESC, stores top 20 - DELETE stale rows + upsert fresh set (same pattern as CouplingProvider)
sha256:16555f9716940f91d88223347eb29f93565f0da2bb9b969f7bf4250688e654d8
sha
sha256:be4e8bcc305fa42f817bb7f24fd70a1d61845b568d48d0fc8e577452c07090be
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:16555f9716940f91d88223347eb29f93565f0da2bb9b969f7bf4250688e654d8 --body "your comment"
No comments yet. Be the first to start the discussion.