multimodel-dev-os 1.1.0 → 2.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 (59) hide show
  1. package/.ai/adapters/custom-adapter.example.yaml +9 -0
  2. package/.ai/adapters/registry.yaml +56 -0
  3. package/.ai/models/README.md +14 -0
  4. package/.ai/models/local-models.yaml +20 -0
  5. package/.ai/models/providers.yaml +29 -0
  6. package/.ai/models/registry.yaml +73 -0
  7. package/.ai/models/routing-presets.yaml +23 -0
  8. package/.ai/skills/custom-skill.example.md +15 -0
  9. package/.ai/templates/custom-template.example.yaml +19 -0
  10. package/.ai/templates/registry.yaml +522 -0
  11. package/README.md +30 -18
  12. package/bin/multimodel-dev-os.js +810 -91
  13. package/docs/.vitepress/config.js +36 -1
  14. package/docs/adapter-authoring.md +46 -0
  15. package/docs/agent-compatibility.md +51 -0
  16. package/docs/cli-roadmap.md +15 -18
  17. package/docs/final-launch.md +5 -4
  18. package/docs/local-models.md +48 -0
  19. package/docs/mobile-android.md +75 -0
  20. package/docs/model-compatibility.md +65 -0
  21. package/docs/model-routing.md +45 -0
  22. package/docs/npm-publishing.md +27 -0
  23. package/docs/package-safety.md +29 -0
  24. package/docs/provider-strategy.md +44 -0
  25. package/docs/public/llms-full.txt +82 -73
  26. package/docs/public/llms.txt +36 -34
  27. package/docs/quickstart.md +7 -6
  28. package/docs/registry-contribution.md +20 -0
  29. package/docs/release-policy.md +26 -0
  30. package/docs/skill-authoring.md +56 -0
  31. package/docs/template-authoring.md +65 -0
  32. package/docs/token-optimization.md +27 -0
  33. package/docs/v2-migration.md +31 -0
  34. package/docs/v2-release-checklist.md +30 -0
  35. package/docs/v2-roadmap.md +95 -0
  36. package/examples/expo-react-native-android/.ai/config.yaml +22 -0
  37. package/examples/expo-react-native-android/.ai/context/architecture.md +18 -0
  38. package/examples/expo-react-native-android/.ai/context/context-budget.md +4 -0
  39. package/examples/expo-react-native-android/.ai/context/model-map.md +6 -0
  40. package/examples/expo-react-native-android/.ai/context/project-brief.md +9 -0
  41. package/examples/expo-react-native-android/.ai/session-logs/.gitkeep +1 -0
  42. package/examples/expo-react-native-android/.ai/skills/expo-android-build.md +11 -0
  43. package/examples/expo-react-native-android/AGENTS.md +20 -0
  44. package/examples/expo-react-native-android/MEMORY.md +13 -0
  45. package/examples/expo-react-native-android/README.md +101 -0
  46. package/examples/expo-react-native-android/RUNBOOK.md +36 -0
  47. package/examples/expo-react-native-android/TASKS.md +14 -0
  48. package/examples/expo-react-native-android/app.config.ts +40 -0
  49. package/examples/expo-react-native-android/app.json +34 -0
  50. package/examples/expo-react-native-android/eas.json +26 -0
  51. package/examples/expo-react-native-android/jest.config.js +11 -0
  52. package/examples/expo-react-native-android/src/app/_layout.tsx +89 -0
  53. package/examples/expo-react-native-android/src/lib/secure-storage.ts +63 -0
  54. package/examples/expo-react-native-android/src/services/api-client.ts +106 -0
  55. package/package.json +3 -2
  56. package/scripts/install.ps1 +230 -230
  57. package/scripts/install.sh +1 -1
  58. package/scripts/prepublish-guard.js +43 -0
  59. package/scripts/verify.js +178 -1
@@ -1,73 +1,82 @@
1
- # MultiModel Dev OS — Comprehensive AI Assistant Discoverability Guide
2
-
3
- MultiModel Dev OS is a repository-level porting specification designed to align context and instructions across diverse developer tools and AI models.
4
-
5
- ---
6
-
7
- ## 1. Core Architecture Layers
8
-
9
- The protocol decouples the centralized workspace context from the individual tool rules:
10
-
11
- ```
12
- ┌────────────────────────────────────────────────────────┐
13
- │ LAYER 1: Root Contracts (Single Source of Truth) │
14
- │ AGENTS.md • MEMORY.md • TASKS.md • RUNBOOK.md │
15
- └──────────────────────────┬─────────────────────────────┘
16
- │ Centralizes project context
17
- ┌──────────────────────────▼─────────────────────────────┐
18
- │ LAYER 2: Configuration & Modules (.ai/) │
19
- context/ agents/ skills/ • prompts/ • checks/
20
- └──────────────────────────┬─────────────────────────────┘
21
- │ Routes files dynamically
22
- ┌──────────────────────────▼─────────────────────────────┐
23
- │ LAYER 3: Tool & IDE Adapters │
24
- .cursorrules CLAUDE.md .vscode/ • .gemini/
25
- └────────────────────────────────────────────────────────┘
26
- ```
27
-
28
- ### Layer 1: Root Documents
29
- - **`AGENTS.md`**: Defines teams, capabilities, boundaries, and model instructions.
30
- - **`MEMORY.md`**: Holds architectural decisions, repository milestones, and tech stacks.
31
- - **`TASKS.md`**: Active backlog tracking items.
32
- - **`RUNBOOK.md`**: Operational verification commands and post-deployment routines.
33
-
34
- ---
35
-
36
- ## 2. CLI Command specifications
37
-
38
- All compliant MultiModel Dev OS CLIs strictly enforce the following command contracts:
39
- - **`init`**: Scaffolds the standard `.ai/` context configuration directories.
40
- - **`verify`**: Automated release script that checks structure integrity.
41
- - **`templates`**: Lists built-in stack specifications (`nextjs-saas`, `wordpress-site`, `ecommerce-store`, `seo-landing-page`, `general-app`).
42
- - **`validate`**: Strict Quality Gate checking the layout rules on disk.
43
- - **`doctor`**: Advisory checkup warning you about unignored compiler caches or large folder directories.
44
-
45
- ---
46
-
47
- ## 3. Adapters & Mappings
48
-
49
- Adapters read context directly from `AGENTS.md` and translate them into native configs:
50
- - **Cursor** targets root `.cursorrules`
51
- - **Claude Code** targets root `CLAUDE.md`
52
- - **VS Code** targets `.vscode/settings.json`
53
- - **Gemini** targets root `GEMINI.md`
54
- - **Antigravity** targets `.gemini/settings.json`
55
-
56
- ---
57
-
58
- ## 4. Key Context Optimization (Caveman Mode)
59
-
60
- Toggling **Caveman Mode** dynamically reduces system prompt instructions to highly-optimized shorthand symbols, reducing rule tokens footprint by **~79%** for low-cost token execution budgets:
61
-
62
- ```bash
63
- npx multimodel-dev-os@latest init --caveman
64
- ```
65
-
66
- ---
67
-
68
- ## 5. Canonical Links
69
- - **Documentation site**: https://rizvee.github.io/multimodel-dev-os/
70
- - **GitHub Codebase**: https://github.com/rizvee/multimodel-dev-os
71
- - **Release Policies**: https://rizvee.github.io/multimodel-dev-os/release-policy
72
- - **LTS Support Policies**: https://rizvee.github.io/multimodel-dev-os/support-policy
73
- - **Upgrade Playbook**: https://rizvee.github.io/multimodel-dev-os/migration-guide
1
+ # MultiModel Dev OS — Comprehensive AI Assistant Discoverability Guide (v2.0.0 Stable Release)
2
+
3
+ MultiModel Dev OS is a repository-level porting specification designed to align context and instructions across diverse developer tools and AI models.
4
+
5
+ ---
6
+
7
+ ## 1. Core Architecture Layers
8
+
9
+ The protocol decouples the centralized workspace context from the individual tool rules:
10
+
11
+ ```
12
+ ┌────────────────────────────────────────────────────────┐
13
+ │ LAYER 1: Root Contracts (Single Source of Truth) │
14
+ │ AGENTS.md • MEMORY.md • TASKS.md • RUNBOOK.md │
15
+ │ (And central registries under .ai/models/ & .ai/adps/) │
16
+ └──────────────────────────┬─────────────────────────────┘
17
+ │ Centralizes project context
18
+ ┌──────────────────────────▼─────────────────────────────┐
19
+ LAYER 2: Configuration & Modules (.ai/)
20
+ │ context/ • agents/ • skills/ • prompts/ • checks/ │
21
+ └──────────────────────────┬─────────────────────────────┘
22
+ │ Routes files dynamically
23
+ ┌──────────────────────────▼─────────────────────────────┐
24
+ LAYER 3: Tool & IDE Adapters
25
+ │ .cursorrules • CLAUDE.md • .vscode/ • .gemini/ • etc. │
26
+ └────────────────────────────────────────────────────────┘
27
+ ```
28
+
29
+ ### Layer 1: Root Documents
30
+ - **`AGENTS.md`**: Defines teams, capabilities, boundaries, and model instructions.
31
+ - **`MEMORY.md`**: Holds architectural decisions, repository milestones, and tech stacks.
32
+ - **`TASKS.md`**: Active backlog tracking items.
33
+ - **`RUNBOOK.md`**: Operational verification commands and post-deployment routines.
34
+
35
+ ---
36
+
37
+ ## 2. CLI Command Specifications
38
+
39
+ All compliant MultiModel Dev OS CLIs strictly enforce the following command contracts:
40
+ - **`init`**: Scaffolds the standard `.ai/` context configuration directories. Supports `--template`, `--caveman`, `--adapter`, and dynamic registries mapping.
41
+ - **`verify`**: Automated release script that checks structure integrity.
42
+ - **`templates`**: Lists built-in template profiles (supports overrides via `--registry <path>`).
43
+ - **`validate`**: Strict Quality Gate checking the layout rules on disk (supports `--all-registries`).
44
+ - **`validate-template`**: Scans a template registry entry and source directory structure for completeness.
45
+ - **`validate-adapter`**: Audits an adapter config file and directory setup compliance.
46
+ - **`validate-skill`**: Checks a custom skill file against standard Markdown headers.
47
+ - **`doctor`**: Advisory checkup auditing ignored folders and token footprint (supports `--tokens` and `--release`).
48
+
49
+ ---
50
+
51
+ ## 3. Registries & Mappings
52
+
53
+ ### Model Compatibility Registry
54
+ Central registry configuration resides in `.ai/models/`:
55
+ * `registry.yaml`: Maps model aliases to official provider IDs, context windows, and tiers.
56
+ * `providers.yaml`: API base urls and environment variables keys.
57
+ * `routing-presets.yaml`: Multi-model presets for task-oriented routing.
58
+ * `local-models.yaml`: Endpoint mappings for offline model engines (Ollama, Llama.cpp).
59
+
60
+ ### IDE/Agent Adapters Registry
61
+ Central adapter rules mapped under `.ai/adapters/registry.yaml`:
62
+ * Targets files like `.cursorrules`, `CLAUDE.md`, `.vscode/settings.json`, `.clinerules`, `.aider.conf.yml`, `.windsurfrules`, `.continue/config.json`.
63
+
64
+ ---
65
+
66
+ ## 4. Key Context Optimization (Caveman Mode)
67
+
68
+ Toggling **Caveman Mode** dynamically reduces system prompt instructions to highly-optimized shorthand symbols, reducing rule tokens footprint by **~79%** for low-cost token execution budgets:
69
+
70
+ ```bash
71
+ npx multimodel-dev-os@latest init --caveman
72
+ ```
73
+
74
+ ---
75
+
76
+ ## 5. Canonical Links
77
+ - **Documentation site**: https://rizvee.github.io/multimodel-dev-os/
78
+ - **GitHub Codebase**: https://github.com/rizvee/multimodel-dev-os
79
+ - **v2.0.0 Roadmap**: https://rizvee.github.io/multimodel-dev-os/v2-roadmap
80
+ - **Release Policies**: https://rizvee.github.io/multimodel-dev-os/release-policy
81
+ - **Upgrade Playbook**: https://rizvee.github.io/multimodel-dev-os/migration-guide
82
+ - **Model Compatibility**: https://rizvee.github.io/multimodel-dev-os/model-compatibility
@@ -1,34 +1,36 @@
1
- # MultiModel Dev OS (v1.1.0)
2
-
3
- Portable, vendor-neutral workspace configuration standard for multi-agent AI pair-programming workflows.
4
-
5
- ## What It Does
6
- Provides a unified repository-level specification using root markdown files (`AGENTS.md`, `MEMORY.md`, `TASKS.md`, `RUNBOOK.md`) and bridges them dynamically to multiple developer tools, ensuring zero instruction drift and up to 79% token context savings.
7
-
8
- ## Fast Setup
9
- ```bash
10
- npx multimodel-dev-os@latest init
11
- ```
12
-
13
- ## Supported Tools
14
- - **Cursor** (`.cursorrules`)
15
- - **Claude Code** (`CLAUDE.md`)
16
- - **VS Code** (`.vscode/settings.json`)
17
- - **Gemini** (`GEMINI.md`)
18
- - **Antigravity** (`.gemini/settings.json`)
19
- - **Codex** (`adapters/codex/AGENTS.md`)
20
-
21
- ## Core Resources
22
- - **Canonical Website**: https://rizvee.github.io/multimodel-dev-os/
23
- - **GitHub Repository**: https://github.com/rizvee/multimodel-dev-os
24
- - **NPM Registry Package**: https://www.npmjs.com/package/multimodel-dev-os
25
- - **Stable Protocol Specification**: https://rizvee.github.io/multimodel-dev-os/stable-protocol
26
- - **Cost/Context Optimization Playbook**: https://rizvee.github.io/multimodel-dev-os/cost-optimization
27
- - **5-Day Adoption Roadmap**: https://rizvee.github.io/multimodel-dev-os/5-day-roadmap
28
-
29
- ## Standard Templates
30
- - `nextjs-saas` (App Router, Prisma ORM, Stripe)
31
- - `wordpress-site` (Custom Block Themes, secure PHP guidelines)
32
- - `ecommerce-store` (PCI checkout, Webhooks, card state)
33
- - `seo-landing-page` (Astro static builds, JSON-LD, optimal LCP)
34
- - `general-app` (Universal baseline configurations)
1
+ # MultiModel Dev OS (v2.0.0 Stable Release)
2
+
3
+ Portable, vendor-neutral workspace configuration standard for multi-agent AI pair-programming workflows.
4
+
5
+ ## Fast Setup (Stable npm @latest)
6
+ ```bash
7
+ npx multimodel-dev-os@latest init
8
+ ```
9
+
10
+ ## Supported Tools
11
+ - **Cursor** (`.cursorrules`)
12
+ - **Claude Code** (`CLAUDE.md`)
13
+ - **VS Code** (`.vscode/settings.json`)
14
+ - **Gemini** (`GEMINI.md`)
15
+ - **Antigravity** (`.gemini/settings.json`)
16
+ - **Continue** (`.continue/config.json`)
17
+ - **Cline / Roo Code** (`.clinerules`)
18
+ - **Aider** (`.aider.conf.yml`)
19
+ - **Windsurf** (`.windsurfrules`)
20
+ - **Codex** (`adapters/codex/AGENTS.md`)
21
+
22
+ ## Core Resources
23
+ - **Canonical Website**: https://rizvee.github.io/multimodel-dev-os/
24
+ - **GitHub Repository**: https://github.com/rizvee/multimodel-dev-os
25
+ - **NPM Package**: https://www.npmjs.com/package/multimodel-dev-os
26
+ - **Stable Protocol Specification**: https://rizvee.github.io/multimodel-dev-os/stable-protocol
27
+ - **Model Compatibility & Routing Guide**: https://rizvee.github.io/multimodel-dev-os/model-compatibility
28
+ - **Cost/Context Optimization Playbook**: https://rizvee.github.io/multimodel-dev-os/cost-optimization
29
+
30
+ ## Standard Templates
31
+ - `nextjs-saas` (App Router, Prisma ORM, Stripe)
32
+ - `wordpress-site` (Custom Block Themes, secure PHP guidelines)
33
+ - `ecommerce-store` (PCI checkout, Webhooks, card state)
34
+ - `seo-landing-page` (Astro static builds, JSON-LD, optimal LCP)
35
+ - `expo-react-native-android` (Production Android delivery with EAS Build)
36
+ - `general-app` (Universal baseline configurations)
@@ -6,9 +6,9 @@ Get the MultiModel Dev OS integrated into your codebase in under 2 minutes to sy
6
6
 
7
7
  ---
8
8
 
9
- ## Option A: NPX Scaffolding (Recommended)
9
+ ## Option A: NPX Scaffolding (Stable Packages)
10
10
 
11
- Initialize any project immediately without local clones using our public npm registry:
11
+ Initialize any project instantly using our public npm registry. Note that this pulls the latest stable npm-published release (`v2.0.0`):
12
12
 
13
13
  ```bash
14
14
  # Standard interactive initialization in the current directory
@@ -25,7 +25,7 @@ npx multimodel-dev-os@latest init --dry-run
25
25
 
26
26
  ## Option B: Fallback One-Line Scripts
27
27
 
28
- If you choose to run installation scripts directly:
28
+ If you choose to run installation scripts directly (fetches stable files):
29
29
 
30
30
  **macOS / Linux / WSL (bash):**
31
31
  ```bash
@@ -49,14 +49,15 @@ curl -fsSL https://raw.githubusercontent.com/rizvee/multimodel-dev-os/main/scrip
49
49
 
50
50
  ---
51
51
 
52
- ## Option D: Node.js Local Scaffolding CLI
52
+ ## Option D: Node.js Local Scaffolding CLI (Direct Run)
53
+
54
+ If you prefer to run directly from cloned source without global installation:
53
55
 
54
- For offline execution or customized packaging within a cloned workspace:
55
56
  1. Clone this repository locally:
56
57
  ```bash
57
58
  git clone https://github.com/rizvee/multimodel-dev-os.git
58
59
  ```
59
- 2. Run the CLI directly using the absolute target path:
60
+ 2. Run the CLI directly from the cloned repository source:
60
61
  ```bash
61
62
  node bin/multimodel-dev-os.js init --target /path/to/your-project --template nextjs-saas --adapter cursor
62
63
  ```
@@ -0,0 +1,20 @@
1
+ # Registry Contribution Workflow
2
+
3
+ This document describes how to propose and contribute new models, adapters, and templates.
4
+
5
+ ## Contribution Flow
6
+
7
+ 1. **Local Authoring:** Follow the respective authoring guides:
8
+ * [Custom IDE Adapter Authoring](adapter-authoring.md)
9
+ * [Custom Template Authoring](template-authoring.md)
10
+ * [Skill Authoring](skill-authoring.md)
11
+ 2. **Local Validation:** Use validation CLI commands to ensure structural compliance:
12
+ * `node bin/multimodel-dev-os.js validate-template <name>`
13
+ * `node bin/multimodel-dev-os.js validate-adapter <name>`
14
+ * `node bin/multimodel-dev-os.js validate-skill <name>`
15
+ 3. **Registry Addition:** Insert your metadata records into:
16
+ * `.ai/templates/registry.yaml` for templates.
17
+ * `.ai/adapters/registry.yaml` for adapters.
18
+ * `.ai/models/registry.yaml` for models.
19
+ 4. **Verification suite:** Run `npm run verify` to ensure the release audit checks pass cleanly.
20
+ 5. **Submit PR:** Submit your changes via a GitHub Pull Request to `https://github.com/rizvee/multimodel-dev-os`.
@@ -31,3 +31,29 @@ No package shall be merged or released without:
31
31
  - Building the documentation site without dead links (`npm run docs:build`).
32
32
  - Running packaging validation (`npm pack --dry-run`).
33
33
  - Executing smoke tests on all templates.
34
+
35
+ ---
36
+
37
+ ## 4. NPM Publishing Pause & Roadmap Development
38
+
39
+ To ensure high stability and thorough testing of the Template Galaxy and Model Compatibility Layers, package publishing to the public npm registry is paused during all `v1.2.x` minor releases:
40
+ * **GitHub Repository (Source)**: Serve as the primary, active source branch containing unreleased v1.2+ features (such as template extensions, model registries, and CLI expansions).
41
+ * **NPM Registry (Latest)**: Remains on the last approved stable version.
42
+ * **v2.0.0 (Next Target)**: Will serve as the next stable release published to the npm registry, packaging the hardened registries and Template Galaxy features.
43
+
44
+ ### Local Source & Verification Procedures
45
+
46
+ Contributors and developers must verify and test unreleased `v1.2.x` features locally rather than running publication steps:
47
+ 1. **Execute commands from the source binary:**
48
+ ```bash
49
+ node bin/multimodel-dev-os.js init
50
+ node bin/multimodel-dev-os.js verify
51
+ ```
52
+ 2. **Compile and test the package bundle locally:**
53
+ ```bash
54
+ npm pack
55
+ ```
56
+ This generates a local `.tgz` archive. Install it in a target test project to run validations.
57
+
58
+ Never execute `npm publish` in the main workspace unless actively packaging the approved `v2.0.0` release.
59
+
@@ -0,0 +1,56 @@
1
+ # Skill Authoring Guide
2
+
3
+ This guide explains how to construct high-fidelity reusable skills for MultiModel Dev OS.
4
+
5
+ ## Overview
6
+
7
+ Skills are custom prompts placed in the `.ai/skills/` directory of a project workspace. They instruct coding agents on exactly how to perform specific coding, refactoring, validation, or deployment routines.
8
+
9
+ ## Required Structure
10
+
11
+ Every reusable skill file must be a Markdown (`.md`) file containing the following key sections:
12
+
13
+ ```markdown
14
+ # Purpose
15
+ Describe what this skill accomplishes.
16
+
17
+ # Activation Trigger
18
+ Specify when a developer or agent should invoke this skill.
19
+
20
+ # Input Context
21
+ List the dependencies, files, or information required before executing this skill.
22
+
23
+ # Output Contract
24
+ Define the expected deliverables, formats, or file updates.
25
+
26
+ # Token Budget
27
+ Expected prompt footprint and limits.
28
+ ```
29
+
30
+ ## Example Skill File
31
+
32
+ ```markdown
33
+ # Purpose
34
+ Deploy a Next.js Server Action with security gates.
35
+
36
+ # Activation Trigger
37
+ Trigger when building or modifying API endpoints / React Server Actions.
38
+
39
+ # Input Context
40
+ * Target action file
41
+ * Schema validations definitions
42
+
43
+ # Output Contract
44
+ Return the modified action file containing secure CSRF/Origin validation rules.
45
+
46
+ # Token Budget
47
+ ~500 tokens
48
+ ```
49
+
50
+ ## Validating a Skill
51
+
52
+ To test your skill structure compliance, run:
53
+
54
+ ```bash
55
+ node bin/multimodel-dev-os.js validate-skill my-skill-name
56
+ ```
@@ -0,0 +1,65 @@
1
+ # Custom Template Authoring Guide
2
+
3
+ This guide explains how to author a custom workspace configuration template for MultiModel Dev OS.
4
+
5
+ ## Overview
6
+
7
+ A template packages a set of boilerplate markdown files (`AGENTS.md`, `MEMORY.md`, `TASKS.md`, `RUNBOOK.md`), a central `.ai/config.yaml` file, and stack-specific context files and skills.
8
+
9
+ ## Structure of a Template Source
10
+
11
+ A template resides in the `examples/` directory of the project, or can be loaded dynamically from a custom path using `--registry` if declared in the registry.
12
+
13
+ ```
14
+ examples/my-custom-template/
15
+ ├── AGENTS.md # Core workspace contracts
16
+ ├── MEMORY.md
17
+ ├── TASKS.md
18
+ ├── RUNBOOK.md
19
+ └── .ai/
20
+ ├── config.yaml # Core configuration rules
21
+ ├── context/ # Context templates
22
+ │ ├── project-brief.md
23
+ │ ├── architecture.md
24
+ │ └── context-budget.md
25
+ └── skills/ # Custom reusable skill files
26
+ └── custom-action.md
27
+ ```
28
+
29
+ ## Creating a Registry Entry
30
+
31
+ Add your template metadata to `.ai/templates/registry.yaml`:
32
+
33
+ ```yaml
34
+ templates:
35
+ my-custom-template:
36
+ name: "my-custom-template"
37
+ description: "My custom framework stack workspace baseline."
38
+ stack: "My Framework, TypeScript, PostgreSQL"
39
+ skill: "custom-action.md"
40
+ skillDesc: "Framework specific secure execution rules."
41
+ category: "Web"
42
+ status: "stable"
43
+ maturity: "production-ready"
44
+ required_files:
45
+ - AGENTS.md
46
+ - MEMORY.md
47
+ - TASKS.md
48
+ - RUNBOOK.md
49
+ - .ai/config.yaml
50
+ - .ai/context/project-brief.md
51
+ - .ai/skills/custom-action.md
52
+ ```
53
+
54
+ ## Validation Rules
55
+
56
+ You can validate your template configuration using the CLI:
57
+
58
+ ```bash
59
+ node bin/multimodel-dev-os.js validate-template my-custom-template
60
+ ```
61
+
62
+ Validation ensures:
63
+ 1. The template metadata matches the registry schema.
64
+ 2. The template source directory exists.
65
+ 3. All files listed in `required_files` are present.
@@ -0,0 +1,27 @@
1
+ # Token Optimization & Budget Policy
2
+
3
+ In agentic coding workflows, token overheads are the single largest source of API latency and cost. MultiModel Dev OS integrates tools and policies to optimize context inputs.
4
+
5
+ ---
6
+
7
+ ## 1. Caveman Mode
8
+ * **Goal**: Reduce baseline context token footprint by ~79%.
9
+ * **CLI Flag**: `node bin/multimodel-dev-os.js init --caveman`
10
+ * **Behavior**: Instantiates minimal `.caveman.md` files for `AGENTS.md`, `MEMORY.md`, `TASKS.md`, and `RUNBOOK.md`, omitting explanatory files and dense markdown guidelines.
11
+
12
+ ---
13
+
14
+ ## 2. Context Budget Auditing
15
+ * Define strict context bounds inside [.ai/context/context-budget.md](file:///F:/multimodel-dev-os/.ai/context/context-budget.md).
16
+ * **CLI Command**: `node bin/multimodel-dev-os.js doctor --tokens`
17
+ * Checks if build outputs or caches (`node_modules/`, `dist/`, `.next/`, `build/`) are missing from `.gitignore` or are being exposed to LLM scan scopes.
18
+
19
+ ---
20
+
21
+ ## 3. Policy Guidelines
22
+
23
+ ### Keep Checklist Files Short
24
+ Use `TASKS.md` exclusively for active sprint tasks. Move completed or historical backlogs to archive directories or logs.
25
+
26
+ ### Model Handoff Compression
27
+ When switching from reasoning models to quick-fixing models, use [.ai/prompts/compress-context.md](file:///F:/multimodel-dev-os/.ai/prompts/compress-context.md) to distill findings into high-density prompts.
@@ -0,0 +1,31 @@
1
+ # MultiModel Dev OS v2 Migration Guide
2
+
3
+ This guide describes how to migrate your developer configurations and workspace setup to the new Layered Architecture of MultiModel Dev OS v2.
4
+
5
+ ## What is Changing
6
+
7
+ * **Version 1.1.0 and prior:** Handled flat configurations directly at the project root with individual configurations manually copied across.
8
+ * **Version 2.0.0 (and source milestones 1.2–1.5):** Establishes a clean, three-layered architecture where root contracts (`AGENTS.md`, `MEMORY.md`, `TASKS.md`, `RUNBOOK.md`) are automatically routed to adapters via the `.ai/` directory.
9
+
10
+ ## Migration Steps
11
+
12
+ ### 1. Upgrade the CLI
13
+ Run the latest v2 setup utility via npx:
14
+ ```bash
15
+ npx multimodel-dev-os@latest init --template general-app
16
+ ```
17
+
18
+ ### 2. Move Legacy Configuration Files
19
+ If you have custom system instructions or rules:
20
+ * Move `.cursorrules` custom rules to `.ai/skills/` as custom markdown skills.
21
+ * Re-generate adapter links:
22
+ ```bash
23
+ npx multimodel-dev-os@latest init --adapter cursor --adapter claude
24
+ ```
25
+
26
+ ### 3. Verify Migration Integrity
27
+ Run diagnostics to verify that ignored folders, boundaries, and files are clean:
28
+ ```bash
29
+ npx multimodel-dev-os@latest doctor
30
+ npx multimodel-dev-os@latest validate
31
+ ```
@@ -0,0 +1,30 @@
1
+ # v2 Release Checklist
2
+
3
+ Use this checklist to verify compliance before publishing `multimodel-dev-os` to the npm registry.
4
+
5
+ ## Pre-Flight Requirements
6
+
7
+ - [x] Ensure version string in `package.json` is set to `2.0.0`.
8
+ - [x] Verify version strings in documentation and install scripts (`scripts/install.sh`, `scripts/install.ps1`) align with the release.
9
+ - [x] Run full release verification:
10
+ ```bash
11
+ npm run verify
12
+ ```
13
+ - [x] Run registry checks:
14
+ ```bash
15
+ node bin/multimodel-dev-os.js validate --all-registries
16
+ ```
17
+ - [x] Run release doctor:
18
+ ```bash
19
+ node bin/multimodel-dev-os.js doctor --release
20
+ ```
21
+
22
+ ## Packaging Verification
23
+
24
+ - [x] Execute dry pack run:
25
+ ```bash
26
+ npm pack --dry-run
27
+ ```
28
+ - [x] Inspect generated tarball file listing to verify only necessary directories (`.ai/`, `adapters/`, `bin/`, `docs/`, `examples/`, `scripts/`, `assets/`) are included.
29
+ - [x] Verify that the prepublish guard is bypassed only for the official production run.
30
+ - [x] Confirm no `.env` or sensitive `.npmrc` configurations are packaged.
@@ -0,0 +1,95 @@
1
+ # MultiModel Dev OS — v2.0.0 Roadmap
2
+
3
+ This document outlines the development path, stabilization targets, and migration roadmap leading to the `v2.0.0` stable release of MultiModel Dev OS.
4
+
5
+ ---
6
+
7
+ ## 1. Release Objective
8
+
9
+ The primary goal of the **v2.0.0 release** is to promote the experimental features introduced in `v1.2.0` (Template Galaxy, Model Compatibility Layer, and Android Expo template) into officially frozen, production-grade core components, and resume stable package publication to the public npm registry.
10
+
11
+ > [!IMPORTANT]
12
+ > **v2.0.0 is the active stable release.** NPM publishing is resumed, consolidating the Template Galaxy and Model registries.
13
+
14
+ ---
15
+
16
+ ## 2. Key Stabilization Targets
17
+
18
+ ### A. Template Galaxy Stabilization
19
+ * Standardize the schema for template configurations under `.ai/schema/template.schema.json`.
20
+ * Harden the built-in templates (`nextjs-saas`, `wordpress-site`, `ecommerce-store`, `seo-landing-page`, `expo-react-native-android`, `general-app`) to ensure they pass validation checks across diverse OS environments.
21
+
22
+ ### B. Model Registry Stabilization
23
+ * Freeze the `.ai/models/` structure:
24
+ * `registry.yaml` — Core provider mappings and model metadata.
25
+ * `providers.yaml` — API endpoint declarations.
26
+ * `routing-presets.yaml` — Optimized task routing configurations.
27
+ * `local-models.yaml` — Offline execution definitions.
28
+ * Standardize validation rules inside `validate` and `doctor` commands to verify YAML configuration syntax and compatibility.
29
+
30
+ ### C. Adapter Registry Stabilization
31
+ * Freeze `.ai/adapters/registry.yaml`.
32
+ * Extend support mapping for emerging developer tools (e.g. Continue, Cline, Roo Code, Aider, Windsurf).
33
+ * Ensure cross-linking logic maintains strict custom boundaries so that updates in `AGENTS.md` synchronize with adapter targets without wiping user overrides.
34
+
35
+ ### D. Android Expo Template Stabilization
36
+ * Hardening the `examples/expo-react-native-android/` foundation.
37
+ * Verify clean execution of EAS Build and environment configurations on local developer machines and CI runner platforms.
38
+
39
+ ### E. CLI Compatibility Pass
40
+ * Ensure the new subcommands introduced in `v1.2.0` are fully backward-compatible with `v1.0.0` and `v1.1.0` CLI patterns:
41
+ * `models` / `show-model`
42
+ * `providers`
43
+ * `route-model`
44
+ * `adapters` / `show-adapter`
45
+ * `skills` / `show-skill`
46
+ * `doctor --tokens`
47
+ * `validate --template`
48
+
49
+ ---
50
+
51
+ ## 3. Package Publishing Checklist
52
+
53
+ Before executing the `v2.0.0` release on the npm registry, the following steps must be completed:
54
+
55
+ 1. [x] Set version to `2.0.0` in `package.json`.
56
+ 2. [x] Ensure `scripts/prepublish-guard.js` allows the publish (since version starts with `2.`).
57
+ 3. [x] Run all verification suites:
58
+ ```bash
59
+ npm run verify
60
+ ```
61
+ 4. [x] Build documentation static bundles cleanly:
62
+ ```bash
63
+ npm run docs:build
64
+ ```
65
+ 5. [x] Perform a dry-run publish to review package hygiene:
66
+ ```bash
67
+ npm publish --dry-run
68
+ ```
69
+ 6. [x] Set the required publication environment variable:
70
+ * **PowerShell:** `$env:MMDO_ALLOW_PUBLISH="true"`
71
+ * **Bash:** `export MMDO_ALLOW_PUBLISH=true`
72
+ 7. [x] Publish the package to the public registry:
73
+ ```bash
74
+ npm publish --access public
75
+ ```
76
+
77
+ ---
78
+
79
+ ## 4. Migration Notes: npm latest to v2.0.0
80
+
81
+ * **Direct Upgrades**: Projects running the last stable npm package (e.g., `1.1.0` / `1.0.0`) can migrate to `2.0.0` by executing `npx multimodel-dev-os@latest init --force` or installing the package locally.
82
+ * **Registry Release**: Now that v2.0.0 is released, cloning the repository is no longer required to access Layer 1 templates or model registries. Simply run:
83
+ ```bash
84
+ npx multimodel-dev-os@latest init
85
+ ```
86
+ * **Configuration Upgrades**: Existing `.ai/` folders can be upgraded by running `init --force` to pull the new centralized registries (`.ai/models/` and `.ai/adapters/`) into the workspace.
87
+
88
+ ---
89
+
90
+ ## 5. Final Release Gate
91
+
92
+ The `v2.0.0` release requires:
93
+ 1. 100% pass rate on all automated linter and verifier checks.
94
+ 2. Complete documentation updates across all guides and discovery indices.
95
+ 3. Explicit maintainer sign-off on local testing of the Android Expo template.
@@ -0,0 +1,22 @@
1
+ # Mobile App configuration
2
+
3
+ project:
4
+ name: "expo-react-native-android"
5
+ description: "Production-ready Android mobile app with Expo, React Native, and EAS builds."
6
+ version: "1.0.0"
7
+
8
+ mode: "standard"
9
+
10
+ adapters:
11
+ cursor: false
12
+ claude: false
13
+ gemini: false
14
+ vscode: false
15
+ antigravity: false
16
+
17
+ skills:
18
+ directory: ".ai/skills/"
19
+ auto_load: true
20
+
21
+ prompts:
22
+ directory: ".ai/prompts/"