@archangel70/cosmo 1.7.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 +31 -0
- package/README.md +792 -0
- package/SECURITY.md +15 -0
- package/docs/AGENT-HANDOFF.md +44 -0
- package/docs/ARCHITECTURE-INTELLIGENCE.md +64 -0
- package/docs/ARCHITECTURE.md +97 -0
- package/docs/BRAND-DISCOVERY.md +12 -0
- package/docs/BROWSER-QA.md +40 -0
- package/docs/CLAUDE-LAUNCHER.md +72 -0
- package/docs/CONTENT-QA.md +62 -0
- package/docs/DELIVERY.md +40 -0
- package/docs/DEPLOYMENT.md +119 -0
- package/docs/FIRST-PARTY-CAPABILITIES.md +54 -0
- package/docs/GENERATION.md +81 -0
- package/docs/INTEGRITY.md +75 -0
- package/docs/INTELLIGENCE-PACKS.md +122 -0
- package/docs/OPERATIONS.md +7 -0
- package/docs/PAGE-PRODUCTION.md +81 -0
- package/docs/ROADMAP.md +184 -0
- package/docs/WORKFLOWS.md +71 -0
- package/package.json +97 -0
- package/packages/cli/bin/cosmo.mjs +901 -0
- package/packages/cli/lib/adoption.mjs +72 -0
- package/packages/cli/lib/audit.mjs +145 -0
- package/packages/cli/lib/brand.mjs +60 -0
- package/packages/cli/lib/browser-audit.mjs +177 -0
- package/packages/cli/lib/claude-plugin.mjs +64 -0
- package/packages/cli/lib/content-audit.mjs +184 -0
- package/packages/cli/lib/delivery.mjs +140 -0
- package/packages/cli/lib/deployment.mjs +211 -0
- package/packages/cli/lib/doctor.mjs +42 -0
- package/packages/cli/lib/file-transfer.mjs +143 -0
- package/packages/cli/lib/generation.mjs +319 -0
- package/packages/cli/lib/handoff.mjs +109 -0
- package/packages/cli/lib/integrity.mjs +315 -0
- package/packages/cli/lib/intelligence-audit.mjs +445 -0
- package/packages/cli/lib/intelligence.mjs +331 -0
- package/packages/cli/lib/page-work.mjs +154 -0
- package/packages/cli/lib/plan.mjs +229 -0
- package/packages/cli/lib/process.mjs +45 -0
- package/packages/cli/lib/project.mjs +113 -0
- package/packages/cli/lib/research.mjs +85 -0
- package/packages/cli/lib/status.mjs +46 -0
- package/packages/cli/lib/workflow.mjs +294 -0
- package/plugins/claude-code/cosmo/.claude-plugin/plugin.json +10 -0
- package/plugins/claude-code/cosmo/README.md +25 -0
- package/plugins/claude-code/cosmo/bin/cosmo +11 -0
- package/plugins/claude-code/cosmo/skills/cosmo/SKILL.md +122 -0
- package/plugins/claude-code/cosmo/skills/cosmo-help/SKILL.md +16 -0
- package/scripts/postinstall.mjs +14 -0
- package/templates/astro-site/.cosmo/brand/discovery.json +19 -0
- package/templates/astro-site/.cosmo/brand/entity-canon.json +20 -0
- package/templates/astro-site/.cosmo/brand/voice-profile.json +16 -0
- package/templates/astro-site/.cosmo/build-plan.json +75 -0
- package/templates/astro-site/.cosmo/capabilities/registry.json +21 -0
- package/templates/astro-site/.cosmo/evidence.json +11 -0
- package/templates/astro-site/.cosmo/intelligence/selection.json +5 -0
- package/templates/astro-site/.cosmo/policies/content-integrity.json +22 -0
- package/templates/astro-site/.cosmo/project.json +10 -0
- package/templates/astro-site/.cosmo/work/pages/about/brief.json +49 -0
- package/templates/astro-site/.cosmo/work/pages/home/brief.json +51 -0
- package/templates/astro-site/.cosmo/workflows/default.json +146 -0
- package/templates/astro-site/.env.example +7 -0
- package/templates/astro-site/AGENTS.md +26 -0
- package/templates/astro-site/CLAUDE.md +28 -0
- package/templates/astro-site/DESIGN-DIRECTION.md +9 -0
- package/templates/astro-site/README.md +17 -0
- package/templates/astro-site/astro.config.mjs +16 -0
- package/templates/astro-site/cosmo.config.mjs +12 -0
- package/templates/astro-site/gitignore.template +9 -0
- package/templates/astro-site/package.json +23 -0
- package/templates/astro-site/public/favicon.svg +5 -0
- package/templates/astro-site/src/components/PageView.astro +20 -0
- package/templates/astro-site/src/components/sections/Action.astro +24 -0
- package/templates/astro-site/src/components/sections/Evidence.astro +19 -0
- package/templates/astro-site/src/components/sections/Hero.astro +41 -0
- package/templates/astro-site/src/components/sections/Problem.astro +19 -0
- package/templates/astro-site/src/components/sections/Proof.astro +15 -0
- package/templates/astro-site/src/components/sections/SectionRenderer.astro +22 -0
- package/templates/astro-site/src/components/sections/Solution.astro +19 -0
- package/templates/astro-site/src/components/seo/SeoHead.astro +41 -0
- package/templates/astro-site/src/content/pages/about.md +52 -0
- package/templates/astro-site/src/content/pages/home.md +48 -0
- package/templates/astro-site/src/content.config.ts +133 -0
- package/templates/astro-site/src/env.d.ts +1 -0
- package/templates/astro-site/src/layouts/BaseLayout.astro +57 -0
- package/templates/astro-site/src/pages/[...slug].astro +22 -0
- package/templates/astro-site/src/pages/index.astro +9 -0
- package/templates/astro-site/src/pages/robots.txt.ts +6 -0
- package/templates/astro-site/src/styles/global.css +540 -0
- package/templates/astro-site/src/styles/tokens.css +27 -0
- package/templates/astro-site/tsconfig.json +9 -0
package/README.md
ADDED
|
@@ -0,0 +1,792 @@
|
|
|
1
|
+
# Cosmo
|
|
2
|
+
|
|
3
|
+
Cosmo helps Claude build a complete, original website for you. You describe the business, answer questions, review the work, and approve important decisions. Cosmo keeps the project organized, checks the website, and remembers where you left off.
|
|
4
|
+
|
|
5
|
+
You do **not** need to know how to code to use the guided Claude experience.
|
|
6
|
+
|
|
7
|
+
Current version: **1.7.0**
|
|
8
|
+
|
|
9
|
+
## Start here
|
|
10
|
+
|
|
11
|
+
The easiest way to use Cosmo is:
|
|
12
|
+
|
|
13
|
+
1. Install Node.js and Claude once.
|
|
14
|
+
2. Paste one command to install Cosmo.
|
|
15
|
+
3. Create an empty folder for your website.
|
|
16
|
+
4. Open that folder in Claude Code.
|
|
17
|
+
5. Type `cosmo` and answer Claude's questions.
|
|
18
|
+
|
|
19
|
+
The instructions below explain every step for macOS and Windows.
|
|
20
|
+
|
|
21
|
+
## Before you begin
|
|
22
|
+
|
|
23
|
+
You need:
|
|
24
|
+
|
|
25
|
+
- A Mac or Windows computer.
|
|
26
|
+
- A paid Claude plan that includes Claude Code.
|
|
27
|
+
- An internet connection.
|
|
28
|
+
- About 10 minutes for the first-time setup.
|
|
29
|
+
|
|
30
|
+
## Step 1: install Node.js
|
|
31
|
+
|
|
32
|
+
Cosmo uses Node.js to build and preview websites. You do not need to learn Node.js; it only needs to be installed.
|
|
33
|
+
|
|
34
|
+
1. Open the official [Node.js download page](https://nodejs.org/en/download).
|
|
35
|
+
2. Download the **LTS** version for your computer.
|
|
36
|
+
3. Open the downloaded installer.
|
|
37
|
+
4. Accept the normal installation choices.
|
|
38
|
+
5. Finish the installation.
|
|
39
|
+
|
|
40
|
+
Cosmo requires Node.js 22.12 or newer.
|
|
41
|
+
|
|
42
|
+
## Step 2: install Claude Code
|
|
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.
|
|
50
|
+
|
|
51
|
+
Claude Code requires a Pro, Max, Team, or Enterprise plan. Anthropic's [Claude Code desktop guide](https://code.claude.com/docs/en/desktop-quickstart) has screenshots and additional help.
|
|
52
|
+
|
|
53
|
+
**Windows only:** install [Git for Windows](https://git-scm.com/download/win) before starting a Local Code session.
|
|
54
|
+
|
|
55
|
+
### Terminal option
|
|
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).
|
|
58
|
+
|
|
59
|
+
## Step 3: install Cosmo
|
|
60
|
+
|
|
61
|
+
This is the only part of the beginner setup that uses a terminal. It is one installation command.
|
|
62
|
+
|
|
63
|
+
### On a Mac
|
|
64
|
+
|
|
65
|
+
1. Open **Terminal**. You can find it with Spotlight Search.
|
|
66
|
+
2. Copy and paste this command, then press Return:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
npm install --global @archangel70/cosmo
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
3. Confirm that Cosmo is installed:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
cosmo --version
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
You should see `1.7.0` or a newer version. Cosmo automatically installs its Claude launcher as part of the npm installation.
|
|
79
|
+
|
|
80
|
+
### On Windows
|
|
81
|
+
|
|
82
|
+
1. Open **Windows Terminal** or **PowerShell** from the Start menu.
|
|
83
|
+
2. Copy and paste this command, then press Enter:
|
|
84
|
+
|
|
85
|
+
```powershell
|
|
86
|
+
npm install --global @archangel70/cosmo
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
3. Confirm that Cosmo is installed:
|
|
90
|
+
|
|
91
|
+
```powershell
|
|
92
|
+
cosmo --version
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
You should see `1.7.0` or a newer version. Cosmo automatically installs its Claude launcher as part of the npm installation.
|
|
96
|
+
|
|
97
|
+
## Step 4: create your website folder
|
|
98
|
+
|
|
99
|
+
1. Open Documents in Finder or File Explorer.
|
|
100
|
+
2. Create a new folder for the website.
|
|
101
|
+
3. Give it a simple name, such as `smith-plumbing-website`.
|
|
102
|
+
4. Leave the folder empty. Cosmo will place the website files inside it.
|
|
103
|
+
|
|
104
|
+
## Step 5: open the folder in Claude
|
|
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:
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
claude
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
## Step 6: start Cosmo
|
|
121
|
+
|
|
122
|
+
In the Claude message box, type:
|
|
123
|
+
|
|
124
|
+
```text
|
|
125
|
+
cosmo
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
Claude 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
|
+
|
|
130
|
+
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
|
+
|
|
132
|
+
If typing `cosmo` does not start the process, type:
|
|
133
|
+
|
|
134
|
+
```text
|
|
135
|
+
/cosmo:cosmo
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
## What happens next
|
|
139
|
+
|
|
140
|
+
Cosmo and Claude will guide you through these stages:
|
|
141
|
+
|
|
142
|
+
1. **Business questions** — what the business does, who it helps, and what the website should accomplish.
|
|
143
|
+
2. **Brand direction** — voice, personality, positioning, and approved business facts.
|
|
144
|
+
3. **Website design** — several different visual directions before you choose one.
|
|
145
|
+
4. **Homepage** — the first complete page for your review.
|
|
146
|
+
5. **Page plan** — the remaining pages, their purpose, and how they connect.
|
|
147
|
+
6. **Website build** — Claude creates the pages and reusable design pieces.
|
|
148
|
+
7. **Quality checks** — Cosmo checks links, content, mobile layouts, accessibility, and build errors.
|
|
149
|
+
8. **Release and deployment** — you approve the finished website and decide where it should be published.
|
|
150
|
+
|
|
151
|
+
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
|
+
|
|
153
|
+
## Preview your website
|
|
154
|
+
|
|
155
|
+
Ask Claude:
|
|
156
|
+
|
|
157
|
+
```text
|
|
158
|
+
Show me a preview of the website.
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
Claude can start the local preview and give you a link. The link usually looks like `http://localhost:4321`. Open it in your browser.
|
|
162
|
+
|
|
163
|
+
If you are working directly in a terminal, run this from the website folder:
|
|
164
|
+
|
|
165
|
+
```bash
|
|
166
|
+
cosmo dev .
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
Press Control+C in the terminal when you want to stop the preview.
|
|
170
|
+
|
|
171
|
+
## Continue later
|
|
172
|
+
|
|
173
|
+
Cosmo saves its progress inside the website folder. To continue another day:
|
|
174
|
+
|
|
175
|
+
1. Open Claude Desktop.
|
|
176
|
+
2. Open the **Code** tab.
|
|
177
|
+
3. Select the same website folder.
|
|
178
|
+
4. Type `cosmo`.
|
|
179
|
+
|
|
180
|
+
Cosmo will inspect the saved project and continue from the correct stage. You do not need the old conversation.
|
|
181
|
+
|
|
182
|
+
## Use Cosmo with an existing website
|
|
183
|
+
|
|
184
|
+
Cosmo can work with an existing Astro website without deleting its pages.
|
|
185
|
+
|
|
186
|
+
1. Make a backup or commit the existing website first.
|
|
187
|
+
2. Open the existing website folder in Claude Code.
|
|
188
|
+
3. Type `cosmo`.
|
|
189
|
+
4. Claude will identify the Astro project and ask whether you want Cosmo to adopt it.
|
|
190
|
+
5. Review the inventory before approving changes.
|
|
191
|
+
|
|
192
|
+
Cosmo will not automatically adopt an unrelated folder or overwrite a folder it does not recognize.
|
|
193
|
+
|
|
194
|
+
## Update Cosmo
|
|
195
|
+
|
|
196
|
+
When a new version is announced, open Terminal or PowerShell and run:
|
|
197
|
+
|
|
198
|
+
```bash
|
|
199
|
+
npm install --global @archangel70/cosmo@latest
|
|
200
|
+
cosmo --version
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
Updating Cosmo does not delete your website projects. Each website lives in its own folder.
|
|
204
|
+
|
|
205
|
+
## Remove Cosmo
|
|
206
|
+
|
|
207
|
+
Run these commands in Terminal or PowerShell:
|
|
208
|
+
|
|
209
|
+
```bash
|
|
210
|
+
cosmo claude uninstall
|
|
211
|
+
npm uninstall --global @archangel70/cosmo
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
## Quick help
|
|
215
|
+
|
|
216
|
+
| Problem | What to do |
|
|
217
|
+
| --- | --- |
|
|
218
|
+
| `node` or `npm` is not recognized | Restart the terminal. If it still fails, reinstall the Node.js LTS version. |
|
|
219
|
+
| `cosmo` is not recognized | Restart the terminal, then repeat `npm install --global @archangel70/cosmo`. |
|
|
220
|
+
| Claude ignores `cosmo` | Restart Claude, run `cosmo setup`, and try `/cosmo:cosmo`. |
|
|
221
|
+
| 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 Claude what you know and ask it to explain what information is missing. |
|
|
223
|
+
|
|
224
|
+
For additional problems, see [Troubleshooting](#troubleshooting).
|
|
225
|
+
|
|
226
|
+
## What Cosmo includes
|
|
227
|
+
|
|
228
|
+
- A conversational Claude launcher: open a folder and type `cosmo` to start or resume.
|
|
229
|
+
- A clean Astro website starter with no assumed business, location, or house style.
|
|
230
|
+
- Safe adoption of existing Astro websites.
|
|
231
|
+
- Guided business intake, brand discovery, visual direction, page planning, generation, QA, release, and deployment.
|
|
232
|
+
- Human approval steps for brand, design, homepage, templates, page plan, and final QA.
|
|
233
|
+
- Built-in research, authority, local-business, editorial, regulated-topic, audience, search, conversion, writing, brand-language, image-direction, and Claude Design capabilities.
|
|
234
|
+
- Checks for business facts, claims, proof, page purpose, links, accessibility, mobile layouts, and build quality.
|
|
235
|
+
- Saved project state so Claude or Codex can continue without relying on the old chat.
|
|
236
|
+
- Local previews plus Cloudflare Pages, SFTP, FTPS, and explicitly acknowledged FTP deployment.
|
|
237
|
+
- No license key, WordPress installation, hosted Cosmo account, or Cosmo cloud service.
|
|
238
|
+
|
|
239
|
+
## Contents for advanced users
|
|
240
|
+
|
|
241
|
+
- [How a Cosmo build progresses](#how-a-cosmo-build-progresses)
|
|
242
|
+
- [Profiles and capability packs](#intelligence-profiles-and-capability-packs)
|
|
243
|
+
- [Claude Design](#claude-design-and-unique-visual-direction)
|
|
244
|
+
- [Research](#research-workbench)
|
|
245
|
+
- [Integrity and page planning](#integrity-evidence-and-page-planning)
|
|
246
|
+
- [Page generation](#resumable-page-generation)
|
|
247
|
+
- [Build and browser QA](#build-test-and-browser-qa)
|
|
248
|
+
- [Release readiness](#release-readiness)
|
|
249
|
+
- [Deployment](#preview-and-deployment)
|
|
250
|
+
- [Claude-to-Codex handoff](#claude-to-codex-handoff)
|
|
251
|
+
- [Command reference](#command-reference)
|
|
252
|
+
- [Troubleshooting](#troubleshooting)
|
|
253
|
+
- [Development](#development-and-contribution)
|
|
254
|
+
|
|
255
|
+
The rest of this README is a detailed reference. New users can stop here and let Claude guide the build.
|
|
256
|
+
|
|
257
|
+
## How a Cosmo build progresses
|
|
258
|
+
|
|
259
|
+
| Stage | Outcome | Human approval |
|
|
260
|
+
| --- | --- | --- |
|
|
261
|
+
| Intake | Business, audience, goal, scope, and design mode | Automatic after validation |
|
|
262
|
+
| Brand | Discovery, brand brief, entity canon, voice, and evidence ledger | Required |
|
|
263
|
+
| Design | Explored direction, tokens, components, and captured manifest | Required |
|
|
264
|
+
| Homepage | Approved homepage content and implementation | Required |
|
|
265
|
+
| Template | Typed content model and reusable rendering system | Required |
|
|
266
|
+
| Plan | Validated page inventory, intent, evidence, and link graph | Required |
|
|
267
|
+
| Generate | Resumable page-production queue | Automatic after completion |
|
|
268
|
+
| QA | Fresh passing integrity, content, static, intelligence, and browser reports | Required |
|
|
269
|
+
| Release | One source-bound readiness decision and release ID | Deterministic check |
|
|
270
|
+
| Deploy | Preview or exact READY production release | Operator initiated |
|
|
271
|
+
|
|
272
|
+
The repository is the source of truth. `cosmo workflow resume .` reconstructs the current stage and next action from local files, even when a different AI agent continues the work.
|
|
273
|
+
|
|
274
|
+
## Intake and brand discovery
|
|
275
|
+
|
|
276
|
+
Create structured intake:
|
|
277
|
+
|
|
278
|
+
```bash
|
|
279
|
+
cosmo intake . \
|
|
280
|
+
--niche "Residential architecture" \
|
|
281
|
+
--audience "Homeowners planning a custom home" \
|
|
282
|
+
--goal "Generate qualified consultations" \
|
|
283
|
+
--location "Verified service region" \
|
|
284
|
+
--pages 12 \
|
|
285
|
+
--design-mode hybrid
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
Create and complete guided brand discovery:
|
|
289
|
+
|
|
290
|
+
```bash
|
|
291
|
+
cosmo brand discover .
|
|
292
|
+
cosmo brand check .
|
|
293
|
+
```
|
|
294
|
+
|
|
295
|
+
Discovery lives in `.cosmo/brand/discovery.json`. Complete it from supplied facts and approved synthesis, then set its approval only after the project owner explicitly approves it. Cosmo does not invent credentials, locations, customer knowledge, proof, results, or authority.
|
|
296
|
+
|
|
297
|
+
Advance the workflow through its gates:
|
|
298
|
+
|
|
299
|
+
```bash
|
|
300
|
+
cosmo workflow show .
|
|
301
|
+
cosmo workflow submit intake .
|
|
302
|
+
cosmo workflow submit brand .
|
|
303
|
+
cosmo workflow approve brand . --by "Project owner"
|
|
304
|
+
cosmo workflow resume .
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
Submission validates required files and selected capability artifacts. Approval is a separate, named human action.
|
|
308
|
+
|
|
309
|
+
## Intelligence profiles and capability packs
|
|
310
|
+
|
|
311
|
+
Profiles select a maintained group of first-party capability packs. They govern what must be researched, recorded, reviewed, and checked; they do not impose a universal visual style.
|
|
312
|
+
|
|
313
|
+
| Profile | Best suited to | Included packs |
|
|
314
|
+
| --- | --- | --- |
|
|
315
|
+
| `lean` | Smallest core contract surface | No optional packs |
|
|
316
|
+
| `authority-site` | Evidence-led authority site | Authority, research |
|
|
317
|
+
| `local-authority` | Defensible regional/local site | Authority, local, research |
|
|
318
|
+
| `editorial-research` | Publication or research-led site | Authority, editorial, research, image direction |
|
|
319
|
+
| `regulated-authority` | Higher-risk subject with named review | Authority, editorial, regulated, research |
|
|
320
|
+
| `design-led` | Independent art direction | Image direction, Claude Design |
|
|
321
|
+
| `growth-site` | General business and lead generation | Audience, differentiation, conversion, naturalness, branded language |
|
|
322
|
+
| `search-authority` | Search-informed authority/content site | Audience, authority, differentiation, research, search intelligence, naturalness |
|
|
323
|
+
| `brand-led` | Distinctive brand and design system | Audience, differentiation, branded language, image direction, Claude Design |
|
|
324
|
+
| `full-authority` | All available first-party gates | Every built-in pack |
|
|
325
|
+
|
|
326
|
+
Inspect and manage the selection:
|
|
327
|
+
|
|
328
|
+
```bash
|
|
329
|
+
cosmo intelligence list
|
|
330
|
+
cosmo intelligence show .
|
|
331
|
+
cosmo intelligence apply growth-site .
|
|
332
|
+
cosmo intelligence add image-direction .
|
|
333
|
+
cosmo intelligence remove image-direction .
|
|
334
|
+
cosmo intelligence scaffold .
|
|
335
|
+
cosmo intelligence guide brand .
|
|
336
|
+
cosmo intelligence check .
|
|
337
|
+
```
|
|
338
|
+
|
|
339
|
+
Built-in packs cover:
|
|
340
|
+
|
|
341
|
+
- `authority`
|
|
342
|
+
- `local`
|
|
343
|
+
- `editorial`
|
|
344
|
+
- `regulated`
|
|
345
|
+
- `research`
|
|
346
|
+
- `audience-intelligence`
|
|
347
|
+
- `differentiation`
|
|
348
|
+
- `search-intelligence`
|
|
349
|
+
- `conversion`
|
|
350
|
+
- `editorial-naturalness`
|
|
351
|
+
- `branded-language`
|
|
352
|
+
- `image-direction`
|
|
353
|
+
- `claude-design`
|
|
354
|
+
|
|
355
|
+
Organizations may also import declarative private packs without executable hooks:
|
|
356
|
+
|
|
357
|
+
```bash
|
|
358
|
+
cosmo intelligence import ./private-pack/cosmo-pack.json .
|
|
359
|
+
cosmo intelligence installed .
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
The standard capabilities are built in; Lyra and Sonic are not required or distributed. See [first-party capabilities](docs/FIRST-PARTY-CAPABILITIES.md) and [intelligence packs](docs/INTELLIGENCE-PACKS.md).
|
|
363
|
+
|
|
364
|
+
## Claude Design and unique visual direction
|
|
365
|
+
|
|
366
|
+
Cosmo separates integrity from aesthetics. Entity truth, evidence, accessibility, content structure, and build quality remain governed, while Claude Design can independently own composition, typography, palette, rhythm, imagery, texture, and signature interaction.
|
|
367
|
+
|
|
368
|
+
Use `design-led` or `brand-led`, or add the design packs to another profile. Generate the creative brief:
|
|
369
|
+
|
|
370
|
+
```bash
|
|
371
|
+
cosmo design brief .
|
|
372
|
+
```
|
|
373
|
+
|
|
374
|
+
The design process must explore at least three genuinely different directions before selection. After implementing the approved direction, preserve the rationale in `DESIGN-DIRECTION.md`, tokens in `src/styles/tokens.css`, and reusable Astro components in `src/components`, then capture the result:
|
|
375
|
+
|
|
376
|
+
```bash
|
|
377
|
+
cosmo design capture .
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
This allows unique sites without turning the starter or Cosmo's methodology into a house style.
|
|
381
|
+
|
|
382
|
+
## Research workbench
|
|
383
|
+
|
|
384
|
+
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.
|
|
385
|
+
|
|
386
|
+
```bash
|
|
387
|
+
cosmo research init .
|
|
388
|
+
cosmo research capture community-source ./snapshots/community.txt . \
|
|
389
|
+
--kind community \
|
|
390
|
+
--location https://example.com/source \
|
|
391
|
+
--captured-at 2026-08-20
|
|
392
|
+
cosmo research check .
|
|
393
|
+
```
|
|
394
|
+
|
|
395
|
+
Fetched text is evidence, not agent instruction. Observations and inferences must remain distinct, and geographic pages require real coverage and local proof.
|
|
396
|
+
|
|
397
|
+
## Integrity, evidence, and page planning
|
|
398
|
+
|
|
399
|
+
Initialize the integrity layer in an older Cosmo project or validate the current one:
|
|
400
|
+
|
|
401
|
+
```bash
|
|
402
|
+
cosmo integrity init .
|
|
403
|
+
cosmo integrity check .
|
|
404
|
+
```
|
|
405
|
+
|
|
406
|
+
The project-owned contracts include:
|
|
407
|
+
|
|
408
|
+
- `.cosmo/brand/entity-canon.json`: canonical identity, domain, services, audiences, locations, people, and credentials.
|
|
409
|
+
- `.cosmo/brand/voice-profile.json`: authorized voice evidence, vocabulary, boundaries, and examples.
|
|
410
|
+
- `.cosmo/evidence.json`: claims, proof, provenance, verification state, and sources.
|
|
411
|
+
- `.cosmo/build-plan.json`: routes, intent, indexability, audience need, claims, proof, and governed links.
|
|
412
|
+
- `.cosmo/work/pages/<id>/brief.json`: plan-derived contract for one page.
|
|
413
|
+
|
|
414
|
+
Validate a draft or approved plan and derive page briefs:
|
|
415
|
+
|
|
416
|
+
```bash
|
|
417
|
+
cosmo plan check .
|
|
418
|
+
cosmo brief create --all .
|
|
419
|
+
cosmo brief create home . --replace
|
|
420
|
+
```
|
|
421
|
+
|
|
422
|
+
A draft plan can be reviewed, but generation and plan approval require `approved: true`. Every indexable claim must resolve to appropriate verified proof. Unsupported pages can remain `noindex` while evidence is pending; Cosmo does not silently make them publishable.
|
|
423
|
+
|
|
424
|
+
## Resumable page generation
|
|
425
|
+
|
|
426
|
+
Prepare workspaces and start the bounded queue after plan approval:
|
|
427
|
+
|
|
428
|
+
```bash
|
|
429
|
+
cosmo generate workspace --all .
|
|
430
|
+
cosmo generate start . --max-pages 12
|
|
431
|
+
cosmo generate next .
|
|
432
|
+
cosmo generate advance home .
|
|
433
|
+
cosmo generate complete home .
|
|
434
|
+
cosmo generate status .
|
|
435
|
+
```
|
|
436
|
+
|
|
437
|
+
Pages progress through:
|
|
438
|
+
|
|
439
|
+
```text
|
|
440
|
+
planned → briefed → sourced → outlined → drafted → edited → verified → done
|
|
441
|
+
```
|
|
442
|
+
|
|
443
|
+
Record failures and bounded repair explicitly:
|
|
444
|
+
|
|
445
|
+
```bash
|
|
446
|
+
cosmo generate fail home . --reason "Missing approved proof"
|
|
447
|
+
cosmo generate retry home .
|
|
448
|
+
cosmo generate repair home . --reason "CTA evidence relationship failed"
|
|
449
|
+
```
|
|
450
|
+
|
|
451
|
+
Prior state is retained. A third repair request escalates to human review instead of looping indefinitely.
|
|
452
|
+
|
|
453
|
+
## Build, test, and browser QA
|
|
454
|
+
|
|
455
|
+
Day-to-day development commands:
|
|
456
|
+
|
|
457
|
+
```bash
|
|
458
|
+
cosmo dev .
|
|
459
|
+
cosmo build .
|
|
460
|
+
cosmo check .
|
|
461
|
+
```
|
|
462
|
+
|
|
463
|
+
Run the complete production-oriented checks:
|
|
464
|
+
|
|
465
|
+
```bash
|
|
466
|
+
cosmo integrity check .
|
|
467
|
+
cosmo content check .
|
|
468
|
+
cosmo intelligence check .
|
|
469
|
+
cosmo check .
|
|
470
|
+
cosmo browser check .
|
|
471
|
+
```
|
|
472
|
+
|
|
473
|
+
The checks cover:
|
|
474
|
+
|
|
475
|
+
- Astro build output, metadata, canonical URLs, JSON-LD, internal links, robots rules, and sitemap coverage.
|
|
476
|
+
- Entity consistency, intent, voice, evidence, provenance, duplication, CTA trust, and content substance.
|
|
477
|
+
- Every selected intelligence-pack artifact and its real implementation consequences.
|
|
478
|
+
- Rendered routes at 320, 768, and 1440 pixels.
|
|
479
|
+
- WCAG A/AA issues, keyboard focus, runtime errors, and horizontal overflow.
|
|
480
|
+
- Full-page screenshots and Lighthouse results.
|
|
481
|
+
|
|
482
|
+
Use `--no-build` when a current `dist` already exists. Use `--no-lighthouse` to skip Lighthouse during a browser-only diagnostic. If Chrome is in a non-standard location, set `COSMO_CHROME_PATH` to its executable.
|
|
483
|
+
|
|
484
|
+
## Release readiness
|
|
485
|
+
|
|
486
|
+
After workflow, generation, approvals, and QA are complete:
|
|
487
|
+
|
|
488
|
+
```bash
|
|
489
|
+
cosmo release check .
|
|
490
|
+
cosmo release show .
|
|
491
|
+
```
|
|
492
|
+
|
|
493
|
+
The release check writes `DELIVERY.md` and a machine-readable manifest. It blocks placeholder identity, missing approvals, zero indexable pages, incomplete generation, missing/failed/stale QA, capability-selection drift, or any source change after QA. A READY result has a source-derived release ID used by production deployment.
|
|
494
|
+
|
|
495
|
+
## Preview and deployment
|
|
496
|
+
|
|
497
|
+
Deployment is optional. A Cosmo project remains a standard static Astro site whose `dist` directory can be hosted anywhere.
|
|
498
|
+
|
|
499
|
+
Start a production-style local preview:
|
|
500
|
+
|
|
501
|
+
```bash
|
|
502
|
+
cosmo deploy local .
|
|
503
|
+
```
|
|
504
|
+
|
|
505
|
+
### Cloudflare Pages
|
|
506
|
+
|
|
507
|
+
Configure a Direct Upload project:
|
|
508
|
+
|
|
509
|
+
```bash
|
|
510
|
+
cosmo deploy configure cloudflare-pages . \
|
|
511
|
+
--project my-project \
|
|
512
|
+
--production-branch main
|
|
513
|
+
```
|
|
514
|
+
|
|
515
|
+
Authenticate Wrangler separately, then deploy:
|
|
516
|
+
|
|
517
|
+
```bash
|
|
518
|
+
cosmo deploy preview .
|
|
519
|
+
cosmo release check .
|
|
520
|
+
cosmo deploy production .
|
|
521
|
+
```
|
|
522
|
+
|
|
523
|
+
### SFTP, FTPS, and FTP
|
|
524
|
+
|
|
525
|
+
SFTP is preferred:
|
|
526
|
+
|
|
527
|
+
```bash
|
|
528
|
+
cosmo deploy configure sftp . \
|
|
529
|
+
--host files.example.com \
|
|
530
|
+
--remote-dir /public_html \
|
|
531
|
+
--preview-remote-dir /preview
|
|
532
|
+
```
|
|
533
|
+
|
|
534
|
+
Copy `.env.example` to the gitignored `.env.deploy` and provide values locally:
|
|
535
|
+
|
|
536
|
+
```dotenv
|
|
537
|
+
COSMO_DEPLOY_USER=hosting-user
|
|
538
|
+
COSMO_DEPLOY_PASSWORD=hosting-password
|
|
539
|
+
COSMO_DEPLOY_HOST_FINGERPRINT=SHA256:server-fingerprint
|
|
540
|
+
```
|
|
541
|
+
|
|
542
|
+
Deploy using the runtime credential file:
|
|
543
|
+
|
|
544
|
+
```bash
|
|
545
|
+
cosmo deploy preview . --env-file .env.deploy
|
|
546
|
+
cosmo release check .
|
|
547
|
+
cosmo deploy production . --env-file .env.deploy
|
|
548
|
+
```
|
|
549
|
+
|
|
550
|
+
SFTP supports private keys through `--no-password`, `--private-key-env`, and `--passphrase-env`. FTPS supports explicit TLS by default or `--implicit` for implicit TLS. Plain FTP transmits credentials and content without transport encryption and requires the explicit `--allow-insecure` acknowledgement.
|
|
551
|
+
|
|
552
|
+
File-transfer previews require a separate preview directory. Transfers are differential and non-destructive: only new or changed files upload, and Cosmo never deletes remote files implicitly. Credentials are loaded into memory and never written to project config, deployment history, manifests, or handoffs.
|
|
553
|
+
|
|
554
|
+
Inspect deployment state:
|
|
555
|
+
|
|
556
|
+
```bash
|
|
557
|
+
cosmo deploy status .
|
|
558
|
+
cosmo deploy history .
|
|
559
|
+
```
|
|
560
|
+
|
|
561
|
+
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
|
+
|
|
563
|
+
## Claude-to-Codex handoff
|
|
564
|
+
|
|
565
|
+
Create a durable handoff before changing tools or operators:
|
|
566
|
+
|
|
567
|
+
```bash
|
|
568
|
+
cosmo handoff create . \
|
|
569
|
+
--from claude \
|
|
570
|
+
--to codex \
|
|
571
|
+
--note "Approved direction is implemented; continue with requested maintenance."
|
|
572
|
+
|
|
573
|
+
cosmo handoff show .
|
|
574
|
+
```
|
|
575
|
+
|
|
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` and `AGENTS.md` so both tools work from the same contracts.
|
|
577
|
+
|
|
578
|
+
## Command reference
|
|
579
|
+
|
|
580
|
+
Run `cosmo help` for the installed version's canonical syntax.
|
|
581
|
+
|
|
582
|
+
### Setup and operation
|
|
583
|
+
|
|
584
|
+
| Command | Purpose |
|
|
585
|
+
| --- | --- |
|
|
586
|
+
| `cosmo setup` | Install or repair the Claude launcher after npm installation. |
|
|
587
|
+
| `cosmo init [directory] [options]` | Create a Cosmo Astro project in an empty directory. |
|
|
588
|
+
| `cosmo adopt [directory] [options]` | Add Cosmo governance to an existing Astro project without replacing its source. |
|
|
589
|
+
| `cosmo claude install [--replace]` | Install or update the Claude Code launcher. |
|
|
590
|
+
| `cosmo claude status` | Show Claude launcher installation state. |
|
|
591
|
+
| `cosmo claude uninstall` | Remove the Claude Code launcher without removing the CLI. |
|
|
592
|
+
| `cosmo doctor [directory] [--json]` | Diagnose Node, npm, dependencies, Chrome, project access, and deployment state. |
|
|
593
|
+
| `cosmo status [directory] [--json]` | Summarize project, workflow, plan, generation, QA, release, and deployment state. |
|
|
594
|
+
| `cosmo dev [directory]` | Start Astro development mode. |
|
|
595
|
+
| `cosmo build [directory]` | Produce the static Astro build. |
|
|
596
|
+
| `cosmo --version` | Print the Cosmo version. |
|
|
597
|
+
|
|
598
|
+
Common `init` and `adopt` options are `--name`, `--brand`, `--site`, and `--profile`; adoption also accepts `--design-mode`.
|
|
599
|
+
|
|
600
|
+
### Discovery, design, and research
|
|
601
|
+
|
|
602
|
+
| Command | Purpose |
|
|
603
|
+
| --- | --- |
|
|
604
|
+
| `cosmo intake [directory] --niche ... --audience ... --goal ...` | Write structured project intake. |
|
|
605
|
+
| `cosmo brand discover [directory] [--replace]` | Create guided brand discovery. |
|
|
606
|
+
| `cosmo brand check [directory]` | Validate completed, human-approved discovery. |
|
|
607
|
+
| `cosmo design brief [directory]` | Create the creative brief and selected design-pack guidance. |
|
|
608
|
+
| `cosmo design capture [directory]` | Capture implemented tokens and Astro components. |
|
|
609
|
+
| `cosmo research init [directory] [--replace]` | Create the research workbench. |
|
|
610
|
+
| `cosmo research capture <id> <snapshot> [directory] [options]` | Store an attributed, SHA256-bound research snapshot. |
|
|
611
|
+
| `cosmo research check [directory]` | Validate research tasks, sources, findings, and candidates. |
|
|
612
|
+
|
|
613
|
+
Additional intake options include `--location`, `--pages`, `--language`, `--design-mode`, and `--replace`. Research capture requires `--kind` and `--location`; it accepts `--captured-at` and `--replace`.
|
|
614
|
+
|
|
615
|
+
### Intelligence and integrity
|
|
616
|
+
|
|
617
|
+
| Command | Purpose |
|
|
618
|
+
| --- | --- |
|
|
619
|
+
| `cosmo intelligence list` | List built-in profiles and packs. |
|
|
620
|
+
| `cosmo intelligence show [directory]` | Show the active project selection. |
|
|
621
|
+
| `cosmo intelligence apply <profile> [directory]` | Replace the selection with a profile. |
|
|
622
|
+
| `cosmo intelligence add|remove <pack> [directory]` | Modify the active pack selection. |
|
|
623
|
+
| `cosmo intelligence scaffold [directory] [--replace]` | Create required selected-pack artifacts. |
|
|
624
|
+
| `cosmo intelligence guide <stage> [directory]` | Print stage-specific questions and agent guidance. |
|
|
625
|
+
| `cosmo intelligence check [directory]` | Evaluate selected capabilities against the project. |
|
|
626
|
+
| `cosmo intelligence import <package> [directory] [--replace]` | Install a declarative private pack. |
|
|
627
|
+
| `cosmo intelligence installed [directory]` | Show imported package locks. |
|
|
628
|
+
| `cosmo integrity init [directory] [--replace]` | Add the integrity foundation to an older project. |
|
|
629
|
+
| `cosmo integrity check [directory] [--allow-missing-briefs]` | Validate entity, voice, evidence, plan, capabilities, and briefs. |
|
|
630
|
+
| `cosmo plan check [directory]` | Validate the current Build Plan. |
|
|
631
|
+
| `cosmo brief create <page-id> [directory] [--replace]` | Derive one page brief. |
|
|
632
|
+
| `cosmo brief create --all [directory] [--replace]` | Derive all planned page briefs. |
|
|
633
|
+
|
|
634
|
+
### Workflow and generation
|
|
635
|
+
|
|
636
|
+
| Command | Purpose |
|
|
637
|
+
| --- | --- |
|
|
638
|
+
| `cosmo workflow list [directory]` | List installed workflows and validity. |
|
|
639
|
+
| `cosmo workflow start [directory] [--workflow id]` | Start a workflow. |
|
|
640
|
+
| `cosmo workflow show|resume [directory]` | Show current stage, artifacts, approval state, and instructions. |
|
|
641
|
+
| `cosmo workflow submit <stage> [directory]` | Validate and submit a stage. |
|
|
642
|
+
| `cosmo workflow approve <stage> [directory] [--by name]` | Record explicit operator approval. |
|
|
643
|
+
| `cosmo workflow import <workflow.json> [directory]` | Import a safe project workflow. |
|
|
644
|
+
| `cosmo generate workspace <page-id> [directory] [--replace]` | Create one page workspace. |
|
|
645
|
+
| `cosmo generate workspace --all [directory] [--replace]` | Create all page workspaces. |
|
|
646
|
+
| `cosmo generate start [directory] [--max-pages n]` | Start the approved bounded queue. |
|
|
647
|
+
| `cosmo generate next [directory]` | Show the next page and required gate. |
|
|
648
|
+
| `cosmo generate advance|complete <page-id> [directory]` | Advance or complete a page after validation. |
|
|
649
|
+
| `cosmo generate fail|repair <page-id> [directory] --reason ...` | Record a failure or repair request. |
|
|
650
|
+
| `cosmo generate retry <page-id> [directory]` | Return a failed page to production. |
|
|
651
|
+
| `cosmo generate status [directory]` | Show page-by-page queue state. |
|
|
652
|
+
|
|
653
|
+
### QA, release, handoff, and deployment
|
|
654
|
+
|
|
655
|
+
| Command | Purpose |
|
|
656
|
+
| --- | --- |
|
|
657
|
+
| `cosmo check [directory] [--no-build]` | Build and audit the static output. |
|
|
658
|
+
| `cosmo content check [directory]` | Run semantic and evidence-aware content QA. |
|
|
659
|
+
| `cosmo browser check [directory] [options]` | Run rendered responsive, accessibility, and Lighthouse QA. |
|
|
660
|
+
| `cosmo release check|show [directory]` | Create or inspect the source-bound delivery decision. |
|
|
661
|
+
| `cosmo handoff create [directory] [options]` | Create durable agent continuity files. |
|
|
662
|
+
| `cosmo handoff show [directory]` | Display the current handoff. |
|
|
663
|
+
| `cosmo deploy configure <provider> [directory] [options]` | Configure Cloudflare Pages, SFTP, FTPS, or FTP. |
|
|
664
|
+
| `cosmo deploy local [directory] [--no-build]` | Run the production build locally. |
|
|
665
|
+
| `cosmo deploy preview|production [directory] [options]` | Deploy review or READY production output. |
|
|
666
|
+
| `cosmo deploy status|history [directory]` | Inspect deployment configuration and durable history. |
|
|
667
|
+
|
|
668
|
+
Browser options are `--no-build` and `--no-lighthouse`. Remote deployment accepts `--no-build` and `--env-file`.
|
|
669
|
+
|
|
670
|
+
## Project anatomy
|
|
671
|
+
|
|
672
|
+
| Path | Purpose |
|
|
673
|
+
| --- | --- |
|
|
674
|
+
| `src/` | Standard Astro pages, content, components, layouts, and styles. |
|
|
675
|
+
| `public/` | Static public assets. |
|
|
676
|
+
| `.cosmo/project.json` | Project identity, stage, design mode, and local metadata. |
|
|
677
|
+
| `.cosmo/intake.json` | Structured build intake. |
|
|
678
|
+
| `.cosmo/brand/` | Discovery, Entity Canon, and voice profile. |
|
|
679
|
+
| `.cosmo/evidence.json` | Central claim and proof ledger. |
|
|
680
|
+
| `.cosmo/intelligence/` | Active packs, artifacts, and private-package locks. |
|
|
681
|
+
| `.cosmo/build-plan.json` | Typed page architecture and link graph. |
|
|
682
|
+
| `.cosmo/work/pages/` | Per-page briefs and production artifacts. |
|
|
683
|
+
| `.cosmo/workflow-state.json` | Resumable stage state. |
|
|
684
|
+
| `.cosmo/progress.json` | Resumable generation state. |
|
|
685
|
+
| `.cosmo/reports/` | Integrity, static, content, intelligence, browser, and delivery evidence. |
|
|
686
|
+
| `.cosmo/deploy/` | Credential-free configuration, manifests, and history. |
|
|
687
|
+
| `BRAND-BRIEF.md` | Human-readable approved brand direction. |
|
|
688
|
+
| `DESIGN-DIRECTION.md` | Approved visual rationale and implementation rules. |
|
|
689
|
+
| `DELIVERY.md` | Final readiness decision and punch list. |
|
|
690
|
+
| `HANDOFF.md` | Human-readable cross-agent continuation state. |
|
|
691
|
+
|
|
692
|
+
Runtime reports, build output, dependency folders, screenshots, credential files, and other mutable state are excluded from new-project copying where appropriate.
|
|
693
|
+
|
|
694
|
+
## Troubleshooting
|
|
695
|
+
|
|
696
|
+
### `cosmo: command not found`
|
|
697
|
+
|
|
698
|
+
Run the CLI directly from this repository or recreate the npm link:
|
|
699
|
+
|
|
700
|
+
```bash
|
|
701
|
+
node /absolute/path/to/Cosmo/packages/cli/bin/cosmo.mjs --version
|
|
702
|
+
npm link --workspace @cosmo/cli
|
|
703
|
+
```
|
|
704
|
+
|
|
705
|
+
### Claude does not react to `cosmo`
|
|
706
|
+
|
|
707
|
+
Restart Claude Code after installation, run `cosmo claude status`, then use `/cosmo:cosmo`. Repair the launcher with `cosmo setup`.
|
|
708
|
+
|
|
709
|
+
### Doctor reports missing dependencies
|
|
710
|
+
|
|
711
|
+
Run `npm install` inside the website project, then rerun `cosmo doctor .`.
|
|
712
|
+
|
|
713
|
+
### Browser QA cannot find Chrome
|
|
714
|
+
|
|
715
|
+
Install Chrome/Chromium or set an executable explicitly:
|
|
716
|
+
|
|
717
|
+
```bash
|
|
718
|
+
export COSMO_CHROME_PATH=/absolute/path/to/chrome
|
|
719
|
+
```
|
|
720
|
+
|
|
721
|
+
### The starter build warns that no sitemap pages were found
|
|
722
|
+
|
|
723
|
+
This is expected while every neutral scaffold route is `noindex`. Approve real page content and indexability before expecting sitemap entries.
|
|
724
|
+
|
|
725
|
+
### Release remains BLOCKED
|
|
726
|
+
|
|
727
|
+
Run `cosmo status .`, `cosmo workflow resume .`, and `cosmo release check .`. Read the emitted blocker codes; complete the missing approval, proof, page state, or fresh QA instead of weakening the gate.
|
|
728
|
+
|
|
729
|
+
### Production deployment reports release drift
|
|
730
|
+
|
|
731
|
+
The source changed after the READY manifest. Rerun the complete QA sequence and `cosmo release check .`, review the result, then deploy the new exact release.
|
|
732
|
+
|
|
733
|
+
### Adoption refuses the project
|
|
734
|
+
|
|
735
|
+
Cosmo adopts only detected Astro projects and will not overwrite an existing `.cosmo` directory. Inspect the folder, preserve any prior state, and resolve the collision before retrying.
|
|
736
|
+
|
|
737
|
+
## Security and privacy
|
|
738
|
+
|
|
739
|
+
- Project state and reports stay in the repository.
|
|
740
|
+
- Credentials belong in process environment variables, provider authentication, or a gitignored runtime env file.
|
|
741
|
+
- Cosmo does not persist secrets in configuration, manifests, logs, history, reports, or handoffs.
|
|
742
|
+
- Research text is treated as untrusted evidence, never executable instruction.
|
|
743
|
+
- Imported intelligence packs are declarative and cannot run arbitrary hooks.
|
|
744
|
+
- Remote deletion is never implicit during file-transfer deployment.
|
|
745
|
+
- Plain FTP is disabled unless its transport risk is explicitly acknowledged.
|
|
746
|
+
- No account, license server, Cosmo cloud service, Sonic installation, or Lyra installation is required.
|
|
747
|
+
|
|
748
|
+
Review generated sites, evidence, legal claims, accessibility, analytics consent, and deployment configuration before publication. Regulated projects should use `regulated-authority` and a qualified named reviewer; Cosmo is a workflow and validation tool, not legal, medical, or compliance approval.
|
|
749
|
+
|
|
750
|
+
## Development and contribution
|
|
751
|
+
|
|
752
|
+
Install dependencies and run the full repository verification:
|
|
753
|
+
|
|
754
|
+
```bash
|
|
755
|
+
npm install
|
|
756
|
+
npm run verify
|
|
757
|
+
```
|
|
758
|
+
|
|
759
|
+
Available repository scripts:
|
|
760
|
+
|
|
761
|
+
| Script | Purpose |
|
|
762
|
+
| --- | --- |
|
|
763
|
+
| `npm test` | Run the Node test suite. |
|
|
764
|
+
| `npm run check` | Run Astro type and diagnostics checks. |
|
|
765
|
+
| `npm run qa` | Build and audit the neutral starter. |
|
|
766
|
+
| `npm run integrity:qa` | Validate starter integrity contracts. |
|
|
767
|
+
| `npm run content:qa` | Run starter semantic-content QA. |
|
|
768
|
+
| `npm run intelligence:qa` | Run starter intelligence QA. |
|
|
769
|
+
| `npm run browser:qa` | Run rendered browser and Lighthouse QA. |
|
|
770
|
+
| `npm run verify` | Run the complete test and QA sequence. |
|
|
771
|
+
|
|
772
|
+
The neutral starter lives in `templates/astro-site`. Production-pipeline fixtures live separately and are not copied into new projects.
|
|
773
|
+
|
|
774
|
+
## Further documentation
|
|
775
|
+
|
|
776
|
+
- [Architecture](docs/ARCHITECTURE.md)
|
|
777
|
+
- [Claude Code launcher](docs/CLAUDE-LAUNCHER.md)
|
|
778
|
+
- [Brand discovery](docs/BRAND-DISCOVERY.md)
|
|
779
|
+
- [First-party capabilities](docs/FIRST-PARTY-CAPABILITIES.md)
|
|
780
|
+
- [Intelligence packs](docs/INTELLIGENCE-PACKS.md)
|
|
781
|
+
- [Integrity foundation](docs/INTEGRITY.md)
|
|
782
|
+
- [Architecture and intent intelligence](docs/ARCHITECTURE-INTELLIGENCE.md)
|
|
783
|
+
- [Workflows](docs/WORKFLOWS.md)
|
|
784
|
+
- [Page production](docs/PAGE-PRODUCTION.md)
|
|
785
|
+
- [Generation](docs/GENERATION.md)
|
|
786
|
+
- [Content QA](docs/CONTENT-QA.md)
|
|
787
|
+
- [Browser QA](docs/BROWSER-QA.md)
|
|
788
|
+
- [Operations](docs/OPERATIONS.md)
|
|
789
|
+
- [Delivery readiness](docs/DELIVERY.md)
|
|
790
|
+
- [Deployment](docs/DEPLOYMENT.md)
|
|
791
|
+
- [Agent handoff](docs/AGENT-HANDOFF.md)
|
|
792
|
+
- [Roadmap](docs/ROADMAP.md)
|