Orchestrata Ultimate › Plans › plan_subphase_2_1 › subplan-knowledge-subset-2026-04-12

Subplan: Sub-phase 2.1 — Knowledge Subset (Steps 99-104)

Source: plans/plan_subphase_2_1/subplan-knowledge-subset-2026-04-12.md at 8a2cb42ad · last changed 2026-07-27 · first committed 2026-04-12 · 47 lines.

Prose pending.

Plan text

Subplan: Sub-phase 2.1 — Knowledge Subset (Steps 99-104)

Context

Tier 1 complete. 1639 tests pass. This subplan ports the knowledge graph subset needed by Tier 2 agents and governance — 6 files (~1,725 LOC).

Source: /home/mohamed/workspace/orchestrata/packages/orchestrata-knowledge/src/orchestrata/knowledge/ Target: /home/mohamed/workspace/orchestrata-ultimate/src/orchestrata_ultimate/knowledge_graph/

Coverage gate: --cov-fail-under=90 on ported knowledge_graph modules. Traceability: @traces("REQ-2.1-XXX") on all public classes.


Steps

Step 99: Prepare knowledge_graph/ — keep existing graph.py + sync.py

Step 100: Port neo4j_client.py (297 LOC)

Step 101: Port context_injector.py (369 LOC)

Step 102: Port synchronizer.py (789 LOC)

Step 103: Port cxp_auditor.py (132 LOC), config.py (99 LOC), constants.py (39 LOC)

Step 104: Gate check — imports, tests >=1639, coverage >=90%


Requirements

REQ ID Description
REQ-2.1-001 neo4j_client.py imports with conditional neo4j
REQ-2.1-002 context_injector.py imports cleanly
REQ-2.1-003 synchronizer.py imports cleanly
REQ-2.1-004 config, constants, cxp_auditor import cleanly
REQ-2.1-005 All os.environ use .get() with defaults
REQ-2.1-006 Tests pass (>=1639), coverage >=90% on ported