@archangel70/cosmo 1.7.0 → 1.9.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.
- package/CHANGELOG.md +22 -0
- package/README.md +112 -88
- package/docs/AGENT-HANDOFF.md +8 -8
- package/docs/ARCHITECTURE.md +3 -3
- package/docs/CONTENT-QA.md +2 -0
- package/docs/COPY-STUDIO.md +154 -0
- package/docs/FIRST-PARTY-CAPABILITIES.md +1 -1
- package/docs/GENERATION.md +1 -1
- package/docs/INTELLIGENCE-PACKS.md +2 -2
- package/docs/MULTI-AGENT.md +69 -0
- package/docs/PAGE-PRODUCTION.md +2 -0
- package/docs/ROADMAP.md +10 -0
- package/package.json +9 -3
- package/packages/cli/bin/cosmo.mjs +139 -17
- package/packages/cli/lib/adoption.mjs +21 -0
- package/packages/cli/lib/agent-adapters.mjs +124 -0
- package/packages/cli/lib/claude-plugin.mjs +3 -0
- package/packages/cli/lib/copy-studio.mjs +355 -0
- package/packages/cli/lib/delivery.mjs +4 -2
- package/packages/cli/lib/editorial-guidance.mjs +17 -0
- package/packages/cli/lib/generation.mjs +6 -2
- package/packages/cli/lib/intelligence-audit.mjs +22 -5
- package/packages/cli/lib/intelligence.mjs +14 -2
- package/packages/cli/lib/project.mjs +2 -0
- package/packages/cli/lib/status.mjs +1 -1
- package/plugins/agent-skills/cosmo/.cosmo-agent.json +4 -0
- package/plugins/agent-skills/cosmo/SKILL.md +68 -0
- package/plugins/antigravity/cosmo.md +17 -0
- package/plugins/claude-code/cosmo/.claude-plugin/plugin.json +2 -2
- package/plugins/claude-code/cosmo/skills/cosmo/SKILL.md +5 -4
- package/scripts/postinstall.mjs +10 -8
- package/templates/astro-site/.agents/rules/cosmo.md +3 -0
- package/templates/astro-site/.agents/skills/cosmo/SKILL.md +18 -0
- package/templates/astro-site/.agents/workflows/cosmo.md +3 -0
- package/templates/astro-site/.cosmo/workflows/default.json +15 -2
- package/templates/astro-site/AGENTS.md +12 -6
- package/templates/astro-site/CLAUDE.md +3 -2
- package/templates/astro-site/README.md +1 -1
- package/templates/astro-site/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
All notable Cosmo changes are recorded here.
|
|
4
4
|
|
|
5
|
+
## 1.9.0 — Multi-agent Cosmo
|
|
6
|
+
|
|
7
|
+
- Added first-class Claude, Codex, and Google Antigravity setup, status, update, and removal commands.
|
|
8
|
+
- Added one-command installation of all supported agent adapters, while preserving the existing Claude command aliases.
|
|
9
|
+
- Added a shared Cosmo skill for Codex and Antigravity plus a deterministic `/cosmo` Antigravity workflow.
|
|
10
|
+
- Added repository-owned skills, rules, and workflows to new and adopted sites so projects can move between agents without losing intent.
|
|
11
|
+
- Expanded the Codex project guide into a complete start, adopt, resume, build, review, and release contract.
|
|
12
|
+
- Added adapter conformance and package-install smoke coverage.
|
|
13
|
+
|
|
14
|
+
- Added shared minimum-edit guidance to Copy Studio and the editorial-naturalness pack, with explicit evidence, positioning, and voice precedence.
|
|
15
|
+
- Expanded advisory pattern checks with quoted context and suggestions, preserving intentional exceptions without automatic rewrites or authorship scores.
|
|
16
|
+
- Added regression coverage for deliberate contrasts, technical vocabulary, punctuation, FAQs, uncertainty, and unchanged source copy.
|
|
17
|
+
|
|
18
|
+
## 1.8.0 — Copy Studio
|
|
19
|
+
|
|
20
|
+
- Added a first-party Copy Studio with project strategy, flexible page briefs, staged Claude writing guidance, and deterministic QA.
|
|
21
|
+
- Added reader starting-belief, desired-belief, switching-motivation, switching-ability, positioning, proof-bridge, voice-technique, CTA-ceiling, and revision contracts.
|
|
22
|
+
- Added optional evidence-controlled competitive-transition strategy without shipping private source files or proprietary matrices.
|
|
23
|
+
- Blocked contradictory audience assessments, unverified proof, unplanned claims, excessive CTA pressure, unsupported named comparisons, fabricated claims, and manipulative strategy settings.
|
|
24
|
+
- Integrated approved copy briefs into page production and fresh Copy Studio reports into release readiness.
|
|
25
|
+
- Updated the Claude and Codex project guides and added plain-language Copy Studio documentation.
|
|
26
|
+
|
|
5
27
|
## 1.7.0 — One-command npm installation
|
|
6
28
|
|
|
7
29
|
- Added the public `@archangel70/cosmo` npm distribution.
|
package/README.md
CHANGED
|
@@ -1,31 +1,45 @@
|
|
|
1
1
|
# Cosmo
|
|
2
2
|
|
|
3
|
-
Cosmo helps
|
|
3
|
+
Cosmo helps an AI coding assistant build a complete, original Astro website for you. You describe the business, answer questions, review the work, and approve important decisions. Cosmo organizes the project, checks the website, and remembers where you left off—even when you switch AI tools.
|
|
4
4
|
|
|
5
|
-
You do **not** need to know how to code
|
|
5
|
+
You do **not** need to know how to code. Cosmo supports Claude Code, Codex, and Google Antigravity.
|
|
6
6
|
|
|
7
|
-
Current version: **1.
|
|
7
|
+
Current version: **1.9.0**
|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## Quick install
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
If Node.js and your preferred AI coding assistant are already installed, open Terminal on a Mac or PowerShell on Windows and paste:
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
4. Open that folder in Claude Code.
|
|
17
|
-
5. Type `cosmo` and answer Claude's questions.
|
|
13
|
+
```bash
|
|
14
|
+
npm install --global @archangel70/cosmo
|
|
15
|
+
```
|
|
18
16
|
|
|
19
|
-
|
|
17
|
+
That command installs Cosmo for Claude, Codex, and Antigravity. You do not need GitHub access, a ZIP download, Git setup, a license key, or separate Cosmo installations.
|
|
20
18
|
|
|
21
|
-
|
|
19
|
+
Create an empty website folder, open it in your preferred assistant, and start Cosmo:
|
|
20
|
+
|
|
21
|
+
| Assistant | What to enter |
|
|
22
|
+
| --- | --- |
|
|
23
|
+
| Claude Code | `cosmo` |
|
|
24
|
+
| Codex | `$cosmo` |
|
|
25
|
+
| Google Antigravity | `/cosmo` |
|
|
26
|
+
|
|
27
|
+
If this is your first time using Node.js or an AI coding assistant, follow the steps below.
|
|
28
|
+
|
|
29
|
+
## First-time setup
|
|
30
|
+
|
|
31
|
+
The whole process is:
|
|
22
32
|
|
|
23
|
-
|
|
33
|
+
1. Install Node.js once.
|
|
34
|
+
2. Install Claude Code, Codex, or Google Antigravity.
|
|
35
|
+
3. Paste one command to install Cosmo.
|
|
36
|
+
4. Create an empty folder for your website.
|
|
37
|
+
5. Open that folder in your chosen assistant.
|
|
38
|
+
6. Start Cosmo and answer its questions in normal language.
|
|
24
39
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
- About 10 minutes for the first-time setup.
|
|
40
|
+
## Before you begin
|
|
41
|
+
|
|
42
|
+
You need a Mac or Windows computer, an internet connection, Node.js, and at least one supported AI coding assistant. Your AI provider may require its own account or paid plan; Cosmo itself has no account or license key.
|
|
29
43
|
|
|
30
44
|
## Step 1: install Node.js
|
|
31
45
|
|
|
@@ -39,22 +53,15 @@ Cosmo uses Node.js to build and preview websites. You do not need to learn Node.
|
|
|
39
53
|
|
|
40
54
|
Cosmo requires Node.js 22.12 or newer.
|
|
41
55
|
|
|
42
|
-
## Step 2:
|
|
43
|
-
|
|
44
|
-
### Easiest option: Claude Desktop
|
|
45
|
-
|
|
46
|
-
1. Download [Claude Desktop](https://claude.com/download) for macOS or Windows.
|
|
47
|
-
2. Install and open Claude.
|
|
48
|
-
3. Sign in.
|
|
49
|
-
4. Select the **Code** tab.
|
|
56
|
+
## Step 2: choose your AI coding assistant
|
|
50
57
|
|
|
51
|
-
|
|
58
|
+
Install at least one of these:
|
|
52
59
|
|
|
53
|
-
**
|
|
60
|
+
- **Claude Code:** use [Claude Desktop](https://claude.com/download) and select its Code area, or follow the [Claude Code installation guide](https://code.claude.com/docs/en/installation).
|
|
61
|
+
- **Codex:** install and sign in to the Codex desktop app, IDE extension, or command-line version using the [official Codex documentation](https://developers.openai.com/codex/).
|
|
62
|
+
- **Google Antigravity:** install and sign in using the [official Antigravity introduction](https://codelabs.developers.google.com/getting-started-agy-ide).
|
|
54
63
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
If you already use Claude Code from a terminal, keep using it. If you need to install it, follow Anthropic's [official installation guide](https://code.claude.com/docs/en/installation).
|
|
64
|
+
Use whichever assistant and plan suit you. You can change assistants later without restarting the website.
|
|
58
65
|
|
|
59
66
|
## Step 3: install Cosmo
|
|
60
67
|
|
|
@@ -75,7 +82,7 @@ This is the only part of the beginner setup that uses a terminal. It is one inst
|
|
|
75
82
|
cosmo --version
|
|
76
83
|
```
|
|
77
84
|
|
|
78
|
-
You should see `1.
|
|
85
|
+
You should see `1.9.0` or a newer version. Cosmo automatically installs its Claude, Codex, and Antigravity launchers.
|
|
79
86
|
|
|
80
87
|
### On Windows
|
|
81
88
|
|
|
@@ -92,7 +99,7 @@ You should see `1.7.0` or a newer version. Cosmo automatically installs its Clau
|
|
|
92
99
|
cosmo --version
|
|
93
100
|
```
|
|
94
101
|
|
|
95
|
-
You should see `1.
|
|
102
|
+
You should see `1.9.0` or a newer version. Cosmo automatically installs its Claude, Codex, and Antigravity launchers.
|
|
96
103
|
|
|
97
104
|
## Step 4: create your website folder
|
|
98
105
|
|
|
@@ -101,64 +108,49 @@ You should see `1.7.0` or a newer version. Cosmo automatically installs its Clau
|
|
|
101
108
|
3. Give it a simple name, such as `smith-plumbing-website`.
|
|
102
109
|
4. Leave the folder empty. Cosmo will place the website files inside it.
|
|
103
110
|
|
|
104
|
-
## Step 5: open the folder in
|
|
105
|
-
|
|
106
|
-
In Claude Desktop:
|
|
107
|
-
|
|
108
|
-
1. Open the **Code** tab.
|
|
109
|
-
2. Choose **Local** as the environment.
|
|
110
|
-
3. Select **Choose folder** or **Select folder**.
|
|
111
|
-
4. Select the empty website folder you just created.
|
|
112
|
-
5. Start the session.
|
|
113
|
-
|
|
114
|
-
If you use Claude Code in a terminal instead, open the website folder in your terminal and run:
|
|
111
|
+
## Step 5: open the folder in your assistant
|
|
115
112
|
|
|
116
|
-
|
|
117
|
-
claude
|
|
118
|
-
```
|
|
113
|
+
Open Claude Code, Codex, or Antigravity and choose the empty website folder you created. If your assistant asks whether to work locally, choose the local option.
|
|
119
114
|
|
|
120
115
|
## Step 6: start Cosmo
|
|
121
116
|
|
|
122
|
-
|
|
117
|
+
Enter the instruction for your assistant:
|
|
123
118
|
|
|
124
|
-
|
|
125
|
-
cosmo
|
|
126
|
-
|
|
119
|
+
- Claude Code: `cosmo` (fallback: `/cosmo:cosmo`)
|
|
120
|
+
- Codex: `$cosmo` (or ask, “Use Cosmo to build this site.”)
|
|
121
|
+
- Google Antigravity: `/cosmo`
|
|
127
122
|
|
|
128
|
-
|
|
123
|
+
Your assistant will recognize the empty folder and begin the guided website process. It will ask about the business, audience, goals, pages, brand, content, proof, and visual direction.
|
|
129
124
|
|
|
130
125
|
Answer in normal language. You do not need to use special commands or technical terms. If you do not know an answer, say so. Cosmo should ask for clarification instead of inventing business facts.
|
|
131
126
|
|
|
132
|
-
If
|
|
133
|
-
|
|
134
|
-
```text
|
|
135
|
-
/cosmo:cosmo
|
|
136
|
-
```
|
|
127
|
+
If the assistant does not recognize Cosmo, close and reopen it, then run `cosmo setup` in Terminal or PowerShell and try again.
|
|
137
128
|
|
|
138
129
|
## What happens next
|
|
139
130
|
|
|
140
|
-
Cosmo and
|
|
131
|
+
Cosmo and your chosen assistant will guide you through these stages:
|
|
141
132
|
|
|
142
133
|
1. **Business questions** — what the business does, who it helps, and what the website should accomplish.
|
|
143
134
|
2. **Brand direction** — voice, personality, positioning, and approved business facts.
|
|
144
|
-
3. **
|
|
145
|
-
4. **
|
|
146
|
-
5. **
|
|
147
|
-
6. **
|
|
148
|
-
7. **
|
|
149
|
-
8. **
|
|
135
|
+
3. **Copy strategy** — what the reader believes now, the honest reason to choose the business, supporting proof, and the right next action.
|
|
136
|
+
4. **Website design** — several different visual directions before you choose one.
|
|
137
|
+
5. **Homepage** — the first complete page for your review.
|
|
138
|
+
6. **Page plan** — the remaining pages, their purpose, and how they connect.
|
|
139
|
+
7. **Website build** — the assistant writes each page from an approved Copy Studio brief and creates reusable design pieces.
|
|
140
|
+
8. **Quality checks** — Cosmo checks copy strategy, proof, links, content, mobile layouts, accessibility, and build errors.
|
|
141
|
+
9. **Release and deployment** — you approve the finished website and decide where it should be published.
|
|
150
142
|
|
|
151
143
|
Cosmo pauses at important decisions so you can review and approve them. It will not treat unfinished starter pages as a finished public website.
|
|
152
144
|
|
|
153
145
|
## Preview your website
|
|
154
146
|
|
|
155
|
-
Ask
|
|
147
|
+
Ask your assistant:
|
|
156
148
|
|
|
157
149
|
```text
|
|
158
150
|
Show me a preview of the website.
|
|
159
151
|
```
|
|
160
152
|
|
|
161
|
-
|
|
153
|
+
Your assistant can start the local preview and give you a link. The link usually looks like `http://localhost:4321`. Open it in your browser.
|
|
162
154
|
|
|
163
155
|
If you are working directly in a terminal, run this from the website folder:
|
|
164
156
|
|
|
@@ -172,10 +164,9 @@ Press Control+C in the terminal when you want to stop the preview.
|
|
|
172
164
|
|
|
173
165
|
Cosmo saves its progress inside the website folder. To continue another day:
|
|
174
166
|
|
|
175
|
-
1. Open Claude
|
|
176
|
-
2.
|
|
177
|
-
3.
|
|
178
|
-
4. Type `cosmo`.
|
|
167
|
+
1. Open Claude, Codex, or Antigravity.
|
|
168
|
+
2. Select the same website folder.
|
|
169
|
+
3. Start Cosmo using `cosmo`, `$cosmo`, or `/cosmo` as appropriate.
|
|
179
170
|
|
|
180
171
|
Cosmo will inspect the saved project and continue from the correct stage. You do not need the old conversation.
|
|
181
172
|
|
|
@@ -184,9 +175,9 @@ Cosmo will inspect the saved project and continue from the correct stage. You do
|
|
|
184
175
|
Cosmo can work with an existing Astro website without deleting its pages.
|
|
185
176
|
|
|
186
177
|
1. Make a backup or commit the existing website first.
|
|
187
|
-
2. Open the existing website folder in
|
|
188
|
-
3.
|
|
189
|
-
4.
|
|
178
|
+
2. Open the existing website folder in your chosen assistant.
|
|
179
|
+
3. Invoke Cosmo.
|
|
180
|
+
4. The assistant will identify the Astro project and ask whether you want Cosmo to adopt it.
|
|
190
181
|
5. Review the inventory before approving changes.
|
|
191
182
|
|
|
192
183
|
Cosmo will not automatically adopt an unrelated folder or overwrite a folder it does not recognize.
|
|
@@ -207,7 +198,7 @@ Updating Cosmo does not delete your website projects. Each website lives in its
|
|
|
207
198
|
Run these commands in Terminal or PowerShell:
|
|
208
199
|
|
|
209
200
|
```bash
|
|
210
|
-
cosmo
|
|
201
|
+
cosmo agent uninstall all
|
|
211
202
|
npm uninstall --global @archangel70/cosmo
|
|
212
203
|
```
|
|
213
204
|
|
|
@@ -217,22 +208,22 @@ npm uninstall --global @archangel70/cosmo
|
|
|
217
208
|
| --- | --- |
|
|
218
209
|
| `node` or `npm` is not recognized | Restart the terminal. If it still fails, reinstall the Node.js LTS version. |
|
|
219
210
|
| `cosmo` is not recognized | Restart the terminal, then repeat `npm install --global @archangel70/cosmo`. |
|
|
220
|
-
|
|
|
211
|
+
| Your assistant does not recognize Cosmo | Restart it, run `cosmo setup`, then use Claude's `/cosmo:cosmo`, Codex's `$cosmo`, or Antigravity's `/cosmo`. |
|
|
221
212
|
| You opened the wrong folder | Stop before approving changes, create or select the intended website folder, and start again there. |
|
|
222
|
-
| You do not know how to answer a question | Tell
|
|
213
|
+
| You do not know how to answer a question | Tell the assistant what you know and ask it to explain what information is missing. |
|
|
223
214
|
|
|
224
215
|
For additional problems, see [Troubleshooting](#troubleshooting).
|
|
225
216
|
|
|
226
217
|
## What Cosmo includes
|
|
227
218
|
|
|
228
|
-
-
|
|
219
|
+
- Conversational launchers for Claude, Codex, and Antigravity.
|
|
229
220
|
- A clean Astro website starter with no assumed business, location, or house style.
|
|
230
221
|
- Safe adoption of existing Astro websites.
|
|
231
|
-
- Guided business intake, brand discovery, visual direction, page planning, generation, QA, release, and deployment.
|
|
222
|
+
- Guided business intake, brand discovery, Copy Studio, visual direction, page planning, generation, QA, release, and deployment.
|
|
232
223
|
- Human approval steps for brand, design, homepage, templates, page plan, and final QA.
|
|
233
224
|
- Built-in research, authority, local-business, editorial, regulated-topic, audience, search, conversion, writing, brand-language, image-direction, and Claude Design capabilities.
|
|
234
225
|
- Checks for business facts, claims, proof, page purpose, links, accessibility, mobile layouts, and build quality.
|
|
235
|
-
- Saved project state so
|
|
226
|
+
- Saved project state so any supported agent can continue without relying on the old chat.
|
|
236
227
|
- Local previews plus Cloudflare Pages, SFTP, FTPS, and explicitly acknowledged FTP deployment.
|
|
237
228
|
- No license key, WordPress installation, hosted Cosmo account, or Cosmo cloud service.
|
|
238
229
|
|
|
@@ -242,17 +233,18 @@ For additional problems, see [Troubleshooting](#troubleshooting).
|
|
|
242
233
|
- [Profiles and capability packs](#intelligence-profiles-and-capability-packs)
|
|
243
234
|
- [Claude Design](#claude-design-and-unique-visual-direction)
|
|
244
235
|
- [Research](#research-workbench)
|
|
236
|
+
- [Copy Studio](#copy-studio)
|
|
245
237
|
- [Integrity and page planning](#integrity-evidence-and-page-planning)
|
|
246
238
|
- [Page generation](#resumable-page-generation)
|
|
247
239
|
- [Build and browser QA](#build-test-and-browser-qa)
|
|
248
240
|
- [Release readiness](#release-readiness)
|
|
249
241
|
- [Deployment](#preview-and-deployment)
|
|
250
|
-
- [
|
|
242
|
+
- [Cross-agent handoff](#cross-agent-handoff)
|
|
251
243
|
- [Command reference](#command-reference)
|
|
252
244
|
- [Troubleshooting](#troubleshooting)
|
|
253
245
|
- [Development](#development-and-contribution)
|
|
254
246
|
|
|
255
|
-
The rest of this README is a detailed reference. New users can stop here and let
|
|
247
|
+
The rest of this README is a detailed reference. New users can stop here and let their chosen assistant guide the build.
|
|
256
248
|
|
|
257
249
|
## How a Cosmo build progresses
|
|
258
250
|
|
|
@@ -379,6 +371,25 @@ cosmo design capture .
|
|
|
379
371
|
|
|
380
372
|
This allows unique sites without turning the starter or Cosmo's methodology into a house style.
|
|
381
373
|
|
|
374
|
+
## Copy Studio
|
|
375
|
+
|
|
376
|
+
Copy Studio gives Claude a page-specific creative brief instead of asking it to “write some website copy.” It records where the reader is starting, what the page must help them understand, the meaningful benefit and credible difference, approved claims and proof, the voice techniques to use, and how strong the call to action is allowed to be.
|
|
377
|
+
|
|
378
|
+
It can also help a reader truthfully reconsider a current category or solution. This is optional and tightly controlled: named comparisons require verified evidence, and Cosmo blocks fabricated dissatisfaction, manipulative pressure, and unsupported attacks.
|
|
379
|
+
|
|
380
|
+
When you invoke Cosmo, your assistant handles Copy Studio conversationally. Advanced users can run:
|
|
381
|
+
|
|
382
|
+
```bash
|
|
383
|
+
cosmo copy init .
|
|
384
|
+
cosmo copy brief --all .
|
|
385
|
+
cosmo copy guide home .
|
|
386
|
+
cosmo copy check .
|
|
387
|
+
```
|
|
388
|
+
|
|
389
|
+
The writing guide separates drafting from evidence checking, editing, and reader review. Page sections remain flexible, so Copy Studio does not force every website into a single house formula. See [Copy Studio](docs/COPY-STUDIO.md).
|
|
390
|
+
|
|
391
|
+
Its contextual editorial review helps remove filler without flattening the brand voice. The optional editorial-naturalness checks quote suspect passages and suggest minimal edits; they never automatically rewrite copy or claim to detect AI authorship. Evidence, useful positioning contrasts, technical precision, and intentional voice take priority over style preferences.
|
|
392
|
+
|
|
382
393
|
## Research workbench
|
|
383
394
|
|
|
384
395
|
Research-capable profiles use a provider-neutral workbench. A browser, Claude, Codex, or another approved provider can collect material; Cosmo records attribution, dates, immutable snapshots, hashes, findings, limitations, and downstream page decisions.
|
|
@@ -560,7 +571,7 @@ cosmo deploy history .
|
|
|
560
571
|
|
|
561
572
|
Production deployment accepts only the exact source represented by the recorded READY release. See [deployment](docs/DEPLOYMENT.md) for every provider and credential option.
|
|
562
573
|
|
|
563
|
-
##
|
|
574
|
+
## Cross-agent handoff
|
|
564
575
|
|
|
565
576
|
Create a durable handoff before changing tools or operators:
|
|
566
577
|
|
|
@@ -573,7 +584,8 @@ cosmo handoff create . \
|
|
|
573
584
|
cosmo handoff show .
|
|
574
585
|
```
|
|
575
586
|
|
|
576
|
-
This writes `HANDOFF.md` and `.cosmo/handoff.json`, capturing workflow, generation, plan, QA, release, deployment, and the next action. Generated projects also include `CLAUDE.md
|
|
587
|
+
This writes `HANDOFF.md` and `.cosmo/handoff.json`, capturing workflow, generation, plan, QA, release, deployment, and the next action. Generated projects also include `CLAUDE.md`, `AGENTS.md`, and `.agents` adapters so supported tools work from the same contracts.
|
|
588
|
+
The same command works for any transition, such as `--from codex --to antigravity`. New projects also contain `.agents` skills, rules, and workflows so each supported tool can recover the same process.
|
|
577
589
|
|
|
578
590
|
## Command reference
|
|
579
591
|
|
|
@@ -583,10 +595,14 @@ Run `cosmo help` for the installed version's canonical syntax.
|
|
|
583
595
|
|
|
584
596
|
| Command | Purpose |
|
|
585
597
|
| --- | --- |
|
|
586
|
-
| `cosmo setup` | Install or repair
|
|
598
|
+
| `cosmo setup [--agent name]` | Install or repair all launchers, or only Claude, Codex, or Antigravity. |
|
|
599
|
+
| `cosmo agent list` | Show supported agents and whether each adapter is ready. |
|
|
600
|
+
| `cosmo agent install <name|all> [--replace]` | Install or update one or every agent adapter. |
|
|
601
|
+
| `cosmo agent status [name|all]` | Show adapter locations and start instructions. |
|
|
602
|
+
| `cosmo agent uninstall <name|all>` | Remove adapters without deleting Cosmo or website projects. |
|
|
587
603
|
| `cosmo init [directory] [options]` | Create a Cosmo Astro project in an empty directory. |
|
|
588
604
|
| `cosmo adopt [directory] [options]` | Add Cosmo governance to an existing Astro project without replacing its source. |
|
|
589
|
-
| `cosmo claude install [--replace]` |
|
|
605
|
+
| `cosmo claude install [--replace]` | Backward-compatible shortcut for the Claude launcher. |
|
|
590
606
|
| `cosmo claude status` | Show Claude launcher installation state. |
|
|
591
607
|
| `cosmo claude uninstall` | Remove the Claude Code launcher without removing the CLI. |
|
|
592
608
|
| `cosmo doctor [directory] [--json]` | Diagnose Node, npm, dependencies, Chrome, project access, and deployment state. |
|
|
@@ -609,6 +625,11 @@ Common `init` and `adopt` options are `--name`, `--brand`, `--site`, and `--prof
|
|
|
609
625
|
| `cosmo research init [directory] [--replace]` | Create the research workbench. |
|
|
610
626
|
| `cosmo research capture <id> <snapshot> [directory] [options]` | Store an attributed, SHA256-bound research snapshot. |
|
|
611
627
|
| `cosmo research check [directory]` | Validate research tasks, sources, findings, and candidates. |
|
|
628
|
+
| `cosmo copy init [directory] [--replace]` | Create or intentionally reset the project copy strategy. |
|
|
629
|
+
| `cosmo copy brief <page-id> [directory] [--replace]` | Create one page-specific annotated copy brief. |
|
|
630
|
+
| `cosmo copy brief --all [directory] [--replace]` | Create briefs for every planned page. |
|
|
631
|
+
| `cosmo copy guide <page-id> [directory]` | Print the approved staged writing guide for a page. |
|
|
632
|
+
| `cosmo copy check [directory]` | Validate strategy, briefs, claims, proof, comparisons, and CTA limits. |
|
|
612
633
|
|
|
613
634
|
Additional intake options include `--location`, `--pages`, `--language`, `--design-mode`, and `--replace`. Research capture requires `--kind` and `--location`; it accepts `--captured-at` and `--replace`.
|
|
614
635
|
|
|
@@ -676,13 +697,14 @@ Browser options are `--no-build` and `--no-lighthouse`. Remote deployment accept
|
|
|
676
697
|
| `.cosmo/project.json` | Project identity, stage, design mode, and local metadata. |
|
|
677
698
|
| `.cosmo/intake.json` | Structured build intake. |
|
|
678
699
|
| `.cosmo/brand/` | Discovery, Entity Canon, and voice profile. |
|
|
700
|
+
| `.cosmo/copy/strategy.json` | Approved reader, positioning, voice, proof, and competitive-transition strategy. |
|
|
679
701
|
| `.cosmo/evidence.json` | Central claim and proof ledger. |
|
|
680
702
|
| `.cosmo/intelligence/` | Active packs, artifacts, and private-package locks. |
|
|
681
703
|
| `.cosmo/build-plan.json` | Typed page architecture and link graph. |
|
|
682
|
-
| `.cosmo/work/pages/` | Per-page briefs and production artifacts. |
|
|
704
|
+
| `.cosmo/work/pages/` | Per-page integrity briefs, Copy Studio briefs, and production artifacts. |
|
|
683
705
|
| `.cosmo/workflow-state.json` | Resumable stage state. |
|
|
684
706
|
| `.cosmo/progress.json` | Resumable generation state. |
|
|
685
|
-
| `.cosmo/reports/` |
|
|
707
|
+
| `.cosmo/reports/` | Copy, integrity, static, content, intelligence, browser, and delivery evidence. |
|
|
686
708
|
| `.cosmo/deploy/` | Credential-free configuration, manifests, and history. |
|
|
687
709
|
| `BRAND-BRIEF.md` | Human-readable approved brand direction. |
|
|
688
710
|
| `DESIGN-DIRECTION.md` | Approved visual rationale and implementation rules. |
|
|
@@ -702,9 +724,9 @@ node /absolute/path/to/Cosmo/packages/cli/bin/cosmo.mjs --version
|
|
|
702
724
|
npm link --workspace @cosmo/cli
|
|
703
725
|
```
|
|
704
726
|
|
|
705
|
-
###
|
|
727
|
+
### The assistant does not recognize Cosmo
|
|
706
728
|
|
|
707
|
-
Restart
|
|
729
|
+
Restart the assistant after installation and run `cosmo agent status all`. Repair every adapter with `cosmo setup`, or one with `cosmo setup --agent claude`, `codex`, or `antigravity`. Then use `/cosmo:cosmo` in Claude, `$cosmo` in Codex, or `/cosmo` in Antigravity.
|
|
708
730
|
|
|
709
731
|
### Doctor reports missing dependencies
|
|
710
732
|
|
|
@@ -774,8 +796,10 @@ The neutral starter lives in `templates/astro-site`. Production-pipeline fixture
|
|
|
774
796
|
## Further documentation
|
|
775
797
|
|
|
776
798
|
- [Architecture](docs/ARCHITECTURE.md)
|
|
799
|
+
- [Multi-agent setup](docs/MULTI-AGENT.md)
|
|
777
800
|
- [Claude Code launcher](docs/CLAUDE-LAUNCHER.md)
|
|
778
801
|
- [Brand discovery](docs/BRAND-DISCOVERY.md)
|
|
802
|
+
- [Copy Studio](docs/COPY-STUDIO.md)
|
|
779
803
|
- [First-party capabilities](docs/FIRST-PARTY-CAPABILITIES.md)
|
|
780
804
|
- [Intelligence packs](docs/INTELLIGENCE-PACKS.md)
|
|
781
805
|
- [Integrity foundation](docs/INTEGRITY.md)
|
package/docs/AGENT-HANDOFF.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Cross-agent handoff
|
|
2
2
|
|
|
3
|
-
Cosmo supports
|
|
3
|
+
Cosmo supports work across Claude, Codex, Google Antigravity, other capable coding agents, and human operators without requiring the next participant to have the earlier conversation. The repository carries approved intent, current progress, and verification evidence.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Before changing agents
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
The current agent reads its adapter guidance, the active intelligence selection and pack manifests, and the current Cosmo workflow. Claude Design may explore outside the starter's aesthetic when available, but another design authority may satisfy the same contract. The implemented direction remains local Astro components, CSS tokens, and `DESIGN-DIRECTION.md`.
|
|
8
8
|
|
|
9
|
-
Before leaving the project,
|
|
9
|
+
Before leaving the project, the current agent should complete the applicable checks and create a handoff:
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
12
|
cosmo check .
|
|
@@ -14,9 +14,9 @@ cosmo browser check .
|
|
|
14
14
|
cosmo handoff create . --from claude --to codex --note "What changed, what was approved, and any unresolved judgment calls"
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
##
|
|
17
|
+
## In the receiving agent
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
The receiving agent reads `AGENTS.md`, its `.agents` skill or workflow when supported, and `HANDOFF.md`, then verifies the summary against repository artifacts. The handoff records:
|
|
20
20
|
|
|
21
21
|
- Project identity and current stage.
|
|
22
22
|
- Active or completed workflow state.
|
|
@@ -41,4 +41,4 @@ Creating a later handoff safely replaces the current summary while the activity
|
|
|
41
41
|
|
|
42
42
|
## Acceptance pilot
|
|
43
43
|
|
|
44
|
-
The v0.5 acceptance run initialized a project into an empty temporary directory and confirmed that no reports, progress, activity, design capture, or other starter runtime state crossed the boundary. It then completed intake, brand, design capture, homepage approval, template approval, plan approval, all five generation checkpoints, static QA, rendered QA, final approval, and a
|
|
44
|
+
The v0.5 acceptance run initialized a project into an empty temporary directory and confirmed that no reports, progress, activity, design capture, or other starter runtime state crossed the boundary. It then completed intake, brand, design capture, homepage approval, template approval, plan approval, all five generation checkpoints, static QA, rendered QA, final approval, and a cross-agent handoff from the installed generated project.
|
package/docs/ARCHITECTURE.md
CHANGED
|
@@ -38,7 +38,7 @@ The approved `.cosmo/build-plan.json` is the executable inventory. Version 3 dec
|
|
|
38
38
|
|
|
39
39
|
## Optional intelligence
|
|
40
40
|
|
|
41
|
-
Capability Registry v2 separates the lean core from selected intelligence packs. Profiles are named pack compositions, not alternate build engines. Each selected pack is copied into the repository with its discovery questions,
|
|
41
|
+
Capability Registry v2 separates the lean core from selected intelligence packs. Profiles are named pack compositions, not alternate build engines. Each selected pack is copied into the repository with its discovery questions, agent or role guidance, active capability, required artifact, and workflow stage. Stage submission and direct generation both enforce those artifacts. Intelligence QA then evaluates whether the finished plan, evidence, content, imagery, research, and design implementation actually honor the selected contracts. See `docs/INTELLIGENCE-PACKS.md` for the built-in packs and their specialized checks.
|
|
42
42
|
|
|
43
43
|
## Claude Design handoff
|
|
44
44
|
|
|
@@ -47,11 +47,11 @@ Capability Registry v2 separates the lean core from selected intelligence packs.
|
|
|
47
47
|
3. Claude Code implements the selected direction in Astro.
|
|
48
48
|
4. The approved implementation updates `DESIGN-DIRECTION.md`, `src/styles/tokens.css`, and shared components.
|
|
49
49
|
5. `cosmo design capture` inventories the repository-owned design system and advances local project state.
|
|
50
|
-
6. Later
|
|
50
|
+
6. Later agents continue from those local artifacts.
|
|
51
51
|
|
|
52
52
|
## Agent continuity
|
|
53
53
|
|
|
54
|
-
Generated repositories include tool-specific guidance without making
|
|
54
|
+
Generated repositories include tool-specific guidance without making any agent a runtime dependency. `CLAUDE.md` supports Claude-specific work, `AGENTS.md` gives Codex and other agents the cross-agent contract, and `.agents` contains shared skills plus Antigravity rules and workflows.
|
|
55
55
|
|
|
56
56
|
`cosmo handoff create` snapshots local project, workflow, generation, plan, and QA status into `.cosmo/handoff.json` and renders `HANDOFF.md` for the receiving agent. It records a handoff event but never treats the summary as a substitute for the underlying approved artifacts.
|
|
57
57
|
|
package/docs/CONTENT-QA.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Cosmo Content QA
|
|
2
2
|
|
|
3
|
+
Content QA evaluates the finished pages. Copy strategy and pre-draft contracts are checked separately with `cosmo copy check .`; both reports are required when Copy Studio is enabled. See [Copy Studio](COPY-STUDIO.md).
|
|
4
|
+
|
|
3
5
|
Cosmo content QA is a transparent rule engine. It reports named findings and fixes; it does not manufacture a universal content score or claim to predict rankings.
|
|
4
6
|
|
|
5
7
|
Run it with:
|