@archangel70/cosmo 1.7.0 → 1.10.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 +30 -0
- package/README.md +117 -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 +150 -18
- package/packages/cli/lib/adoption.mjs +21 -0
- package/packages/cli/lib/agent-adapters.mjs +124 -0
- package/packages/cli/lib/claude-plugin.mjs +4 -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/launcher.mjs +111 -0
- 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 +79 -0
- package/plugins/antigravity/cosmo.md +19 -0
- package/plugins/claude-code/cosmo/.claude-plugin/plugin.json +2 -2
- package/plugins/claude-code/cosmo/agents/cosmo.md +45 -0
- package/plugins/claude-code/cosmo/skills/cosmo/SKILL.md +16 -4
- package/plugins/claude-code/cosmo/skills/cosmo-help/SKILL.md +20 -6
- 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
|
@@ -5,12 +5,12 @@ This is a Cosmo-managed Astro project. Use Claude for discovery, strategy, conte
|
|
|
5
5
|
Before changing the site:
|
|
6
6
|
|
|
7
7
|
1. Run `cosmo doctor .`, `cosmo status .`, and `cosmo workflow resume .` when a workflow is active.
|
|
8
|
-
2. Read `.cosmo/brand/discovery.json`, `BRAND-BRIEF.md`, `.cosmo/brand/entity-canon.json`, `.cosmo/brand/voice-profile.json`, `.cosmo/evidence.json`, `.cosmo/intelligence/selection.json`, every selected pack manifest and artifact, `DESIGN-DIRECTION.md`, `.cosmo/build-plan.json`, and the current page's brief, sources, outline, and editorial report when present.
|
|
8
|
+
2. Read `.cosmo/brand/discovery.json`, `BRAND-BRIEF.md`, `.cosmo/brand/entity-canon.json`, `.cosmo/brand/voice-profile.json`, `.cosmo/evidence.json`, `.cosmo/copy/strategy.json`, `.cosmo/intelligence/selection.json`, every selected pack manifest and artifact, `DESIGN-DIRECTION.md`, `.cosmo/build-plan.json`, and the current page's brief, copy brief, sources, outline, and editorial report when present.
|
|
9
9
|
3. Run `cosmo intelligence guide <stage> .` before doing selected-pack work. Audience, differentiation, search/community, conversion, naturalness, branded-language, authority, local, editorial, regulated, research, image, and Claude Design guidance is built into Cosmo; do not assume Lyra or Sonic is installed.
|
|
10
10
|
4. Treat the starter appearance as replaceable. Do not let its components or visual motifs constrain Claude Design exploration.
|
|
11
11
|
5. Once a direction is approved, express it in repository-owned Astro components, `src/styles/tokens.css`, and `DESIGN-DIRECTION.md`.
|
|
12
12
|
|
|
13
|
-
Never invent credentials, testimonials, locations, results, statistics, demand, or business evidence. Keep missing evidence and demand confidence explicit. Attributed first-person material must remain attributed and must never become the principal's voice. Do not create a new page when its intent belongs as a section or overlaps an existing route without a defensible boundary.
|
|
13
|
+
Never invent credentials, testimonials, locations, results, statistics, demand, reader psychology, or business evidence. Keep missing evidence and demand confidence explicit. Attributed first-person material must remain attributed and must never become the principal's voice. Do not imitate a living writer or copy source phrasing. Do not create a new page when its intent belongs as a section or overlaps an existing route without a defensible boundary. Before drafting, run `cosmo copy guide <page-id> .`; use `cosmo generate complete` only after the page agrees with its approved copy brief and every carried proof is verified in the evidence ledger.
|
|
14
14
|
|
|
15
15
|
Advance generation one state at a time with `cosmo generate advance`. Do not manufacture completion by editing `.cosmo/progress.json`. After two repair cycles, stop automated rewriting and leave the page in human review.
|
|
16
16
|
|
|
@@ -18,6 +18,7 @@ Before handing the project to another agent, run the relevant checks and create
|
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
20
|
cosmo check .
|
|
21
|
+
cosmo copy check .
|
|
21
22
|
cosmo content check .
|
|
22
23
|
cosmo intelligence check .
|
|
23
24
|
cosmo browser check .
|
|
@@ -8,7 +8,7 @@ npm run dev
|
|
|
8
8
|
npm run build
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
Cosmo adds local workflow, generation, design-handoff, and QA contracts under `.cosmo/`.
|
|
11
|
+
Cosmo adds local workflow, generation, design-handoff, and QA contracts under `.cosmo/`. Use `.agents/skills/cosmo/SKILL.md` in Codex or Antigravity, `CLAUDE.md` in Claude, `AGENTS.md` as the cross-agent project guide, and `HANDOFF.md` when one agent has explicitly handed the project to another.
|
|
12
12
|
|
|
13
13
|
The initial home and about routes are neutral, `noindex` scaffolds. The build plan is a valid draft, not an approval to generate or publish. Replace the placeholder entity, evidence, voice, page plan, content, and design direction through the Cosmo workflow before changing indexability.
|
|
14
14
|
|