multimodel-dev-os 2.6.0 → 2.8.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 (50) hide show
  1. package/.ai/plugins/README.md +30 -0
  2. package/.ai/plugins/plugin.example.yaml +32 -0
  3. package/.ai/schema/plugin.schema.json +56 -0
  4. package/README.md +76 -219
  5. package/assets/adapter-sync-flow.svg +84 -0
  6. package/assets/architecture-preview.svg +46 -31
  7. package/assets/onboarding-flow.svg +79 -0
  8. package/assets/social-preview.svg +1 -1
  9. package/assets/terminal-demo.svg +22 -23
  10. package/bin/multimodel-dev-os.js +601 -1
  11. package/docs/.vitepress/config.js +25 -8
  12. package/docs/5-day-roadmap.md +9 -9
  13. package/docs/CLI.md +250 -111
  14. package/docs/architecture.md +31 -7
  15. package/docs/comparison.md +72 -25
  16. package/docs/compatibility.md +2 -2
  17. package/docs/dashboard.md +105 -0
  18. package/docs/demo.md +23 -60
  19. package/docs/demos/adapter-sync.md +103 -0
  20. package/docs/demos/existing-repo-onboarding.md +125 -0
  21. package/docs/demos/index.md +91 -0
  22. package/docs/demos/multi-agent-handoff.md +88 -0
  23. package/docs/demos/release-check.md +109 -0
  24. package/docs/demos/safe-improvement-loop.md +119 -0
  25. package/docs/distribution.md +195 -0
  26. package/docs/faq.md +91 -24
  27. package/docs/index.md +192 -81
  28. package/docs/installers.md +18 -4
  29. package/docs/launch-kit.md +97 -49
  30. package/docs/npm-publishing.md +6 -6
  31. package/docs/plugin-authoring.md +99 -0
  32. package/docs/plugin-hooks.md +80 -0
  33. package/docs/public/assets/adapter-sync-flow.svg +84 -0
  34. package/docs/public/assets/onboarding-flow.svg +79 -0
  35. package/docs/public/llms-full.txt +16 -3
  36. package/docs/public/llms.txt +13 -1
  37. package/docs/public/sitemap.xml +55 -0
  38. package/docs/quickstart.md +80 -26
  39. package/docs/repository-command-center.md +16 -0
  40. package/docs/tui-safety.md +59 -0
  41. package/docs/use-cases.md +21 -0
  42. package/docs/v2-roadmap.md +75 -88
  43. package/docs/workflow-orchestration.md +3 -0
  44. package/examples/adapter-sync/README.md +45 -0
  45. package/examples/command-center/README.md +59 -0
  46. package/examples/real-repo-onboarding/README.md +53 -0
  47. package/examples/safe-improvement-loop/README.md +48 -0
  48. package/package.json +1 -1
  49. package/scripts/install.ps1 +1 -1
  50. package/scripts/install.sh +1 -1
@@ -32,7 +32,7 @@ export default {
32
32
  'license': 'https://opensource.org/licenses/MIT',
33
33
  'url': 'https://github.com/rizvee/multimodel-dev-os',
34
34
  'downloadUrl': 'https://www.npmjs.com/package/multimodel-dev-os',
35
- 'softwareVersion': '2.6.0',
35
+ 'softwareVersion': '2.8.0',
36
36
  'description': 'Portable, vendor-neutral AI Developer OS for multi-agent coding workflows.'
37
37
  })
38
38
  ]
@@ -50,11 +50,22 @@ export default {
50
50
  text: 'Getting Started',
51
51
  items: [
52
52
  { text: 'Introduction', link: '/' },
53
- { text: 'Interactive CLI Demo', link: '/demo' },
54
53
  { text: 'Quickstart', link: '/quickstart' },
54
+ { text: 'Interactive CLI Demo', link: '/demo' },
55
55
  { text: 'FAQ', link: '/faq' }
56
56
  ]
57
57
  },
58
+ {
59
+ text: 'Demo Workflows',
60
+ items: [
61
+ { text: 'Demo Hub', link: '/demos/' },
62
+ { text: 'Existing Repo Onboarding', link: '/demos/existing-repo-onboarding' },
63
+ { text: 'Adapter Sync', link: '/demos/adapter-sync' },
64
+ { text: 'Safe Improvement Loop', link: '/demos/safe-improvement-loop' },
65
+ { text: 'Multi-Agent Handoff', link: '/demos/multi-agent-handoff' },
66
+ { text: 'Release Check', link: '/demos/release-check' }
67
+ ]
68
+ },
58
69
  {
59
70
  text: 'Repo Onboarding & Adapters',
60
71
  items: [
@@ -155,20 +166,26 @@ export default {
155
166
  { text: 'Approved Proposal Application', link: '/approved-proposal-apply' },
156
167
  { text: 'Repository Command Center', link: '/repository-command-center' },
157
168
  { text: 'Workflow Orchestration', link: '/workflow-orchestration' },
158
- { text: 'Agent Handoff Spec', link: '/agent-handoff' }
169
+ { text: 'Agent Handoff Spec', link: '/agent-handoff' },
170
+ { text: 'Interactive TUI Dashboard', link: '/dashboard' },
171
+ { text: 'Declarative Plugin Hooks', link: '/plugin-hooks' },
172
+ { text: 'Plugin Authoring Guide', link: '/plugin-authoring' },
173
+ { text: 'TUI & Plugin Safety', link: '/tui-safety' }
159
174
  ]
160
175
  },
161
176
  {
162
- text: 'Operations & Publishing',
177
+ text: 'Distribution & Release',
163
178
  items: [
164
- { text: 'Public Launch Checklist', link: '/launch-checklist' },
179
+ { text: 'Distribution Guide', link: '/distribution' },
180
+ { text: 'NPM Publishing Runbook', link: '/npm-publishing' },
165
181
  { text: 'Release Playbook Template', link: '/release-template' },
182
+ { text: 'Public Launch Checklist', link: '/launch-checklist' },
183
+ { text: 'Launch & Sharing Kit', link: '/launch-kit' },
166
184
  { text: 'CLI Roadmap', link: '/cli-roadmap' },
167
- { text: 'v2.0.0 Roadmap', link: '/v2-roadmap' },
168
- { text: 'NPM Publishing Runbook', link: '/npm-publishing' },
169
- { text: 'Pre-flight Release Testing', link: '/testing-v0.2' },
185
+ { text: 'v2 Roadmap', link: '/v2-roadmap' },
170
186
  { text: 'Release Policy', link: '/release-policy' },
171
187
  { text: 'Support Policy', link: '/support-policy' },
188
+ { text: 'Pre-flight Release Testing', link: '/testing-v0.2' },
172
189
  { text: 'Final Launch Guidelines', link: '/final-launch' },
173
190
  { text: 'v1.0.0 Release Checklist', link: '/v1-checklist' }
174
191
  ]
@@ -30,8 +30,8 @@ The timeline maps the progress from a fresh install to automated pull request ve
30
30
  ### Day 2: Fill Project Memory (Core Workspace Contracts)
31
31
  - **Objective:** Author the central single source of truth files.
32
32
  - **Tasks:**
33
- 1. Edit [AGENTS.md](file:///c:/Users/ADMIN/OneDrive/Desktop/multimodel-dev-os/AGENTS.md) — detail your project overview, technology stack, build commands, and strict directory boundaries (`no-touch` blocks).
34
- 2. Edit [MEMORY.md](file:///c:/Users/ADMIN/OneDrive/Desktop/multimodel-dev-os/MEMORY.md) — log architectural decisions, third-party credentials rules, and project milestones.
33
+ 1. Edit [AGENTS.md](file:///f:/multimodel-dev-os/AGENTS.md) — detail your project overview, technology stack, build commands, and strict directory boundaries (`no-touch` blocks).
34
+ 2. Edit [MEMORY.md](file:///f:/multimodel-dev-os/MEMORY.md) — log architectural decisions, third-party credentials rules, and project milestones.
35
35
  3. Verify file placement is correct inside the root folder.
36
36
 
37
37
  ---
@@ -39,18 +39,18 @@ The timeline maps the progress from a fresh install to automated pull request ve
39
39
  ### Day 3: Configure Skills & Checks (Custom Prompt Packs)
40
40
  - **Objective:** Assemble reusable instructions for common development routines.
41
41
  - **Tasks:**
42
- 1. Author specific command workflows inside [.ai/skills/](file:///c:/Users/ADMIN/OneDrive/Desktop/multimodel-dev-os/.ai/skills/) (e.g. database setup scripts, feature-specific build guidelines).
43
- 2. Define validation constraints in [.ai/checks/](file:///c:/Users/ADMIN/OneDrive/Desktop/multimodel-dev-os/.ai/checks/) (e.g. regression checks, test coverage parameters).
44
- 3. Edit [.ai/prompts/](file:///c:/Users/ADMIN/OneDrive/Desktop/multimodel-dev-os/.ai/prompts/) to establish output formatting expectations.
42
+ 1. Author specific command workflows inside [.ai/skills/](file:///f:/multimodel-dev-os/.ai/skills/) (e.g. database setup scripts, feature-specific build guidelines).
43
+ 2. Define validation constraints in [.ai/checks/](file:///f:/multimodel-dev-os/.ai/checks/) (e.g. regression checks, test coverage parameters).
44
+ 3. Edit [.ai/prompts/](file:///f:/multimodel-dev-os/.ai/prompts/) to establish output formatting expectations.
45
45
 
46
46
  ---
47
47
 
48
48
  ### Day 4: Mount Adapters & Handoff Logs (Sync Environments)
49
49
  - **Objective:** Synchronize the central rules with IDE settings and terminal agents.
50
50
  - **Tasks:**
51
- 1. Map adapters using the CLI command:
51
+ 1. Synchronize all adapters using the sync command:
52
52
  ```bash
53
- npx multimodel-dev-os@latest init --adapter cursor --adapter claude --adapter vscode
53
+ npx multimodel-dev-os@latest adapter sync all --approved
54
54
  ```
55
55
  2. Confirm that `.cursorrules`, `CLAUDE.md`, and `.vscode/settings.json` mirror the central instructions properly.
56
56
  3. Execute a local hand-off by creating a session log template inside `.ai/session-logs/` to pass context between agents.
@@ -62,11 +62,11 @@ The timeline maps the progress from a fresh install to automated pull request ve
62
62
  - **Tasks:**
63
63
  1. Run the local structure verification:
64
64
  ```bash
65
- npx multimodel-dev-os validate
65
+ npx multimodel-dev-os@latest validate
66
66
  ```
67
67
  2. Add validation gates to pre-commit hooks or CI workflows (e.g. `.github/workflows/verify.yml`).
68
68
  3. Run diagnostic checkups using the `doctor` command:
69
69
  ```bash
70
- npx multimodel-dev-os doctor
70
+ npx multimodel-dev-os@latest doctor
71
71
  ```
72
72
  4. Educate the engineering team on executing validations before pushing code blocks.
package/docs/CLI.md CHANGED
@@ -1,137 +1,276 @@
1
1
  # CLI Command Reference
2
2
 
3
- `multimodel-dev-os` features a lightweight, dependency-free local CLI utility. It allows standard bootstraps, structural integrity checks, and rule validations natively.
3
+ `multimodel-dev-os` features a lightweight, dependency-free CLI utility with **zero third-party runtime dependencies**. All commands work on Windows, macOS, and Linux.
4
4
 
5
5
  ## Execution
6
6
 
7
- Execute the CLI globally or inside target folder contexts using `npx`:
8
-
9
7
  ```bash
8
+ # Via npx (recommended — no install needed)
10
9
  npx multimodel-dev-os@latest <command> [options]
10
+
11
+ # Via local clone
12
+ node bin/multimodel-dev-os.js <command> [options]
11
13
  ```
12
14
 
13
- Or execute locally within a cloned workspace:
15
+ ---
16
+
17
+ ## Commands
18
+
19
+ ### 1. `init` — Scaffold Workspace
20
+
21
+ Scaffold MultiModel Dev OS files and adapters cleanly.
14
22
 
15
23
  ```bash
16
- node bin/multimodel-dev-os.js <command> [options]
24
+ npx multimodel-dev-os@latest init [options]
17
25
  ```
18
26
 
27
+ | Option | Description |
28
+ |:---|:---|
29
+ | `-t, --target <path>` | Target destination (default: current directory) |
30
+ | `--template <name>` | Stack blueprint: `nextjs-saas`, `wordpress-site`, `ecommerce-store`, `seo-landing-page`, `expo-react-native-android`, `general-app` |
31
+ | `-a, --adapter <name>` | Inject adapter rules: `cursor`, `claude`, `vscode`, `gemini`, `antigravity`, `codex` |
32
+ | `--caveman` | Install ultra-lightweight token-optimized variant |
33
+ | `-d, --dry-run` | Preview actions without writing files |
34
+ | `-f, --force` | Overwrite existing files (creates `.bak` backups) |
35
+
19
36
  ---
20
37
 
21
- ## Commands
38
+ ### 2. `scan` — Codebase Scanner
22
39
 
23
- ### 1. `init`
24
- Scaffold `multimodel-dev-os` files and adapters cleanly.
25
- * **Usage:** `node bin/multimodel-dev-os.js init [options]`
26
- * **Options:**
27
- - `-t, --target <path>`: Specifies target destination (default: current working directory).
28
- - `--template <name>`: Stack blueprint: `nextjs-saas`, `wordpress-site`, `ecommerce-store`, `seo-landing-page`, `general-app`.
29
- - `-a, --adapter <name>`: Inject rules file directly (`cursor`, `claude`, `vscode`, `gemini`, `antigravity`, `codex`).
30
- - `--caveman`: Installs ultra-lightweight variant profiles.
31
- - `-d, --dry-run`: Previews actions without mutated files.
32
- - `-f, --force`: Overwrites conflicts.
33
-
34
- ### 2. `validate`
35
- Strict directory schema compliance gate checks.
36
- * **Usage:** `node bin/multimodel-dev-os.js validate [options]`
37
- * **Assertions:** Checks for the presence of crucial root files and enabled adapters' rule targets. If assertions fail, exits with status 1.
38
-
39
- ### 3. `doctor`
40
- Advisory checkups for gitignores, large token-sinks, and intelligence configuration.
41
- * **Usage:** `node bin/multimodel-dev-os.js doctor [options]`
42
- * **Audits:** Missing `.env` gates in gitignores, missing build steps inside `AGENTS.md`, and large unignored directories.
43
- * **Options:**
44
- - `--release`: Verifies version stability, verifies Vitepress docs build, checks dry-run pack.
45
- - `--intelligence`: Runs advisory audits verifying memory index freshness, feedback log presence, learning rules compilation, proposals status, and `.gitignore` safety boundaries.
46
-
47
- ### 4. `templates` / `list-templates`
48
- Inspection map of all built-in stacks.
49
- * **Usage:** `node bin/multimodel-dev-os.js templates`
50
-
51
- ### 5. `show-template <name>`
52
- Detailed layout specifications and skill blueprints audit.
53
- * **Usage:** `node bin/multimodel-dev-os.js show-template nextjs-saas`
54
-
55
- ### 6. `scan`
56
40
  Scan codebase structure, frameworks, package managers, and security/exclusion risks.
57
- * **Usage:** `node bin/multimodel-dev-os.js scan [options]`
58
- * **Options:**
59
- - `-t, --target <path>`: Specifies target destination (default: current working directory).
60
41
 
61
- ### 7. `memory`
42
+ ```bash
43
+ npx multimodel-dev-os@latest scan [--target <path>]
44
+ ```
45
+
46
+ ---
47
+
48
+ ### 3. `status` — Intelligence Dashboard
49
+
50
+ Display a compact project intelligence dashboard summarizing package metadata, framework signals, memory state, feedback counts, proposals, and recommended next steps. Fully read-only.
51
+
52
+ ```bash
53
+ npx multimodel-dev-os@latest status [--target <path>]
54
+ ```
55
+
56
+ ---
57
+
58
+ ### 4. `memory` — Hash-Compressed Memory
59
+
62
60
  Manage codebase hash-compressed memory index.
63
- * **Usage:** `node bin/multimodel-dev-os.js memory <subcommand> [options]`
64
- * **Subcommands:**
65
- - `build`: Performs full codebase scan and writes memory files.
66
- - `refresh`: Performs incremental memory updates based on file hash diffs.
67
- - `diff`: Reports files modified, added, or removed compared to memory index without writing any changes.
68
- * **Options:**
69
- - `-t, --target <path>`: Specifies target destination (default: current working directory).
70
-
71
- ### 8. `feedback`
72
- Manage developer feedback loop and compile rules.
73
- * **Usage:** `node bin/multimodel-dev-os.js feedback <subcommand> [options]`
74
- * **Subcommands:**
75
- - `add "<text>"`: Append a structured feedback object.
76
- - `list`: View logged feedback entries.
77
- - `summarize`: Compile raw feedback logs into `learning-rules.md`.
78
- * **Options:**
79
- - `--type <type>`: Classification type (`correction`, `preference`, `bug`, etc.)
80
- - `--tags <list>`: Comma-separated list of tags.
81
- - `--files <list>`: Comma-separated list of related files.
82
-
83
- ### 9. `improve`
61
+
62
+ ```bash
63
+ npx multimodel-dev-os@latest memory <subcommand> [--target <path>]
64
+ ```
65
+
66
+ | Subcommand | Description |
67
+ |:---|:---|
68
+ | `build` | Full codebase scan → writes memory files |
69
+ | `refresh` | Incremental memory update based on file hash diffs |
70
+ | `diff` | Reports modified/added/removed files vs memory index (read-only) |
71
+
72
+ ---
73
+
74
+ ### 5. `feedback` Developer Feedback Loop
75
+
76
+ Capture developer corrections and compile them into reusable learning rules.
77
+
78
+ ```bash
79
+ npx multimodel-dev-os@latest feedback <subcommand> [options]
80
+ ```
81
+
82
+ | Subcommand | Description |
83
+ |:---|:---|
84
+ | `add "<text>"` | Append a structured feedback entry |
85
+ | `list` | View all logged feedback entries |
86
+ | `summarize` | Compile feedback logs into `learning-rules.md` |
87
+
88
+ **Options:** `--type <type>` (correction, preference, bug) · `--tags <list>` · `--files <list>`
89
+
90
+ ---
91
+
92
+ ### 6. `improve` — Proposal Engine
93
+
84
94
  Manage codebase optimization proposals and deterministic execution.
85
- * **Usage:** `node bin/multimodel-dev-os.js improve <subcommand> [options]`
86
- * **Subcommands:**
87
- - `propose`: Generate a codebase improvement proposal markdown file.
88
- - `review`: List active proposals and their statuses.
89
- - `status`: Show aggregate counts of proposal statuses.
90
- - `validate <proposal-file>`: Validate safety gates and parse operations. Prints a structured safety checklist (Frontmatter, Approval, JSON, Types, Boundaries, Permissions, Constraints) with actionable fixes on refusal.
91
- - `diff <proposal-file>`: Preview proposed changes grouped by type in a token-safe truncated diff format.
92
- - `apply <proposal-file> --approved`: Apply approved operations to target, printing compact summaries, clear idempotent statuses, and writing success/refusal audit logs.
93
- - `log`: Display Applied Proposals Audit Log execution history (`apply-log.jsonl`).
94
- * **Options:**
95
- - `--title <text>`: Title of the proposal (used with `propose`).
96
- - `--approved`: Explicitly authorize apply command execution (required for `apply`).
97
- - `-t, --target <path>`: Specifies target destination (default: current working directory).
98
-
99
- ### 10. `status`
100
- Display a compact project intelligence dashboard.
101
- * **Usage:** `node bin/multimodel-dev-os.js status [options]`
102
- * **Overview:** Summarizes package metadata, framework signals, memory state (`MISSING`/`STALE`/`CURRENT`), feedback counts, proposal statuses, apply log audits, and the recommended next command. Fully read-only.
103
-
104
- ### 11. `workflow`
95
+
96
+ ```bash
97
+ npx multimodel-dev-os@latest improve <subcommand> [options]
98
+ ```
99
+
100
+ | Subcommand | Description |
101
+ |:---|:---|
102
+ | `propose` | Generate a codebase improvement proposal |
103
+ | `review` | List active proposals and their statuses |
104
+ | `status` | Show aggregate proposal status counts |
105
+ | `validate <file>` | Validate safety gates and parse operations |
106
+ | `diff <file>` | Preview changes in grouped diff format |
107
+ | `apply <file> --approved` | Apply approved operations to target codebase |
108
+ | `log` | Display Applied Proposals Audit Log history |
109
+
110
+ **Options:** `--title <text>` (with `propose`) · `--approved` (required for `apply`) · `--target <path>`
111
+
112
+ ---
113
+
114
+ ### 7. `workflow` — Workflow Orchestration
115
+
105
116
  Orchestrate read-only development workflow pipelines.
106
- * **Usage:** `node bin/multimodel-dev-os.js workflow <subcommand> [options]`
107
- * **Subcommands:**
108
- - `list`: Print all registered workflows in `.ai/registries/workflows.yaml`.
109
- - `show <workflow>`: Display details, risk level, memory write capability, code modification capability, and logical steps of target workflow.
110
- - `plan <workflow>`: Print steps and commands of target workflow without executing them (dry-run).
111
- - `run <workflow>`: Sequentially execute safe, read-only and metadata-write steps (e.g. scan, doctor, memory refresh, feedback summarize). Any step requiring source code modification will halt and output manual instructions.
112
-
113
- ### 12. `handoff`
117
+
118
+ ```bash
119
+ npx multimodel-dev-os@latest workflow <subcommand> [options]
120
+ ```
121
+
122
+ | Subcommand | Description |
123
+ |:---|:---|
124
+ | `list` | Print all registered workflows |
125
+ | `show <name>` | Display workflow details, risk level, and steps |
126
+ | `plan <name>` | Dry-run preview of workflow steps |
127
+ | `run <name>` | Execute safe, read-only workflow steps |
128
+
129
+ **Built-in workflows:** `repo-health` · `memory-refresh` · `feedback-review` · `proposal-review` · `release-check`
130
+
131
+ ---
132
+
133
+ ### 8. `handoff` — Agent Session Handoff
134
+
114
135
  Compile token-compressed agent session handoff context.
115
- * **Usage:** `node bin/multimodel-dev-os.js handoff <subcommand> [options]`
116
- * **Subcommands:**
117
- - `build`: Scans project signals and intelligence state and generates `.ai/intelligence/handoff.md` (which is git-ignored by default).
118
- - `show`: Prints handoff contents to console (building them first if not present).
119
136
 
120
- ### 13. `onboard`
137
+ ```bash
138
+ npx multimodel-dev-os@latest handoff <subcommand>
139
+ ```
140
+
141
+ | Subcommand | Description |
142
+ |:---|:---|
143
+ | `build` | Generate `.ai/intelligence/handoff.md` (gitignored) |
144
+ | `show` | Print handoff contents to console |
145
+
146
+ ---
147
+
148
+ ### 9. `onboard` — Existing Repo Onboarding
149
+
121
150
  Safely onboard an existing repository into MultiModel Dev OS.
122
- * **Usage:** `node bin/multimodel-dev-os.js onboard <subcommand> [options]`
123
- * **Subcommands:**
124
- - `analyze`: Scans repository structure, frameworks, languages, and risk markers. Read-only.
125
- - `recommend`: Runs scanner diagnostics and recommendations for templates and adapters. Read-only.
126
- - `plan`: Generates onboarding plan `.ai/intelligence/onboarding.plan.json` and report `.ai/intelligence/onboarding.report.md`. Read-only.
127
- - `apply --approved`: Copies configuration templates to target directory. Overwrites require `--force` and automatically generate backups.
128
- - `status`: Show progress and completeness percentage dashboard.
129
-
130
- ### 14. `adapter`
151
+
152
+ ```bash
153
+ npx multimodel-dev-os@latest onboard <subcommand> [options]
154
+ ```
155
+
156
+ | Subcommand | Description |
157
+ |:---|:---|
158
+ | `analyze` | Scan project structure, frameworks, and risk markers (read-only) |
159
+ | `recommend` | Run diagnostics and recommend templates/adapters (read-only) |
160
+ | `plan` | Generate onboarding plan and report (read-only) |
161
+ | `apply --approved` | Copy configuration templates (creates backups, requires `--force` for overwrites) |
162
+ | `status` | Show onboarding progress and completeness dashboard |
163
+
164
+ ---
165
+
166
+ ### 10. `adapter` — IDE Adapter Sync
167
+
131
168
  Manage and synchronize rule files for IDE and assistant adapters.
132
- * **Usage:** `node bin/multimodel-dev-os.js adapter <subcommand> [options]`
133
- * **Subcommands:**
134
- - `status`: Show rules files status and enable/disable states from config.
135
- - `diff <adapter>`: Show rules diff between bundled template and target root file.
136
- - `sync <adapter|all> --approved`: Synchronizes rule files. Overwrites require `--force` and automatically generate backups.
137
169
 
170
+ ```bash
171
+ npx multimodel-dev-os@latest adapter <subcommand> [options]
172
+ ```
173
+
174
+ | Subcommand | Description |
175
+ |:---|:---|
176
+ | `status` | Show rules files status and enable/disable states |
177
+ | `diff <adapter>` | Show diff between bundled template and target root file |
178
+ | `sync <adapter\|all> --approved` | Synchronize rule files (creates backups, requires `--force` for overwrites) |
179
+
180
+ ---
181
+
182
+ ### 11. `validate` — Strict Validation
183
+
184
+ Strict directory schema compliance gate. Exits with code 1 on failures — safe for CI/CD.
185
+
186
+ ```bash
187
+ npx multimodel-dev-os@latest validate [--target <path>]
188
+ ```
189
+
190
+ ---
191
+
192
+ ### 12. `doctor` — Advisory Diagnostics
193
+
194
+ Advisory checkups for workspace health, gitignores, token-sinks, and intelligence configuration.
195
+
196
+ ```bash
197
+ npx multimodel-dev-os@latest doctor [options]
198
+ ```
199
+
200
+ | Flag | Description |
201
+ |:---|:---|
202
+ | `--release` | Verify version stability, docs build, and dry-run pack |
203
+ | `--intelligence` | Audit memory freshness, feedback logs, proposals, and `.gitignore` safety |
204
+ | `--onboarding` | Verify crucial root files, configs, and git-ignored plan files for onboarding readiness |
205
+
206
+ ---
207
+
208
+ ### 13. `verify` — Release Audit
209
+
210
+ Full release verification suite with **214+ structural assertions**. Checks all files, registries, YAML syntax, CLI version matching, npm pack hygiene, and security boundaries.
211
+
212
+ ```bash
213
+ npx multimodel-dev-os@latest verify
214
+ # or
215
+ npm run verify
216
+ ```
217
+
218
+ ---
219
+
220
+ ### 14. `templates` — Template Gallery
221
+
222
+ List and inspect all built-in stack templates.
223
+
224
+ ```bash
225
+ npx multimodel-dev-os@latest templates # List all templates
226
+ npx multimodel-dev-os@latest show-template <name> # Detailed template inspection
227
+ ```
228
+
229
+ ---
230
+
231
+ ### 15. `dashboard` — Interactive TUI Dashboard
232
+
233
+ Launch the zero-dependency interactive command center to manage all commands.
234
+
235
+ ```bash
236
+ npx multimodel-dev-os@latest dashboard
237
+ # or short alias:
238
+ npx multimodel-dev-os@latest ui
239
+ ```
240
+
241
+ ---
242
+
243
+ ### 16. `plugin` — Declarative Plugins Engine
244
+
245
+ Manage declarative plugins safely within the whitelisted `.ai/` and `adapters/` paths.
246
+
247
+ ```bash
248
+ npx multimodel-dev-os@latest plugin list
249
+ npx multimodel-dev-os@latest plugin show <slug>
250
+ npx multimodel-dev-os@latest plugin validate <path-to-yaml>
251
+ npx multimodel-dev-os@latest plugin install <path-to-yaml> --approved
252
+ npx multimodel-dev-os@latest plugin status
253
+ ```
254
+
255
+ | Subcommand | Description |
256
+ |:---|:---|
257
+ | `list` | Print all installed plugins |
258
+ | `show <slug>` | Inspect detailed plugin capabilities and safety notes |
259
+ | `validate <path>` | Validate a YAML manifest against the plugin JSON schema |
260
+ | `install <path>` | Install plugin configs (creates backups, requires `--approved`) |
261
+ | `status` | Audit workspace to verify plugin asset presence |
262
+
263
+ ---
264
+
265
+ ### 17. Registry Commands
266
+
267
+ Explore model, adapter, and skill registries.
268
+
269
+ ```bash
270
+ npx multimodel-dev-os@latest models # View model registry
271
+ npx multimodel-dev-os@latest models --json # Machine-readable output
272
+ npx multimodel-dev-os@latest show-model <id> # Detailed model info
273
+ npx multimodel-dev-os@latest providers # View API providers
274
+ npx multimodel-dev-os@latest adapters # View adapter registry
275
+ npx multimodel-dev-os@latest skills # View skill registry
276
+ ```
@@ -7,6 +7,7 @@
7
7
  3. **Zero dependencies** — no runtime, no package manager, no build step
8
8
  4. **Non-destructive** — installers never overwrite, adapters never conflict
9
9
  5. **Progressive complexity** — start with `AGENTS.md`, add orchestrator later
10
+ 6. **Safety-first** — all write operations require explicit developer approval
10
11
 
11
12
  ## Layer Architecture
12
13
 
@@ -15,24 +16,36 @@
15
16
  │ Human Layer │
16
17
  │ README.md CONTRIBUTING.md docs/ │
17
18
  ├──────────────────────────────────────┤
18
- Source of Truth Layer
19
+ Layer 1: Source of Truth
19
20
  │ AGENTS.md MEMORY.md TASKS.md │
20
21
  │ RUNBOOK.md │
21
22
  ├──────────────────────────────────────┤
22
- AI Operating Layer
23
+ Layer 2: AI Operating Layer
23
24
  │ .ai/config.yaml │
24
- │ .ai/agents/multimodel-orchestrator.md
25
- │ .ai/context/ .ai/prompts/
26
- │ .ai/skills/ .ai/checks/
27
- │ .ai/session-logs/ .ai/templates/
25
+ │ .ai/agents/ .ai/context/
26
+ │ .ai/prompts/ .ai/skills/
27
+ │ .ai/checks/ .ai/templates/
28
+ │ .ai/models/ .ai/schema/
28
29
  ├──────────────────────────────────────┤
29
- Adapter Layer
30
+ Layer 3: Adapter Layer
30
31
  │ adapters/codex/ │
31
32
  │ adapters/antigravity/ │
32
33
  │ adapters/cursor/ │
33
34
  │ adapters/claude/ │
34
35
  │ adapters/gemini/ │
35
36
  │ adapters/vscode/ │
37
+ ├──────────────────────────────────────┤
38
+ │ Layer 4: Intelligence Layer │
39
+ │ .ai/intelligence/ (memory, handoff)│
40
+ │ .ai/registries/ (workflows, │
41
+ │ capabilities, tools) │
42
+ │ .ai/proposals/ (improvements) │
43
+ │ .ai/policies/ (safety gates) │
44
+ ├──────────────────────────────────────┤
45
+ │ Layer 5: CLI Dashboard & Plugins │
46
+ │ dashboard / ui (TUI Command Center) │
47
+ │ plugin list/show/validate/install │
48
+ │ onboard / adapter sync │
36
49
  └──────────────────────────────────────┘
37
50
  ```
38
51
 
@@ -43,6 +56,10 @@
43
56
  3. **AI agents** read their adapter file + root files
44
57
  4. **Agents write** results back to `TASKS.md`, `MEMORY.md`, and session logs
45
58
  5. **Orchestrator** coordinates multi-agent workflows via session logs
59
+ 6. **Memory engine** indexes codebase state into hash-compressed summaries
60
+ 7. **Feedback loop** captures developer corrections and compiles learning rules
61
+ 8. **Proposal engine** drafts improvements, validates safety gates, and applies approved changes
62
+ 9. **Handoff compiler** generates token-compressed session context for agent transfers
46
63
 
47
64
  ## File Ownership
48
65
 
@@ -54,6 +71,11 @@
54
71
  | `RUNBOOK.md` | Human | All agents | Human |
55
72
  | `.ai/config.yaml` | Human | System | Human |
56
73
  | `.ai/session-logs/*.md` | Agents | Next agent | Current agent |
74
+ | `.ai/intelligence/memory.*` | System | All agents | CLI (`memory build`) |
75
+ | `.ai/intelligence/handoff.md` | System | Next agent | CLI (`handoff build`) |
76
+ | `.ai/intelligence/feedback-log.jsonl` | System | CLI | CLI (`feedback add`) |
77
+ | `.ai/proposals/*.md` | System | Human + CLI | CLI (`improve propose`) |
78
+ | `.ai/registries/*.yaml` | System | CLI | CLI (`init`) |
57
79
  | `adapters/*/` | Community | Specific tool | Maintainers |
58
80
 
59
81
  ## Security Considerations
@@ -62,3 +84,5 @@
62
84
  - Handoff logs may contain sensitive context — gitignored by default
63
85
  - Adapter config files should not contain API keys or tokens
64
86
  - Use `.env` files (gitignored) for secrets, referenced in `RUNBOOK.md`
87
+ - Memory indexes, feedback logs, and proposals are gitignored by default
88
+ - The proposal `apply` command enforces 12 safety gates including path boundary checks