--- status: active owner: platform last_reviewed: 2026-10-12 supersedes: [] --- # Studio foundation baseline (2026-10-12) **Purpose:** freeze what is **ready on Oracle** vs **installed→wire** vs **do-not-install-yet**, after reconciling live `andi312` with the target docs. | Artifact | Role | |----------|------| | This file | Baseline snapshot (install / wire / remove) | | [`docs/tech-stack/inventory.yaml`](../tech-stack/inventory.yaml) | Component catalog SSOT → `/wiki/` | | [`STUDIO_TARGET_ARCHITECTURE.md`](./STUDIO_TARGET_ARCHITECTURE.md) | Target architecture narrative | | [`TECH_FOUNDATION.md`](./TECH_FOUNDATION.md) | ANDI base-pack rules | | [`FOUNDATION_CHARTER.md`](./FOUNDATION_CHARTER.md) | Have / missing / add + ownership | | `bash scripts/audit-foundation.sh` | Read-only readiness gate | | [`AUDIT_FOUNDATION_LATEST.txt`](./AUDIT_FOUNDATION_LATEST.txt) | Last audit output | **Lane:** edit/verify on **`~/studio-dev` (`develop`)** only. Prod tree **`~/studio` (`main`)** is promote-only. **Verified:** 2026-10-12 on `orcl-vm` via `scripts/audit-foundation.sh`. --- ## 1. Installed + ready (Oracle HAVE) Shared infra (always on): LiteLLM · Ollama · Postgres/Timescale · Redis · Qdrant · Langfuse v3 · OpenHands · n8n · nginx · ANDI UDS · Vast bridge path. `andi312` required imports (audit must show OK): | Pack | Role | |------|------| | z3, clingo | Formal / ASP | | pymdp | Active inference | | numpyro, nutpie, jax | Bayes + CPU NUTS + accel | | mapie | Conformal calibration | | **statspai** | Unified causal (replaces econml / CausalPy / causalimpact) | | tigramite, shap | Causal discovery + attribution | | evidently, nannyml | Drift + delayed-label performance | | duckdb, pandera, mlflow | Analytics / contracts / tracking | | pyoxigraph, kuzu* | RDF ontologies + Cypher claims | | ruptures, onnxruntime | Regimes / ONNX | | oqs + `$HOME/_oqs`, cryptography | PQC (QuantumShield libs) | | **dowhy** | Legacy only — keep until migration done | | fhir.resources, pyx12, hl7apy | Healthcare I/O boundary | \*kuzu: keep for Cypher/claims; **new ontology work → pyoxigraph**. --- ## 2. Installed → wire (product contract) | Pack | Next wire | |------|-----------| | StatsPAI | Finish product causal paths; retire DoWhy call sites | | NumPyro + nutpie + JAX | Bayesian product path | | MAPIE | Calibration / Venn-Abers product path | | ruptures / onnxruntime | regimes / SapBERT host path | | Evidently / NannyML | One product monitor path (Wave-1) | | LightRAG / Temporal | Only with written product contract (no call sites yet) | UDS smokes ≠ product wiring. --- ## 3. Removed → replaced by | Removed | Replaced by | Status | |---------|-------------|--------| | econml | StatsPAI | Gone from andi312 | | CausalPy | StatsPAI | Gone | | causalimpact | StatsPAI | Gone | | crepes | MAPIE | Gone | | hmmlearn | pomegranate (Vast) | Gone from Oracle | | DoWhy | StatsPAI | **Still present** — remove after migrate | | PyReason | Scallop (Vast, when approved) | Never install | | New Kùzu ontology features | pyoxigraph | Policy | --- ## 4. Do not install yet (Oracle) | Item | Gate | |------|------| | OpenDP | Privacy product approval | | Redpanda / NATS | Multi-site / edge contract | | QPU compute | Not PQC; separate hardware | | Per-product Jupyter | Prefer OpenHands | | Second Qdrant / LiteLLM / n8n | Forbidden without charter exception | **Vast lane (separate verify, not Oracle pip):** Scallop · blackjax · pomegranate · PyG · PyKEEN · vLLM/Qwen3-AWQ. --- ## 5. Readiness tag checklist Before tagging `foundation-baseline-YYYY-MM-DD` on `develop`: 1. `bash scripts/audit-foundation.sh` — no unexpected `MISS` on required/healthcare; removed packs stay absent. 2. This file + charter / foundation / target architecture `last_reviewed` match. 3. No installs from prod tree (`~/studio` / `main`). 4. User confirms functional checks below. **Promote:** none required for docs-only baseline (no product systemd cut).