/guidewire-pack:guidewire-migration-and-upgradefrom guidewire-pack
Move a Guidewire deployment to a new platform or release without breaking running policies and claims — on-prem→cloud cutover (config reconciliation, data migration, parallel-run validation), in-place version upgrade (e.g., 202403→202503) with deprecated-API regression coverage, rehearsal-driven cutover with rollback path mid-flight, and broker/claimant communication so users hit the right system at the right time. Use when planning a cloud migration, executing a version upgrade, or rehearsing a cutover. Trigger with "guidewire migration", "guidewire upgrade", "guidewire cutover", "guidewire on-prem to cloud", "202503 upgrade".
Ships in guidewire-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Move a Guidewire deployment without losing policies, claims, integrations, or trust. Two related but distinct workflows:
202403 → 202503). Same infrastructure, new code, new APIs, deprecated APIs to retire.Both are heavy lifts that go badly if executed without rehearsal. Five production failures this skill prevents:
checksum values do not; downstream integrations fail every PATCH for a week until checksums regenerate.Build the migration / upgrade plan in this order. Each step targets one of the five production failures listed in Overview.
Before designing the move, know what is actually deployed:
| Surface | Catalog |
|---|---|
| Custom Gosu code | every file under modules/configuration/gsrc/; commit count, author distribution |
| Custom plugins | every entry in plugin/registry/*.xml |
| Custom entity extensions | every .eti file deviation from base |
| Outbound integrations | every Service Application registered in GCC; their roles and endpoints called |
| Inbound integrations | every messaging destination consuming App Events; their delivery destinations |
| Reports and queries | dashboards, scheduled batch jobs, ad-hoc Gosu Query API uses |
| Custom UI / PCF | every PCF file deviation from base |
The inventory drives reconciliation. Skipping it is how 30-month "migration" projects happen — surprise customizations surface every other week.
For migrations: identify each customization's status against the cloud base config (still applicable / superseded by base / requires re-implementation / no longer needed). For upgrades: identify each customization's status against the target version's base config.
Custom file Base file (target) Status
gsrc/.../UWRule1.gs same path, same hash no-op (carrier kept it through upgrade)
gsrc/.../UWRule2.gs same path, different hash manual merge required
gsrc/.../UWRule3.gs not present in target cut by Guidewire; verify if rule still needed
gsrc/.../NewRule.gs new in target; no carrier override needed
Use diff -r between current and target base config zones; the output is the merge backlog. Each row gets an owner and a target completion date.
For migrations between deployments, every entity needs to move. The non-obvious challenges:
claim.Policy is a reference to a Policy resource id; new tenant assigns new ids; mapping table required.checksum for optimistic locking; migration must populate plausible checksums or downstream PATCH calls fail until they refresh through GET-then-PATCH.Quoted, claims in Open; cutover plan must decide: complete in old, suspend through cutover, or recreate in new.A typical large-tenant migration moves 100M+ entity rows; rehearsal at production scale (or close to it) is non-negotiable.
Before the real cutover, run the full migration against the staging environment with production-shape data. Measure:
A first rehearsal failing somewhere is normal and expected; the second rehearsal failing somewhere is also normal; the third rehearsal failing somewhere means the plan has gaps. Do not cut over from a third-failure plan.
The cutover is a sequence of phases, each with a defined abort point:
Phase 0: Quiesce — pause non-essential writes; communicate to brokers. [ABORT: resume; reschedule]
Phase 1: Snapshot — capture point-in-time of source. [ABORT: discard snapshot]
Phase 2: Migrate data — bulk move per the data plan. [ABORT: drop staging; resume source]
Phase 3: Cut integrations — repoint downstream systems to new tenant. [ABORT: revert integration config]
Phase 4: Validate — run smoke tests + spot-check 100 random policies. [ABORT: revert integrations + consider replay]
Phase 5: Open — accept production writes on new tenant. [ABORT: difficult; requires rollback plan from §6]
Phase 6: Decommission window — keep source read-only for 30 days for audit. [ABORT: not applicable; cutover complete]
The abort criterion at each phase is a quantitative threshold (data migration error rate > 0.5%, smoke test failure on >10 of 100 spot checks, etc.) decided in advance, not improvised at 2am. Each abort path has a documented runbook.
After Phase 5, the new system is authoritative. Rollback after this point is genuinely hard because writes have happened on the new tenant that did not happen on the old. Two options:
Document the cutoff time after which forward fix is the only option (typically Phase 5 + 1 hour). Past that line, communicate honestly to stakeholders about what is and is not recoverable.
Stakeholders to brief, in priority order:
| Stakeholder | When | Content |
|---|---|---|
| Underwriting + claims operations | T-30 days | what changes, what stays the same, training schedule |
| Broker network | T-14 days | URL changes, login changes, transition for in-flight quotes |
| Claimants with open claims | T-7 days | claim numbers stable; new portal URL |
| State insurance regulators | per regulatory requirements | NAIC notification if applicable |
| Internal IT / security | T-14 days | new tenant URLs for firewall, new audit log location |
Crucially: the message includes the cutover timing and what to do if something looks wrong. Brokers panicking at 9am Monday because they cannot log in to the old URL is preventable.
A migration / upgrade ships with all of the following:
# diff carrier's current config zone against target version's base
diff -r --brief \
~/projects/policycenter-202403/modules/configuration \
~/projects/policycenter-202503-base/modules/configuration \
> customizations.txt
# Each "Files differ" line is a customization to reconcile
phase: data-migration
abort_if:
- error_rate > 0.005 # 0.5% failure rate
- throughput < 1000_per_min # falling behind cutover window budget
- source_DB_read_lag > 60s # source replication broken
on_abort:
- drop_staging_dataset()
- re-enable_source_writes()
- notify_stakeholders("data migration aborted; investigation in progress")
# Pick 100 random policies; verify they read identically from new tenant
psql -tAc "SELECT policy_number FROM policies ORDER BY random() LIMIT 100" \
| while read -r policy; do
OLD=$(curl -fsS $OLD_PC/policies?policyNumber=$policy | jq '.data[0].attributes.totalPremium')
NEW=$(curl -fsS $NEW_PC/policies?policyNumber=$policy | jq '.data[0].attributes.totalPremium')
[ "$OLD" = "$NEW" ] || echo "DRIFT: $policy old=$OLD new=$NEW"
done
If >10 drifts in the 100 sample, abort. Below that, accept and document the drift cases for forward fix.
| Symptom | Cause | Solution |
|---|---|---|
| Customization inventory missing files | non-tracked Gosu, untracked plugin entries | check filesystem, not just git; some carriers have local-only customizations |
| Reconciliation step says "manual merge" for many files | base config diverged significantly across versions | budget more time; consider a phased upgrade through intermediate versions |
| Data migration throughput drops below plan | source-DB read contention, network bottleneck, or staging-DB write contention | identify bottleneck before cutover; cutover-day surprises mean abort |
| Spot-check shows premium drift on a sample policy | rate plan migrated incorrectly or rule code differs in target | abort and investigate; do not accept "minor drift" — the next 100 spot checks will compound |
| Mid-cutover network partition | infrastructure issue independent of the migration | if Phase ≤2 detected: abort. If Phase ≥3: depends on partition extent — partial cutover is the worst state |
| Phase-5 production traffic showing 5xx | integration cutover incomplete or new tenant's auth not yet primed | enacted abort plan if past Phase 5 + 1h is unrealistic; usually forward-fix |
| Brokers calling support saying "can't log in" | comms went out late or pointed at wrong URL | accept the goodwill cost; communicate the corrected URL; do not blame brokers |
| Audit log retention from old tenant lost | migration plan did not address it | regulatory issue; retain a snapshot in cold storage and document for next audit |
For deeper coverage (Migration Accelerator usage, parallel-run validation, blue-green migration tenant patterns, regulatory notification requirements per state), see implementation guide and API reference.
guidewire-ci-cd-pipeline — the deploy substrate that promotes the migrated config to the new tenantguidewire-install-auth — the new tenant's auth setup; secrets rotation across the cutoverguidewire-sdk-patterns — checksum continuity considerations for migrated dataguidewire-observability-and-incident-response — elevated-threshold monitoring during the post-cutover stabilization windowguidewire-webhooks-integrations — App Event consumer cutover; potentially replay events from migration windowWhat SKILL.md sets; muted values are Claude Code's defaults
10 skills in this plugin
/guidewire-ci-cd-pipelineShip Gosu code and configuration changes through Guidewire Cloud Console deployment slots without breaking running policies — Gosu compile + GUnit + lint gates per PR, config-package promotion dev→UAT→prod, schema-change rollouts with rollback hazards documented, canary deploy for high-risk changes, and the rollback decision tree when a release affects already-bound policies. Use when designing the deploy pipeline for a new InsuranceSuite project, hardening an existing one, or recovering from a bad release. Trigger with "guidewire ci cd", "guidewire deploy", "guidewire promotion", "guidewire slots", "guidewire rollback"./guidewire-core-workflow-aAutomate the PolicyCenter account→submission→quote→bind→issue→endorse→renew pipeline including the failure paths — underwriting issues blocking bind, quotes expiring before bind, referrals stuck pending approval, and mid-term endorsements that trigger unexpected premium audit recalculation. Use when building outbound integrations against PolicyCenter Cloud API (CRM-driven submission, broker-portal binding, automated renewal jobs). Trigger with "policycenter automation", "submission to bind", "policy renewal", "policy endorsement", "underwriting issue"./guidewire-core-workflow-bAutomate the ClaimCenter FNOL→investigation→reserve→payment→settlement→close pipeline including the failure paths — duplicate FNOL from multi-source intake, reserve-must-precede-payment ordering, supervisor-authorization tiers, premature settlement, and reopen-vs-new-claim ambiguity. Use when building claim intake from caller portals, IVR, or partner systems; automating reserve-setting jobs; or integrating settlement events with finance. Trigger with "claimcenter automation", "FNOL", "claim reserve", "claim payment", "claim settlement", "claim reopen"./guidewire-install-authAuthenticate production Guidewire Cloud API integrations and survive the auth-side failures — token expiry storms, scope drift, private-CA PKIX errors, secret rotation. Use when hardening OAuth2 token caching, configuring JVM trust stores, or rotating client secrets without downtime. Trigger with "guidewire auth", "guidewire OAuth2", "guidewire token cache", "guidewire PKIX", "guidewire secret rotation"./guidewire-local-dev-loopIterate on Gosu rules and configuration without paying the full 5–15 minute runServer rebuild every time. Use when standing up Guidewire Studio against a local InsuranceSuite instance, attaching an IntelliJ remote debugger to runServer, distinguishing changes that hot-reload from changes that force restart, or building a GUnit-driven TDD cycle for rule logic. Trigger with "guidewire studio", "gosu hot reload", "gosu debugger", "gunit", "guidewire runServer"./guidewire-observability-and-incident-responseOperate a Guidewire Cloud API integration in production — define SLIs/SLOs for token availability, bind success rate, FNOL p99 latency; route alerts so the on-call gets paged for real outages and never for transient noise; triage 401 spikes, 409 storms, 429 saturation, scope drift, and Gosu OOM cascades from signal to recovery in 15 minutes or less. Use when designing a dashboard for a new integration, writing the on-call runbook, or running a post-incident review. Trigger with "guidewire observability", "guidewire slo", "guidewire on-call", "guidewire 401 spike", "guidewire 409 storm", "guidewire incident".Other plugins' skills for the same job
npx claudepluginhub flight505/skill-forge --plugin guidewire-pack