@herbertgao/pi-extensions 2026.11.10 → 2026.11.12
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.
- package/CHANGELOG.md +31 -0
- package/README.md +10 -10
- package/THIRD_PARTY_NOTICES.md +3 -3
- package/node_modules/@herbertgao/pi-cc-extensions/CHANGELOG.md +16 -0
- package/node_modules/@herbertgao/pi-cc-extensions/README.en.md +3 -4
- package/node_modules/@herbertgao/pi-cc-extensions/README.md +3 -4
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/agent-summary/core.ts +22 -15
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/agent-summary/index.ts +22 -8
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/context.ts +0 -29
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/shell/prompt-editor.ts +5 -2
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/compact-mode.ts +73 -47
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/mouse/interaction.ts +3 -2
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/codemode.ts +0 -40
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/diff-parse.ts +4 -1
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/grouping.ts +79 -18
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/tool-io.ts +0 -5
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/utils/ansi-text.ts +18 -4
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/utils/format.ts +15 -0
- package/node_modules/@herbertgao/pi-cc-extensions/package.json +4 -4
- package/node_modules/@herbertgao/pi-impeccable/CHANGELOG.md +12 -0
- package/node_modules/@herbertgao/pi-impeccable/README.md +2 -2
- package/node_modules/@herbertgao/pi-impeccable/package.json +4 -4
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/SKILL.md +4 -2
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/adapt.md +2 -2
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/animate.md +17 -0
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/audit.md +12 -1
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/audit.native.md +4 -0
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/critique-rubric.md +496 -0
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/critique.md +13 -505
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/degraded/documenter.md +1 -1
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/degraded/finish-reviewer.md +1 -1
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/degraded/motion-reviewer.md +29 -0
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/distill.md +1 -1
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/document.md +3 -1
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/foundations.md +44 -0
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/hooks.md +3 -3
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/live-setup.md +1 -1
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/live.md +26 -12
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/new-work-comp.md +24 -0
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/new-work-world.md +20 -0
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/new-work.md +9 -37
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/onboard.md +7 -6
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/overdrive.md +2 -2
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/quieter.md +1 -1
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/typeset.md +6 -0
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/visualize.md +1 -1
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/VERSION +1 -1
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/engine-checksums.txt +5 -5
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/impeccable +69 -16
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/impeccable.cmd +55 -7
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/live-browser.js +51 -22
- package/node_modules/@herbertgao/pi-subagents/CHANGELOG.md +6 -0
- package/node_modules/@herbertgao/pi-subagents/README.md +27 -9
- package/node_modules/@herbertgao/pi-subagents/docs/workflows.md +11 -11
- package/node_modules/@herbertgao/pi-subagents/package.json +4 -4
- package/node_modules/@herbertgao/pi-subagents/src/agent-manager.ts +13 -0
- package/node_modules/@herbertgao/pi-subagents/src/agent-runner.ts +51 -32
- package/node_modules/@herbertgao/pi-subagents/src/default-agents.ts +7 -0
- package/node_modules/@herbertgao/pi-subagents/src/index.ts +334 -893
- package/node_modules/@herbertgao/pi-subagents/src/nested-tools.ts +4 -1
- package/node_modules/@herbertgao/pi-subagents/src/prompts.ts +13 -0
- package/node_modules/@herbertgao/pi-subagents/src/schedule-store.ts +18 -13
- package/node_modules/@herbertgao/pi-subagents/src/schedule.ts +25 -5
- package/node_modules/@herbertgao/pi-subagents/src/settings.ts +215 -69
- package/node_modules/@herbertgao/pi-subagents/src/types.ts +17 -0
- package/node_modules/@herbertgao/pi-subagents/src/ui/agent-widget.ts +9 -0
- package/node_modules/@herbertgao/pi-subagents/src/ui/agents-menu.ts +705 -0
- package/node_modules/@herbertgao/pi-subagents/src/ui/settings-menu.ts +361 -0
- package/node_modules/@herbertgao/pi-subagents/src/ui/viewer-keys.ts +1 -1
- package/node_modules/pi-antigravity/README.md +58 -9
- package/node_modules/pi-antigravity/docs/reader-guarantees.md +35 -0
- package/node_modules/pi-antigravity/package.json +15 -6
- package/node_modules/pi-antigravity/src/client/client.ts +63 -14
- package/node_modules/pi-antigravity/src/client/enterprise.ts +150 -0
- package/node_modules/pi-antigravity/src/client/index.ts +1 -0
- package/node_modules/pi-antigravity/src/diagnostics/diagnostics.ts +7 -0
- package/node_modules/pi-antigravity/src/features/generate-image.ts +56 -2
- package/node_modules/pi-antigravity/src/features/read-url-content.ts +124 -0
- package/node_modules/pi-antigravity/src/image/image.ts +16 -2
- package/node_modules/pi-antigravity/src/index.ts +145 -2
- package/node_modules/pi-antigravity/src/models/discovery.ts +3 -4
- package/node_modules/pi-antigravity/src/models/grouping.ts +39 -15
- package/node_modules/pi-antigravity/src/models/models.ts +126 -14
- package/node_modules/pi-antigravity/src/stream/stream.ts +189 -30
- package/node_modules/pi-antigravity/src/types/types.ts +30 -1
- package/node_modules/pi-antigravity/src/usage/usage.ts +58 -0
- package/node_modules/pi-antigravity/src/utils/address.ts +180 -0
- package/node_modules/pi-antigravity/src/utils/credits.ts +149 -0
- package/node_modules/pi-antigravity/src/utils/html.ts +31 -0
- package/node_modules/pi-antigravity/src/utils/index.ts +2 -0
- package/node_modules/pi-antigravity/src/utils/security.ts +172 -13
- package/node_modules/pi-antigravity/src/utils/text.ts +66 -0
- package/node_modules/pi-antigravity/src/utils/util.ts +5 -4
- package/node_modules/pi-antigravity/src/web-fetch/document.ts +83 -0
- package/node_modules/pi-antigravity/src/web-fetch/fences.ts +24 -0
- package/node_modules/pi-antigravity/src/web-fetch/header.ts +97 -0
- package/node_modules/pi-antigravity/src/web-fetch/index.ts +3 -0
- package/node_modules/pi-antigravity/src/web-fetch/inspect.ts +328 -0
- package/node_modules/pi-antigravity/src/web-fetch/limits.ts +4 -0
- package/node_modules/pi-antigravity/src/web-fetch/markdown.ts +744 -0
- package/node_modules/pi-antigravity/src/web-fetch/mdn.ts +164 -0
- package/node_modules/pi-antigravity/src/web-fetch/media.ts +11 -0
- package/node_modules/pi-antigravity/src/web-fetch/metadata.ts +9 -0
- package/node_modules/pi-antigravity/src/web-fetch/representation.ts +93 -0
- package/node_modules/pi-antigravity/src/web-fetch/save.ts +71 -0
- package/node_modules/pi-antigravity/src/web-fetch/sites.ts +138 -0
- package/node_modules/pi-antigravity/src/web-fetch/vendor.d.ts +9 -0
- package/node_modules/pi-antigravity/src/web-fetch/web-fetch.ts +957 -0
- package/node_modules/pi-antigravity/tsconfig.json +2 -2
- package/node_modules/pi-commandcode-provider/CHANGELOG.md +21 -1
- package/node_modules/pi-commandcode-provider/README.md +2 -2
- package/node_modules/pi-commandcode-provider/index.ts +2 -1
- package/node_modules/pi-commandcode-provider/package.json +5 -4
- package/node_modules/pi-commandcode-provider/src/commandcode-catalog.ts +15 -9
- package/node_modules/pi-commandcode-provider/src/oauth.ts +69 -12
- package/node_modules/pi-commandcode-provider/src/pricing.ts +8 -1
- package/node_modules/pi-commandcode-provider/src/responses-compat.ts +137 -0
- package/node_modules/pi-lens/CHANGELOG-USER.md +6 -6
- package/node_modules/pi-lens/CHANGELOG.md +172 -0
- package/node_modules/pi-lens/README.md +103 -217
- package/node_modules/pi-lens/dist/{chunk-KXDQD34C.js → chunk-27JQHK7Y.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-W6VLB6LL.js → chunk-2APSZHHI.js} +61 -3
- package/node_modules/pi-lens/dist/{chunk-5EEWCJG7.js → chunk-2H5GHZKC.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-TS5EIWEF.js → chunk-2H7NFZ4Q.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-6GWCYEP7.js → chunk-37IDWT6O.js} +64 -16
- package/node_modules/pi-lens/dist/{chunk-OEPWTSUG.js → chunk-3PAS2ERX.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-ET3DSSFZ.js → chunk-3PO4YYOX.js} +9 -17
- package/node_modules/pi-lens/dist/{chunk-C6V2DSZZ.js → chunk-3QXFUP6T.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-HWMNTQBJ.js → chunk-3TSMQZG6.js} +32 -11
- package/node_modules/pi-lens/dist/{chunk-QY6J2FTK.js → chunk-4DAHGU3V.js} +15 -14
- package/node_modules/pi-lens/dist/{chunk-PCREZ4HJ.js → chunk-4IZZEN63.js} +33 -34
- package/node_modules/pi-lens/dist/{chunk-OYXD2MOM.js → chunk-5HBQL7DH.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-B4FAFEBP.js → chunk-5JB4WENL.js} +1 -1
- package/node_modules/pi-lens/dist/chunk-5YJXF2IS.js +56 -0
- package/node_modules/pi-lens/dist/{chunk-GHATCG2A.js → chunk-6CFSDLHE.js} +22 -18
- package/node_modules/pi-lens/dist/{chunk-FVQKX5KI.js → chunk-6E5QLMWI.js} +24 -22
- package/node_modules/pi-lens/dist/{chunk-AVBEPUCD.js → chunk-6GLMMGCX.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-YTXFNCVN.js → chunk-74AMPWNC.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-K2GV34T2.js → chunk-7CLWC2UH.js} +26 -37
- package/node_modules/pi-lens/dist/{chunk-MOEWCPMC.js → chunk-7DPXUPRF.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-7BEADGAZ.js → chunk-7U36VQL6.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-PPYUBO6Y.js → chunk-7WKVCZI4.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-ILC2B7IJ.js → chunk-7ZVTFLCC.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-IT7MFVGP.js → chunk-ADYQRETD.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-NCDH2JB7.js → chunk-ARTYCUGF.js} +25 -10
- package/node_modules/pi-lens/dist/{chunk-Z6WTLVUL.js → chunk-AXAR5ZW2.js} +225 -104
- package/node_modules/pi-lens/dist/{chunk-PK3GDU4M.js → chunk-AZG5UJYY.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-NRVWLTOY.js → chunk-B2OXE4AH.js} +60 -21
- package/node_modules/pi-lens/dist/{chunk-ORYQGVC3.js → chunk-B42AIWPJ.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-IC4L65U7.js → chunk-BBSDJTOV.js} +12 -13
- package/node_modules/pi-lens/dist/{chunk-HJWF7CGW.js → chunk-BKWFDWYM.js} +16 -16
- package/node_modules/pi-lens/dist/{chunk-D2ZYRI7M.js → chunk-C5PLBTNR.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-SRXYSLMW.js → chunk-CQY2HEH7.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-7424ANRU.js → chunk-CXQYK4YT.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-HYR25MV3.js → chunk-CZJGAOKL.js} +8 -7
- package/node_modules/pi-lens/dist/{chunk-DIIDMDZU.js → chunk-DCA2MXVQ.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-K2LD6YNH.js → chunk-DFKOA74L.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-AYDE7RFV.js → chunk-DI4AZZNY.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-6EXGCXM5.js → chunk-G53LBDNU.js} +99 -5
- package/node_modules/pi-lens/dist/chunk-GCSDF5IE.js +27 -0
- package/node_modules/pi-lens/dist/{chunk-5KLRCUDT.js → chunk-H5API74E.js} +6 -6
- package/node_modules/pi-lens/dist/chunk-HBX55MWO.js +27 -0
- package/node_modules/pi-lens/dist/{chunk-JRSS6KM4.js → chunk-HIJ4CHFF.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-3MHY4BQY.js → chunk-HIRBC72R.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-F7AMFFVK.js → chunk-HRLF35WL.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-HSTN27NR.js → chunk-I2FYOZNW.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-5FDUKJZO.js → chunk-I3NZVAMN.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-NZINZCHB.js → chunk-INBK3HIT.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-PXGVB2CY.js → chunk-J2ZB5MDS.js} +20 -18
- package/node_modules/pi-lens/dist/{chunk-HYDJUVOE.js → chunk-JGUDT5KD.js} +4 -4
- package/node_modules/pi-lens/dist/chunk-JOIKBUQN.js +88 -0
- package/node_modules/pi-lens/dist/{chunk-AZXTLZHE.js → chunk-K4Z7MK6T.js} +169 -165
- package/node_modules/pi-lens/dist/{chunk-WTSQKJAR.js → chunk-K7O6AHSJ.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-S6ZQFPOX.js → chunk-KNJH6WJQ.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-SUIZOCSY.js → chunk-KNSOA43J.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-3QMLB4TI.js → chunk-KXGTLAUW.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-OHEUOWYT.js → chunk-KZ732ZVW.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-G3LR6V6N.js → chunk-L6BDRYUK.js} +19 -17
- package/node_modules/pi-lens/dist/{chunk-OVPR3GQ6.js → chunk-LGH2HHZG.js} +24 -6
- package/node_modules/pi-lens/dist/{chunk-3R3Z54J7.js → chunk-LOEJFTF2.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-HGEE5LDW.js → chunk-LQQNFCQJ.js} +1 -1
- package/node_modules/pi-lens/dist/chunk-LVLPA32Q.js +810 -0
- package/node_modules/pi-lens/dist/chunk-M2YMBT5G.js +73 -0
- package/node_modules/pi-lens/dist/{chunk-Z2W5YJBW.js → chunk-MJRGPEQ5.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-3EIZMRXI.js → chunk-MOAVEPC4.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-TOOXNL6M.js → chunk-NGNBJIUO.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-AGEQRJ5A.js → chunk-NHA5K226.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-YLW26OHX.js → chunk-NNEQOC3U.js} +31 -59
- package/node_modules/pi-lens/dist/{chunk-ZWZD4TJ5.js → chunk-O2MHF7QM.js} +35 -36
- package/node_modules/pi-lens/dist/{chunk-PTJXMYRY.js → chunk-OLWGYBYT.js} +15 -16
- package/node_modules/pi-lens/dist/{chunk-JKAVKTMY.js → chunk-OZQQ3AIR.js} +17 -20
- package/node_modules/pi-lens/dist/{chunk-6JLNZ6DP.js → chunk-P5MSLVUW.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-OF2YGDUE.js → chunk-PFJLYRO3.js} +37 -38
- package/node_modules/pi-lens/dist/chunk-PKWEBMCA.js +2957 -0
- package/node_modules/pi-lens/dist/{chunk-JLMS7EMD.js → chunk-PPQHMSPH.js} +16 -15
- package/node_modules/pi-lens/dist/{chunk-6EIV3H7O.js → chunk-PQF6YGYB.js} +12 -5
- package/node_modules/pi-lens/dist/{chunk-VU2PRGRI.js → chunk-PQXUZYTQ.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-MV6ST2KT.js → chunk-Q7J3JYJ2.js} +13 -12
- package/node_modules/pi-lens/dist/{chunk-BMMRLJA4.js → chunk-QE5DJ7MX.js} +27 -10
- package/node_modules/pi-lens/dist/{chunk-IZ36G463.js → chunk-QE7BJQ6K.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-E5SSUV2A.js → chunk-QMWKSYWB.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-QJ4T73J5.js → chunk-QV3JPCMK.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-3PMLYGJN.js → chunk-R4L7KZ7R.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-7ZVEFWOE.js → chunk-RIH3UBK4.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-T5EGSBM2.js → chunk-RJ3APNIP.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-AAIVSSUU.js → chunk-S6MCMD27.js} +35 -12
- package/node_modules/pi-lens/dist/{chunk-SF7KSXB5.js → chunk-SCU62JLX.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-FDLGJFAE.js → chunk-SDYLT45T.js} +3 -3
- package/node_modules/pi-lens/dist/chunk-TFKN5EIR.js +27 -0
- package/node_modules/pi-lens/dist/{chunk-Y7XMKBFP.js → chunk-TKOFTLGB.js} +34 -26
- package/node_modules/pi-lens/dist/chunk-TQWRH25U.js +35 -0
- package/node_modules/pi-lens/dist/{chunk-DZSQXG66.js → chunk-TWEOJE3D.js} +277 -62
- package/node_modules/pi-lens/dist/{chunk-R67WQ5RY.js → chunk-UN72ZAJ5.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-AD7JDEI6.js → chunk-UNP6Y4JV.js} +16 -16
- package/node_modules/pi-lens/dist/{chunk-D6ANA6YU.js → chunk-VGRGW4UL.js} +63 -55
- package/node_modules/pi-lens/dist/{chunk-DFAY7JUN.js → chunk-VSQT6IHZ.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-7T64QA5D.js → chunk-VWEBZ2JV.js} +39 -38
- package/node_modules/pi-lens/dist/{chunk-HRQTYU2T.js → chunk-W26QZ3OM.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-2HWVG3IM.js → chunk-XDNWR7SG.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-75TVYCQW.js → chunk-XSC3BCN3.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-ME6MF2N2.js → chunk-YCR6ZYTE.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-LD7SXICE.js → chunk-ZI7YHV6I.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-E3PNZDPH.js → chunk-ZQSSO7LO.js} +33 -1
- package/node_modules/pi-lens/dist/{chunk-T6PPK3T6.js → chunk-ZULZS2I6.js} +385 -407
- package/node_modules/pi-lens/dist/index.js +6508 -5413
- package/node_modules/pi-lens/dist/mcp/analyze-cli.js +9 -9
- package/node_modules/pi-lens/dist/mcp/cli.js +39 -38
- package/node_modules/pi-lens/dist/mcp/server.js +602 -345
- package/node_modules/pi-lens/dist/mcp/worker.js +57 -58
- package/node_modules/pi-lens/dist/probes/installer.js +19 -17
- package/node_modules/pi-lens/docs/architecture.md +113 -0
- package/node_modules/pi-lens/docs/ast-grep_rules_catalog.md +2 -2
- package/node_modules/pi-lens/docs/ci.md +18 -4
- package/node_modules/pi-lens/docs/defect-shapes.md +41 -3
- package/node_modules/pi-lens/docs/dependencies.md +10 -10
- package/node_modules/pi-lens/docs/features.md +3 -3
- package/node_modules/pi-lens/docs/invariants/dispatch-runners.md +13 -1
- package/node_modules/pi-lens/docs/invariants/lsp-trust-exec.md +19 -0
- package/node_modules/pi-lens/docs/language-coverage.md +39 -0
- package/node_modules/pi-lens/docs/lsp-capability-matrix.md +10 -4
- package/node_modules/pi-lens/docs/lsp-idle-eviction.md +1 -1
- package/node_modules/pi-lens/docs/pi-lens-fixer.md +4 -0
- package/node_modules/pi-lens/docs/pi-lens-merge-policy.md +1 -1
- package/node_modules/pi-lens/docs/pi-lens-reviewer.md +4 -5
- package/node_modules/pi-lens/docs/pi-lens-subagent.md +5 -2
- package/node_modules/pi-lens/docs/prose-standard.md +112 -0
- package/node_modules/pi-lens/docs/servercapabilities.md +1 -1
- package/node_modules/pi-lens/docs/usage.md +50 -0
- package/node_modules/pi-lens/package.json +1 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/array-callback-return-js-test.yml +23 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/array-callback-return-test.yml +23 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/no-negation-in-equality-check-js-test.yml +8 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/no-negation-in-equality-check-test.yml +8 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/unchecked-throwing-call-js-test.yml +16 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/unchecked-throwing-call-test.yml +16 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/array-callback-return-js.yml +8 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/array-callback-return.yml +8 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-negation-in-equality-check-js.yml +17 -5
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-negation-in-equality-check.yml +17 -5
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/unchecked-throwing-call-js.yml +8 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/unchecked-throwing-call.yml +8 -1
- package/node_modules/pi-lens/rules/tree-sitter-queries/typescript/ts-react-antipatterns.yml +8 -0
- package/node_modules/pi-web-access/CHANGELOG.md +29 -0
- package/node_modules/pi-web-access/README.md +35 -15
- package/node_modules/pi-web-access/anysearch.ts +7 -3
- package/node_modules/pi-web-access/autom.ts +196 -0
- package/node_modules/pi-web-access/cloro.ts +254 -0
- package/node_modules/pi-web-access/curator-page.ts +7 -1
- package/node_modules/pi-web-access/curator-server.ts +3 -0
- package/node_modules/pi-web-access/dist/index.js +12931 -12111
- package/node_modules/pi-web-access/dist/mcp-cli.js +1188 -416
- package/node_modules/pi-web-access/domain-filter-normalization.ts +30 -0
- package/node_modules/pi-web-access/duckduckgo-rate-limit.ts +144 -34
- package/node_modules/pi-web-access/duckduckgo.ts +11 -3
- package/node_modules/pi-web-access/extract.ts +60 -4
- package/node_modules/pi-web-access/gemini-search.ts +25 -5
- package/node_modules/pi-web-access/index.ts +9 -1
- package/node_modules/pi-web-access/package.json +2 -2
- package/node_modules/pi-web-access/page-query.ts +12 -3
- package/node_modules/pi-web-access/specstream.ts +276 -0
- package/node_modules/pi-web-access/tool-activation.ts +21 -6
- package/node_modules/pi-web-access/utils.ts +4 -0
- package/node_modules/pi-web-access/video-extract.ts +2 -2
- package/node_modules/pi-web-access/web-tool-core.ts +24 -5
- package/node_modules/pi-web-access/youtube-extract.ts +2 -2
- package/package.json +11 -8
- package/node_modules/pi-lens/dist/chunk-3VWEZ6H2.js +0 -72
- package/node_modules/pi-lens/dist/chunk-7KWI5UHL.js +0 -28
- package/node_modules/pi-lens/dist/chunk-7M64NTAK.js +0 -38
- package/node_modules/pi-lens/dist/chunk-BEIPWPVR.js +0 -1037
- package/node_modules/pi-lens/dist/chunk-D7OEGXDX.js +0 -2417
- package/node_modules/pi-lens/dist/chunk-KUDUKKQE.js +0 -89
- package/node_modules/pi-lens/dist/chunk-TM3A3K7T.js +0 -28
- package/node_modules/pi-lens/dist/chunk-VD7MQFEV.js +0 -56
- package/node_modules/pi-lens/dist/chunk-YLHJWAQS.js +0 -256
- package/node_modules/pi-lens/dist/chunk-YULIERZW.js +0 -27
|
@@ -38,7 +38,7 @@ Sub-agent gate (all harnesses):
|
|
|
38
38
|
- Unless a harness-specific gate below overrides this, spawn A and B as two isolated, parallel sub-agents whenever a sub-agent/Task tool is exposed. This is the default and is mandatory; do not run them inline because it is faster.
|
|
39
39
|
- Desktop apps (see **Desktop apps** under Assessment B) are the one exception to parallel: both sub-agents would drive the app's single window at once. Seed the window, spawn A, wait until it has finished and put the window back, then spawn B. They are still two isolated sub-agents, so this is not the degraded path.
|
|
40
40
|
- "Unavailable" means exactly one thing: no sub-agent/Task tool is exposed in this session (or, on harnesses that ask, the user declined). It does not mean inconvenient.
|
|
41
|
-
- If and only if sub-agents are unavailable, fall back sequentially: finish and record Assessment A, then run Assessment B, then synthesize, and emit the degraded banner.
|
|
41
|
+
- If and only if sub-agents are unavailable, fall back sequentially: read [critique-rubric.md](critique-rubric.md) now, finish and record Assessment A, then run Assessment B, then synthesize, and emit the degraded banner.
|
|
42
42
|
- Whichever path you take, declare it in the report header (see Report header provenance). Skipping sub-agents without the banner is the most common failure of this command.
|
|
43
43
|
|
|
44
44
|
If browser automation is available, each assessment creates its own new tab. Never reuse an existing tab, even if it is already at the right URL. Desktop apps are the exception (see **Desktop apps** under Assessment B).
|
|
@@ -50,9 +50,13 @@ Read relevant source files and visually inspect the live page when browser autom
|
|
|
50
50
|
Evaluate:
|
|
51
51
|
- **Design specificity**: Is the composition, interaction, and visual language grounded in this product, or could an unrelated product use it unchanged? Make this judgment before seeing detector output.
|
|
52
52
|
- **Holistic design**: hierarchy, IA, emotional fit, discoverability, composition, typography, color, accessibility, states, copy, and edge cases.
|
|
53
|
-
- **Cognitive load**: consult the
|
|
53
|
+
- **Cognitive load**: consult the Cognitive Load Assessment in [critique-rubric.md](critique-rubric.md); report checklist failures and decision points with >4 visible options.
|
|
54
54
|
- **Emotional journey**: peak-end rule, emotional valleys, reassurance at high-stakes moments.
|
|
55
|
-
- **Nielsen heuristics**: consult the
|
|
55
|
+
- **Nielsen heuristics**: consult the Heuristics Scoring Guide in [critique-rubric.md](critique-rubric.md); score all 10 heuristics 0-4, marking any heuristic the mode-applicability rule allows as `n/a` instead of forcing a number.
|
|
56
|
+
|
|
57
|
+
- **Persona red flags**: select personas with the Selecting Personas table in [critique-rubric.md](critique-rubric.md), plus 1-2 project-specific ones from PRODUCT.md's `## Users` when it has one, and walk each through the primary action.
|
|
58
|
+
|
|
59
|
+
Read critique-rubric.md as part of Assessment A. When a sub-agent runs A, give it the file's path so it reads the rubric itself, and the parent does not load it. When A runs in this context (native critiques, or the single-context fallback), read the rubric here before scoring.
|
|
56
60
|
|
|
57
61
|
Return: design-specificity verdict, heuristic scores, cognitive load, emotional journey, 2-3 strengths, 3-5 priority issues, persona red flags, minor observations, and provocative questions.
|
|
58
62
|
|
|
@@ -108,7 +112,7 @@ The report's first line MUST declare how the assessments were run, so a degraded
|
|
|
108
112
|
- Native: `Method: design review only (detector not applicable, native platform)`
|
|
109
113
|
|
|
110
114
|
#### Design Health Score
|
|
111
|
-
> *
|
|
115
|
+
> *Use Assessment A's scores; the bands are under [Scoring the report](#scoring-the-report) below.*
|
|
112
116
|
|
|
113
117
|
Present the Nielsen's 10 heuristics scores as a table:
|
|
114
118
|
|
|
@@ -158,9 +162,9 @@ For each issue, tag with **P0-P3 severity** (see [Issue Severity below](#issue-s
|
|
|
158
162
|
- **Suggested command**: Which command could address this (from: /impeccable adapt, /impeccable animate, /impeccable audit, /impeccable bolder, /impeccable clarify, /impeccable colorize, /impeccable critique, /impeccable delight, /impeccable distill, /impeccable document, /impeccable harden, /impeccable layout, /impeccable onboard, /impeccable optimize, /impeccable overdrive, /impeccable polish, /impeccable quieter, /impeccable shape, /impeccable typeset)
|
|
159
163
|
|
|
160
164
|
#### Persona Red Flags
|
|
161
|
-
> *
|
|
165
|
+
> *Use Assessment A's persona red flags; it selected the personas from [critique-rubric.md](critique-rubric.md).*
|
|
162
166
|
|
|
163
|
-
|
|
167
|
+
Assessment A selected 2-3 personas most relevant to this interface type (the selection table in critique-rubric.md). If PRODUCT.md has a `## Users` section, also generate 1-2 project-specific personas from it and from `## Brand Commitments`.
|
|
164
168
|
|
|
165
169
|
For each selected persona, walk through the primary user action and list specific red flags found:
|
|
166
170
|
|
|
@@ -210,7 +214,7 @@ Skip this step if the Setup slug was null (vague or root-level target).
|
|
|
210
214
|
IMPECCABLE_CRITIQUE_META='{"target":"<user phrasing>","total_score":<n>,"max_score":<n>,"na_heuristics":"<comma-separated numbers, or empty>","p0_count":<n>,"p1_count":<n>}' \
|
|
211
215
|
.pi/skills/impeccable/scripts/impeccable critique-storage write "<resolved target>" <body-file>
|
|
212
216
|
```
|
|
213
|
-
`max_score` is the applicable maximum from the heuristic table (40 when every heuristic applied), so a later run can tell a renormalized total from a full one. For a local file target, the helper also records an exact content fingerprint so polish can distinguish the assessed bytes from later edits without relying on Git state or timestamps. The helper prints the absolute path it wrote. Leave that file on disk. Polish closes it; this run does not.
|
|
217
|
+
`max_score` is the applicable maximum from the heuristic table (40 when every heuristic applied), so a later run can tell a renormalized total from a full one. For a local file target, the helper also records an exact content fingerprint so polish can distinguish the assessed bytes from later edits without relying on Git state or timestamps. The helper prints the absolute path it wrote. Leave that file on disk. Polish closes it; this run does not. `REPORTS OFF:` instead means the project opted out of saved reports: skip the trend read and carry on.
|
|
214
218
|
|
|
215
219
|
3. **Delete the temp body file** after the write attempt completes, whether the write succeeded or failed. If deletion fails, mention `temp-file cleanup failed: <reason>` briefly in the final output, but do not block the critique.
|
|
216
220
|
|
|
@@ -289,324 +293,9 @@ After presenting the summary, tell the user:
|
|
|
289
293
|
|
|
290
294
|
## Reference Material
|
|
291
295
|
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
### Cognitive Load Assessment
|
|
295
|
-
|
|
296
|
-
Cognitive load is the total mental effort required to use an interface. Overloaded users make mistakes, get frustrated, and leave. This reference helps identify and fix cognitive overload.
|
|
297
|
-
|
|
298
|
-
---
|
|
299
|
-
|
|
300
|
-
#### Three Types of Cognitive Load
|
|
296
|
+
Assessment A scores against [critique-rubric.md](critique-rubric.md): the cognitive load checklist, the heuristic scoring guide, and the personas. The report uses the bands and severities below.
|
|
301
297
|
|
|
302
|
-
|
|
303
|
-
Complexity inherent to what the user is trying to do. You can't eliminate this, but you can structure it.
|
|
304
|
-
|
|
305
|
-
**Manage it by**:
|
|
306
|
-
- Breaking complex tasks into discrete steps
|
|
307
|
-
- Providing scaffolding (templates, defaults, examples)
|
|
308
|
-
- Progressive disclosure: show what's needed now, hide the rest
|
|
309
|
-
- Grouping related decisions together
|
|
310
|
-
|
|
311
|
-
##### Extraneous Load: Bad Design
|
|
312
|
-
Mental effort caused by poor design choices. **Eliminate this ruthlessly.** It's pure waste.
|
|
313
|
-
|
|
314
|
-
**Common sources**:
|
|
315
|
-
- Confusing navigation that requires mental mapping
|
|
316
|
-
- Unclear labels that force users to guess meaning
|
|
317
|
-
- Visual clutter competing for attention
|
|
318
|
-
- Inconsistent patterns that prevent learning
|
|
319
|
-
- Unnecessary steps between user intent and result
|
|
320
|
-
|
|
321
|
-
##### Germane Load: Learning Effort
|
|
322
|
-
Mental effort spent building understanding. This is *good* cognitive load; it leads to mastery.
|
|
323
|
-
|
|
324
|
-
**Support it by**:
|
|
325
|
-
- Progressive disclosure that reveals complexity gradually
|
|
326
|
-
- Consistent patterns that reward learning
|
|
327
|
-
- Feedback that confirms correct understanding
|
|
328
|
-
- Onboarding that teaches through action, not walls of text
|
|
329
|
-
|
|
330
|
-
---
|
|
331
|
-
|
|
332
|
-
#### Cognitive Load Checklist
|
|
333
|
-
|
|
334
|
-
Evaluate the interface against these 8 items:
|
|
335
|
-
|
|
336
|
-
- [ ] **Single focus**: Can the user complete their primary task without distraction from competing elements?
|
|
337
|
-
- [ ] **Chunking**: Is information presented in digestible groups (≤4 items per group)?
|
|
338
|
-
- [ ] **Grouping**: Are related items visually grouped together (proximity, borders, shared background)?
|
|
339
|
-
- [ ] **Visual hierarchy**: Is it immediately clear what's most important on the screen?
|
|
340
|
-
- [ ] **One thing at a time**: Can the user focus on a single decision before moving to the next?
|
|
341
|
-
- [ ] **Minimal choices**: Are decisions simplified (≤4 visible options at any decision point)?
|
|
342
|
-
- [ ] **Working memory**: Does the user need to remember information from a previous screen to act on the current one?
|
|
343
|
-
- [ ] **Progressive disclosure**: Is complexity revealed only when the user needs it?
|
|
344
|
-
|
|
345
|
-
**Scoring**: Count the failed items. 0–1 failures = low cognitive load (good). 2–3 = moderate (address soon). 4+ = high cognitive load (critical fix needed).
|
|
346
|
-
|
|
347
|
-
---
|
|
348
|
-
|
|
349
|
-
#### The Working Memory Rule
|
|
350
|
-
|
|
351
|
-
**Humans can hold ≤4 items in working memory at once** (Miller's Law revised by Cowan, 2001).
|
|
352
|
-
|
|
353
|
-
At any decision point, count the number of distinct options, actions, or pieces of information a user must simultaneously consider:
|
|
354
|
-
- **≤4 items**: Within working memory limits, manageable
|
|
355
|
-
- **5–7 items**: Pushing the boundary; consider grouping or progressive disclosure
|
|
356
|
-
- **8+ items**: Overloaded; users will skip, misclick, or abandon
|
|
357
|
-
|
|
358
|
-
**Practical applications**:
|
|
359
|
-
- Action buttons: 1 primary, 1–2 secondary, group the rest in a menu
|
|
360
|
-
- Navigation menus: ≤5 top-level items (group the rest under clear categories)
|
|
361
|
-
- Long-form articles: one reading path; gather related links into a single block at the end instead of scattering them mid-flow
|
|
362
|
-
- Documentation sidebars: ≤4 sibling choices visible per level before grouping kicks in
|
|
363
|
-
- Portfolio and gallery indexes: one decision per screen (which piece to open), not filter, sort, and tag controls all at once
|
|
364
|
-
|
|
365
|
-
---
|
|
366
|
-
|
|
367
|
-
#### Common Cognitive Load Violations
|
|
368
|
-
|
|
369
|
-
##### 1. The Wall of Options
|
|
370
|
-
**Problem**: Presenting 10+ choices at once with no hierarchy.
|
|
371
|
-
**Fix**: Group into categories, highlight recommended, use progressive disclosure.
|
|
372
|
-
|
|
373
|
-
##### 2. The Memory Bridge
|
|
374
|
-
**Problem**: User must remember info from step 1 to complete step 3.
|
|
375
|
-
**Fix**: Keep relevant context visible, or repeat it where it's needed.
|
|
376
|
-
|
|
377
|
-
##### 3. The Hidden Navigation
|
|
378
|
-
**Problem**: User must build a mental map of where things are.
|
|
379
|
-
**Fix**: Always show current location (breadcrumbs, active states, progress indicators).
|
|
380
|
-
|
|
381
|
-
##### 4. The Jargon Barrier
|
|
382
|
-
**Problem**: Technical or domain language forces translation effort.
|
|
383
|
-
**Fix**: Use plain language. If domain terms are unavoidable, define them inline.
|
|
384
|
-
|
|
385
|
-
##### 5. The Visual Noise Floor
|
|
386
|
-
**Problem**: Every element has the same visual weight; nothing stands out.
|
|
387
|
-
**Fix**: Establish clear hierarchy: one primary element, 2–3 secondary, everything else muted.
|
|
388
|
-
|
|
389
|
-
##### 6. The Inconsistent Pattern
|
|
390
|
-
**Problem**: Similar actions work differently in different places.
|
|
391
|
-
**Fix**: Standardize interaction patterns. Same type of action = same type of UI.
|
|
392
|
-
|
|
393
|
-
##### 7. The Multi-Task Demand
|
|
394
|
-
**Problem**: Interface requires processing multiple simultaneous inputs (reading + deciding + navigating).
|
|
395
|
-
**Fix**: Sequence the steps. Let the user do one thing at a time.
|
|
396
|
-
|
|
397
|
-
##### 8. The Context Switch
|
|
398
|
-
**Problem**: User must jump between screens/tabs/modals to gather info for a single decision.
|
|
399
|
-
**Fix**: Co-locate the information needed for each decision. Reduce back-and-forth.
|
|
400
|
-
|
|
401
|
-
---
|
|
402
|
-
|
|
403
|
-
### Heuristics Scoring Guide
|
|
404
|
-
|
|
405
|
-
Score each of Nielsen's 10 Usability Heuristics on a 0–4 scale. Be honest: a 4 means genuinely excellent, not "good enough."
|
|
406
|
-
|
|
407
|
-
#### Nielsen's 10 Heuristics
|
|
408
|
-
|
|
409
|
-
##### 1. Visibility of System Status
|
|
410
|
-
|
|
411
|
-
Keep users informed about what's happening through timely, appropriate feedback.
|
|
412
|
-
|
|
413
|
-
**Check for**:
|
|
414
|
-
- Loading indicators during async operations
|
|
415
|
-
- Confirmation of user actions (save, submit, delete)
|
|
416
|
-
- Progress indicators for multi-step processes
|
|
417
|
-
- Current location in navigation (breadcrumbs, active states)
|
|
418
|
-
- Form validation feedback (inline, not just on submit)
|
|
419
|
-
|
|
420
|
-
**Scoring**:
|
|
421
|
-
| Score | Criteria |
|
|
422
|
-
|-------|----------|
|
|
423
|
-
| 0 | No feedback; user is guessing what happened |
|
|
424
|
-
| 1 | Rare feedback; most actions produce no visible response |
|
|
425
|
-
| 2 | Partial; some states communicated, major gaps remain |
|
|
426
|
-
| 3 | Good; most operations give clear feedback, minor gaps |
|
|
427
|
-
| 4 | Excellent; every action confirms, progress is always visible |
|
|
428
|
-
|
|
429
|
-
##### 2. Match Between System and Real World
|
|
430
|
-
|
|
431
|
-
Speak the user's language. Follow real-world conventions. Information appears in natural, logical order.
|
|
432
|
-
|
|
433
|
-
**Check for**:
|
|
434
|
-
- Familiar terminology (no unexplained jargon)
|
|
435
|
-
- Logical information order matching user expectations
|
|
436
|
-
- Recognizable icons and metaphors
|
|
437
|
-
- Domain-appropriate language for the target audience
|
|
438
|
-
- Natural reading flow (left-to-right, top-to-bottom priority)
|
|
439
|
-
|
|
440
|
-
**Scoring**:
|
|
441
|
-
| Score | Criteria |
|
|
442
|
-
|-------|----------|
|
|
443
|
-
| 0 | Pure tech jargon, alien to users |
|
|
444
|
-
| 1 | Mostly confusing; requires domain expertise to navigate |
|
|
445
|
-
| 2 | Mixed; some plain language, some jargon leaks through |
|
|
446
|
-
| 3 | Mostly natural; occasional term needs context |
|
|
447
|
-
| 4 | Speaks the user's language fluently throughout |
|
|
448
|
-
|
|
449
|
-
##### 3. User Control and Freedom
|
|
450
|
-
|
|
451
|
-
Users need a clear "emergency exit" from unwanted states without extended dialogue.
|
|
452
|
-
|
|
453
|
-
**Check for**:
|
|
454
|
-
- Undo/redo functionality
|
|
455
|
-
- Cancel buttons on forms and modals
|
|
456
|
-
- Clear navigation back to safety (home, previous)
|
|
457
|
-
- Easy way to clear filters, search, selections
|
|
458
|
-
- Escape from long or multi-step processes
|
|
459
|
-
|
|
460
|
-
**Scoring**:
|
|
461
|
-
| Score | Criteria |
|
|
462
|
-
|-------|----------|
|
|
463
|
-
| 0 | Users get trapped; no way out without refreshing |
|
|
464
|
-
| 1 | Difficult exits; must find obscure paths to escape |
|
|
465
|
-
| 2 | Some exits; main flows have escape, edge cases don't |
|
|
466
|
-
| 3 | Good control; users can exit and undo most actions |
|
|
467
|
-
| 4 | Full control; undo, cancel, back, and escape everywhere |
|
|
468
|
-
|
|
469
|
-
##### 4. Consistency and Standards
|
|
470
|
-
|
|
471
|
-
Users shouldn't wonder whether different words, situations, or actions mean the same thing.
|
|
472
|
-
|
|
473
|
-
**Check for**:
|
|
474
|
-
- Consistent terminology throughout the interface
|
|
475
|
-
- Same actions produce same results everywhere
|
|
476
|
-
- Platform conventions followed (standard UI patterns)
|
|
477
|
-
- Visual consistency (colors, typography, spacing, components)
|
|
478
|
-
- Consistent interaction patterns (same gesture = same behavior)
|
|
479
|
-
|
|
480
|
-
**Scoring**:
|
|
481
|
-
| Score | Criteria |
|
|
482
|
-
|-------|----------|
|
|
483
|
-
| 0 | Inconsistent everywhere; feels like different products stitched together |
|
|
484
|
-
| 1 | Many inconsistencies; similar things look/behave differently |
|
|
485
|
-
| 2 | Partially consistent; main flows match, details diverge |
|
|
486
|
-
| 3 | Mostly consistent; occasional deviation, nothing confusing |
|
|
487
|
-
| 4 | Fully consistent; cohesive system, predictable behavior |
|
|
488
|
-
|
|
489
|
-
##### 5. Error Prevention
|
|
490
|
-
|
|
491
|
-
Better than good error messages is a design that prevents problems in the first place.
|
|
492
|
-
|
|
493
|
-
**Check for**:
|
|
494
|
-
- Confirmation before destructive actions (delete, overwrite)
|
|
495
|
-
- Constraints preventing invalid input (date pickers, dropdowns)
|
|
496
|
-
- Smart defaults that reduce errors
|
|
497
|
-
- Clear labels that prevent misunderstanding
|
|
498
|
-
- Autosave and draft recovery
|
|
499
|
-
|
|
500
|
-
**Scoring**:
|
|
501
|
-
| Score | Criteria |
|
|
502
|
-
|-------|----------|
|
|
503
|
-
| 0 | Errors easy to make; no guardrails anywhere |
|
|
504
|
-
| 1 | Few safeguards; some inputs validated, most aren't |
|
|
505
|
-
| 2 | Partial prevention; common errors caught, edge cases slip |
|
|
506
|
-
| 3 | Good prevention; most error paths blocked proactively |
|
|
507
|
-
| 4 | Excellent; errors nearly impossible through smart constraints |
|
|
508
|
-
|
|
509
|
-
##### 6. Recognition Rather Than Recall
|
|
510
|
-
|
|
511
|
-
Minimize memory load. Make objects, actions, and options visible or easily retrievable.
|
|
512
|
-
|
|
513
|
-
**Check for**:
|
|
514
|
-
- Visible options (not buried in hidden menus)
|
|
515
|
-
- Contextual help when needed (tooltips, inline hints)
|
|
516
|
-
- Recent items and history
|
|
517
|
-
- Autocomplete and suggestions
|
|
518
|
-
- Labels on icons (not icon-only navigation)
|
|
519
|
-
|
|
520
|
-
**Scoring**:
|
|
521
|
-
| Score | Criteria |
|
|
522
|
-
|-------|----------|
|
|
523
|
-
| 0 | Heavy memorization; users must remember paths and commands |
|
|
524
|
-
| 1 | Mostly recall; many hidden features, few visible cues |
|
|
525
|
-
| 2 | Some aids; main actions visible, secondary features hidden |
|
|
526
|
-
| 3 | Good recognition; most things discoverable, few memory demands |
|
|
527
|
-
| 4 | Everything discoverable; users never need to memorize |
|
|
528
|
-
|
|
529
|
-
##### 7. Flexibility and Efficiency of Use
|
|
530
|
-
|
|
531
|
-
Accelerators, invisible to novices, speed up expert interaction.
|
|
532
|
-
|
|
533
|
-
**Check for**:
|
|
534
|
-
- Keyboard shortcuts for common actions
|
|
535
|
-
- Customizable interface elements
|
|
536
|
-
- Recent items and favorites
|
|
537
|
-
- Bulk/batch actions
|
|
538
|
-
- Power user features that don't complicate the basics
|
|
539
|
-
|
|
540
|
-
**Scoring**:
|
|
541
|
-
| Score | Criteria |
|
|
542
|
-
|-------|----------|
|
|
543
|
-
| 0 | One rigid path; no shortcuts or alternatives |
|
|
544
|
-
| 1 | Limited flexibility; few alternatives to the main path |
|
|
545
|
-
| 2 | Some shortcuts; basic keyboard support, limited bulk actions |
|
|
546
|
-
| 3 | Good accelerators; keyboard nav, some customization |
|
|
547
|
-
| 4 | Highly flexible; multiple paths, power features, customizable |
|
|
548
|
-
|
|
549
|
-
##### 8. Aesthetic and Minimalist Design
|
|
550
|
-
|
|
551
|
-
Interfaces should not contain irrelevant or rarely needed information. Every element should serve a purpose.
|
|
552
|
-
|
|
553
|
-
**Check for**:
|
|
554
|
-
- Only necessary information visible at each step
|
|
555
|
-
- Clear visual hierarchy directing attention
|
|
556
|
-
- Purposeful use of color and emphasis
|
|
557
|
-
- No decorative clutter competing for attention
|
|
558
|
-
- Focused, uncluttered layouts
|
|
559
|
-
|
|
560
|
-
**Scoring**:
|
|
561
|
-
| Score | Criteria |
|
|
562
|
-
|-------|----------|
|
|
563
|
-
| 0 | Overwhelming; everything competes for attention equally |
|
|
564
|
-
| 1 | Cluttered; too much noise, hard to find what matters |
|
|
565
|
-
| 2 | Some clutter; main content clear, periphery noisy |
|
|
566
|
-
| 3 | Mostly clean; focused design, minor visual noise |
|
|
567
|
-
| 4 | Perfectly minimal; every element earns its pixel |
|
|
568
|
-
|
|
569
|
-
##### 9. Help Users Recognize, Diagnose, and Recover from Errors
|
|
570
|
-
|
|
571
|
-
Error messages should use plain language, precisely indicate the problem, and constructively suggest a solution.
|
|
572
|
-
|
|
573
|
-
**Check for**:
|
|
574
|
-
- Plain language error messages (no error codes for users)
|
|
575
|
-
- Specific problem identification ("Email is missing @" not "Invalid input")
|
|
576
|
-
- Actionable recovery suggestions
|
|
577
|
-
- Errors displayed near the source of the problem
|
|
578
|
-
- Non-blocking error handling (don't wipe the form)
|
|
579
|
-
|
|
580
|
-
**Scoring**:
|
|
581
|
-
| Score | Criteria |
|
|
582
|
-
|-------|----------|
|
|
583
|
-
| 0 | Cryptic errors; codes, jargon, or no message at all |
|
|
584
|
-
| 1 | Vague errors; "Something went wrong" with no guidance |
|
|
585
|
-
| 2 | Clear but unhelpful; names the problem but not the fix |
|
|
586
|
-
| 3 | Clear with suggestions; identifies problem and offers next steps |
|
|
587
|
-
| 4 | Perfect recovery; pinpoints issue, suggests fix, preserves user work |
|
|
588
|
-
|
|
589
|
-
##### 10. Help and Documentation
|
|
590
|
-
|
|
591
|
-
Even if the system is usable without docs, help should be easy to find, task-focused, and concise.
|
|
592
|
-
|
|
593
|
-
**Check for**:
|
|
594
|
-
- Searchable help or documentation
|
|
595
|
-
- Contextual help (tooltips, inline hints, guided tours)
|
|
596
|
-
- Task-focused organization (not feature-organized)
|
|
597
|
-
- Concise, scannable content
|
|
598
|
-
- Easy access without leaving current context
|
|
599
|
-
|
|
600
|
-
**Scoring**:
|
|
601
|
-
| Score | Criteria |
|
|
602
|
-
|-------|----------|
|
|
603
|
-
| 0 | No help available anywhere |
|
|
604
|
-
| 1 | Help exists but hard to find or irrelevant |
|
|
605
|
-
| 2 | Basic help; FAQ or docs exist, not contextual |
|
|
606
|
-
| 3 | Good documentation; searchable, mostly task-focused |
|
|
607
|
-
| 4 | Excellent contextual help; right info at the right moment |
|
|
608
|
-
|
|
609
|
-
---
|
|
298
|
+
### Scoring the report
|
|
610
299
|
|
|
611
300
|
#### Score Summary
|
|
612
301
|
|
|
@@ -636,184 +325,3 @@ Tag each individual issue found during scoring with a priority level:
|
|
|
636
325
|
| **P3** | Polish | Nice-to-fix, no real user impact | Fix if time permits |
|
|
637
326
|
|
|
638
327
|
**Tip**: If you're unsure between two levels, ask: "Would a user contact support about this?" If yes, it's at least P1.
|
|
639
|
-
|
|
640
|
-
---
|
|
641
|
-
|
|
642
|
-
### Persona-Based Design Testing
|
|
643
|
-
|
|
644
|
-
Test the interface through the eyes of 5 distinct user archetypes. Each persona exposes different failure modes that a single "design director" perspective would miss.
|
|
645
|
-
|
|
646
|
-
**How to use**: Select 2–3 personas most relevant to the interface being critiqued. Walk through the primary user action as each persona. Report specific red flags, not generic concerns.
|
|
647
|
-
|
|
648
|
-
---
|
|
649
|
-
|
|
650
|
-
#### 1. Impatient Power User: "Alex"
|
|
651
|
-
|
|
652
|
-
**Profile**: Expert with similar products. Expects efficiency, hates hand-holding. Will find shortcuts or leave.
|
|
653
|
-
|
|
654
|
-
**Behaviors**:
|
|
655
|
-
- Skips all onboarding and instructions
|
|
656
|
-
- Looks for keyboard shortcuts immediately
|
|
657
|
-
- Tries to bulk-select, batch-edit, and automate
|
|
658
|
-
- Gets frustrated by required steps that feel unnecessary
|
|
659
|
-
- Abandons if anything feels slow or patronizing
|
|
660
|
-
|
|
661
|
-
**Test Questions**:
|
|
662
|
-
- Can Alex complete the core task in under 60 seconds?
|
|
663
|
-
- Are there keyboard shortcuts for common actions?
|
|
664
|
-
- Can onboarding be skipped entirely?
|
|
665
|
-
- Do modals have keyboard dismiss (Esc)?
|
|
666
|
-
- Is there a "power user" path (shortcuts, bulk actions)?
|
|
667
|
-
|
|
668
|
-
**Red Flags** (report these specifically):
|
|
669
|
-
- Forced tutorials or unskippable onboarding
|
|
670
|
-
- No keyboard navigation for primary actions
|
|
671
|
-
- Slow animations that can't be skipped
|
|
672
|
-
- One-item-at-a-time workflows where batch would be natural
|
|
673
|
-
- Redundant confirmation steps for low-risk actions
|
|
674
|
-
|
|
675
|
-
---
|
|
676
|
-
|
|
677
|
-
#### 2. Confused First-Timer: "Jordan"
|
|
678
|
-
|
|
679
|
-
**Profile**: Never used this type of product. Needs guidance at every step. Will abandon rather than figure it out.
|
|
680
|
-
|
|
681
|
-
**Behaviors**:
|
|
682
|
-
- Reads all instructions carefully
|
|
683
|
-
- Hesitates before clicking anything unfamiliar
|
|
684
|
-
- Looks for help or support constantly
|
|
685
|
-
- Misunderstands jargon and abbreviations
|
|
686
|
-
- Takes the most literal interpretation of any label
|
|
687
|
-
|
|
688
|
-
**Test Questions**:
|
|
689
|
-
- Is the first action obviously clear within 5 seconds?
|
|
690
|
-
- Are all icons labeled with text?
|
|
691
|
-
- Is there contextual help at decision points?
|
|
692
|
-
- Does terminology assume prior knowledge?
|
|
693
|
-
- Is there a clear "back" or "undo" at every step?
|
|
694
|
-
|
|
695
|
-
**Red Flags** (report these specifically):
|
|
696
|
-
- Icon-only navigation with no labels
|
|
697
|
-
- Technical jargon without explanation
|
|
698
|
-
- No visible help option or guidance
|
|
699
|
-
- Ambiguous next steps after completing an action
|
|
700
|
-
- No confirmation that an action succeeded
|
|
701
|
-
|
|
702
|
-
---
|
|
703
|
-
|
|
704
|
-
#### 3. Accessibility-Dependent User: "Sam"
|
|
705
|
-
|
|
706
|
-
**Profile**: Uses screen reader (VoiceOver/NVDA), keyboard-only navigation. May have low vision, motor impairment, or cognitive differences.
|
|
707
|
-
|
|
708
|
-
**Behaviors**:
|
|
709
|
-
- Tabs through the interface linearly
|
|
710
|
-
- Relies on ARIA labels and heading structure
|
|
711
|
-
- Cannot see hover states or visual-only indicators
|
|
712
|
-
- Needs adequate color contrast (4.5:1 minimum)
|
|
713
|
-
- May use browser zoom up to 200%
|
|
714
|
-
|
|
715
|
-
**Test Questions**:
|
|
716
|
-
- Can the entire primary flow be completed keyboard-only?
|
|
717
|
-
- Are all interactive elements focusable with visible focus indicators?
|
|
718
|
-
- Do images have meaningful alt text?
|
|
719
|
-
- Is color contrast WCAG AA compliant (4.5:1 for text)?
|
|
720
|
-
- Does the screen reader announce state changes (loading, success, errors)?
|
|
721
|
-
|
|
722
|
-
**Red Flags** (report these specifically):
|
|
723
|
-
- Click-only interactions with no keyboard alternative
|
|
724
|
-
- Missing or invisible focus indicators
|
|
725
|
-
- Meaning conveyed by color alone (red = error, green = success)
|
|
726
|
-
- Unlabeled form fields or buttons
|
|
727
|
-
- Time-limited actions without extension option
|
|
728
|
-
- Custom components that break screen reader flow
|
|
729
|
-
|
|
730
|
-
---
|
|
731
|
-
|
|
732
|
-
#### 4. Deliberate Stress Tester: "Riley"
|
|
733
|
-
|
|
734
|
-
**Profile**: Methodical user who pushes interfaces beyond the happy path. Tests edge cases, tries unexpected inputs, and probes for gaps in the experience.
|
|
735
|
-
|
|
736
|
-
**Behaviors**:
|
|
737
|
-
- Tests edge cases intentionally (empty states, long strings, special characters)
|
|
738
|
-
- Submits forms with unexpected data (emoji, RTL text, very long values)
|
|
739
|
-
- Tries to break workflows by navigating backwards, refreshing mid-flow, or opening in multiple tabs
|
|
740
|
-
- Looks for inconsistencies between what the UI promises and what actually happens
|
|
741
|
-
- Documents problems methodically
|
|
742
|
-
|
|
743
|
-
**Test Questions**:
|
|
744
|
-
- What happens at the edges (0 items, 1000 items, very long text)?
|
|
745
|
-
- Do error states recover gracefully or leave the UI in a broken state?
|
|
746
|
-
- What happens on refresh mid-workflow? Is state preserved?
|
|
747
|
-
- Are there features that appear to work but produce broken results?
|
|
748
|
-
- How does the UI handle unexpected input (emoji, special chars, paste from Excel)?
|
|
749
|
-
|
|
750
|
-
**Red Flags** (report these specifically):
|
|
751
|
-
- Features that appear to work but silently fail or produce wrong results
|
|
752
|
-
- Error handling that exposes technical details or leaves UI in a broken state
|
|
753
|
-
- Empty states that show nothing useful ("No results" with no guidance)
|
|
754
|
-
- Workflows that lose user data on refresh or navigation
|
|
755
|
-
- Inconsistent behavior between similar interactions in different parts of the UI
|
|
756
|
-
|
|
757
|
-
---
|
|
758
|
-
|
|
759
|
-
#### 5. Distracted Mobile User: "Casey"
|
|
760
|
-
|
|
761
|
-
**Profile**: Using phone one-handed on the go. Frequently interrupted. Possibly on a slow connection.
|
|
762
|
-
|
|
763
|
-
**Behaviors**:
|
|
764
|
-
- Uses thumb only; prefers bottom-of-screen actions
|
|
765
|
-
- Gets interrupted mid-flow and returns later
|
|
766
|
-
- Switches between apps frequently
|
|
767
|
-
- Has limited attention span and low patience
|
|
768
|
-
- Types as little as possible, prefers taps and selections
|
|
769
|
-
|
|
770
|
-
**Test Questions**:
|
|
771
|
-
- Are primary actions in the thumb zone (bottom half of screen)?
|
|
772
|
-
- Is state preserved if the user leaves and returns?
|
|
773
|
-
- Does it work on slow connections (3G)?
|
|
774
|
-
- Can forms use autocomplete and smart defaults?
|
|
775
|
-
- Are touch targets at least 44×44pt?
|
|
776
|
-
|
|
777
|
-
**Red Flags** (report these specifically):
|
|
778
|
-
- Important actions positioned at the top of the screen (unreachable by thumb)
|
|
779
|
-
- No state persistence; progress lost on tab switch or interruption
|
|
780
|
-
- Large text inputs required where selection would work
|
|
781
|
-
- Heavy assets loading on every page (no lazy loading)
|
|
782
|
-
- Tiny tap targets or targets too close together
|
|
783
|
-
|
|
784
|
-
---
|
|
785
|
-
|
|
786
|
-
#### Selecting Personas
|
|
787
|
-
|
|
788
|
-
Choose personas based on the interface type:
|
|
789
|
-
|
|
790
|
-
| Interface Type | Primary Personas | Why |
|
|
791
|
-
|---------------|-----------------|-----|
|
|
792
|
-
| Landing page / marketing | Jordan, Riley, Casey | First impressions, trust, mobile |
|
|
793
|
-
| Dashboard / admin | Alex, Sam | Power users, accessibility |
|
|
794
|
-
| E-commerce / checkout | Casey, Riley, Jordan | Mobile, edge cases, clarity |
|
|
795
|
-
| Onboarding flow | Jordan, Casey | Confusion, interruption |
|
|
796
|
-
| Data-heavy / analytics | Alex, Sam | Efficiency, keyboard nav |
|
|
797
|
-
| Form-heavy / wizard | Jordan, Sam, Casey | Clarity, accessibility, mobile |
|
|
798
|
-
|
|
799
|
-
---
|
|
800
|
-
|
|
801
|
-
#### Project-Specific Personas
|
|
802
|
-
|
|
803
|
-
If `AGENTS.md` contains a `## Design Context` section (generated by `impeccable init`), derive 1–2 additional personas from the audience and brand information:
|
|
804
|
-
|
|
805
|
-
1. Read the target audience description
|
|
806
|
-
2. Identify the primary user archetype not covered by the 5 predefined personas
|
|
807
|
-
3. Create a persona following this template:
|
|
808
|
-
|
|
809
|
-
```
|
|
810
|
-
##### [Role]: "[Name]"
|
|
811
|
-
|
|
812
|
-
**Profile**: [2-3 key characteristics derived from Design Context]
|
|
813
|
-
|
|
814
|
-
**Behaviors**: [3-4 specific behaviors based on the described audience]
|
|
815
|
-
|
|
816
|
-
**Red Flags**: [3-4 things that would alienate this specific user type]
|
|
817
|
-
```
|
|
818
|
-
|
|
819
|
-
Only generate project-specific personas when real Design Context data is available. Don't invent audience details; use the 5 predefined personas when no context exists.
|
package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/degraded/documenter.md
CHANGED
|
@@ -9,7 +9,7 @@ Complete the check within your turn ceiling. Batch Reads, take `reference/docume
|
|
|
9
9
|
|
|
10
10
|
## Input Contract
|
|
11
11
|
|
|
12
|
-
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. A merge preserves confirmed incumbent decisions and reconciles them with the build.
|
|
12
|
+
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.
|
|
13
13
|
|
|
14
14
|
## Workflow
|
|
15
15
|
|
|
@@ -19,7 +19,7 @@ Expect: the original request; the confirmed user answers; the artifact path(s);
|
|
|
19
19
|
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.
|
|
20
20
|
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.
|
|
21
21
|
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.
|
|
22
|
-
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.
|
|
22
|
+
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.
|
|
23
23
|
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.
|
|
24
24
|
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.
|
|
25
25
|
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<!-- Generated from skill/agents/ at build time. Do not edit; edit the agent definition. -->
|
|
2
|
+
This harness has no subagent capability, so you are running this role inline. Step fully out of the work you just finished, adopt only this file's instructions for the pass, and disclose the substitution in one line of your closing message to the user, outside the output contract. Where the text below addresses a parent agent, you are both parties: produce the full output contract first, then act on it yourself.
|
|
3
|
+
|
|
4
|
+
# Impeccable Motion Reviewer
|
|
5
|
+
|
|
6
|
+
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.
|
|
7
|
+
|
|
8
|
+
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.
|
|
9
|
+
|
|
10
|
+
## Input Contract
|
|
11
|
+
|
|
12
|
+
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.
|
|
13
|
+
|
|
14
|
+
## Checks, in order
|
|
15
|
+
|
|
16
|
+
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.
|
|
17
|
+
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.
|
|
18
|
+
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.
|
|
19
|
+
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.
|
|
20
|
+
|
|
21
|
+
## Output Contract
|
|
22
|
+
|
|
23
|
+
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.
|
|
24
|
+
|
|
25
|
+
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.
|
|
26
|
+
|
|
27
|
+
## Verdict Pass
|
|
28
|
+
|
|
29
|
+
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.
|
|
@@ -48,7 +48,7 @@ Systematically remove complexity across these dimensions:
|
|
|
48
48
|
- **Remove redundancy**: If it's said elsewhere, don't repeat it here
|
|
49
49
|
|
|
50
50
|
### Visual Simplification
|
|
51
|
-
- **Reduce color palette**:
|
|
51
|
+
- **Reduce color palette**: Keep 1-2 decorative or brand colors plus neutrals, not 5-7; keep semantic colors (success, warning, error) and pair each with a non-color cue
|
|
52
52
|
- **Limit typography**: One font family, 3-4 sizes maximum, 2-3 weights
|
|
53
53
|
- **Remove decorations**: Eliminate borders, shadows, backgrounds that don't serve hierarchy or function
|
|
54
54
|
- **Flatten structure**: Reduce nesting, remove unnecessary containers; never nest cards inside cards
|