A walkthrough of using Claude Code with Chkk Upgrade Agent to produce environment-aware IaC pull requests
Clone the Sample Chkk IaC repo
Retrieve your Chkk Access Token
Install in Claude Code
Chkk-Upgrade-Context-MCP
using the Claude Code CLI:<CHKK_TOKEN>
with your Chkk Access Token.Verify Chkk-Upgrade-Context-MCP Server is installed
Retrieve the Upgrade ID
Open a new chat in Claude Code
Load the Chkk Upgrade Agent
Provide the upgrade ID of the Example Upgrade Plan
Kickoff & ID Handshake
Environment Snapshot & State Setup
cert-manager
) and version span (1.14.4 → 1.17.2
)..chkk/scratchpad/
) which enables workflow tracing and checkpointing.Context Retrieval (MCP Tool Call)
cert-manager
.Plan Load & Sanity Summary
cert-manager v1.14.4 → v1.17.2
Target Locator (Chart Finder)
.../helm/cert-manager/
) by scanning for Chart.yaml where
name == cert-manager
and version == 1.14.4
(exact, case-sensitive).Edge cases you might see:Preflight Checks
Reviewer Context, Upfront
Deterministic Apply Pass
templates/cainjector-service.yaml
, templates/extras-objects.yaml
) with immediate ✅ Added confirmations.
*.diff
is applied one-by-one with a visible sequence:.bak
, then removed with ✅ Deleted confirmations.
CRD Copy
Update Custom Resources
Postflight Checks
Chart.yaml version == to_version
(e.g., v1.17.2
) → ✅❌Human-Readable Summary (PR-Ready)
cert-manager
IaC Successfully Updated — v1.14.4 → v1.17.2.
Review workspace changes
Chart.yaml
, values.yaml
, and any template updates.Commit and open a pull request