The Codex Is the Constitution.
The Language Is the Jurisdiction.
The Codex and Laws are language-agnostic specifications. Enforcement kernels implement them in specific languages. Jurisdictions compose Laws using whichever kernel fits their platform.
Each section expands to reveal detail. Law pills are interactive throughout.
⚖️
THE CODEX
Constitutional Philosophy
Language-Agnostic▸
📜
THE LAWS (0–10)
Composable Governance Modules
Language-Agnostic Specifications▸
▼ The Compilation Boundary ▼
Above: specification · Below: compiled enforcement
⚙️
ENFORCEMENT KERNELS
Language-Specific Implementations
Where Language Matters▸
S
SwiftVector
Swift
●Native on Apple Silicon
●Actor isolation (compiler-enforced)
●5MB binary, zero startup cost
●CoreML / Neural Engine access
Ideal for: Mac-native agents, Apple ecosystem
proposed
Rs
RustVector
Rust
●Cross-platform (embedded → cloud)
●Ownership model (compile-time safety)
●no_std for bare-metal / RTOS
●DO-178C evaluation in aerospace
Ideal for: Drones, embedded, cross-platform, certification
Constitutional equivalence: Both kernels implement the same Codex. A
GovernanceReducer in Swift and a governance_reducer in Rust are the same pure function — same inputs, same decisions. The language provides the safety guarantees; the Codex provides the constitutional logic.🏛️
JURISDICTIONS
Domain-Specific Compositions
Composed From Laws via a Kernel▸
ClawLaw
Swift▸
Desktop Agents
FlightLaw
Rust▸
Autonomous Aviation
ChronicleLaw
Swift▸
Narrative AI
📦
GOVERNANCE MODULES
Context-specific implementations within a Domain Law
Under Jurisdictions▸
ClawLawSwift
ShellBrowserFileSystem
FlightLawRust
ThermalFireSurveyEnforcementRescue
ChronicleLawSwift
CharacterCombatNarrativeWorldModule
▼ The Deployment Boundary ▼
Above: composition · Below: running code
🚀
REFERENCE IMPLEMENTATIONS
Where the Law Compiles
Active Development▸
ClawLaw CLIv0.1.0-alpha
TypeScript▸
Governed autonomy for desktop agents with shell and browser access
Chronicle Quest / Writer
Swift▸
Human authorship verification in AI-assisted storytelling
Flightworks Sentinel
Rust▸
Deterministic safety for autonomous flight operations
The Codex defines governance. The Laws define scope. The kernels compile enforcement. The Jurisdictions apply it. Start with the SwiftVector Whitepaper for the technical specification, Bringing Law to the Frontier for ClawLaw in practice, or explore the source on GitHub.