panel-apply: the brand re-apply fixture still picks the preset swatch #1506 deleted — DS2 offers only the PRIMARY picker + hex field #1593
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.
Reference
Matou/idss#1593
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?
The failure
Drive
20260918T173924Z(drive-rented-services, commit7759b45d) went red atpanel-apply— the only red of 31 legs (artifacts/legs.json; 30 green,artifacts/verdict.jsonfirstRedLeg: panel-apply). It failed on its own affordance guard, 30s toelement(s) not found:Nothing about the re-apply itself was reached: the leg died before Apply, so #1504's tooth (a brand re-apply riding the box's own redeploy) proved nothing this drive.
The evidence
The product deleted the control, deliberately.
ecab2b0f— "sandcastle: #1506 — Settings → Brand kit wears the founding page's anatomy; button reads 'Apply'", Ben's 2026-09-16 ruling off the Whakatōhea Demo — re-cutdashboard/src/components/shell/BrandKitScreen.vue's colours block to the founding anatomy (FoundingBrandKit.vue, DDR 0130 + DDR 0227). Its own message: "The preset swatch grid +oc-btn3 oc-setcolourcomposite are removed" and "drop the now-unused presetColours prop / PALETTE_PRESETS wiring". The template now carries a standing comment saying so —BrandKitScreen.vue:52-53: "The preset swatch row is gone — what an operator sees at founding and here in Settings is one screen."ecab2b0fis an ancestor of the drive's commit7759b45d(git merge-base --is-ancestorexits 0), so the box carried bits with no swatch row.grep -rn 'data-action="palette-' dashboard/src app/srcreturns nothing — the selector matches no element in either app.PALETTE_PRESETSstill stands atdashboard/src/lib/brandkit.ts:54-60(Navy#2C4770at :57) but is now imported by nothing indashboard/srcorapp/src; it is dead data, not a rendered palette.The box agrees, in the drive's own snapshot.
artifacts/journey.rented-services-pr-f12e2-journey-on-a-rented-gateway/error-context.md:47-60is the editor as it rendered at the moment of failure — the new anatomy, no swatches:The alert corroborates the mechanism: the PRIMARY hex textbox is EMPTY (
#619793is its placeholder,BrandKitScreen.vue:76), because founding lands compiled artifacts but writes noidss/brand-kit.json— exactly what the fixture's own comment atprovision.ts:1787-1788records. Nothing ever set the accent, soValidateis already refusing the draft. No ssh to the live box was needed or taken: this is a missing DOM node in the operator dashboard's own bundle, and the snapshot is the whole answer.The stale fixture.
app/tests/e2e/fixtures/provision.ts:1791-1798:Its doc comments carry the same dead contract:
provision.ts:1772-1774("The accent is picked off the preset palette (data-action="palette-<hex>", BrandKitScreen.vue)"),:1757("a preset hex the swatch palette offers") and:306(REAPPLY_ACCENT's "the#2C4770preset").Blast radius — two drives, not one.
reapplyBrandKitInSettingshas two callers:app/tests/e2e/journey.rented-services.spec.ts:670(this drive's leg 18b) andapp/tests/e2e/settings-brand-reapply.live.spec.ts:153(the #365 re-apply drive). Both are red on this selector until the fixture is repaired; the kept-demo profile is unaffected, as it filterspanel-applyout (app/tests/e2e/fixtures/demoProfile.ts:76).Suspected layer
Harness/fixture, not product. The product is doing what #1506 ruled it should; the e2e fixture was not carried along in that commit.
ecab2b0fupdateddashboard/tests/unit/brandKitTheming.test.tsto the new anatomy but leftapp/tests/e2e/fixtures/provision.tspointing at the removed grid — the drift went unnoticed for two days becausepanel-applyonly runs on a paid rented-box drive.The proposed repair
Drive the accent through the control DS2 now offers, which is the same seam-compile path (
BrandKitScreen.onEdit→ validate → debounced compilePreview → the draft Apply commits) the swatch drove viaonPickColour. The exact idiom already exists in this repo for founding's identical anatomy —app/tests/e2e/fixtures/wizard.ts:150-153:So
provision.ts:1791-1798becomes: locateeditor.locator('[data-field="custom-hex"]'), guard it visible,.fill(kit.accent), and read it back withtoHaveValue(kit.accent)before clicking Apply. The value the LEG proves is untouched —assertNextcloudThemingstill readsprimary_coloroff the live guest'socc config:list themingand still demandsREAPPLY_ACCENT(#2C4770), a value founding's#619793kit could never land.REAPPLY_ACCENTitself should NOT change. The three stale doc comments (:306,:1757,:1772-1774) want updating in the same commit so the next reader is not sent back to the palette.Which refusal rule fired, and why
Rule 1 (would weaken a check). Any correct fix must remove
expect(swatch, 'no preset swatch for …').toBeVisible()atprovision.ts:1794-1797, and there is no byte-for-byte twin to re-add — the replacement guard asserts a DIFFERENT subject ([data-field="custom-hex"]rather than[data-action="palette-<hex>"]). That is a removed assertion whose subject changed, not a move, so the healer rails would refuse it. The only way to satisfy the line exactly as written is to put the preset swatch grid back intoBrandKitScreen.vue— which is the design #1506 deliberately removed, tripping rule 3 (a product-surface design/one-way decision) as well.The ruling wanted is narrow: confirm the fixture should FOLLOW #1506 (the swatch row is gone for good, and the PRIMARY hex field is the sanctioned equivalent drive), rather than #1506 having lost an affordance the re-apply arc still needs. Everything downstream of that ruling is mechanical and precedented.
drive
20260918T173924Zred atpanel-apply:no preset swatch for #2C4770 — pick one the palette offers expect(locator).toBeVisible() failed Locator: locator('[data-field="brand-kit-editor"]').locator('[data-action="palette-#2C4770"]') Expecteevidence:
/home/dev/swarm/Matou/idss/test-results/drive-rented-services/20260918T173924Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedClaimed by the #1547 babysitting session (Claude, Ben's laptop): the fixture types the accent into the PRIMARY hex field (
[data-field="custom-hex"], the same fill founding's wizard fixture uses) instead of clicking the deleted preset swatch. Landing now; this ticket closes through the API when it is on main.Landed on main as
df08e6c6:reapplyBrandKitInSettingsfills[data-field="custom-hex"]with the accent and asserts the value, instead of clicking the removedpalette-<hex>swatch. Type-check clean; fixture unit tests pass. Live proof is the next #1547 fire (panel-apply). Closing so the drive re-fires.