# Encyclopedia voice-process imports

Use this reference when Margarita sends long voice-note streams, Telegram oversize voice files, or a Google Drive folder and asks to “read everything and add it to the encyclopedia.”

## Goal

Convert dense spoken process material into **class-level Cosmos Luminosity concepts**, not a transcript dump and not one page per audio file.

Typical output is a set of cross-linked Markdown pages in:

`/home/spazio/cosmos_luminosity_encyclopedia/content/`

Each page should have YAML frontmatter:

```yaml
title: English / Русский
slug: kebab-case
category: method|process|ritual|state|cosmology|source-map
summary: One sentence.
links: [hacking-foundation, meaning-making, ...]
```

## Workflow

1. **Acquire all material**
   - For Google Drive public folders: download with `gdown --folder URL -O <job>/downloads`.
   - If Drive returns 401/sign-in page, ask Margarita to set sharing to “Anyone with the link / Viewer.”
   - If Telegram voice notes are skipped because they exceed the 20 MB platform limit, tell her exactly that and ask for Drive/Dropbox or smaller 5–10 minute parts.

2. **Transcribe audio**
   - Use `audio-transcription` workflow.
   - For batches of ~1h+ audio, run transcription as a tracked background process with `notify_on_complete=true`.
   - Store outputs under a stable import folder, e.g.:
     `/home/spazio/cosmos_luminosity_encyclopedia/audio_imports/<source>_<date>/out/`

3. **Read docx + transcripts**
   - Read `.docx` with `read_file`; use offsets when extracted text exceeds the safety limit.
   - For large transcript batches, first make a source inventory: filename, duration/size if known, rough themes.

4. **Extract ontology**
   Identify reusable concepts and processes. Typical classes from the 2026-09-14 import:
   - `self-honoring-capital-account` — money ritual/account as self-honor and capital container.
   - `barrier-dissolution-and-becoming` — lowering/dissolving barriers before choosing a larger being-state.
   - `sovereign-energy-management` — reclaiming force/focus/discipline from outsourced contracts and false promises.
   - `discipline-immersion-practice` — guided Earth/body/field practice for true discipline.
   - `body-as-oracle` — asking the body for exact integration support: water, salt, sweet/salty food, rest, quantity.
   - `abilities-as-default-functions` — abilities as default being-functions to recognize and manage.
   - `subtle-world-entities-and-allies` — entities, flows, team/allies and subtle-world interaction map.
   - `children-subtle-perception` — children’s fears/dreams/media fields as sensitivity and ability signals.
   - `relaxed-observational-silence` — daily state filter of relaxation and quiet wide awareness.

5. **Write pages + source map**
   - Create/patch concept pages.
   - Patch `index.md` with new entries.
   - Create a source-map page for the import, e.g. `entities-drive-import-YYYY-MM-DD.md`, listing processed files and pages created.
   - Verify via the local API if the encyclopedia server is running: `/api/article/<slug>`.

6. **Report concisely**
   - Tell Margarita what was processed, what pages were added/updated, and provide the viewing URL if available.
   - Avoid pasting the full ontology unless she asks.

## Content handling

- Preserve Margarita’s concepts but convert raw energetic flow into stable method pages: definition, source note, core principle, steps/questions, Hacking Statements, connected pages.
- When source material includes sensitive grief/abortion/pregnancy-loss themes, use gentle ritual-container language and include a support caveat; do not present it as medical or psychological treatment.
- For third-party materials such as Tатьяна Рейн webinars, synthesize into Cosmos Luminosity notes in your own words; avoid long quotations.

## Local site / phone access pitfall

If Margarita says `http://127.0.0.1:<port>` does not open on her phone, explain that `127.0.0.1` is local to the server. Offer:

```bash
cloudflared tunnel --url http://127.0.0.1:<port>
```

Return the generated `https://...trycloudflare.com` URL as temporary access. For permanent access, propose domain + nginx + SSL.
