Implementation plan / Session plan / Gate evidence
Slice gate evidence¶
The evidence of each slice gate run, kept as PRS section 17.3's controlled repository (ADR-HIS-089). Each gate evidence session writes one folder, <SLICE>/<GATE SESSION>/, and never changes another. A second round of the same gate (<gate session>-G2) gets a folder of its own beside the first. The readiness documents a gate reads are in readiness/ (ADR-HIS-088).
| Slice | Gate session | Report | Outcome |
|---|---|---|---|
| RC-1 | RC-1-S28 | RC-1/RC-1-S28 | Not passed: failures filed as fix issues, the rest waiting for people |
| RC-1 | RC-1-S28-G2 | RC-1/RC-1-S28-G2 | Not passed (round 2): the scenario not evidenced on a starved host, audit failures filed as fix issues, the rest waiting for people |
| RC-1 | RC-1-S28-G3 | RC-1/RC-1-S28-G3 | Not passed (round 3): the scenario stopped before its cases and the gateway's build is stale, both filed as fix issues with one audit defect; a diagnostic run passed 10 of 15; the rest waiting for people |
What each folder holds¶
| File | What it is |
|---|---|
README.md |
The gate report: each "done when" line of the slice and each criterion of its gate, with its outcome, evidence, and the fix issue or person it waits for |
scenario/ |
The harness's evidence record of the scenario run, unarchived: evidence.json, its SHA256SUMS unchanged, and the attachments. scenario/README.md lists each file left out (the Playwright traces, the raw logs, evidence.md, and any file the secret scan flags) with its sum. Check with sha256sum -c --ignore-missing SHA256SUMS |
tests/ |
The record of the gate's test scenarios and workflows from the units' own tests (tests.json, tests.md, SHA256SUMS) |
traceability.md |
The traceability matrix as the run found it, for the clinical owner to sign (ACC-001) |
Tools¶
tools/run_tests.shruns the build and tests of each build folder the gate needs, as the pipeline does, and keeps their results.tools/collect_tests.pywrites the PRS 17.3 record of the gate's test scenarios from those results.
HIS_SESSION=<gate session> docs/implementation_plan/delivery/gate-evidence/tools/run_tests.sh <results dir> <folder>...
HIS_SESSION=<gate session> docs/implementation_plan/delivery/gate-evidence/tools/collect_tests.py --slice <SLICE> \
--results <results dir> --out docs/implementation_plan/delivery/gate-evidence/<SLICE>/<GATE SESSION>/tests [--defects defects.json]