Repository navigation
gitgalaxy activity: how active each file is, how long settled, who looks after it - #8575
Merged
Merged
Conversation
…oks after it (from git history)
New read-only command. One `git log -M --name-status` gives each file, with renames followed: commits in 365 and 90 days, days since the last
change, age and lifetime commits, authors in the last year, the top author's share and whether that author is still active. Worklists (source files by
default): hot now (top tenth by 365-day commits), ownership context, dormant files; with --scan-db the dormant files many others depend on
("quiet foundations"). No scan output or table changes.
Checked against the research mock-up: identical values for all 8 readings on 24,149 files (curl, libgit2, libxml2).
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018srRveGdV73aUiuqkipAic
Contributor
This was referenced Nov 17, 2026
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.
Summary
New read-only command
gitgalaxy activity REPO [--rev REV] [--scan-db DB]: how active each file is, how long it has been settled, and who looks after it, from git history alone, in plain units (no score). Onegit log -M --name-status(curl: 4 s) gives each file, with renames and copies followed so a moved file keeps its age: commits in the last 365 and 90 days, days since the last change, age and lifetime commits, authors in the last year, the top author's share of the last year's commits and whether that author has committed in two years. Worklists default to source files (code only; prose and data are roleother): hot now (top tenth by 365-day commits), ownership context (one author did 60%+ and has gone quiet, or 90%+), dormant (untouched 2+ years); with--scan-db, dormant files many others depend on (quiet foundations). It is the proposed replacement forhist_churn/hist_stability(two views of one measurement); those gauges are unchanged here. No scan output, table or report changes. Follows #8532, #8535, #8561, #8566; tracking issue #8534.How it was checked
tools/sensor/activity_engine_check.py,docs/sensor-overhaul/sensors/activity_engine_check_output.txt.docs/sensor-overhaul/sensors/activity.mdin temporal-crucible.audit_checkclean;test_cli_contract,test_source_readspass.Not here
The share of edits that were sweeps (did not separate fix-prone hot files in the study), change entropy, co-change scatter, and persisting these readings in the scan database; the old gauges stay until the readings are in the scan. A role split finer than source / other, and a per-repository window instead of 365 days, are open.
Type of change
Class / Sibling gaps
Class: history readings the scan does not persist. Handled: activity readings and worklists as a command. Sibling gaps: (1) persisting them in the scan database and brief (and retiring
hist_churn/hist_stability), (2) docsvectors.md"ablated to zero" text and wiki pages 08-06 / 08-10 / 02-15 still describe the old gauges, (3) shallow clones are warned about, not corrected, (4) history of very large repositories not timed beyond libgit2 (15,650 files), (5) code/other split uses the engine's language extension table, so an unknown extension reads asother.Lessons for agents
reach.role()calls everything that is not tests/docs or CI "source", includingCMakeLists.txt, licences and release notes; filter by the engine's language table (LANGUAGE_DEFINITIONS[*]["extensions"]) when a list must be code.🤖 Generated with Claude Code
https://claude.ai/code/session_018srRveGdV73aUiuqkipAic