# UI Verification Protocol <!-- ref: @protocol/ui-verification-protocol tags: [core, verification, qa] triggers: [after shipping features, before demo, UI review, acceptance testing] trigger_prompt: When you've shipped a UI feature and need to confirm a real user can discover and use it end-to-end — not just that the route exists — reach for this protocol before declaring it done. version: 3 updated_at: 2026-10-24T21:09:46.942Z --> Verify user interface features to ensure they are discoverable and functional. ## Principle **The definition of done is: a user can reach and use the feature.** Not "the code exists." Not "the route is defined." Not "it works if you know the URL." ## The Protocol ### Phase 1: PATH AUDIT (read-only) For each feature shipped, answer these questions: 1. **How does a user DISCOVER this feature?** (nav link? button? CTA? or only by knowing the URL?) 2. **What is the EXACT click path from the homepage?** (every click, every page) 3. **What does the user SEE at each step?** (headings, buttons, forms, feedback) 4. **What happens on SUCCESS?** (redirect, confirmation, error handling) 5. **What happens on FAILURE?** (validation, error messages, recovery) If you can't answer #1-2, the feature is **unreachable** — fix that first. Write findings to `VERIFICATION-AUDIT.md` in the project root. ### Phase 2: BROWSER VERIFY Use browser automation or manual testing to walk each path: ``` For each feature: 1. Start at homepage (logged out) 2. Navigate to feature using ONLY visible UI elements 3. Complete the flow end-to-end 4. Screenshot or describe each step 5. Record: PASS (works) / FAIL (broken) / UNREACHABLE (no UI path) ``` ### Phase 3: FIX For each FAIL or UNREACHABLE: - Wire into navigation (nav links, buttons, CTAs) - Add missing UI elements (submit buttons, form fields) - Fix broken flows (error handling, redirects) ### Phase 4: RE-VERIFY After fixes, re-run Phase 2. Every flow must PASS. ### Phase 5: DOCUMENT Update the walkthrough/test doc with: - Exact user path to reach each feature - Expected behavior at each step - Known limitations ## When to Run - **After every feature push** (before declaring done) - **Before any demo or presentation** - **After batch commits** (multiple features shipped at once) - **Weekly** (catch regressions) ## Anti-Patterns - ❌ "The route exists" = done - ❌ "It works if you go to /secret/url" = done - ❌ Shipping without testing the user path - ❌ Testing only the happy path - ❌ Verifying in dev but not production ## Integration with Code Sessions Every code session that ships UI features MUST run this protocol before pushing. --- *Related: `@protocol/verification-tactics` · `@protocol/shell-and-runtime-traps` · `@protocol/silent-signal-and-evidence-traps` · `@content/web/huggingface/2026-11-23-cua-see-self-evolving-evals` · `@content/youtube/tiago-forte/i-connected-claude-to-everything-then-i-saw-the-gap`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*