gofmt gate in agent_gates.py with its decoys (R-1160); REPORT for the day
gates / gates (push) Successful in 49s

This commit is contained in:
admin committed 2026-10-19 10:26:27 +02:00
1 parent 1edfd8e331
commit 0cbd500154
5 files changed
+127 -15

No files matched your search

+10 -15
View File
@@ -1,17 +1,12 @@
# REPORT — agent v0.160.0 (2026-10-19, day brief)
# REPORT — agent: gofmt clean-up and gate (2026-10-19, second day brief)
**Released on the operator's yes and running on demo-hp, Tester 1 and demo-felhom; NOT vouched** (the operator's act):
version 0.160.0, sha256 `7ebb547f2b1ab93544ba828d3040351b60c4126327a5b85bbcb33f8f2b3dfca1`, config bundle
`6b06090190ff609af1fe9842447ebf385fd52da4be382bc7ca708b558c8e202f`.
No release. Agent 0.160.0 stays the newest release; the operator vouched it on 2026-10-19 (08:24).
- R-978 (an abandoned second ceremony keeps the first code), R-973 (the whole-guest cadence cap), R-1093 (an empty
partition is blank), **R-1149** (the local tier keeps one copy per day: `keep-daily=N`, operator D17), **R-1151** (the new
package reaches the hub only at `POST /escrow/ceremony/confirm` with two typed words; an old controller keeps the claim
order).
- Proven on demo-hp: a normal whole-guest backup green and counted by the cap; the escrow confirm and abandon cases through
the wizard's own calls (code 1 opens the hub's package; an abandoned code 2 opens nothing); an empty partition formatted
through the real route with no confirmation (a RAM disk), and the confirmation asked once it held ext4 (the control).
- After the release, unreleased: `4545819` — two stale texts (no behaviour change).
Tests and red-proofs: `CHANGELOG.md` v0.160.0. Evidence: felhom.eu `documentation/audits/day-2026-10-19/P1/`. Full report:
felhom.eu `REPORT-day-2026-10-19.md`.
- `1edfd8e` — `gofmt -w` on the 14 files that were not gofmt-clean. Formatting only; `go build`, `go vet` and
`go test ./...` green before the commit.
- `scripts/gofmt_gate.py` — every Go file under `cmd/` and `internal/` is gofmt-clean (R-1160), the controller's
`gofmt_gate.py` shape: exit 1 names each file, a missing gofmt is INCONCLUSIVE on a dev machine and NOT CHECKED (out
loud) in CI. Registered in `agent_gates.py` (fast set, so the pre-push hook runs it).
- Decoys (`scripts/test_gate_decoys.py`, `gofmt_cases`): an unformatted file in a scratch copy → rc 1 naming it; the
formatted twin → rc 0; no Go + CI → rc 0 "NOT CHECKED in CI"; no Go on a dev machine → rc 2. Red-proof: with the
conviction switched off, the FACT case reported `rc=0 expected 1 - LIVE HOLE`. Restored; `agent_gates.py` all OK.