Team Decision Record: Buy a Kernel Layer or Keep the Custom Glue?
Decision status: pilot, with exit criteria.
Context
Two agent harnesses need project-scoped reuse. Each currently has ad hoc transcript search and no shared evaluation protocol. The team can consolidate that logic in a framework-neutral kernel or continue maintaining separate integrations.
Option A: keep custom glue
This minimizes new dependencies and preserves native harness behavior. It is the better choice when requirements differ sharply or only one harness matters.
Option B: adopt Semantix as a local side layer
The team gains one JSONL ingest format, P/T/R extraction, BM25/vector/hybrid retrieval, deterministic injection, verification tooling, and local storage.
semantix extract --input session.jsonl --db .semantix/project.db --project demo
semantix search --query "fix the failing Go test" --db .semantix/project.db --retriever hybrid
semantix inject --query "fix the failing Go test" --db .semantix/project.db
semantix verify --session ./sessions --project demo > eval.tsv
The cost is process integration, mapping harness events, and ownership of a young project.
Pilot exit criteria
- At least 500 slices from representative sessions.
- Human-labeled top-result relevance of at least 70%.
- No cross-project retrieval in negative tests.
- Task success does not decline with injection enabled.
- The team can disable the layer without blocking either harness.
Decision rationale
The repository passes mechanism-level tests and provides a runnable CLI. The real-data relevance gate remains open. A time-boxed pilot is therefore justified; a platform-wide mandate is not. If two extraction-granularity trials remain below the relevance gate, the project's own M0 decision rule calls for a stop/review.
Sources and limitations
- Quickstart — commands and supported release paths.
- M0 gate report — what passed, what is conditional, and what remains unverified.
- Source and tests — implementation is the final authority.