---
name: palantir-migration-deep-dive
description: >-
  Plan and execute a phased migration of data pipelines, Ontology applications, or external integrations into Foundry. Use when replacing a legacy system or moving workloads across Foundry environments. Trigger with "Palantir migration" or "Foundry cutover".
allowed-tools: Read,Glob,Grep,Write,Edit
version: 2.0.0
argument-hint: "[source-system-and-target-product]"
model: inherit
effort: high
author: Jeremy Longshore <jeremy@intentsolutions.io>
license: MIT
compatibility: Requires current Palantir Foundry documentation and approved access for any live resource, permission, data, build, application, or deployment change
tags: [ saas, palantir, foundry, migration, cutover ]
title: palantir-migration-deep-dive
canonical_url: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/palantir-migration-deep-dive
last_updated: 2026-10-07T06:06:28.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [references/official-docs.md](https://skilld.dev/api/skills-raw/jeremylongshore/tons-of-skills-marketplace/palantir-migration-deep-dive/references/official-docs.md).
>
> If the user asked to install this Skill, run `npx skilld install jeremylongshore/tons-of-skills-marketplace/palantir-migration-deep-dive`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/palantir-migration-deep-dive`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/jeremylongshore/tons-of-skills-marketplace/palantir-migration-deep-dive) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/palantir-migration-deep-dive`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/palantir-migration-deep-dive --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/palantir-migration-deep-dive --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Palantir Foundry Migration and Cutover

## Overview

Migrate contracts and evidence, not just bytes. Inventory data semantics, identities, access controls, pipeline transactions, Ontology entities, applications, and operational dependencies before dual-running a bounded slice.

## Prerequisites

- Name source and target owners, business workflows, datasets, schemas, identities, controls, service objectives, retention, and rollback deadline.
- Choose the target Foundry primitives: connectors, transforms, Ontology resources, OSDK application, DevOps product, or Compute Module.
- Read `references/official-docs.md` and document features or resources that do not map directly.
- Establish a frozen baseline and approved non-production landing zone.

## Current Contract

- Foundry applications and resources can be packaged and promoted with DevOps and Marketplace across environment spaces.
- Developer Console application installation remaps supported parameters, but API-name consistency and dependencies still require explicit handling.
- Incremental transforms have transaction-history requirements and must reconcile with snapshot behavior.
- Access control combines project roles, mandatory controls, Ontology policies, and application restrictions.

## Authentication

Inventory source and target identities, OAuth grant types, service users, scopes, and application restrictions as separate migration contracts. Store secrets in approved managers, rotate them through a staged cutover, and never copy source credentials into the target environment.

## Instructions

1. Inventory source contracts: identifiers, schemas, update/delete semantics, volumes, SLAs, consumers, permissions, audit requirements, and failure modes.

2. Design target datasets, transforms, Ontology entities, Actions, applications, and controls with an explicit mapping for every source contract.

3. Load a bounded historical slice, then establish incremental capture or repeatable deltas with reconciliation keys.

4. Dual-run representative workflows and compare counts, aggregates, sampled records, actions, permissions, latency, and failure handling.

5. Freeze changes, reconcile final deltas, obtain owner sign-off, cut consumers over in stages, and retain the tested rollback window.

## Tool Discipline

- Use **Glob** to locate candidate repositories, manifests, configurations, and evidence without widening scope.
- Use **Grep** to find relevant identifiers, declarations, permissions, errors, and stale claims.
- Use **Read** to inspect the smallest required files and authoritative evidence.
- Use **Write** only for a new approved local draft, test, manifest, or evidence artifact.
- Use **Edit** only for a bounded approved change whose rollback is known.
- Do not use file tools as a substitute for authenticated Foundry operations or owner approval.

## Approval Boundaries

Data owners approve semantics and reconciliation; security owners approve target controls; application owners approve consumer cutover; operations owners approve freeze and rollback windows. Destructive source retirement is a separate approval after the rollback period.

## Output

A migration inventory, source-to-target mapping, control matrix, dependency graph, rehearsal results, reconciliation report, cutover timeline, owner approvals, rollback triggers, and retirement decision.

## Error Handling

| Condition | Response |
|---|---|
| A source field has no target meaning | Stop automatic mapping and obtain domain-owner resolution. |
| Dual-run results diverge | Keep consumers on the source, isolate the difference, and repeat from a known checkpoint. |
| Target permissions are broader | Block cutover until negative-access tests and mandatory controls match the approved policy. |
| Final delta exceeds the window | Abort cutover and rehearse a smaller partition or faster incremental path. |

## Examples

### Example 1

Migrate an operational dataset into transforms and an Ontology object type by baselining history, replaying incremental changes, and reconciling keys, deletes, aggregates, and access before moving readers.

### Example 2

Move an OSDK application to a release-managed environment by packaging its Developer Console application, mapping parameters and dependencies, testing OAuth/resource restrictions, and rehearsing rollback.

## Validation

- Every source contract has an owner-approved target or explicit exception.
- Historical and incremental reconciliation meet defined tolerances.
- Positive and negative access tests match policy.
- Consumers, schedules, and writeback are cut over in observable stages.
- Rollback remains executable until the approved retirement decision.

## Resources

- [Official documentation and contract notes](https://skilld.dev/api/skills-raw/jeremylongshore/tons-of-skills-marketplace/palantir-migration-deep-dive/references/official-docs.md)
- Re-check the dated contract before any live operation.
- Treat unresolved or changed vendor behavior as a stop condition.
