@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
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# Cosmo Generation
|
|
2
|
+
|
|
3
|
+
Cosmo separates page planning from page writing. Claude, Codex, or a human can create the prose; the local plan and queue determine whether each entry belongs in the site and is ready to advance.
|
|
4
|
+
|
|
5
|
+
## Build-plan contract
|
|
6
|
+
|
|
7
|
+
`.cosmo/build-plan.json` is approved before generation starts. Version 3 includes the v2 integrity contract and additionally requires:
|
|
8
|
+
|
|
9
|
+
- Exactly one `home` page at `/`.
|
|
10
|
+
- A unique kebab-case `id`, route, content file, and normalized `primaryTopic` for every page.
|
|
11
|
+
- One of `home`, `service`, `location`, `guide`, `answer`, `comparison`, or `standard` as the page type.
|
|
12
|
+
- A valid parent for every non-home page and valid ids for every related page.
|
|
13
|
+
- Type-specific planning data for services, locations, guides, answers, and comparisons.
|
|
14
|
+
- A page archetype and explicit indexability decision.
|
|
15
|
+
- Primary intent, funnel stage, awareness stage, query patterns, and demand confidence.
|
|
16
|
+
- Role-based internal links with a target, reason, and anchor intent.
|
|
17
|
+
- Explicit intent boundaries for legitimate near-topic overlaps.
|
|
18
|
+
- The v2 four-question entity, claim, proof, strengthened-page, and AudienceIntegrity contract.
|
|
19
|
+
|
|
20
|
+
Content files must be Markdown entries below `src/content/pages/`. Absolute paths and parent traversal are rejected.
|
|
21
|
+
|
|
22
|
+
Run the validator after editing the inventory:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
cosmo plan check .
|
|
26
|
+
cosmo brief create --all .
|
|
27
|
+
cosmo integrity check .
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Queue lifecycle
|
|
31
|
+
|
|
32
|
+
Start a run only after the plan is approved:
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
cosmo generate workspace --all .
|
|
36
|
+
cosmo generate start .
|
|
37
|
+
cosmo generate next .
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
`next` prints the complete page record, resolved relationships, current production state, next state, required action, and required artifact. The active AI or operator completes that artifact and advances exactly one gate:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
cosmo generate advance page-id .
|
|
44
|
+
cosmo generate complete page-id .
|
|
45
|
+
cosmo generate fail page-id . --reason "Missing source interview"
|
|
46
|
+
cosmo generate repair page-id . --reason "Editorial check requires another pass"
|
|
47
|
+
cosmo generate retry page-id .
|
|
48
|
+
cosmo generate status .
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Generation progress v2 moves through `planned`, `briefed`, `sourced`, `outlined`, `drafted`, `edited`, `verified`, and `done`. See `docs/PAGE-PRODUCTION.md` for the artifact required by each transition.
|
|
52
|
+
|
|
53
|
+
The queue is deliberately model-neutral. A Claude-led build can use Claude Design for visual exploration and Claude for content work; a later Codex session can continue from the same plan, progress ledger, content schema, and design documentation without access to the earlier conversation.
|
|
54
|
+
|
|
55
|
+
## Completion gates
|
|
56
|
+
|
|
57
|
+
Verification and `complete` reject an entry when:
|
|
58
|
+
|
|
59
|
+
- Its content file is absent or empty.
|
|
60
|
+
- Its `path` or `pageType` disagrees with the approved plan.
|
|
61
|
+
- Its planned parent or related links are missing from frontmatter.
|
|
62
|
+
- Any carried proof is absent or is not marked `supplied`.
|
|
63
|
+
- A proof remains pending or rejected in `.cosmo/evidence.json`.
|
|
64
|
+
- The content source or provenance disagrees with the evidence ledger.
|
|
65
|
+
- A derived page brief has drifted from the approved plan.
|
|
66
|
+
- The content archetype, indexability, intent state, query patterns, or governed links disagree with Plan v3.
|
|
67
|
+
- The source manifest or outline no longer agrees with the page contract.
|
|
68
|
+
- The editorial report does not pass all checks, retains an open blocking finding, or records the wrong repair attempt.
|
|
69
|
+
|
|
70
|
+
Cosmo does not invent evidence. A requirement can remain visible with a non-supplied status while drafting, but that page cannot be completed until a real source is verified. Plans v1 and v2 remain readable for existing projects; v1 lacks the integrity chain and v2 lacks v3 architecture governance.
|
|
71
|
+
|
|
72
|
+
## Guardrails and recovery
|
|
73
|
+
|
|
74
|
+
- `--max-pages` sets a bounded run size for supervised batches.
|
|
75
|
+
- Three consecutive failures stop the queue so a systemic issue can be corrected.
|
|
76
|
+
- `retry` returns a failed page to the state from which it failed and clears the failure stop.
|
|
77
|
+
- Two repair cycles are allowed; a third request records `human-review-required` instead of continuing automatically.
|
|
78
|
+
- A changed build plan causes the run to stop rather than silently generating against mixed assumptions.
|
|
79
|
+
- `.cosmo/progress.json` is the current checkpoint; `.cosmo/generation.jsonl` is the append-only event history.
|
|
80
|
+
|
|
81
|
+
After all pages are complete, run `cosmo check`. The workflow's generation stage accepts only a progress file with `complete: true`; the QA stage accepts only a passing site-check report.
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# Cosmo Integrity Foundation
|
|
2
|
+
|
|
3
|
+
Cosmo's integrity layer turns brand, page purpose, voice, claims, and proof into local contracts. AI tools can still make creative and editorial judgments, but they cannot silently change the approved identity or manufacture evidence.
|
|
4
|
+
|
|
5
|
+
## Portable artifacts
|
|
6
|
+
|
|
7
|
+
| Artifact | Authority |
|
|
8
|
+
|---|---|
|
|
9
|
+
| `.cosmo/capabilities/registry.json` | Active, optional, and disabled project capabilities |
|
|
10
|
+
| `.cosmo/intelligence/selection.json` | Active optional profile and pack ids |
|
|
11
|
+
| `.cosmo/intelligence/packs/*.json` | Repository-owned questions, agent guidance, capability, and artifact gate for each selected pack |
|
|
12
|
+
| `.cosmo/brand/entity-canon.json` | Canonical entity name, domain, descriptions, taxonomy, credentials, claims, and proof language |
|
|
13
|
+
| `.cosmo/brand/voice-profile.json` | Project-owned voice markers, boundaries, vocabulary, examples, scope, and maturity |
|
|
14
|
+
| `.cosmo/evidence.json` | Stable claim and proof ids, risk, provenance, verification status, and sources |
|
|
15
|
+
| `.cosmo/work/pages/{id}/brief.json` | A page's plan-derived audience, entity, claims, proof, graph role, and answer target |
|
|
16
|
+
|
|
17
|
+
These files are copied into a new project. Runtime state and reports are not. Capability Registry v1 remains readable; Registry v2 mirrors and validates the active intelligence selection.
|
|
18
|
+
|
|
19
|
+
## Four-question page contract
|
|
20
|
+
|
|
21
|
+
Every Build Plan v2 or newer page must declare:
|
|
22
|
+
|
|
23
|
+
1. `strengthensEntity`: which canonical entity the page strengthens.
|
|
24
|
+
2. `supportsClaims`: which registered claims it supports.
|
|
25
|
+
3. `carriesProof`: which registered proofs it carries.
|
|
26
|
+
4. `strengthensPages`: which real planned pages it strengthens.
|
|
27
|
+
|
|
28
|
+
AudienceIntegrity adds `audienceNeed` and `serves`. The latter must be `visitor`, `business`, or `both`; a page cannot exist solely for the builder or generator.
|
|
29
|
+
|
|
30
|
+
Claim, proof, page, and entity references use stable kebab-case ids. Prose may improve without breaking those relationships.
|
|
31
|
+
|
|
32
|
+
## Evidence provenance
|
|
33
|
+
|
|
34
|
+
Proof uses one of three provenance classes:
|
|
35
|
+
|
|
36
|
+
- `owned`: supplied or produced by the project owner.
|
|
37
|
+
- `attributed`: supplied by a third party and kept explicitly attributed.
|
|
38
|
+
- `public`: independently accessible public evidence.
|
|
39
|
+
|
|
40
|
+
A proof may be `pending`, `verified`, or `rejected`. Generation completion requires every proof carried by the page to be verified. The content entry must use the same source and provenance as the central ledger.
|
|
41
|
+
|
|
42
|
+
## Page briefs
|
|
43
|
+
|
|
44
|
+
Create briefs only after Plan v2 or newer is approved enough to review:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
cosmo brief create --all .
|
|
48
|
+
cosmo brief create home . --replace
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Briefs inherit the plan. They do not re-architect it. Cosmo detects drift in entity, audience, claims, proof, route, and strengthened-page relationships.
|
|
52
|
+
|
|
53
|
+
## Commands
|
|
54
|
+
|
|
55
|
+
Scaffold the foundation in an older project without overwriting existing files:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
cosmo integrity init .
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Validate the full chain and write `.cosmo/reports/integrity-check.json`:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
cosmo integrity check .
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Plan v1 remains readable. Integrity validation warns that it cannot enforce page-purpose contracts until upgraded. Plan v3 adds architecture and governed-link fields to the same derived brief.
|
|
68
|
+
|
|
69
|
+
## Voice ownership
|
|
70
|
+
|
|
71
|
+
Voice profiles are derived from brand-owned or explicitly authorized samples. Bundled public-person imitation is not a Cosmo capability. Maturity is recorded as `synthesized`, `calibrated`, `refined`, or `authoritative`; corrections should update the profile rather than disappear into chat history.
|
|
72
|
+
|
|
73
|
+
## Creative authority
|
|
74
|
+
|
|
75
|
+
The integrity layer constrains truth and continuity, not aesthetics. Claude Design or another design authority remains free to choose composition, typography, palette, imagery, rhythm, and interaction. Cosmo supplies the canonical context and validates the implemented result.
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# Intelligence Profiles and Packs
|
|
2
|
+
|
|
3
|
+
Cosmo v1.0 keeps its core methodology lean. Optional intelligence packs add domain-specific questions, local agent guidance, a named capability, and an enforceable artifact gate. They do not add remote services, silently change copy, or impose a design style.
|
|
4
|
+
|
|
5
|
+
## Profiles
|
|
6
|
+
|
|
7
|
+
| Profile | Packs |
|
|
8
|
+
|---|---|
|
|
9
|
+
| `lean` | None |
|
|
10
|
+
| `authority-site` | Authority, research |
|
|
11
|
+
| `local-authority` | Authority, local, research |
|
|
12
|
+
| `editorial-research` | Authority, editorial, research, image direction |
|
|
13
|
+
| `regulated-authority` | Authority, editorial, regulated, research |
|
|
14
|
+
| `design-led` | Image direction, Claude Design |
|
|
15
|
+
| `growth-site` | Audience intelligence, differentiation, conversion, editorial naturalness, branded language |
|
|
16
|
+
| `search-authority` | Audience intelligence, authority, differentiation, research, search intelligence, editorial naturalness |
|
|
17
|
+
| `brand-led` | Audience intelligence, differentiation, branded language, image direction, Claude Design |
|
|
18
|
+
| `full-authority` | All built-in packs |
|
|
19
|
+
|
|
20
|
+
A profile is only a convenient composition. Adding or removing a single pack changes the selection to `custom`.
|
|
21
|
+
|
|
22
|
+
## Packs and gates
|
|
23
|
+
|
|
24
|
+
| Pack | Gate | Required artifact |
|
|
25
|
+
|---|---|---|
|
|
26
|
+
| `authority` | Brand | `.cosmo/intelligence/artifacts/authority-brief.json` |
|
|
27
|
+
| `local` | Plan | `.cosmo/intelligence/artifacts/local-market.json` |
|
|
28
|
+
| `editorial` | Brand | `.cosmo/intelligence/artifacts/editorial-charter.json` |
|
|
29
|
+
| `regulated` | Brand | `.cosmo/intelligence/artifacts/regulatory-review.json` |
|
|
30
|
+
| `research` | Plan | `.cosmo/intelligence/artifacts/research-brief.json` |
|
|
31
|
+
| `audience-intelligence` | Brand | `.cosmo/intelligence/artifacts/audience-intelligence.json` |
|
|
32
|
+
| `differentiation` | Brand | `.cosmo/intelligence/artifacts/differentiation.json` |
|
|
33
|
+
| `search-intelligence` | Plan | `.cosmo/intelligence/artifacts/search-intelligence.json` |
|
|
34
|
+
| `conversion` | Plan | `.cosmo/intelligence/artifacts/conversion-system.json` |
|
|
35
|
+
| `editorial-naturalness` | Brand | `.cosmo/intelligence/artifacts/editorial-naturalness.json` |
|
|
36
|
+
| `branded-language` | Brand | `.cosmo/intelligence/artifacts/branded-language.json` |
|
|
37
|
+
| `image-direction` | Design | `.cosmo/design/image-direction.json` |
|
|
38
|
+
| `claude-design` | Design | `.cosmo/design/claude-design-handoff.json` |
|
|
39
|
+
|
|
40
|
+
The local pack manifest includes its discovery questions, Claude guidance, Codex continuation guidance, required keys, and artifact template. Workflow submission validates selected packs at their declared stage. Direct generation rechecks every upstream pack gate, so the workflow cannot be bypassed accidentally.
|
|
41
|
+
|
|
42
|
+
## v1.1 evaluation
|
|
43
|
+
|
|
44
|
+
`cosmo intelligence check` goes beyond artifact shape and writes `.cosmo/reports/intelligence-check.json`. Its specialized evaluators currently enforce:
|
|
45
|
+
|
|
46
|
+
- Authority: verified proof on indexable authority pages, differentiating proof ownership, and overused-proof warnings.
|
|
47
|
+
- Local: ledger-backed local proof, rich proof before indexing, and repeated answer-target doorway detection.
|
|
48
|
+
- Editorial: accountable author, reviewer, publication date, correction policy, and valid dates on indexable editorial pages.
|
|
49
|
+
- Regulated: verified high-risk claims, approved jurisdictional review on indexable pages, and prohibited-claim phrase detection.
|
|
50
|
+
- Research: structured findings with source provenance, valid observation dates, conflict and limitation visibility, and evidence behind observed demand.
|
|
51
|
+
- Image direction: governed assets with source, rights, role, alt-text intent, and existence checks for local files.
|
|
52
|
+
- Claude Design: at least three explored directions, 320/768/1440 states, reference renders, an approved design direction, and captured implementation tokens and components.
|
|
53
|
+
|
|
54
|
+
Blocking intelligence findings fail the QA workflow stage and are carried into the next handoff. Warnings remain visible without inventing certainty.
|
|
55
|
+
|
|
56
|
+
## v1.5 first-party capabilities
|
|
57
|
+
|
|
58
|
+
Audience, differentiation, search/community, conversion, naturalness, and branded-language behavior is built into Cosmo. Users do not need Lyra, Sonic, or imports. See [FIRST-PARTY-CAPABILITIES.md](FIRST-PARTY-CAPABILITIES.md) for their safeguards and profiles.
|
|
59
|
+
|
|
60
|
+
## Commands
|
|
61
|
+
|
|
62
|
+
Create a project with a profile:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
cosmo init ./site --brand "Example" --profile local-authority
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Inspect and change the selection:
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
cosmo intelligence list
|
|
72
|
+
cosmo intelligence show .
|
|
73
|
+
cosmo intelligence guide brand .
|
|
74
|
+
cosmo intelligence check .
|
|
75
|
+
cosmo intelligence apply regulated-authority .
|
|
76
|
+
cosmo intelligence add claude-design .
|
|
77
|
+
cosmo intelligence remove editorial .
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Create editable, deliberately incomplete templates for every selected pack:
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
cosmo intelligence scaffold .
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Completing a template is a judgment task. Cosmo validates its presence, shape, and downstream fidelity; it does not invent jurisdictions, service coverage, research findings, proof, image rights, or design approval.
|
|
87
|
+
|
|
88
|
+
## Importable packages
|
|
89
|
+
|
|
90
|
+
v1.4 can install a project-local package from a JSON file or a directory containing `cosmo-pack.json`:
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
cosmo intelligence import ./my-pack .
|
|
94
|
+
cosmo intelligence installed .
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
The envelope uses `schemaVersion: 1`, semantic `package.name` and `package.version`, and one standard `pack` manifest. Imported bytes are SHA256-locked in `.cosmo/intelligence/lock.json`; the validated pack is copied into the project. `--replace` is required to update an installed id, and built-in ids cannot be replaced. An imported artifact must remain under its pack-owned `.cosmo/intelligence/artifacts/<pack-id>/` directory, and capability ids cannot collide with the project registry.
|
|
98
|
+
|
|
99
|
+
Imported packs may use only four artifact rules: `non-empty`, `equals`, `min-items`, and `contains`. Unknown fields and rules are rejected. Packages cannot declare executable hooks, commands, JavaScript modules, network access, or secret access. This is a contract extension system, not a plugin runtime.
|
|
100
|
+
|
|
101
|
+
```json
|
|
102
|
+
{
|
|
103
|
+
"schemaVersion": 1,
|
|
104
|
+
"package": { "name": "Conversion Evidence", "version": "1.0.0" },
|
|
105
|
+
"pack": {
|
|
106
|
+
"version": 1,
|
|
107
|
+
"id": "conversion-evidence",
|
|
108
|
+
"title": "Conversion evidence",
|
|
109
|
+
"description": "Makes conversion assumptions reviewable.",
|
|
110
|
+
"stages": ["plan", "qa"],
|
|
111
|
+
"capability": { "id": "conversion-evidence", "version": 1, "status": "active", "stages": ["plan", "qa"] },
|
|
112
|
+
"questions": ["Which conversion decision is supported by evidence?"],
|
|
113
|
+
"artifact": { "stage": "plan", "path": ".cosmo/intelligence/artifacts/conversion-evidence/evidence.json", "requiredKeys": ["version", "hypotheses"], "nonEmptyKeys": ["hypotheses"], "template": { "version": 1, "hypotheses": [] } },
|
|
114
|
+
"guidance": { "claude": "Document assumptions before designing.", "codex": "Preserve approved experiment ids." },
|
|
115
|
+
"checks": [{ "id": "enough-hypotheses", "severity": "blocking", "path": "hypotheses", "rule": "min-items", "min": 2, "message": "Record at least two hypotheses." }]
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
## Repository ownership
|
|
121
|
+
|
|
122
|
+
`.cosmo/intelligence/selection.json` is the active selection. `.cosmo/intelligence/packs/*.json` contains the exact selected contracts. Capability Registry v2 mirrors the profile, pack ids, and active pack capabilities. These files and completed pack artifacts are portable project inputs and appear in handoffs. An older Capability Registry v1 project remains readable as the lean profile.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Operator Commands
|
|
2
|
+
|
|
3
|
+
`cosmo doctor .` checks whether a project, Node, npm, dependencies, Chrome/Chromium, the `.cosmo` workspace, and an optional deployment target are usable. Warnings identify optional setup; failures return a nonzero exit code. It never connects to a host or reads credential values. Add `--json` for automation.
|
|
4
|
+
|
|
5
|
+
`cosmo status .` provides a read-only summary across workflow, brand approval, selected and imported intelligence, plan, generation, QA, release readiness, and deployment. Add `--json` for a stable structured response.
|
|
6
|
+
|
|
7
|
+
Use doctor when establishing or moving a project between machines. Use status at the start of every Claude or Codex session and before deciding which workflow command to run next.
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# Cosmo Page Production
|
|
2
|
+
|
|
3
|
+
Generation progress v2 records the real state of each page instead of treating content creation as one opaque operation.
|
|
4
|
+
|
|
5
|
+
## State machine
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
planned → briefed → sourced → outlined → drafted → edited → verified → done
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
`failed` is a recoverable side state. `retry` returns a page to the state from which it failed.
|
|
12
|
+
|
|
13
|
+
Each transition validates its required artifact:
|
|
14
|
+
|
|
15
|
+
| From | Required artifact or gate |
|
|
16
|
+
|---|---|
|
|
17
|
+
| `planned` | Plan-derived `brief.json` agrees with Plan v3 |
|
|
18
|
+
| `briefed` | `sources.json` covers every planned proof and agrees with the evidence ledger |
|
|
19
|
+
| `sourced` | `outline.json` places every planned claim and proof in a purposeful section |
|
|
20
|
+
| `outlined` | The planned typed Markdown content file exists |
|
|
21
|
+
| `drafted` | `editorial-report.json` passes all required checks and matches the repair attempt |
|
|
22
|
+
| `edited` | Full architecture, link, claim, proof, source, and provenance verification |
|
|
23
|
+
| `verified` | Final revalidation before recording `done` |
|
|
24
|
+
|
|
25
|
+
The progress file and append-only generation events are pipeline state. The page workspace and content remain the substantive source of truth.
|
|
26
|
+
|
|
27
|
+
## Workspace artifacts
|
|
28
|
+
|
|
29
|
+
Create non-destructive skeletons for the approved plan:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
cosmo generate workspace --all .
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Each `.cosmo/work/pages/{id}/` directory contains:
|
|
36
|
+
|
|
37
|
+
- `brief.json`: inherited audience, architecture, graph, claim, and proof contract.
|
|
38
|
+
- `sources.json`: one record per carried proof, synchronized with the evidence ledger.
|
|
39
|
+
- `outline.json`: purposeful sections with answer targets, CTA roles, and claim/proof placement.
|
|
40
|
+
- `editorial-report.json`: explicit editorial checks, findings, and repair-attempt number.
|
|
41
|
+
|
|
42
|
+
Workspace creation does not overwrite existing work unless `--replace` is supplied. Skeleton outlines and editorial reports intentionally fail until completed.
|
|
43
|
+
|
|
44
|
+
## Operating the queue
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
cosmo generate start . --max-pages 12
|
|
48
|
+
cosmo generate next .
|
|
49
|
+
cosmo generate advance home .
|
|
50
|
+
cosmo generate status .
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
`next` reports the current production state, next state, required action, and required artifact. `advance` moves exactly one transition and refuses to move when its gate fails. After the page reaches `verified`:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
cosmo generate complete home .
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Editorial findings
|
|
60
|
+
|
|
61
|
+
Editorial reports check:
|
|
62
|
+
|
|
63
|
+
- Intent fidelity
|
|
64
|
+
- Project-owned voice
|
|
65
|
+
- Evidence placement
|
|
66
|
+
- Redundancy
|
|
67
|
+
- AudienceIntegrity
|
|
68
|
+
|
|
69
|
+
Findings have a kebab-case `code`, `blocking` or `warning` severity, `open` or `resolved` status, and a message. A passing report cannot retain an open blocking finding.
|
|
70
|
+
|
|
71
|
+
## Bounded repair
|
|
72
|
+
|
|
73
|
+
When a drafted, edited, or verified page needs another content pass:
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
cosmo generate repair home . --reason "The proof is present but disconnected from the claim"
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
The page returns to `drafted`, the repair count increments, and the editorial report must be rewritten with the matching attempt number. Two automated repair cycles are allowed. A third repair request changes the page to `failed` with `human-review-required`; another automated loop cannot silently continue.
|
|
80
|
+
|
|
81
|
+
A human can resolve the underlying issue and explicitly run `retry`, which restores the page to `drafted`.
|
package/docs/ROADMAP.md
ADDED
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
# Cosmo Roadmap
|
|
2
|
+
|
|
3
|
+
## Milestone 1 — Foundation (complete)
|
|
4
|
+
|
|
5
|
+
- Local CLI with `init`, `dev`, `build`, `check`, and `status`.
|
|
6
|
+
- Claude Design brief and design capture commands.
|
|
7
|
+
- Astro 7 static starter with strict TypeScript.
|
|
8
|
+
- Typed section-based content collection.
|
|
9
|
+
- Five-page vertical slice, retained as the reference acceptance fixture.
|
|
10
|
+
- Shared SEO, schema, sitemap, robots, responsive, and accessibility foundations.
|
|
11
|
+
- Build-output QA and CLI unit tests.
|
|
12
|
+
|
|
13
|
+
## Milestone 2 — Workflow engine (complete)
|
|
14
|
+
|
|
15
|
+
- Versioned stage contracts and state transitions.
|
|
16
|
+
- Brand brief, design selection, homepage, template, plan, generation, and QA gates.
|
|
17
|
+
- Explicit sign-off records.
|
|
18
|
+
- Append-only activity log and reliable resume behavior.
|
|
19
|
+
- Custom workflow files with schema validation.
|
|
20
|
+
|
|
21
|
+
## Milestone 3 — Programmatic generation (complete)
|
|
22
|
+
|
|
23
|
+
- Page-type schemas for services, locations, guides, answers, and comparisons.
|
|
24
|
+
- Typed site graph with parent, sibling, support, and conversion edges.
|
|
25
|
+
- Batch generation with per-page checkpoints.
|
|
26
|
+
- Evidence requirements and unsupported-claim blocking.
|
|
27
|
+
- Thin-content, duplicate-intent, and orphan-page prevention.
|
|
28
|
+
|
|
29
|
+
The initial thin-content guard was structural; Milestone 9 replaced that limitation with project-owned semantic and editorial QA.
|
|
30
|
+
|
|
31
|
+
## Milestone 4 — Browser QA (complete)
|
|
32
|
+
|
|
33
|
+
- Automated checks at 320px, 768px, and 1440px.
|
|
34
|
+
- Accessibility scans and keyboard-path checks.
|
|
35
|
+
- Visual reference captures after design approval.
|
|
36
|
+
- Lighthouse and optional PageSpeed sampling.
|
|
37
|
+
- JSON-LD validation and richer sitemap verification.
|
|
38
|
+
|
|
39
|
+
Lighthouse thresholds currently produce warnings so performance variance remains visible without making a single local sample an unreliable delivery blocker. Accessibility failures from rendered WCAG checks remain blocking.
|
|
40
|
+
|
|
41
|
+
## Milestone 5 — Agent continuity and acceptance pilot (complete)
|
|
42
|
+
|
|
43
|
+
- Separate Claude-first and Codex-continuation repository instructions.
|
|
44
|
+
- Human-readable and machine-readable handoff artifacts.
|
|
45
|
+
- Workflow, plan, generation, and QA state captured without chat history.
|
|
46
|
+
- Clean initializer boundary that excludes all prior runtime and report state.
|
|
47
|
+
- Independent fresh-install pilot through all eight workflow stages.
|
|
48
|
+
|
|
49
|
+
The acceptance pilot completed five generation entries, static and browser QA with zero findings, final operator approval, and a Claude-to-Codex handoff. Lighthouse scored 100 in all four sampled categories.
|
|
50
|
+
|
|
51
|
+
## Milestone 6 — Integrity foundation (complete)
|
|
52
|
+
|
|
53
|
+
- Project capability registry with an explicit lean default profile.
|
|
54
|
+
- Entity Canon and project-owned voice profile.
|
|
55
|
+
- Build Plan v2 four-question page-purpose contracts and AudienceIntegrity.
|
|
56
|
+
- Stable claim and proof ids with risk, provenance, source, and verification state.
|
|
57
|
+
- Plan-derived per-page briefs with drift detection.
|
|
58
|
+
- Generation blocking for unverified proof and content-to-ledger source or provenance drift.
|
|
59
|
+
- Backward-compatible Plan v1 reading for existing projects.
|
|
60
|
+
|
|
61
|
+
## Milestone 7 — Architecture intelligence (complete)
|
|
62
|
+
|
|
63
|
+
- Build Plan v3 page archetypes, indexability, funnel, awareness, and demand-confidence contracts.
|
|
64
|
+
- Exact query-pattern collision rejection and explicit boundaries for near-topic overlaps.
|
|
65
|
+
- Governed parent, sibling, supporting, and conversion links with reasons and anchor intent.
|
|
66
|
+
- Page briefs that inherit and drift-check the complete architecture.
|
|
67
|
+
- Generation gates for architecture and link fidelity.
|
|
68
|
+
- `noindex` rendering, sitemap exclusion, and static QA enforcement.
|
|
69
|
+
|
|
70
|
+
## Milestone 8 — Page production pipeline (complete)
|
|
71
|
+
|
|
72
|
+
- Generation progress v2 with eight explicit per-page production states.
|
|
73
|
+
- Source manifests synchronized with the evidence ledger.
|
|
74
|
+
- Claim-and-proof-aware outlines with purpose, answer target, and CTA role.
|
|
75
|
+
- Structured editorial reports and blocking-finding enforcement.
|
|
76
|
+
- One-gate-at-a-time CLI advancement with required-action guidance.
|
|
77
|
+
- Two-cycle repair limit followed by explicit human-review escalation.
|
|
78
|
+
- Production state captured in Claude-to-Codex handoffs.
|
|
79
|
+
|
|
80
|
+
## Milestone 9 — Semantic and editorial QA (complete)
|
|
81
|
+
|
|
82
|
+
- Project-owned, versioned content-integrity policy.
|
|
83
|
+
- Entity Canon and Plan v3 drift detection across every content entry.
|
|
84
|
+
- Voice-boundary, generic-language, and manipulative-CTA findings.
|
|
85
|
+
- Evidence verification, source, provenance, and indexability enforcement.
|
|
86
|
+
- Cross-page long-passage duplication blocking.
|
|
87
|
+
- Transparent commodity, premium, and noncommodity evidence tiers.
|
|
88
|
+
- Content QA added to the default QA workflow and agent handoff.
|
|
89
|
+
|
|
90
|
+
## Milestone 10 — Starter/reference separation (complete)
|
|
91
|
+
|
|
92
|
+
- Completed Cosmo/Phoenix site moved to a dedicated reference and acceptance fixture.
|
|
93
|
+
- `cosmo init` reduced to neutral home/about scaffolds with no business, service, or location assumptions.
|
|
94
|
+
- Every initializer route defaults to `noindex` with pending project-owned evidence.
|
|
95
|
+
- Starter build plan defaults to a valid but explicitly unapproved draft.
|
|
96
|
+
- Draft plan and brief validation separated from approval-gated generation.
|
|
97
|
+
- Regression tests prevent reference-site claims or routes from leaking back into the initializer.
|
|
98
|
+
|
|
99
|
+
## Milestone 11 — v1.0 intelligence profiles and packs (complete)
|
|
100
|
+
|
|
101
|
+
- Lean default plus authority-site, local-authority, editorial-research, regulated-authority, design-led, and full-authority profiles.
|
|
102
|
+
- Optional authority, local, editorial, regulated, research, image-direction, and Claude Design packs.
|
|
103
|
+
- Repository-owned pack manifests with discovery questions and separate Claude/Codex guidance.
|
|
104
|
+
- Capability Registry v2 synchronization with backward-compatible v1 reading.
|
|
105
|
+
- Editable pack artifact scaffolds and stage-specific workflow gates.
|
|
106
|
+
- Direct-generation enforcement when selected pack stages were bypassed.
|
|
107
|
+
- Intelligence selection captured in durable agent handoffs.
|
|
108
|
+
|
|
109
|
+
## Milestone 12 — v1.1 intelligence execution (complete)
|
|
110
|
+
|
|
111
|
+
- Shared structured intelligence evaluation and report engine.
|
|
112
|
+
- Specialized authority, local, editorial, regulated, research, image-direction, and Claude Design evaluators.
|
|
113
|
+
- Pack fidelity checks across plans, evidence, typed content, research findings, image assets, reference renders, and captured design systems.
|
|
114
|
+
- Blocking intelligence findings integrated into the QA workflow gate.
|
|
115
|
+
- Intelligence QA status included in durable Claude-to-Codex handoffs.
|
|
116
|
+
- Deliberate-failure tests proving every pack detects its targeted failure modes.
|
|
117
|
+
|
|
118
|
+
## Milestone 13 — v1.2 delivery readiness (complete)
|
|
119
|
+
|
|
120
|
+
- One final release decision across workflow, generation, plan, identity, design, and all QA reports.
|
|
121
|
+
- Stale-report detection after source or durable Cosmo inputs change.
|
|
122
|
+
- Intelligence-selection drift detection at delivery time.
|
|
123
|
+
- Portable source-derived release identifiers.
|
|
124
|
+
- Machine-readable delivery reports and human-readable `DELIVERY.md` manifests.
|
|
125
|
+
- Delivery state captured in Claude-to-Codex handoffs.
|
|
126
|
+
- Acceptance fixtures for blocked starters, complete releases, and post-QA source drift.
|
|
127
|
+
|
|
128
|
+
## Milestone 14 — v1.3 preview and deployment (complete)
|
|
129
|
+
|
|
130
|
+
- Provider-neutral deployment configuration, preflight, execution, and history boundary.
|
|
131
|
+
- Local production-preview command independent of remote providers.
|
|
132
|
+
- Cloudflare Pages Direct Upload adapter for static Astro output.
|
|
133
|
+
- Review deployments for blocked work in progress with readiness retained in history.
|
|
134
|
+
- Production enforcement of the exact recorded READY release ID.
|
|
135
|
+
- Durable success and failure history without persisted terminal output or credentials.
|
|
136
|
+
- Provider deployment IDs and production-only rollback eligibility metadata.
|
|
137
|
+
- Deployment state included in durable Claude-to-Codex handoffs.
|
|
138
|
+
|
|
139
|
+
## Milestone 15 — v1.3.1 file-transfer deployment (complete)
|
|
140
|
+
|
|
141
|
+
- SFTP, explicit or implicit FTPS, and acknowledged plain FTP providers.
|
|
142
|
+
- Runtime env-file loading with process-environment precedence and no persisted credential values.
|
|
143
|
+
- Mandatory SFTP host-key verification and password or private-key authentication.
|
|
144
|
+
- Separate file-transfer preview destinations to protect production paths.
|
|
145
|
+
- SHA256 deployment manifests and changed-file-only uploads.
|
|
146
|
+
- Non-destructive remote behavior with no implicit deletion.
|
|
147
|
+
- Sanitized failure history and transfer counts for durable handoffs.
|
|
148
|
+
|
|
149
|
+
## Milestone 16 — v1.4 extension and operator layer (complete)
|
|
150
|
+
|
|
151
|
+
- Safely importable intelligence packages with schema validation and SHA256 version locks.
|
|
152
|
+
- Declarative artifact checks without executable third-party hooks.
|
|
153
|
+
- Guided, human-approved brand discovery stored with the project.
|
|
154
|
+
- Brand discovery enforcement in the default workflow.
|
|
155
|
+
- Read-only environment diagnosis with `cosmo doctor`.
|
|
156
|
+
- Unified workflow, generation, QA, release, and deployment visibility with `cosmo status`.
|
|
157
|
+
|
|
158
|
+
## Milestone 17 — v1.5 first-party capability absorption (complete)
|
|
159
|
+
|
|
160
|
+
- Built-in audience intelligence with explicit supplied, observed, inferred, and unknown states.
|
|
161
|
+
- Defensible differentiation with commodity ceilings and verified ownership classes.
|
|
162
|
+
- Search and community synthesis with dated provenance, untrusted-source boundaries, and niche-before-location enforcement.
|
|
163
|
+
- Conversion-system contracts for CTA hierarchy, trust proof, forms, consent, mobile behavior, events, and page mappings.
|
|
164
|
+
- Editorial-naturalness review using voice samples, false-positive allowances, and contextual pattern clusters.
|
|
165
|
+
- Branded-language governance with canonical definitions and proof for original-concept claims.
|
|
166
|
+
- Growth, search-authority, and brand-led profiles plus stage-specific agent guidance.
|
|
167
|
+
- No runtime or distribution dependency on private Lyra or Sonic files.
|
|
168
|
+
|
|
169
|
+
## Milestone 18 — v1.5.1 conversational Claude launcher (complete)
|
|
170
|
+
|
|
171
|
+
- Claude Code plugin with natural `cosmo` invocation and explicit `/cosmo:cosmo` fallback.
|
|
172
|
+
- One-command local installation with strict Claude plugin validation and a repository-bound CLI shim.
|
|
173
|
+
- Directory-aware routing for new builds, existing Cosmo projects, existing Astro sites, and unrelated non-empty folders.
|
|
174
|
+
- Safe Astro adoption that preserves existing source, configuration, dependencies, public assets, and agent instructions.
|
|
175
|
+
- Local-state resume behavior with workflow, intelligence, approval, QA, release, handoff, and deployment awareness.
|
|
176
|
+
- Human approval and evidence boundaries carried into the conversational entry point.
|
|
177
|
+
|
|
178
|
+
## Later, only when justified
|
|
179
|
+
|
|
180
|
+
- Additional deployment adapters, including Cloudflare Workers.
|
|
181
|
+
- Headless CMS integrations.
|
|
182
|
+
- Astro Actions for server-handled forms.
|
|
183
|
+
- Commerce integrations.
|
|
184
|
+
- Optional project dashboard.
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Cosmo Workflows
|
|
2
|
+
|
|
3
|
+
## Default stages
|
|
4
|
+
|
|
5
|
+
| Stage | Required output | Approval |
|
|
6
|
+
|---|---|---|
|
|
7
|
+
| Intake | `.cosmo/intake.json` | Automatic |
|
|
8
|
+
| Brand | Brand brief, Entity Canon, voice profile, and evidence ledger | Operator |
|
|
9
|
+
| Design | Direction, CSS tokens, captured manifest | Operator |
|
|
10
|
+
| Homepage | Homepage content and shared page renderer | Operator |
|
|
11
|
+
| Template | Typed content schema and section renderer | Operator |
|
|
12
|
+
| Plan | Approved Plan v3 plus valid derived page briefs | Operator |
|
|
13
|
+
| Generate | `.cosmo/progress.json` | Automatic |
|
|
14
|
+
| QA | Passing content, static, and browser reports | Operator |
|
|
15
|
+
|
|
16
|
+
Use `cosmo workflow resume` at any time to print the current stage, its instructions, its approval behavior, and the artifacts still expected.
|
|
17
|
+
|
|
18
|
+
## Artifact contracts
|
|
19
|
+
|
|
20
|
+
An expectation can be a relative file path:
|
|
21
|
+
|
|
22
|
+
```json
|
|
23
|
+
"expects": ["BRAND-BRIEF.md"]
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Or a structured JSON contract:
|
|
27
|
+
|
|
28
|
+
```json
|
|
29
|
+
{
|
|
30
|
+
"path": ".cosmo/reports/site-check.json",
|
|
31
|
+
"kind": "json",
|
|
32
|
+
"requiredKeys": ["passed", "summary.pages", "summary.critical"],
|
|
33
|
+
"equals": { "passed": true }
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
All paths are resolved inside the project. Absolute paths and parent-directory traversal are rejected.
|
|
38
|
+
|
|
39
|
+
## Custom workflows
|
|
40
|
+
|
|
41
|
+
Custom workflows may add stages around the core methodology but cannot remove, duplicate, or reorder the core stages. For example, a regulated business could insert this stage between brand and design:
|
|
42
|
+
|
|
43
|
+
```json
|
|
44
|
+
{
|
|
45
|
+
"id": "legal-review",
|
|
46
|
+
"type": "custom",
|
|
47
|
+
"title": "Legal and claims review",
|
|
48
|
+
"instructions": "Confirm regulated claims, disclaimers, and evidence before design begins.",
|
|
49
|
+
"approval": true,
|
|
50
|
+
"expects": ["LEGAL-REVIEW.md"]
|
|
51
|
+
}
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Import and select a workflow with:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
cosmo workflow import ./regulated-workflow.json .
|
|
58
|
+
cosmo workflow start . --workflow regulated-workflow
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## State and history
|
|
62
|
+
|
|
63
|
+
- `.cosmo/workflow-state.json` is the current resumable state.
|
|
64
|
+
- `.cosmo/project.json` mirrors the current stage for simple status reporting.
|
|
65
|
+
- `.cosmo/activity.jsonl` is an append-only transition history.
|
|
66
|
+
|
|
67
|
+
State files never contain credentials or hidden conversation history.
|
|
68
|
+
|
|
69
|
+
The QA stage requires `.cosmo/reports/content-check.json`, `.cosmo/reports/site-check.json`, and `.cosmo/reports/browser-check.json` with `passed: true`. Screenshots support review but are intentionally excluded from the artifact contract because they are generated evidence rather than mutable workflow state.
|
|
70
|
+
|
|
71
|
+
Plan submission performs semantic validation in addition to the declared file expectations. The Plan v3 architecture, governed graph, capability registry, Entity Canon, voice profile, evidence ledger, and every derived page brief must agree before the stage can await approval.
|