aether-ad-genesis / docs /ARCHITECTURE.md
SeaWolf-AI's picture
Initial commit: AETHER-Ad Genesis v0.2
f1f0b30 verified
|
Raw History Blame Contribute Delete
1.85 kB
# AETHER-Ad Genesis β€” Architecture (v0.2)
## Layered pipeline
```
Layer 0 Meta Framework ──────────────── schema/meta_framework.json
Layer 1 Product Genome ──────────────── schema/product_genome.json + core/genome.py
Layer 2 Context Matrix ──────────────── schema/context_matrix.json + core/context.py
Layer 3 Collision Rules (15) ───────── schema/collision_rules.json + core/collision.py
Layer 4 Narrative Scaffold ─────────── schema/narrative_scaffold.json + core/narrative.py
Layer 5 Wow Filter ─────────────────── schema/wow_filter.json + core/wow_filter.py
Genesis Engine (orchestrator) ─ core/engine.py
```
## 5-stage pipeline (Young 1940, via AETHER)
1. **Corpus Ingestion** β€” pull atoms + tension + persona + forbidden zones.
2. **Encoding** β€” `blending/spaces.py` builds the 4-space diagram (I1, I2, generic, blend).
3. **Incubation** β€” sample N collision rule combinations, call LLM, produce concepts.
4. **Emergence** β€” render each concept via Pixar Story Spine (15s/30s).
5. **Filtering** β€” Wow Filter (5 axes + risk + gating) β†’ top-k.
## SLAI feedback loop
Approved top-k seeds β†’ `engine.slai_feedback()` β†’ proposed new collision rule draft β†’ human review β†’ added to `collision_rules.json`. This is the advertising-domain implementation of AETHER's Self-Learning-AI principle.
## Backends
- `HFInferenceBackend` (default for Space) β€” `huggingface_hub.InferenceClient`.
- `FireworksKimiBackend` β€” Fireworks Kimi-K2P5 (OpenAI-compatible).
- `DarwinOpusBackend` β€” local Darwin-27B-Opus endpoint on H100 (v0.3+).
All backends implement the same `LLMBackend` contract (`complete` + judge helpers).