Title: Standard task: per-repo hygiene census + cleanup documentation (low priority) · Issue #3205 · developing-today/code · GitHub
Open Graph Title: Standard task: per-repo hygiene census + cleanup documentation (low priority) · Issue #3205 · developing-today/code
X Title: Standard task: per-repo hygiene census + cleanup documentation (low priority) · Issue #3205 · developing-today/code
Description: Low priority — standing standard task + tracking. Established 2026-10-31 from a measured fleet-wide repo hygiene census ordered by Drew. Source documents (sandbox workspace, ~/workspace/) repo-history-census-2026-10-31.md — per-repo blob...
Open Graph Description: Low priority — standing standard task + tracking. Established 2026-10-31 from a measured fleet-wide repo hygiene census ordered by Drew. Source documents (sandbox workspace, ~/workspace/) repo-hist...
X Description: Low priority — standing standard task + tracking. Established 2026-10-31 from a measured fleet-wide repo hygiene census ordered by Drew. Source documents (sandbox workspace, ~/workspace/) repo-hist...
Opengraph URL: https://github.com/developing-today/code/issues/3205
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Standard task: per-repo hygiene census + cleanup documentation (low priority)","articleBody":"**Low priority — standing standard task + tracking.** Established 2026-10-31 from a measured fleet-wide repo hygiene census ordered by Drew.\n\n## Source documents (sandbox workspace, `~/workspace/`)\n\n- `repo-history-census-2026-10-31.md` — per-repo blob census of main-branch history: junk classes, packed/uncompressed sizes, fresh-clone simulations, rewrite verdicts\n- `repo-inventory-2026-10-31.md` — full inventory: every repo across dezren39 + all member orgs, with commit counts and first/last commit dates\n\n## Per-repo hygiene notes (filed 2026-10-31)\n\n- dezren39/hatch-personal — https://github.com/dezren39/hatch-personal/issues/12\n- dezren39/hatch — https://github.com/dezren39/hatch/issues/1\n- developing-today/code — https://github.com/developing-today/code/issues/3204\n- developing-today/opencode — https://github.com/developing-today/opencode/issues/1101\n- developing-today/openchamber — https://github.com/developing-today/openchamber/issues/1069\n- dezren39/nix — https://github.com/dezren39/nix/issues/1265\n\n## Fleet-wide findings\n\n- **Scope:** 863 repos across 17 owners (dezren39 + 16 orgs); **825 repos have commits; 635 are forks.** Most fleet size is upstream history in forks, not our junk.\n- **Fresh clones are already lean.** For the six repos deep-dived (blob-level census), fresh main-only clones run 10–449 MB, and GitHub's repo sizes track the measured main packs within ~±10% — there is no hidden server-side bloat. (An early reading suggesting ~1.9 GB of GitHub-side sprawl was a fabricated tool output, retracted in the census doc after two independent re-runs agreed with on-disk measurement.)\n- **No history rewrites anywhere.** The best case in the fleet (hatch-personal) would save 55 MB packed; the costs — every clone/worktree invalidated (~150 sandbox worktrees plus laptop primaries), open PRs orphaned (code 53, opencode 15, openchamber 12, nix 6, re-measured 2026-10-31), all cited SHAs stale — exceed the saving everywhere. The two forks (opencode, openchamber) must **never** be rewritten: it would sever upstream sync permanently, and on public repos the old history survives in forks and PR refs regardless.\n- **The only real saving is local-clone `git gc`** + stale-ref cleanup (e.g. hatch-personal local `.git` 1.6 GB vs a 183 MB repo; hatch local 1.5 GB vs 100 MB). **Deferred by Drew's choice** (\"locally is fine for now\", 2026-10-31) — no SHAs change when it eventually happens.\n- **Tip hygiene beats history surgery.** hatch-personal PR #11 (2026-10-31) untracked 4,433 scratch entries and gitignored the scratch classes; code's tip is already clean except one 12.5 MB doc file. Keeping junk out going forward is the whole game.\n\n## The recurring standard task\n\n**Quarterly** (and ad hoc when triggered):\n\n1. Re-run the repo inventory (all owners, commit counts + date ranges) and the blob census for the fleet's actively developed repos.\n2. File or update a per-repo hygiene note (same title pattern: `Repo hygiene: history & tip cleanup notes (low priority, measured \u003cdate>)`) in any repo where:\n - the main-branch pack crosses **~250 MB**, or\n - junk classes (build outputs, binaries, logs, scratch/dump dirs, committed databases) appear **at the tip**, or\n - a repo's verdict changes (e.g. Roc artifacts in code confirmed accidental → untrack + gitignore at tip).\n3. Update this issue with links to the new/updated per-repo notes and a one-line fleet summary.\n4. **Never** rewrite history as part of this task — especially never on forks. Any proposed rewrite needs Drew's explicit per-repo approval with the blast radius spelled out.\n5. Standing rules enforced by the census: gitignore scratch classes; no binaries/logs/build outputs at the tip; runtime state files live outside repos (`~/.local/state/`, pm-aggregator precedent) with summaries committed instead.\n\n## Open items carried by the per-repo notes\n\n- code: are `pkgs/roc` `libhost.a` / `.rh` / `dynhost` + `build` outputs intentional distribution artifacts? Is `doc/NanoPi` (12.5 MB, tip) a keeper?\n- hatch-personal: relocate in-place state JSONs out of the repo? Optional local `git gc` (deferred by choice).\n- nix: is `.lootbox/lootbox.db` (2.8 MB) intentional?\n- opencode / openchamber / hatch: measured clean or upstream-owned; no open actions.\n\n## Acceptance criteria\n\n- The per-repo hygiene census is re-run on the stated cadence (quarterly, or sooner if a repo's main pack crosses ~250 MB or junk classes appear at the tip) and the census + inventory documents are refreshed.\n- Every fleet repo's hygiene verdict (rewrite / never-rewrite / no action) stays on record in its per-repo notes issue, linked from this tracking issue.\n- No history rewrite is performed under this task without a fresh measured case that beats the verdicts already recorded.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-31T20:05:15Z","url":"https://github.com/developing-today/code/issues/3205"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:184e87d3-609d-a790-cc3c-9ca2d27193f7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DDF6:804E:21A818:2C2474:6B0612E5 |
| html-safe-nonce | bc64dcc79d4d4ef2861a643728fa144907836a86fc95c802586008558b421c18 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREY2OjgwNEU6MjFBODE4OjJDMjQ3NDo2QjA2MTJFNSIsInZpc2l0b3JfaWQiOiIxODM5OTgwMTMxODg5MDU4NTMzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 67d09c0018f792092e003f14d157181e8af08da174c10eb62154d6cf4a09d3b2 |
| hovercard-subject-tag | issue:6139229003 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/3205/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c6046ea116c1c1e614db6f0a1fd351f9942a19644187f85d8b67db6a14cc9572/developing-today/code/issues/3205 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c6046ea116c1c1e614db6f0a1fd351f9942a19644187f85d8b67db6a14cc9572/developing-today/code/issues/3205 |
| og:image:alt | Low priority — standing standard task + tracking. Established 2026-10-31 from a measured fleet-wide repo hygiene census ordered by Drew. Source documents (sandbox workspace, ~/workspace/) repo-hist... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | e58943f0186bb8d97b217393c2724a49ab47e4aefefc43595a90fa04699066c9 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 23517473abc6d5da019b4958bd421644e98a418b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width