Skip to content

captures: all-recipes verification rejects the command-palette crop width #1841

Open

Description

@schlessera

Context

The expanded bun run capture:verify --all --out tmp/feature-capture-verification-all run on 5cf1d548f7bd3a314eb36394dc5db0268db97da6 fails after 114.25 seconds at desktop-commandpalette--write-selected in the pinned mcr.microsoft.com/playwright:v1.63.0-noble environment. Eight preceding static recipes passed source/readiness/pixel validation. The ordinary five-recipe CI capture verification passed separately; it does not select this palette recipe.

The palette profile declares an 800 × 1000 viewport and a 408 × 331 source/output crop in docs/process/feature-captures.md (capture-data profiles.palette, docs/process/feature-captures.md:322-338). The actual selected source box is {x:140,y:334.40625,width:520,height:331.171875}. captureStill correctly rejects the width mismatch (captureStill, scripts/captures/browser.ts:247-276). The named story's meta explicitly declares stageWidth: 520 (packages/ui-kit/stories/desktop/CommandPalette.stories.tsx:64-79); WriteSelected inherits that stage (packages/ui-kit/stories/desktop/CommandPalette.stories.tsx:91).

This failure prevents the all-recipes generator from reaching its later recipes and the second reproducibility pass. It is a source-backed crop divergence, not a screenshot tolerance or timeout failure.

Scope

Align the approved palette editorial crop with its actual named source and verify the complete catalogue. Bindings: docs/decisions/feature-captures.md, docs/decisions/example-corpus.md, and docs/process/feature-captures.md. Preserve the existing source-backed readiness, loaded locked fonts, themes, pinned image, crop guard and truthful feature/consumer/caption relationship.

Acceptance criteria

  • The palette profile reflects the intended named source geometry and produces a nonblank image with its selected write-effect row and required visible text inside the crop. Do not resize the product component merely to conceal stale editorial metadata.
  • The source/output dimensions, consuming slot and caption/claim limits remain explicit and consistent; record the selected source-backed crop rather than weakening the equality check.
  • Both complete all-recipes passes finish and their permitted nonce-only variation remains the sole exception to reproducibility. Preserve the original failing geometry receipt.
  • A restored mismatch fails the same source-crop assertion, and the corrected profile passes in the pinned offline environment with the guards unchanged.

No release milestone is assigned. No product or machine-contract change is selected.

Out of scope

No product palette resizing/redesign, comparator tolerance, guard removal, regression-baseline refresh, invented feature claims, provider traffic or publication. Preserve the named story and existing editorial intent; correct its capture metadata and affected consuming-slot dimensions rather than silently selecting a different feature composition.

Verification

Retain the original 408-versus-520 geometry failure, run the named recipe in the pinned offline browser with fonts/readiness/crop guards intact, then complete both all-recipes passes. Restore only the old mismatch to prove the same geometry assertion fails; restore the correction and verify exact permitted reproducibility. This does not promote the earlier five-recipe CI pass into complete-catalogue proof.

Contract impact

Capture catalogue/editorial metadata and proof only; no product or published CLI/MCP/HTTP/schema change. Any additional discovered defect gets a separate scoped report rather than a relaxed guard.

2026-10-14 triage at main 5dc2595ca07042f2e2024c95bbc361f31637559f: verified captureStill (scripts/captures/browser.ts:246–272), story meta/WriteSelected (packages/ui-kit/stories/desktop/CommandPalette.stories.tsx:64–91), and profiles.palette (docs/process/feature-captures.md:317–332). The declared 408px crop conflicts with the inherited 520px named source. Existing runtime failure plus these source anchors settle the boundary; no new browser pass is claimed. Complete brief, wanted unscheduled p2, no remaining needs: label; add agent-ready. Attach to #608 because the full deliverable directly restores its scripted reproducible feature-capture catalogue, with publication still out of scope. No release commitment is invented.

2026-10-24: renamed ## Observed to ## Context so the brief carries all six template sections, and refreshed the captureStill and profiles.palette anchors on main a6b945bd9; scope unchanged.

Activity

  1. added
    type: test
    area: ui-kit
    area: ci
    area: docs
    priority: p2
    agent-ready
    on Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readyarea: ciarea: docsarea: ui-kitpriority: p2type: test

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions