multimodel-dev-os 0.7.0 → 1.0.0

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 (37) hide show
  1. package/.ai/schema/adapter.schema.json +27 -0
  2. package/.ai/schema/config.schema.json +35 -0
  3. package/.ai/schema/template.schema.json +33 -0
  4. package/README.md +148 -28
  5. package/assets/ai-dev-os-roadmap.svg +66 -0
  6. package/assets/cost-optimization.svg +155 -0
  7. package/bin/multimodel-dev-os.js +1 -0
  8. package/docs/.vitepress/config.js +34 -1
  9. package/docs/5-day-roadmap.md +72 -0
  10. package/docs/case-studies/ecommerce-store.md +46 -0
  11. package/docs/case-studies/index.md +24 -0
  12. package/docs/case-studies/multimodel-handoff.md +46 -0
  13. package/docs/case-studies/nextjs-saas.md +48 -0
  14. package/docs/case-studies/seo-landing-page.md +46 -0
  15. package/docs/case-studies/wordpress-site.md +47 -0
  16. package/docs/cli-roadmap.md +8 -0
  17. package/docs/comparison.md +1 -0
  18. package/docs/compatibility.md +42 -0
  19. package/docs/cost-optimization.md +61 -0
  20. package/docs/faq.md +8 -0
  21. package/docs/final-launch.md +29 -0
  22. package/docs/index.md +95 -12
  23. package/docs/launch-kit.md +39 -47
  24. package/docs/migration-guide.md +54 -0
  25. package/docs/protocol.md +54 -0
  26. package/docs/public/assets/ai-dev-os-roadmap.svg +66 -0
  27. package/docs/public/assets/cost-optimization.svg +155 -0
  28. package/docs/release-policy.md +33 -0
  29. package/docs/stable-protocol.md +66 -0
  30. package/docs/support-policy.md +26 -0
  31. package/docs/template-qa.md +40 -0
  32. package/docs/templates-guide.md +6 -0
  33. package/docs/v1-checklist.md +31 -0
  34. package/docs/v1-readiness.md +29 -0
  35. package/docs/workflow-examples.md +2 -0
  36. package/package.json +1 -1
  37. package/scripts/verify.js +22 -0
@@ -0,0 +1,27 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "MultiModel Dev OS Adapter Schema",
4
+ "description": "JSON schema reference detailing tool/IDE adapter expected boundaries and setup layouts",
5
+ "type": "OBJECT",
6
+ "required": ["adapterName", "targetFile", "setupDocs"],
7
+ "properties": {
8
+ "adapterName": {
9
+ "type": "STRING",
10
+ "description": "Unique identifier of the target programming tool (e.g. cursor, claude)"
11
+ },
12
+ "targetFile": {
13
+ "type": "STRING",
14
+ "description": "The rule configuration file mapped by the adapter"
15
+ },
16
+ "setupDocs": {
17
+ "type": "STRING",
18
+ "description": "Relative reference to the adapter setup markdown instructions"
19
+ },
20
+ "requiredRootFiles": {
21
+ "type": "ARRAY",
22
+ "items": { "type": "STRING" },
23
+ "description": "Root workspace contracts verified by the adapter schema"
24
+ }
25
+ },
26
+ "additionalProperties": false
27
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "MultiModel Dev OS Config Schema",
4
+ "description": "JSON schema reference validating standard .ai/config.yaml workspace settings",
5
+ "type": "OBJECT",
6
+ "required": ["version", "adapters"],
7
+ "properties": {
8
+ "version": {
9
+ "type": "STRING",
10
+ "description": "The configuration protocol version matching semantic limits"
11
+ },
12
+ "adapters": {
13
+ "type": "OBJECT",
14
+ "description": "Enabled state of target IDE and terminal programming adapters",
15
+ "properties": {
16
+ "codex": { "type": "BOOLEAN" },
17
+ "antigravity": { "type": "BOOLEAN" },
18
+ "cursor": { "type": "BOOLEAN" },
19
+ "claude": { "type": "BOOLEAN" },
20
+ "gemini": { "type": "BOOLEAN" },
21
+ "vscode": { "type": "BOOLEAN" }
22
+ },
23
+ "additionalProperties": false
24
+ },
25
+ "caveman": {
26
+ "type": "BOOLEAN",
27
+ "description": "Toggled state of minimal-token prompt rules"
28
+ },
29
+ "template": {
30
+ "type": "STRING",
31
+ "description": "Selected baseline technology stack template name"
32
+ }
33
+ },
34
+ "additionalProperties": false
35
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "MultiModel Dev OS Template Schema",
4
+ "description": "JSON schema reference defining expectations for pre-configured stack templates",
5
+ "type": "OBJECT",
6
+ "required": ["name", "requiredFiles"],
7
+ "properties": {
8
+ "name": {
9
+ "type": "STRING",
10
+ "description": "The unique identifying template name"
11
+ },
12
+ "description": {
13
+ "type": "STRING",
14
+ "description": "A description of the technology stack profile"
15
+ },
16
+ "requiredFiles": {
17
+ "type": "ARRAY",
18
+ "items": { "type": "STRING" },
19
+ "description": "Baseline contracts and subfolders required to scaffold"
20
+ },
21
+ "optionalFiles": {
22
+ "type": "ARRAY",
23
+ "items": { "type": "STRING" },
24
+ "description": "Optional overrides or specific skill prompts files"
25
+ },
26
+ "supportedAdapters": {
27
+ "type": "ARRAY",
28
+ "items": { "type": "STRING" },
29
+ "description": "IDE and terminal adapters validated for the template"
30
+ }
31
+ },
32
+ "additionalProperties": false
33
+ }
package/README.md CHANGED
@@ -1,69 +1,189 @@
1
1
  # MultiModel Dev OS
2
2
 
3
- Portable, vendor-neutral workspace configuration layer for multi-agent coding loops.
3
+ [![NPM Version](https://img.shields.io/npm/v/multimodel-dev-os.svg?color=blue&style=flat-square)](https://www.npmjs.com/package/multimodel-dev-os)
4
+ [![License](https://img.shields.io/npm/l/multimodel-dev-os.svg?color=green&style=flat-square)](https://github.com/rizvee/multimodel-dev-os/blob/main/LICENSE)
5
+ [![GitHub Release](https://img.shields.io/github/v/release/rizvee/multimodel-dev-os?color=indigo&style=flat-square)](https://github.com/rizvee/multimodel-dev-os/releases)
6
+ [![Build Verification](https://img.shields.io/github/actions/workflow/status/rizvee/multimodel-dev-os/verify.yml?branch=main&style=flat-square&label=verification)](https://github.com/rizvee/multimodel-dev-os/actions)
7
+ [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-emerald.svg?style=flat-square)](https://github.com/rizvee/multimodel-dev-os/blob/main/CONTRIBUTING.md)
8
+
9
+ ---
10
+
11
+ ## One portable AI Dev OS for Codex, Antigravity, Cursor, Claude, Gemini, VS Code, and multimodel coding workflows.
12
+
13
+ Initialize a unified, tool-neutral AI developer workspace instantly:
14
+
15
+ ```bash
16
+ npx multimodel-dev-os@latest init
17
+ ```
18
+
19
+ > **Give every AI coding agent the same project brain.**
4
20
 
5
21
  ---
6
22
 
7
23
  <p align="center">
8
- <img src="https://raw.githubusercontent.com/rizvee/multimodel-dev-os/main/assets/social-preview.svg" alt="MultiModel Dev OS Banner" width="100%">
24
+ <img src="assets/social-preview.svg" alt="MultiModel Dev OS Banner" width="100%">
9
25
  </p>
10
26
 
11
27
  ---
12
28
 
13
- ## Quickstart
29
+ ## Why This Exists
14
30
 
15
- Initialize a unified, tool-neutral AI developer workspace instantly:
31
+ AI pair programmers are lightning-fast, but switching between them introduces context fragmentation:
32
+ 1. **Context Loss:** You use **Cursor** for autocomplete, **Claude Code** for command execution, and **Gemini/Antigravity** for deep audits. Every switch forces you to rebuild context.
33
+ 2. **Instruction Drift:** Different tools look for different config files (`.cursorrules`, `CLAUDE.md`, `.vscode/settings.json`, `.gemini/settings.json`). Modifying style rules or build parameters in one place leaves the others outdated.
34
+
35
+ `multimodel-dev-os` solves this by establishing a single source of truth in your repository: four root contracts (`AGENTS.md`, `MEMORY.md`, `TASKS.md`, `RUNBOOK.md`) and a `.ai/` directory that bridges them to all major tools dynamically.
36
+
37
+ ---
38
+
39
+ ## What You Get
40
+
41
+ A standard installation scaffolds a lightweight, zero-runtime-dependency workspace hierarchy:
16
42
 
17
- ```bash
18
- npx multimodel-dev-os@latest init
19
43
  ```
44
+ ┌────────────────────────────────────────────────────────┐
45
+ │ LAYER 1: Root Contracts (Single Source of Truth) │
46
+ │ AGENTS.md • MEMORY.md • TASKS.md • RUNBOOK.md │
47
+ └──────────────────────────┬─────────────────────────────┘
48
+ │ Centralizes project context
49
+ ┌──────────────────────────▼─────────────────────────────┐
50
+ │ LAYER 2: Configuration & Modules (.ai/) │
51
+ │ context/ • agents/ • skills/ • prompts/ • checks/ │
52
+ └──────────────────────────┬─────────────────────────────┘
53
+ │ Routes files dynamically
54
+ ┌──────────────────────────▼─────────────────────────────┐
55
+ │ LAYER 3: Tool & IDE Adapters │
56
+ │ .cursorrules • CLAUDE.md • .vscode/ • .gemini/ │
57
+ └────────────────────────────────────────────────────────┘
58
+ ```
59
+
60
+ <p align="center">
61
+ <img src="assets/architecture-preview.svg" alt="Architecture Diagram" width="100%">
62
+ </p>
20
63
 
21
64
  ---
22
65
 
23
- ## See It in Action
66
+ ## Supported Tools
67
+
68
+ | Tool / Agent | Target Adapter File | Setup Instructions | Behavior Setup |
69
+ | :--- | :--- | :--- | :--- |
70
+ | **Cursor** | `.cursorrules` | `adapters/cursor/setup.md` | Inline autocomplete guidelines |
71
+ | **Claude Code** | `CLAUDE.md` | `adapters/claude/setup.md` | Terminal build and run controls |
72
+ | **VS Code** | `.vscode/settings.json` | `adapters/vscode/setup.md` | Editor layout and search limits |
73
+ | **Gemini** | `GEMINI.md` | `adapters/gemini/setup.md` | Prompt system context logs |
74
+ | **Antigravity** | `.gemini/settings.json` | `adapters/antigravity/setup.md` | Security and audit parameters |
75
+ | **Codex** | `adapters/codex/AGENTS.md` | `adapters/codex/setup.md` | Automated code scaffolding |
76
+
77
+ ---
24
78
 
25
- `multimodel-dev-os` runs completely on native Node.js libraries, keeping execution speeds lightning-fast with **zero third-party NPM runtime dependencies**. Here is the clean interactive terminal sequence executing `init`, `validate`, and `doctor` commands:
79
+ ## Why Not Just a Manual AGENTS.md?
80
+
81
+ While you can write a raw markdown file manually, `multimodel-dev-os` offers a standardized development workflow:
82
+
83
+ | Feature | Manual Rules File | MultiModel Dev OS |
84
+ | :--- | :--- | :--- |
85
+ | **Tool Synchronization** | Manual copy-paste across tools | Automated dynamic adapters |
86
+ | **Context Budgets** | Bloats prompts, wasting cost | **Caveman Mode** slashes tokens by **~79%** |
87
+ | **Standards Enforcement**| Easy to drift and corrupt | Built-in CLI `validate` and `doctor` checks |
88
+ | **Onboarding baseline** | Start from scratch | 5 production-ready real-world templates |
89
+
90
+ ---
91
+
92
+ ## Interactive Command Line Interface (CLI)
93
+
94
+ MultiModel Dev OS is powered by a pure Node.js CLI with **zero runtime external npm dependencies**.
26
95
 
27
96
  <p align="center">
28
- <img src="https://raw.githubusercontent.com/rizvee/multimodel-dev-os/main/assets/terminal-demo.svg" alt="Terminal Demo Sequence" width="100%">
97
+ <img src="assets/terminal-demo.svg" alt="Terminal Demo Sequence" width="100%">
29
98
  </p>
30
99
 
100
+ ### 1. Scaffolding Templates
101
+ Initialize customized stack specifications:
102
+ - **Next.js SaaS:** `npx multimodel-dev-os@latest init --template nextjs-saas`
103
+ - **WordPress Theme/Plugin:** `npx multimodel-dev-os@latest init --template wordpress-site`
104
+ - **E-Commerce Store:** `npx multimodel-dev-os@latest init --template ecommerce-store`
105
+ - **SEO Landing Page:** `npx multimodel-dev-os@latest init --template seo-landing-page`
106
+ - **General Fallback:** `npx multimodel-dev-os@latest init --template general-app`
107
+
108
+ ### 2. Adapter Linking
109
+ Inject rules specifically for a developer tool:
110
+ ```bash
111
+ npx multimodel-dev-os@latest init --adapter cursor
112
+ npx multimodel-dev-os@latest init --adapter claude
113
+ ```
114
+
115
+ ### 3. Caveman Mode (Token Optimizer)
116
+ Cuts prompt rules overhead down by **~79%** using highly optimized short-hand declarations:
117
+ ```bash
118
+ npx multimodel-dev-os@latest init --caveman
119
+ ```
120
+
121
+ ### 4. Quality Gates
122
+ Run assertions and diagnostic checkups:
123
+ - **`validate`** (Strict schema checkup): `npx multimodel-dev-os validate`
124
+ - **`doctor`** (Advisory compatibility warning): `npx multimodel-dev-os doctor`
125
+
31
126
  ---
32
127
 
33
- ## Before vs. After
128
+ ## Cost & Context Optimization
34
129
 
35
- ### Before: Chaotic Prompting & Instruction Drift
36
- - Switching between agents (like Cursor, Claude Code, Gemini, Codex) requires maintaining duplicate instruction files (`.cursorrules`, `CLAUDE.md`, `.vscode/settings.json`, etc.).
37
- - Modifying guidelines in one place results in immediate **Instruction Drift**, where one agent operates on outdated conventions, causing compile crashes.
38
- - Duplicate instructions bloat prompts, wasting **1,500+ tokens** of model context budget on every single turn.
130
+ Minimize prompt overhead and API billing by mapping key context-reduction techniques to MultiModel Dev OS features:
131
+
132
+ <p align="center">
133
+ <img src="assets/cost-optimization.svg" alt="Cost Optimization Funnel" width="100%">
134
+ </p>
39
135
 
40
- ### After: Standardized Zero-Drift Sync
41
- - Rules are defined once in a central root document (`AGENTS.md` and `.ai/`).
42
- - MultiModel Dev OS dynamically routes the root contract directly to Cursor, Claude Code, Gemini, and VS Code. All agents operate on matching build specifications instantly.
43
- - Toggling **Caveman Mode** dynamically strips descriptions and examples, saving **~79% of token context** per chat turn.
136
+ For a full deep dive, see our [Cost Optimization Playbook](https://rizvee.github.io/multimodel-dev-os/cost-optimization).
44
137
 
45
138
  ---
46
139
 
47
- ## Sync Architecture
140
+ ## 5-Day Adoption Roadmap
48
141
 
49
- `multimodel-dev-os` decouples your instructions from specific IDE extensions and model APIs:
142
+ Deploying MultiModel Dev OS across your team is straightforward and tool-neutral:
50
143
 
51
144
  <p align="center">
52
- <img src="https://raw.githubusercontent.com/rizvee/multimodel-dev-os/main/assets/architecture-preview.svg" alt="Sync Architecture" width="100%">
145
+ <img src="assets/ai-dev-os-roadmap.svg" alt="5-Day Adoption Roadmap" width="100%">
53
146
  </p>
54
147
 
148
+ See our step-by-step timeline: [5-Day Adoption Roadmap Playbook](https://rizvee.github.io/multimodel-dev-os/5-day-roadmap).
149
+
150
+ ---
151
+
152
+ ## Real-World Case Studies
153
+
154
+ Discover how engineering teams deploy MultiModel Dev OS:
155
+ - 📦 [Full-Stack Next.js SaaS: Database Schema Synchronization](https://rizvee.github.io/multimodel-dev-os/case-studies/nextjs-saas)
156
+ - 🔌 [WordPress Theme Scaffolding: Folder Boundary Protections](https://rizvee.github.io/multimodel-dev-os/case-studies/wordpress-site)
157
+ - 🛒 [E-Commerce Webhooks: State Verification Alignment](https://rizvee.github.io/multimodel-dev-os/case-studies/ecommerce-store)
158
+ - 📈 [SEO Landing Pages: Core Web Vitals Linter Budgets](https://rizvee.github.io/multimodel-dev-os/case-studies/seo-landing-page)
159
+ - 🚀 [Multi-Model Handoff: Sequential Session Logging](https://rizvee.github.io/multimodel-dev-os/case-studies/multimodel-handoff)
160
+
161
+ ---
162
+
163
+ ## Stable Protocol Specification
164
+
165
+ MultiModel Dev OS version `v1.0.0` officially freezes the Layer 1, Layer 2, and Layer 3 specifications:
166
+ - 🛡️ [Stable Protocol Specification](https://rizvee.github.io/multimodel-dev-os/stable-protocol)
167
+ - 🔌 [Multi-Agent Compatibility Guides](https://rizvee.github.io/multimodel-dev-os/compatibility)
168
+ - 📈 [Upgrade & Migration Guide](https://rizvee.github.io/multimodel-dev-os/migration-guide)
169
+ - 🏁 [v1.0.0 Release Quality Checklist](https://rizvee.github.io/multimodel-dev-os/v1-checklist)
170
+
171
+ ---
172
+
173
+ ## Contributing
174
+
175
+ We love contributions! Propose new adapters, request built-in templates, or report issues safely.
176
+ Read our [Contributing Onboarding Guidelines](CONTRIBUTING.md) to get started.
177
+
55
178
  ---
56
179
 
57
- ## Core Navigation Guides
180
+ ## Docs Site
58
181
 
59
- Explore our detailed manuals directly:
60
- - 📖 [CLI Terminal Demo Guide](https://rizvee.github.io/multimodel-dev-os/demo)
61
- - 💡 [Before/After Workflow Case Studies](https://rizvee.github.io/multimodel-dev-os/workflow-examples)
62
- - 🛡️ [Public Release & Staging Checklist](https://rizvee.github.io/multimodel-dev-os/launch-checklist)
63
- - 📦 [Standard Template Gallery](https://rizvee.github.io/multimodel-dev-os/templates/)
182
+ Explore detailed specifications, guides, and playbooks at the official docs portal:
183
+ 👉 **[https://rizvee.github.io/multimodel-dev-os/](https://rizvee.github.io/multimodel-dev-os/)**
64
184
 
65
185
  ---
66
186
 
67
187
  ## License
68
188
 
69
- MIT License.
189
+ MIT License. Copyright (c) 2026-present MultiModel Dev OS team.
@@ -0,0 +1,66 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 250" width="100%" height="100%" style="border-radius: 12px; font-family: 'Outfit', 'Inter', -apple-system, sans-serif; box-shadow: 0 20px 50px rgba(0,0,0,0.4);">
2
+ <defs>
3
+ <!-- Background Gradient -->
4
+ <linearGradient id="roadmapBg" x1="0%" y1="0%" x2="100%" y2="100%">
5
+ <stop offset="0%" stop-color="#070a13" />
6
+ <stop offset="100%" stop-color="#0c101b" />
7
+ </linearGradient>
8
+
9
+ <!-- Roadmap Accent Line -->
10
+ <linearGradient id="lineGrad" x1="0%" y1="0%" x2="100%" y2="0%">
11
+ <stop offset="0%" stop-color="#6366f1" />
12
+ <stop offset="50%" stop-color="#8b5cf6" />
13
+ <stop offset="100%" stop-color="#10b981" />
14
+ </linearGradient>
15
+ </defs>
16
+
17
+ <!-- Frame Background -->
18
+ <rect width="800" height="250" rx="12" fill="url(#roadmapBg)" stroke="#1e293b" stroke-width="1.5"/>
19
+
20
+ <!-- Title -->
21
+ <text x="400" y="45" font-size="20" font-weight="800" fill="#ffffff" text-anchor="middle" letter-spacing="1">5-DAY AI DEV OS ADOPTION ROADMAP</text>
22
+ <text x="400" y="68" font-size="13" font-weight="500" fill="#94a3b8" text-anchor="middle">Milestones to achieve structured multi-agent workflow reuse inside teams</text>
23
+
24
+ <!-- Connection Line -->
25
+ <line x1="80" y1="140" x2="720" y2="140" stroke="url(#lineGrad)" stroke-width="4"/>
26
+
27
+ <!-- Day 1 Node -->
28
+ <g transform="translate(100, 140)">
29
+ <circle cx="0" cy="0" r="14" fill="#6366f1" stroke="#ffffff" stroke-width="2"/>
30
+ <text x="0" y="30" font-size="12" font-weight="800" fill="#a5b4fc" text-anchor="middle">DAY 1</text>
31
+ <text x="0" y="45" font-size="11" font-weight="700" fill="#ffffff" text-anchor="middle">Scaffold CLI</text>
32
+ <text x="0" y="58" font-size="9" fill="#94a3b8" text-anchor="middle">npx init</text>
33
+ </g>
34
+
35
+ <!-- Day 2 Node -->
36
+ <g transform="translate(250, 140)">
37
+ <circle cx="0" cy="0" r="14" fill="#4f46e5" stroke="#ffffff" stroke-width="2"/>
38
+ <text x="0" y="30" font-size="12" font-weight="800" fill="#a5b4fc" text-anchor="middle">DAY 2</text>
39
+ <text x="0" y="45" font-size="11" font-weight="700" fill="#ffffff" text-anchor="middle">Project Memory</text>
40
+ <text x="0" y="58" font-size="9" fill="#94a3b8" text-anchor="middle">AGENTS.md core</text>
41
+ </g>
42
+
43
+ <!-- Day 3 Node -->
44
+ <g transform="translate(400, 140)">
45
+ <circle cx="0" cy="0" r="14" fill="#8b5cf6" stroke="#ffffff" stroke-width="2"/>
46
+ <text x="0" y="30" font-size="12" font-weight="800" fill="#d8b4fe" text-anchor="middle">DAY 3</text>
47
+ <text x="0" y="45" font-size="11" font-weight="700" fill="#ffffff" text-anchor="middle">Skills &amp; Checks</text>
48
+ <text x="0" y="58" font-size="9" fill="#94a3b8" text-anchor="middle">Custom prompt packs</text>
49
+ </g>
50
+
51
+ <!-- Day 4 Node -->
52
+ <g transform="translate(550, 140)">
53
+ <circle cx="0" cy="0" r="14" fill="#a855f7" stroke="#ffffff" stroke-width="2"/>
54
+ <text x="0" y="30" font-size="12" font-weight="800" fill="#d8b4fe" text-anchor="middle">DAY 4</text>
55
+ <text x="0" y="45" font-size="11" font-weight="700" fill="#ffffff" text-anchor="middle">Mount Adapters</text>
56
+ <text x="0" y="58" font-size="9" fill="#94a3b8" text-anchor="middle">Claude/Cursor sync</text>
57
+ </g>
58
+
59
+ <!-- Day 5 Node -->
60
+ <g transform="translate(700, 140)">
61
+ <circle cx="0" cy="0" r="14" fill="#10b981" stroke="#ffffff" stroke-width="2"/>
62
+ <text x="0" y="30" font-size="12" font-weight="800" fill="#34d399" text-anchor="middle">DAY 5</text>
63
+ <text x="0" y="45" font-size="11" font-weight="700" fill="#ffffff" text-anchor="middle">Audit &amp; Verify</text>
64
+ <text x="0" y="58" font-size="9" fill="#94a3b8" text-anchor="middle">Linter in CI/CD</text>
65
+ </g>
66
+ </svg>
@@ -0,0 +1,155 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 950 550" width="100%" height="100%" style="border-radius: 12px; font-family: 'Outfit', 'Inter', -apple-system, sans-serif; box-shadow: 0 20px 50px rgba(0,0,0,0.45);">
2
+ <defs>
3
+ <!-- Background Gradient -->
4
+ <linearGradient id="chartBg" x1="0%" y1="0%" x2="100%" y2="100%">
5
+ <stop offset="0%" stop-color="#0a0e17" />
6
+ <stop offset="100%" stop-color="#0f1626" />
7
+ </linearGradient>
8
+
9
+ <!-- Card Backgrounds -->
10
+ <linearGradient id="cardGrad" x1="0%" y1="0%" x2="100%" y2="100%">
11
+ <stop offset="0%" stop-color="#ffffff" stop-opacity="0.06" />
12
+ <stop offset="100%" stop-color="#ffffff" stop-opacity="0.01" />
13
+ </linearGradient>
14
+
15
+ <!-- Accent line -->
16
+ <linearGradient id="glowG" x1="0%" y1="0%" x2="100%" y2="0%">
17
+ <stop offset="0%" stop-color="#6366f1" />
18
+ <stop offset="50%" stop-color="#8b5cf6" />
19
+ <stop offset="100%" stop-color="#10b981" />
20
+ </linearGradient>
21
+ </defs>
22
+
23
+ <!-- Frame Background -->
24
+ <rect width="950" height="550" rx="12" fill="url(#chartBg)" stroke="#1e293b" stroke-width="1.5"/>
25
+ <rect x="0" y="0" width="950" height="2.5" fill="url(#glowG)"/>
26
+
27
+ <!-- Title Section -->
28
+ <text x="475" y="40" font-size="22" font-weight="900" fill="#ffffff" text-anchor="middle" letter-spacing="1">12 LLM COST &amp; CONTEXT OPTIMIZATION STRATEGIES</text>
29
+ <text x="475" y="60" font-size="12" font-weight="500" fill="#94a3b8" text-anchor="middle">Pragmatic mappings directly integrated into the MultiModel Dev OS workspace layer</text>
30
+
31
+ <!-- 12-Card Grid Layout (4 columns x 3 rows) -->
32
+ <!-- Column width = 205, Row height = 110. Spacing X = 15, Spacing Y = 15. Start X = 40, Start Y = 80 -->
33
+
34
+ <!-- ROW 1 -->
35
+ <!-- Card 1: Right Model -->
36
+ <g transform="translate(40, 80)">
37
+ <rect width="205" height="110" rx="8" fill="url(#cardGrad)" stroke="#334155" stroke-width="1" />
38
+ <text x="15" y="25" font-size="12" font-weight="800" fill="#818cf8">1. CHOOSE RIGHT MODEL</text>
39
+ <text x="15" y="48" font-size="11" font-weight="700" fill="#ffffff">Mapped: model-map.md</text>
40
+ <text x="15" y="70" font-size="9.5" fill="#94a3b8">Matches task complexity to</text>
41
+ <text x="15" y="85" font-size="9.5" fill="#94a3b8">the ideal cost-efficient LLM.</text>
42
+ </g>
43
+
44
+ <!-- Card 2: Reduce Input -->
45
+ <g transform="translate(260, 80)">
46
+ <rect width="205" height="110" rx="8" fill="url(#cardGrad)" stroke="#334155" stroke-width="1" />
47
+ <text x="15" y="25" font-size="12" font-weight="800" fill="#a78bfa">2. REDUCE INPUT TOKENS</text>
48
+ <text x="15" y="48" font-size="11" font-weight="700" fill="#ffffff">Mapped: Caveman Mode</text>
49
+ <text x="15" y="70" font-size="9.5" fill="#94a3b8">Strips descriptors to save</text>
50
+ <text x="15" y="85" font-size="9.5" fill="#34d399" font-weight="700">~79% token context footprint.</text>
51
+ </g>
52
+
53
+ <!-- Card 3: Limit Output -->
54
+ <g transform="translate(480, 80)">
55
+ <rect width="205" height="110" rx="8" fill="url(#cardGrad)" stroke="#334155" stroke-width="1" />
56
+ <text x="15" y="25" font-size="12" font-weight="800" fill="#f472b6">3. LIMIT OUTPUT TOKENS</text>
57
+ <text x="15" y="48" font-size="11" font-weight="700" fill="#ffffff">Mapped: Output contracts</text>
58
+ <text x="15" y="70" font-size="9.5" fill="#94a3b8">Enforces concise formatting</text>
59
+ <text x="15" y="85" font-size="9.5" fill="#94a3b8">rules inside prompts folder.</text>
60
+ </g>
61
+
62
+ <!-- Card 4: Reusable Prompts -->
63
+ <g transform="translate(700, 80)">
64
+ <rect width="205" height="110" rx="8" fill="url(#cardGrad)" stroke="#334155" stroke-width="1" />
65
+ <text x="15" y="25" font-size="12" font-weight="800" fill="#38bdf8">4. REUSABLE PROMPTS</text>
66
+ <text x="15" y="48" font-size="11" font-weight="700" fill="#ffffff">Mapped: .ai/prompts/</text>
67
+ <text x="15" y="70" font-size="9.5" fill="#94a3b8">Deploy plug-and-play</text>
68
+ <text x="15" y="85" font-size="9.5" fill="#94a3b8">system instruction templates.</text>
69
+ </g>
70
+
71
+ <!-- ROW 2 -->
72
+ <!-- Card 5: Scoped Context -->
73
+ <g transform="translate(40, 205)">
74
+ <rect width="205" height="110" rx="8" fill="url(#cardGrad)" stroke="#334155" stroke-width="1" />
75
+ <text x="15" y="25" font-size="12" font-weight="800" fill="#fb7185">5. SCOPED CONTEXT (RAG)</text>
76
+ <text x="15" y="48" font-size="11" font-weight="700" fill="#ffffff">Mapped: .ai/context/</text>
77
+ <text x="15" y="70" font-size="9.5" fill="#94a3b8">Segments files into isolated</text>
78
+ <text x="15" y="85" font-size="9.5" fill="#94a3b8">scoped project briefs.</text>
79
+ </g>
80
+
81
+ <!-- Card 6: Batch Requests -->
82
+ <g transform="translate(260, 205)">
83
+ <rect width="205" height="110" rx="8" fill="url(#cardGrad)" stroke="#334155" stroke-width="1" />
84
+ <text x="15" y="25" font-size="12" font-weight="800" fill="#34d399">6. BATCH REQUESTS</text>
85
+ <text x="15" y="48" font-size="11" font-weight="700" fill="#ffffff">Mapped: TASKS.md</text>
86
+ <text x="15" y="70" font-size="9.5" fill="#94a3b8">Groups simple subtasks so</text>
87
+ <text x="15" y="85" font-size="9.5" fill="#94a3b8">agents build in single turns.</text>
88
+ </g>
89
+
90
+ <!-- Card 7: Structured Outputs -->
91
+ <g transform="translate(480, 205)">
92
+ <rect width="205" height="110" rx="8" fill="url(#cardGrad)" stroke="#334155" stroke-width="1" />
93
+ <text x="15" y="25" font-size="12" font-weight="800" fill="#fbbf24">7. STRUCTURED OUTPUTS</text>
94
+ <text x="15" y="48" font-size="11" font-weight="700" fill="#ffffff">Mapped: .ai/templates/</text>
95
+ <text x="15" y="70" font-size="9.5" fill="#94a3b8">Strict markdown structures</text>
96
+ <text x="15" y="85" font-size="9.5" fill="#94a3b8">prevent repetitive regenerations.</text>
97
+ </g>
98
+
99
+ <!-- Card 8: Templates & Skills -->
100
+ <g transform="translate(700, 205)">
101
+ <rect width="205" height="110" rx="8" fill="url(#cardGrad)" stroke="#334155" stroke-width="1" />
102
+ <text x="15" y="25" font-size="12" font-weight="800" fill="#a78bfa">8. REUSE SKILLS</text>
103
+ <text x="15" y="48" font-size="11" font-weight="700" fill="#ffffff">Mapped: .ai/skills/</text>
104
+ <text x="15" y="70" font-size="9.5" fill="#94a3b8">Reusable commands packs</text>
105
+ <text x="15" y="85" font-size="9.5" fill="#94a3b8">standardize developer steps.</text>
106
+ </g>
107
+
108
+ <!-- ROW 3 -->
109
+ <!-- Card 9: Two-Step Workflows -->
110
+ <g transform="translate(40, 330)">
111
+ <rect width="205" height="110" rx="8" fill="url(#cardGrad)" stroke="#334155" stroke-width="1" />
112
+ <text x="15" y="25" font-size="12" font-weight="800" fill="#34d399">9. TWO-STEP AGENTS</text>
113
+ <text x="15" y="48" font-size="11" font-weight="700" fill="#ffffff">Mapped: Planner/Coder</text>
114
+ <text x="15" y="70" font-size="9.5" fill="#94a3b8">Decouples layout design from</text>
115
+ <text x="15" y="85" font-size="9.5" fill="#94a3b8">low-cost iterative code write.</text>
116
+ </g>
117
+
118
+ <!-- Card 10: Monitor Token Sinks -->
119
+ <g transform="translate(260, 330)">
120
+ <rect width="205" height="110" rx="8" fill="url(#cardGrad)" stroke="#334155" stroke-width="1" />
121
+ <text x="15" y="25" font-size="12" font-weight="800" fill="#fb7185">10. MONITOR TOKENS</text>
122
+ <text x="15" y="48" font-size="11" font-weight="700" fill="#ffffff">Mapped: doctor / validate</text>
123
+ <text x="15" y="70" font-size="9.5" fill="#94a3b8">CLI linter assertions check</text>
124
+ <text x="15" y="85" font-size="9.5" fill="#94a3b8">and warn on bloated rule lists.</text>
125
+ </g>
126
+
127
+ <!-- Card 11: Task Strength -->
128
+ <g transform="translate(480, 330)">
129
+ <rect width="205" height="110" rx="8" fill="url(#cardGrad)" stroke="#334155" stroke-width="1" />
130
+ <text x="15" y="25" font-size="12" font-weight="800" fill="#818cf8">11. STRENGTH ROUTING</text>
131
+ <text x="15" y="48" font-size="11" font-weight="700" fill="#ffffff">Mapped: model-map.md</text>
132
+ <text x="15" y="70" font-size="9.5" fill="#94a3b8">Matches auditor tasks to</text>
133
+ <text x="15" y="85" font-size="9.5" fill="#94a3b8">specific specialized LLMs.</text>
134
+ </g>
135
+
136
+ <!-- Card 12: Compact Summaries -->
137
+ <g transform="translate(700, 330)">
138
+ <rect width="205" height="110" rx="8" fill="url(#cardGrad)" stroke="#334155" stroke-width="1" />
139
+ <text x="15" y="25" font-size="12" font-weight="800" fill="#c084fc">12. COMPACT SUMMARIES</text>
140
+ <text x="15" y="48" font-size="11" font-weight="700" fill="#ffffff">Mapped: Handoff templates</text>
141
+ <text x="15" y="70" font-size="9.5" fill="#94a3b8">Structured session logs pass</text>
142
+ <text x="15" y="85" font-size="9.5" fill="#34d399" font-weight="700">clean state, reducing drift.</text>
143
+ </g>
144
+
145
+ <!-- Footer Shell Area -->
146
+ <g transform="translate(40, 465)">
147
+ <rect width="870" height="50" rx="10" fill="#090d16" stroke="#334155" stroke-width="1" />
148
+ <!-- Window controls Mac-style inside footer -->
149
+ <circle cx="20" cy="25" r="4.5" fill="#ff5f56" />
150
+ <circle cx="32" cy="25" r="4.5" fill="#ffbd2e" />
151
+ <circle cx="44" cy="25" r="4.5" fill="#27c93f" />
152
+ <!-- Command text -->
153
+ <text x="70" y="30" font-family="'Fira Code', 'JetBrains Mono', monospace" font-size="14" fill="#34d399" font-weight="bold">$ <tspan fill="#e2e8f0">npx multimodel-dev-os@latest validate --target ./my-app</tspan></text>
154
+ </g>
155
+ </svg>
@@ -202,6 +202,7 @@ function handleInit(options) {
202
202
  // Source path mapping for core files
203
203
  let templateDir = join(sourceRoot, 'examples', options.template);
204
204
  if (!existsSync(templateDir)) {
205
+ console.warn(` \x1b[33m[WARNING] Template '${options.template}' not found. Falling back to 'general-app' profile.\x1b[0m`);
205
206
  templateDir = join(sourceRoot, 'examples', 'general-app');
206
207
  }
207
208
 
@@ -21,6 +21,35 @@ export default {
21
21
  { text: 'FAQ', link: '/faq' }
22
22
  ]
23
23
  },
24
+ {
25
+ text: 'Protocol & QA Specifications',
26
+ items: [
27
+ { text: 'Protocol Specification', link: '/protocol' },
28
+ { text: 'Stable Protocol Specification', link: '/stable-protocol' },
29
+ { text: 'Adapter Compatibility', link: '/compatibility' },
30
+ { text: 'Upgrades & Migration', link: '/migration-guide' },
31
+ { text: 'Templates QA Blueprint', link: '/template-qa' },
32
+ { text: 'v1.0.0 Readiness Checklist', link: '/v1-readiness' }
33
+ ]
34
+ },
35
+ {
36
+ text: 'Case Studies & Playbooks',
37
+ items: [
38
+ { text: 'Case Studies Gallery', link: '/case-studies/' },
39
+ { text: 'Next.js SaaS Full-Stack', link: '/case-studies/nextjs-saas' },
40
+ { text: 'WordPress Theme & Plugins', link: '/case-studies/wordpress-site' },
41
+ { text: 'E-Commerce State webhooks', link: '/case-studies/ecommerce-store' },
42
+ { text: 'SEO Landing Page Performance', link: '/case-studies/seo-landing-page' },
43
+ { text: 'Multi-Model Handoff Protocols', link: '/case-studies/multimodel-handoff' }
44
+ ]
45
+ },
46
+ {
47
+ text: 'Adoption & Optimization',
48
+ items: [
49
+ { text: 'Cost Optimization Playbook', link: '/cost-optimization' },
50
+ { text: '5-Day Adoption Roadmap', link: '/5-day-roadmap' }
51
+ ]
52
+ },
24
53
  {
25
54
  text: 'Core Features',
26
55
  items: [
@@ -46,7 +75,11 @@ export default {
46
75
  { text: 'Release Playbook Template', link: '/release-template' },
47
76
  { text: 'CLI Roadmap', link: '/cli-roadmap' },
48
77
  { text: 'NPM Publishing Runbook', link: '/npm-publishing' },
49
- { text: 'Pre-flight Release Testing', link: '/testing-v0.2' }
78
+ { text: 'Pre-flight Release Testing', link: '/testing-v0.2' },
79
+ { text: 'Release Policy', link: '/release-policy' },
80
+ { text: 'Support Policy', link: '/support-policy' },
81
+ { text: 'Final Launch Guidelines', link: '/final-launch' },
82
+ { text: 'v1.0.0 Release Checklist', link: '/v1-checklist' }
50
83
  ]
51
84
  }
52
85
  ],