-
Notifications
You must be signed in to change notification settings - Fork 0
Palantir Foundry
Foundry remains Foundry; OVERWATCH governs calls into it. The VantageAdapter is one adapter — not the core.
DeepSigma integrates with Palantir Foundry through the DecisionSurface runtime layer. The architecture is deliberately adapter-based: the core claim-event evaluation engine is portable and environment-agnostic, while the VantageAdapter handles Foundry-specific storage and retrieval.
Core Engine (severity, seal_and_hash, memory_graph)
|
DecisionSurface Runtime (ingest / evaluate / seal)
|
SurfaceAdapter ABC (8 abstract methods)
|
+-----------+-----------+
| | |
Notebook CLI VantageAdapter
(in-memory) (+ JSON) (Foundry/Vantage)
Key principle: Foundry maintains its own autonomy. OVERWATCH governs the calls into it — not the other way around.
The VantageAdapter is an honest stub. All 8 methods raise NotImplementedError with a roadmap reference. This is intentional — it defines the contract that a real Foundry integration must fulfill, backed by 11 contract tests that verify the interface.
Package: src/core/decision_surface/vantage_adapter.py
from core.decision_surface import DecisionSurface
ds = DecisionSurface.from_surface("vantage")
# All operations raise NotImplementedError until Foundry SDK integrationThe VantageAdapter must implement all 8 SurfaceAdapter methods:
| Method | Purpose | Foundry Mapping |
|---|---|---|
ingest_claims(claims) |
Store claims | Write to Foundry dataset or ontology objects |
ingest_events(events) |
Store events | Write Action Type instances |
get_claims() |
Retrieve claims | Query ontology objects (type=Claim) |
get_events() |
Retrieve events | Query Action Type instances |
get_evidence() |
Retrieve evidence | Build from claim/event matches |
store_drift_signals(signals) |
Persist drift detections | Write to drift tracking dataset |
store_patches(patches) |
Persist patch recommendations | Write to patch dataset |
store_evaluation_result(result) |
Persist evaluation summary | Write to evaluation dataset |
| Foundry Object Type | Envelope record_type | Notes |
|---|---|---|
| Ontology Object | Entity |
Domain entities (customers, assets, cases) |
| Dataset Row |
Claim or Metric
|
Analytical outputs, derived facts |
| Action Type instance | Event |
Action executions, workflow triggers |
| Media Reference | Document |
Attachments, reports, exported artifacts |
| Foundry field | Envelope field | Transform |
|---|---|---|
objectRid |
record_id |
uuid_from_hash('palantir', objectRid) |
objectTypeRid |
record_type |
Map via object type table |
__createdTimestamp |
created_at |
ISO-8601 from epoch ms |
__updatedTimestamp |
observed_at |
ISO-8601 from epoch ms |
__createdBy |
source.actor.id |
Foundry user RID via directory API |
properties.* |
content |
Flatten property bag; preserve property names |
__primaryKey |
content.entity_id |
Business key |
| Link types | links[] |
Foundry link types map to envelope edge types |
| Foundry link type | Envelope rel | Direction |
|---|---|---|
relatedTo |
supports |
Forward |
derivedFrom |
derived_from |
Forward |
partOf |
part_of |
Forward |
supersededBy |
supersedes |
Reverse (flip direction) |
contradicts |
contradicts |
Forward |
- Ontology sync — Foundry Ontology SDK, list objects by type with pagination
-
Incremental — filter by
__updatedTimestamp > last_sync_tsfor delta loads - Transform — apply field mapping, resolve user RIDs, flatten properties
-
Link resolution — query linked objects and generate
links[]array -
Validate — run against
canonical_record.schema.json - Ingest — write to canonical store
Foundry records carry strong provenance through dataset lineage:
{
"provenance": {
"chain": [
{"type": "source", "ref": "foundry://<enrollment>/<objectTypeRid>/<objectRid>"},
{"type": "evidence", "ref": "<dataset_rid>", "method": "foundry_transform"}
]
}
}| Data Source | Confidence |
|---|---|
| Source-of-truth datasets | 0.95 |
| Derived/computed datasets | 0.80 |
| User-submitted data | 0.60 |
Three core patterns govern how OVERWATCH interacts with Foundry:
-
Feature fetch wrapper — returns
{value, capturedAt, sourceRef}so every read has provenance - Action adapter — requires a Safe Action Contract before any Foundry write
- Verifier — reads authoritative ontology state after write to confirm postconditions
Requires a Foundry service user with:
-
ontology:read— query ontology objects and link types -
datasets:read— read dataset rows for ingestion
| Property | Value |
|---|---|
| Transport | HTTPS REST |
| Auth | OAuth |
| MCP Tools | -- (planned) |
| Exhaust | foundry adapter |
-
tests/test_vantage_adapter_contract.py— 11 tests verifying all 8 methods raiseNotImplementedErrorand adapter properties (surface_name, isinstance, factory)
Full Foundry SDK integration is deferred to v2.1.1 "Institutional Expansion". The current stub + contract tests define the exact interface a real implementation must satisfy. See DecisionSurface for the adapter authoring guide.
- DecisionSurface — portable runtime and adapter ABC
- Integrations — all connector targets
- Event Contracts — routing table and event declarations
- AuthorityOps — authority enforcement for Foundry actions
Σ OVERWATCH — Coherence Ops Platform • Current release: v2.1.0 • DeepSigma
- Start
- Core
- Schemas
- FEEDS + Exhaust
- Integrations
- Reference Layer
- Ops
- Excel-First
- EDGE + ABP
- Domain Modes
- Governance
- Meta