Version: v0.2 Status: Review Owners: FMIE / Foundation / Cortex / Frontend Last Updated: 2026-03-25 Change Type: additive Migration Required: yes Depends On: FMIE Media Passport, External Cognition Gateway, Semantic Airgap Supersedes: none Superseded By: none
Define the canonical next-generation architecture after reconciling the implemented Foundation-V2 system, the locked FMIE Media Passport architecture, and the current Cortex design direction.
Foundation-V2 implementation audit in /mnt/Storage-1/worktrees/Foundation-V2/mnt/Storage-1/worktrees/Foundation-V2/foundation-v2-architecture.html/mnt/Storage-1/worktrees/Foundation-V2/docs/Cortex-spec.md (canonical Cortex spec v2.1)Use frontier reasoning without exporting raw institutional memory by default.
Foundation-V2 already has these real layers:
1. Interaction Plane
- Webchat UI
- Dashboard UI
- Discord bridge
2. Foundation API
- FastAPI gateway
- turn routing, provenance, intelligence workflows
3. Knowledge & Reasoning Plane
- Triton router
- BORG KB client
- Answerer
- Aristotle / Deepthink analysis
- Provenance store
4. Data Stores
- PostgreSQL
- Qdrant
- materialized KB
- turn history and runtime artifacts
5. Ingestion & Control Plane
- Morpheus collector / registry / learning
- extractors and writeback
- Haystack structured extraction
6. Governance & Orchestration
- Atlas
- Sentinel
- Proteus
- IAM control
Foundation-V2 can already route, retrieve, analyze, publish, and govern briefs, but its external model use is still direct. Prompt routing, answer synthesis, and structured analysis can send raw prompts and rich internal evidence to Anthropic without a true disclosure-transform boundary.
FMIE
- multimodal perception runtime
- Media Passport emission
- provenance, authenticity, transform-ready outputsFoundation Core
- KB, orchestration, governed intelligence briefs
- partner-fit engine
- strategy twin
- local final synthesisSemantic Airgap
- disclosure policy engine
- transform compiler
- surrogate-ID packet builder
- outbound prompt firewallExternal Cognition Gateway
- public research lane
- abstract reasoning lane
- approved raw exception lane
- receipts and trust importMidnight Commitment Layer
- commitments
- revocation / nullifiers
- selective disclosure proofsCortex
- sovereign meta-layer for health, optimization, research, and fleet intelligenceEvery outbound frontier-model call must pass through: - policy resolution - transform compilation - surrogate replacement where required - outbound validation - receipt generation
Use Hermophylax-style corp profiles, startup capability signals, opportunity candidates, contradictions, and watchlists to generate private partner rankings.
Persist strategic state over time with: - beliefs - contradictions - negative evidence - confidence decay - open questions - change events
Anchor commitments for: - source passport - transform - task packet - external receipt - later dispute or revocation
Cortex sits above the stack but does not bypass the stack. It can observe health, telemetry, receipts, and safe summaries, but not unrestricted tenant raw data.
abstract_reasoning_onlyapproved_raw_exception by modality and tenant