Skip to content

Implementation plan / Session plan / Gate evidence / RC-1 gate RC-1-S28

Slice gate RC-1: evidence and report (round 1)

Slice RC-1 Register a patient and open an encounter on the platform. Tier 1
Gate Slice gate RC-1, 8 criteria
Session RC-1-S28, which wrote none of the slice. Handover: RC-1-S28. Where this lives: ADR-HIS-089
Build main at f82d466 (after RC-3-S05, #204), with this session's documentation commits on top: the scenario ran on f807bac and the folder tests on b302dbd. Neither changes any code
Environment Integration environment of session RC-1-S28 (his-rc-1-s28), full profile, on the shared session host (4 CPUs, Docker 29.9.3, Linux 7.0.0-38). Synthetic data only
Date 2026-11-27
Result Not passed. 21 failures are filed as fix issues (#206 to #209, #211 to #227), round 1. Other gaps cannot be fixed by a session of the slice and go to the signer for a decision. The rehearsal and the signatures are people's. The gate is passed by the clinical owner's signature (ACC-002), not by this session

Records

Record What it holds How to check it
Scenario run 20261127T123911Z-1164 (evidence.json) The 12 cases of e2e/scenarios/RC-1, run with --fresh --strict: 11 passed, 1 failed. Record complete, approval pending. 56 of its 71 files are committed. The Playwright trace, the raw unit logs, evidence.md and one file the secret scan flags are left out, each listed with its sum and reason in the scenario README In scenario/: sha256sum -c --ignore-missing SHA256SUMS. On the complete run folder, before anything was left out, scenario evidence check --strict gave "failed; record complete (12 test cases, approval pending)"
Test scenarios and workflows (tests.json) The 49 test scenarios and 8 workflows of the gate, from the gate's own build of 19 folders: 53 passed, 2 failed, 2 with no test sha256sum -c SHA256SUMS in tests/; to run again, the commands of the gate evidence README ("Tools")
Traceability matrix The 40 requirements with this run's results, for the clinical owner to sign —
Audit quarantine The audit service's quarantine after the run, by emitter, type and reason (154 events), read from ess_audit —

How the run went, in order (handover, "Checks"): 1. The first scenario run on a fresh checkout stopped before any case. The harness started the ESS and ISE contract stubs before their tools were installed (#216). 2. The second run passed 11 of 12, but the strict check refused the record: the session's draft documents were uncommitted, so the build was not exactly identified. 3. The third run, from a clean tree, is the record.

The folder tests ran from a git archive export of the branch. In the checkout itself, the harness's install of contracts/common broke the units' contract tests, the same defect (#216).

The "done when" lines of the slice

"Done when" line (slice RC-1) Outcome Evidence Waits for
1. The scenario passes end to end in an integrated environment, with owner approval by the clinical owner (ACC-002, Tier 1) Failed Scenario run: steps 1 to 5 and 7 pass (RC-1-E2E-001, 003, 004, 006, 008), and so do the screens (006, 007) and the contract walk (005). Step 6 fails in RC-1-E2E-002: after "unsure" the new person is provisional where GAP-ADM-012 requires active. The scenario does not go through the gateway, which the slice's outcome names. A fresh checkout needed a repair of the harness Fixes #206, #217, #216. A Tier 1 scenario cannot be waived (ACC-002). Then the clinical owner's signature
2. The specification workflows pass end to end Failed Tests record, workflow entries. WF-ADM-001 end to end in the scenario run, failing on the branch of line 1. WF-ESS-001 in the units' tests and in the scenario's provisioning (joiners through the identity feed). WF-ESS-005, 006, 007, 008 and WF-ISE-007 pass in the tests that name them, within their units and screens. WF-ISE-002 has no test that names or walks it Fixes #206, #227
3. The 49 test scenarios pass Failed Tests record. 47 pass. TEST-ESS-005 fails: the first case of the policy test pack meets a decision engine that is not yet warm. TEST-ISE-029 fails: the network-protection test bed lets no permitted flow through on this host. TEST-ISE-001 has no test Fixes #212, #214. Decision on TEST-ISE-001 (below)
4. Every Must requirement meets its acceptance criteria Failed Traceability matrix: 22 met, 9 partly, 8 not met The 8 not met have fixes. Each "Partly" needs its fix or an approved, time-bound waiver (decisions below)
4 (second part). The scenarios of the slices this one comes after still pass Passed (nothing to run) RC-1 comes after no slice —
5. The downtime procedure and restoration reconciliation have been rehearsed (ACC-007) Not evidenced: pending people The procedure, plan and report template are drafted (downtime procedure). No exercise has been held The departments that use the workflow, and the service owner

The criteria of the slice gate

No. Criterion Outcome Evidence and what fails Waits for
1 Scenario passes with no manual repair between domains (ACC-002) Failed As "done when" line 1 #206, #216, #217; then the clinical owner signs the run
2 The specification workflows pass end to end Failed As "done when" line 2 #206, #227
3 All 49 test scenarios pass (PRS 17.3) Failed As "done when" line 3 #212, #214; decision D1
4 Every Must requirement meets its criteria or has a waiver (ACC-001) Failed Traceability matrix Fixes in the matrix; decisions D2 to D9; the clinical owner's signature
5 Identity safety scenarios pass (ACC-004) Failed Re-run of the identity safety report's tests. The identity safety set (IdentitySafetySetTest, TEST-ADM-031: twins, aliases, changed demographics, shared contact data; no unsafe silent merge), routing and bands (TEST-ADM-003), the duplicate prompt and block (TEST-ADM-008), search across facilities (TEST-ADM-001, RC-1-E2E-003) and identifiers (TEST-ADM-010) pass. The steward's queue is reached end to end (RC-1-E2E-002's task, RC-1-E2E-007). The status after "unsure" fails (RC-1-E2E-002). Newborn and unknown patient are RC-4, and merge and unmerge RC-3 (not applicable here). RC-3-S05 has since built merge and unmerge, but they are not in this slice's gate #206, #207; HIM / registration governance and the clinical safety officer review the report
6 Each interface shows acknowledgement, error handling, replay, reconciliation and monitoring (ACC-005) Failed Below Fixes below; decision D10
7 Downtime procedure and reconciliation rehearsed (ACC-007) Not evidenced: pending people As "done when" line 5 The departments; corrective actions closed after the exercise
8 Scenarios of earlier slices pass on the same build Passed (nothing to run) RC-1 comes after no slice —

Criterion 6, interface by interface

The interface operations sheet is the inventory. This run's results:

Interface Outcome This run Waits for
IF-ADM-001 Patient identity API Failed Acknowledgement, errors (400, 401, 403, 503 on outage: RC-1-E2E-004), idempotent creation, contract walk (RC-1-E2E-005) pass. Version 1.1 not served #207
IF-ADM-003 Encounter API Passed RC-1-E2E-001, 006, 010 to 013; event propagation p95 354 ms —
IF-ESS-001 Identity administration Failed Feed and provisioning pass (RC-1-E2E-001's provisioning; TEST-ESS-001). No reconciliation of identity-source state against accounts #226
IF-ESS-002 Authentication Failed Sign-on with second factor passes (RC-1-E2E-001). No reconciliation of authentication events after an outage; the shell is not wired to sign-on #226
IF-ESS-003 Policy decision Failed Decision outage fails closed with 503 (RC-1-E2E-004); decisions behind audit events read back (RC-1-E2E-001). No alert rule. TEST-ESS-005's first case fails cold #212, #219
IF-ESS-006 Terminology Passed TEST-ESS-015, 016; validation through UI-ADM-001 (RC-1-E2E-006); NFR-ESS-002 met in this run (p95 45 ms) —
IF-ESS-007 Master data and registry Passed TEST-ESS-019 to 021, 033; facilities and service from the registry (RC-1-E2E-001) —
IF-ESS-008 Audit Failed Intake and acknowledged counts reconcile (RC-1-E2E-008); outage buffered and delivered once (RC-1-E2E-011, TEST-ESS-044). 154 events quarantined after the run, from 6 emitters (audit-quarantine.csv) #220 to #225; #219 (no alert rule)
IF-ESS-010 Workflow and task Passed Review task created and listed (RC-1-E2E-002, 007); TEST-ESS-028, 029, 043 —
IF-ESS-012 Configuration Failed Unit tests only (TEST-ESS-030, 031); ess-governance is not in the RC-1 stack #218
IF-ESS-014 API catalogue and decision register Failed Unit tests only (TEST-ESS-037); as IF-ESS-012 #218
IF-ISE-001 Gateway ingress Failed The test bed passes TEST-ISE-007 and 039 (shortened times), but its routes are stale against the contracts (404 for ADM operations added since), and the slice's stack does not use the gateway. Alert rules not loaded #213, #217, #219
IF-ISE-002 Event publish and subscribe Partly Dead letter listed and closed, replay consumed once, lag in Prometheus (RC-1-E2E-008); broker outage with no loss (RC-1-E2E-011); TEST-ISE-018 to 020. Template units publish without the gate Decision D4 (issue #27)
IF-ISE-006 Security event forwarding Not built FR-ESS-AUD-003 and FR-ISE-OBS-002 are RC-3 Decision D10
IF-ISE-007 Platform operations API Partly Event operations (RC-1-E2E-008). Reconciliation, downtime windows and export (recovery.v1) are MOD-ISE-009 (RC-3) Decision D10

Fix issues filed (round 1)

Each issue's body carries its round, owner session and gate line. Its first comment holds the evidence.

Fix Owner Problem
#206 RC-1-S28-F1 RC-1-S08 New person provisional after "unsure" where GAP-ADM-012 requires active
#207 RC-1-S28-F2 RC-1-S08 patient-identity.v1 1.1 not served
#208 RC-1-S28-F3 RC-1-S08 adm-identity runs as Tier 2
#209 RC-1-S28-F4 RC-1-S16 ess-runtime-decision runs as Tier 2
#211 RC-1-S28-F5 RC-1-S06 ess-reference runs as Tier 2
#212 RC-1-S28-F6 RC-1-S17 Policy test pack's first case fails on a cold engine (TEST-ESS-005)
#213 RC-1-S28-F7 RC-1-S12 Gateway's rendered configuration stale against the contracts
#214 RC-1-S28-F8 RC-1-S11 Network-protection test bed lets no permitted flow through (TEST-ISE-029)
#215 RC-1-S28-F9 RC-1-S22 UI-ISE-008 registration test exceeds its timeout
#216 RC-1-S28-F10 RC-1-S26 Harness starts stubs before their tools are installed, and its install breaks the units' contract tests
#217 RC-1-S28-F11 RC-1-S26 The scenario bypasses the gateway
#218 RC-1-S28-F12 RC-1-S26 ess-governance not in the stack (IF-ESS-012, 014)
#219 RC-1-S28-F13 RC-1-S10 Alert rules not loaded or missing
#220 RC-1-S28-F14 RC-1-S04 Audit catalogue lacks replay, dead-letter and decision-less refusal types
#221 RC-1-S28-F15 RC-1-S13 Backbone's configuration audit events incomplete
#222 RC-1-S28-F16 RC-1-S16 MOD-ESS-001/002 audit events incomplete
#223 RC-1-S28-F17 RC-1-S06 Terminology and master-data audit events lack the version
#224 RC-1-S28-F18 RC-1-S09 Person view and change audit events lack the patient reference
#225 RC-1-S28-F19 RC-1-S15 Task audit event incomplete
#226 RC-1-S28-F20 RC-1-S16 No identity-source or authentication reconciliation after an outage
#227 RC-1-S28-F21 RC-1-S19 No test walks WF-ISE-002

Decisions for the signer

These fail the gate, but no session of the slice can repair them. They are tracked in #232 (label gate-decision) until each is decided. Each needs an approved, time-bound waiver (ACC-001) or a change of plan, given by the requirement's owner with the clinical owner. None of them is a Tier 1 scenario step, and none is a critical or high vulnerability.

No. What is not shown Why no session of the slice can do it Gate line
D1 TEST-ISE-001: the whole system's core workflows with no commercial licences and the internet and external control planes disconnected On no card (RC-1-S20, question 2). The slice ran offline from the internet on one host, but no test asserts it Criterion 3; FR-ISE-PLT-001
D2 FR-ADM-REG-001 AC-03: payer, consent references and the general consent at registration MOD-ADM-010 and the consent service are RC-2; the RC-1 stack requires no consent (RC-1-S26) Criterion 4
D3 FR-ISE-PLT-001 AC-05 (restore) and FR-ISE-PLT-004 AC-01 (drift on production nodes) Restore is MOD-ISE-009 (RC-3); AC-01 needs production nodes Criterion 4
D4 FR-ISE-EVT-001 PR-EVT-001-2 and FR-ISE-EVT-002 AC-03 for the units made from the template No card covers the template after FN-S03; the planning question on issue #27 is unanswered Criterion 4; criterion 6 (IF-ISE-002)
D5 FR-ISE-NET-001 AC-03 enforcement in the cluster Rendered, never exercised: no cluster in the integration environment Criterion 4
D6 FR-ESS-AUZ-001: TEST-ESS-041's "emergency access available"; consent and labels in the decision FR-ESS-AUZ-002 is RC-4; consent RC-2 Criterion 4
D7 FR-ESS-MDM-003 AC-05: emergency override and committee review of a missing privilege Belongs to the ordering sessions (D03, D01) Criterion 4
D8 FR-ESS-WFL-002 AC-06: PathwayConflictDetected No EVT-EBP-021 contract yet (D09) Criterion 4
D9 TEST-ADM-035: the registration, admission, transfer and discharge UAT Only registration and encounter are RC-1 (passed in tests); ADT is RC-3, and a UAT is run by people (PRS 16.1 phase 2) Criterion 3
D10 IF-ISE-006 not built; IF-ISE-007 reconciliation and downtime windows RC-3 (FR-ESS-AUD-003, FR-ISE-OBS-002, MOD-ISE-009) Criterion 6

Non-functional results

The integrate card sends its shortfalls to the gate. The gate's own run measured them again, in the same conditions: one shared host with 4 CPUs, one instance of each unit, the load generator on the same host, no gateway, and an MPI of a few hundred synthetic persons. The run's notes in the scenario record (RC-1-E2E-010 to 013) give each measurement in full.

Target Measured in this run Outcome
NFR-ADM-001 search at twice the peak p95 376 ms, p99 498 ms; 41 of 600 refused with 503 (decisions over the 250 ms budget fail closed) Shortfall
NFR-ADM-001 at the peak; registration; encounter p95 80 ms (300/300); 1035 ms; 477 ms Met
NFR-ISE-001 search 376 ms, registration 1035 ms, encounter 477 ms (p95, at the units) Met (no gateway in the path)
NFR-ESS-001 single decisions p95 85 ms, p99 201 ms against 50 and 200 ms Shortfall
NFR-ESS-002 code validation p95 45 ms Met
NFR-ADM-002, NFR-ISE-002, NFR-ESS-003 event propagation p95 354 ms Met
NFR-ADM-006, NFR-ISE-006 no loss, no duplicate audit crash 8/8 kept; broker outage 5/5 published after recovery; repeat with key changed nothing Met
NFR-ESS-008 audit coverage nothing acknowledged lost, but 139 events in quarantine at the time of the test (154 at the end) Shortfall: fixes #220 to #225
NFR-ADM-011 degraded operation registration and encounter 201 with coordination, audit and the backbone down; downtime reconciliation not built (FR-ADM-FLW-003, RC-4) Shortfall (reconciliation part)
NFR-ADM-010, NFR-ISE-010, NFR-ESS-012 RTO and RPO process crash: back in 11 s, nothing committed lost; no restore, no failure-domain loss Shortfall (MOD-ISE-009, RC-3)
NFR-ISE-013, NFR-ESS-014 restore tests audit integrity verified after the failures; no backup restored Shortfall (MOD-ISE-009)
NFR-ADM-004, NFR-ISE-004 scalability; NFR-ISE-015 capacity model one instance of each unit; no capacity model published Shortfall: needs a dedicated capacity environment
NFR-ESS-005; NFR-ISE-017, NFR-ESS-018 no target value until the capacity model; no offline client in release 1 (DEC-ISE-006) Not measurable here

The NFRs are not lines of the slice gate, so this session filed no fix issue for the performance shortfalls. They move with the host's load. RC-1-S26's five final runs refused 14 to 261 of 600 searches at twice the peak, and this run refused 41. They need a measurement on a dedicated environment before the stage gate. The decision cache in the kits (honouring the 60-second Permit, CFG-ESS-009) is the change most likely to close them (RC-1-S26, follow-ups).

Waiting for people

Who What Gate line
Clinical owner Signs the scenario run (ACC-002) once #206, #216 and #217 are fixed and the next round passes; signs the traceability matrix (ACC-001) with the waivers it decides Criteria 1, 4
Requirement owners, with the clinical owner Decide D1 to D10 (#232): waiver with an expiry, or a change of plan Criteria 3, 4, 6
HIM / registration governance, clinical safety officer Review the identity safety evidence (ACC-004) Criterion 5
The departments that use the workflow; service owner Rehearse the downtime procedure and restoration reconciliation, and write the exercise report (ACC-007) Criterion 7
A repository administrator Confirms that a direct push to main is refused (TEST-ISE-023, FR-ISE-REL-001); this session cannot read the branch protection Criterion 4
Enterprise Architect, Security Engineer Approve dependency register entries (61 Proposed, FR-ISE-SUP-001); confirm supported-until dates (FR-ISE-SUP-003) Criterion 4

The approver's decision and any waiver are written into this report's sign-off and the traceability matrix, by a pull request of their own. The harness's approve and waive cannot sign the committed copy of the record, which has files left out (ADR-HIS-089, consequences). This round fails, so no signature is due on it: the signature is given on the round that passes.

The next round

Once the fixes of round 1 are merged, the gate session of round 2 (RC-1-S28-G2) runs the gate again on the build that includes them. It writes gate-evidence/RC-1/RC-1-S28-G2/ beside this folder.