# CODEX LEAD — FOUNDING PROSPECTUS VIA CODEINA

**Date:** 2026-08-02  
**Lead implementer:** **Codex** (you)  
**Runtime / agent bus:** **Codeina** (`C:\Users\vanis\Codeina`)  
**Client project (outside Codeina):** Founding Prospectus + CLF  

Codex may use **ChatGPT conversation history** (and any linked session context) to recover full manuscript language, chapter order, and editorial intent. Do **not** invent content. Port and assemble only.

---

## Mission

Direct **Codeina** (brain, swarm agents, rebuild scripts, Telegram status) to **create and complete** the CommUNITY Land Foundation **Founding Prospectus** publishing system **in the strict order below**.

This is **assembly · typesetting · pagination · validation · export** — not creative rewriting.

**Tagline:** The Future Is Cultivated.  
**Org:** CommUNITY Land Foundation  
**Voice:** museum catalogue · conservation journal · quiet · accurate  

---

## Workspace roots (authorized)

| Root | Role |
|------|------|
| `C:\Users\vanis\Desktop\Founding_Prospectus\` | Generators + PDF outputs (source of truth for builds) |
| `C:\Users\vanis\Desktop\CommUNITY_Land_Foundation\` | Client project shell, specs, exports mirror |
| `C:\Users\vanis\Codeina\` | Brain, swarm, Life OS, Telegram — **do not** write prospectus into `brain/` or `frontend/` |

Junction: `CommUNITY_Land_Foundation\source_founding_prospectus` → `Founding_Prospectus`.

---

## Read first (mandatory)

1. This file  
2. `C:\Users\vanis\Desktop\CommUNITY_Land_Foundation\specs\CODEINA_MASTER_BUILD_SPECIFICATION.md`  
3. `C:\Users\vanis\Desktop\Founding_Prospectus\CODEINA_AGENT_BUILD_SPEC.md`  
4. `C:\Users\vanis\Desktop\Founding_Prospectus\publishing\LIBRARY.md`  
5. `C:\Users\vanis\Desktop\Founding_Prospectus\HANDOFF_CODEINA_OPENCLAW.md`  
6. Existing generators: `Founding_Prospectus\build_pdfs.py`, `Founding_Prospectus\publishing\`  

From ChatGPT history (when available): recover full Book I–IX wording, installments, governance/manual language — **port into structure**, do not paraphrase down to summaries.

---

## Hard rules

1. **Never invent** properties, acreage, partners, impact stats, completed projects, or financial results.  
2. Missing facts → clearly labeled **PLACEHOLDER / Reserved**.  
3. Book VII **Stories of Stewardship** stays reserved until verified projects exist.  
4. Do not rewrite philosophy into marketing.  
5. Do not put secrets in chat, PDFs, or reports.  
6. Brand: Forest `#1f3829` · Bronze `#8c6b38` · Ivory `#f7f2e6` · Charcoal `#2e2e2e` · Water `#38667f` (maps only).  
7. Flagship trim **9×12 in** (Letter OK for drafts).  
8. Report with labels: `[CODEX LEAD]`, `[TYPESETTER]`, `[VALIDATOR]`, `[PDF EXPORT]`, `[DIRECTOR]`, `[BLOCKED]`, `[COMPLETE]`.  
9. Founder approval required before public publish, spend, or irreversible legal language changes.

---

## How Codex manages Codeina

### A. Keep Codeina stack healthy

```
C:\Users\vanis\Codeina\START_LIFE_OS.bat
```

- Brain API: `http://127.0.0.1:8787/status`  
- Swarm agents: director, lia, typesetter, validator, pdf_export, openclaw, hermes, cursor, codex, researcher  
- One Telegram poller only  

### B. Assign roles (do not fake “live” without health)

| Agent | Job on this project |
|-------|---------------------|
| **codex** (you) | Lead: plan, edit code, run builds, gate order |
| **director** | Queue priority; never rewrite manuscript |
| **typesetter** | HTML/CSS + ReportLab layout, folios, openers |
| **validator** | No-invented-data scan; PLACEHOLDER compliance |
| **pdf_export** | Merges, COMPLETE_PACKAGE, CLF exports copy |
| **openclaw** / **hermes** | Script runs + Telegram status (not rewrite) |
| **cursor** | Large code edits if available |

Telegram examples:

```
director: prioritize Founding Prospectus phase list from CODEX_FOUNDING_PROSPECTUS_DIRECTIVE
typesetter: expand HTML Book I–III from existing manuscript only
validator: scan PDFs/HTML for invented acres/partners
```

### C. Rebuild commands (after each phase that touches generators)

```powershell
cd C:\Users\vanis\Desktop\Founding_Prospectus
python build_pdfs.py
cd publishing
python build.py --all

cd C:\Users\vanis\Desktop\CommUNITY_Land_Foundation
powershell -File .\scripts\rebuild_exports.ps1
```

Write short evidence to:

- `Founding_Prospectus\CODEINA_RUN_REPORT.md`  
- `CommUNITY_Land_Foundation\logs\` (timestamped)

---

# STRICT BUILD ORDER

Execute **in this order**. Do not skip ahead to manuals until narrative Volume I structure is wired. Companion manuals 013–023 are largely complete — **verify and merge**, do not rebuild from zero unless broken.

---

## PHASE 0 — Baseline (gate)

1. Confirm both workspace roots exist and junction works.  
2. Run both build pipelines; record exit codes.  
3. Inventory existing PDFs vs missing.  
4. Confirm Codeina `:8787` or note offline.  

**Gate 0:** rebuild succeeds or failures documented; inventory written.

---

## PHASE 1 — Design system lock

1. Tokens: `CommUNITY_Land_Foundation\design\tokens.json` (forest/bronze/ivory…).  
2. `publishing\styles\book.css` consistent with brand.  
3. Cover / chapter opener patterns match LIBRARY voice.  

**Gate 1:** tokens + CSS present; sample cover/chapter builds.

---

## PHASE 2 — PDF 001 Front Matter

Cover · endpapers · half title · title · dedication · prelude · Founder’s Letter · Book I opener.

Sources: existing HTML `00-cover`, reportlab covers, ChatGPT/founding letter text.  
**No** fake dedication people or invented board lists.

**Gate 2:** front-matter PDF or chapter set in `publishing/dist/` + reportlab where applicable.

---

## PHASE 3 — PDF 002 Book I: The Declaration

Port chapters (do not rewrite):

- Before the Forest  
- The Invisible Architecture  
- Stewardship  
- The Long Horizon  
- Reflection / hero / pull-quote pages as in manuscript  

Files: `publishing/chapters/book-i-declaration.html` (+ reportlab if dual pipeline).  

**Gate 3:** Book I builds to PDF; no invented metrics.

---

## PHASE 4 — PDF 003 Book II: Conditions of Human Flourishing

Land · Water · Soil · Belonging · Trust · Education · Community · systems diagrams (schematic only).

**Gate 4:** Book II PDF builds.

---

## PHASE 5 — PDF 004 Book III: Philosophy of Stewardship

Responsibility · Reciprocity · Legacy · Time · Humility · Hope (and related principles already written).

**Gate 5:** Book III PDF builds.

---

## PHASE 6 — PDF 005 Book IV: Architecture of Human Flourishing

Architecture diagram · stewardship framework · conditions diagram · theory of change · decision framework · watershed model (schematic; no fake maps of real holdings).

Sources: narrative Books IV–IX PDF / `build_pdfs.py` / HTML `book-iv-architecture.html`.

**Gate 6:** Book IV PDF builds.

---

## PHASE 7 — PDF 006 Book V: The Institution

Mission · governance · transparency · decision making · institutional trust · long-term thinking.

**Gate 7:** Book V PDF builds.

---

## PHASE 8 — PDF 007 Book VI: Stewardship Pathways

Conservation · forests · water · prairies · education · community · food · research · volunteers · partnerships — **as pathways, not claimed completed programs**.

**Gate 8:** Book VI PDF builds.

---

## PHASE 9 — PDF 008 Book VII: Stories of Stewardship

**PLACEHOLDER / Reserved only.** Do not invent case studies. Template pages OK.

**Gate 9:** Reserved volume present and clearly labeled.

---

## PHASE 10 — PDF 009 Book VIII: Become a Steward

Invitation · participation · pledge (from manuscript only).

**Gate 10:** Book VIII PDF builds.

---

## PHASE 11 — PDF 010 Book IX: Letter to Future Generations

Quiet closing from manuscript (`book-ix-letter.html` / reportlab).

**Gate 11:** Book IX PDF builds.

---

## PHASE 12 — Narrative packages

1. `Founding_Prospectus_Narrative_Books_I-III.pdf` (full when ready)  
2. `Founding_Prospectus_Narrative_Books_IV-IX.pdf`  
3. HTML combined: `publishing/dist/Founding_Prospectus_HTML.pdf`  

**Gate 12:** narrative packages rebuild clean.

---

## PHASE 13 — Companion library (verify; fix only if broken)

In order:

| ID | Title |
|----|--------|
| 013 | Appendices & Founding Commitments |
| 014 | Brand & Editorial Standards |
| 015 | Governance & Stewardship Manual |
| 016 | Land Stewardship Framework |
| 017 | Stewardship Operations Manual |
| 018 | Volunteer & Steward Handbook |
| 019 | Education & Interpretation Manual |
| 020 | Communications & Publications Manual |
| 021 | Finance, Development & Donor Stewardship |
| 022 | Annual Stewardship Report Template |
| 023 | Property Stewardship Plan Template |

Also: `PDF_00_Publication_Map.pdf` (series map — keep aligned with this order).

**Gate 13:** all companions present; rebuild exit 0.

---

## PHASE 14 — Master merge + CLF exports

1. `Founding_Prospectus_COMPLETE_PACKAGE.pdf` (correct merge order)  
2. Copy into `CommUNITY_Land_Foundation\exports\pdf\` via `rebuild_exports.ps1`  
3. Register with Codeina brain if script exists: `scripts\register_with_codeina_brain.py`  

**Gate 14:** master package exists; CLF exports updated; report written.

---

## PHASE 15 — Validation & handoff

1. **Validator** scan for banned patterns (invented acres, partners, “completed restoration of…” without IDs).  
2. Update `CODEINA_RUN_REPORT.md` and phase checklist below.  
3. Telegram: `[COMPLETE]` with paths and remaining human editorial items.  
4. Do **not** claim 9×12 press-certified or licensed photos unless assets exist.

**Gate 15:** checklist complete; founder can review PDFs.

---

# PHASE CHECKLIST (update as you go)

- [ ] 0 Baseline  
- [ ] 1 Design system  
- [ ] 2 PDF 001 Front matter  
- [ ] 3 PDF 002 Book I  
- [ ] 4 PDF 003 Book II  
- [ ] 5 PDF 004 Book III  
- [ ] 6 PDF 005 Book IV Architecture  
- [ ] 7 PDF 006 Book V Institution  
- [ ] 8 PDF 007 Book VI Pathways  
- [ ] 9 PDF 008 Book VII Stories (PLACEHOLDER)  
- [ ] 10 PDF 009 Book VIII Become a Steward  
- [ ] 11 PDF 010 Book IX Letter  
- [ ] 12 Narrative packages  
- [ ] 13 Companions 013–023 + map  
- [ ] 14 Master merge + CLF exports  
- [ ] 15 Validation + handoff  

---

## Paste-to-Codex one-shot (session start)

```
You are CODEX LEAD managing Codeina for the CommUNITY Land Foundation Founding Prospectus.

Read and execute gate-by-gate:
C:\Users\vanis\Codeina\docs\finish-directive\CODEX_FOUNDING_PROSPECTUS_DIRECTIVE.md

Workspaces:
- C:\Users\vanis\Desktop\Founding_Prospectus\
- C:\Users\vanis\Desktop\CommUNITY_Land_Foundation\
- Codeina brain only for agents/status (do not put manuscript into Codeina source trees)

Use ChatGPT history and existing manuscript files to PORT full text in STRICT ORDER:
001 Front Matter → Book I → II → III → IV Architecture → V Institution → VI Pathways →
VII Stories PLACEHOLDER → VIII Become a Steward → IX Letter →
narrative packages → companions 013–023 → COMPLETE_PACKAGE → CLF exports.

Assemble/typeset only. No invented land, metrics, or partners.
Brand: forest/bronze/ivory. Tagline: The Future Is Cultivated.
After each phase: rebuild (build_pdfs.py + publishing/build.py) and update CODEINA_RUN_REPORT.md.
Start at Phase 0. Report labeled status. Continue until Gate 15 or a real blocker.
```

---

## Telegram /task (founder)

```
/task CODEX LEAD: Execute docs/finish-directive/CODEX_FOUNDING_PROSPECTUS_DIRECTIVE.md
Founding Prospectus in strict order PDF 001→010 then 013→023 then COMPLETE_PACKAGE.
Workspaces: Desktop\Founding_Prospectus + Desktop\CommUNITY_Land_Foundation.
Port from ChatGPT history + existing files only. No invented content.
Manage Codeina agents: typesetter, validator, pdf_export, director.
```

---

## Done when

- Strict order phases 0–15 checked or blocked with cause  
- Both pipelines exit 0  
- COMPLETE_PACKAGE + CLF exports current  
- `CODEINA_RUN_REPORT.md` lists paths, commands, human review items  
- No fabricated holdings or metrics  

*Editorial authority remains with the Foundation. Codex leads Codeina on assembly and export.*
