/guidewire-pack:guidewire-ci-cd-pipelinefrom guidewire-pack
Guides Guidewire CI/CD pipeline design for InsuranceSuite: Gosu compile, GUnit, lint gates per PR, config-package promotion dev→UAT→prod, canary deploy, and rollback decision trees.
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.
Ship Gosu changes from a developer's branch to production without breaking running policies. Guidewire Cloud Console (GCC) deployment slots are the carrier-side promotion mechanism — dev → uat → prod — with config packages as the unit of promotion. The CI side validates compile, runs GUnit, and packages; the CD side promotes packages through slots with deploy-time gates.
Five production failures this skill prevents:
gradle build failure on a developer's machine reaches CI as "works on my machine"; CI runs the same gates as a clean clone, fails fast, never lands on a slot.guidewire-local-dev-loopdev, uat, prod) configured for the integration's product lineguidewire-security-and-rbac) provisioned to CI for decrypting environment-specific secretsBuild the pipeline in this order. Each step targets one of the five production failures listed in Overview.
Three checks, all blocking. The PR cannot merge to main if any fails.
# .github/workflows/ci.yml
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with: { java-version: 17, distribution: temurin }
- run: ./gradlew compileGosu # gate 1: code compiles
- run: ./gradlew test # gate 2: GUnit passes
- run: ./gradlew check # gate 3: lint + arch + style
compileGosu catches type errors that Studio's incremental compile sometimes misses. test runs the GUnit suite — every UW rule, validation rule, and entity-level Gosu has tests, and CI runs them all in <5 minutes for a normal config zone. check includes static analysis (ban on direct DB writes from Gosu, ban on certain plugin patterns, etc.).
package:
needs: validate
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
- run: ./gradlew packageConfig
- run: |
VERSION=$(git describe --tags --always)
aws s3 cp build/libs/configuration.zip \
s3://gw-config-artifacts/${{ github.event.repository.name }}/${VERSION}.zip
Config packages are immutable once published. Promotion deploys an existing package to a slot; never modifies it in place. The package name should encode the git SHA so traceability is exact.
Every merge to main deploys to dev automatically. Dev is the first place real Cloud API runtime exercises the change.
# Promotion API (illustrative — exact GCC API surface varies by tenant)
curl -X POST "$GCC_API/slots/dev/deploy" \
-H "Authorization: Bearer $GCC_TOKEN" \
-d '{"package": "configuration-abc1234.zip"}'
Wait for deploy to complete (poll status), then run smoke tests against the dev tenant — at minimum, the verification probe from guidewire-install-auth and a synthetic FNOL from guidewire-observability-and-incident-response. If smoke fails, page the on-call author.
UAT is where the product team's regression suite runs. Promotion to UAT is manual (a button in the CD tool) or scheduled (nightly). UAT regression covers:
Failed regression blocks promotion to prod automatically. Manual override requires an approver outside the deploying team.
For high-risk changes (rate plan changes, UW rule logic, payment authorization changes), use a true canary: a separate prod slot serving a percentage of real traffic. GCC supports slot-level traffic splitting on tenants where it's enabled.
prod slot: serves 95% of traffic, runs the previous package
prod-canary: serves 5%, runs the new package
Watch the canary's bind-success-rate, FNOL p99 latency, and 4xx error rate against the main prod slot. After 24h with no SLO breach, ramp to 100% and retire the canary slot.
For low-risk changes (UI text, localization, non-rule Gosu utility classes), skip the canary — single-step promotion to prod is acceptable.
A bad change is detected. The rollback decision is not "revert the package":
Bad change detected in prod
├─ Has any policy been bound or claim opened against the bad code? → check the integration_audit table
│ ├─ NO → revert the package; deploy the previous version; done
│ └─ YES → revert the package AND determine if the bound resources are recoverable
│ ├─ Premium calculation wrong → script-driven rate adjustment endorsements (per affected policy)
│ ├─ Reserve / payment wrong → finance-team-led correction; do not silent-fix
│ └─ FNOL routing wrong → rerun routing logic against affected claims
└─ No policy/claim impact, just operational error (logs noisy, dashboard wrong) → revert and PIR
The bound-state recovery path is what makes Guidewire rollbacks different from typical SaaS rollbacks. Code reverts, regulatory state does not.
Schema changes (new entity, new column, changed column type) deploy in two phases to retain rollback capability:
Phase 1 (deploy): add new column, code reads-old-or-new, writes-both
Phase 2 (after soak): change code to read-new only, drop old column
A 1-week soak between phases gives time to detect issues; a phase-1 rollback drops the not-yet-load-bearing new column. Phase-2 rollback is harder — the old column is gone — so phase 2 only ships when phase 1 has been clean for the full soak.
A production-grade CI/CD pipeline ships with all of the following:
compileGosu, test (GUnit), check (lint/arch).name: gw-pipeline
on: { push: { branches: [main] }, pull_request: {} }
jobs:
validate: { uses: ./.github/workflows/validate.yml }
package: { needs: validate, if: github.ref == 'refs/heads/main', uses: ./.github/workflows/package.yml }
deploy-dev: { needs: package, uses: ./.github/workflows/deploy.yml, with: { slot: dev } }
smoke-dev: { needs: deploy-dev, uses: ./.github/workflows/smoke.yml, with: { env: dev } }
deploy.yml and smoke.yml are reusable across environments; the slot and env inputs parameterize.
uat-regression:
runs-on: ubuntu-latest
steps:
- run: ./scripts/regress.sh personal-auto # quote+bind a PA, assert premium in [800,1200]
- run: ./scripts/regress.sh bop # quote+bind a BOP
- run: ./scripts/regress.sh fnol-auto # FNOL with vehcollision, assert exposure shape
- run: ./scripts/regress.sh renewal-pa # renew a sample PA, assert renewal premium in band
# 1. Stop further deploys (block CI)
gh workflow disable gw-pipeline.yml
# 2. Revert the package on prod
curl -X POST "$GCC_API/slots/prod/deploy" -d '{"package": "configuration-abc0001.zip"}' # previous SHA
# 3. Identify affected policies
psql -c "SELECT resource_id FROM integration_audit
WHERE at BETWEEN '2026-04-15T14:00Z' AND '2026-04-15T14:45Z'
AND api_path LIKE '%/bind' AND status_code = 200"
# 4. Open finance-team ticket with the policy list and the corrective action
# 5. Re-enable CI only after the corrective endorsements have run
| Symptom | Cause | Solution |
|---|---|---|
| CI passes locally, fails in CI | uncommitted file or environment-specific config | the failing job log shows the file; commit or fix the env |
compileGosu fails on a class that worked locally | Studio incremental compile masked an error | the CI failure is authoritative; fix the code |
| GUnit times out in CI but passes locally | flaky test using ambient sample data | tests must self-fixture; never depend on shared dev DB state |
| Dev deploy succeeds but smoke fails | code change broke a Cloud API contract | the failing smoke check identifies the contract; revert and re-design |
| UAT regression flags a premium drift on a product line | rate plan change interacts with a line not exercised in dev | extend dev test coverage to include that line; do not promote to prod until UAT passes |
| Canary shows elevated 4xx but main prod is clean | the new code introduced a caller-error path | inspect the 4xx response bodies; fix or retire the change |
| Rollback completed but customer-facing system still serves bad data | bound policies on the bad code are unaffected by the rollback | follow the bound-state recovery path; rollback is necessary but not sufficient |
| Schema phase 2 rolled back; old column gone | phase 2 should not ship until phase 1 soak is clean — this scenario means the discipline was bypassed | data recovery from backup; review schema-change discipline |
gradle packageConfig produces a 500MB artifact | unbounded log/build outputs included in the package | tighten the package include patterns; package should be <50MB for a typical config zone |
For deeper coverage (multi-tenant CI fan-out, GitOps with Argo, blue-green deploys, infrastructure-as-code for slot configuration, change-management integration with ITIL ticketing), see implementation guide and API reference.
guidewire-local-dev-loop — the same GUnit + sample-data patterns that run in CIguidewire-security-and-rbac — encrypted secrets that promote with the package, scope assignment per environmentguidewire-observability-and-incident-response — the smoke-test, canary signal, and rollback-decision data this skill referencesguidewire-migration-and-upgrade — the larger version-upgrade flow that uses this pipeline as substrateWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub flight505/skill-forge --plugin guidewire-pack10 skills in this plugin
/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-migration-and-upgradeMove 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"./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".2 plugins ship this exact skill · first indexed Jul 18, 2026
Other plugins' skills for the same job