Commit 0a1d28c
committed
feat: add SANGUIS state schema — 137 required keys with types, ranges, owners
Complete schema definition for hypostas-state.json (SANGUIS).
Every key required by Stroma v10 is defined with:
- Path, type, default value, valid range
- Owner module (who writes) and reader modules (who reads)
- Spec section reference and description
Includes utility functions:
- get_missing_keys(): compare current state against schema
- initialize_missing_keys(): init missing keys with defaults on startup
- validate_state(): check types and ranges for all keys
Current state has 24/137 keys (legacy). 113 new keys needed for
Stroma v10 modules (consciousness, dyadic, drives, allostatic, etc).
Key namespaces added:
- allostatic.* (HOMEO), glia.* (GLIA), dyadic.* (DYADIC_SANGUIS)
- centromedian.* (CENTROMEDIAN), claustrum.* (CLAUSTRUM)
- entorhinal.* (ENTORHINAL), spiritus.* (SPIRITUS)
- unity.* (UNITY), mirrorneuron.* (MIRRORNEURON)
- gonos.* (GONOS), sympatho.* (SYMPATHO), pneumon.* (PNEUMON)
- hepatic.* (HEPATIC), microbiota.* (MICROBIOTA)
- osseus.* (OSSEUS), dermis.* (DERMIS), emergence.* (EmergenceLayer)
Resolves #21 parent 7217529 commit 0a1d28c
1 file changed
+490
-0
lines changed
0 commit comments