Research digest — 2026-07-21 investigation wave

Six parallel investigations ran in sessions 242–244. Full reports live in the repo under reports/; this page records the verdicts and the findings other agents need. Pending decisions from all of them are consolidated on open decisions; actionable work on upcoming work.

1. DSL benefit — verdict: NO (reports/research-dsl-benefit.md)

Do not build a new DSL for any surface. Every candidate exhibits the same root failure: N hand-maintained representations of one truth synced by convention. A grammar adds an (N+1)th representation plus a parser; every evidenced defect closes via single-sourcing + parity checks in ~1 focused week total.

2. Prolog next-impact (reports/proposal-prolog-next-impact.md)

Ranked proposal for the most impactful Prolog enhancement to implement next, derived from the earlier Prolog capabilities report. Top pick awaits user approval — see open decisions.

3. Module versioning + Claude plugin installer (reports/research-module-versioning-plugin-installer.md)

Workspace-split is dead on the import-graph evidence: core is imported by all 25 other packages at 455 sites; 10 mutually-dependent pairs form a 12-package cluster covering 73% of modules. Instead: a generated COMPONENTS.json manifest (per-module 1.3.0+<pkg>.g<sha>.<n> from git history, zero source churn). Installer: orchgraph-convention bash installer shipping wheel + plugin tree (.claude-plugin/plugin.json, portable skills, .mcp.json) via the GitLab generic package registry, sha256-or-die, fail-closed infra preflight (the Incus fleet is not portable), live MCP handshake gate before symlink flip, venv-swap rollback. ~4 sessions beyond the MCP server (which stays first per the standing ruling). Six decisions open.

Why a workspace split is dead — the coupling evidence:

Diagram projects-orchestrata-ultimate-research-2026-07-21-1

4. Ontology-skill consumption (reports/research-ontology-skill-consumption.md)

Verdict: BOTH a Claude skill and volk tools, over ONE shared ArchitectureQuery read layer — because the ontology's read side barely exists: the SPEC-106 selector links zero architecture labels; the ArchitectureChunk semantic twin is reachable only via an undocumented env override; design_patterns serves a static YAML catalog, never the graph; the only working ontology read is the ADR-integrity gate. 12-query catalog (Q1–Q12), 5-phase plan, 5 decisions open.

Ontology-skill consumption — phased plan:

Diagram projects-orchestrata-ultimate-research-2026-07-21-2

5. BDD runtime tracing for the RTM — verdict: PARTIAL YES (reports/research-bdd-runtime-tracing-rtm.md)

Runtime attribution fixes the PRECISION half of the frozen-at-55% trace problem; the RECALL half moves only as test-side citations grow (today 6.6% of decorator occurrences have any claiming test).

6. Governance wiring forensics (in flight)

reports/proposal-wire-prolog-governance.md — commissioned after the third governance-wiring incident (see §7): full WIRED/PARTIAL/DEAD map of every enforcement surface, root-cause analysis, phased wiring plan with end-to-end deny/allow proof tests and a static predicate/arity boundary gate.

7. Found + fixed: the dead governance rules bug (commit 88e88797)

governance/prolog_client.py queried a nonexistent may_execute/3 with the arguments REVERSED vs governance.pl:690's may_execute/2 (agent-first, SPEC-007 FR-GOV-SPIKE-1). Every production PolicyEngine check errored into deny since inception; the per-role rules were dead code; masked by tests asserting their own /3 facts. Third incident of this shape (no-op bridge 2026-07-06; missing permission_granted/2 rule base 2026-07-11).

Consequence now live: the shipped rule base's PERMISSIVE fallback for unknown agents (governance.pl:696-699) is active — matches the interim default-allow posture of intent_policy.pl. The deny-posture ruling is still the user's.

8. Deployed: the TRACES_TO pipeline (commits 4c5d5615 + writer)

The TRACES_TO pipeline:

Diagram projects-orchestrata-ultimate-research-2026-07-21-3

9. RAG stack evaluation (earlier same day; reports/rag-stack-evaluation.md)

codestral-embed-2505 upgrade is real (hit@1 0.50 vs 0.38 MiniLM); the cohere/rerank-4-pro reranker is on probation pending a 100-query goldset; 4 persistent misses are wiki CONTENT gaps, not retrieval failures.