This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
RE:GE (Recursive Engine: Generative Entity) is a symbolic operating system for myth, identity, ritual, and recursive systems. It consists of:
- Specification Documentation (
docs/) - Mythic-academic framework expressed through interconnected Markdown - Python Implementation (
rege/) - Fully functional executable system
recursive-engine--generative-entity/
├── rege/ # Python implementation
│ ├── core/ # Constants, models, exceptions
│ ├── parser/ # Invocation syntax parser
│ ├── routing/ # Soul Patchbay queue system
│ ├── organs/ # 10 organ handlers
│ ├── protocols/ # FUSE01, recovery, enforcement
│ ├── persistence/ # JSON archive system
│ └── tests/ # Test suite
├── docs/ # Specification documentation
│ ├── core/ # Core system docs (4NTHOLOGY, constants, linkmap)
│ ├── organs/ # Organ specifications (01-22)
│ ├── protocols/ # Protocol specifications (FUSE01, recovery)
│ ├── interfaces/ # OS interface docs (ritual access, bridges)
│ ├── academic-wing/ # Academic expansion chambers (08-12)
│ └── archive/ # Historical/symbolic fragments
├── README.md # Project overview and usage
├── CLAUDE.md # This file
├── CONTRIBUTING.md # Contribution guidelines
├── LICENSE # MIT License
└── pyproject.toml # Package configuration
RE-GE_4NTHOLOGY_INIT.v1.0.md- Main comprehensive system documentationRE-GE_RECURSIVE_SYSTEM_RENDER_LINKMAP.md- Inter-organ routing and connectionsRE-GE_CONSTANTS_CHARGE_THRESHOLDS.md- 5-tier charge system
22 thematically-named modules functioning like organs of a symbolic body:
- 01 Heart of Canon - Core mythology and canon events
- 02 Mirror Cabinet - Reflection and interpretation
- 03 Mythic Senate - Law governance
- 04 Archive Order - Storage and retrieval
- 05 Ritual Court - Ceremonial logic and contradiction resolution
- 06 Code Forge - Symbol-to-code translation (Python, Max/MSP, JSON)
- 07 Bloom Engine - Generative growth and mutation
- 08 Soul Patchbay - Modular routing hub (all modules connect through here)
- 09 Echo Shell - Recursion interface, whispered loops
- 10 Dream Council - Collective processing and prophecy
- 11 Mask Engine - Identity layers and persona assembly
- 12-22 - Commerce, Blockchain, Monetizer, Audience, Place, Time, Analog-Digital, Process-Product, Consumption, Stagecraft, Publishing
RE-GE_ORG_BODY_00_ACADEMIA_WING_PROTOCOL.md- Foundational academic layerRE-GE_AAW_CORE_08_CANONIZATION_ENGINE.md- How objects enter personal canonRE-GE_AAW_CORE_09_INTERLOCUTOR_PROTOCOLS.md- Dialogue with ghosts, masks, symbolic beingsRE-GE_AAW_CORE_10_GENEALOGY_ENGINE.md- Symbolic lineage and influence mappingRE-GE_AAW_CORE_11_FAILURE_STUDY_CHAMBER.md- Ritual study of collapse and abandonmentRE-GE_AAW_CORE_12_MYTHICAL_CITATION_SYSTEM.md- Recursive attribution and echo tracking
RE-GE_PROTOCOL_FUSE01.md- Fragment fusion protocolRE-GE_PROTOCOL_SYSTEM_RECOVERY.md- System recovery protocolRE-GE_PROTOCOL_COLLABORATOR.md- Collaboration protocol
RE-GE_OS_INTERFACE_01_RITUAL_ACCESS_CONTROLLER.md- Invocation syntax for calling organsRE-GE_OS_INTERFACE_02_EXTERNAL_BRIDGES.md- Obsidian, Git, Max/MSP integration
| Module | Purpose |
|---|---|
core/constants.py |
Charge tiers, priorities, depth limits |
core/models.py |
Fragment, Patch, Invocation data classes |
parser/invocation_parser.py |
Ritual syntax parser |
routing/patchbay.py |
Priority queue system |
organs/*.py |
10 organ handlers |
protocols/fuse01.py |
Fusion protocol |
cli.py |
Command-line interface |
rege invoke '<ritual syntax>' # Execute invocation
rege status # Show system status
rege repl # Interactive mode
rege fragments list|show|create # Fragment management
rege checkpoint create|list # Checkpointing
rege recover [mode] # System recoveryOrgans are called using ritual syntax:
::CALL_ORGAN [ORGAN_NAME]
::WITH [SYMBOL or INPUT]
::MODE [INTENTION_MODE]
::DEPTH [light | standard | full spiral]
::EXPECT [output_form]
| Tier | Range | Behavior |
|---|---|---|
| LATENT | 0-25 | Background, no processing |
| PROCESSING | 26-50 | Active consideration |
| ACTIVE | 51-70 | Full engagement |
| INTENSE | 71-85 | Canon candidate |
| CRITICAL | 86-100 | Immediate action |
Content tagged for tracking: CANON+, ECHO+, ARCHIVE+, VOLATILE+, RITUAL+, MIRROR+, REMIX+, MASK+, FUSE+
Symbol-to-code conversion patterns:
FUNC_MODE- Lyrics become Python functionsCLASS_MODE- Archetypes become classesWAVE_MODE- Emotions become waveforms/LFOsTREE_MODE- Sentences become flowchartsSIM_MODE- Myths become simulations
79+ recursive laws govern the system (e.g., LAW_01: Recursive Primacy, LAW_06: Symbol-to-Code Equivalence)
pytest # Run all tests
pytest --cov=rege # With coverage
pytest rege/tests/test_parser.py -v # Specific file- Maintain the ritual/mythic tone and formatting conventions
- Use the established tag system when adding content
- Respect the inter-organ routing logic (Soul Patchbay as hub)
- Follow the 7-module AAW study flow: INPUT_RITUAL → RAA_ACADEMIC_LOOP → EMI_MYTH_INTERPRETATION → AA10_REFERENCIAL_CROSSMAPPING → SELF_AS_MIRROR → CODE_EXPORT_SCT → RECURSION_ENGINE_ARCHIVE
RE-GE_[TYPE]_[NUMBER]_[NAME].md
- TYPE: ORG_BODY, OS_INTERFACE, AAW_CORE, PROTOCOL
- Stylized with
4replacingAin certain contexts (ET4L, R!4L)
Organ: ORGAN-I (Theory) | Tier: flagship | Status: GRADUATED
Org: organvm-i-theoria | Repo: recursive-engine--generative-entity
- Produces →
unspecified: theory
organon-noumenon--ontogenetic-morphe, auto-revision-epistemic-engine, narratological-algorithmic-lenses, call-function--ontological, sema-metra--alchemica-mundi, cognitive-archaelogy-tribunal, a-recursive-root, radix-recursiva-solve-coagula-redi, .github, nexus--babel-alexandria, 4-ivi374-F0Rivi4, cog-init-1-0-, linguistic-atomization-framework, my-knowledge-base, scalable-lore-expert ... and 10 more
- Foundational theory layer. No upstream dependencies.
Last synced: 2026-04-14T21:31:44Z
If .conductor/active-handoff.md exists, READ IT FIRST before doing any work.
It contains constraints, locked files, conventions, and completed work from the
originating agent. You MUST honor all constraints listed there.
If the handoff says "CROSS-VERIFICATION REQUIRED", your self-assessment will NOT be trusted. A different agent will verify your output against these constraints.
At the end of each session that produces or modifies files:
- Run
organvm session review --latestto get a session summary - Check for unimplemented plans:
organvm session plans --project . - Export significant sessions:
organvm session export <id> --slug <slug> - Run
organvm prompts distill --dry-runto detect uncovered operational patterns
Transcripts are on-demand (never committed):
organvm session transcript <id>— conversation summaryorganvm session transcript <id> --unabridged— full audit trailorganvm session prompts <id>— human prompts only
Plans: 269 indexed | Chains: 5 available | SOPs: 121 active
Discover: organvm plans search <query> | organvm chains list | organvm sop lifecycle
Library: meta-organvm/praxis-perpetua/library/
| Scope | Phase | Name | Description |
|---|---|---|---|
| system | any | atomic-clock | The Atomic Clock |
| system | any | execution-sequence | Execution Sequence |
| system | any | multi-agent-dispatch | Multi-Agent Dispatch |
| system | any | session-handoff-avalanche | Session Handoff Avalanche |
| system | any | system-loops | System Loops |
| system | any | prompting-standards | Prompting Standards |
| system | any | research-standards-bibliography | APPENDIX: Research Standards Bibliography |
| system | any | phase-closing-and-forward-plan | METADOC: Phase-Closing Commemoration & Forward Attack Plan |
| system | any | research-standards | METADOC: Architectural Typology & Research Standards |
| system | any | sop-ecosystem | METADOC: SOP Ecosystem — Taxonomy, Inventory & Coverage |
| system | any | autonomous-content-syndication | SOP: Autonomous Content Syndication (The Broadcast Protocol) |
| system | any | autopoietic-systems-diagnostics | SOP: Autopoietic Systems Diagnostics (The Mirror of Eternity) |
| system | any | background-task-resilience | background-task-resilience |
| system | any | cicd-resilience-and-recovery | SOP: CI/CD Pipeline Resilience & Recovery |
| system | any | community-event-facilitation | SOP: Community Event Facilitation (The Dialectic Crucible) |
| system | any | context-window-conservation | context-window-conservation |
| system | any | conversation-to-content-pipeline | SOP — Conversation-to-Content Pipeline |
| system | any | cross-agent-handoff | SOP: Cross-Agent Session Handoff |
| system | any | cross-channel-publishing-metrics | SOP: Cross-Channel Publishing Metrics (The Echo Protocol) |
| system | any | data-migration-and-backup | SOP: Data Migration and Backup Protocol (The Memory Vault) |
| system | any | document-audit-feature-extraction | SOP: Document Audit & Feature Extraction |
| system | any | dynamic-lens-assembly | SOP: Dynamic Lens Assembly |
| system | any | essay-publishing-and-distribution | SOP: Essay Publishing & Distribution |
| system | any | formal-methods-applied-protocols | SOP: Formal Methods Applied Protocols |
| system | any | formal-methods-master-taxonomy | SOP: Formal Methods Master Taxonomy (The Blueprint of Proof) |
| system | any | formal-methods-tla-pluscal | SOP: Formal Methods — TLA+ and PlusCal Verification (The Blueprint Verifier) |
| system | any | generative-art-deployment | SOP: Generative Art Deployment (The Gallery Protocol) |
| system | any | market-gap-analysis | SOP: Full-Breath Market-Gap Analysis & Defensive Parrying |
| system | any | mcp-server-fleet-management | SOP: MCP Server Fleet Management (The Server Protocol) |
| system | any | multi-agent-swarm-orchestration | SOP: Multi-Agent Swarm Orchestration (The Polymorphic Swarm) |
| system | any | network-testament-protocol | SOP: Network Testament Protocol (The Mirror Protocol) |
| system | any | open-source-licensing-and-ip | SOP: Open Source Licensing and IP (The Commons Protocol) |
| system | any | performance-interface-design | SOP: Performance Interface Design (The Stage Protocol) |
| system | any | pitch-deck-rollout | SOP: Pitch Deck Generation & Rollout |
| system | any | polymorphic-agent-testing | SOP: Polymorphic Agent Testing (The Adversarial Protocol) |
| system | any | promotion-and-state-transitions | SOP: Promotion & State Transitions |
| system | any | recursive-study-feedback | SOP: Recursive Study & Feedback Loop (The Ouroboros) |
| system | any | repo-onboarding-and-habitat-creation | SOP: Repo Onboarding & Habitat Creation |
| system | any | research-to-implementation-pipeline | SOP: Research-to-Implementation Pipeline (The Gold Path) |
| system | any | security-and-accessibility-audit | SOP: Security & Accessibility Audit |
| system | any | session-self-critique | session-self-critique |
| system | any | smart-contract-audit-and-legal-wrap | SOP: Smart Contract Audit and Legal Wrap (The Ledger Protocol) |
| system | any | source-evaluation-and-bibliography | SOP: Source Evaluation & Annotated Bibliography (The Refinery) |
| system | any | stranger-test-protocol | SOP: Stranger Test Protocol |
| system | any | strategic-foresight-and-futures | SOP: Strategic Foresight & Futures (The Telescope) |
| system | any | styx-pipeline-traversal | SOP: Styx Pipeline Traversal (The 7-Organ Transmutation) |
| system | any | system-dashboard-telemetry | SOP: System Dashboard Telemetry (The Panopticon Protocol) |
| system | any | the-descent-protocol | the-descent-protocol |
| system | any | the-membrane-protocol | the-membrane-protocol |
| system | any | theoretical-concept-versioning | SOP: Theoretical Concept Versioning (The Epistemic Protocol) |
| system | any | theory-to-concrete-gate | theory-to-concrete-gate |
| system | any | typological-hermeneutic-analysis | SOP: Typological & Hermeneutic Analysis (The Archaeology) |
| unknown | any | gpt-to-os | SOP_GPT_TO_OS.md |
| unknown | any | index | SOP_INDEX.md |
| unknown | any | obsidian-sync | SOP_OBSIDIAN_SYNC.md |
Linked skills: cicd-resilience-and-recovery, continuous-learning-agent, evaluation-to-growth, genesis-dna, multi-agent-workforce-planner, promotion-and-state-transitions, quality-gate-baseline-calibration, repo-onboarding-and-habitat-creation, structural-integrity-audit
Prompting (Anthropic): context 200K tokens, format: XML tags, thinking: extended thinking (budget_tokens)
- delivery: 0/2 live, 0 planned
- content: 0/2 live, 1 planned
- community: 0/1 live, 0 planned
Run: organvm ecosystem show recursive-engine--generative-entity | organvm ecosystem validate --organ I
- technical (2): pallets/click, pytest-dev/pytest
Convergences: 20 | Run: organvm network map --repo recursive-engine--generative-entity | organvm network suggest
UID: ent_repo_01KKKX3RVGYMA8S373GV8K6X7S | Matched by: primary_name
Resolve: organvm ontologia resolve recursive-engine--generative-entity | History: organvm ontologia history ent_repo_01KKKX3RVGYMA8S373GV8K6X7S
| Variable | Value | Scope | Updated |
|---|---|---|---|
active_repos |
89 | global | 2026-04-14 |
archived_repos |
54 | global | 2026-04-14 |
ci_workflows |
107 | global | 2026-04-14 |
code_files |
0 | global | 2026-04-14 |
dependency_edges |
60 | global | 2026-04-14 |
operational_organs |
10 | global | 2026-04-14 |
published_essays |
29 | global | 2026-04-14 |
repos_with_tests |
0 | global | 2026-04-14 |
sprints_completed |
33 | global | 2026-04-14 |
test_files |
0 | global | 2026-04-14 |
total_organs |
10 | global | 2026-04-14 |
total_repos |
145 | global | 2026-04-14 |
total_words_formatted |
0 | global | 2026-04-14 |
total_words_numeric |
0 | global | 2026-04-14 |
total_words_short |
0K+ | global | 2026-04-14 |
Metrics: 9 registered | Observations: 32128 recorded
Resolve: organvm ontologia status | Refresh: organvm refresh
AMMOI: 58% | Edges: 42 | Tensions: 33 | Clusters: 5 | Adv: 23 | Events(24h): 32336 Structure: 8 organs / 145 repos / 1654 components (depth 17) | Inference: 98% | Organs: META-ORGANVM:65%, ORGAN-I:53%, ORGAN-II:48%, ORGAN-III:54% +5 more Last pulse: 2026-04-14T21:31:36 | Δ24h: -1.0% | Δ7d: n/a
Dialect: FORMAL_LOGIC | Classical Parallel: Logic | Translation Role: The Grammar — defines well-formedness in any dialect
Strongest translations: III (formal), IV (formal), META (formal)
Scan: organvm trivium scan I <OTHER> | Matrix: organvm trivium matrix | Synthesize: organvm trivium synthesize
Status: MISSING | Symmetry: 0.0 (VACUUM)
Nature demands a documentation counterpart. This formation maintains its narrative record in docs/logos/.
- Telos (Idealized Form) — The dream and theoretical grounding.
- Pragma (Concrete State) — The honest account of what exists.
- Praxis (Remediation Plan) — The attack vectors for evolution.
- Receptio (Reception) — The account of the constructed polis.
-
Source & Transmutation — Narrative of inputs, process, and returns.
-
Public Essay — System-wide narrative entry.
Compliance: Formation is currently void.
This repository is a managed component of the ORGANVM meta-workspace.
- Orchestration: Use
conductor patchfor system status and work queue. - Lifecycle: Follow the
FRAME -> SHAPE -> BUILD -> PROVEworkflow. - Governance: Promotions are managed via
conductor wip promote. - Intelligence: Conductor MCP tools are available for routing and mission synthesis.