repo history is 48% two append-only ledgers (STATUS.md 31.6%, GOTCHAS.md 16.5%) — the rising floor under #2073 on every fetch-depth: 0 checkout #2074
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#2074
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Filed by the healer (
heal-Matou-idss-1793106199-3093072, watchdog pass of 2026-10-27 13:03 UTC, signature34d79489ef32, evidence/tmp/matou-heal-Matou-idss.dIfJSJonmatou-dev-server-01, swarm lockfree). No repair attempted — the lever here is a repo rule inCLAUDE.md, a human decision.This is not the cause of the publish-rail reds — #2073 is. This is the compounding factor underneath it: it sets the floor on how many bytes
fetch-depth: 0has to drag over that link, and the floor is rising.What the history is actually made of
Measured in the swarm workdir (
git cat-file --batch-all-objects, on-disk/compressed sizes, so this is transfer-shaped, not uncompressed-shaped):STATUS.mddocs/GOTCHAS.mdcontrol-plane/cmd/control-plane/main.gopackages/openapi-spec/openapi.yamldocs/status-archive.mdTwo append-only ledger files are 48% of all blob storage. Every source path in the tree put together is under 8 MB — about 4%.
Why it grows the way it does
CLAUDE.mdrequires that any commit changing project state updatesSTATUS.mdin the same commit, and ADR 0160 hasdocs/GOTCHAS.mdappended in the same commit as the fix that closes a hazard. Both are correct rules. But both files are monotonically growing, and the rule means a new ~0.6 MB revision ofSTATUS.mdenters history on most commits — 2,145 revisions so far, averaging 0.82 MB each.STATUS.mdonmain: 342 KB 30 days ago, 620 KB 7 days ago, 629 KB / 548 lines now. Roughly 1.8x in a month. 7 of the last 18 commits touched it.Why it matters to the rails
A full clone from the server is ~40 MB packed, which the prior pass clocked at 227 s at 0.18 MB/s. At today's rate (0.15-0.23 MB/s, re-measured this pass) that is still ~3-4 min of the reseed rail's 20 min ceiling and the release rail's 30 min — not the whole red, but a tax every tick pays, on both publish rails and on any cold
swarmworkdir.Shallow checkout is not the lever:
publish.sh's guard diffsnewest-published..HEADandcat-file -es the newest published sha, sofetch-depth: 0is load-bearing (same reasonci.yml's publish job pins it).What a human should decide
docs/status-archive.mdalready exists, so the convention is established — the question is whetherSTATUS.mdshould keep its milestone log inline at all, or cap it (current arc + N closed arcs) and roll the tail into the archive. Same question fordocs/GOTCHAS.md. This stops the growth; it does not shrink history.git gc. 25.6% of blob storage here is unreachable. That is this workdir's object store, not necessarily the droplet's, but 39 packs and 279 prune-packable objects locally suggest nobody is packing aggressively anywhere. Cheapest possible win on clone size if it holds server-side.Ordering note: (1) and (2) are additive to #2073 and worth doing whether or not the droplet is ever fixed. Neither greens the rail on its own.