Skip to content

Equivalence cases for example-health-apis Patient family: HCAPDB01, HCAPDB02, HCP1BA01 (Part of #8121) - #8222

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8121-patient-20261110T1444Z
Nov 10, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8121-patient-20261110T1444Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

Patient family L2 cases for the example-health-apis blind estate (case data only, burned estate): HCAPDB01 (INSERT PATIENT, identity default, IDENTITY_VAL_LOCAL), HCAPDB02 (INSERT USER) and HCP1BA01 (the add front end, LINKs both). Scenario inputs only; expected results come from the oracle. Evidence level: translated whole, executed-equivalent on the deterministic port (GnuCOBOL plus our stub, not z/OS).

case scenarios paragraphs branches
health-hcapdb01 6 4/4 6/6
health-hcapdb02 7 3/3 6/6
health-hcp1ba01 8 4/4 6/6

Scenarios cover the happy path (twice), no COMMAREA (ABEND HCCA), a short COMMAREA ('98'), an invalid date of birth (INSERT fails, '90'), a duplicate username (-803) and an unknown patient (foreign key). Injected faults run as in the sibling cases. Assumptions: a Db2 container for HCZMSA1 from @DB2CRE.jcl; the identity column starts at 5, so the seeds use ids 1, 5 and 6. LICENSE/NOTICE are the corpus's own, as in the Visit cases.

Checklist: partial [c:54bc7fde] -- Patient write path done; read path, map and web programs left (Remaining slices)
Checklist: partial [c:581bd365] -- scenario inputs only, no gaps named in this slice; held programs below
Checklist: partial [c:2d088cb5] -- journey milestone added (9 of 29 at L2); the next slices add their own
Checklist: partial [c:fa9d6d5f] -- not worked here

Gates: pr_gates --fast 9/9, --ratchets 9/9 (after sync-pins.sh), proof_sweep --det-only on the 3 cases PROVED, coverage ledger check as expected, test_evidence.py 58 passed. The language-crucible leg of equivalence_env --check fails locally (no golden bless needed: no engine change).

Class / Sibling gaps

Class: Patient-family programs of example-health-apis needing L2 cases. Handled: HCAPDB01, HCAPDB02, HCP1BA01.
Sibling gaps: HCIPDB01 and HCP1BI01 (read path) hold the Evaluate SQLCODE When 0 / 100 / -913 / Other shape that port blocker P126 records (the det port takes Other on +100/no row), so no case is shipped; same mechanism as the Visit and Threshold inquiry programs. HCP1PL01 (BMS map HCP1MAP, LINKs HCP1BI01 and HCP1BA01) not tried: its inquiry arm depends on HCP1BI01. HCPRESTW (HTTP containers, PUT, GET CONTAINER) is a candidate for refused-by-design (mainframe-evidence-policy rule 8) and needs an owner ruling with an IBM citation; HCP1BU01 is not in the estate's program list and COPYs LGCMAREA, which the estate does not hold.

Remaining slices

  1. HCIPDB01, HCP1BI01, HCP1PL01: after P126 is fixed (harness/translator PR); case data only then.
  2. HCPRESTW, HCP1BU01: owner ruling (refused by design / missing copybook).
  3. Visit family's HCIVDB01, HCV1BI01, HCV1PL01: same P126 blocker.

File-cap exception: case data only (3 cases: verbatim corpus LICENSE and NOTICE copies, seed.sql inputs) plus the generated estate_journey.md page; no tool or harness code.

Cross-repo: none. det_sweep_durations.json not updated (it only balances shards).

Lessons for agents

  • proof_sweep.py --det-only --cases A,B --no-ratchet --skip-ledger-check --work DIR proves new cases in ~1 min; then det_coverage_ledger.py update DIR... writes the per-case ledger files.

🤖 Generated with Claude Code

…CAPDB02, HCP1BA01 (Part of #8121)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 10, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 10, 2026 14:59
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant