@mutmutco/pi-plugin 4.5.204 → 4.5.205
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/package.json
CHANGED
|
@@ -21,7 +21,7 @@ The server exposes `/health` and `/module.js`. Register the module's bundle URL,
|
|
|
21
21
|
|
|
22
22
|
## The MM Open Design System Bible (owner, 2026-10-25; Hub#8837 / Hub#8839)
|
|
23
23
|
|
|
24
|
-
The bible for the MM open design system; every agent doing UI, design or MM Artifact work in this module treats it as second nature. Part 1 is how the system is built and used; Part 2 is how agents improve it when it fails them; Part 3 governs A/B choosing architecture and viewer behavior.
|
|
24
|
+
The bible for the MM open design system; every agent doing UI, design or MM Artifact work in this module treats it as second nature. Part 1 is how the system is built and used; Part 2 is how agents improve it when it fails them; Part 3 governs A/B choosing architecture and viewer behavior; Part 4 makes design-spec requests a visual A/B choice before any kit change.
|
|
25
25
|
|
|
26
26
|
### Part 1 — The five pillars (owner, 2026-10-25; Hub#8837)
|
|
27
27
|
|
|
@@ -42,7 +42,7 @@ Four owner decisions (2026-10-25T15:35:52Z):
|
|
|
42
42
|
|
|
43
43
|
Craft essentials (owner, 2026-10-25; Hub#8839):
|
|
44
44
|
|
|
45
|
-
- **
|
|
45
|
+
- **Sleek translucent glass cards and zero GPU usage — never color-washed (`2026-10-25T16:21:19.344Z`).** Cards use sleek, modern translucent glass material (neutral translucent surface with a crisp glass rim, `--card-tint-dark: 0%`, `--card-tint-light: 0%`) rather than color-washed card fills in any theme, and zero GPU-compositing blur or shadow (`--card-blur: none`, `--card-blur-frost: none`, `--frost-see-blur: 0px`, `--glass-blur: none`, `--card-shadow-dark: none`; never `backdrop-filter: blur(...)`). Module tones (`blue`, `coral`, `teal`, `purple`, `terracotta`, `green`, `pink`, `lime`, `cyan`, `magenta`, `fuchsia`) belong on `Badge`, `Mark`, `Checkbox` (`lead`), and card `icon`/`mark` accents (`edge="bite"`).
|
|
46
46
|
- **Surface modes.** After `impeccable context --target <path>`, `DESIGN.md` and `reference/craft-floor.md`, choose the surface mode (`Operate`, `Read`, `Persuade` or `Experience`) and load the matching playbooks (`shape`, `distill`, `typeset`, `layout`, `colorize`, `clarify`, `polish`, `harden`, `adapt`) before writing markup.
|
|
47
47
|
- **Restraint and hierarchy.** Group related items into section `Card`s (`heading: 2` under the page `<h1>`), keep main-column rows concise (`Cluster` with `fill` = `Checkbox` plus one trailing action), and put multi-line inspector detail in the right-hand `HelperCard` as `Stack` + `Text` — never `DataList`, which clips multi-line prose.
|
|
48
48
|
- **Verify SSR pre-rendered HTML.** `impeccable detect --json` is blind on an unrendered `<div id="root"></div>` file; verify the output of `review.mjs <folder> --standalone --open`, which pre-renders into `#root`. An empty `#root`, missing fonts or an unrendered detector run is a failure, not a pass.
|
|
@@ -86,6 +86,54 @@ Settled owner ruling: present clear, distinct choices in the existing MM Artifac
|
|
|
86
86
|
viewer zoom controls must keep the outer A/B selector shell, question bar and controls at a fixed
|
|
87
87
|
1:1 UI size.
|
|
88
88
|
|
|
89
|
+
### Part 4 — Visual A/B Choice via Designer Subagent Before Kit Implementation — Never Prose Specs (owner ruling 2026-10-25T16:29:46.339Z, #8844, #8846, #8848)
|
|
90
|
+
|
|
91
|
+
Settled owner ruling (verbatim): "You should use a designer to create a couple card designs with my
|
|
92
|
+
specifications and then let me choose then build the complete spec into the design system, replacing
|
|
93
|
+
any other card available atomically. That's the proper way to do it. Learn from this mistake of yours,
|
|
94
|
+
requests like this should follow this structure, not prose guide."
|
|
95
|
+
|
|
96
|
+
1. **Never reply with a prose specification in chat or jump straight to kit implementation.**
|
|
97
|
+
When the owner asks to "design the spec for X and add it to the design system" (for example, The One
|
|
98
|
+
Card), writing a markdown or prose spec in chat violates Principle 7 ("Choices for Jervaise go only
|
|
99
|
+
on the A/B canvas"). Building one guessed design straight into the kit skips the owner's choice.
|
|
100
|
+
2. **Always follow the visual spec pipeline:**
|
|
101
|
+
- **Phase 0 — Inspiration via Better Design MCP (`https://better-design.com/api/mcp`) and 21st.dev MCP (`https://21st.dev/api/mcp`) (owner ruling 2026-10-25T16:48:00Z, #8848).**
|
|
102
|
+
Before building visual A/B boards, query the two owner-selected prebuilt design inspiration MCP
|
|
103
|
+
servers — **Better Design MCP** (`https://better-design.com/api/mcp`) and **21st.dev MCP**
|
|
104
|
+
(`https://21st.dev/api/mcp`, verbatim selection: `"21st.dev MCP Better Design MCP"`) — alongside
|
|
105
|
+
front-loaded Impeccable to study high-craft reference patterns, layout proportions, and interaction
|
|
106
|
+
details. Always translate inspired patterns into zero-GPU `@mutmutco/mmwork-ds` tokens
|
|
107
|
+
(`--card-blur: none`, `--card-tint-dark: 0%`, `--card-tint-light: 0%`, sleek translucent glass
|
|
108
|
+
cards) and Atomic Design layers; never copy raw third-party CSS/HTML or GPU-heavy effects.
|
|
109
|
+
`MM-Inspo` is strictly a customer/tenant module inside the MM-Work suite, never an internal tool
|
|
110
|
+
for designing the MM-Work app or its design system.
|
|
111
|
+
- **Stage 1 — a designer subagent builds visual A/B alternatives on an MM Artifact canvas.**
|
|
112
|
+
Dispatch a `designer` subagent with front-loaded Impeccable (`impeccable context`, `craft-floor`,
|
|
113
|
+
`distill`, `typeset`, `layout`, `colorize`, `polish`) to create 2–3 genuinely distinct visual
|
|
114
|
+
designs that honor every constraint in the owner's brief: Option A, Option B and optionally
|
|
115
|
+
Option C, each its own full-resolution `1440x900` live HTML board in one MM Artifact A/B canvas
|
|
116
|
+
(Part 3 rules: content-only `Ctrl + Mousewheel` zoom, 1:1 or side-by-side live comparison). Open
|
|
117
|
+
the verified canvas in the browser automatically with
|
|
118
|
+
`node artifacts/review/review.mjs <folder> --standalone --open`. Spawn a dedicated, fresh
|
|
119
|
+
`designer` subagent for each distinct design task (item 3); never reuse a busy designer seat.
|
|
120
|
+
- **Stage 2 — the owner chooses visually on the A/B canvas.** Wait while the owner inspects the
|
|
121
|
+
live HTML alternatives, zooms into details and picks the preferred design or asks for
|
|
122
|
+
adjustments. Record the canvas choice ID and the owner-decision reference.
|
|
123
|
+
- **Stage 3 — atomic replacement in the kit source.** Only AFTER the owner picks on the A/B canvas,
|
|
124
|
+
build the chosen design into the source folder of packages/mmwork-ds in mutmutco/MM-Work,
|
|
125
|
+
**atomically replacing** every other legacy or competing variant of that piece across the design
|
|
126
|
+
system, publish it to `Canlı belgeler` / MM-Work, and propagate it to all 10 suite modules.
|
|
127
|
+
3. **One dedicated `designer` subagent per distinct design task — never overload a designer seat
|
|
128
|
+
(owner ruling 2026-10-25T16:33:00Z, #8846).**
|
|
129
|
+
Settled owner ruling (verbatim): "The lead designer sent the card building to the same designer
|
|
130
|
+
agent, overloading it. I don't think it was a wise idea. Please learn from this."
|
|
131
|
+
Spawn a separate, fresh `designer` subagent in its own isolated lane for each distinct design task
|
|
132
|
+
or visual A/B canvas (for example, a theme A/B exploration vs. a unified Card spec A/B). Never steer
|
|
133
|
+
or queue a second unrelated design task onto an active `designer` seat: overloading one
|
|
134
|
+
`designer` subagent serializes work that should run in parallel, bloats its context window, and
|
|
135
|
+
degrades craft quality.
|
|
136
|
+
|
|
89
137
|
## Mandatory Impeccable workflow (owner, 2026-10-25; Hub#8814 / MM-Work#7629)
|
|
90
138
|
|
|
91
139
|
UI and design verification uses `@mutmutco/mmwork-ds` (`mmwork-check-ui`) plus Impeccable on every design task: inspect the toolkit for applicable capabilities, work directly on the live app, and use our own MM Artifacts A/B canvas only when an owner A/B choice is needed. Functional journeys, where separately permitted, stay opt-in `workflow_dispatch`-only and never act as design checks.
|
|
@@ -39,7 +39,7 @@ Functional browser journeys remain opt-in `workflow_dispatch`-only, never design
|
|
|
39
39
|
This is the bible for the MM open design system: every agent doing UI, design, document or MM
|
|
40
40
|
Artifact work reads it first and treats it as second nature. Part 1 says how the system is built and
|
|
41
41
|
used; Part 2 says how agents improve it when it fails them; Part 3 governs A/B choosing architecture
|
|
42
|
-
and viewer behavior.
|
|
42
|
+
and viewer behavior; Part 4 makes design-spec requests a visual A/B choice before any kit change.
|
|
43
43
|
|
|
44
44
|
### Part 1 — The five pillars of the MM Open Design System
|
|
45
45
|
|
|
@@ -103,11 +103,14 @@ Impeccable **v4.7.0 / engine v0.1.16** details:
|
|
|
103
103
|
|
|
104
104
|
Craft essentials every agent applies (owner, 2026-10-25, #8839):
|
|
105
105
|
|
|
106
|
-
- **
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
106
|
+
- **Sleek translucent glass cards and zero GPU usage — never color-washed
|
|
107
|
+
(`2026-10-25T16:21:19.344Z`).** Cards use sleek, modern translucent glass material (neutral
|
|
108
|
+
translucent surface with a crisp glass rim, `--card-tint-dark: 0%`, `--card-tint-light: 0%`)
|
|
109
|
+
rather than color-washed card fills in any theme, and zero GPU-compositing blur or shadow
|
|
110
|
+
(`--card-blur: none`, `--card-blur-frost: none`, `--frost-see-blur: 0px`, `--glass-blur: none`,
|
|
111
|
+
`--card-shadow-dark: none`; never `backdrop-filter: blur(...)`). Module tones (`blue`, `coral`,
|
|
112
|
+
`teal`, `purple`, `terracotta`, `green`, `pink`, `lime`, `cyan`, `magenta`, `fuchsia`)
|
|
113
|
+
belong on `Badge`, `Mark`, `Checkbox` (`lead`), and card `icon`/`mark` accents (`edge="bite"`).
|
|
111
114
|
- **Front-loaded Impeccable v4.7.0, in front of creation.** Run `impeccable context --target <path>`,
|
|
112
115
|
read `DESIGN.md` and `reference/craft-floor.md`, choose the surface mode (`Operate`, `Read`,
|
|
113
116
|
`Persuade` or `Experience`) and load the matching playbooks (`shape`, `distill`, `typeset`,
|
|
@@ -178,6 +181,54 @@ Settled owner ruling: present clear, distinct choices in the existing MM Artifac
|
|
|
178
181
|
viewer zoom controls must keep the outer A/B selector shell, question bar and controls at a fixed
|
|
179
182
|
1:1 UI size.
|
|
180
183
|
|
|
184
|
+
### Part 4 — Visual A/B Choice via Designer Subagent Before Kit Implementation — Never Prose Specs (owner ruling 2026-10-25T16:29:46.339Z, #8844, #8846, #8848)
|
|
185
|
+
|
|
186
|
+
Settled owner ruling (verbatim): "You should use a designer to create a couple card designs with my
|
|
187
|
+
specifications and then let me choose then build the complete spec into the design system, replacing
|
|
188
|
+
any other card available atomically. That's the proper way to do it. Learn from this mistake of yours,
|
|
189
|
+
requests like this should follow this structure, not prose guide."
|
|
190
|
+
|
|
191
|
+
1. **Never reply with a prose specification in chat or jump straight to kit implementation.**
|
|
192
|
+
When the owner asks to "design the spec for X and add it to the design system" (for example, The One
|
|
193
|
+
Card), writing a markdown or prose spec in chat violates Principle 7 ("Choices for Jervaise go only
|
|
194
|
+
on the A/B canvas"). Building one guessed design straight into the kit skips the owner's choice.
|
|
195
|
+
2. **Always follow the visual spec pipeline:**
|
|
196
|
+
- **Phase 0 — Inspiration via Better Design MCP (`https://better-design.com/api/mcp`) and 21st.dev MCP (`https://21st.dev/api/mcp`) (owner ruling 2026-10-25T16:48:00Z, #8848).**
|
|
197
|
+
Before building visual A/B boards, query the two owner-selected prebuilt design inspiration MCP
|
|
198
|
+
servers — **Better Design MCP** (`https://better-design.com/api/mcp`) and **21st.dev MCP**
|
|
199
|
+
(`https://21st.dev/api/mcp`, verbatim selection: `"21st.dev MCP Better Design MCP"`) — alongside
|
|
200
|
+
front-loaded Impeccable to study high-craft reference patterns, layout proportions, and interaction
|
|
201
|
+
details. Always translate inspired patterns into zero-GPU `@mutmutco/mmwork-ds` tokens
|
|
202
|
+
(`--card-blur: none`, `--card-tint-dark: 0%`, `--card-tint-light: 0%`, sleek translucent glass
|
|
203
|
+
cards) and Atomic Design layers; never copy raw third-party CSS/HTML or GPU-heavy effects.
|
|
204
|
+
`MM-Inspo` is strictly a customer/tenant module inside the MM-Work suite, never an internal tool
|
|
205
|
+
for designing the MM-Work app or its design system.
|
|
206
|
+
- **Stage 1 — a designer subagent builds visual A/B alternatives on an MM Artifact canvas.**
|
|
207
|
+
Dispatch a `designer` subagent with front-loaded Impeccable (`impeccable context`, `craft-floor`,
|
|
208
|
+
`distill`, `typeset`, `layout`, `colorize`, `polish`) to create 2–3 genuinely distinct visual
|
|
209
|
+
designs that honor every constraint in the owner's brief: Option A, Option B and optionally
|
|
210
|
+
Option C, each its own full-resolution `1440x900` live HTML board in one MM Artifact A/B canvas
|
|
211
|
+
(Part 3 rules: content-only `Ctrl + Mousewheel` zoom, 1:1 or side-by-side live comparison). Open
|
|
212
|
+
the verified canvas in the browser automatically with
|
|
213
|
+
`node artifacts/review/review.mjs <folder> --standalone --open`. Spawn a dedicated, fresh
|
|
214
|
+
`designer` subagent for each distinct design task (item 3); never reuse a busy designer seat.
|
|
215
|
+
- **Stage 2 — the owner chooses visually on the A/B canvas.** Wait while the owner inspects the
|
|
216
|
+
live HTML alternatives, zooms into details and picks the preferred design or asks for
|
|
217
|
+
adjustments. Record the canvas choice ID and the owner-decision reference.
|
|
218
|
+
- **Stage 3 — atomic replacement in the kit source.** Only AFTER the owner picks on the A/B canvas,
|
|
219
|
+
build the chosen design into the source folder of packages/mmwork-ds in mutmutco/MM-Work,
|
|
220
|
+
**atomically replacing** every other legacy or competing variant of that piece across the design
|
|
221
|
+
system, publish it to `Canlı belgeler` / MM-Work, and propagate it to all 10 suite modules.
|
|
222
|
+
3. **One dedicated `designer` subagent per distinct design task — never overload a designer seat
|
|
223
|
+
(owner ruling 2026-10-25T16:33:00Z, #8846).**
|
|
224
|
+
Settled owner ruling (verbatim): "The lead designer sent the card building to the same designer
|
|
225
|
+
agent, overloading it. I don't think it was a wise idea. Please learn from this."
|
|
226
|
+
Spawn a separate, fresh `designer` subagent in its own isolated lane for each distinct design task
|
|
227
|
+
or visual A/B canvas (for example, a theme A/B exploration vs. a unified Card spec A/B). Never steer
|
|
228
|
+
or queue a second unrelated design task onto an active `designer` seat: overloading one
|
|
229
|
+
`designer` subagent serializes work that should run in parallel, bloats its context window, and
|
|
230
|
+
degrades craft quality.
|
|
231
|
+
|
|
181
232
|
## Documentation preflight
|
|
182
233
|
|
|
183
234
|
Before each push or PR, follow this order:
|