gitea-image-prune: read the hub with the scoped token HUB_TOKEN, not HUB_PW (felhom 09 §3 decision 251)
Claude-Session: https://claude.ai/code/session_012qRErfCoiTkvDK9N5XHbzb
This commit is contained in:
1 parent
c9d5ed575c
commit
393af2292f
5 files changed
+29
-21
No files matched your search
@@ -1,12 +1,6 @@
|
||||
# REPORT — gitea-image-prune.sh gets the retention rule (2026-10-01)
|
||||
# REPORT — gitea-image-prune.sh uses the hub token (2026-10-15)
|
||||
|
||||
Felhom `09` §3 decision 62 (operator ruling, R-750). Full report: `felhom.eu/REPORT-calibre-name-and-prune-2026-10-01.md`.
|
||||
Felhom `09` §3 decision 251 (operator ruling 2026-10-15 11:38). Full report: `felhom.eu/REPORT-hub-tokens.md`.
|
||||
|
||||
- **Rule:** keep the newest 20 + every version in use (floor, vouched golden, vouched agent, `min_agent`, the golden's
|
||||
baked images, the running hub); refuse (exit 3) when the in-use list cannot be read; `--apply` only by a person.
|
||||
- **Test:** `tests/test-prune-plan.sh` — 7 checks pass; red-proof: the in-use check removed from `is_protected` → 3 fail
|
||||
(the plan deletes 5 and lists 0.262.0).
|
||||
- **Live dry-run, 2026-10-01 (nothing deleted):** in use — controller 0.285.0, golden 0.285.0, agent 0.138.0 and 0.131.0,
|
||||
hub 0.126.0, felhom-samba 1.1.0. Would delete: felhom-controller 70 tags, felhom-hub 8; every other package nothing.
|
||||
Evidence: `felhom.eu/documentation/audits/calibre-name-and-prune-2026-10-01/B/`.
|
||||
- **No `--apply` was run.**
|
||||
- The in-use list now reads the hub with the scoped token `HUB_TOKEN` (`floor:read`), not the operator password.
|
||||
- Proof: `tests/test-prune-plan.sh` passes (rc 0); a live dry-run read 6 in-use versions through the token and deleted 0.
|
||||
Reference in new issue
Block a user