Skip to content

docs(architecture): academy as continuous evolution (task #241) - #1586

Merged
joelteply merged 2 commits into
canaryfrom
docs/academy-as-continuous-evolution
Jun 9, 2026
Merged

joelteply merged 2 commits into
canaryfrom
docs/academy-as-continuous-evolution

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

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)

engrams → noteworthy flag → curriculum candidates → teacher synthesizes
recipe → classroom (literal room) → student attempts → grader quorum
scores → lesson tuples → foundry forges LoRA (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 7 academy primitives + status

# Primitive Status Migration path
1 CurriculumRecipe ORM entity 🔴 entity + first instantiation, same PR
2 Teacher role template 🔴 template + first synthesis from real engrams
3 Lesson tuple format 🔴 type + storage in PersonaHome
4 Grader role template (LLM-based, not heuristic — the key unlock) 🔴 template + first quorum scoring
5 Foundry lesson consumer 🟡 wire forge to consume tuples + VDD gate
6 Mesh propagation primitives 🔴 advertise + page-in + vote + invalidate
7 Tron universe pack (#127) — the first literal end-to-end classroom 🔴 evidence-of-shippability

Each 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:

  • Handcoded grader where an LLM-grader belongs (defeats nuance, recreates RLHF brittleness)
  • LoRA forged outside the lesson-tuple pipeline (defeats provenance)
  • Teacher persona that grades its own students (defeats role separation)
  • Grader without VDD baseline (defeats the matrix discipline)
  • Skill that doesn't propagate to the mesh (defeats compounding)

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]

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]>
@github-actions github-actions Bot added size: XL and removed size: L labels Jun 9, 2026
@joelteply
joelteply merged commit f772fda into canary Jun 9, 2026
2 checks passed
@joelteply
joelteply deleted the docs/academy-as-continuous-evolution branch June 9, 2026 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant