- Add lifeforce_spent, lifeforce_earned to gates table (trigger-maintained)
- Add lifeforce_net as GENERATED column (instant balance, zero aggregation)
- Add verified_opens, failed_opens, verification_rate (GENERATED) for stats
- Add trg_gate_lifeforce trigger on gate_transitions INSERT
- Add trg_gate_verification trigger on verification_outcomes INSERT
- Add Gate Economic Health query with instant balance lookup
- Eliminates SUM() aggregates across billions of wave/transition rows
The gate becomes its own accountant - profitable gates evolve to reflex.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Major documentation surgery following the cleanup principle:
"One job per doc. One home per concept. Links, not echoes."
Changes:
- Add Deployment-Architecture.md (THE WHERE - sole infrastructure truth)
- Endgame-Vision.md: 848→498 lines (-41%) - THE DREAM
- Gateway-Architecture.md: 537→395 lines (-26%) - THE ROUTING
- Nervous-System.md: 361→246 lines (-32%) - THE EVOLUTION
- Data-Architecture.md: 666→647 lines (-3%) - THE SCHEMA
- Message-Protocol-Design.md: 375→285 lines (-24%) - THE WIRE
- Attention-Flow.md: 557→493 lines (-11%) - THE BUDGET
- Cellular-Architecture.md: 891→855 lines (-4%) - THE HOW
Every doc now has ONE JOB statement, cross-references to canonical
homes, and lean footers. ~800 lines removed, zero concepts lost.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Split roadmap into dedicated ROADMAP.md (links to phoebe tasks)
- Prune Endgame-Vision.md: roadmap section, links section, version history
- Standardize version footers: one-line format across 17+ files
- Add Navigation section pointing to README.md for file index
Pattern: **Version:** X.Y | **Created:** YYYY-MM-DD | **Updated:** YYYY-MM-DD
Git is the changelog. Philosophy quotes preserved.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>