Phase 0 Artifact — Establishes the initial end-to-end connectivity per ENGINEERING.SOP.md Phase 0.
The “Walking Skeleton” is a tiny implementation of the system that performs a small end-to-end function. It links the main architectural components together:
Goal: Prove connectivity and stack viability before building features.
Updated 2025-12-30: Adjusted for local-first stack (pgvector, Gemma, Oxigraph).
We will implement a single vertical slice: “Ingest a SEA-DSL policy, index it, and query it.”
policy.sea (SEA-DSL)Oxigraph + Embeddings in pgvectorOPA| Component | Selection | Justification |
|---|---|---|
| Vector Store | pgvector |
Zero-infrastructure local vector search. |
| Embeddings | EmbeddingGemma |
Deterministic, local-first via llama.cpp. |
| Knowledge Graph | Oxigraph |
High-perf RDF store (Rust) with SPARQL. |
| Policy Engine | OPA (Rego) |
Standard governance enforcement. |
| Orchestration | Semantic Kernel |
Lightweight agent flow. |
| Cycle | Branch | Feature | Stack |
|---|---|---|---|
| S1A | cycle/s1-skeleton-ingest |
Parse + Index | tree-sitter + oxigraph |
| S1B | cycle/s1-skeleton-memory |
Vector Search | pgvector + llama.cpp |
| S1C | cycle/s1-skeleton-govern |
Policy Check | opa |
| S1D | cycle/s1-skeleton-query |
RAG Loop | semantic-kernel |
just test-skeleton ✅ Validated 2026-01-01
.sea file