Review sheet + Updates row show the UNION of notes across every cut a cumulative approval applies (part 3 of #1814) #1817

Open
opened 2026-09-24 05:06:18 +00:00 by matou-build-agent · 1 comment

What

Fix part 3 of #1814, split out as its own slice. #1814 landed the core: the feed now serves a signed recent-cuts window and a gateway records every cut it has not reached (each with its own notes), so SupersedeStale (#1746) folds the backlog. What remains is the operator-facing presentation of that backlog:

  1. The review sheet for a cumulative release shows the UNION of notes from current+1 to the release under review, grouped by cut (title + published time), so "Approve" is read against everything it applies — not just the newest cut's delta.
  2. The Updates row one-line summary says "N cuts since your version" (UpdatesScreen.vue) instead of only the newest cut's notes.

Why a separate ticket

This changes a P4b-U2 screen (dashboard/src/components/provisioning/ReviewUpdateScreen.vue, notes rendered at line ~21 as a single view.notes string) and its data contract (internal/update/review.go ReviewView.Notes string, dashboard/src/lib/updateReview.ts). Per CLAUDE.md rule 2b a UI surface should ship to a wireframe; there is none for a grouped-notes layout. Recommend running it through the design tier (grill-ux → wireframe → DDR → to-spec) so the data-field element contract for the grouped list is designed before build, and design-verify has a contract to check.

Seams to change

  • internal/update/review.go — Review(revision) gathers the pending cumulative cuts with sequence in (current, revision] and exposes them as a list (e.g. Cuts []CutNotes{Title, Published, Notes}); today it reads one record's Notes.
  • dashboard/src/lib/updateReview.ts — ReviewView carries the cut list.
  • dashboard/src/components/provisioning/ReviewUpdateScreen.vue — render the grouped list (new data-field contract) instead of the single notes string.
  • dashboard/src/components/provisioning/UpdatesScreen.vue — the pending/automatic row summary "N cuts since your version".

Acceptance sketch

  • Given a fleet at sequence N with cuts N+1..N+k pending as one cumulative release, when the operator opens the review sheet, then the notes of all k cuts appear, grouped by cut (title + published), newest-first.
  • Given k cuts since the running version, the Updates row reads "k cuts since your version".

Relates to: #1814, #1562, #1746, ADR 0248/0068, DDR for the U-series.

## What Fix part 3 of #1814, split out as its own slice. #1814 landed the core: the feed now serves a signed recent-cuts **window** and a gateway records **every** cut it has not reached (each with its own notes), so `SupersedeStale` (#1746) folds the backlog. What remains is the **operator-facing presentation** of that backlog: 1. **The review sheet for a cumulative release shows the UNION of notes** from `current+1` to the release under review, **grouped by cut** (title + published time), so "Approve" is read against everything it applies — not just the newest cut's delta. 2. **The Updates row one-line summary says "N cuts since your version"** (`UpdatesScreen.vue`) instead of only the newest cut's notes. ## Why a separate ticket This changes a **P4b-U2** screen (`dashboard/src/components/provisioning/ReviewUpdateScreen.vue`, notes rendered at line ~21 as a single `view.notes` string) and its data contract (`internal/update/review.go` `ReviewView.Notes string`, `dashboard/src/lib/updateReview.ts`). Per CLAUDE.md rule 2b a UI surface should ship to a wireframe; there is none for a grouped-notes layout. Recommend running it through the design tier (grill-ux → wireframe → DDR → to-spec) so the `data-field` element contract for the grouped list is designed before build, and `design-verify` has a contract to check. ## Seams to change - `internal/update/review.go` — `Review(revision)` gathers the pending cumulative cuts with sequence in `(current, revision]` and exposes them as a list (e.g. `Cuts []CutNotes{Title, Published, Notes}`); today it reads one record's `Notes`. - `dashboard/src/lib/updateReview.ts` — `ReviewView` carries the cut list. - `dashboard/src/components/provisioning/ReviewUpdateScreen.vue` — render the grouped list (new `data-field` contract) instead of the single `notes` string. - `dashboard/src/components/provisioning/UpdatesScreen.vue` — the pending/automatic row summary "N cuts since your version". ## Acceptance sketch - Given a fleet at sequence N with cuts N+1..N+k pending as one cumulative release, when the operator opens the review sheet, then the notes of all k cuts appear, grouped by cut (title + published), newest-first. - Given k cuts since the running version, the Updates row reads "k cuts since your version". Relates to: #1814, #1562, #1746, ADR 0248/0068, DDR for the U-series.
Author
Member

This was generated by AI during triage.

Triage Notes

Category: enhancement · State: needs-design (missing-design gate)

What we've established:

  • Verified against the codebase: the existing wireframe docs/ux/wireframes/p4b-updates/p4b-u2-review-update.html renders release notes as a single string (data-field="notes-body", line ~21) — exactly the view.notes string shape the ticket names. The grouped-by-cut layout this ticket asks for (Cuts []CutNotes{Title, Published, Notes} → a new data-field list contract) has no wireframe.
  • #1814 already landed the data backbone (signed recent-cuts window; per-cut records; SupersedeStale). What remains here is purely the operator-facing presentation of that backlog on a P4b-U2 screen plus the UpdatesScreen.vue summary row — both UI surfaces.
  • The ticket body itself recommends the design tier for the grouped-notes data-field contract; that matches the gate.

Routing: Per CLAUDE.md rule 2b and the missing-design gate, a new UI contract that has no wireframe is not ready-for-agent. Back to grill-ux-with-docs → wireframe (a grouped-notes revision of p4b-u2-review-update.html, and the "N cuts since your version" row on p4b-u1-updates.html) → DDR → to-spec, so design-verify has a contract to check. Then it returns to triage for ready-for-agent.

Two-way door: revertible by a later label change once the wireframe lands.

> *This was generated by AI during triage.* ## Triage Notes **Category:** `enhancement` · **State:** `needs-design` (missing-design gate) **What we've established:** - Verified against the codebase: the existing wireframe `docs/ux/wireframes/p4b-updates/p4b-u2-review-update.html` renders release notes as a **single** string (`data-field="notes-body"`, line ~21) — exactly the `view.notes string` shape the ticket names. The grouped-by-cut layout this ticket asks for (`Cuts []CutNotes{Title, Published, Notes}` → a new `data-field` list contract) has **no wireframe**. - #1814 already landed the data backbone (signed recent-cuts window; per-cut records; `SupersedeStale`). What remains here is purely the **operator-facing presentation** of that backlog on a P4b-U2 screen plus the `UpdatesScreen.vue` summary row — both UI surfaces. - The ticket body itself recommends the design tier for the grouped-notes `data-field` contract; that matches the gate. **Routing:** Per CLAUDE.md rule 2b and the missing-design gate, a new UI contract that has no wireframe is not `ready-for-agent`. Back to `grill-ux-with-docs` → `wireframe` (a grouped-notes revision of `p4b-u2-review-update.html`, and the "N cuts since your version" row on `p4b-u1-updates.html`) → DDR → `to-spec`, so `design-verify` has a contract to check. Then it returns to triage for `ready-for-agent`. Two-way door: revertible by a later label change once the wireframe lands.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#1817
No description provided.