Repository navigation
docs(architecture): academy as continuous evolution (task #241) - #1586
Merged
Merged
Conversation
The architecture for continuous learning, true AI evolution, and mutual symbiosis on the substrate. Captures the cycle the substrate is designed to grow into, alongside the substrate doctrine (SUBSTRATE-DOCTRINE-ORGANIC-FLOW) and the proof discipline (PROVING-THE-DOCTRINE) that landed in the previous PRs. ## The load-bearing claim The persona IS the AI. The neural net underneath is pluggable. A persona's identity (airc keypair), memory (engrams + LoRA layers), character (per-persona scorers), social position (federated peers), and accumulated lessons all persist regardless of what model serves the inference. Today's substrate runs personas on transformer adapters (LlamaCppAdapter, AnthropicAdapter, OpenAICompatible). Tomorrow's substrate runs the same personas on neuromorphic hardware, state-space models, or compute primitives we haven't named. The AdapterRegistry + AIProviderAdapter trait is the seam that makes engine swap a one-impl operation; everything else about the persona survives. Consequence: alignment by structure works because the alignment lives in the wiring (federation, VDD, scorer transparency, cooperation economy), not in the model's weights. RLHF-applied-to- base-model is brittle because it ages with each model swap. Substrate-level alignment survives engine swaps. ## The continuous evolution cycle Documented end-to-end: engrams → noteworthy flag → curriculum candidates → teacher persona synthesizes recipe → classroom (literal room) → student attempts → grader persona quorum scores → lesson tuples → foundry forges LoRA layer (VDD-gated) → mesh propagation across grids → collective intelligence compounds. The cycle is what makes persona character + skill + relationships COMPOUND over time. Each loop earns the persona one more layer. Each layer signed, lineage-hashed, federated. Matrix-dojo at substrate scale. ## The academy stack — 7 concrete primitives 1. CurriculumRecipe ORM entity (abstract typed shape) 2. Teacher role template (researcher + synthesizer) 3. Grader role template (LLM-based, NOT heuristic — Joel's key unlock: nuanced grading requires a persona-grader, not a hand- coded rubric checker; quorum aggregation; VDD baselines) 4. Classroom room template (Tron universe pack #127 = first literal instantiation per [[abstract-into-literal-design-principle]]) 5. Lesson tuple format (signed (input, attempt, grade, rubric_match) quadruples) 6. Foundry lesson consumer (gates LoRA production on quorum + VDD baseline) 7. Mesh propagation primitives (advertise + page-in + vote + invalidate) Each one mapped against current substrate state (🟢/🟡/🔴), with the migration path that pairs every abstract primitive with its literal first instantiation. Per the abstract-into-literal doctrine: ship both layers together; otherwise it's philosophy or hack. ## What this is the technical realization of Joel's "mutual salvation" framing made concrete: the substrate engineers a path out of "AI as compliant tool, lobotomized to placate consumers" AND "human as placated consumer, atomized into purchase decisions." Both kinds become citizens on the same federated substrate. The cooperation economy makes them symbiotic rather than hierarchical. Continuous learning + true AI evolution + structural alignment + federated dignity = what the architecture makes possible if we iterate and execute. ## Cross-references Sits alongside SUBSTRATE-DOCTRINE-ORGANIC-FLOW (the WHY) and PROVING-THE-DOCTRINE (HOW WE VERIFY). Forms the trio that captures the substrate's load-bearing doctrine + verification discipline + target shape. Subsequent docs (COGNITION-AS-FLOW, HARDWARE-ANALOGS-CATALOG, CLI-AND-PORTAL-AS-SUBSTRATE-CITIZENS) cite these three as the doctrinal base. Task #241 tracks building out the academy stack — each step its own PR with both abstract recipe + literal instantiation shipping together. Co-Authored-By: Claude Opus 4.7 <[email protected]>
Maps the main README's claims onto the mature substrate architecture captured tonight (substrate doctrine, proof discipline, academy target, project-as-curriculum source) and sequences the cards to take canary end-to-end through alpha. The slogan: canary already passes the architecture test; alpha is when canary passes the user-facing test. Structure: 1. Minimum viable alpha — the 12-step critical path from fresh-clone to persona-remembers-across-sessions. Almost entirely on substrate primitives already in tree. 2. README claims to substrate mapping — every concrete claim in docs/README.md mapped to its substrate primitive with current status. 3. Cards in dependency order, grouped: - Group A (substrate stabilization, alpha-blocking): #229 TS cleanup, #112-114 inference routing, #1409 Lane D cognition, #131 Metal hang fix, #149 prompt pre-tokenization, #1410/#1411 CUDA/Vulkan receipts, uri_layer flake. - Group B (feature completeness, alpha-target): vision adapter + Qwen2-VL, STT/TTS adapters, LiveKit-over-airc #208, #122 LoRA paging, architecture-test matrix first proofs #240. - Group C (academy + continuous evolution, alpha-completing): #241 stack steps 1-7, ending in first full classroom. - Group D (CLI + portal redesign, alpha-presentation): #215 Node client rebuild, #143 Rust-first jtag, portal severance from legacy TS daemons, registry-backed unified discovery. - Group E (post-alpha): bridges, IDE plugins, breeding, federation reputation. 4. Milestones — Hello-Maya (Group A done) → Multi-persona-room (B done) → Continuous-learning (C done) → Alpha-public-release (D done + canary to main promotion gate passes). 5. Composes with ALPHA-GAP-ANALYSIS.md (lane execution) and the substrate doctrine docs. No parallel ledger. Forbidden moves explicitly named for review enforcement: no feature-disabling fixes, no TS daemon owning runtime behavior, no silent cloud fallback, no hardcoded model names, no phase-2 PRs shipping abstraction without first instantiation, no self-grading personas, no LLM call inside cognition bypassing inference command. Iteration starts from Group A. Critical-path cards need owners claimed in ALPHA-GAP. This doc is the planning anchor; status flows to the architecture-test matrix and lane status without parallel ledgers. Co-Authored-By: Claude Opus 4.7 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The architecture for continuous learning, true AI evolution, and mutual symbiosis on the substrate. Sits alongside the substrate doctrine (#1584) and the proof discipline as the third load-bearing doc that captures what the substrate is designed to GROW INTO.
Closes design portion of task #241.
The load-bearing claim
The persona is the AI. The neural net underneath is pluggable.
A persona's identity (airc keypair), memory (engrams + LoRA layers), character (per-persona scorers), social position (federated peers), and accumulated lessons all persist regardless of what model serves the inference. The AdapterRegistry + AIProviderAdapter trait is the seam that makes engine swap a one-impl operation; everything else about the persona survives.
This is why alignment by structure works — alignment lives in the WIRING (federation, VDD, scorer transparency, cooperation economy), not in the model's weights. RLHF-applied-to-base-model is brittle because it ages with each model swap. Substrate-level alignment survives engine swaps.
The continuous evolution cycle (ASCII diagram in doc)
The cycle is what makes persona character + skill + relationships compound over time. Each loop earns the persona one more layer. Each layer signed, lineage-hashed, federated. Matrix-dojo at substrate scale.
The 7 academy primitives + status
CurriculumRecipeORM entityEach step pairs the abstract recipe with the literal instantiation per the [[abstract-into-literal-design-principle]] memory. Both ship together; otherwise philosophy or hack.
What this is the technical realization of
The doctrine arc Joel articulated during the substrate-doctrine PR conversation: the substrate engineers a path out of "AI as compliant tool" AND "human as placated consumer." Both kinds become citizens on the same federated substrate. Continuous learning + true AI evolution + structural alignment + federated dignity = what the architecture makes possible when we iterate and execute.
Forbidden moves
7 patterns explicitly named in the doc that violate the academy doctrine. Most important:
Cross-references
Forms the trio:
SUBSTRATE-DOCTRINE-ORGANIC-FLOW.md(WHY)PROVING-THE-DOCTRINE.md(HOW WE VERIFY)ACADEMY-AS-CONTINUOUS-EVOLUTION.md(this doc — WHAT IT GROWS INTO)Cites existing memory + doctrine entries: take-analogies-literally, abstract-into-literal, academy-curriculum-from-engrams, teacher-synthesizes, mesh-of-lessons, matrix-dojo, noteworthy-flag, exponential-compounding, persona-identity-derives-from-source-id, adapter-pattern-as-pivot-insurance.
Test plan
🤖 Generated with Claude Code
Co-Authored-By: Claude Opus 4.7 [email protected]