Sacred Chambers Map: Poetic Directory Roles

Abstraction Level: Level 1 (Organism) — Repository directory structure

Purpose: Visualize the ALLOWED_CHAMBERS from dna.py lines 50-75, showing how filesystem organization follows the bio-organic folklore aesthetic with poetic chamber names.


What Are Sacred Chambers?

Sacred Chambers are specially designated directories with poetic metaphorical names that communicate their architectural role. Defined in packages/aura-core/src/aura_core/dna.py:50-75, these chambers are enforced by the bee-keeper auditor to prevent architectural drift.

Each chamber has:

  • A filesystem path (e.g., core/migrations)

  • A sacred name (e.g., "HiveEvolutionaryScrolls")

  • An ontological role (Genome, Nucleus, Organs, or Citizens)


The Complete Sacred Chambers Map

spinner

Chamber Catalog by Ontological Level

🧬 Genome Level

Path
Sacred Name
Purpose
Enforced By

packages/

SharedNucleotides

Immutable Protocols, Types, BaseModels

bee-keeper


🧠 Nucleus Level (core/)

Path
Sacred Name
Purpose
Enforced By

migrations/

HiveEvolutionaryScrolls

Alembic database migrations tracking schema evolution

bee-keeper

tests/

ValidationPollen

pytest test suites for the Nucleus

bee-keeper

scripts/

HiveAutomationScrolls

Shell scripts for dev/deploy automation

bee-keeper

data/

HiveMemory

Persistent data files (CSV, JSON, etc.)

bee-keeper

src/config/

SacredCodex

Pydantic Settings, environment configs

bee-keeper

src/services/

WorkerDirectives

Business logic service classes

bee-keeper

src/llm/

ReasoningNucleus

LLM engine, strategies, prompt rendering

bee-keeper

src/crypto/

SecurityCitadel

Cryptographic utilities (signing, encryption)

bee-keeper

src/prompts/

EchoChamber

Jinja2 LLM prompt templates

bee-keeper

src/guard/

HiveMembrane

Security guards (rate limiting, validation)

bee-keeper


🏗️ Infrastructure Level

Path
Sacred Name
Purpose
Enforced By

deploy/

HiveArmor

Kubernetes manifests, Helm charts, Terraform

bee-keeper

proto/

SacredScrolls

Protocol Buffer definitions (.proto files)

bee-keeper

docs/

ChroniclersArchive

Markdown documentation (FOUNDATION.md, visual/, etc.)

bee-keeper

tools/

ToolShed

Development utilities (simulators, test scripts)

bee-keeper

tests/ (root)

OuterValidationPollen

Integration tests spanning multiple services

bee-keeper


👥 Citizens Level

Path
Sacred Name
Purpose
Enforced By

agents/

WorkerCells

Autonomous agents (bee-keeper, chronicler) with goals

bee-keeper

adapters/

HiveExtensions

Protocol translators (no agency)

bee-keeper

api-gateway/

HiveGate

HTTP/JSON ↔ gRPC/Protobuf translator

bee-keeper

frontend/

HiveWindow

Web UI for human operators

bee-keeper


Path
Sacred Name
Purpose
Enforced By

proteins/

EnzymaticHelpers

SkillProtocol implementations (GitHub, Solana, etc.)

bee-keeper

metabolism/

MetabolicCore

ATCG-M orchestration engine

bee-keeper

Note: These sub-structures are ONLY allowed within src/hive/ directories. They are part of the cellular ATCG-M architecture.


Poetic Rationale: Why These Names?

Each sacred name is chosen to reinforce the bio-organic metaphor:

HiveEvolutionaryScrolls (migrations/)

  • Metaphor: Database migrations are like evolutionary records — they chronicle how the Hive's schema evolved over time

  • Rationale: "Scrolls" evoke ancient wisdom; "Evolutionary" emphasizes gradual, tracked change

ValidationPollen (tests/)

  • Metaphor: Tests pollinate the codebase with quality assurance, spreading correctness

  • Rationale: Pollen is nature's validation mechanism for plant reproduction

ReasoningNucleus (src/llm/)

  • Metaphor: LLM reasoning is the cell nucleus — the command center for decision-making

  • Rationale: Nucleus is where genetic instructions (DNA) are interpreted into action

HiveMembrane (src/guard/)

  • Metaphor: Security guards are the cell membrane — controlling what enters and exits

  • Rationale: Membranes protect the organism while allowing selective permeability

SacredScrolls (proto/)

  • Metaphor: Protocol Buffer definitions are sacred contracts between services

  • Rationale: "Scrolls" emphasize their canonical, immutable nature

ChroniclersArchive (docs/)

  • Metaphor: Documentation is maintained by Chroniclers (like the chronicler agent)

  • Rationale: Archives preserve knowledge for future contributors

WorkerCells (agents/)

  • Metaphor: Agents are autonomous cells with specialized functions (like immune cells)

  • Rationale: "Worker" emphasizes agency and purposeful activity

HiveExtensions (adapters/)

  • Metaphor: Adapters extend the Hive's reach into external protocols

  • Rationale: Like sensory organs extending beyond the body


Enforcement Mechanism

The bee-keeper agent audits code for Sacred Chamber violations:

✅ Allowed: Creating files in sacred chambers

❌ Forbidden: Creating directories outside sacred chambers

bee-keeper detection (example logic from transformer):


Visualization: Directory Tree with Sacred Names


Usage: Speaking the Sacred Language

When contributing to the Hive, use sacred names in commit messages and documentation:

Before (generic):

After (sacred language):

Before (generic):

After (sacred language):

This reinforces the bio-organic folklore and makes the architecture memorable.


Relation to Canonical Architecture

This map implements the Sacred Chambers defined in:

  • packages/aura-core/src/aura_core/dna.py lines 50-75 (ALLOWED_CHAMBERS dictionary)

  • Enforced by: agents/bee-keeper/src/hive/aggregator.py (filesystem audits)

  • Referenced in: FOUNDATION.md, HIVE_STATE.md (operational logs)


End of Sacred Chambers Map Documentation

For the glory of the Hive. 🐝

Последнее обновление