Skip to content

Implementation plan / Session plan / Readiness RC-1 / Runbook entries

RC-1 runbook entries

Slice RC-1
Status Draft. Written by session RC-1-S27 on 2026-11-27, for the service owner to approve. Not yet exercised by the operators
Readiness items D1 ADM "Support procedures"; D2 ISE "Support procedures" and "User training" (replay, failover, restoration, downtime command); D10 ESS "Support procedures" (runbooks for each degraded mode of section 8.6, manual recovery, emergency configuration path, L1 to L3 routing)
Targets evidenced NFR-ADM-007, NFR-ISE-007, NFR-ESS-009 (runbook and recovery procedure of each service); NFR-ISE-019 (support tiers)

These are the runbook entries for the alerts and the recovery of the RC-1 services. The alerts that already have a runbook in platform/observability/runbooks/ (platform/observability/README.md) keep it: section 3 links them, adding what RC-1 needs. The entries of sections 4 and 5 are new. Each is written so that it can become a file of its unit's runbook folder, in the same form as the observability runbooks ("What it means", "What to do"). Moving them there is work for the owning unit's sessions (follow-ups, in the readiness items).

Every command and endpoint below exists in the code base on 2026-11-27, unless the entry says otherwise. No entry asks anyone to change a database by hand.

1. Before any entry

  • Correlation identifier first. Every screen gives the service desk a reference ("Reference for the service desk: …"). It is the correlation identifier. Find the transaction with it in Tempo ({ span."his.correlation_id" = "<id>" }) and Loki ({service_name=~".+"} | correlationId="<id>") (platform/observability/README.md, "Following a transaction").
  • Dashboards. Use the Service dashboard (uid his-service, variable service) for one unit, Platform reliability (his-platform-reliability) for the whole platform, and Integration operations (his-integration-operations) for queues and dead letters.
  • Health. Every unit answers GET /actuator/health/readiness. The synthetic checks of the collector poll five units: adm-identity, adm-patient-administration, ess-audit, ess-runtime-decision and ise-observability.
  • Acknowledge an alert you have taken (POST /v1/alerts/{alertId}/acknowledge on ise-observability), so that it is not escalated further.
  • Every manual action records a reason (D10 8.6, "Manual recovery"). Replay into identity needs a second person (BR-ISE-006).

2. Support tiers and escalation

The support model of PRS 18.1. Its objectives are proposals (NFR-ISE-019).

Tier Takes For RC-1 Objective (proposed)
L1, local Workstation, printer, sign-on help, a clerk's report Records the screen's reference and the registration point; checks whether others at the point are affected; tells the supervisor to use the downtime kit when downtime is declared 15 to 30 minutes for urgent clinical impact during active shifts
L2, application and integration Configuration, routing, interfaces, role provisioning Runs the entries of sections 3 to 5 that need no code change: dead letters, stuck tasks, quarantine review, role checks 24x7 for Tier 1; urgent response under 1 hour
L3, engineering and platform Defects, performance, deployment, infrastructure Restarts, restoration, rollback, rotation, the decision engine By severity and tier, through the paging of CFG-ISE-023
Clinical safety escalation Possible wrong patient, a record attached to the wrong person, a registration the clerk cannot trust Straight to clinical command, whatever the IT tier. Never waits in a queue Immediate

Paging follows CFG-ISE-023, as ise-observability implements it (platform/observability/README.md, "Routing and escalation"): - A Critical or High alert on a Tier 1 service pages L2 on call at once, then the secondary on call after 10 minutes and the incident commander after 15. It must be acknowledged within 5 minutes. - Tier 2 escalates to the secondary on call after 30 minutes. Medium and Low alerts become service desk tickets. - An alert for a service the catalogue does not hold is routed as Tier 1. That is the case for every RC-1 unit today: no catalogue entry is committed (section 6). - No rule carries escalation=clinical-safety yet. Which alerts should carry it is open (RC-1-S10, Q3 on issue #24). Until it is answered, the on-call engineer escalates by hand any alert that could mean a wrong-patient record, for example A-06 (audit integrity) or R-07 (replay into identity).

3. Alerts with an existing runbook

Alert Runbook What RC-1 adds
SyntheticCheckFailing (critical) platform/observability/runbooks/SyntheticCheckFailing.md For adm-identity or adm-patient-administration, registration is stopped. Tell the incident commander at once, not after 15 minutes. The downtime procedure starts at its section 2 (downtime procedure)
ServiceErrorRateHigh platform/observability/runbooks/ServiceErrorRateHigh.md First check whether the 5xx are 503s from the decision budget (R-02): the units refuse what the decision service does not answer within 250 ms. RC-1-S26 measured up to 44% refusals at twice the peak on a loaded host
ServiceLatencyHigh platform/observability/runbooks/ServiceLatencyHigh.md The decision service is the usual bottleneck (RC-1-S26). Check his.authz.decision.latency before scaling the caller
DeadLetterRaised platform/observability/runbooks/DeadLetterRaised.md R-07 for the backbone's operations
ConsumerLagHigh platform/observability/runbooks/ConsumerLagHigh.md After an outage, lag is expected while the outboxes drain. Watch that it falls; R-05
TelemetrySourceSilent platform/observability/runbooks/TelemetrySourceSilent.md none
SecretInTelemetry platform/observability/runbooks/SecretInTelemetry.md Rotate as in R-10
TelemetryExportFailing, HisWatchdog, MonitoringPipelineDegraded, ObservabilityUnitSilent platform/observability/runbooks/TelemetryExportFailing.md, platform/observability/runbooks/HisWatchdog.md, platform/observability/runbooks/MonitoringPipelineDegraded.md, platform/observability/runbooks/ObservabilityUnitSilent.md While monitoring is down, watch the registration points' reports. A silent monitor is not a healthy service

4. Alerts without a runbook: new entries

The rules of A-01 to A-04 are written but not loaded: bin/grafana-apply loads only grafana/alerting/rules.json. A-05 to A-09 are counters or log lines with no rule at all. Until both are fixed (follow-ups), these conditions are found on the dashboards or in the logs, not by a page.

A-01 GatewayPolicyServiceUnavailable (critical, Tier 1)

Rule: platform/gateways/observability/alert-rules.yaml.

What it means. The internal gateway's circuit to the decision service is open (CFG-ISE-031: 50% of at least 20 calls failed within 10 s). The gateway takes the degraded path (D02-ISE 9.1): - writes are refused with "the action was not saved"; - a fresh cached Permit serves an internal Tier 1 read; - external requests get no data.

No RC-1 operation is declared a Tier 1 clinical read yet (RC-1-S12, Q3), so in practice every request is refused.

What to do. 1. Follow R-02 (decision service outage). 2. Tell the incident commander. The clock for the 15-minute downtime declaration started when the circuit opened. 3. After recovery, check that the circuit closes (the half-open probe runs after 30 s), and that the refusals stop on the Service dashboard of adm-patient-administration.

A-02 GatewayPolicyOutageDowntime (critical, Tier 1, action=declare-downtime)

What it means. The decision service has been unavailable for 15 minutes (CFG-ISE-031). Screens behind the gateway now show "follow the downtime procedure".

What to do. 1. The incident commander declares downtime for the affected units (downtime procedure, section 2). 2. Go on with R-02.

A-03 GatewayAuditPathUnconfirmed (critical, Tier 1)

What it means. The gateway cannot confirm its audit path. Emergency access (Break-the-Glass) depends on a confirmed audit path, and so does any external release.

What to do. 1. Follow R-04 (audit service outage). 2. Check the gateway's own audit outbox metrics on port 9091.

A-04 GatewayRejectionRateHigh (warning)

What it means. More than 5 requests a second have been refused for 10 minutes: revoked credentials, rate limits, retired versions or direct calls (FR-ISE-GWY-001). Its severity warning is not one of the severities CFG-ISE-023 routes (follow-up).

What to do. 1. Find the refusal reasons in Loki for the gateway, and the client. 2. A single client over its limit is told by L2. 3. Many clients refused with 401 may mean sign-on trouble: go to R-03. 4. Direct calls bypassing the gateway are a security event: tell security operations.

A-05 Clock drift: NodeClockDriftWarning, NodeClockDriftCritical, NodeClockUnsynchronized, TimeSourcesUnreachable, NodeRemovedFromTier1ForClock, ClockOffsetsNotReported

Rule: platform/deployment-topology/observability/clock-drift.rules.yaml. The rules point at …/ise-deployment-topology/NodeClockDrift, NodeClockUnsynchronized, TimeSourcesUnreachable and ClockOffsetsNotReported. This entry serves all four.

What it means. A node's clock is more than 0.1 s (warning) or 0.5 s (critical) off its time source, or the time sources cannot be reached. Beyond 1 s, the clock guard taints the node his.cema.care/clock-skew=true:NoExecute, so Tier 1 pods leave it (FR-ISE-PLT-004, platform/deployment-topology/README.md, "Time integrity"). The event backbone refuses events more than 1 s off (CFG-ISE-020). The audit service flags skews over 5 s.

What to do. 1. Read the offsets: GET /v1/topology/clock-offsets. 2. One node: check chrony on it (chronyc tracking, chronyc sources). The node returns to routing within 100 ms of its clock coming back. 3. Every node (TimeSourcesUnreachable): the site's two time servers or the network to them. This is Tier 1; tell the incident commander. 4. ClockOffsetsNotReported: the node exporter or Prometheus. Until it is fixed, drift cannot be seen. 5. After recovery, ask the audit service for an integrity verification of the window (R-04, step 4). Events written with a skewed clock keep their recorded time, and the audit flags them.

A-06 Audit quarantine, completeness or integrity (his.audit.alerts{kind=quarantine|completeness|integrity}, no rule)

Source: services/ess-audit (AuditAlerts, AuditStore, Completeness, IntegrityVerifications).

What it means. - quarantine: an audit event did not conform and was kept byte for byte outside the trail. - completeness: an emitter's count does not match what was stored. - integrity: the hash chain of a day does not verify. That may be tampering, so it is a security incident (FR-ESS-AUD-002).

What to do. 1. quarantine: GET /v1/quarantined-audit-events as the audit administrator. Group them by emitter and reason. The known causes on 2026-11-27 are in RC-1-S26's handover ("Audit completeness"): searches that failed closed without a decision, unregistered types, and administration events without their version. A new cause goes to the emitting unit's owner. Accepting a quarantined event with an annotation needs a contract operation that does not exist yet (FR-ESS-AUD-003), so quarantined events stay there. 2. completeness: GET /v1/completeness-reports for the period. A mismatch right after an outage may be events still in an outbox (R-04). Report again after the grace period (his.audit-service.completeness-grace, 10 minutes). 3. integrity: do not try to repair. Tell the security and privacy office and the incident commander. The verification marks the affected range and keeps its evidence (GET /v1/integrity-verifications/{id}).

A-07 Event backbone: backlog near retention, unregistered consumer (his.backbone.alerts, no rule)

Source: platform/event-backbone (SubscriptionMonitor).

What it means. - retention: a subscription's oldest unconsumed event is close to the topic's retention, so a consumer that does not catch up will lose events. - unregistered consumer: a group reads a topic the register does not list it on.

What to do. 1. retention: treat it as urgent. Restart or scale the consumer (R-05). If it cannot catch up before retention, tell the integration architect. A replay from the archive (2 years) may be needed later (R-07). 2. unregistered consumer: find the group and its unit, then have it added to topic-register.yaml by the backbone's owner, or stopped if it should not read.

A-08 Stuck work (ess-coordination StuckMonitor, no rule)

What it means. A task, queue or workflow instance passed its threshold (CFG-ESS-015: 15 minutes for critical work, 24 hours for other work), or a queue has no eligible user. For RC-1 the queue is identity stewardship: a stuck item is a possible duplicate nobody is looking at (RISK-ADM-001).

The alert is recorded in notification_request but not sent until the notification service of RC-2. Find it on the recovery worklist UI-ESS-009 or with GET /v1/tasks?stuck=true.

What to do. 1. Open the item on UI-ESS-009. 2. Reassign it (POST /v1/tasks/{id}/reassign) or recover it (POST /v1/tasks/{id}/recover), with a reason. 3. A queue with no eligible user: tell HIM / registration governance, who own the steward roster (readiness item "Identity stewardship capacity"). 4. A failed workflow step into identity (reconciliation-required) is never retried blind: the owning domain confirms first, and a second person authorizes (FR-ESS-WFL-001, TEST-ESS-043).

A-09 Identity and secrets: feed silent, service-identity rotation overdue, certificate expiring, compromise

Sources: ess-runtime-decision MOD-ESS-001 (records in outbound_request until RC-2); platform/secrets-keys (log lines and metrics).

What it means and what to do. - Identity-source feed silent for 26 hours: joiners and leavers are not arriving. Check the source system's export. A leaver who must lose access now is handled as in the downtime procedure, section 7. - Service-identity rotation overdue (90 days): rotate as in R-10. An overdue unit identity is not a reason to stop the unit. - CertificateExpiring (30 and 7 days): the lifecycle job rotates at two thirds of the lifetime. If it has not, rotate by hand (R-10). An expiry would stop the interface (RISK-ISE-008). - Suspected compromise: revoke at once (POST /v1/cryptographic-items/{id}/revocation). The revocation takes effect immediately, and the dependants lose access. Tell the security and privacy office. This is an incident, not a routine rotation.

5. Recovery entries

R-01 A unit has stopped or is unhealthy

Applies to adm-identity, adm-patient-administration, ess-runtime-decision, ess-reference, ess-audit and ess-coordination.

  1. Check its readiness and its last logs. Most failures at start are a dependency: its database, Keycloak, the decision service or Kafka.
  2. Restart it. RC-1-S26 measured 11 s for a killed Tier 1 unit to come back with no committed registration lost (NFR-ADM-010, process failure). During the first seconds after a start the unit's decisions can exceed the 250 ms budget and be refused.
  3. After the restart, check:
  4. its outbox drains (audit and events);
  5. for adm-identity, review_task_request drains;
  6. for adm-patient-administration, identity_handoff drains.
  7. A unit that does not come back after a restart: L3. For a Tier 1 unit, tell the incident commander.

R-02 The decision service is out (ess-runtime-decision or its decision engine)

What happens. Every unit refuses what it cannot have decided within 250 ms (Deny; 503 with Retry-After). Nothing is granted. Audit intake goes on, because it asks no decision.

  1. Check the decision engine (OPA sidecar at 127.0.0.1:8181 in the unit's pod). The unit reloads its policy into OPA after an OPA restart. Then check the unit itself (R-01).
  2. A unit that answers every decision with 503 after start may have no governed policy version. The starter policy is off by default (his.authz.seed-enabled) and ignored in production. Without a governed version, every decision is a 503 (RC-1-S17). Check GET /v1/policies.
  3. Note the start time. At 15 minutes the incident commander declares downtime (A-02).
  4. After recovery, check that the refusals stop. Watch the latency of decisions: at the planned peak the decision service is the bottleneck (RC-1-S26).
  5. Use of cached decisions during the outage is audited, and is reviewed after recovery (D10 8.6). In RC-1 only the gateway can use them.

R-03 Sign-on is out (Keycloak, realm his)

What happens. New sign-on fails closed. Existing sessions run to their expiry (12 hours at most), and step-up fails.

  1. Check Keycloak and its database.
  2. Do not restart the units: they validate tokens with the keys they already hold.
  3. If clerks starting a shift cannot sign on beyond the tolerated period, the incident commander declares downtime for their points.
  4. After recovery, reconcile authentication events (D10 8.6).

R-04 The audit service is out (ess-audit)

What happens. Every unit keeps its audit events in its outbox, and protected actions go on while the buffer holds (BR-ESS-022). The buffer is 100,000 events by default; the value of CFG-ESS-026 is not set yet. When it is full, adm-patient-administration (Tier 1) goes on. The other RC-1 units (his.unit.tier 2) refuse protected actions with "Audit is unavailable; the action cannot be recorded now." adm-identity, the patient index, is among them (readiness items, finding F-01).

  1. Restart (R-01). Watch his.audit.buffer.full on every unit while it is down.
  2. On recovery, each buffered event is stored once (RC-1-E2E-011: 8 of 8).
  3. Ask for a completeness report over the outage (POST /v1/completeness-reports) once the grace period has passed.
  4. Ask for an integrity verification over the outage (POST /v1/integrity-verifications). The daily verification also runs at 01:00 UTC over two days.
  5. Count the quarantine (A-06) and compare it with the count before the outage.

R-05 The event backbone or Kafka is out

What happens. Every unit keeps its events in its outbox and publishes them on recovery (RC-1-E2E-012: 5 of 5). Registration and encounters go on (BR-ISE-009).

  1. Restore Kafka, then the schema registry, then ise-event-backbone.
  2. Watch the consumer lag fall (ConsumerLagHigh, the Integration operations dashboard).
  3. Compare publication and consumption counts for the window (GET /v1/subscription-counts).
  4. Check the dead letters (R-07).

R-06 The task service is out (ess-coordination)

What happens. Stewardship tasks wait in adm-identity's review_task_request and are submitted on recovery, once each (the match is the idempotency key). Running workflow instances pause.

  1. Restart (R-01).
  2. Check that review_task_request has no row left pending from before the outage.
  3. Check that the stewardship queue on UI-ADM-002 shows the possible duplicates registered during the outage.
  4. Check the recovery worklist (A-08).

R-07 Dead letters and replay

The operations API of the event backbone (event-operations.v1, platform/event-backbone/README.md). It needs the Integration Operations Analyst role.

  1. List the dead letters: GET /v1/dead-letters. Read one: GET /v1/dead-letters/{exceptionId}, with its reason, attempts and correlation identifier.
  2. Have the cause fixed first. Replaying a poison event only dead-letters it again.
  3. Replay into one subscription: POST /v1/replays, from the dead letters or a retained position.
  4. adm-identity is a replay-sensitive target. Its replay needs the owning domain's confirmation and a second analyst (POST /v1/replays/{replayId}/authorization), who must be a different person (BR-ISE-006). The consumer's inbox applies an event once (RC-1-E2E-008), so a duplicate does nothing.
  5. Close a dead letter that is not to be replayed, with its reason: POST /v1/dead-letters/{exceptionId}/closure.

R-08 PostgreSQL of a unit is out

What happens. That unit is out (R-01). Its outbox rows are in the same database, so nothing acknowledged is lost if the database comes back intact.

  1. Restore the database service.
  2. If the data must be restored from a backup: MOD-ISE-009, backup and recovery, is not built (slice RC-3). No backup restore has been exercised (NFR-ADM-010, NFR-ISE-013 shortfalls of RC-1-S26). Until then, a restore is an L3 incident with the incident commander, and the window it loses is reconciled as a downtime (downtime procedure, section 6).

R-09 A release went wrong: rollback or forward fix

  1. Use the release record: GET /v1/releases, then GET /v1/releases/{id} for the manifest, the signatures and the SBOM.
  2. Deploy the previous signed release, or a forward fix through the pipeline. Unsigned artifacts are refused (BR-ISE-012). An emergency fix takes the expedited path, with its retrospective review (BR-ISE-021).
  3. Record it: POST /v1/pipeline/releases/{releaseId}/recoveries. ReleaseDeployed is published for the rollback.
  4. A database migration is not rolled back by deploying the older code. Check the release notes for the migration's compatibility first.
  5. The rollback test, the failed-health-check state and the change record are FR-ISE-REL-003 (RC-3-S12), not yet built.

R-10 Rotate a secret, key or certificate

The inventory API of platform/secrets-keys (secrets.v1, platform/secrets-keys/README.md).

  1. Rotate: POST /v1/cryptographic-items/{id}/rotations. The old and new versions overlap until every consumer has the new one. A consumer that lags extends the overlap, with an alert.
  2. Follow progress with GET /v1/cryptographic-items/{id}/history. GET /v1/rotation-report lists what is due.
  3. Key recovery is under dual control: POST /v1/key-recoveries, then a second person's confirmation.
  4. TEST-ISE-026 showed rotation without interruption.

R-11 Emergency configuration change

The governed configuration service (FR-ESS-CFG-001 part 6.11, configuration.v1).

  1. Use the emergency path. The change is active at once, and a retrospective review task is due within 5 working days.
  2. The second approver is named in the request. The service cannot yet prove that the approver signed: there is no verified step-up (RC-1-S05, Q4). The approver therefore confirms in writing in the incident record.
  3. To restore the prior behaviour, roll back through the same service (rollback request and decision). Never edit configuration in a production database.

6. Draft service catalogue entries

The service catalogue holds what NFR-ADM-007, NFR-ISE-007 and NFR-ESS-009 ask of every service: owner, tier, SLO, dependencies, runbook, dashboard, recovery procedure and supported version (service-catalogue.v1). The catalogue is a runtime API of ise-deployment-topology, and no entry for an RC-1 unit has been registered in any environment. The only worked example is the stub's, for adm-patient-administration. These are the drafts to register, for the owners to confirm. A Tier 1 entry is refused admission without its alert rules (alertRuleRefs), so those entries wait for A-01 to A-08 to be loaded.

Service Owner (role) Tier (architecture 9.1) SLO and RTO / RPO Depends on Runbook and recovery Dashboard Supported version
adm-patient-administration Domain 1 product team (registration) 1 (emergency registration, encounter) 99.95% monthly; p95 < 2 s (NFR-ADM-001); RTO ≤ 1 h, RPO ≤ 5 min adm-identity, ess-runtime-decision, ess-reference, ess-audit, Keycloak, backbone R-01, R-02, R-04, R-05 his-service?var-service=adm-patient-administration Version 1, supported until 2028-11-30 (platform/supply-chain/register/components.toml)
adm-identity Domain 1 product team (identity) 1 (MPI lookup) as above ess-runtime-decision, ess-reference, ess-coordination, ess-audit, Keycloak, backbone R-01, R-02, R-04, R-06, R-07 …=adm-identity as above
ess-runtime-decision ESS technical lead 1 (authentication, policy decision) 99.95%; decisions p95 ≤ 50 ms (NFR-ESS-001); RTO ≤ 1 h, RPO ≤ 5 min Keycloak, OPA sidecar, ess-reference, ess-audit R-01, R-02, R-03 …=ess-runtime-decision as above
ess-reference ESS technical lead; terminology and master-data owners 1 (terminology runtime, master-data read) 99.95%; p95 ≤ 100 ms (NFR-ESS-002); RTO ≤ 1 h, RPO ≤ 5 min ess-runtime-decision, ess-audit R-01 …=ess-reference as above
ess-audit ESS technical lead; Security and Privacy Office 1 (audit intake) 99.95%; RTO ≤ 1 h, RPO ≤ 5 min its database, backbone (intake channel) R-01, R-04, A-06 …=ess-audit as above
ess-coordination ESS technical lead; workflow and notification administrator 2 (workflow engine) 99.9% (NFR-ESS-004); RTO ≤ 4 h, RPO ≤ 1 h ess-runtime-decision, ess-audit, backbone R-01, R-06, A-08 …=ess-coordination as above
ise-event-backbone Platform engineering / integration architect 1 (backbone) 99.95%; event p95 < 5 s (NFR-ISE-002); RTO ≤ 1 h, RPO ≤ 5 min Kafka, schema registry, ess-runtime-decision R-05, R-07, A-07 …=ise-event-backbone as above
Gateways (ise-gateways) Platform engineering 1 99.95% ess-runtime-decision, ess-audit A-01 to A-04 …=ise-gateways as above
ise-secrets-keys (OpenBao) Security engineering lead 1 (secrets) 99.95% OpenBao Raft, HSM R-10, A-09 …=ise-secrets-keys as above
ise-deployment-topology (and time service) Platform engineering / SRE lead 1 (time service); 2 (catalogue) 99.95% for time Prometheus, chrony A-05 …=ise-deployment-topology as above
ise-observability Platform engineering / SRE lead 2 99.9% Grafana, Prometheus, Loki, Tempo, catalogue its own runbooks (section 3) his-platform-reliability as above
ise-delivery-pipeline, supply chain Release manager 3 99.5% OpenBao Transit, registry R-09 …=ise-delivery-pipeline as above

The tiers above follow architecture 9.1. They do not match what the units say of themselves (finding F-01 in the readiness items). "Supported until 2028-11-30" is the date of the supply-chain register for owned services, which the Enterprise Architect is still to confirm (RC-1-S18).