Purpose
Track a performance/reliability hardening gap discovered while qualifying the HL7 comparator fix against the full frozen CF-10 corpus.
This issue does not change CF-06 semantics, the production HL7 pin, the frozen corpus, or PR #11. It is not authorization to parallelize or batch oracle work without preserving determinism and fail-closed behavior.
Observed execution shape
The current CF-10 runner invokes the HL7 Java adapter once per changed matched canonical StructureDefinition. Each invocation has a bounded 60-second timeout and process-tree termination on timeout, which is correct fail-closed behavior.
The qualification workflow hl7-upstream-fix-qualification runs the complete frozen corpus twice sequentially (A then B) under a 180-minute job timeout. Once the two known upstream comparator crashes are fixed, the run reaches substantially more oracle comparisons instead of failing early, making full A/B qualification materially more expensive.
Current qualification run:
run: 31918255417
job: 95093683595
step: Run frozen CF-10 corpus twice with combined candidate
Required invariants
Any optimization must preserve:
- CF-03 as semantic authority;
- HL7 as advisory oracle only;
- exact per-resource identity and evidence;
- bounded stdout/stderr;
- bounded execution time;
- fail-closed subprocess errors/timeouts;
- deterministic report ordering and byte output;
- no hidden network/package-cache dependency;
- unchanged frozen CF-10 case selection and package bytes;
- no silent skipping of failed resources.
Candidate directions to evaluate after CF-10 qualification
- reuse a long-lived validated JVM/oracle worker with an explicit request/response protocol;
- bounded deterministic worker-pool concurrency with canonical result reordering;
- batch multiple StructureDefinition comparisons inside one adapter invocation while retaining per-resource failure identity;
- cache immutable parsed package/context state within a single corpus run;
- separate per-case or per-side workflow jobs only if retained evidence and A/B determinism remain straightforward to audit.
No direction is pre-authorized by this issue.
Acceptance
A hardening change should demonstrate, on the frozen corpus:
- equivalent normalized oracle evidence to the current one-process-per-resource baseline;
- byte-identical deterministic summaries;
- explicit regression coverage for timeout/process failure behavior;
- bounded concurrency/resource use;
- no weakening of CF-06 failure semantics;
- materially lower full-corpus runtime measured from retained CI evidence.
Scheduling
Do not modify the currently running qualification proof. Evaluate this only after run 31918255417 has completed and its evidence has been classified.
Purpose
Track a performance/reliability hardening gap discovered while qualifying the HL7 comparator fix against the full frozen CF-10 corpus.
This issue does not change CF-06 semantics, the production HL7 pin, the frozen corpus, or PR #11. It is not authorization to parallelize or batch oracle work without preserving determinism and fail-closed behavior.
Observed execution shape
The current CF-10 runner invokes the HL7 Java adapter once per changed matched canonical StructureDefinition. Each invocation has a bounded 60-second timeout and process-tree termination on timeout, which is correct fail-closed behavior.
The qualification workflow
hl7-upstream-fix-qualificationruns the complete frozen corpus twice sequentially (A then B) under a 180-minute job timeout. Once the two known upstream comparator crashes are fixed, the run reaches substantially more oracle comparisons instead of failing early, making full A/B qualification materially more expensive.Current qualification run:
Required invariants
Any optimization must preserve:
Candidate directions to evaluate after CF-10 qualification
No direction is pre-authorized by this issue.
Acceptance
A hardening change should demonstrate, on the frozen corpus:
Scheduling
Do not modify the currently running qualification proof. Evaluate this only after run
31918255417has completed and its evidence has been classified.