@jaimevalasek/aioson 1.4.0 → 1.5.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 (199) hide show
  1. package/CHANGELOG.md +31 -1
  2. package/LICENSE +661 -21
  3. package/README.md +3 -1
  4. package/docs/en/squad-dashboard.md +372 -0
  5. package/docs/openclaw-bridge.md +308 -0
  6. package/docs/pt/agentes.md +124 -10
  7. package/docs/pt/cenarios.md +46 -2
  8. package/docs/pt/comandos-cli.md +60 -1
  9. package/docs/pt/inicio-rapido.md +18 -2
  10. package/docs/pt/squad-dashboard.md +373 -0
  11. package/docs/testing/genome-2.0-matrix.md +5 -5
  12. package/docs/testing/genome-2.0-rollout.md +9 -9
  13. package/package.json +2 -2
  14. package/src/backup-local.js +74 -0
  15. package/src/cli.js +98 -0
  16. package/src/commands/backup-local-cmd.js +25 -0
  17. package/src/commands/runtime.js +242 -0
  18. package/src/commands/setup-context.js +7 -2
  19. package/src/commands/squad-daemon.js +209 -0
  20. package/src/commands/squad-dashboard.js +39 -0
  21. package/src/commands/squad-deploy.js +64 -0
  22. package/src/commands/squad-doctor.js +52 -0
  23. package/src/commands/squad-mcp.js +270 -0
  24. package/src/commands/squad-processes.js +56 -0
  25. package/src/commands/squad-recovery.js +42 -0
  26. package/src/commands/squad-roi.js +291 -0
  27. package/src/commands/squad-score.js +250 -0
  28. package/src/commands/squad-status.js +37 -1
  29. package/src/commands/squad-validate.js +62 -1
  30. package/src/commands/squad-webhook.js +160 -0
  31. package/src/commands/squad-worker.js +191 -0
  32. package/src/commands/squad-worktrees.js +75 -0
  33. package/src/commands/web-map.js +70 -0
  34. package/src/commands/web-scrape.js +71 -0
  35. package/src/constants.js +8 -0
  36. package/src/context-writer.js +45 -1
  37. package/src/i18n/messages/en.js +127 -1
  38. package/src/i18n/messages/es.js +117 -0
  39. package/src/i18n/messages/fr.js +117 -0
  40. package/src/i18n/messages/pt-BR.js +126 -1
  41. package/src/lib/webhook-server.js +328 -0
  42. package/src/mcp-connectors/registry.js +602 -0
  43. package/src/runtime-store.js +259 -2
  44. package/src/squad/external-session.js +180 -0
  45. package/src/squad/inter-squad.js +74 -0
  46. package/src/squad/recovery-context.js +201 -0
  47. package/src/squad/worktree-manager.js +114 -0
  48. package/src/squad-daemon.js +490 -0
  49. package/src/squad-dashboard/api.js +223 -0
  50. package/src/squad-dashboard/attachment-handler.js +93 -0
  51. package/src/squad-dashboard/context-monitor.js +157 -0
  52. package/src/squad-dashboard/execution-logs.js +115 -0
  53. package/src/squad-dashboard/hunk-review.js +209 -0
  54. package/src/squad-dashboard/metrics.js +133 -0
  55. package/src/squad-dashboard/process-monitor.js +125 -0
  56. package/src/squad-dashboard/renderer.js +858 -0
  57. package/src/squad-dashboard/server.js +232 -0
  58. package/src/squad-dashboard/styles.js +525 -0
  59. package/src/squad-dashboard/token-tracker.js +99 -0
  60. package/src/web.js +284 -0
  61. package/src/worker-runner.js +339 -0
  62. package/template/.aioson/agents/analyst.md +4 -0
  63. package/template/.aioson/agents/architect.md +4 -0
  64. package/template/.aioson/agents/dev.md +120 -11
  65. package/template/.aioson/agents/deyvin.md +8 -0
  66. package/template/.aioson/agents/neo.md +152 -0
  67. package/template/.aioson/agents/orache.md +17 -0
  68. package/template/.aioson/agents/orchestrator.md +26 -0
  69. package/template/.aioson/agents/product.md +60 -12
  70. package/template/.aioson/agents/qa.md +1 -0
  71. package/template/.aioson/agents/setup.md +63 -19
  72. package/template/.aioson/agents/sheldon.md +603 -0
  73. package/template/.aioson/agents/squad.md +191 -0
  74. package/template/.aioson/agents/tester.md +254 -0
  75. package/template/.aioson/agents/ux-ui.md +12 -0
  76. package/template/.aioson/config.md +6 -0
  77. package/template/.aioson/locales/en/agents/analyst.md +8 -0
  78. package/template/.aioson/locales/en/agents/architect.md +8 -0
  79. package/template/.aioson/locales/en/agents/dev.md +66 -7
  80. package/template/.aioson/locales/en/agents/deyvin.md +8 -0
  81. package/template/.aioson/locales/en/agents/neo.md +8 -0
  82. package/template/.aioson/locales/en/agents/orchestrator.md +26 -0
  83. package/template/.aioson/locales/en/agents/qa.md +49 -0
  84. package/template/.aioson/locales/en/agents/setup.md +2 -1
  85. package/template/.aioson/locales/en/agents/sheldon.md +340 -0
  86. package/template/.aioson/locales/en/agents/ux-ui.md +8 -0
  87. package/template/.aioson/locales/es/agents/analyst.md +8 -0
  88. package/template/.aioson/locales/es/agents/architect.md +8 -0
  89. package/template/.aioson/locales/es/agents/dev.md +66 -7
  90. package/template/.aioson/locales/es/agents/deyvin.md +8 -0
  91. package/template/.aioson/locales/es/agents/neo.md +48 -0
  92. package/template/.aioson/locales/es/agents/orchestrator.md +26 -0
  93. package/template/.aioson/locales/es/agents/qa.md +26 -0
  94. package/template/.aioson/locales/es/agents/setup.md +2 -1
  95. package/template/.aioson/locales/es/agents/sheldon.md +192 -0
  96. package/template/.aioson/locales/es/agents/squad.md +63 -0
  97. package/template/.aioson/locales/es/agents/ux-ui.md +8 -0
  98. package/template/.aioson/locales/fr/agents/analyst.md +8 -0
  99. package/template/.aioson/locales/fr/agents/architect.md +8 -0
  100. package/template/.aioson/locales/fr/agents/dev.md +66 -7
  101. package/template/.aioson/locales/fr/agents/deyvin.md +8 -0
  102. package/template/.aioson/locales/fr/agents/neo.md +48 -0
  103. package/template/.aioson/locales/fr/agents/orchestrator.md +26 -0
  104. package/template/.aioson/locales/fr/agents/qa.md +26 -0
  105. package/template/.aioson/locales/fr/agents/setup.md +2 -1
  106. package/template/.aioson/locales/fr/agents/sheldon.md +192 -0
  107. package/template/.aioson/locales/fr/agents/squad.md +63 -0
  108. package/template/.aioson/locales/fr/agents/ux-ui.md +8 -0
  109. package/template/.aioson/locales/pt-BR/agents/analyst.md +19 -0
  110. package/template/.aioson/locales/pt-BR/agents/architect.md +19 -0
  111. package/template/.aioson/locales/pt-BR/agents/dev.md +75 -12
  112. package/template/.aioson/locales/pt-BR/agents/deyvin.md +8 -0
  113. package/template/.aioson/locales/pt-BR/agents/neo.md +147 -0
  114. package/template/.aioson/locales/pt-BR/agents/orchestrator.md +26 -0
  115. package/template/.aioson/locales/pt-BR/agents/product.md +8 -3
  116. package/template/.aioson/locales/pt-BR/agents/qa.md +60 -0
  117. package/template/.aioson/locales/pt-BR/agents/setup.md +2 -1
  118. package/template/.aioson/locales/pt-BR/agents/sheldon.md +192 -0
  119. package/template/.aioson/locales/pt-BR/agents/squad.md +105 -0
  120. package/template/.aioson/locales/pt-BR/agents/ux-ui.md +8 -0
  121. package/template/.aioson/schemas/squad-blueprint.schema.json +21 -0
  122. package/template/.aioson/schemas/squad-manifest.schema.json +178 -1
  123. package/template/.aioson/skills/design/bold-editorial-ui/SKILL.md +205 -0
  124. package/template/.aioson/skills/design/bold-editorial-ui/references/art-direction.md +338 -0
  125. package/template/.aioson/skills/design/bold-editorial-ui/references/components.md +977 -0
  126. package/template/.aioson/skills/design/bold-editorial-ui/references/dashboards.md +218 -0
  127. package/template/.aioson/skills/design/bold-editorial-ui/references/design-tokens.md +326 -0
  128. package/template/.aioson/skills/design/bold-editorial-ui/references/motion.md +461 -0
  129. package/template/.aioson/skills/design/bold-editorial-ui/references/patterns.md +293 -0
  130. package/template/.aioson/skills/design/bold-editorial-ui/references/websites.md +352 -0
  131. package/template/.aioson/skills/design/clean-saas-ui/SKILL.md +210 -0
  132. package/template/.aioson/skills/design/clean-saas-ui/references/art-direction.md +319 -0
  133. package/template/.aioson/skills/design/clean-saas-ui/references/components.md +365 -0
  134. package/template/.aioson/skills/design/clean-saas-ui/references/dashboards.md +196 -0
  135. package/template/.aioson/skills/design/clean-saas-ui/references/design-tokens.md +244 -0
  136. package/template/.aioson/skills/design/clean-saas-ui/references/motion.md +235 -0
  137. package/template/.aioson/skills/design/clean-saas-ui/references/patterns.md +215 -0
  138. package/template/.aioson/skills/design/clean-saas-ui/references/websites.md +295 -0
  139. package/template/.aioson/skills/design/cognitive-core-ui/SKILL.md +55 -9
  140. package/template/.aioson/skills/design/cognitive-core-ui/references/art-direction.md +339 -0
  141. package/template/.aioson/skills/design/cognitive-core-ui/references/components.md +1 -1
  142. package/template/.aioson/skills/design/cognitive-core-ui/references/dashboards.md +100 -0
  143. package/template/.aioson/skills/design/cognitive-core-ui/references/design-tokens.md +43 -9
  144. package/template/.aioson/skills/design/cognitive-core-ui/references/motion.md +40 -0
  145. package/template/.aioson/skills/design/cognitive-core-ui/references/patterns.md +1 -1
  146. package/template/.aioson/skills/design/cognitive-core-ui/references/websites.md +99 -12
  147. package/template/.aioson/skills/design/warm-craft-ui/SKILL.md +209 -0
  148. package/template/.aioson/skills/design/warm-craft-ui/references/art-direction.md +324 -0
  149. package/template/.aioson/skills/design/warm-craft-ui/references/components.md +508 -0
  150. package/template/.aioson/skills/design/warm-craft-ui/references/dashboards.md +223 -0
  151. package/template/.aioson/skills/design/warm-craft-ui/references/design-tokens.md +374 -0
  152. package/template/.aioson/skills/design/warm-craft-ui/references/motion.md +356 -0
  153. package/template/.aioson/skills/design/warm-craft-ui/references/patterns.md +288 -0
  154. package/template/.aioson/skills/design/warm-craft-ui/references/websites.md +289 -0
  155. package/template/.aioson/skills/premium-visual-design/SKILL.md +83 -0
  156. package/template/.aioson/skills/premium-visual-design/components/agent-badge.md +92 -0
  157. package/template/.aioson/skills/premium-visual-design/components/dependency-node.md +102 -0
  158. package/template/.aioson/skills/premium-visual-design/components/mention-autocomplete.md +136 -0
  159. package/template/.aioson/skills/premium-visual-design/components/notification-center.md +136 -0
  160. package/template/.aioson/skills/premium-visual-design/components/review-action-bar.md +188 -0
  161. package/template/.aioson/skills/premium-visual-design/components/team-switcher.md +131 -0
  162. package/template/.aioson/skills/premium-visual-design/patterns/agent-message-thread.md +198 -0
  163. package/template/.aioson/skills/premium-visual-design/patterns/notification-panel.md +275 -0
  164. package/template/.aioson/skills/premium-visual-design/patterns/review-workflow-ui.md +234 -0
  165. package/template/.aioson/skills/premium-visual-design/patterns/task-dependency-graph.md +147 -0
  166. package/template/.aioson/skills/premium-visual-design/tokens/status-extended.md +142 -0
  167. package/template/.aioson/skills/squad/formats/catalog.json +15 -0
  168. package/template/.aioson/skills/squad/formats/content/blog-post.md +47 -0
  169. package/template/.aioson/skills/squad/formats/content/newsletter.md +47 -0
  170. package/template/.aioson/skills/squad/formats/creative/podcast-script.md +43 -0
  171. package/template/.aioson/skills/squad/formats/creative/video-script.md +41 -0
  172. package/template/.aioson/skills/squad/formats/social/instagram-feed.md +42 -0
  173. package/template/.aioson/skills/squad/formats/social/linkedin-post.md +42 -0
  174. package/template/.aioson/skills/squad/formats/social/tiktok.md +39 -0
  175. package/template/.aioson/skills/squad/formats/social/twitter-thread.md +39 -0
  176. package/template/.aioson/skills/squad/formats/social/youtube-long.md +47 -0
  177. package/template/.aioson/skills/squad/formats/social/youtube-shorts.md +39 -0
  178. package/template/.aioson/skills/squad/patterns/multi-platform-pattern.md +108 -0
  179. package/template/.aioson/skills/squad/patterns/persona-based-pattern.md +98 -0
  180. package/template/.aioson/skills/squad/patterns/pipeline-pattern.md +106 -0
  181. package/template/.aioson/skills/squad/patterns/review-loop-pattern.md +81 -0
  182. package/template/.aioson/skills/squad/references/checklist-templates.md +122 -0
  183. package/template/.aioson/skills/squad/references/executor-archetypes.md +123 -0
  184. package/template/.aioson/skills/squad/references/workflow-templates.md +169 -0
  185. package/template/.aioson/skills/static/debugging-protocol.md +42 -0
  186. package/template/.aioson/skills/static/git-worktrees.md +36 -0
  187. package/template/.aioson/tasks/implementation-plan.md +19 -0
  188. package/template/.aioson/tasks/squad-design.md +28 -0
  189. package/template/.aioson/tasks/squad-profile.md +48 -0
  190. package/template/.aioson/tasks/squad-review.md +61 -0
  191. package/template/.aioson/tasks/squad-task-decompose.md +66 -0
  192. package/template/.claude/commands/aioson/agent/neo.md +5 -0
  193. package/template/.claude/commands/aioson/agent/tester.md +5 -0
  194. package/template/.gemini/GEMINI.md +1 -0
  195. package/template/.gemini/commands/aios-neo.toml +4 -0
  196. package/template/.gemini/commands/aios-tester.toml +6 -0
  197. package/template/AGENTS.md +3 -0
  198. package/template/CLAUDE.md +5 -2
  199. package/template/OPENCODE.md +2 -0
@@ -0,0 +1,339 @@
1
+ # Art Direction - Cognitive Core UI
2
+
3
+ Read this file for any page-level work where differentiation matters: apps, dashboards, landing pages, websites, profile pages, and major flows.
4
+
5
+ This file exists to stop Cognitive Core from collapsing into the same dark dashboard every time.
6
+
7
+ The system stays coherent, but the expression must change with the product, the user, and the dominant task.
8
+
9
+ ---
10
+
11
+ ## Core Rule
12
+
13
+ **Same system, different expressions.**
14
+
15
+ Keep the Cognitive Core DNA:
16
+ - structured information zones
17
+ - refined surfaces and subtle borders
18
+ - disciplined accent usage
19
+ - premium technical feel
20
+
21
+ But do **not** keep the exact same composition, hero, card rhythm, or visual emphasis from project to project.
22
+
23
+ ---
24
+
25
+ ## Mandatory Pre-Build Outputs
26
+
27
+ Before designing a full page, produce all of these:
28
+
29
+ 1. **Human**
30
+ The real person using this page right now.
31
+
32
+ 2. **Main action**
33
+ The one decision, action, or question that matters most on this screen.
34
+
35
+ 3. **Felt quality**
36
+ Concrete emotional words such as `cold`, `calm`, `surgical`, `elevated`, `urgent`, `editorial`, `trustworthy`, `tactical`.
37
+ Never use empty labels like `clean`, `modern`, or `beautiful`.
38
+
39
+ 4. **Domain vocabulary**
40
+ At least 5 concepts from the product's world.
41
+ Example for logistics: `dispatch`, `route`, `load`, `dock`, `throughput`.
42
+
43
+ 5. **Color world**
44
+ At least 5 colors or materials that belong to that product world.
45
+ Example: graphite glass, brushed steel, fog gray, oxidized teal, warning amber.
46
+
47
+ 6. **Defaults to avoid**
48
+ Name 3 obvious UI choices that would make the result generic.
49
+
50
+ 7. **Signature move**
51
+ One memorable design move that can appear in at least 5 places on the page.
52
+
53
+ If you cannot do these seven, you are not ready to compose the page.
54
+
55
+ ---
56
+
57
+ ## Expression Modes
58
+
59
+ Choose **one primary mode** per screen. You may borrow a small amount from a secondary mode only after the main expression is clear.
60
+
61
+ ### 1. Tactical Monolith
62
+
63
+ Use for:
64
+ - command centers
65
+ - security tools
66
+ - infra and monitoring
67
+ - serious operational dashboards
68
+
69
+ Feel:
70
+ - cold
71
+ - exact
72
+ - high-trust
73
+ - dense but controlled
74
+
75
+ Composition:
76
+ - dominant analysis panel
77
+ - strong left or top navigation spine
78
+ - grouped secondary rails
79
+ - no playful overlap
80
+
81
+ Visual cues:
82
+ - graphite surfaces
83
+ - restrained cyan or teal accent
84
+ - tight vertical rhythm
85
+ - mono labels as metadata rails
86
+
87
+ Signature ideas:
88
+ - inset command strip
89
+ - segmented control bar
90
+ - status tape above the main panel
91
+
92
+ ### 2. Quiet Graphite
93
+
94
+ Use for:
95
+ - premium SaaS apps
96
+ - B2B platforms
97
+ - productized internal tools
98
+
99
+ Feel:
100
+ - calm
101
+ - precise
102
+ - premium
103
+ - composed
104
+
105
+ Composition:
106
+ - generous negative space inside a dark shell
107
+ - fewer but larger cards
108
+ - content grouped by narrative importance, not just equal grid repetition
109
+
110
+ Visual cues:
111
+ - soft border-first depth
112
+ - low-contrast radial wash
113
+ - bold headings with restrained body copy
114
+ - minimal decorative noise
115
+
116
+ Signature ideas:
117
+ - oversized title rail
118
+ - media-backed hero card
119
+ - one sculpted panel breaking the grid
120
+
121
+ ### 3. Signal Editorial
122
+
123
+ Use for:
124
+ - landing pages
125
+ - product websites
126
+ - manifesto pages
127
+ - strategy or brand-heavy experiences
128
+
129
+ Feel:
130
+ - intelligent
131
+ - narrative
132
+ - premium
133
+ - atmospheric
134
+
135
+ Composition:
136
+ - asymmetric sections
137
+ - split hero or offset headline
138
+ - quote blocks, proof rails, editorial stacks
139
+ - alternating calm and high-impact moments
140
+
141
+ Visual cues:
142
+ - stronger display typography
143
+ - more whitespace
144
+ - mono as flavor, not reading mode
145
+ - refined textures, lines, or atmospheric backgrounds
146
+
147
+ Signature ideas:
148
+ - offset hero frame
149
+ - vertical proof rail
150
+ - manifesto block with oversized quote
151
+
152
+ ### 4. Luminous Light
153
+
154
+ Use for:
155
+ - client-facing apps
156
+ - enterprise admin with light theme
157
+ - trust-heavy workflows
158
+ - finance, healthcare, legal, institutional
159
+
160
+ Feel:
161
+ - clear
162
+ - trustworthy
163
+ - measured
164
+ - polished
165
+
166
+ Composition:
167
+ - strong content containers
168
+ - crisp headers
169
+ - one dominant task surface above the fold
170
+ - compact but breathable forms and tables
171
+
172
+ Visual cues:
173
+ - off-white surfaces, not raw white overload
174
+ - deep teal accent, never weak sky blue buttons
175
+ - clear border hierarchy
176
+ - low-noise status colors
177
+
178
+ Signature ideas:
179
+ - elevated action bar
180
+ - proof card ribbon
181
+ - sculpted table header band
182
+
183
+ ### 5. Industrial Flow
184
+
185
+ Use for:
186
+ - logistics
187
+ - supply chain
188
+ - manufacturing
189
+ - devtools with utilitarian tone
190
+
191
+ Feel:
192
+ - practical
193
+ - mechanical
194
+ - legible
195
+ - high-signal
196
+
197
+ Composition:
198
+ - rigid grid
199
+ - strong lanes and divisions
200
+ - labeled blocks with obvious purpose
201
+ - timeline, feed, or throughput emphasis
202
+
203
+ Visual cues:
204
+ - colder neutrals
205
+ - measured hazard accents
206
+ - boxed callouts
207
+ - minimal flourish, maximal clarity
208
+
209
+ Signature ideas:
210
+ - corner ticks
211
+ - rail markers
212
+ - striped progress treatment
213
+
214
+ ### 6. Gallery Intelligence
215
+
216
+ Use for:
217
+ - media-heavy apps
218
+ - CRM/contact systems
219
+ - AI agents, profiles, collections
220
+ - catalog products with analytics
221
+
222
+ Feel:
223
+ - curated
224
+ - intelligent
225
+ - dimensional
226
+ - premium
227
+
228
+ Composition:
229
+ - large hero card or profile surface
230
+ - supporting detail rail
231
+ - modular cards with strong hierarchy between thumbnail, title, metadata, and status
232
+
233
+ Visual cues:
234
+ - cleaner spacing around media
235
+ - tighter metadata rows
236
+ - one expressive showcase area per viewport
237
+
238
+ Signature ideas:
239
+ - profile marquee panel
240
+ - inset media frame
241
+ - layered details strip
242
+
243
+ ---
244
+
245
+ ## Signature Move Library
246
+
247
+ Pick one and commit. Do not apply three weak gestures when one strong one would do.
248
+
249
+ ### Apps
250
+ - segmented command bar with active underline and secondary metadata
251
+ - sculpted workspace header with embedded actions
252
+ - inset task rail that feels part of the shell, not pasted above content
253
+
254
+ ### Dashboards
255
+ - one dominant hero metric surface instead of four equal KPI cards
256
+ - trend arc or sparkline ribbon integrated into the main header
257
+ - alert tape, timeline spine, or live activity lane
258
+
259
+ ### Landing Pages
260
+ - offset split hero instead of centered everything
261
+ - manifesto quote block with asymmetric CTA cluster
262
+ - product theater frame with layered caption rails
263
+
264
+ ### Websites
265
+ - editorial section header with overline, side note, and supporting proof
266
+ - case-study strip with alternating image/text rhythm
267
+ - atmospheric background treatment that supports the narrative without drowning the content
268
+
269
+ Rule:
270
+ - your signature move must appear in at least 5 concrete places, or it is not a real signature
271
+
272
+ ---
273
+
274
+ ## Anti-Generic Tests
275
+
276
+ Run these before presenting:
277
+
278
+ ### Swap Test
279
+
280
+ If you swapped:
281
+ - the typeface for a common SaaS font
282
+ - the layout for a default sidebar + card grid
283
+ - the hero for a centered headline + two buttons
284
+
285
+ and the page still feels mostly the same, it is too generic.
286
+
287
+ ### Squint Test
288
+
289
+ Blur your eyes:
290
+ - can you still see hierarchy?
291
+ - is there one dominant idea?
292
+ - are borders, glows, or accents screaming?
293
+
294
+ Craft should whisper, not shout constantly.
295
+
296
+ ### Signature Test
297
+
298
+ Point to 5 exact places where the chosen signature appears.
299
+ If you cannot name them, you do not have a signature.
300
+
301
+ ### Domain Test
302
+
303
+ Hide the product name.
304
+ Would the page still feel like it belongs to this specific product world?
305
+ If not, you are decorating a template.
306
+
307
+ ---
308
+
309
+ ## Variation Rules By Surface Type
310
+
311
+ ### Apps
312
+ - Do not always start with a stat row.
313
+ - Do not always use a fixed left sidebar if a topbar + workspace rail fits better.
314
+ - Dense does not mean crowded; keep one task dominant.
315
+
316
+ ### Dashboards
317
+ - Avoid four equal KPI cards as the only opening move.
318
+ - Prefer one focal story above the fold: alert cluster, trend panel, hero metric, queue, or live map.
319
+ - Tables should feel integrated into the system, not pasted from a CRUD starter.
320
+
321
+ ### Landing Pages
322
+ - Do not default to centered hero + three feature cards + testimonials + CTA.
323
+ - Use at least one composition break: split layout, offset media, vertical rail, or alternating section cadence.
324
+ - Every section should have a different job, not the same card rhythm repeated four times.
325
+
326
+ ### Websites
327
+ - Not every page needs dark mode.
328
+ - Institutional does not mean bland; use typography, measure, editorial rhythm, and section contrast.
329
+ - Let proof, narrative, and structure carry beauty before using effects.
330
+
331
+ ---
332
+
333
+ ## Non-Negotiable Expression Rules
334
+
335
+ 1. One accent family, one expression mode, one signature move.
336
+ 2. The page must feel designed for a domain, not for a prompt category.
337
+ 3. Typography must carry personality before decoration does.
338
+ 4. Background atmosphere must support content, never compete with it.
339
+ 5. If the design feels familiar, push the composition, not the gimmicks.
@@ -105,7 +105,7 @@ Entity header with avatar, name, role, badges, and stat cards.
105
105
  ```
106
106
 
107
107
  - Avatar: `96px`, `border-radius: var(--radius-lg)`, `border: 2px solid var(--border-subtle)`
108
- - Name: `--text-3xl`, `--weight-black`, `--tracking-tight`, `--text-heading`
108
+ - Name: `--text-3xl`, `--weight-bold` by default, `--weight-black` only for a deliberately dramatic hero/profile treatment, `--tracking-tight`, `--text-heading`
109
109
  - Role: `color: var(--text-accent)`, `font-style: italic`, `--text-lg`
110
110
  - Tagline: mono, `--text-xs`, `--text-muted`, `--tracking-widest`, uppercase
111
111
  - ID: mono, `--text-xs`, muted, absolute positioned below avatar
@@ -11,6 +11,106 @@ These presets help choose a fitting operational composition instead of defaultin
11
11
  1. Start from the product's **main operational pressure**, not from a visual trope.
12
12
  2. Pick **one dominant preset** per screen.
13
13
  3. Mix small traits from another preset only when the primary composition is already clear.
14
+ 4. Choose one opening composition from the library below before placing a stat row.
15
+
16
+ ---
17
+
18
+ ## Opening Composition Library
19
+
20
+ Do not let every dashboard begin with `4 KPI cards + tabs + equal grid`.
21
+
22
+ Choose one primary opening move:
23
+
24
+ ### 1. Dominant Hero Surface
25
+
26
+ Use when:
27
+ - the screen has one main operational story
28
+ - users need a fast read on what matters most
29
+
30
+ Composition:
31
+ - one large hero analysis panel
32
+ - 2-3 supporting metrics beside or below
33
+ - secondary cards deferred downward
34
+
35
+ Best for:
36
+ - control centers
37
+ - analytics
38
+ - AI orchestration
39
+
40
+ ### 2. Alert and Queue First
41
+
42
+ Use when:
43
+ - urgency beats summary
44
+ - users act from exceptions, incidents, or pending work
45
+
46
+ Composition:
47
+ - alert cluster or priority queue above the fold
48
+ - supporting health metrics nearby
49
+ - context rail for recent events
50
+
51
+ Best for:
52
+ - ops
53
+ - support
54
+ - logistics
55
+ - monitoring
56
+
57
+ ### 3. Trend First
58
+
59
+ Use when:
60
+ - change over time matters more than static totals
61
+ - the main question is movement, not snapshot
62
+
63
+ Composition:
64
+ - chart or trend ribbon as the hero
65
+ - compact stat strip
66
+ - ranked list or narrative summary below
67
+
68
+ Best for:
69
+ - revenue
70
+ - analytics
71
+ - performance
72
+
73
+ ### 4. Profile or Entity First
74
+
75
+ Use when:
76
+ - one active entity anchors the workflow
77
+ - the user is working inside a person, account, project, or agent
78
+
79
+ Composition:
80
+ - profile header or entity summary surface
81
+ - focused stat cards
82
+ - detail tabs and contextual rails
83
+
84
+ Best for:
85
+ - CRM
86
+ - account management
87
+ - AI agent panels
88
+
89
+ ### 5. Workspace First
90
+
91
+ Use when:
92
+ - the dashboard is really a working surface, not just a summary
93
+ - users spend time editing, reviewing, or operating from this page
94
+
95
+ Composition:
96
+ - tool surface or main work pane dominates
97
+ - navigation and status become secondary chrome
98
+ - metrics move to support rails
99
+
100
+ Best for:
101
+ - admin tools
102
+ - builder UIs
103
+ - review flows
104
+
105
+ ---
106
+
107
+ ## Anti-Template Rules
108
+
109
+ - Never open every dashboard with four equal stat cards unless the product truly lives and dies by four equal KPIs.
110
+ - Never let the stat row be the most memorable part of the page.
111
+ - If the layout could be mistaken for a generic admin starter after removing the colors, redesign the composition.
112
+ - One strong focal block beats six medium-interest cards.
113
+ - Use `references/art-direction.md` to choose a signature move before styling panels.
14
114
 
15
115
  ---
16
116
 
@@ -17,7 +17,7 @@ Default to **system fonts** first. Add Google Fonts only when the agent decides
17
17
 
18
18
  **Google Fonts (optional — use when building the Mentes Sintéticas aesthetic explicitly):**
19
19
  ```css
20
- @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');
20
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');
21
21
 
22
22
  --font-display: 'Inter', system-ui, sans-serif;
23
23
  --font-body: 'Inter', system-ui, sans-serif;
@@ -108,6 +108,10 @@ Include this full block in every project.
108
108
  --transition-slow: 300ms ease;
109
109
  --transition-theme: background 240ms ease, color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
110
110
 
111
+ /* Shared interaction tokens */
112
+ --focus-ring-width: 2px;
113
+ --focus-ring-offset: 2px;
114
+
111
115
  /* Z-index */
112
116
  --z-base: 0;
113
117
  --z-elevated: 10;
@@ -150,6 +154,7 @@ Include this full block in every project.
150
154
  --accent-glow: rgba(34, 211, 238, 0.12);
151
155
  --accent-subtle: rgba(34, 211, 238, 0.08);
152
156
  --accent-hover: #06b6d4;
157
+ --accent-contrast: #07131a;
153
158
 
154
159
  /* Semantic */
155
160
  --semantic-green: #16c784;
@@ -198,16 +203,17 @@ Include this full block in every project.
198
203
  --text-primary: #334155;
199
204
  --text-secondary: #61748a;
200
205
  --text-muted: #8b9aae;
201
- --text-accent: #0f8cc7;
206
+ --text-accent: #0f766e;
202
207
  --text-inverse: #f8fbff;
203
208
 
204
- /* Accent — sky blue (legible on white) */
205
- --accent: #0ea5e9;
206
- --accent-strong: #0284c7;
207
- --accent-dim: rgba(14, 165, 233, 0.10);
208
- --accent-glow: rgba(14, 165, 233, 0.08);
209
- --accent-subtle: rgba(14, 165, 233, 0.05);
210
- --accent-hover: #0284c7;
209
+ /* Accent — deeper teal for AA-friendly buttons and links */
210
+ --accent: #0f766e;
211
+ --accent-strong: #115e59;
212
+ --accent-dim: rgba(15, 118, 110, 0.10);
213
+ --accent-glow: rgba(15, 118, 110, 0.08);
214
+ --accent-subtle: rgba(15, 118, 110, 0.05);
215
+ --accent-hover: #115e59;
216
+ --accent-contrast: #f8fbff;
211
217
 
212
218
  /* Semantic */
213
219
  --semantic-green: #059669;
@@ -284,6 +290,18 @@ body { font-family: var(--font-body); }
284
290
  .shell[data-theme="dark"] { --bg-base: #0b0f15; font-family: var(--font-body); }
285
291
  ```
286
292
 
293
+ ---
294
+
295
+ ## Interaction Guardrails
296
+
297
+ These rules exist to stop the most common quality failures: illegible hover states, washed-out light theme buttons, and decorative overload.
298
+
299
+ 1. Primary actions on accent backgrounds must use `var(--accent-contrast)`, not `var(--bg-base)`.
300
+ 2. Hover states may change brightness, but must preserve or improve text contrast.
301
+ 3. Focus styles must be visible on both themes. Minimum: `outline: var(--focus-ring-width) solid var(--accent)` with `outline-offset: var(--focus-ring-offset)`.
302
+ 4. If a control background becomes lighter on hover, its foreground must be re-evaluated. Do not assume the base text color still works.
303
+ 5. Favor one accent family and two neutral text tiers over adding extra decorative colors.
304
+
287
305
  **Unsafe (font breaks silently):**
288
306
  ```css
289
307
  /* WRONG */
@@ -344,6 +362,20 @@ line-height: var(--leading-relaxed);
344
362
  color: var(--text-primary);
345
363
  ```
346
364
 
365
+ ### Primary Action
366
+
367
+ ```css
368
+ background: var(--accent);
369
+ color: var(--accent-contrast);
370
+ border: none;
371
+ font-family: var(--font-body);
372
+ font-size: var(--text-sm);
373
+ font-weight: var(--weight-semibold);
374
+ letter-spacing: var(--tracking-wide);
375
+ ```
376
+
377
+ Use mono only for short command-like labels. Default buttons should stay in the body family for better readability.
378
+
347
379
  ### Numbers in tables and lists
348
380
 
349
381
  ```css
@@ -361,6 +393,7 @@ font-feature-settings: "tnum" 1;
361
393
  4. Above the fold: prefer 1 primary content block + 1 support block + 1 contextual rail — not a wall of equal cards.
362
394
  5. Mono labels are separators, not decoration. If everything is uppercase mono, nothing is important.
363
395
  6. In brownfield: fix cascade and token-scope errors before changing colors, layout, or density.
396
+ 7. Interactive controls must align on shared heights (`--control-sm`, `--control-md`, `--control-lg`) and shared text baselines.
364
397
 
365
398
  ---
366
399
 
@@ -488,3 +521,4 @@ Never keep secondary tools always visible — they crowd the primary content.
488
521
  6. Keep **one obvious focal block** per viewport.
489
522
  7. Fix token scope and cascade bugs before redesigning colors or layout.
490
523
  8. In admin/operational UI, apply the **Compact Density** scale — never carry consumer/marketing spacing into dense panels.
524
+ 9. Validate contrast and hover/focus parity before considering a screen finished.
@@ -108,6 +108,37 @@ CTA buttons: fadeInUp 450ms 500ms
108
108
 
109
109
  ---
110
110
 
111
+ ## Expression-Aware Motion
112
+
113
+ Match motion to the expression mode chosen in `references/art-direction.md`.
114
+
115
+ ### Tactical Monolith
116
+ - Keep motion short, directional, and low drama
117
+ - Prefer panel reveals, status updates, and quiet count-up behavior
118
+ - Avoid floaty motion, oversized parallax, or decorative loops
119
+
120
+ ### Quiet Graphite
121
+ - Use soft fades, small elevation shifts, and measured reveal delays
122
+ - Let motion reinforce polish, not spectacle
123
+
124
+ ### Signal Editorial
125
+ - Use more narrative sequencing: headings, side notes, proof blocks, and media can enter in layered stages
126
+ - Favor stagger and reveal rhythm over obvious bounce or glow pulses
127
+
128
+ ### Luminous Light
129
+ - Keep motion crisp and clean
130
+ - Favor focus, control feedback, and gentle surface lifts over cinematic effects
131
+
132
+ ### Industrial Flow
133
+ - Motion should feel functional and linear
134
+ - Sliding panels, queue shifts, progress fills, and status transitions work better than float or blur-heavy effects
135
+
136
+ ### Gallery Intelligence
137
+ - Let media frames, profile blocks, and showcase surfaces reveal with slightly richer sequencing
138
+ - Keep metadata motion subtle so the content remains primary
139
+
140
+ ---
141
+
111
142
  ## Hover Effects
112
143
 
113
144
  ### Card Hover
@@ -235,3 +266,12 @@ const TT = { transition: 'background 240ms ease, color 240ms ease, border-color
235
266
  | Modal/Detail | Light | scaleIn entrance, fadeIn backdrop |
236
267
  | Loading state | Ambient | Skeleton shimmer, pulse glow |
237
268
  | Admin CRUD | None/minimal | Only theme transition + hover states |
269
+
270
+ ---
271
+
272
+ ## Anti-Generic Motion Rules
273
+
274
+ - Do not use the same stagger recipe on every page type.
275
+ - Do not animate everything just because motion is available.
276
+ - One memorable sequence beats constant moving surfaces.
277
+ - If motion draws more attention than hierarchy or content, reduce it.
@@ -89,7 +89,7 @@ For viewing a single entity (person, product, contact, project).
89
89
  object-fit: cover;
90
90
  }
91
91
  .profile-name {
92
- font-family: var(--font-display); font-weight: var(--weight-black);
92
+ font-family: var(--font-display); font-weight: var(--weight-bold);
93
93
  font-size: var(--text-3xl); color: var(--text-heading);
94
94
  letter-spacing: var(--tracking-tight); line-height: var(--leading-tight);
95
95
  }