Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
palantir-deploy-integration【部署与运维】Choose and execute a Foundry-native deployment path for OSDK applications, products, or container workloads. Use when publishing a Developer Console app, DevOps product, or Compute Module. Trigger with "deploy to Foundry" or "Palantir Compute Module".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Select the deployment primitive from the workload instead of defaulting to an external cloud runtime. Use Developer Console and Marketplace for OSDK applications, DevOps products for release-managed resources, or Compute Modules for compatible container workloads inside Foundry.
references/official-docs.md and the target enrollment's in-platform Compute Module or DevOps instructions.Use Developer Console OAuth for application access and Foundry's approved artifact/deployment authentication for publishing. Keep client secrets and bearer tokens in approved secret surfaces; do not bake them into images, code repositories, product parameters, or website assets.
Classify the workload and select Developer Console/Marketplace, a DevOps product, or a Compute Module with a written rationale.
Inventory dependencies, OAuth grants, resource restrictions, parameters, markings, artifact repository, and target-space ownership.
Build and test a versioned artifact; for containers, verify non-root numeric user, linux/amd64, allowed ports, and a non-latest tag or digest.
Install or configure in a non-production environment and run functional, security, scaling, and failure-path checks.
Promote the exact artifact through the approved release path, verify health and logs, and retain the prior version for rollback.
Application, platform, security, and data owners approve the deployment and its access. Production installation, module start/scale changes, OAuth changes, and release-channel changes are live mutations requiring explicit approval.
A deployment decision, dependency and parameter map, immutable artifact identity, access model, environment test results, promotion receipt, health evidence, and rollback target.
| Condition | Response |
|---|---|
| The container violates image requirements | Reject the artifact and rebuild it; do not request a platform exception as the first response. |
| Parameters resolve to source-environment values | Stop installation and correct supported remapping or explicit environment parameters. |
| The module starts but cannot access data | Check OAuth/resource restrictions and Foundry permissions without embedding new credentials. |
| Post-promotion health degrades | Roll back to the recorded artifact or product version and preserve logs and metrics. |
Package an OSDK website and Developer Console application as a DevOps product, install it in a test space, verify remapped OAuth/Foundry parameters, then promote the same product version.
Deploy a container-backed function as a Compute Module using a non-root linux/amd64 image pinned by version, query it in the test panel, inspect logs, and validate scale behavior.