Domain audit architecture plan: Three Dragons re-derivation#69
Open
danielbdyer wants to merge 2 commits into
Open
Domain audit architecture plan: Three Dragons re-derivation#69danielbdyer wants to merge 2 commits into
danielbdyer wants to merge 2 commits into
Conversation
First-principles re-derivation of the domain ontology, master architecture, and typed seam contracts from the perspective of the three architectural spines: interface intelligence, agentic intervention, and recursive self-improvement. Plan covers: - Dragon lifecycle FSM and cross-dragon handoff protocols - External agent model (Claude Code, Copilot, CI as typed participants) - Intervention sagas with compensation for multi-step workflows - Operator-as-improver meta-loop closure - Convergence FSM replacing boolean convergence detection - Performance hyper-parameters alongside accuracy tuning - Extended objective vector with efficiency dimensions - 25 law tests across 4 new test files - 3 new seams added to invariant contracts - Implementation sequencing with critical path analysis - Category-theoretic, information-theoretic, control-theoretic, and game-theoretic framing https://claude.ai/code/session_01DZvVXFuALcDvhwbfm1pR6a
…ation Replace the Dragon metaphor with first-principles organization around five measurable improvement surfaces (from recursive-self-improvement.md) and three architectural spines. Key changes: - §1-3: Philosophical foundation, five surfaces with derivatives and integration formula, three spines with formal definitions and mapping - §4-6: Spine detail (interface intelligence, agent workbench, recursive improvement) with surface mappings and simplified convergence - §7-9: Meta-concerns, external agent model (saga pattern, operator-as- improver), performance hyper-parameters retained per owner directive - §10-11: Type artifacts (no dragon.ts), law tests (surface-integration laws added, convergence-fsm laws removed) - §12-14: Seams (surface integration seam added), implementation sequencing, theoretical framing with calculus-theoretic integration Zero dragon references. Hyper-parameters fully retained. Third spine simplified: one actor, one experiment, no 6-phase FSM. https://claude.ai/code/session_01DZvVXFuALcDvhwbfm1pR6a
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
docs/domain-audit-plan.mdcovering new type artifacts, law tests, seam contracts, implementation sequencing, and theoretical framingWhat the plan covers
New type artifacts (2 files):
lib/domain/types/dragon.ts— Dragon discriminant, lifecycle FSM, cross-dragon handoff envelope, fold functionslib/domain/types/external-agent.ts— External agent model, saga types, operator-as-improver meta-loopExtended types (backward-compatible):
ConvergencePhaseFSM replacing boolean convergence detection inimprovement.tsPerformanceConfigfor efficiency hyper-parameters alongside accuracy tuningExtendedObjectiveVectorwith latency, memory, cache dimensionsLaw tests (4 files, 25 laws):
Documentation updates (3 files):
domain-ontology.md— Major rewrite with Three Dragons framingmaster-architecture.md— Cross-dragon protocols, meta-dragons, performance surfaceseams-and-invariants.md— 3 new seams (dragon handoffs, external agents, performance)Theoretical framing:
Test plan
https://claude.ai/code/session_01DZvVXFuALcDvhwbfm1pR6a