v0.0.0cerebra2026-06-04

Phase 0 — Project Scaffolding and Governance

Establishes the governance floor for Cerebra v0.1: six Lattica primitives vendored, inspector event infrastructure, constitutional and leeway loaders, SQLite migration framework, and a working `cerebra init` command with full inspector event emission.

v0.0.02026-06-04
  • ·Six Lattica primitives vendored verbatim into cerebra/_primitives/ (Clutch, SignalTriangulator, TrajectoryTracker, HysteresisModeRouter, ComponentScoreComposer, TombstoneSet)
  • ·Inspector: full event envelope per CEREBRA_INSPECTOR.md §4, SQLite log + NDJSON append log, both queryable
  • ·Governance: 15 leeway rules (LR-001–LR-015) + 5 constitutional rules (CONST-001–005), YAML loaders, Python-source-of-truth defaults written to vault at init
  • ·SQLite migration framework (forward-only, versioned); Phase 0 migration creates events table + 4 indexes
  • ·`cerebra init <path>` creates working vault with all required dirs, runs migrations, writes governance YAML, emits VaultCreated + ConfigLoaded inspector events
  • ·pyproject.toml + Makefile + pre-commit hooks (ruff, black, mypy strict) + GitHub Actions CI
  • ·CEREBRA_CLAUDE.md + CEREBRA_DISCORD_PROTOCOL.md written; `make verify-docs` passes (35 docs)