@ryuenn3123/agentic-senior-core 6.16.3 → 6.16.6

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 (84) hide show
  1. package/.agents/plugins/agentic-senior-core/.codex-plugin/plugin.json +1 -1
  2. package/.agents/plugins/agentic-senior-core/commands/asc-pentest.md +2 -0
  3. package/.agents/plugins/agentic-senior-core/commands/asc-pentest.toml +3 -0
  4. package/.agents/plugins/agentic-senior-core/commands/asc-test.md +1 -1
  5. package/.agents/plugins/agentic-senior-core/commands/asc-ui.md +1 -1
  6. package/.agents/plugins/agentic-senior-core/hooks/dedup-gate.js +137 -128
  7. package/.agents/plugins/agentic-senior-core/hooks/hooks.json +97 -0
  8. package/.agents/plugins/agentic-senior-core/hooks/ladder-pulse.js +53 -36
  9. package/.agents/plugins/agentic-senior-core/hooks/lib/known-ui-slop-patterns.json +5 -0
  10. package/.agents/plugins/agentic-senior-core/hooks/path-util.cjs +118 -4
  11. package/.agents/plugins/agentic-senior-core/hooks/post-edit-enforce.js +98 -81
  12. package/.agents/plugins/agentic-senior-core/hooks/pre-tool-dependency-gate.js +168 -191
  13. package/.agents/plugins/agentic-senior-core/hooks/session-pulse.js +48 -35
  14. package/.agents/plugins/agentic-senior-core/hooks/session-start.js +62 -11
  15. package/.agents/plugins/agentic-senior-core/hooks.json +4 -94
  16. package/.agents/plugins/agentic-senior-core/plugin.json +5 -13
  17. package/.agents/plugins/agentic-senior-core/rules/agentic-senior-core.md +3 -1
  18. package/.agents/plugins/agentic-senior-core/skills/asc/SKILL.md +5 -2
  19. package/.agents/plugins/agentic-senior-core/skills/asc/references/writing-skills.md +1 -1
  20. package/.agents/plugins/agentic-senior-core/skills/asc-develop/SKILL.md +2 -2
  21. package/.agents/plugins/agentic-senior-core/skills/asc-pentest/SKILL.md +97 -0
  22. package/.agents/plugins/agentic-senior-core/skills/asc-pentest/references/api-security-idor.md +105 -0
  23. package/.agents/plugins/agentic-senior-core/skills/asc-pentest/references/dast-baseline.md +78 -0
  24. package/.agents/plugins/agentic-senior-core/skills/asc-pentest/references/fuzzing-dsl.md +66 -0
  25. package/.agents/plugins/agentic-senior-core/skills/asc-pentest/references/pentest-task-tree.md +70 -0
  26. package/.agents/plugins/agentic-senior-core/skills/asc-review/SKILL.md +1 -1
  27. package/.agents/plugins/agentic-senior-core/skills/asc-test/SKILL.md +10 -3
  28. package/.agents/plugins/agentic-senior-core/skills/asc-test/references/mutation-testing.md +55 -0
  29. package/.agents/plugins/agentic-senior-core/skills/asc-test/references/performance-budgets.md +67 -0
  30. package/.agents/plugins/agentic-senior-core/skills/asc-test/references/property-testing.md +72 -0
  31. package/.agents/plugins/agentic-senior-core/skills/asc-test/references/regression-proof.md +2 -2
  32. package/.agents/plugins/agentic-senior-core/skills/asc-test/references/tdd-cycle.md +2 -2
  33. package/.agents/plugins/agentic-senior-core/skills/asc-test/references/uat.md +1 -1
  34. package/.agents/plugins/agentic-senior-core/skills/asc-ui/SKILL.md +31 -34
  35. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/accessibility.md +2 -2
  36. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/copy-i18n.md +24 -8
  37. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/craft/color-surfaces.md +32 -0
  38. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/craft/composition-patterns.md +299 -0
  39. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/craft/themes-catalog.md +199 -0
  40. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/divergence.md +65 -24
  41. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/modes/experience.md +4 -0
  42. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/modes/genre-calibration.md +93 -0
  43. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/modes/operate.md +31 -1
  44. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/modes/persuade.md +33 -23
  45. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/modes/read.md +4 -0
  46. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/redesign-audit.md +5 -10
  47. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/states-feedback.md +2 -2
  48. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-attio-dom.json +5 -0
  49. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-attio.png +0 -0
  50. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-cal-dom.json +5 -0
  51. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-cal.png +0 -0
  52. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-clerk-dom.json +5 -0
  53. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-clerk.png +0 -0
  54. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-dub-dom.json +5 -0
  55. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-dub.png +0 -0
  56. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-linear-dom.json +5 -0
  57. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-linear.png +0 -0
  58. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-marketplace-dom.json +5 -0
  59. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-marketplace.png +0 -0
  60. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-mintlify-dom.json +5 -0
  61. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-mintlify.png +0 -0
  62. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-raycast-dom.json +5 -0
  63. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-raycast.png +0 -0
  64. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-resend-dom.json +5 -0
  65. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-resend.png +0 -0
  66. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-stripe-dom.json +5 -0
  67. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-stripe.png +0 -0
  68. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-supabase-dom.json +5 -0
  69. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-supabase.png +0 -0
  70. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-tldraw-dom.json +5 -0
  71. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-tldraw.png +0 -0
  72. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-vercel-dom.json +5 -0
  73. package/.agents/plugins/agentic-senior-core/skills/asc-ui/references/visuals/real-vercel.png +0 -0
  74. package/bin/agentic-senior-core.js +19 -4
  75. package/gemini-extension.json +2 -2
  76. package/lib/cli/ascx/runtime.mjs +5 -27
  77. package/lib/cli/ascx/windows-spawn.mjs +348 -0
  78. package/lib/cli/commands/bootstrap.mjs +56 -0
  79. package/lib/cli/commands/dedup.mjs +500 -0
  80. package/lib/cli/commands/git-hook-generator.mjs +3 -2
  81. package/lib/cli/commands/global.mjs +109 -53
  82. package/lib/cli/commands/preview.mjs +34 -20
  83. package/package.json +1 -1
  84. package/plugin.yaml +3 -1
@@ -0,0 +1,93 @@
1
+ # Domain Alignment & Visual Posture
2
+
3
+ > **Core Invariant:** The real-world problem domain dictates visual posture, NEVER generic AI trends. A school evaluation system must look like an educational instrument; an accounting app must look like a ledger; only actual developer tools should ever look like a terminal.
4
+
5
+ ---
6
+
7
+ ## 1. The 4 Target Genres & Aesthetic Contracts
8
+
9
+ Before laying out a single component or proposing a visual design, classify the project into one of four real-world genres:
10
+
11
+ ```
12
+ ┌────────────────────────────────────────────────────────────────────────┐
13
+ │ THE 4 REAL-WORLD GENRES │
14
+ ├────────────────────────────────────────────────────────────────────────┤
15
+ │ 1. Civic, Institutional & Educational (Gov, School, NGO, Compliance) │
16
+ │ 2. Enterprise & B2B Operational (ERP, CRM, Accounting, Inventory) │
17
+ │ 3. Commercial SaaS & Conversion (Public Landing, Pricing, Product) │
18
+ │ 4. Developer Tools & Infrastructure (SDKs, CLIs, Observability, APIs) │
19
+ └────────────────────────────────────────────────────────────────────────┘
20
+ ```
21
+
22
+ ### Genre 1: Civic, Institutional & Educational
23
+ *Examples: Evaluation systems, accreditation portals, public services, municipal registries, educational instruments.*
24
+
25
+ - **Visual Tone:** Dignified, calm, accessible, structured, and trustworthy.
26
+ - **Surface & Palette:** Clean neutral ground (pure white or soft stone background), crisp 1px borders (`border-border`), high-contrast dark foreground text, semantic status pills (e.g. emerald for verified, amber for needs revision, slate for pending).
27
+ - **Live Visual Benchmarks:** Inspect `references/visuals/real-clerk.png` (clean single-line inputs and bounded tabs) and `references/visuals/real-cal.png` (scheduling layout, calm typography, and status indicators).
28
+ - **Core Components:**
29
+ - Clear evaluation tables with explicit weight/point columns.
30
+ - Category assessment cards showing actual scores vs targets.
31
+ - Step progress indicators for verification workflows.
32
+ - Summary scorecard with clear totals and action buttons.
33
+ - **ABSOLUTE PROHIBITIONS (Second-Order Slop):**
34
+ - **NO Terminal / CLI Cosplay:** Never put evaluation data inside a faux terminal, command prompt window, or ASCII box.
35
+ - **NO ASCII Art or Pseudo-Radars:** Never draw ASCII charts (`/\`, `[■■■□□]`, `[2026]`). Use semantic progress bars (`<progress>` or standard div progress) and proper tabular rows.
36
+ - **NO Dark Cyberpunk Mode:** Never force dark mode or neon glow on institutional workflows.
37
+ - **NO Jargon Injections:** Never label an assessment tool with pseudo-sci-fi phrases ("telemetry console", "evaluation engine", "neural scanner", "quantum monitor"). Always use the project's genuine domain terminology.
38
+
39
+ ---
40
+
41
+ ### Genre 2: Enterprise & B2B Operational
42
+ *Examples: Internal operations, HR portals, supply chain management, financial reporting.*
43
+
44
+ - **Visual Tone:** Compact, data-dense, predictable, and keyboard-efficient.
45
+ - **Surface & Palette:** Neutral surfaces, subtle divider lines, minimal elevation shadows (flat or `shadow-sm`), clear focus rings.
46
+ - **Live Visual Benchmarks:** Inspect `references/visuals/real-attio.png` (windowed desktop console, search toolbar with `⌘K`, multi-filter table density) and `references/visuals/real-dub.png` (embedded dashboard stage, large bold KPI metrics, tabular data).
47
+ - **Core Components:**
48
+ - Data tables with sticky headers, sortable columns, and filter bars.
49
+ - Master-detail side rails or drawers for drilling into row details.
50
+ - Monospace only for aligned financial values (`font-mono tabular-nums`).
51
+ - **ABSOLUTE PROHIBITIONS:**
52
+ - **NO Misplaced Heroes:** Never place giant marketing hero sections, splash banners, or promotional copywriting inside an operational dashboard.
53
+ - **NO Decorative Metric Clutter:** Every stat card must correspond to an actual query or measurable KPI. Omit generic "Welcome back, User!" filler.
54
+
55
+ ---
56
+
57
+ ### Genre 3: Commercial SaaS & Conversion
58
+ *Examples: Marketing landing pages, product launch pages, pricing tiers.*
59
+
60
+ - **Visual Tone:** Sharp, decisive, persuasive, authentic conviction.
61
+ - **Surface & Palette:** Generative typographic scale contrast ($Display \ge 3.5\times Body$), tight leading (`leading-[1.05]`), full-bleed background anchor, authentic product screenshots or functional interactive calculators.
62
+ - **Live Visual Benchmarks:** Inspect `references/visuals/real-stripe.png` (flowing visual authority and dual CTA row), `references/visuals/real-vercel.png` (high-contrast brand stage and monochrome logo proof), and `references/visuals/real-marketplace.png` (sidebar filters and catalog cards).
63
+ - **ABSOLUTE PROHIBITIONS:**
64
+ - **NO Cliché Gradients:** Saturated purple-to-indigo or cyan-to-violet linear gradients.
65
+ - **NO Symmetrical 3-Card Grid:** Identical cards with Lucide icons in pastel rounded squares.
66
+ - **NO Fabricated Proof:** Fake partner logos or manufactured customer testimonials.
67
+
68
+ ---
69
+
70
+ ### Genre 4: Developer Tools & Infrastructure
71
+ *Examples: CLI tools, API documentation, log viewers, query consoles.*
72
+
73
+ - **Visual Tone:** High technical precision, compact syntax highlighting, dark/slate neutral grounding or clean technical whiteprint.
74
+ - **Live Visual Benchmarks:** Inspect `references/visuals/real-resend.png` (dark editorial and typography contrast), `references/visuals/real-supabase.png` (asymmetric hero split and capability cards), `references/visuals/real-raycast.png` (command center launcher), `references/visuals/real-mintlify.png` (dual-rail API docs), `references/visuals/real-linear.png` (disciplined whitespace), and `references/visuals/real-tldraw.png` (receding chrome canvas).
75
+ - **Core Components:** Copyable command blocks, real interactive code playgrounds, keyboard shortcut prompts.
76
+ - **ABSOLUTE RULE:** This developer aesthetic is **RESERVED EXCLUSIVELY FOR DEVELOPER PRODUCTS**. Never leak terminal conventions into Genre 1, 2, or 3.
77
+
78
+ ### Specialized Real-World Sub-Domains (Mapped in `craft/themes-catalog.md`)
79
+ When working in Healthcare, Physical Commerce/Hospitality, Editorial/EdTech, or Industrial/Field Logistics, select their dedicated domain pair in `references/craft/themes-catalog.md` (`Pharmacy Calm` / `Clinical Precision`, `Atelier Gallery` / `Kinetic Grid`, `Studio Proof` / `Botanical Field`, `Formwork Concrete` / `Meridian Survey`) rather than flattening them into generic corporate SaaS.
80
+
81
+ ---
82
+
83
+ ## 2. Purpose-Driven Component Gate (Zero Unearned Widgets)
84
+
85
+ Every component, widget, badge, or section must pass the Purpose-Gate:
86
+
87
+ > **The Purpose-Gate Test:**
88
+ > *"What concrete user decision or task does this element directly enable?"*
89
+
90
+ 1. If the element exists solely to "look high-tech", "fill empty space", or "make the page look interactive" without real underlying data $\to$ **DELETE IT**.
91
+ 2. Never invent simulated consoles, fake real-time feeds, or unprompted sliders.
92
+ 3. If the user asks for an evaluation summary, provide clear, functional assessment cards and tables—never decorative cosplay.
93
+
@@ -4,6 +4,10 @@ Use for: Dashboards, data grids, admin consoles, editors, settings, financial le
4
4
 
5
5
  > **Core Principle:** The visitor completes a task. Scanability, dense data alignment, low cognitive friction, and native expectations outrank emotional expression. Brand identity lives in the precision of micro-details, not loud decorative containers.
6
6
 
7
+ > **Visual Reference Benchmarks:**
8
+ > - CRM & Relational Operations: `references/visuals/real-attio.png` (`real-attio-dom.json`)
9
+ > - Analytics & Telemetry Dashboards: `references/visuals/real-dub.png` (`real-dub-dom.json`)
10
+
7
11
  ---
8
12
 
9
13
  ## 1. Information Density & Layout Geometry
@@ -18,7 +22,7 @@ Use for: Dashboards, data grids, admin consoles, editors, settings, financial le
18
22
  - Hover feedback: `hover:bg-muted/40` across the entire row.
19
23
  - Text alignment rule: Left-align text strings, right-align numeric figures and monetary amounts, center status chips and icon actions.
20
24
  - Numeric values must use `tabular-nums` for vertical column alignment.
21
- - **Progressive Disclosure alih-alih Modal Popups:**
25
+ - **Progressive Disclosure over Intrusive Modals:**
22
26
  - Avoid popping modals for inline edits or sub-entity creation. Use expandable rows, sliding side sheets (drawers), or inline input switches.
23
27
  - Reserve dialogs strictly for destructive confirmations (delete, revoke) or complex isolated workflows (import wizard).
24
28
 
@@ -51,3 +55,29 @@ Use for: Dashboards, data grids, admin consoles, editors, settings, financial le
51
55
  - **Zero Decorative Halos:**
52
56
  - Never wrap status dots or cards in glowing radial blurs (`shadow-[0_0_12px_#10b981]`). Keep indicators solid and functional.
53
57
 
58
+ ---
59
+
60
+ ## 4. Inspection & Audit Finding Rows
61
+
62
+ - **Interactive Row Contract:**
63
+ - Finding rows, audit line items, and checklist items must never be rendered as dead, static text blocks.
64
+ - Every finding row (e.g. `Finding #1: Physical document pending verification`) must provide:
65
+ 1. **Primary Action Affordance:** Explicit inline trigger button (e.g. `Review File`, `Request Details`, or expandable chevron).
66
+ 2. **Attachment Badge:** File type badge (`PDF`, `XLSX`), byte size, and upload timestamp.
67
+ 3. **Status Pill:** High-contrast semantic pill (`Needs Attention`, `Pending Confirmation`, `Verified`).
68
+ 4. **Hover State:** `hover:bg-muted/40 transition-colors` across the entire row bounding box.
69
+
70
+ ---
71
+
72
+ ## 5. Dual Navigation Patterns (Filters vs Lifecycles)
73
+
74
+ - **Separation of Mental Models:**
75
+ - **Horizontal Tabs**: View-Port Filter Lenses (switching data views, e.g. *Overview*, *Domain Criteria*, *Findings*, *History*). These change what information is rendered on the stage.
76
+ - **Vertical Rail**: Immutable Lifecycle Progression (e.g. *1. Upload Document $\to$ 2. Verify $\to$ 3. Assess $\to$ 4. Confirm $\to$ 5. Summary*). This reflects where the entity is in its operational state.
77
+ - **Accenting Active Lifecycle Step:**
78
+ - Never let the current active step in the lifecycle rail look identical to future unstarted steps.
79
+ - Active step: highlighted with high-contrast accent ring or filled circle (`bg-primary text-primary-foreground`) with an active descriptor ("Active verification phase").
80
+ - Completed steps: clear muted checks (`text-emerald-600` with subtle strike or timestamp).
81
+ - Pending steps: muted borders (`border-border text-muted-foreground`).
82
+
83
+
@@ -4,6 +4,12 @@ Use for: Landing pages, marketing websites, product launch pages, and pricing sc
4
4
 
5
5
  > **Core Principle:** The visitor decides and acts; design is the product. Earn attention and conversion with bold, authentic conviction. Ambition is expressed through scale, typographic contrast, and proof of reality—never through fluffy filler or generic card stacks.
6
6
 
7
+ > **Visual Reference Benchmarks:**
8
+ > - High-Impact Brand Stage: `references/visuals/real-vercel.png` (`real-vercel-dom.json`)
9
+ > - Financial Infrastructure / Multi-Tier Flow: `references/visuals/real-stripe.png` (`real-stripe-dom.json`)
10
+ > - Editorial Developer Infrastructure: `references/visuals/real-resend.png` (`real-resend-dom.json`)
11
+ > - Storefront / Catalog Filter Stage: `references/visuals/real-marketplace.png` (`real-marketplace-dom.json`)
12
+
7
13
  ---
8
14
 
9
15
  ## 1. The Viewport Budget & The 80-Word Rule
@@ -18,77 +24,81 @@ Use for: Landing pages, marketing websites, product launch pages, and pricing sc
18
24
 
19
25
  ---
20
26
 
21
- ## 2. In-Memory Direction Dealer (4 Structural Postures)
27
+ ## 2. Structural Layout Blueprints (4 Compositions)
22
28
 
23
- When building or redesigning a Persuade surface, never let the LLM default to the statistical average of marketing pages. Choose one of four researched structural postures based on the project's real material:
29
+ When building or redesigning a Persuade surface, select a deliberate structural layout matching the product's real content:
24
30
 
25
31
  ```
26
32
  ┌────────────────────────────────────────────────────────────────────────┐
27
- │ THE 4 STRUCTURAL POSTURES │
33
+ │ THE 4 STRUCTURAL BLUEPRINTS │
28
34
  ├────────────────────────────────────────────────────────────────────────┤
29
35
  │ 1. Asymmetric Stage (65/35 Split): Left-anchored heavy typography │
30
36
  │ offset against an interactive preview, ROI calculator, or live UI. │
31
37
  │ 2. The Monolith Ledger: Single-column dense reading measure with │
32
38
  │ full-bleed horizontal rows, hairline dividers, and deep ink. │
33
- │ 3. Product-Led Canvas: Live application interface or CLI terminal │
39
+ │ 3. Product-Led Canvas: Live application interface or workflow canvas │
34
40
  │ dominates the first viewport; copy recedes to tightly frame it. │
35
41
  │ 4. Kinetic Proof Stream: Alternating proof blocks driven by verifiable │
36
42
  │ benchmarks, architectural diagrams, and real data payloads. │
37
43
  └────────────────────────────────────────────────────────────────────────┘
38
44
  ```
39
45
 
40
- - **Posture Selection Protocol:**
41
- - If real software or CLI exists $\to$ **Posture 3 (Product-Led Canvas)**.
42
- - If quantitative savings or enterprise value proposition $\to$ **Posture 1 (Asymmetric Stage)**.
43
- - If technical documentation, whitepaper, or architectural manifesto $\to$ **Posture 2 (The Monolith Ledger)**.
44
- - If performance benchmarks, protocol comparisons, or telemetry proof $\to$ **Posture 4 (Kinetic Proof Stream)**.
46
+ - **Blueprint Selection:**
47
+ - If real software interface exists $\to$ **Blueprint 3 (Product-Led Canvas)**.
48
+ - If quantitative savings or enterprise value proposition $\to$ **Blueprint 1 (Asymmetric Stage)**.
49
+ - If technical documentation, whitepaper, or architectural manifesto $\to$ **Blueprint 2 (The Monolith Ledger)**.
50
+ - If performance benchmarks, protocol comparisons, or telemetry proof $\to$ **Blueprint 4 (Kinetic Proof Stream)**.
45
51
 
46
52
  ### Structural Blueprints (Enforced DOM Geometries)
47
53
 
48
- #### Posture 1: Asymmetric Stage (65/35 Split)
54
+ #### Blueprint 1: Asymmetric Stage (65/35 Split)
49
55
  - **Container:** `grid grid-cols-1 lg:grid-cols-12 gap-12 items-center`
50
56
  - **Left Lead (7 cols):** `lg:col-span-7 space-y-6 text-left`
51
57
  - Display headline: `text-5xl lg:text-7xl font-bold tracking-tight leading-[1.05]`
52
58
  - Subtitle: `text-lg text-muted-foreground max-w-xl`
53
59
  - Actions: `flex flex-wrap items-center gap-4 pt-2`
54
60
  - **Right Artifact (5 cols):** `lg:col-span-5`
55
- - Authentic artifact, interactive widget, or live ROI card: `rounded-2xl border border-border/80 bg-card p-6 shadow-sm`
61
+ - Authentic artifact, interactive widget, or live score/ROI card: `rounded-2xl border border-border/80 bg-card p-6 shadow-sm`
56
62
  - Zero equal-weight card grids below.
57
63
 
58
- #### Posture 2: The Monolith Ledger
64
+ #### Blueprint 2: The Monolith Ledger
59
65
  - **Container:** `max-w-4xl mx-auto px-6 py-16 divide-y divide-border/60`
60
66
  - **Tabular Rows:** Each entity or program is a horizontal row: `py-8 grid grid-cols-1 md:grid-cols-12 gap-6 items-baseline`
61
67
  - Category / Date: `md:col-span-3 text-xs font-semibold tracking-wider uppercase text-muted-foreground`
62
68
  - Heading & Data: `md:col-span-5 text-xl font-bold text-foreground`
63
69
  - Detail & Action: `md:col-span-4 text-sm text-muted-foreground`
64
70
 
65
- #### Posture 3: Product-Led Canvas
71
+ #### Blueprint 3: Product-Led Canvas
66
72
  - **Container:** `flex flex-col items-center text-center max-w-6xl mx-auto px-6 pt-16 pb-20`
67
73
  - **Compact Hero Frame:** `max-w-2xl space-y-4 mb-10`
68
74
  - Headline: `text-4xl sm:text-6xl font-extrabold tracking-tight`
69
75
  - 1-sentence value claim + 1 primary action.
70
- - **Hero Canvas (70% Viewport Lead):** `w-full rounded-2xl border border-border/80 bg-slate-950 p-2 shadow-2xl`
71
- - Real interface fragment or live demo canvas dominating the first viewport.
76
+ - **Hero Canvas (70% Viewport Lead):** `w-full rounded-2xl border border-border/80 bg-card p-3 shadow-xl`
77
+ - Real interface fragment or live demo canvas dominating the first viewport. Respect project theme tokens; never force artificial dark backgrounds or terminal frames unless the target product is an actual CLI/developer tool.
72
78
 
73
79
  ---
74
80
 
75
- ## 3. Anti-Cardocalypse & Visual Pacing
81
+ ## 3. Composition Variety & Content Rhythm
76
82
 
77
- - **Banned 3-Card Symmetrical Grid:**
78
- - Never default to a 3-column grid where every card has identical dimensions, a Lucide icon in a pastel square, a bold title, and two lines of gray text.
83
+ - **Banned Symmetrical 3-Card Rows:**
84
+ - Never default to a 3-column row where every item has identical dimensions, a generic icon box, a bold title, and two lines of gray text.
79
85
  - Instead, vary composition according to content weight:
80
86
  - *Flagship Feature:* Full-width container or asymmetric 8/4 split showing the primary capability in action.
81
87
  - *Supporting Capabilities:* Compact 2-column checklist or a structured comparison table.
82
- - **The Signature Element:**
83
- - Every Persuade surface must feature exactly **one memorable signature element** on the first screen:
84
- - An interactive pricing slider that recalculates savings in real time.
85
- - A live terminal code editor running the SDK quickstart.
88
+ - **Anti-Spreadsheet Wireframe on Public Landing Pages:**
89
+ - Do NOT convert a public home or landing page into a 100+ row raw data dump. Provide structured category overviews with focused preview panels (see `references/craft/composition-patterns.md`).
90
+ - Do NOT wrap human directories or committees into spreadsheet border matrices (`border-t border-b border-l border-r`); use clean spacing, authentic badges, and natural typographic flow.
91
+ - **The Focal Signature Element:**
92
+ - Every Persuade surface may feature at most **one memorable focal element** on the first screen that directly reflects the product domain:
93
+ - An interactive calculator or estimator that recalculates results in real time.
86
94
  - An unedited, high-resolution product screenshot showing real user data.
95
+ - A live interactive UI fragment (e.g., an assessment scorecard preview for educational tools, a filterable ledger row for accounting tools).
96
+ - **No Artificial Terminals:** Never inject terminal prompts, ASCII art, or pseudo-telemetry consoles into non-developer products.
87
97
  - A giant counter of marks or animated numbers is a decorative reflex, not a signature.
88
98
 
89
99
  ---
90
100
 
91
- ## 3. Material Honesty & Proof of Reality
101
+ ## 4. Material Honesty & Proof of Reality
92
102
 
93
103
  - **Zero Fabricated Evidence:**
94
104
  - Never invent customer quotes, fake partner logos ("Acme Corp, Pied Piper"), or fabricated performance metrics ("10,000+ teams trust us").
@@ -4,6 +4,10 @@ Use for: Documentation, API references, technical blogs, guides, knowledge bases
4
4
 
5
5
  > **Core Principle:** The visitor understands something. Structure for sustained comprehension, visual calm, and rapid scanning. The reading experience must minimize eye fatigue while providing effortless navigation through dense hierarchies.
6
6
 
7
+ > **Visual Reference Benchmarks:**
8
+ > - Documentation & API Reference: `references/visuals/real-mintlify.png` (`real-mintlify-dom.json`)
9
+ > - Product Manifesto & Long-Form Craft: `references/visuals/real-linear.png` (`real-linear-dom.json`)
10
+
7
11
  ---
8
12
 
9
13
  ## 1. Ergonomic Reading Measure & Spacing
@@ -25,15 +25,10 @@ When executing a **Full Redesign** on an existing template or page (`.blade.php`
25
25
  - Separate product truth (names, prices, verified claims) from discarded markup.
26
26
  2. **Step 2: Isolate / Discard Old Markup**
27
27
  - Treat the old layout as an anti-reference. Do not perform incremental class swapping on it.
28
- 3. **Step 3: Author Standalone HTML Prototype & Preview**
29
- - Create an ephemeral standalone prototype in the brain directory: `<appDataDir>/brain/<id>/preview.html`.
30
- - Select 1 of the 4 Structural Postures (`references/modes/persuade.md` or `operate.md`).
31
- - Use Tailwind via CDN and realistic sample data.
32
- - Run zero-dependency visual capture:
33
- ```bash
34
- asc preview <path_to_preview.html>
35
- ```
36
- Inspect the captured image at `%TEMP%/asc-preview-active.png` (or pass `--open` to view in OS browser). Verify typographic scale ($Display \ge 3.5\times Body$) and full-field grounding.
28
+ 3. **Step 3: Author Isolated Prototype / Structural Layout**
29
+ - When building a complex new surface, draft the isolated DOM layout first using 1 of the 4 Structural Postures (`references/modes/persuade.md` or `operate.md`).
30
+ - Use design tokens and realistic sample data.
31
+ - Verify typographic scale ($Display \ge 3.5\times Body$) and full-field spatial grounding before production injection.
37
32
  4. **Step 4: Re-inject Data Contracts into Production**
38
33
  - Transfer the proven clean geometry into the project file (`welcome.blade.php`, `Page.tsx`).
39
34
  - Re-bind the dynamic data loops, Blade/React variables, and event handlers.
@@ -80,7 +75,7 @@ Audit screens systematically against four engineering vectors:
80
75
  - [ ] Cycle through entire screen using `Tab` and `Shift+Tab` with mouse disconnected.
81
76
  - [ ] Press `Escape` while dialog/modal is open; verify closure and focus restoration.
82
77
 
83
- ### 4.3 State Quad Coverage
78
+ ### 4.3 State Coverage
84
79
  - [ ] Inspect loading state: does it use proportional skeletons matching final dimensions?
85
80
  - [ ] Inspect empty state: is it actionable with a 1-sentence explanation?
86
81
  - [ ] Inspect error state: does it diagnose the issue and provide an inline retry button?
@@ -1,10 +1,10 @@
1
- # The Data State Quad & Action Feedback Engine
1
+ # Data States & Action Feedback
2
2
 
3
3
  Any view that consumes asynchronous data or triggers mutations must handle every possible state in the component lifecycle. Never design only for the populated happy path.
4
4
 
5
5
  ---
6
6
 
7
- ## 1. The State Quad
7
+ ## 1. The Four Essential UI States
8
8
 
9
9
  Every data-driven interface exists in one of four states:
10
10