executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
palantir-upgrade-migrationUpgrade a Palantir OSDK, Platform SDK, generated application, or release-managed product through pinned contracts and reversible stages. Use when adopting a new SDK generation or product version. Trigger with "upgrade Palantir SDK".
Independent GitHub snapshot · Automated classification · Original documentation governs
Treat generated OSDK changes and official Platform SDK releases as contract migrations. Freeze the old and new artifacts, read the relevant migration guide or release notes, update one boundary, and prove compatibility in a non-production environment.
references/official-docs.md and the language-specific migration guide or official release history.Do not change grant type, scopes, resource restrictions, service-user permissions, or secrets as an incidental SDK upgrade. If an auth change is required, review and test it as a separate security migration.
Freeze the old state and create a compatibility inventory of imports, generated entities, operations, scopes, runtime, and tests.
Review official migration/release evidence and classify source, generated-code, runtime, and behavior changes.
Update the pinned SDK/client or product on a branch without unrelated refactors.
Run unit/contract tests plus representative reads, pagination, Actions in validation-only mode, auth denials, throttling, and error mapping.
Install in non-production, compare behavior and telemetry, obtain approval, promote the exact version, and retain the tested downgrade.
Application and product owners approve the version; Ontology owners approve regenerated resources; security owners approve any separately proposed auth change; production owners approve promotion and downgrade windows.
An old/new contract inventory, release evidence, dependency diff, code changes, test matrix, non-production receipt, approvals, exact promoted version, observation, and downgrade procedure.
| Condition | Response |
|---|---|
| Generated symbols disappear | Confirm Developer Console selections and published Ontology changes before adapting code. |
| Tests pass but access expands | Block promotion and compare scopes, restrictions, principal permissions, and selected resources. |
| A transitive dependency changes runtime behavior | Pin or update the dependency deliberately and extend the contract tests. |
| Downgrade cannot restore compatibility | Keep production on the old version and redesign the migration sequence. |
Move a TypeScript OSDK application to a new generated package by applying the documented Action/query syntax changes, pinning a compatible client, and validating reads plus validation-only Actions.
Upgrade the Python Platform SDK on a branch, compare generated endpoint models and errors, run bounded API contract tests, deploy to test, and retain the previous lockfile and product version.