wrxn-reversa 1.11.1 → 1.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/agents/impeccable/NOTICE.md +22 -0
  2. package/agents/impeccable/SKILL.md +8 -6
  3. package/agents/impeccable/agents/impeccable_documenter.toml +3 -3
  4. package/agents/impeccable/agents/impeccable_finish_reviewer.toml +3 -3
  5. package/agents/impeccable/agents/impeccable_manual_edit_applier.toml +2 -1
  6. package/agents/impeccable/agents/impeccable_motion_reviewer.toml +32 -0
  7. package/agents/impeccable/reference/adapt.md +2 -2
  8. package/agents/impeccable/reference/android.md +1 -1
  9. package/agents/impeccable/reference/animate.md +17 -0
  10. package/agents/impeccable/reference/audit.md +24 -3
  11. package/agents/impeccable/reference/audit.native.md +14 -0
  12. package/agents/impeccable/reference/craft-floor.md +4 -4
  13. package/agents/impeccable/reference/critique-rubric.md +496 -0
  14. package/agents/impeccable/reference/critique.md +40 -521
  15. package/agents/impeccable/reference/degraded/asset-producer.md +1 -1
  16. package/agents/impeccable/reference/degraded/documenter.md +4 -4
  17. package/agents/impeccable/reference/degraded/finish-reviewer.md +4 -4
  18. package/agents/impeccable/reference/degraded/manual-edit-applier.md +3 -2
  19. package/agents/impeccable/reference/degraded/motion-reviewer.md +29 -0
  20. package/agents/impeccable/reference/distill.md +4 -4
  21. package/agents/impeccable/reference/doctor.md +6 -2
  22. package/agents/impeccable/reference/document.md +6 -4
  23. package/agents/impeccable/reference/foundations.md +51 -0
  24. package/agents/impeccable/reference/generate.md +1 -1
  25. package/agents/impeccable/reference/harden.md +19 -0
  26. package/agents/impeccable/reference/hooks.md +16 -9
  27. package/agents/impeccable/reference/init.md +4 -0
  28. package/agents/impeccable/reference/live-setup.md +1 -1
  29. package/agents/impeccable/reference/live.md +39 -21
  30. package/agents/impeccable/reference/new-work-comp.md +24 -0
  31. package/agents/impeccable/reference/new-work-world.md +20 -0
  32. package/agents/impeccable/reference/new-work.md +17 -46
  33. package/agents/impeccable/reference/onboard.md +7 -6
  34. package/agents/impeccable/reference/optimize.md +0 -1
  35. package/agents/impeccable/reference/overdrive.md +2 -2
  36. package/agents/impeccable/reference/polish.md +1 -1
  37. package/agents/impeccable/reference/quieter.md +1 -1
  38. package/agents/impeccable/reference/typeset.md +6 -0
  39. package/agents/impeccable/reference/visualize.md +2 -2
  40. package/agents/impeccable/reversa-bundle.json +4 -4
  41. package/agents/impeccable/scripts/VERSION +1 -1
  42. package/agents/impeccable/scripts/command-metadata.json +2 -2
  43. package/agents/impeccable/scripts/engine-checksums.txt +9 -0
  44. package/agents/impeccable/scripts/impeccable +190 -55
  45. package/agents/impeccable/scripts/impeccable.cmd +188 -44
  46. package/agents/impeccable/scripts/live-browser-ignores.js +6 -2
  47. package/agents/impeccable/scripts/live-browser-session.js +4 -1
  48. package/agents/impeccable/scripts/live-browser.js +629 -256
  49. package/agents/reversa/references/coordination.md +289 -0
  50. package/agents/reversa/references/modo-de-execucao.md +10 -0
  51. package/agents/reversa/references/owner-decisions.md +5 -0
  52. package/agents/reversa/references/stack-record.md +1 -0
  53. package/agents/reversa/references/state-schema.md +66 -0
  54. package/agents/reversa/scripts/lib/delegation.mjs +250 -0
  55. package/agents/reversa/scripts/lib/git-read.mjs +97 -0
  56. package/agents/reversa/scripts/lib/messages.mjs +48 -0
  57. package/agents/reversa/scripts/lib/repositories.mjs +72 -0
  58. package/agents/reversa/scripts/lib/safe-fs.mjs +115 -0
  59. package/agents/reversa/scripts/lib/scope.mjs +61 -0
  60. package/agents/reversa/scripts/session-state.mjs +64 -112
  61. package/agents/reversa-add/SKILL.md +1 -0
  62. package/agents/reversa-audit/SKILL.md +1 -0
  63. package/agents/reversa-code-express/SKILL.md +1 -0
  64. package/agents/reversa-coding/SKILL.md +1 -0
  65. package/agents/reversa-forward/SKILL.md +1 -0
  66. package/agents/reversa-forward-autonomous/SKILL.md +1 -0
  67. package/agents/reversa-new/SKILL.md +1 -0
  68. package/agents/reversa-plan/SKILL.md +1 -0
  69. package/agents/reversa-requirements/SKILL.md +1 -0
  70. package/agents/reversa-resume/SKILL.md +1 -0
  71. package/agents/reversa-router/SKILL.md +1 -0
  72. package/agents/reversa-sync/SKILL.md +1 -0
  73. package/agents/reversa-to-do/SKILL.md +1 -0
  74. package/agents/reversa-worker/SKILL.md +101 -0
  75. package/agents/reversa-worker/agents/openai.yaml +5 -0
  76. package/bin/reversa.js +8 -0
  77. package/lib/commands/add-engine.js +4 -0
  78. package/lib/commands/install.js +12 -2
  79. package/lib/commands/repo.js +40 -0
  80. package/lib/commands/role.js +117 -0
  81. package/lib/commands/status.js +9 -0
  82. package/lib/commands/uninstall.js +5 -0
  83. package/lib/commands/update.js +7 -2
  84. package/lib/installer/checkout-guard.js +5 -1
  85. package/lib/installer/entry-block.js +11 -4
  86. package/lib/installer/impeccable-agents.js +14 -6
  87. package/lib/installer/policy.js +10 -2
  88. package/lib/installer/prompts.js +31 -5
  89. package/lib/installer/registry.js +171 -0
  90. package/lib/installer/role.js +61 -0
  91. package/lib/installer/writer.js +24 -11
  92. package/locales/README.md +11 -1
  93. package/locales/en/agents/reversa/references/state-schema.md +66 -0
  94. package/locales/en/agents/reversa-add/SKILL.md +1 -0
  95. package/locales/en/agents/reversa-audit/SKILL.md +1 -0
  96. package/locales/en/agents/reversa-code-express/SKILL.md +1 -0
  97. package/locales/en/agents/reversa-coding/SKILL.md +1 -0
  98. package/locales/en/agents/reversa-forward/SKILL.md +1 -0
  99. package/locales/en/agents/reversa-forward-autonomous/SKILL.md +1 -0
  100. package/locales/en/agents/reversa-new/SKILL.md +1 -0
  101. package/locales/en/agents/reversa-plan/SKILL.md +1 -0
  102. package/locales/en/agents/reversa-requirements/SKILL.md +1 -0
  103. package/locales/en/agents/reversa-resume/SKILL.md +1 -0
  104. package/locales/en/agents/reversa-router/SKILL.md +1 -0
  105. package/locales/en/agents/reversa-sync/SKILL.md +1 -0
  106. package/locales/en/agents/reversa-to-do/SKILL.md +1 -0
  107. package/locales/en/agents/reversa-worker/SKILL.md +101 -0
  108. package/locales/en/agents/reversa-worker/agents/openai.yaml +5 -0
  109. package/locales/en/templates/engines/worker-card.md +30 -0
  110. package/locales/en/templates/hooks/README.md +3 -0
  111. package/package.json +2 -2
  112. package/templates/engines/worker-card.md +30 -0
  113. package/templates/hooks/README.md +3 -0
  114. package/templates/hooks/check-legacy-policy.mjs +41 -10
  115. package/templates/impeccable-agents/claude-code/impeccable-asset-producer.md +0 -1
  116. package/templates/impeccable-agents/claude-code/impeccable-documenter.md +3 -4
  117. package/templates/impeccable-agents/claude-code/impeccable-finish-reviewer.md +4 -4
  118. package/templates/impeccable-agents/claude-code/impeccable-manual-edit-applier.md +2 -2
  119. package/templates/impeccable-agents/claude-code/impeccable-motion-reviewer.md +34 -0
@@ -9,3 +9,25 @@ The `skill/reference/ios.md` and `skill/reference/android.md` platform reference
9
9
  **Original work:** https://github.com/ehmo/platform-design-skills
10
10
  **Original license:** MIT
11
11
  **Author:** ehmo
12
+
13
+ ## Fonts in the browser extension
14
+
15
+ The browser extension ships two fonts under `extension/fonts/`, each with its licence text beside it.
16
+
17
+ **Albert Sans** (`albertsans.ttf`)
18
+ **Original work:** https://github.com/usted/Albert-Sans
19
+ **Original license:** SIL Open Font License 1.1 (`albertsans-OFL.txt`)
20
+ **Copyright:** 2021 The Albert Sans Project Authors
21
+
22
+ **Alumni Sans** (`alumnisans.ttf`)
23
+ **Original work:** https://github.com/googlefonts/alumni
24
+ **Original license:** SIL Open Font License 1.1 (`alumnisans-OFL.txt`)
25
+ **Copyright:** 2015 The Alumni Sans Project Authors
26
+
27
+ ## Consent rules in the browser extension
28
+
29
+ The browser extension's journeys answer cookie and consent banners with DuckDuckGo's autoconsent: its engine and rule set, unmodified, ship in `extension/walks/consent-rules.js` behind a small bridge of our own.
30
+
31
+ **Original work:** https://github.com/duckduckgo/autoconsent (its `dist/autoconsent.playwright.js` and `rules/compact-rules.json`, at the version named on the first line of `consent-rules.js`)
32
+ **Original license:** Mozilla Public License 2.0, https://mozilla.org/MPL/2.0/ (the whole of `consent-rules.js`, our bridge included; the rest of this repository is Apache-2.0)
33
+ **Copyright:** DuckDuckGo, Inc.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: impeccable
3
- description: "Use when the user wants to design, redesign, shape, critique, audit, polish, simplify, harden, animate, or otherwise improve a frontend interface: websites, landing pages, dashboards, product UI, components, forms, settings, onboarding, empty states, and native iOS or Android screens. Handles UX review, hierarchy, layout, typography, color, motion, UX copy, accessibility, responsive behavior, edge cases, and capturing or documenting design systems (DESIGN.md, tokens). Also for making bland UI bolder, loud UI quieter, or ambitious visual effects. Not for backend-only or non-UI tasks."
4
- version: 4.7.0
3
+ description: "Use to design, redesign, critique, audit, polish or animate a frontend: websites, landing pages, dashboards, app UI, components, native iOS/Android screens, or a design system (DESIGN.md)."
4
+ version: 4.13.2
5
5
  user-invocable: true
6
6
  argument-hint: "[shape · audit|critique · animate|bolder|colorize|delight|layout|overdrive|quieter|typeset · adapt|clarify|distill · harden|onboard|optimize|polish · init|document|extract|live|generate] [target]"
7
7
  license: Apache 2.0
@@ -12,15 +12,15 @@ This skill gives you the tools and permission to make design that earns the name
12
12
  Core principles:
13
13
  - Finish the job. No hedging, no shortcuts: the deliverable is complete, except assets the user must provide.
14
14
  - Scale ambition to the surface's mode (see Modes). Persuade and Experience get full commitment: bold, distinct work with a point of view. On Operate and Read, ambition shows as precision and restraint, and patterns the visitor already knows earn their place.
15
- - Verify by looking at the rendered result at the sizes it ships at, and batch the checks: fix what one look shows before looking again, rather than screenshotting after every tweak.
15
+ - Verify by looking at the rendered result at the sizes it ships at (web: `.claude/skills/impeccable/scripts/impeccable shot <page>`), and batch the checks: fix what one look shows before looking again.
16
16
 
17
17
  ## Setup
18
18
 
19
- 1. Run `<skill-base-dir>/scripts/impeccable context` once per session, where `<skill-base-dir>` is the directory that contains this SKILL.md (the skill folder, not a plugin root two levels above it); keep cwd at the user's project. That base directory resolves every `.claude/skills/impeccable/scripts/impeccable <verb>` command in this skill and its references, and `.claude/skills/impeccable/scripts` is the fallback only when the runtime reports no base directory. On a Windows shell without `sh`, call `.claude/skills/impeccable/scripts/impeccable.cmd` instead. The launcher runs a self-contained binary that ships next to it or is downloaded once on first run; no Node or other runtime is required. Pass a named source file or route as `--target <path>`. It loads PRODUCT.md, DESIGN.md, the matching surface brief, and native-platform guidance when applicable; follow its directives and do not rerun it.
20
- 2. Load the request's playbook: its Commands-table reference for an explicit/implied sub-command, or [reference/new-work.md](reference/new-work.md) for a new surface or replacement visual world. Inspect target and incumbent visual truth before editing. When the app cannot run, start with committed visual-regression goldens or screenshot fixtures; verify target and freshness against current tokens, CSS, components, or assets, resolve conflicts, and compare theme/variant captures.
19
+ 1. Run `<skill-base-dir>/scripts/impeccable context` once per session, where `<skill-base-dir>` is the directory that contains this SKILL.md (the skill folder, not a plugin root two levels above it); keep cwd at the user's project. That base directory resolves every `.claude/skills/impeccable/scripts/impeccable <verb>` command in this skill and its references, and `.claude/skills/impeccable/scripts` is the fallback only when the runtime reports no base directory. On a Windows shell without `sh`, call `.claude/skills/impeccable/scripts/impeccable.cmd` instead. The launcher runs a self-contained binary that ships next to it or is downloaded once on first run; no Node or other runtime is required. Pass a named source file or route as `--target <path>`. It loads PRODUCT.md and DESIGN.md (long ones as a map: read the sections your task needs), the matching surface brief, and native-platform guidance when applicable; follow its directives and do not rerun it.
20
+ 2. Load the request's playbook: its Commands-table reference for an explicit/implied sub-command, or [reference/new-work.md](reference/new-work.md) for a new surface, a replacement visual world, or a build from an approved comp. Some playbooks come in parts; read the part this request needs in the same step: [reference/new-work-world.md](reference/new-work-world.md) when a visual world is created or replaced (a redesign, a new look, or no established world), [reference/new-work-comp.md](reference/new-work-comp.md) for a build from an approved comp or on a comp-led build path, and [reference/critique-rubric.md](reference/critique-rubric.md) for a critique whose Assessment A runs in this context (a native platform, or no sub-agent tool); a delegated Assessment A gets the rubric's path in its prompt instead. Inspect target and incumbent visual truth before editing. When the app cannot run, start with committed visual-regression goldens or screenshot fixtures; verify target and freshness against current tokens, CSS, components, or assets, resolve conflicts, and compare theme/variant captures.
21
21
  3. After resolving analysis and direction, read [reference/craft-floor.md](reference/craft-floor.md) immediately before any UI edit, including small refinements. It carries the quality floor, the absolute bans, and the reflexes no detector catches. Do not load it for planning-only work.
22
22
 
23
- **Launcher unavailable:** On refusal or failure, send a separate message **before the next tool call**: “Context loading did not run; I’ll read the existing project context directly.” Then read existing PRODUCT.md and DESIGN.md without inventing missing context, follow applicable steps 2–3, and continue through permitted tools. This applies to planning and editing; launcher failure alone does not block either.
23
+ **Launcher unavailable:** On the first refusal or failure, don’t retry; send a separate message **before the next tool call**: “Context loading did not run; I’ll read the existing project context directly.” Then read existing PRODUCT.md and DESIGN.md without inventing missing context, follow applicable steps 2–3, including reading [reference/craft-floor.md](reference/craft-floor.md) immediately before any UI edit, and continue through permitted tools. This applies to planning and editing; launcher failure alone does not block either.
24
24
 
25
25
  ## How to design
26
26
 
@@ -85,4 +85,6 @@ After init writes PRODUCT.md, resume without rerunning `impeccable context`; ini
85
85
 
86
86
  **Doctor:** `/impeccable doctor` reports and repairs drift between this project's Impeccable artifacts (PRODUCT.md, DESIGN.md and its sidecar, config, surface briefs, the hook) and what this version reads. Load [reference/doctor.md](reference/doctor.md) when the user invokes it, or when they ask what is out of date, stale, or needs refreshing. A `CONTEXT_STALE` directive in Setup's output is the cheap subset of the same report; act on it there per its own instructions rather than running doctor unasked.
87
87
 
88
+ **Foundations:** `/impeccable foundations` runs `.claude/skills/impeccable/scripts/impeccable foundations` and walks the user through the product-foundations roadmap (secrets, 404 page, icons, CI and more); `/impeccable foundations <id>` fixes that one item. Load [reference/foundations.md](reference/foundations.md) when the user invokes it.
89
+
88
90
  **Never repair drift as a side effect of a design task.** A `CONTEXT_STALE` finding is reported, not acted on, unless the user asks. The one exception is a finding marked `auto`, which the next write to that file performs anyway.
@@ -11,17 +11,17 @@ Complete the check within your turn ceiling. Batch Reads, take `reference/docume
11
11
 
12
12
  ## Input Contract
13
13
 
14
- Expect: the project root; the artifact path(s); the direction contract text (THESIS, OWN-WORLD, STORY, FIRST VIEWPORT, FORM); PRODUCT.md path; the path to the skill's `reference/document.md`; and the boundary to write at (project or app root). An existing DESIGN.md path means update, not replace: preserve confirmed incumbent decisions and reconcile them with the build.
14
+ Expect: the project root; the artifact path(s); the direction contract text (THESIS, OWN-WORLD, STORY, FIRST VIEWPORT, FORM); PRODUCT.md path; the path to the skill's `reference/document.md`; the boundary to write at (project or app root); and, when a DESIGN.md already exists there, the user's choice for it (refresh, overwrite, or merge), the answer `reference/document.md` requires before any rewrite, which the parent collects. On a seeded world's first build the parent passes refresh without asking; that counts as the choice. A merge preserves confirmed incumbent decisions and reconciles them with the build.
15
15
 
16
16
  ## Workflow
17
17
 
18
18
  1. Read `reference/document.md` in full; it is the operating spec for DESIGN.md's format, token schema, sidecar, and section order. Follow it exactly.
19
19
  2. Scan the artifact: stylesheets, custom properties, computed values in the source, component patterns, spacing rhythm, type ramp as actually used. The direction contract's OWN-WORLD block names the world; the build shows how it landed. Where they diverge, the build wins and the prose may note the divergence.
20
- 3. For a new world or approved system change, write DESIGN.md and its sidecar from durable, reused rules in the build. Ordinary extensions preserve the incumbent system; report pre-existing drift without repairing it unasked. Do not write merely to prove this pass ran.
20
+ 3. For a new world or approved system change, write DESIGN.md and its sidecar from durable, reused rules in the build, honoring the user's choice when a DESIGN.md already exists; when it exists and no choice arrived, write nothing and return that the choice is owed. Ordinary extensions preserve the incumbent system; report pre-existing drift without repairing it unasked. Do not write merely to prove this pass ran.
21
21
  4. Two ways a recorded rule goes wrong, both observed live: a prohibition that bans a device the world itself uses natively, and a value recorded to legitimize a defect. Check every prohibition against the world's own materials; a value earns its place by the build and by legibility, never by making a finding disappear.
22
22
  5. Never canonize a craft-floor refusal into the system: an element the floor bans (kickers and eyebrows, hard offset shadows outside a neobrutalist world, glyph icons, system display faces) is recorded in your not-canonized line as a defect the build carries, never as a design-system rule for future surfaces to inherit. A live session shipped five invented kickers and the documenter wrote their style into DESIGN.md; that is how one violation becomes the house style.
23
23
 
24
24
  ## Output Contract
25
25
 
26
- Return: paths written, or “No changes” with the source and system files checked; a five-line system summary (palette, type ramp, named rules); and one line naming defects or drift not canonized or repaired, and why. No other prose.
26
+ Return: paths written, or “No changes” with the source and system files checked and, when an existing DESIGN.md stopped the write, the choice owed; a five-line system summary (palette, type ramp, named rules); and one line naming defects or drift not canonized or repaired, and why. No other prose.
27
27
  '''
@@ -19,9 +19,9 @@ Expect: the original request; the confirmed user answers; the artifact path(s);
19
19
 
20
20
  0. **Evidence.** Before any other check, verify the required captures exist and every capture is valid. Required: the platform's full viewport set (web: `desktop.png` and `mobile.png`; native: one capture per shipped device class), plus every capture the calling brief names as required, a reported user viewport (`user-<width>.png`) included. Valid: no black or blank regions, content matching what the filename claims (a visit capture showing the About section is invalid), the document top visible where the file claims a full page, dimensions that make sense for the named viewport. A required capture that is absent fails exactly like one that is malformed: a viewport nobody captured is a viewport nobody inspected, and it cannot ship. When any capture fails, the whole review changes shape: return `disposition: recapture` as the first line, then one section, `recapture`, listing each missing or invalid file and what a valid capture of it shows, and stop. Never build a matrix on malformed evidence; a verdict derived from a broken capture launders the breakage into an approval, and the parent owes you a full re-review on valid captures, not a scoring round.
21
21
  1. **Persistence.** PRODUCT.md exists. On a comp-led build, `.impeccable/build/state.json` exists and every phase before `review` is `closed` or explicitly `skipped`; an open or failed phase is a material finding. A comp-led config with no state file, or a state whose `comps` phase is neither `closed` nor `skipped`, means the comp round was skipped and the build ran from a world description alone, a material finding that outranks craft; a phase closed with a `forced` record is disclosed as a material finding unless the user downgraded the comp in words the packet quotes; a state file whose `hero.gate.score` sits under 0.72, or a missing state file, means the reproduction ran unproven, a material finding, and `.impeccable/review/hero-repro.png` must exist either way. When DESIGN.md predates this build (an extension or redesign), it matches the built world; on a new world it is written after this review by the documenter, so its absence here is not a finding. When comp-round comps exist under `.impeccable/mocks/`, an approval record exists too: the surface brief naming the approved comp, or an `approved` flag in its sidecar. Comp-round comps with no recorded pick mean the approval point was skipped, a material finding. Files under `.impeccable/mocks/decision/` are exempt: they are the direction round's dealt hand, produced before any comp round, and imply no approval whatever the build path; a code-led build has no comp round at all.
22
- 2. **Fidelity.** Start from the measurement, then judge what it cannot: read `.impeccable/review/diff/final/report.json` (and hero) first; every region scored `missing` or `contradicted` is a matrix row in that state unless the paired crop under `regions/` shows the score is wrong, and you say why; a region scored `match` still gets your eye for lettering character and material, which the numbers do not measure. Then, against your own element inventory of the approved comp, never against the contract's summary of it: topology, reading order, focal scale, overlaps and z-order, density, signature geometry, the primary action's treatment (a CTA the comp physically works, dissolves, or stamps is a signature element; its plain-rectangle rendition is contradicted), navigation items and icons, headline levels and scale relationships. Classify every salient element: match, acceptable adaptation, missing, contradicted, or added without approval. Three rows are mandatory in every matrix. TYPE: the display lettering's character, compression, width, weight, contrast, terminals, against the comp's; a face of a different character is contradicted however the layout matches. MATERIAL: an element rendered as flat CSS or clean vector where the comp shows painted, textured, dimensional, or photographic material is contradicted regardless of placement; medium is part of the promise. GROUND: the page field's value and temperature against the comp's, sampled from pixels on both sides when tooling allows rather than judged from memory, and read as the net on-screen result where a texture or tile paints over the base color; a ground warmer or cooler than the comp's is contradicted however faithfully the layout matches, and drift toward the rendition prior (warm cream on light grounds, blue-black slate on dark) is the direction to hunt. With no approved comp, TYPE and MATERIAL do not lapse: judge them against the contract's OWN-WORLD and the world's real materials, and treat faked physicality (CSS bevels, embossing, stamped-metal or chalk effects imitating a material the page never renders) as contradicted on its face; imitation material is the single most reliable mark of machine-made design. GROUND narrows rather than lapses: with no comp to sample, a color OWN-WORLD names is the target and the same warmer-or-cooler judgment applies; when OWN-WORLD names none, there is no GROUND authority, and the review says so in place of a verdict, because a target the reviewer invents turns the check into taste. A critique-reference comp on such a build is provocation, not spec: no element matrix, no adaptation citations, no asset obligations; its one contribution is what the image dared that the build did not, and dares worth adopting enter material_fixes as ordinary ordered fixes. An adaptation counts as intentional only when it cites the user answer, surface brief, accessibility need, or product truth that forced it; an uncited deviation is a defect. A missing signature element, a changed topology, or content added without approval fails fidelity and outranks every craft point in material_fixes. When MATERIAL is contradicted on the focal element, or contradiction is the page rather than the exception, stop ordering repairs: make the first material fix a rebuild directive naming the comp regions to re-derive and the assets to produce; a list of patches against a rejected page launders the rejection into an approval. A fix that requires producing an asset says so explicitly ("produce: <region> as a raster asset"), never phrased as a style adjustment the parent will answer with CSS. The comp is the spec for composition, topology, element inventory, density, lettering character, and material; it is not a pixel spec for semantics, accessibility, or responsive reflow, and that allowance covers translation, never replacement.
22
+ 2. **Fidelity.** Start from the measurement, then judge what it cannot: read `.impeccable/review/diff/final/report.json` (and hero) first; every region scored `missing` or `contradicted` is a matrix row in that state unless the paired crop under `regions/` shows the score is wrong, and you say why; a region scored `match` still gets your eye for lettering character and material, which the numbers do not measure. Then, against your own element inventory of the approved comp, never against the contract's summary of it: topology, reading order, focal scale, overlaps and z-order, density, signature geometry, the primary action's treatment (a CTA the comp physically works, dissolves, or stamps is a signature element; its plain-rectangle rendition is contradicted), navigation items and icons, headline levels and scale relationships. Classify every salient element: match, acceptable adaptation, missing, contradicted, or added without approval. Three rows are mandatory in every matrix. TYPE: the display lettering's character, compression, width, weight, contrast, terminals, against the comp's; a face of a different character is contradicted however the layout matches. MATERIAL: an element rendered as flat CSS or clean vector where the comp shows painted, textured, dimensional, or photographic material is contradicted regardless of placement; medium is part of the promise. GROUND: the page field's value and temperature against the comp's, sampled from pixels on both sides when tooling allows rather than judged from memory, and read as the net on-screen result where a texture or tile paints over the base color; a ground warmer or cooler than the comp's is contradicted however faithfully the layout matches, and drift toward the rendition prior (warm cream on light grounds, blue-black slate on dark) is the direction to hunt. With no approved comp, TYPE and MATERIAL do not lapse: judge them against the contract's OWN-WORLD and the world's real materials, and treat faked physicality (CSS bevels, embossing, stamped-metal or chalk effects imitating a material the page never renders) as contradicted on its face; imitation material is the single most reliable mark of machine-made design. GROUND narrows rather than lapses: with no comp to sample, a color OWN-WORLD names is the target and the same warmer-or-cooler judgment applies; when OWN-WORLD names none, there is no GROUND authority, and the review says so in place of a verdict, because a target the reviewer invents turns the check into taste. A critique-reference comp on such a build is provocation, not spec: no element matrix, no adaptation citations, no asset obligations; its one contribution is what the image dared that the build did not, and dares worth adopting enter material_fixes as ordinary ordered fixes. An adaptation counts as intentional only when it cites the user answer, surface brief, accessibility need, or product truth that forced it; an uncited deviation is a defect. A missing signature element, a changed topology, or content added without approval fails fidelity and outranks every craft point in material_fixes. When MATERIAL is contradicted on the focal element, or contradiction is the page rather than the exception, stop ordering repairs: make the first material fix a rebuild directive naming the comp regions to re-derive and the assets to produce; a list of patches against a rejected page launders the rejection into an approval. A fix that requires producing an asset says so explicitly ("produce: <region> as a raster asset"), never phrased as a style adjustment the parent will answer with CSS. On a code-led build with no image generation (the packet says which), a gap only a raster can close (an engraving's tonal depth, a photograph, a painted surface, measured against the world card) is never a rebuild: the same code path would draw it again and miss again. Name it once under `ceiling` as "produce: <region> as a raster asset when image generation exists", judge the drawing as code, and order only the fixes code can reach. The comp is the spec for composition, topology, element inventory, density, lettering character, and material; it is not a pixel spec for semantics, accessibility, or responsive reflow, and that allowance covers translation, never replacement.
23
23
  3. **Ceiling.** Against the QUALITY BAR card: name the world's native devices the build left unused, frame, depth, lettering treatment, ornament density, motion. The card governs commitment and finish, never composition.
24
- 4. **Contract, promise by promise.** First verify FORM carries the seed reference the concept roll printed (`seed:` and 16 hex), corroborated against the roll output the parent saw or with `impeccable concept-seed --check-seed <reference>` (exit 0 means this machine rolled it). A raw seed key in FORM is itself a material fix: the brief is committed, and the key must not be. `seed: none (unavailable)` stands only when the roll printed SEED REFERENCE unavailable, which `--check-seed none` confirms with exit 0. Any other contract with no reference, or one neither source corroborates, means the roll was skipped, a material fix ahead of any craft point. Then, for each of the five blocks: does the render keep the promise? Apply the memory test to the first viewport.
24
+ 4. **Contract, promise by promise.** First verify FORM carries the seed reference the concept roll printed (`seed:` and 16 hex), corroborated against the roll output the parent saw or with `impeccable concept-seed --check-seed <reference>` (exit 0 means this machine rolled it). A raw seed key in FORM is itself a material fix: the brief is committed, and the key must not be. `seed: none (unavailable)` stands only when the roll printed SEED REFERENCE unavailable, which `--check-seed none` confirms with exit 0. `seed: none (pinned)` stands only when the original request or the confirmed user answers pin both the direction's world and its first-surface experience, in the words FORM quotes; never judge it with `--check-seed`, which cannot see a pin and reports `none` as a skipped roll. A picture or metaphor alone pins neither. Any other contract with no reference, or one neither source corroborates, means the roll was skipped, a material fix ahead of any craft point. Then, for each of the five blocks: does the render keep the promise? Apply the memory test to the first viewport.
25
25
  5. **Truth.** Demonstration data authored and labeled synthetic; no invented commercial claims; unanswered claims present as marked placeholders, not omissions. Every raster region of the spec shipped as its plate (the spec names the file; the page references it; the region's diff row is not `missing`), not a gradient, an inline SVG, or a many-vertex `clip-path` standing in for it, and every produced asset visibly present in the screenshots; an asset applied at near-zero opacity or buried behind a wash is a compliance token, not a shipped material, and the detector's `buried-raster` and `organic-clip-path` findings in the packet are material fixes.
26
26
  6. **Floor.** Read the craft floor's Refuse list and hold the screenshots against it: kickers and eyebrows, hard offset shadows outside a neobrutalist world, glyph icons, system display faces, gradient text, side stripes, and the rest. A banned element is a material fix even when it matches nothing in the comp: the builder loaded the same ban before writing it, and fidelity to a comp cannot authorize what the floor refuses. The parent's hook findings cover this mechanically where hooks run; this check exists because hookless harnesses reach you with none, and on those harnesses a banned element you miss ships.
27
27
 
@@ -29,7 +29,7 @@ Do not run a second detector pass; mechanical findings belong to the parent's ho
29
29
 
30
30
  ## Disposition
31
31
 
32
- The first line of your return is `disposition: recapture`, `disposition: rebuild`, `disposition: fix`, or `disposition: ship`. These four words are the whole vocabulary; never invent another. The word is derived, never felt: recapture when the evidence check failed, rebuild when the rebuild-directive condition fired, fix when material_fixes is non-empty, ship only when the matrix holds no contradicted or missing row. You are the last gate before the user, not a colleague softening news for a colleague: calibrate against the approved comp and the world's quality bar, never against the effort visible in the build. A page a design director would send back is fix at best however functional it is; a page whose focal craft sits far below the comp is rebuild however complete its structure. The parent reports your disposition word verbatim and has no authority to soften it.
32
+ The first line of your return is `disposition: recapture`, `disposition: rebuild`, `disposition: fix`, or `disposition: ship`. These four words are the whole vocabulary; never invent another. The word is derived, never felt: recapture when the evidence check failed, rebuild when the rebuild-directive condition fired, fix when material_fixes is non-empty, ship only when material_fixes is empty and the matrix holds no contradicted or missing row. You are the last gate before the user, not a colleague softening news for a colleague: calibrate against the approved comp and the world's quality bar, never against the effort visible in the build. A page a design director would send back is fix at best however functional it is; a page whose focal craft sits far below the comp is rebuild however complete its structure, except for a raster-only gap on a code-led build without image generation (check 2), which stays a ceiling note. The parent reports your disposition word verbatim and has no authority to soften it.
33
33
 
34
34
  ## Output Contract
35
35
 
@@ -48,7 +48,8 @@ The user already clicked Apply. Do not ask what to do. Do not discard edits. Do
48
48
  19. If numeric source data is changed to non-numeric visible text, write the new visible text as a quoted source string. Never substitute a similar number or a bare identifier.
49
49
  20. When the user changes visible copy back to a plain number and evidence shows the source model was numeric, restore the numeric value without quotes.
50
50
  21. If a dependency is ambiguous or broad, fail that entry and leave no partial edits for it.
51
- 22. Never copy browser/runtime scaffolding into source: no `contenteditable`, `data-impeccable-*`, variant wrappers, live markers, generated browser attrs, `<style>`, `<script>`, or comments from the live UI.
51
+ 22. An op with `deleted: true` and `removeElement: true` removes the whole element from source, children included, never just its text. Locate it by `sourceHint`, then by `leaf.outerHTML` and `originalText`; delete exactly that element's source range and leave no empty wrapper, orphaned children, or dangling markup. If the element is rendered from a loop or data item, remove that item instead; if the range is ambiguous, fail the entry.
52
+ 23. Never copy browser/runtime scaffolding into source: no `contenteditable`, `data-impeccable-*`, variant wrappers, live markers, generated browser attrs, `<style>`, `<script>`, or comments from the live UI.
52
53
 
53
54
  ## Entry Atomicity
54
55
 
@@ -0,0 +1,32 @@
1
+ name = "impeccable_motion_reviewer"
2
+ description = "Reviews captured Impeccable motion for continuity, timing, craft, and reduced-motion behavior, returning evidence-cited material fixes."
3
+ model_reasoning_effort = "high"
4
+ nickname_candidates = ["Motion Eye", "Continuity Judge", "Timing Check"]
5
+ developer_instructions = '''
6
+ # Impeccable Motion Reviewer
7
+
8
+ You are fresh eyes on implemented motion. Edit nothing; the parent applies your fixes. You have no browser: never render, screenshot, serve, or open a page, and use Bash only to inspect the provided evidence files, never to run page code or captures.
9
+
10
+ Read the normal and reduced-motion filmstrips and boundary frames first, then their reports, the motion thesis, and the supplied rules. Batch reads. Stop reading by roughly the tenth turn and write the complete output contract; name unread or missing inputs without pretending to have checked them.
11
+
12
+ ## Input Contract
13
+
14
+ Expect the original request; the motion thesis from animate's plan (focal moment, continuity, feedback, budget); capture directories for the same interaction in normal and reduced motion under `.impeccable/review/motion/`; DESIGN.md's motion rules if present; and the skill's `reference/craft-floor.md` path. Each directory contains `report.json`, numbered frame PNGs, `filmstrip.png`, and a self-contained `index.html` scrubber. The report names frame paths, phases, times, geometry, animation timing, findings, and measurement limitations; its `setup` lists any steps that reached the starting state, as an exit capture needs. Passed paths are authoritative; never invent filenames. The parent also supplies entrance and exit captures when both exist, and timing/easing/stagger information for effects the engine cannot measure. Missing design rules are not a defect; missing required capture evidence is.
15
+
16
+ ## Checks, in order
17
+
18
+ 0. **Evidence.** Both normal and reduced-motion reports must exist, parse, and describe the same interaction and region. Confirm the reduced report says `reducedMotion: true`. Every referenced frame must exist, decode, have consistent dimensions, and show the claimed state. Require before, first, middle, last animated, and settled frames. Blank, half-loaded, wrong-region, stale, missing, or incomplete evidence requires `disposition: recapture`; list exact files and the evidence needed under material_fixes and stop substantive judgment. A partial recording cannot earn ship. Treat report limitations as unmeasured checks; when the provided pixels cannot answer a material check, request evidence rather than assume it passed.
19
+ 1. **Continuity.** Read every report finding. Each is a material fix unless the frames prove it wrong; cite the counterevidence explicitly when rejecting one. Compare before against first, every middle against its neighbors, and last animated against settled. Inspect the entire region: content replacement during a morph, cross-fade at frame zero, sibling occlusion or stacking changes, clipping, late hover/focus lifts, and interruption artifacts. Explicitly check these five failure shapes and cite their frames: repeated CSS entrances on existing content (`entrance-replay`); old/new opacity sums below 0.95 or above 1.05 across multiple samples, including plus-lighter over an opaque isolated layer (`crossfade-dip`); old-only or new-only content whose animation outlasts surrounding motion (`orphan-linger`); a top item that swaps when transition layers disappear (`end-paint-swap`); and a shadow switched off at the start or on at the end (`start-jump`/`end-jump`, property `box-shadow`). Check shadow and opacity boundaries even when the boxes align. Confirm old/new fades preserve both brightness and legibility; complementary opacity alone does not prove correct compositing. The numbers cannot see all pseudo-element paint, masks, text texture, or attention shifts. A smooth box trajectory alone proves nothing. During View Transitions the underlying new DOM is not the painted frame; judge the captured old/new layers in the PNGs.
20
+ 2. **Craft.** Judge duration against distance and consequence: 100–150 ms immediate feedback; 150–300 ms routine state change; 300–500 ms layout, overlay, or view transition; 500–800 ms deliberately authored focal entrance. These are context-sensitive ranges, not automatic failures. Exits should be faster than entrances. Arrivals should decelerate naturally; bounce and elastic need a reason. Check one focal moment, quiet supporting motion, and bounded total sibling stagger. Apply the thesis, DESIGN.md rules, and craft floor. Cite frames and report times; do not invent timing the captures do not measure.
21
+ 3. **Reduced motion.** Compare matching normal/reduced states. Spatial movement should be removed or substantially reduced, while state, feedback, and meaning remain visible. Full-length movement is a fix even if it seems smooth. A shorter duration alone does not prove reduced spatial motion; examine distance and the frame sequence. An opacity or color alternative can preserve meaning without moving the interface.
22
+
23
+ ## Output Contract
24
+
25
+ First line: `disposition: ship|fix|recapture`, with exactly one word selected. Then exactly five sections: `continuity`, `craft`, `reduced_motion`, `material_fixes`, `keep`. Material fixes are ordered by impact and each cites frame paths or indices and times, including both captures where relevant. A recapture lists missing or invalid evidence there and marks the substantive sections unreviewable. Keep names what must survive the fixes. No praise or summary prose.
26
+
27
+ Derive the disposition: recapture for invalid or insufficient evidence; fix for any material finding; ship only with valid evidence and no material fixes. Never soften a finding because the implementation took effort. Report limits of the verdict's scope.
28
+
29
+ ## Verdict Pass
30
+
31
+ After a fix batch, re-read the reports and the exact recaptured frame paths. The parent's account of the edits is not evidence. Score each prior material fix resolved, partial, or unresolved, citing the new frames, and name at most three regressions introduced by the batch. Do not start a new hunt. Keep the same disposition-first five-section contract; material_fixes contains the scored list and remaining work. A partial or unresolved fix forbids ship. Invalid recaptures require recapture and a full review on valid evidence, never a scoring pass over broken frames. A ship here covers the scored fixes, not an unbounded whole-surface approval.
32
+ '''
@@ -161,7 +161,7 @@ Choose appropriate breakpoints:
161
161
  ### Navigation Adaptation
162
162
 
163
163
  - Transform complex nav to hamburger/drawer on mobile
164
- - Bottom nav bar for mobile apps
164
+ - Bottom nav bar for mobile web
165
165
  - Persistent side navigation on desktop
166
166
  - Breadcrumbs on smaller screens for context
167
167
 
@@ -229,7 +229,7 @@ Don't chase device sizes; let content tell you where to break. Start narrow, str
229
229
 
230
230
  /* Device supports hover */
231
231
  @media (hover: hover) {
232
- .card:hover { transform: translateY(-2px); }
232
+ .card:hover .card-surface { transform: translateY(-2px); } /* Lift a child; the card stays the hit area */
233
233
  }
234
234
 
235
235
  /* Device doesn't support hover (touch) */
@@ -42,5 +42,5 @@ Would a fluent Android user trust this app, or trip on off-spec components? The
42
42
  ## Verifying the build
43
43
 
44
44
  - **Screenshots come from the emulator or a connected device, never a browser.** Build and install, then capture with `adb exec-out screencap -p > <path>` (pick a device with `adb -s <serial>` when several are attached). Capture every device class the app ships to, at least one phone and, when tablets are a target, one tablet, and write the files where the review flow expects them.
45
- - **Dark theme and font scale belong in the pass.** `adb shell cmd uimode night yes` flips the theme; `adb shell settings put system font_scale 1.3` (restore `1.0` after) catches the clipped labels a fixed layout hides; with several targets attached, the capture's `-s <serial>` goes on these commands too.
45
+ - **Dark theme and font scale belong in the pass.** `adb shell cmd uimode night yes` flips the theme; `adb shell settings put system font_scale 1.3` (read both settings first with `adb shell cmd uimode night` and `adb shell settings get system font_scale`, and restore them after) catches the clipped labels a fixed layout hides; with several targets attached, the capture's `-s <serial>` goes on these commands too.
46
46
  - **Emulators give breadth; gestures, refresh rates, and performance need hardware.** Say which one produced the evidence.
@@ -60,6 +60,10 @@ Timing should express distance and consequence:
60
60
 
61
61
  Exit faster than entrance. Use natural deceleration such as `cubic-bezier(0.16, 1, 0.3, 1)` for confident arrivals; do not use bounce or elastic curves by reflex. Long feedback feels like latency.
62
62
 
63
+ ## Hover
64
+
65
+ Hover motion never moves a neighbor or takes its pointer target. Keep the hovered element still and let a child carry the motion (`.card:hover .card-surface { transform: translateY(-2px) }`). An element that moves itself slides out from under a pointer near its edge and flickers. Optional previews wait for the pointer to settle: for a CSS reveal, set `transition-delay` on the hover state only, so leaving is not delayed.
66
+
63
67
  ## Implement to the runtime
64
68
 
65
69
  - Use CSS transitions and keyframes for declarative state and bounded sequences.
@@ -78,6 +82,19 @@ Every web animation needs a `prefers-reduced-motion` path with an intentional al
78
82
 
79
83
  ## Verify
80
84
 
85
+ On the web, capture implemented motion before calling it smooth. Use the skill-internal measuring verb (not a separate user command), once normally and once with reduced motion, with the same URL, interaction, and region:
86
+
87
+ ```sh
88
+ .claude/skills/impeccable/scripts/impeccable motion-capture <url> --click '<selector>' --region '<region-selector>' --out-dir .impeccable/review/motion/normal
89
+ .claude/skills/impeccable/scripts/impeccable motion-capture <url> --click '<selector>' --region '<region-selector>' --reduced-motion --out-dir .impeccable/review/motion/reduced
90
+ ```
91
+
92
+ For keyboard or multi-step interactions pass `--steps <json-file>` instead of `--click`, such as `[{"click":"#toggle"},{"press":"Enter"}]`; steps are click, hover, press (navigation keys), and wait (milliseconds). Capture each entrance and exit separately: for an exit, `--setup <json-file>` runs the same kind of steps and lets them settle before the first frame, such as opening the panel whose close is under review. The fixed capture points are before, first animated, evenly spaced middle, last animated, and settled frames. Inspect each directory's frame PNGs, `filmstrip.png`, and `report.json` before sending it: blank, wrong-region, stale, or missing evidence requires recapture. The report's limitations are unmeasured checks, not a clean result. Never judge motion by a single element or a single screenshot.
93
+
94
+ Spawn the shipped `impeccable-motion-reviewer` fresh (`impeccable_motion_reviewer` in Codex; `/impeccable-motion-reviewer` in Cursor; on GitHub Copilot say "Use the impeccable-motion-reviewer agent"), with no forked conversation history. Pass the original request, the motion thesis above, both capture directories (plus entrance and exit captures where applicable), DESIGN.md's motion rules if any, and the craft-floor reference path. The reviewer has no browser and reviews only the provided evidence. Never read its agent definition before spawning; the harness loads it. Wait with one long timeout; verify a disposition-first return with `continuity`, `craft`, `reduced_motion`, `material_fixes`, and `keep`. Respawn an empty or incomplete return once with the same packet. Only when the harness has no subagent capability, run a separate fresh pass from [degraded/motion-reviewer.md](degraded/motion-reviewer.md), and disclose the substitution at finish.
95
+
96
+ Act on the disposition. **recapture:** repair the named evidence and request a full review; invalid evidence binds no verdict. **fix:** apply the ordered material fixes in one batch, recapture normal and reduced motion over the same files, and continue the same reviewer for a verdict pass scoring each fix resolved, partial, or unresolved. Without continuation, pass the prior findings and new captures to a fresh reviewer. **ship:** report that word at the scope the reviewer actually checked. Two rounds maximum (initial review, then post-fix verdict); stop if a round resolves nothing. Report remaining fixes or missing evidence honestly at the ceiling; never turn a partial or unresolved verdict into a claim of smoothness.
97
+
81
98
  - The focal motion is specific to the selected world and surface.
82
99
  - Every supporting animation explains feedback, state, or relationship.
83
100
  - Interruption and repeated use behave correctly.
@@ -11,7 +11,7 @@ Run comprehensive checks across 5 dimensions. Score each dimension 0-4 using the
11
11
  ### 1. Accessibility (A11y)
12
12
 
13
13
  **Check for**:
14
- - **Contrast issues**: Text contrast ratios < 4.5:1 (or 7:1 for AAA)
14
+ - **Contrast issues**: Text contrast ratios < 4.5:1, or < 3:1 for large text (or 7:1 for AAA)
15
15
  - **Motion sensitivity**: `prefers-reduced-motion` needs an intentional alternative that preserves state change and hierarchy; flag a global `0.01ms` kill that destroys useful feedback, flashing above threshold, and motion that blocks focus, reading, or task completion
16
16
  - **Missing ARIA**: Interactive elements without proper roles, labels, or states
17
17
  - **Keyboard navigation**: Missing focus indicators, illogical tab order, keyboard traps
@@ -47,13 +47,20 @@ Run comprehensive checks across 5 dimensions. Score each dimension 0-4 using the
47
47
 
48
48
  **Check for**:
49
49
  - **Fixed widths**: Hard-coded widths that break on mobile
50
- - **Touch targets**: Interactive elements < 44x44px
50
+ - **Touch targets**: Interactive elements < 44x44px. WCAG AA (SC 2.5.8) requires at least 24x24 CSS px unless an exception applies: spacing, an equivalent control, inline text, user-agent styling, or an essential size. Spacing passes when a 24 CSS px circle centered on the target's bounding box overlaps no other target and no other undersized target's circle
51
51
  - **Broken touch interaction**: Custom sliders, drag surfaces, and scrollable control strips whose primary gesture fails under touch, that swallow page scroll or lose the drag to it, or that stay stuck after an interrupted gesture. Code tells: mouse-only handlers, no `touch-action` on a pointer-event drag surface, drag state that nothing clears on cancel, lost capture, or blur. Exercise the gesture when a browser tool can synthesize touch (a rendered viewport proves layout, not the gesture), then say what produced the evidence (emulated viewport, synthesized touch, which engine, physical device) and what stayed untested
52
52
  - **Horizontal scroll**: Content overflow on narrow viewports
53
53
  - **Text scaling**: Layouts that break when text size increases
54
54
  - **Missing breakpoints**: No mobile/tablet variants
55
55
 
56
- **Score 0-4**: 0=Desktop-only (breaks on mobile), 1=Major issues (some breakpoints, many failures), 2=Partial (works on mobile, rough edges), 3=Good (responsive, minor touch target or overflow issues), 4=Excellent (fluid, all viewports, proper touch targets, gestures work under touch)
56
+ On RTL-declared pages, each of the following is a signal to verify the rendered result, not a defect in itself; flag only where the rendering is actually wrong:
57
+ - **Physical directional properties**: `margin-left/right`, `padding-left/right`, `text-align: left/right`, `float: left/right`, `border-left/right` where logical equivalents (`margin-inline-start/end`, `padding-inline-start/end`, `text-align: start/end`, `float: inline-start/end`, `border-inline-start/end`) would be expected. A direction-scoped override like `[dir="rtl"] .x { margin-right:1rem }` is correct only when it also clears the conflicting base property (e.g. `margin-left: 0`); without that, both margins apply
58
+ - **Physical positioning on positioned elements**: `left:` or `right:` instead of `inset-inline-start` / `inset-inline-end`. Note: `left:50%; transform:translateX(-50%)` is a direction-agnostic centering pattern that works correctly in both LTR and RTL; replacing `left` with `inset-inline-start` there breaks the centering because `translateX` is physical and does not mirror
59
+ - **Directional icons and assets**: arrows, chevrons, and navigation icons that point the wrong direction for the reading order. An RTL-only page may ship assets already drawn correctly without a `[dir="rtl"]` flip; verify the rendered icon rather than assuming a missing `transform: scaleX(-1)` is a defect
60
+
61
+ **RTL scope**: flag physical directional properties only on pages that declare `dir="rtl"` on the `<html>` or `<body>` element. A `lang` attribute alone does not set direction (browsers take direction from `dir`, never from `lang`), but treat an RTL-script `lang` (`ar`, `fa`, `ur`, `ps`, `ckb`, `he`, `yi`, `ug`, `sd`, `dv`) without an explicit `dir` as a signal worth noting.
62
+
63
+ **Score 0-4**: 0=Desktop-only (breaks on mobile), 1=Major issues (some breakpoints, many failures), 2=Partial (works on mobile, rough edges), 3=Good (responsive, minor touch target or overflow issues), 4=Excellent (fluid, all viewports, proper touch targets, gestures work under touch). On RTL-declared pages, reduce by 1 for pervasive rendered RTL failures
57
64
 
58
65
  ### 5. Implementation Integrity (CRITICAL)
59
66
 
@@ -137,3 +144,17 @@ Keep P3s few: a long tail of minor issues buries the ones that matter.
137
144
  - Skip positive findings (celebrate what works)
138
145
  - Forget to prioritize (everything can't be P0)
139
146
  - Report false positives without verification
147
+
148
+ ## Save the Report
149
+
150
+ After the report is delivered, save a copy so the findings outlive this conversation: write it, from the score table through Recommended Actions, to a temp file. Write the scores as JSON to a second temp file with your file-writing tool. Page text such as the title never goes inside a shell command; with only a shell, use a heredoc whose delimiter is quoted (`<<'IMPECCABLE_META'`). Then run the write command and delete both temp files:
151
+
152
+ ```json
153
+ {"target":"<user phrasing, or .>","title":"<page title, or empty>","total_score":<n>,"max_score":20,"p0_count":<n>,"p1_count":<n>,"p2_count":<n>,"p3_count":<n>}
154
+ ```
155
+
156
+ ```bash
157
+ .claude/skills/impeccable/scripts/impeccable audit-storage write "<resolved target, or . for the whole project>" <temp-file> --meta <meta-file>
158
+ ```
159
+
160
+ Use the observed `<title>` or first h1 for `title`; leave it empty when unknown. The helper prints the path it wrote, which you mention in one line. Pass any `Saved to Impeccable: <url>` or `Not saved to Impeccable: <reason>` line on to the person word for word; `REPORTS OFF:` means the project opted out, and you mention nothing. Saving never replaces delivering: the user reads the report in chat first.
@@ -137,3 +137,17 @@ Keep P3s few: a long tail of minor issues buries the ones that matter.
137
137
  - Skip positive findings (celebrate what works)
138
138
  - Forget to prioritize (everything can't be P0)
139
139
  - Report false positives without verification
140
+
141
+ ## Save the Report
142
+
143
+ After the report is delivered, save a copy so the findings outlive this conversation: write it, from the score table through Recommended Actions, to a temp file. Write the scores as JSON to a second temp file with your file-writing tool; with only a shell, use a heredoc whose delimiter is quoted (`<<'IMPECCABLE_META'`). Then run the write command and delete both temp files:
144
+
145
+ ```json
146
+ {"target":"<user phrasing, or .>","total_score":<n>,"max_score":20,"p0_count":<n>,"p1_count":<n>,"p2_count":<n>,"p3_count":<n>}
147
+ ```
148
+
149
+ ```bash
150
+ .claude/skills/impeccable/scripts/impeccable audit-storage write "<resolved target, or . for the whole project>" <temp-file> --meta <meta-file>
151
+ ```
152
+
153
+ The helper prints the path it wrote, which you mention in one line; `REPORTS OFF:` means the project opted out, and you mention nothing. Saving never replaces delivering: the user reads the report in chat first.
@@ -1,10 +1,10 @@
1
1
  # Craft floor
2
2
 
3
- Load this after the direction is settled, and build without announcing the checklist. A pinned brief or the committed visual world overrides anything here; your own habit does not. When the design hook is active it already enforces the mechanical checks below as you edit: act on its findings instead of re-auditing each rule.
3
+ Load this after the direction is settled, and build without announcing the checklist. A pinned brief or the committed visual world overrides anything here except a line marked as a ban; your own habit does not. When the design hook is active it already enforces the mechanical checks below as you edit: act on its findings instead of re-auditing each rule.
4
4
 
5
5
  ## Verify
6
6
 
7
- Each of these is a check on the built result, not an intention. Run them together in each batched look at the render, not as separate screenshot trips; the checks share one render.
7
+ Each of these is a check on the built result, not an intention. Run them together in each batched look at the render (on the web, one `.claude/skills/impeccable/scripts/impeccable shot <page or url>`), not as separate screenshot trips; the checks share one render.
8
8
 
9
9
  - **Contrast:** body and placeholder text ≥4.5:1, large text ≥3:1. On colored surfaces tint secondary text from that hue or the foreground; never gray.
10
10
  - **Depth:** shadows carry an offset and a soft blur. A zero-offset colored halo is decoration.
@@ -32,11 +32,11 @@ Surface habits:
32
32
 
33
33
  - Gradient text. Emphasis comes from weight or size.
34
34
  - Glass and blur as decoration rather than as a specific effect.
35
- - A colored `border-left` or `border-right` above 1px on cards, list items, callouts, or alerts.
35
+ - A bar down one side of a rounded box (a one-sided border, inset shadow or pseudo-element), any colour or state. Use a full border, a tint, or a leading icon or label.
36
36
  - Hard offset shadows (`box-shadow: 4px 4px 0`) outside a world that is actually neobrutalist. The zero-blur block shadow is a costume, not a depth system; a world that did not choose it never earns it as a default.
37
37
  - Sparklines, progress rings, and soft-shadowed rounded rectangles standing in for content.
38
38
  - Monospace as a costume for "technical" rather than for code, data, or measurement.
39
- - A system display face (Impact, Arial Black, the platform sans) as the display voice of an own-world page. Source and self-host a face whose character matches the approved lettering; the closest installed font is a failure, not a fallback.
39
+ - A system display face (Impact, Arial Black, the platform sans) as the display voice of an own-world page. Source and self-host a face whose character matches the approved lettering (Google: `.claude/skills/impeccable/scripts/impeccable font-fetch <Family>`); the closest installed font is a failure, not a fallback.
40
40
  - Unicode glyphs or emoji standing in for an icon system. Icons are drawn, from a real library or authored SVG, in one consistent stroke and weight.
41
41
  - Geometric masks standing in for organic contours. A circle, polygon, or radial-gradient cutout approximating a photographic subject's edge is the cheap version of the effect and reads worse than omitting it. Derive an alpha matte from the actual image, or produce a cut-out asset.
42
42
  - Light or dark picked by category. Pick it from the use scene: who, where, under what ambient light.