Skip to content

Implementation plan / Session plan / Handover RC-1-S28-G3

Handover RC-1-S28-G3 Gate evidence: Slice gate evidence, round 3

Card: RC-1-S28-G3. Issue: cema-care/his#281. Branch: session/RC-1-S28-G3. Slice: RC-1. Decision record: ADR-HIS-089, followed as earlier rounds left it. No new record.

Comes after RC-1-S28-F22 to RC-1-S28-F33, all merged; the build is main at 61adcd9e. It read round 2's handover RC-1-S28-G2 and report. This session wrote none of the slice.

What was built and where

Only evidence, in gate-evidence/RC-1/RC-1-S28-G3/, in ADR-HIS-089's layout: - README.md, the gate report: each "done when" line, each criterion, the criterion 6 interfaces, the fix issues, the decisions and the non-functional results; - scenario/, what the record run 20261202T043830Z-dda6 left: it stopped before its cases, so there is no evidence.json. The folder holds the console output (secrets redacted), the run context, the rendered gateway environment and the sums of the run folder, with every left-out file listed with its sum; - tests/, written by collect_tests.py; - traceability.md; - audit-quarantine.csv.

Its row is in the gate evidence index. The folders of rounds 1 and 2 are unchanged. No code was changed.

The result

Not passed. Steal was far lower than in round 2: 14% on average during the scenario runs and 8% during the folder tests, against 67%. Spikes still reached 76%. The headlines for the signer: - The record run stopped before its first case. Since RC-3-S13 published the contract catalogue, the unit gateways serves an API of its own. The RC-1 scenario's gateway environment gives that unit no address, so the harness refuses to start the gateway. This is filed as F34, #322, against RC-1-S26. - The gateway's build fails on main. Its rendered reference configuration is stale against the contracts changed by RC-4-S01 and F33, so ci.sh stops before any test. This is the same defect as F7 in round 1, filed as F36, #325, against RC-1-S12. On a re-rendered copy, all 53 of its tests pass (diagnostic), so the rendering is the only defect. - Diagnostic scenario run (one line added to the gateway environment by hand, then removed): 10 of 15 passed. The 5 failures are 503s from decisions over the 250 ms budget during a steal spike. The audit quarantine fell from 1,420 events to 59: - 2 from ess-governance, refused configuration actions without the item reference or recordNotCreated, filed as F35, #323, against RC-1-S05; - 57 from the gateway's purpose-of-use refusals, which wait for the rule-3 question on #276. - Folder tests: 18 of 19 folders passed, all in one checkout; the one failure is the gateway's (F36). - Repaired since round 2, confirmed here: - F22, F23 and F26 to F28: none of those emitters is quarantined any more; - F29 to F31: the three units' contract tests run in the shared checkout; - F32 and F33: refusals in Administration and configuration that carry recordNotCreated are accepted (adm-identity's are no longer quarantined); - F24: the gateway's denials made by a decision carry it. Only the refusals made without a decision remain, and those are #276's question. - Decisions: D1 to D10 are all decided. D2, D3 and D5 to D10 are waived until named later gates, and D1 and D4 are moved to cards by plan change #318 (#232).

Checks and their result

Check Command Result
Scenario (the record) HIS_SESSION=RC-1-S28-G3 e2e/harness/scenario run e2e/scenarios/RC-1 --fresh --strict --keep 20261202T043830Z-dda6: stopped before any case: "api ise.contract-catalogue: unit gateways has no address in environment e2e". Steal 14.1% on average, maximum 39
Record check scenario evidence check <run folder> --strict FileNotFoundError: the harness wrote no evidence.json
Scenario, diagnostic The same with gateways = "127.0.0.1:9" added to e2e/scenarios/RC-1/gateway/e2e.toml, without --strict; the line removed afterwards 20261202T044614Z-9369: 10 of 15 passed. Not the record
Committed scenario files sha256sum -c --ignore-missing SHA256SUMS.run-folder in scenario/ OK
Folder tests HIS_SESSION=RC-1-S28-G3 docs/implementation_plan/delivery/gate-evidence/tools/run_tests.sh <results> <19 folders>, with the runners' Node 22.23.5 first in PATH 18 passed; platform/gateways failed at the rendering check
Gateway, diagnostic bin/gateways render --env reference, then HIS_SESSION=RC-1-S28-G3 ./ci.sh in platform/gateways; the render reverted afterwards 53 of 53 tests passed (TEST-ISE-007, 039 included), at 13% steal
Observability, F13 step 10 HIS_SESSION=RC-1-S28-G3 platform/observability/scripts/ends-when.sh Step 10 passed: 30 rules loaded, and the gateway, clock-drift, audit, backbone, authorization and stuck-work rules fired. Steps 2 to 9 and 11 passed. Step 1 (the hop trace) failed: the unit failed closed with 503 when the test stub's decision answered late, at up to 55% steal (environment). It reset the environment at the end
Tests record collect_tests.py --slice RC-1 --results <results> --out …/tests --notes notes.json --defects defects.json 54 passed, 3 with no test, each explained in a note
Audit quarantine psql -U his_admin -d ess_audit on mod_ess_006.quarantine_entry, grouped by emitter, type, reason and errors Record run: 2 quarantined, 212 stored. Diagnostic: 59 quarantined, 2,876 stored
Secret scan The pipeline's Gitleaks image (v8.30.1, default rules, --max-archive-depth 5) on the session's folder; platform/delivery-pipeline/bin/secret-scan code origin/main 0 findings in the session's files (scanned with Gitleaks after the final edits); secret-scan code: no secret found
Documentation python3 docs/implementation_plan/tools/check_links.py; .venv/bin/mkdocs build Both pass: 0 broken links; mkdocs gives no warning for this session's files

Requirements and test scenarios of the card

The card has no requirement of its own. It covers every "done when" line of RC-1, the 8 criteria, the 49 test scenarios and 8 workflows, and the 40 requirements. Their outcomes are in the report, the tests record and the traceability matrix.

Differences from the card, specification or contract

  • A record with no evidence.json. ADR-HIS-089 expects the harness's record in scenario/. The run died before the harness wrote one, so the folder keeps what the run did leave, and its README says so. The first outcome is the record. The diagnostic run is reported, not committed.
  • Two local patches for diagnostics, both reverted. One line in the scenario's gateway environment, and the gateway's re-render. Each was made only to see past a filed defect, and each was reverted with git checkout. Neither is in the branch.
  • Environment failures have no fix issue, as in round 2: a 503 from failing closed on a starved host belongs to no session.

Questions for a person

None blocks the session. The gate waits for people, listed in the report: - Security and Privacy Office, with the D10 and D02-ISE owners: the question on #276; - Service owner / platform: a gate host with dedicated CPU; - Clinical owner: the scenario signature (ACC-002) on a passing round, and the matrix (ACC-001); - Identity safety: review (ACC-004); - Downtime rehearsal: ACC-007; - Repository administrator: TEST-ISE-023; - Dependency approvals: FR-ISE-SUP-001 and 003.

Follow-ups outside the card

  • Cross-folder drift goes unchecked. F34 and F36 both come from a change in one folder that breaks a generated or derived file in another:
  • the gateway model broke the scenario's gateway environment;
  • the contracts broke the gateway's rendering.

The pipeline runs a folder's checks only when that folder changes. Two ways to close the gap, for the pipeline's owner (FN-S05) and the gateway's owner: - run platform/gateways when contracts/ changes; - check every e2e/scenarios/*/gateway/*.toml against the model when platform/gateways/model changes.

RC-2's scenario environment may already lack the same gateways entry. This session did not check it, because it is outside this slice. - The harness leaves no record when a run dies before its cases. e2e/harness/lib/runner.py stops at the gateway model check before it writes evidence.json, so scenario evidence check has nothing to read. For FN-S07's owner: a run that dies should still write a record with its run error. - Carried from round 2, still open: - the template's audit default access-check-unavailable (services/_template); - the host's Ubuntu Node without TypeScript support; - the scenario reading a 503 as TypeError (seen again in 002 and 010); - shared-host contention. - The run folders are on the session host under e2e/harness/out/evidence/RC-1/ (ignored). The integration environment his-rc-1-s28-g3 was reset at the end. - Carried from earlier handovers, not re-checked: - option A of #207; - ADR-HIS-053; - FR-ISE-PLT-002's catalogue entries; - readiness runbooks section 4; - WF-ISE-002 steps 1 and 2 in Python tests; - the sign-on name digest key; - the ADR approvals; - hazard-log confirmations for F1 and F2; - RC-1-S10 Q2 and Q3 (#24).