docs(hub v0.108.0): the delivery grain, the cooldown ruling, and gate 11's first subject
gates / gates (push) Successful in 15s

The alarm ladder gains §6.2 - which events are per-app, per-run, per-tier or
coarse, and why the default is coarse. CONTEXT records two rulings: the grain is
allow-listed rather than inferred from the payload, with crossdrive_failed as
the proof that a payload rule would have been wrong; and a finding recorded only
in REPORT.md has a lifetime of one session.

R-389 closed and compressed, keeping its rules and naming the commit whose
git show returns the full text. R-390 and R-391 left open.

REPORT.md is gate 11's first real subject and passes: six observations, two
FILED, four NOT-A-FINDING with their reasons. Three of those declarations are
things a tidier report would have omitted - the gate's own spec would have
passed the item it was built to catch, the burst has no ceiling, and ArgoCD
said "successfully rolled out" while still running the old image.

STATUS carries forward the one thing outstanding: the controller floor still
reads 0.222.0 while the golden reads 0.223.0.
This commit is contained in:
admin committed 2026-08-23 14:12:23 +02:00
1 parent 45659bdc5a
commit ebdc04601d
24 files changed
+2514 -111

No files matched your search

+53
View File
@@ -14,6 +14,59 @@
> language, one screen, no identifiers in the prose. Same subjects, different readers; merging them
> would make one of the two audiences stop reading. `STATUS.md` is also a **view of `OPEN-ITEMS.md`**
> and holds nothing of its own; this file does hold its own content, namely the standing rulings below.
## Cooldown GRAIN is allow-listed, never inferred from the payload (2026-08-23, R-389)
**[RULING] Per-app cooldown is a NAMED REGISTER (`perAppCooldownEvents`), not a rule of the form "if
the details carry a `stack_name`, split per app".** The backup family's cooldown is coarse **on
purpose** — R-97a and R-182 exist so one full disk sends one digest rather than one mail per app.
**[FACT] The payload-shape rule would have been wrong, and provably so.** `crossdrive_failed` is
severity `error`, reaches the operator leg, and carries `stack_name` through **`CrossDriveDetails`**,
a different struct from `AppDetails`. Anything keying off the field would have split it silently.
**That is why `cooldownStackSuffix` takes the EVENT TYPE as well as the details** — an asymmetry with
`cooldownTierSuffix`/`cooldownRunSuffix`, and the asymmetry IS the safety property: `tier` and
`run_id` appear only on types that want that grain; `stack_name` does not have that property.
**[RULING] `app_start_failed` gets per-app because it has NO DIGEST.** There is no `apps_down_run`
summarising a scan the way `backup_run_failures` summarises a run, so per-app is the only grain that
does not lose alarms. **The hour did not change** — the grain was the complaint, not the length.
**[FENCE] The fenced act is adding an entry to `perAppCooldownEvents` for a type whose family has a
digest or a deliberately coarse cooldown.** Reading it is fine.
**[MEASURED] Burst volume, so it is a number and not an impression:** three apps in one scan →
**3 attempted, 3 sent, 0 suppressed**. Reference box has 8 deployed apps, so a total outage is 8
mails. It scales linearly and has no ceiling; the reopening condition is a box big enough that a
total outage is unreadable, and the answer there is a digest, not a wider cooldown.
## A finding recorded only in REPORT.md has a lifetime of ONE SESSION (2026-08-23, R-389 / gate 11)
**[FACT] This cost a day.** The cooldown-grain defect was measured live on 2026-08-23, written under
`## Observations` in `REPORT.md`, and written **nowhere else**. `REPORT.md` is overwritten every
session by this project's own convention. It had no register row and had to be re-derived the next
day. Same shape as R-341.
**[FACT] The instruction invited it.** `PROMPT-TEMPLATE.md` §15 asked for observations *"documented,
NOT acted on"*, and "documented" was satisfied by the paragraph. **The template was the defect**, and
it was corrected in the same session that built the mechanism.
**[MECHANISM] Gate 11 (`scripts/observations_gate.py`).** Every numbered item in a `REPORT.md`
observations section must carry `FILED: R-NNN` (which must resolve) or `NOT-A-FINDING: <reason>`. It
REFUSES; it does not warn. It PASSES quietly when there is no observations section, deliberately — a
gate that taxes every push gets disabled within a week.
**[RULING, and it contradicts the task that commissioned it] A bare mention of an R-number does NOT
satisfy the gate.** The specification said an item may "cite an R-NNN that resolves" — **that rule
would have passed the very item the gate was built to catch**, because the lost item cited `R-182` as
an *analogy*. No parser can tell citation-as-precedent from citation-as-filing by reading prose. The
marker is explicit for that reason, and the discrepancy is recorded in the gate's docstring rather
than quietly resolved.
**[GOTCHA] Registered in three runners, not four.** `catalog_gates.py` has no shared-gate mechanism —
`run_gate` joins against its own `scripts/` and the loop appends `--all` to every gate — so
registering there needs its contract widened. Filed as **R-391** rather than left as a sentence,
which is this session's whole lesson.
## The severity a controller sends is the HUB's vocabulary, and getting it wrong deletes the alert (2026-08-23, R-329 / R-387)
**[RULING] The set is exactly `{info, warning, error, critical}`.** The hub **coerces anything else to