Release notes an operator approves against cover a fraction of what the update applies — the channel feed serves ONE manifest, notes are per-cut deltas, and a gateway records only the cut it happens to see at a 15-min poll (tonight: 7 lines shown for… #1814
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1814
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?
Proven (whakatohea-demo gateway
134.199.167.181, control planeff4a5263, 2026-09-24 04:xx UTC)What the operator would read.
/var/lib/idss/update.jsonlists six pendingtestingpatches — seq 2725, 2726, 2727, 2731, 2732, 2739 — each with 1–7 note lines. Newest7d3d84fa(2739) notes: #1807, #1806, three app-report/ADR 0267 lines, one healer line.What the update actually applies. The gateway is at
ff4a5263= seq 2699 (git rev-list --count).7d3d84fais cumulative (patch), so approving it lands 40 commits (git log ff4a5263..7d3d84fa) — including the whole Destroy-community feature (#1785–#1792), the IDIP Members-tab redesign (PR #1796), #1778/#1779/#1782 service access, #1799, #1802. None of those appear in any listed release's notes. They sit in seq 2700–2724, 26 commits.Why they are invisible — three facts:
GET https://get.idss.nz/channel/testing.json→{manifest, signature}; the decoded manifest is{revision, sequence: 2739, kind, title, notes, signed_by, published, artifacts}— no list, noprevious.internal/matourelease/publish.gowrites exactly that (FeedPath=channel/<name>.json) and GCs old revision dirs keeping only the served release and the one before (publish.go:95-103).scripts/release-rail/publish.sh:157notes="$(git log --format='- %s' ${base}..${sha})"withbase="$newest"(the previous cut). Correct for a feed that lists every cut; wrong for one that shows only the newest.internal/update/update.go:376-441: a poll reads the single manifest, and if its sequence is above the channel high-water it appends ONE record and lifts the mark. Polls are ~15 min apart (last_checked04:05:07 → 04:20:07 → 04:35). This gateway's release source came up at 22:19:47Z (journal: "release source wired"); the first release it could see was 2725, published 22:24Z. Everything cut before 22:19Z (2700–2724) was never the newest at any of its polls, so it was never recorded —historyhas zero superseded entries; nothing was folded, it was simply never seen. The same happens to any two cuts closer together than one poll interval on a busy swarm night.Net: the review sheet (
ReviewUpdateScreen.vue:21, notes rendered verbatim) and the Updates row show an operator a fraction of what Approve will do to their community. Tonight the fraction was 7 lines for 40 commits. That is the U-series promise ("queued here for your approval, with plain-language release notes", DDR for ADR 0248) broken at the source, and #1562's lane.Fix
releases: [...]window (say the last 50 manifests, each still individually signed) or each manifest carriesprevious: <revision>and the rail keeps every cut's manifest under its revision dir (today GC keeps two). Either lets a gateway at seq N enumerate every cut in (N, newest].supersede.go) then folds them exactly as designed andhistoryshows what was folded — today the fold has nothing to fold.current+1to the release under review, grouped by cut (title + published time), so "Approve" is read against what it does. The Updates row's one-line summary says "N cuts since your version".publishkeeps the manifests the window promises.Adjacent, observed on the same store (not this ticket unless it is the same cause)
All six are
kind: patchundersecurity: apply-automatically(Kind.Automatic()→ security mode), yet every one isstate: pendingwithlast_attempt_atzero and no update-lane log line across the 02:00–04:00 UTC window. Either patches ontestingare meant to wait for approval and the state is mislabelled, or the automatic lane did not fire. Ben will read the Updates screen; filed separately if it is a second defect.Relates to: #1562, #1579 (the sequence floor), #1675, #1811 (Update now), ADR 0248, DDR for the U-series,
scripts/release-rail/publish.sh,internal/matourelease/publish.go,internal/update/update.go.swarm-claim host=elitebook-distributed-server-03 run=31549
(automated multi-host claim — lowest live claim id works this ticket)
services/nodes, the review view marshals them as null, and ReviewUpdateScreen callsview.services.joinon it #1815Ruled by agent under ADR 0174 — veto anytime.
This ticket embeds a design choice (the feed format) and is a 4-part epic. Two rulings, both two-way doors (revertible by a later commit, proven by tests I ran, not on the one-way list):
1. Feed format = a signed
releases: []window (option 1), backward-compatible. The channel doc keeps its top-level{manifest, signature}as the newest cut (so the operator app's readerapp/src/lib/matouChannel.tsand Go'sSource.Latestare unchanged — both ignore unknown keys), and gainsreleases: [...], each element an individually-signed{manifest, signature}pair. The Ed25519 signature covers only the manifest bytes, so each window entry self-verifies and the array itself needs no signature; a reader ranks and floors entries by their SIGNEDsequence, never by list order. Why two-way: additive field, no reader breaks, revertible; proven bymatouchannel.Recent+matourelease.Publishwindow tests.2. Scope this slice = the Go/rail core (fix parts 1, 2, 4); part 3 filed as a follow-up. Done here:
matouchannel.SignedFeed.Releases+Source.Recent([update.ReleaseWindow]) — enumerate every cut, bad top refuses loud, bad older entry skipped.Orchestrator.Pollwalks the window oldest-first, applying every existing #1579/#1631/#1674/#1690 rule per cut, recording each unseen cut — soSupersedeStale(#1746) finally has a backlog to fold.matourelease.Publishaccumulates the served feed's recent-cuts window (cap 50, dedup by revision).Deferred to a follow-up ticket: fix part 3 — the review sheet showing the union of notes grouped by cut, and the Updates row's "N cuts since your version" one-liner. That is a P4b-U2 screen change that should run through the design tier (grill-ux → wireframe → DDR → spec) rather than be invented ad hoc without a wireframe. The core enumeration/recording defect (the three named facts) is fixed regardless: a gateway now records every cut it has not reached, each with its own notes.
Part 3 (review-sheet notes union + Updates row summary) is filed as #1817 for the design tier.
close-report for #1814 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
patchcarries an unapprovedfeaturerelease onto the community by itself #1974