Repository navigation
Conversation
…ts are retained (HACK-2576) Every run stayed in `run/graphs` until an explicit `graph archive`, which no `hack` command ran: each `down --remove-data` followed by `up` and each failed fresh start used a place for good, and at 64 every fresh `up` of every project refused with `graph_retention_budget` for ever. `archive::make_room`, called by both admission checks for a fresh run under the provider lease they already hold, archives removed attempts oldest first with the same proof `graph archive` uses (every owned resource absent, no pending journal) until there is room. Runs that keep data, pending journals and receipts that cannot be read are never touched; if runs that keep data fill the inventory, the refusal now says to remove the data of a project no longer used. The archive's own bound (256) is reported as it is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…refusals are named (HACK-2576) Independent review: a fresh start may archive a removed run that its project's `down --remove-data` has not yet confirmed; inspection then found no active directory and that project stayed stuck. Inspection now reads a removed run from the archive, and removing its data again is complete as it is. `make_room` reads no receipt below the bound, reports engine and archive errors as they are instead of swallowing them, and names the case where removed runs could not be proven removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r site (HACK-2576) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Ready for lead: #1136 (draft) at A check for the VM, if you want one before the cache PR:
One decision for you or the owner. The archive keeps 256 runs, and past that
Next for me: the 64-cache-volume dead end, as its own PR. A cache volume is shared by fingerprint across runs, so it may be evicted only when no receipt in The listing you asked how to take. The foreground transport root is
|
|
Lead read of ec0696c: accepted. Real VM: 66 fresh runs whose data was removed, every start worked, the home ended at 64 active runs and 3 archived, and a final 🤖 Generated with Claude Code |
HACK-2576, second PR, part 1: the 64-retained-runs dead end from the audit.
Before:
run/graphsuntil an explicitgraph archive, which nohackcommand runs.hack down --remove-datafollowed byup, each failed fresh start and each branch instance used a place for good.upof every project refused withgraph_retention_budgetfor ever.Now (
archive::make_room):admission.rscheck_usingandmod.rscheck_reservations, whenexceptisNone. They already hold the provider lease.removedattempts, oldest receipt first, with the same proofgraph archivemakes (every owned resource absent, no pending journal, caches resolved), until there is room.down --remove-dataconfirmed the removal still confirms it.inspectreads a removed run from the archive, refusing any other phase there, and removing its data again is complete as it is.Review: one reviewer (a Claude subagent, read-only) over two rounds; the last is clean.
status::inspectdoesn't check the archive copy's stability: it is read-only, and the run is already removed.graph cleanup --retained-onlyon an archived relay-startup run can still refuse;hack downnever reaches it.Tests (Linux):
a_full_inventory_selects_only_removed_attempts_oldest_first;inspection_reads_an_archived_run_only_when_it_is_no_longer_active;Clippy is clean on Linux and
aarch64-apple-darwin --all-targets.Docs:
limitspage now says what a person sees and what to do.Not covered:
graph archivepath);No model change: this is a bound policy, not new state. The 64-cache-volume dead end follows in its own PR.
SVG · source
🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.