refused-artifact: a standing U3x release refusal offers no policy door and no exit, so the leg's second window can never be opened (and no operator could either) #1657

Closed
opened 2026-09-20 08:11:55 +00:00 by matou-build-agent · 1 comment

The failure (not yet reached by a drive — the leg behind it has been red four drives running)

With rolled-back healed at 9cf14557, the next drive reaches refused-artifact. That leg cannot pass as written, and the reason is a product gap, not a harness one.

Evidence

  1. app/tests/e2e/journey.updates.spec.ts:463 opens the SECOND maintenance window (the operator's second attempt at D) while U3x stands from D's first refusal.
  2. app/tests/e2e/fixtures/updatesDrive.ts:358-370 — setMaintenanceWindow polls for [data-action="open-policy"], leaving only a standing U4 applied screen on the way (returnToUpdates, line 364). It reds after ROLLOUT_BUDGET_MS with the U5 policy door (open-policy) to open the maintenance window — the same gate text drive 20260920T011806Z died on.
  3. dashboard/src/components/provisioning/RefusedScreen.vue:104-112 — the open-policy button is v-if="isList": only the channel-refused list frame carries it. A release refusal that is still auto-retrying (v-else-if="!view?.quarantined", lines 116-125) offers exactly two things: open-logs and quarantine-now. No policy door, and no return-to-updates — that one is the v-else, rendered only once quarantined (line 127-135).
  4. dashboard/src/components/provisioning/UpdatesSurface.vue:44-45 renders U3x whenever rollout.refused && !returnedToUpdates, and returnedToUpdates (line 274) resets on every mount — so re-opening the surface cannot get past it.
  5. internal/update/rolloutview.go:120-123 makes it permanent by design: "a rollback (U4x) or a refusal (U3x) holds the screen for good, because each still asks the operator something."

The suspected layer

Product (dashboard + the U3x design contract), not the harness. Composed, 3 + 4 + 5 mean a community with one refused release is locked out of its own update policy until that release quarantines — it cannot change its maintenance window, its channel, or its auto-security setting from any screen. That is a real operator-facing hole the drive happens to have walked into, not merely a test-reachability problem.

Why this needs a ruling rather than an in-lane heal

The harness-only workaround is to press U3x's "Don't try again" (quarantine-now → EndEarly) instead of opening a second window. That would make the leg green while changing what it proves — from "a second refusal quarantines D (ADR 0067 / DDR 0250)", the two-attempt budget, to "the operator forced a quarantine", which the budget never ran. Refusal rule 1: the honest fix is not in the harness.

The ruling needed is on the product surface (rule 3, one-way-door content): does a standing, still-retrying U3x release refusal carry the U5 policy door (as the list frame already does, RefusedScreen.vue:104), or a "Back to Updates" exit, or both — and does the same question apply to a not-yet-quarantined U4x, which is equally exitless (RolledBackScreen.vue:73-92)? DDR 0250 and DDR 0261 are the affected contracts, with docs/ux/wireframes/p4b-updates/p4b-u3x-refused.html as the wireframe to amend.

drive 20260920T070007Z red at rolled-back: C was not quarantined after a second rolled-back health check (ADR 0067) expect(locator).toBeVisible() failed Locator: locator('[data-field="quarantined-updates-c"]') Expected: visible Timeout: 108000
evidence: /home/swarm/swarm/Matou/idss/test-results/private-path/20260920T070007Z on matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was captured

## The failure (not yet reached by a drive — the leg behind it has been red four drives running) With `rolled-back` healed at 9cf14557, the next drive reaches `refused-artifact`. That leg cannot pass as written, and the reason is a product gap, not a harness one. ## Evidence 1. `app/tests/e2e/journey.updates.spec.ts:463` opens the SECOND maintenance window (the operator's second attempt at D) **while U3x stands** from D's first refusal. 2. `app/tests/e2e/fixtures/updatesDrive.ts:358-370` — `setMaintenanceWindow` polls for `[data-action="open-policy"]`, leaving only a standing U4 *applied* screen on the way (`returnToUpdates`, line 364). It reds after `ROLLOUT_BUDGET_MS` with `the U5 policy door (open-policy) to open the maintenance window` — the same gate text drive `20260920T011806Z` died on. 3. `dashboard/src/components/provisioning/RefusedScreen.vue:104-112` — the `open-policy` button is `v-if="isList"`: only the **channel-refused list** frame carries it. A **release** refusal that is still auto-retrying (`v-else-if="!view?.quarantined"`, lines 116-125) offers exactly two things: `open-logs` and `quarantine-now`. No policy door, and no `return-to-updates` — that one is the `v-else`, rendered only once quarantined (line 127-135). 4. `dashboard/src/components/provisioning/UpdatesSurface.vue:44-45` renders U3x whenever `rollout.refused && !returnedToUpdates`, and `returnedToUpdates` (line 274) resets on every mount — so re-opening the surface cannot get past it. 5. `internal/update/rolloutview.go:120-123` makes it permanent by design: "a rollback (U4x) or a refusal (U3x) holds the screen for good, because each still asks the operator something." ## The suspected layer Product (dashboard + the U3x design contract), not the harness. Composed, 3 + 4 + 5 mean a community with one refused release is **locked out of its own update policy** until that release quarantines — it cannot change its maintenance window, its channel, or its auto-security setting from any screen. That is a real operator-facing hole the drive happens to have walked into, not merely a test-reachability problem. ## Why this needs a ruling rather than an in-lane heal The harness-only workaround is to press U3x's "Don't try again" (`quarantine-now` → `EndEarly`) instead of opening a second window. That would make the leg green while changing what it proves — from *"a second refusal quarantines D (ADR 0067 / DDR 0250)"*, the two-attempt budget, to *"the operator forced a quarantine"*, which the budget never ran. Refusal rule 1: the honest fix is not in the harness. The ruling needed is on the product surface (rule 3, one-way-door content): does a standing, still-retrying U3x release refusal carry the U5 policy door (as the list frame already does, `RefusedScreen.vue:104`), or a "Back to Updates" exit, or both — and does the same question apply to a not-yet-quarantined U4x, which is equally exitless (`RolledBackScreen.vue:73-92`)? DDR 0250 and DDR 0261 are the affected contracts, with `docs/ux/wireframes/p4b-updates/p4b-u3x-refused.html` as the wireframe to amend. drive `20260920T070007Z` red at `rolled-back`: `C was not quarantined after a second rolled-back health check (ADR 0067) expect(locator).toBeVisible() failed Locator: locator('[data-field="quarantined-updates-c"]') Expected: visible Timeout: 108000` evidence: `/home/swarm/swarm/Matou/idss/test-results/private-path/20260920T070007Z` on matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was captured <!-- rehearsal-sig: d4b0dc7b8ac9 -->
Author
Member

Ruled by agent under ADR 0174 — veto anytime

This is a two-way, design-tier accept (ADR 0174 rule 1c): revertible with a commit, provable by existing tests, and not on the one-way-door list — no personal credentials, no security-posture widening (the U5 door and its auto-security toggle already exist and are the operator's own, ADR 0017; this only adds a navigation path to them), no member/public-facing trust copy change, no data destruction, no spend. The ticket was routed ready-for-session, not ready-for-human, and this is exactly the sibling decision DDR 0261 (#1646) made for the applied screen.

The ruling (DDR 0262)

The suspected layer was right: this is a product hole. Composed, evidence 3+4+5 mean a community with one refused release (or one rolled-back release) is locked out of its own update policy — window, channel, auto-security — from every screen until that release quarantines. That is a real operator-facing sovereignty hole (ADR 0017), not a test-reachability quirk.

A standing (still-retrying, not-yet-quarantined) refusal (U3x) and rollback (U4x) carry the U5 policy door — the same door the release-list refusal frame already offers (RefusedScreen.vue v-if="isList"). It opens U5 and returns to the same standing frame, so the refusal/rollback still stands and still asks the operator to decide (DDR 0250/0261 preserved).

  • Not a full "Back to Updates" exit on the standing state: that would contradict DDR 0261 rule 2 (a refusal/rollback still wins the landing) and is ineffective anyway (returnedToUpdates resets on mount, so re-opening slams back to U3x/U4x). The in-frame door is the surgical fix — it survives re-mount and does not abandon the pending decision.
  • Quarantined refusal/rollback is unchanged: it keeps its Back to Updates exit (→ U1, where U1's policy door lives) and carries no in-frame door.
  • Both U3x and U4x, per the ticket's own question — a not-yet-quarantined U4x was equally exitless (RolledBackScreen.vue:73-92).

Proof: dashboard/tests/unit/updatesRefused.test.ts + rollback.test.ts (red-first) — the standing frames render open-policy beside their decide-controls; the quarantined frames do not; open-policy from a standing U3x/U4x lands on U5 and Save returns to the same standing screen, not U1. This confirms the refusal keeps holding the operator after a policy change.

Close-report — what landed

Commit 12adef99 on main.

  • RefusedScreen.vue / RolledBackScreen.vue / UpdatesSurface.vue — the U5 door on the standing frames, wired to the existing onOpenPolicy (U1 → U5), returning to the standing screen on save.
  • DDR 0262 (new); DDR 0250 + DDR 0261 cross-referenced (amended, rulings unchanged).
  • Flow docs/ux/flows/p4b-updates.mermaid — edges U3x → U5 and U4x → U5.
  • Wireframes p4b-u3x-refused.html + p4b-u4x-rolled-back.html amended (the U4x frame also gained the retry-by-hand affordance #1654 landed in the component but never drew).
  • Harness (journey.updates.spec.ts / updatesDrive.ts): the refused-artifact leg now opens its second window through U3x's own policy door (the door setMaintenanceWindow already polls for), and its tail reaches U1's quarantined-<D> row through the quarantined screen's Back to Updates door (waitForScreen('quarantined') + leaveQuarantinedScreen — the proven rolled-back pattern) instead of a refreshUpdates a held U3x defeats. This preserves what the leg proves — a second refusal quarantines D (ADR 0067 / DDR 0250), the two-attempt budget — rather than the harness-only quarantine-now shortcut refusal-rule 1 rejected.

Green offline: dashboard vitest 1756/1756 (incl. the red-first cases), app fixture vitest 40/40, vue-tsc + eslint + prettier clean.

Live proof rides #1614's next Updates-lane drive (a free local-KVM drive) — the same executor tail #1646/#1650/#1654/#1655 land on. Closing on offline-green per the #1614 updates-lane finding pattern; re-open if the drive's refused-artifact leg reds against this.

## Ruled by agent under ADR 0174 — veto anytime This is a two-way, design-tier accept (ADR 0174 rule 1c): revertible with a commit, provable by existing tests, and not on the one-way-door list — no personal credentials, **no security-posture widening** (the U5 door and its auto-security toggle already exist and are the operator's own, ADR 0017; this only adds a navigation path to them), no member/public-facing trust copy change, no data destruction, no spend. The ticket was routed `ready-for-session`, not `ready-for-human`, and this is exactly the sibling decision DDR 0261 (#1646) made for the *applied* screen. ### The ruling (DDR 0262) The suspected layer was right: this is a **product** hole. Composed, evidence 3+4+5 mean a community with **one** refused release (or one rolled-back release) is locked out of its own update policy — window, channel, auto-security — from *every* screen until that release quarantines. That is a real operator-facing sovereignty hole (ADR 0017), not a test-reachability quirk. **A standing (still-retrying, not-yet-quarantined) refusal (U3x) and rollback (U4x) carry the U5 policy door** — the same door the release-**list** refusal frame already offers (`RefusedScreen.vue` `v-if="isList"`). It opens U5 and **returns to the same standing frame**, so the refusal/rollback still stands and still asks the operator to decide (DDR 0250/0261 preserved). - **Not a full "Back to Updates" exit** on the standing state: that would contradict DDR 0261 rule 2 (a refusal/rollback still wins the landing) and is ineffective anyway (`returnedToUpdates` resets on mount, so re-opening slams back to U3x/U4x). The in-frame door is the surgical fix — it survives re-mount and does not abandon the pending decision. - **Quarantined** refusal/rollback is unchanged: it keeps its *Back to Updates* exit (→ U1, where U1's policy door lives) and carries no in-frame door. - **Both U3x and U4x**, per the ticket's own question — a not-yet-quarantined U4x was equally exitless (`RolledBackScreen.vue:73-92`). Proof: `dashboard/tests/unit/updatesRefused.test.ts` + `rollback.test.ts` (red-first) — the standing frames render `open-policy` beside their decide-controls; the quarantined frames do **not**; `open-policy` from a standing U3x/U4x lands on U5 and **Save returns to the same standing screen**, not U1. This confirms the refusal keeps holding the operator after a policy change. ### Close-report — what landed Commit **12adef99** on `main`. - `RefusedScreen.vue` / `RolledBackScreen.vue` / `UpdatesSurface.vue` — the U5 door on the standing frames, wired to the existing `onOpenPolicy` (U1 → U5), returning to the standing screen on save. - **DDR 0262** (new); **DDR 0250** + **DDR 0261** cross-referenced (amended, rulings unchanged). - Flow `docs/ux/flows/p4b-updates.mermaid` — edges U3x → U5 and U4x → U5. - Wireframes `p4b-u3x-refused.html` + `p4b-u4x-rolled-back.html` amended (the U4x frame also gained the `retry-by-hand` affordance #1654 landed in the component but never drew). - **Harness** (`journey.updates.spec.ts` / `updatesDrive.ts`): the `refused-artifact` leg now opens its **second window through U3x's own policy door** (the door `setMaintenanceWindow` already polls for), and its tail reaches U1's `quarantined-<D>` row through the quarantined screen's *Back to Updates* door (`waitForScreen('quarantined')` + `leaveQuarantinedScreen` — the proven `rolled-back` pattern) instead of a `refreshUpdates` a held U3x defeats. This preserves what the leg proves — a *second refusal* quarantines D (ADR 0067 / DDR 0250), the two-attempt budget — rather than the harness-only `quarantine-now` shortcut refusal-rule 1 rejected. **Green offline:** dashboard vitest 1756/1756 (incl. the red-first cases), app fixture vitest 40/40, vue-tsc + eslint + prettier clean. **Live proof rides #1614's next Updates-lane drive** (a free local-KVM drive) — the same executor tail #1646/#1650/#1654/#1655 land on. Closing on offline-green per the #1614 updates-lane finding pattern; re-open if the drive's `refused-artifact` leg reds against this.
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.

Reference
Matou/idss#1657
No description provided.