@smile-digital-health/crl 5.4.0 → 5.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,8 +13,9 @@ function collectDecisionArms(decision) {
13
13
  }
14
14
  function collectDecisionArmsTransitive(decision, resolve, callerLib = "", seen = new Set([(0, decisionSpine_1.idOf)(callerLib, decision.name)])) {
15
15
  const arms = new Set();
16
+ const visited = new Set(seen);
16
17
  for (const branch of decision.body.statements) {
17
- walkArmsBranchTransitive(branch, arms, resolve, seen, callerLib);
18
+ walkArmsBranchTransitive(branch, arms, resolve, visited, callerLib);
18
19
  }
19
20
  return arms;
20
21
  }
@@ -50,9 +51,10 @@ function walkArmsActionStatementTransitive(stmt, arms, resolve, seen, callerLib)
50
51
  const subId = (0, decisionSpine_1.idOf)(resolved.lib, resolved.decision.name);
51
52
  if (seen.has(subId))
52
53
  return;
53
- const subArms = collectDecisionArmsTransitive(resolved.decision, resolve, resolved.lib, new Set([...seen, subId]));
54
- for (const a of subArms)
55
- arms.add(a);
54
+ seen.add(subId);
55
+ for (const branch of resolved.decision.body.statements) {
56
+ walkArmsBranchTransitive(branch, arms, resolve, seen, resolved.lib);
57
+ }
56
58
  }
57
59
  function walkArmsBranch(branch, arms) {
58
60
  walkArmsWhenBlockBody(branch.body, arms);
@@ -1 +1 @@
1
- {"version":3,"file":"decisionArms.js","sourceRoot":"","sources":["../../src/ast/decisionArms.ts"],"names":[],"mappings":";;AASA,kDAMC;AAiBD,sEAaC;AAxCD,mDAAsE;AAEtE,mCAAqC;AAErC,SAAgB,mBAAmB,CAAC,QAAkB;IACpD,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;IAC/B,KAAK,MAAM,MAAM,IAAI,QAAQ,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC;QAC9C,cAAc,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAC/B,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAiB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ision": "74d4f1e6322cd81c8fa3ccf5fd1583cb1c456f5f",
3
- "auditedSchemaVersion": "2.3",
4
- "auditedContentHash": "75720d63e074fc63f88f9e8d3f6f98d3097be313c5b8f4dd91a3fa1d11aea7b8",
5
- "scope": "Kit schema 2.3 maintenance from cc1b675ed9431d047bd5fb34305abef1b9af18a8 through 74d4f1e6322cd81c8fa3ccf5fd1583cb1c456f5f. Two case-set operations: complete MV examples and regression reusing MV plus engineering controls; selected-set validation/emission, source identities, conservative advisory warnings and ordinary results. Five existing rules updated. Reviews744-746 and complete changed-source/test inventory in the evidence ledger. Core4901 pass/32 skipped, actual MCP passed, extension1262 pass/3 expected failures, final bounded core32/32. External findings dispositioned; no unrun convergence claimed. No freshness, transaction, receipt or history-migration framework. This source audit does not certify pending installed release gates, native outcomes or clinical content; existing Bleph source-correspondence findings remain explicit.",
2
+ "auditedRevision": "9208fe17c46ad0c9480c7a9d6df8e0e24ac72255",
3
+ "auditedSchemaVersion": "2.4",
4
+ "auditedContentHash": "4275ddb15f678fdf9a912e9812f1345ca195749a802dd327f2b99f4f1652c0ff",
5
+ "scope": "Kit schema 2.4 maintenance from badef3ce5f10c1a5d09e657371ced6c7576392e4 through 9208fe17c46ad0c9480c7a9d6df8e0e24ac72255. Complete delta reviewed: MV visual result ordering, runnable Bleph example with preserved 37 MV/69 regression cases, debugger configuration and maintainer release isolation. No grammar, CEL semantics, FHIR emission, dependency or kit teaching changes. Reviews759/760 and coverage ledger disposition all changed assertions/fixtures. Full core4945 passed/32 skipped, real MCP passed, extension1271 passed/3 expected failures; final104 focused checks and fresh core/extension builds passed. This source audit does not certify installed artifacts, new native outcomes or clinical content.",
6
6
  "evidence": "packages/crl/src/authoring-kit/tests/coverage.md"
7
7
  }
@@ -0,0 +1,6 @@
1
+ export declare function sharedDecisionSource(depth: number): string;
2
+ export declare const SHARED_CONTINUATION_CRL: string;
3
+ export declare const SHARED_CONTINUATION_CEL: string;
4
+ export declare const REUSED_CONDITION_SNIPPET = "criterion \"Qualifying Evidence\":\n- when (\"Finding A\" or \"Finding B\").\ndecision \"Determination\":\nfirst:\n- when \"Combined Service Requested\" then:\n first:\n - when (\"Qualifying Evidence\" and \"Combined Documentation Sufficient\") then recommend activity \"Met\".\n - otherwise then recommend activity \"Unmet\".\n end.\n- otherwise then:\n first:\n - when \"Qualifying Evidence\" then recommend activity \"Met\".\n - otherwise then recommend activity \"Unmet\".\n end.\n";
5
+ export declare const REUSED_CONDITION_CRL: string;
6
+ export declare const REUSED_CONDITION_CEL: string;
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.REUSED_CONDITION_CEL = exports.REUSED_CONDITION_CRL = exports.REUSED_CONDITION_SNIPPET = exports.SHARED_CONTINUATION_CEL = exports.SHARED_CONTINUATION_CRL = void 0;
4
+ exports.sharedDecisionSource = sharedDecisionSource;
5
+ const question = (name, text) => `concept "${name}":\n- shape is Record.\n- type is Observation.\n- value type is boolean.\n- code is \`${name.toLowerCase().replace(/ /g, "-")}\`.\n- shape reduction is most recent.\npresentation for "${name}":\n- question text is \`${text}\`.\n`;
6
+ const activities = 'activity "Met":\n- request CPGCommunicationRequest.\n- with `Met`.\nactivity "Unmet":\n- request CPGCommunicationRequest.\n- with `Unmet`.\n';
7
+ function sharedDecisionSource(depth) {
8
+ let crl = '// Fictional ordered interview: resolve each applicability C first, then its D only if applicable, then remaining E.\n// Step names expose the shared structure. This is not the flat formula (not C or D) and E.\n// CRE and definition-emission example; native output and clinical source fidelity need separate verification.\nlibrary "Shared".\n';
9
+ for (let i = 0; i < depth; i++)
10
+ crl += question(`C${i}`, `Does additional evidence requirement ${i + 1} apply?`) + question(`D${i}`, `Is the evidence for requirement ${i + 1} sufficient?`);
11
+ crl += question("E", "Is the remaining requirement met?") + activities;
12
+ for (let i = 0; i < depth; i++)
13
+ crl += `decision "Step${i}":\nfirst:\n- when "C${i}" then:\n first:\n - when "D${i}" then use decision "Step${i + 1}".\n - otherwise then recommend activity "Unmet".\n end.\n- otherwise then use decision "Step${i + 1}".\n`;
14
+ return crl + `decision "Step${depth}":\nfirst:\n- when "E" then recommend activity "Met".\n- otherwise then recommend activity "Unmet".\n`;
15
+ }
16
+ function cases(library, decision, names, rows) {
17
+ let cel = `# Engineering reference: place under src/cel/regression; includes unknown-input controls.\nlibrary "${library} Checks".\ncovers "${library}".\nfact "Patient":\n- name is "Synthetic".\n- birth date is "1970-01-01".\n- defined by "Patient".\n`;
18
+ for (const name of names)
19
+ for (const value of [true, false])
20
+ cel += `fact "${name} ${value}":\n- defined by "${library}"."${name}".\n- value is ${value}.\n`;
21
+ for (const row of rows)
22
+ cel += `case "${row.name}":\n- subject is "Patient".\n${row.answers.map((v, i) => v === undefined ? "" : `- fact is "${names[i]} ${v}".\n`).join("")}- result is "${decision}" is ${row.expected === "pause" ? "pause" : `"${row.expected}"`}.\n`;
23
+ return cel;
24
+ }
25
+ exports.SHARED_CONTINUATION_CRL = sharedDecisionSource(1);
26
+ exports.SHARED_CONTINUATION_CEL = cases("Shared", "Step0", ["C0", "D0", "E"], [
27
+ { name: "Resolve applicability before a known later failure", answers: [undefined, undefined, false], expected: "pause" },
28
+ { name: "Extra evidence not applicable and remaining check passes", answers: [false, undefined, true], expected: "Met" },
29
+ { name: "Extra evidence not applicable and remaining check fails", answers: [false, undefined, false], expected: "Unmet" },
30
+ { name: "Extra evidence not applicable and remaining check unknown", answers: [false, undefined, undefined], expected: "pause" },
31
+ { name: "Resolve applicable evidence before a known later failure", answers: [true, undefined, false], expected: "pause" },
32
+ { name: "Applicable evidence fails before remaining check", answers: [true, false, true], expected: "Unmet" },
33
+ { name: "Applicable evidence and remaining check pass", answers: [true, true, true], expected: "Met" },
34
+ { name: "Applicable evidence passes and remaining check fails", answers: [true, true, false], expected: "Unmet" },
35
+ { name: "Applicable evidence passes and remaining check unknown", answers: [true, true, undefined], expected: "pause" },
36
+ ]);
37
+ exports.REUSED_CONDITION_SNIPPET = `criterion "Qualifying Evidence":
38
+ - when ("Finding A" or "Finding B").
39
+ decision "Determination":
40
+ first:
41
+ - when "Combined Service Requested" then:
42
+ first:
43
+ - when ("Qualifying Evidence" and "Combined Documentation Sufficient") then recommend activity "Met".
44
+ - otherwise then recommend activity "Unmet".
45
+ end.
46
+ - otherwise then:
47
+ first:
48
+ - when "Qualifying Evidence" then recommend activity "Met".
49
+ - otherwise then recommend activity "Unmet".
50
+ end.
51
+ `;
52
+ const reusedNames = ["Combined Service Requested", "Finding A", "Finding B", "Combined Documentation Sufficient"];
53
+ const reusedQuestions = ["Is the combined service requested?", "Is qualifying finding A present?", "Is qualifying finding B present?", "Is the documentation for the combined service sufficient?"];
54
+ exports.REUSED_CONDITION_CRL = '// Fictional request universe: single or combined only. Resolve request type first.\n// Either finding qualifies; only combined requests also need documentation. Keep the AND and OR compound.\n// CRE and definition-emission example; native output and clinical source fidelity need separate verification.\nlibrary "Reused Evidence".\n' + reusedNames.map((n, i) => question(n, reusedQuestions[i])).join("") + activities + exports.REUSED_CONDITION_SNIPPET;
55
+ exports.REUSED_CONDITION_CEL = cases("Reused Evidence", "Determination", reusedNames, [
56
+ { name: "Resolve request type first", answers: [undefined, false, false, false], expected: "pause" },
57
+ { name: "Single service with finding A", answers: [false, true, undefined, undefined], expected: "Met" },
58
+ { name: "Single service with neither finding", answers: [false, false, false, undefined], expected: "Unmet" },
59
+ { name: "Single service with unresolved evidence", answers: [false, undefined, false, undefined], expected: "pause" },
60
+ { name: "Combined documentation false decides despite unknown evidence", answers: [true, undefined, undefined, false], expected: "Unmet" },
61
+ { name: "Combined service with finding B and documentation", answers: [true, undefined, true, true], expected: "Met" },
62
+ { name: "Combined evidence false decides despite unknown documentation", answers: [true, false, false, undefined], expected: "Unmet" },
63
+ { name: "Combined evidence true and documentation false", answers: [true, true, false, false], expected: "Unmet" },
64
+ { name: "Combined evidence false and documentation true", answers: [true, false, false, true], expected: "Unmet" },
65
+ { name: "Both findings qualify without precedence", answers: [true, true, true, true], expected: "Met" },
66
+ { name: "Combined evidence true and documentation unknown", answers: [true, true, undefined, undefined], expected: "pause" },
67
+ ]);
68
+ //# sourceMappingURL=decisionExamples.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decisionExamples.js","sourceRoot":"","sources":["../../src/authoring-kit/decisionExamples.ts"],"names":[],"mappings":";;;AAKA,oDAMC;AAVD,MAAM,QAAQ,GAAG,CAAC,IAAY,EAAE,IAAY,EAAE,EAAE,CAAC,YAAY,IAAI,yFAAyF,IAAI,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,6DAA6D,IAAI,4BAA4B,IAAI,OAAO,CAAC;AACxS,MAAM,UAAU,GAAG,8IAA8I,CAAC;AAGlK,SAAgB,oBAAoB,CAAC,KAAa;IAChD,IAAI,GAAG,GAAG,wVAAwV,CAAC;IACnW,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE;QAAE,GAAG,IAAI,QAAQ,CAAC,IAAI,CAAC,EAAE,EAAE,wCAAwC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,EAAE,mCAAmC,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAC7L,GAAG,IAAI,QAAQ,CAAC,GAAG,EAAE,mCAAmC,CAAC,GAAG,UAAU,CAAC;IACvE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE;QAAE,GAAG,IAAI,iBAAiB,CAAC,wBAAwB,CAAC,iCAAiC,CAAC,4BAA4B,CAAC,GAAG,CAAC,kGAAkG,CAAC,GAAG,CAAC,MAAM,CAAC;IACnQ,OAAO,GAAG,GAAG,iBAAiB,KAAK,uGAAuG,CAAC;AAC7I,CAAC;AAGD,SAAS,KAAK,CAAC,OAAe,EAAE,QAAgB,EAAE,KAAe,EAAE,IAA6D;IAC9H,IAAI,GAAG,GAAG,uGAAuG,O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AAO,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE;IAClH,EAAE,IAAI,EAAE,0CAA0C,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;IACxG,EAAE,IAAI,EAAE,kDAAkD,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE;CAC7H,CAAC,CAAC"}
@@ -7,6 +7,7 @@ exports.getAuthoringKit = getAuthoringKit;
7
7
  const answerExample_1 = require("./answerExample");
8
8
  const selectionExample_1 = require("./selectionExample");
9
9
  const quantityExample_1 = require("./quantityExample");
10
+ const decisionExamples_1 = require("./decisionExamples");
10
11
  const sourceOrderExample_1 = require("./sourceOrderExample");
11
12
  const audit_json_1 = __importDefault(require("./audit.json"));
12
13
  const navigation_1 = require("./navigation");
@@ -18,7 +19,7 @@ const conceptTypes_1 = require("../grammar/conceptTypes");
18
19
  const conceptValueTypes_1 = require("../grammar/conceptValueTypes");
19
20
  const spawn_1 = require("../results/spawn");
20
21
  const reference_1 = require("./reference");
21
- const SCHEMA_VERSION = "2.3";
22
+ const SCHEMA_VERSION = "2.4";
22
23
  const FEEDBACK_URL = "https://github.com/alphora/clinical-reasoning-language/issues/new";
23
24
  const SUMMARY = "Local decision support: express clinical intent through coded answers, supported source representations and explicit computed publications. Author decision/criterion structure for distinct criteria, named terminology for coded answer choices, and presentations for question wording. Validate and compare CRE predictions with emitted CQL/FHIR and native $apply. Supported age, request, qualification, threshold and finite-code BMI forms are in scope; broader #320 limitations are listed separately.";
24
25
  const FORCE_MODEL = {
@@ -282,7 +283,7 @@ const RULES = [
282
283
  id: "decision-composition",
283
284
  applicability: "All CRL authoring",
284
285
  category: "decision-shape",
285
- rule: "Choose structure from the source meaning. Alternative records of ONE clinical fact belong to that concept's supported source representations or producers; separate independently occurring facts used as policy criteria belong to decision logic. Do not invent a composition syntax when the required producer is unsupported: report the gap. DISTINCT criteria sharing a consequence can use a compound branch guard or a named criterion. Criteria routing to different consequences use separate when branches. Under first:, a false guard skips its branch, a true guard selects it, and a decisive unknown pauses; ordered siblings are not interchangeable with Boolean OR when an earlier operand is unknown. Full-conjunction guards permit later qualifying pathways when the earlier conjunction is false. A matched branch's descendants remain within that branch. Separate source-delegated or genuinely shared determinations may use use decision. Do not manufacture inference concepts merely to hide a policy's Boolean logic.",
286
+ rule: "Choose structure from the source meaning. Alternative records of ONE clinical fact belong to that concept's supported source representations or producers; separate independently occurring facts used as policy criteria belong to decision logic. Do not invent a composition syntax when the required producer is unsupported: report the gap. DISTINCT criteria sharing a consequence can use a compound branch guard or a named criterion. Criteria routing to different consequences use separate when branches. Under first:, a false guard skips its branch, a true guard selects it, and a decisive unknown pauses; ordered siblings are not interchangeable with Boolean OR when an earlier operand is unknown. Full-conjunction guards permit later qualifying pathways when the earlier conjunction is false. A matched branch's descendants remain within that branch. Separate source-delegated or genuinely shared determinations may use use decision. Do not manufacture inference concepts merely to hide a policy's Boolean logic. Start with three responsibilities: a Concept provides a datum from supported answers, sources or computation; a Criterion defines the same Boolean condition once for reuse in multiple guards; a Decision gives conditions their source-required applicability, precedence and actions. Keep one-use conditions inline by default. Ordinary nested branches need no helper. An action-bearing continuation genuinely repeated within one decision can use a same-library helper without becoming a separate clinical determination; see chaining-necessity. Neither branch count nor criterion length determines fidelity. Vertical AND and horizontal AND are visual shorthand, not CRL constructs: distinguish ordered nested guards from operands in one compound guard. With A unknown and B false, nested A-then-B pauses at A, while A AND B is false; see guard-or-vs-sibling-or for worked references.",
286
287
  why: "Source fidelity depends on the meaning and dependencies of each criterion, not the number of emitted condition entries.",
287
288
  ref: "branch-guards; criterion; chaining-necessity; disposition-arbitration-reference",
288
289
  clauses: [
@@ -310,24 +311,24 @@ const RULES = [
310
311
  id: "chaining-necessity",
311
312
  applicability: "All CRL authoring",
312
313
  category: "decision-shape",
313
- rule: 'The chaining overlay (§2) — a `use decision` (bare same-library `use decision "Sub"`, or a QUALIFIED cross-library chain, #172) is the right primitive for TWO overlapping reasons: (a) the SOURCE delegates a SEPARATE determination BY NAME ("covered if the member meets the Eligibility Policy," "per the Step-Therapy Protocol"); and/or (b) REUSE of a GENUINELY SHARED determination — one determination that multiple policies or pathways genuinely reference, factored into a shared decision/library and chained. The SUR mandate-determination is exactly (b): one shared determination chained cross-library, which IS reuse. Reuse is a FIRST-CLASS reason to chain, not merely tolerated taste. One policy\'s own internal AND/OR/NOT logic still stays in ONE tree, however complex — the tree already expresses boolean composition, so "I have boolean logic" is not a chaining signal (see decision-composition). THE LINE IS NOT reuse-vs-no-reuse; it is GENUINELY-SHARED vs FABRICATED-SHARED: factor + reuse + chain a determination that is genuinely ONE shared thing; do NOT fabricate a shared sub-decision across INDEPENDENT policies whose criteria merely look alike — those are two sources that may diverge, so duplicate them inline (factoring lookalikes invents a false coupling that changes one when you change the other). Current CRE publication preparation refuses foreign delegated decisions with publication-unsupported-scope; legacy cross-library success does not certify this path. Same-library delegation and imported publication operands are separate supported cases. Report that capability gap when the source requires foreign delegation. (See source-delegated-decision-reference and disposition-arbitration-reference.)',
314
- why: "Two failure modes, opposite directions. (1) FABRICATING a determination boundary the structure does not genuinely share — casting one policy's internal pathways as separate sub-determinations, or coupling two independent lookalike policies — INVENTS structure the sources do not support and can change the disposition/provenance surface. (2) DUPLICATING a genuinely-shared determination instead of reusing it (a misapplied no-DRY instinct) loses the single source of truth the share represents (e.g. SUR's mandate determination). The boundary is a fact about what is genuinely shared — not an authoring convenience in either direction.",
315
- ref: "§2; source-delegated-decision-reference; disposition-arbitration-reference; #172",
314
+ rule: "Use decision invokes action-bearing branch structure. Use it for a source-delegated determination, a genuinely shared determination, or a behavior-preserving internal continuation reached from several paths. A repeated remaining interview can be defined once in the same library and invoked from both callers; it need not have a separate clinical outcome or a name in the source. Preserve when it is reached, precedence, unknown/error behavior, action identity and multiplicity, and relevant question scope. Ordinary local nesting does not require a helper, and a Boolean condition reused in guards belongs in a criterion. Never couple independently owned policies merely because their criteria look alike. Current CRE publication preparation refuses foreign delegated decisions with publication-unsupported-scope; same-library continuations and imported concept operands are separate cases. Factoring existing CRL changes structural addresses and can change review attribution display: regenerate/check provenance and renew affected MV review; semantic equivalence does not mean identical node IDs. The worked inline-versus-shared comparison proves CRE activities and condition order only. Re-verify native action IDs, RequestGroup nesting and Questionnaire grouping for the actual policy; preservation is an obligation, not a guarantee supplied by factoring. Every helper emits an independently applicable PlanDefinition; no internal-only marker prevents direct invocation. Verify deployment and invocation paths expose the intended policy root, not the helper alone. For PA, also check the delegated closure under pa-disposition-set and verifyLoop:mutual-exclusivity-spans-closure, including callers that both delegate and recommend. Decisions contain branches, not bare top-level actions. Use a guarded action block for several roots only when the source has a real common applicability condition. Otherwise invoke independent roots separately; no verified unconditional action-only coordinator is supplied, and an always-true question must not be invented. See shared-continuation-reference for the small ordered example and source-delegated-decision-reference for a separate determination.",
315
+ why: "Reuse should preserve source meaning and ownership. Factoring the same remaining actions differs from inventing an independent determination or coupling lookalike policies.",
316
+ ref: "decision-composition; criterion; shared-continuation-reference; source-delegated-decision-reference; docs/decision-shapes.md",
316
317
  clauses: [
317
318
  {
318
- text: "Chain a `use decision` for EITHER source-delegation (the source names/delegates a separate determination) OR reuse of a GENUINELY shared determination (one determination multiple policies/pathways genuinely reference — incl. cross-library, #172). Reuse is a legitimate first-class driver, not merely tolerated taste. One policy's own internal boolean logic still stays in ONE tree.",
319
- force: "default",
319
+ "text": "Use same-library helpers for genuinely repeated action-bearing continuations and use decision for source-delegated or genuinely shared determinations. Use inline nesting for local structure and criteria for conditions reused in guards.",
320
+ "force": "default"
320
321
  },
321
322
  {
322
- text: "Do not FABRICATE a determination boundary the structure does not genuinely share: casting one policy's internal pathways as separate chained sub-determinations the source never delegates AND that are not a genuinely-shared determination — an ADD that changes the disposition/provenance surface — is unfaithful; flag it even if a human did it deliberately. (A behavior-identical internal helper that does NOT change the surface is taste — leave it.)",
323
- force: "invariant",
324
- test: "judgeLens.composition:invented-determination-boundary",
323
+ "text": "An internal reuse helper must represent action-bearing structure genuinely reached from multiple caller paths; a single-use wrapper cannot claim this reuse rationale. Source-required separate determinations remain a distinct legitimate case. Do not present an internal helper as a new clinical determination. Preserve source applicability, precedence, unknown/error behavior, resulting actions and multiplicity, and question scope. Independently owned lookalike policies must not be coupled.",
324
+ "force": "invariant",
325
+ "test": "judgeLens.composition:invented-determination-boundary"
325
326
  },
326
327
  {
327
- text: "Cross-policy: distinguish GENUINELY-SHARED from FABRICATED-SHARED. A determination multiple policies genuinely reference (one shared thing) → FACTOR into a shared decision/library and chain it (reuse, incl. cross-library) — correct. Two INDEPENDENT policies whose criteria merely coincide → DUPLICATE inline (two sources that may diverge); do NOT factor lookalikes into one shared sub-decision — that invents a false coupling.",
328
- force: "invariant",
329
- test: "judgeLens.composition:invented-determination-boundary",
330
- },
328
+ "text": "Verify the intended root and each relevant caller path, including missing inputs and exact native output/question evidence. A passed single activity assertion alone does not prove that no extra actions fired.",
329
+ "force": "invariant",
330
+ "test": "verifyLoop:native-outcome-verification"
331
+ }
331
332
  ],
332
333
  },
333
334
  {
@@ -352,7 +353,7 @@ const RULES = [
352
353
  id: "branch-guards",
353
354
  applicability: "All CRL authoring",
354
355
  category: "guards",
355
- rule: "A when branch condition combines concept/criterion references with and, or, not and parentheses. A homogeneous chain may be bare; mixed and/or requires parentheses, as does not over a compound operand. Strong Kleene applies: not unknown is unknown. Publication-reachable branch guards, including references through a criterion, preserve the whole Boolean expression in one text/cql-expression applicability condition, with dependency input[] and null-propagating priority exclusions. Legacy guards use per-atom condition[] and DNF arms. Both retain source criteria in decision logic; the number of condition[] entries is not a source-fidelity test. Per-action only when / unless is a separate restricted menu construct (see guards). Publication-reachable means at least one operand in the guard dependency closure is an admitted selected publication: follow criterion references and imported operands too. This is an implementation choice, not a separate authored switch; migrating a dependency can change the lowering. Whole-expression evaluation prevents a true alternative from hiding an evaluated publication error (for example ambiguous selection or uninterpretable data). An evaluated error fails the case and cannot be bypassed by later first: branches; it is different from unknown and must not be treated as a pause. DNF arm-count relief is irrelevant for a guard already using whole-expression lowering.",
356
+ rule: "A when branch condition combines concept/criterion references with and, or, not and parentheses. A homogeneous chain may be bare; mixed and/or requires parentheses, as does not over a compound operand. Strong Kleene applies: not unknown is unknown. Publication-reachable branch guards, including references through a criterion, preserve the whole Boolean expression in one text/cql-expression applicability condition, with dependency input[] and null-propagating priority exclusions. Legacy guards use per-atom condition[] and DNF arms. Both retain source criteria in decision logic; the number of condition[] entries is not a source-fidelity test. Per-action only when / unless is a separate restricted menu construct (see guards). Publication-reachable means at least one operand in the guard dependency closure is an admitted selected publication: follow criterion references and imported operands too. This is an implementation choice, not a separate authored switch; migrating a dependency can change the lowering. Whole-expression evaluation prevents a true alternative from hiding an evaluated publication error (for example ambiguous selection or uninterpretable data). An evaluated error fails the case and cannot be bypassed by later first: branches; it is different from unknown and must not be treated as a pause. DNF arm-count relief is irrelevant for a guard already using whole-expression lowering. Logical grouping is not record identity: (recipient finding AND recipient assessment) OR (caregiver finding AND caregiver assessment) prevents mixing the two Boolean pairs, but each pair must already refer to the same identified person. Parentheses do not join arbitrary clinical records. The emitted dependency input[] retains the compound guard operands, including through named criteria. Do not infer native question suppression from a known truth value or from MV path display; inspect the actual native Questionnaire for the policy. CRE truth evaluation alone does not prove native question visibility.",
356
357
  why: "Distinct policy criteria belong in auditable decision/criterion expressions. Keep source operands and dependencies traceable while preserving unknown and authored precedence; do not assert that one applicability condition necessarily hides the decision.",
357
358
  ref: "docs/decision-shapes.md; #224",
358
359
  clauses: [
@@ -365,7 +366,7 @@ const RULES = [
365
366
  force: "default",
366
367
  },
367
368
  {
368
- text: "Legacy DNF materialization only; whole-expression publication guards do not use this expansion. OVER-ENVELOPE response: the emit MATERIALIZATION envelope (the finite bound on an INLINE compound guard's expanded DNF — an ARM cap only, owned + reported by the emitter as `compound-guard-expansion-overflow`; a guard's own `and`/`or` nesting is parser-bounded, not a separate emit cap) is a RESOURCE bound, NOT an authoring-complexity gate. Author to fidelity; a FAITHFUL model that approaches it is a capability-gap SIGNAL, not an error — raise it / consult the kit, do NOT blind-restructure to satisfy the bound. Two faithful ways to keep logic OUT of the parent DNF: (1) a `use decision` sub-decision ONLY for a genuinely-shared / source-delegated determination (never a fabricated one; see chaining-necessity); and (2) name a reused OR large-`or` sub-expression a `criterion` — post-#236 a criterion ref is ONE DNF leaf (its `or` lives inside its named define, emitted once), so it DOES provide arm-count relief (this is the emitter's own factoring path, not a fabricated boundary — the atoms stay visible in the define + use-site `input[]`). The retired `criterion-expansion-overflow`/criterion-atom bound is GONE — a criterion no longer materializes into the DNF at all.",
369
+ text: "Legacy inline DNF has an emitter materialization bound. A faithful model exceeding it is a capability gap, not an authoring-complexity violation. A criterion emits one named define and can reduce a legacy parent DNF. A faithful single-use factoring can be an explicit remedy for that compiler bound; report the gap as well and verify the resulting semantics. This exception does not change the default of naming for reuse. Whole-expression selected-publication guards already avoid this expansion. Single-use compiler-bound relief here is the Criterion remedy, not a reason to add a single-use Decision wrapper. Use a same-library continuation for actual multiple-caller reuse or a source-required delegated determination, preserving behavior and source ownership; never change ordering or invent a determination merely to satisfy an implementation bound.",
369
370
  force: "default",
370
371
  },
371
372
  ],
@@ -374,16 +375,16 @@ const RULES = [
374
375
  id: "criterion",
375
376
  applicability: "All CRL authoring",
376
377
  category: "decision-shape",
377
- rule: "A criterion names a reusable and/or/not branch condition: criterion \"Name\": - when ( <condition> ). Parenthesize its declaration body. It lowers once to a named Boolean CQL define, preserving its expression and unknown values. Reference it unqualified or self-qualified in branch conditions; publication-reachable guards preserve the whole applicability expression with dependency input[]. A criterion is library-local, unassertable and not a concept: CEL cannot define a fact by it. Foreign criterion references, cycles and concept-only uses are errors. Cross-library reuse must reflect a genuine shared determination via use decision, or a genuine shared concept; otherwise report the missing structural capability. CRE currently refuses foreign decision delegation under publication preparation; do not claim that a legacy cross-library run verifies that path.",
378
+ rule: "A criterion names a reusable and/or/not branch condition: criterion \"Name\": - when ( <condition> ). Parenthesize its declaration body. It lowers once to a named Boolean CQL define, preserving its expression and unknown values. Reference it unqualified or self-qualified in branch conditions; publication-reachable guards preserve the whole applicability expression with dependency input[]. A criterion is library-local, unassertable and not a concept: CEL cannot define a fact by it. Foreign criterion references, cycles and concept-only uses are errors. Cross-library reuse must reflect a genuine shared determination via use decision, or a genuine shared concept; otherwise report the missing structural capability. CRE currently refuses foreign decision delegation under publication preparation; do not claim that a legacy cross-library run verifies that path. Define a criterion for actual reuse of the same condition at multiple guards; keep one-use conditions inline by default. Readability is a benefit of reuse, not a requirement to introduce another named wrapper. Single-use criteria are not rejected by a usage-count rule. A criterion cannot recommend an activity, accept a CEL fact, or create its own question boundary. Keeping one-use expressions inline avoids redundant named wrappers and keeps the applicability at its use site; faithful overrides remain allowed by the force model. The reused-condition-reference uses Qualifying Evidence on both single-service and combined-service paths.",
378
379
  why: "A named criterion preserves source criteria and their dependencies while providing readable reuse. It does not invent an assertable clinical fact or a determination boundary.",
379
- ref: "docs/decision-shapes.md; validator rules criterion-cycle / criterion-misuse; #224",
380
+ ref: "artifact:reused-condition-reference.crl; docs/decision-shapes.md; validator rules criterion-cycle / criterion-misuse; #224",
380
381
  clauses: [
381
382
  {
382
383
  "text": "Criterion cycles, concept-only uses and foreign references are rejected; CEL cannot define a fact by a criterion.",
383
384
  "force": "validator-enforced"
384
385
  },
385
386
  {
386
- "text": "Keep distinct criteria in the named Boolean expression and its dependency input[]. Naming does not justify hiding, dropping or inventing a criterion.",
387
+ "text": "Define the same Boolean condition once for reuse at multiple guards with the same meaning and scope. Keep one-use conditions inline; this is authoring guidance, not a validator usage-count rule. Preserve the condition and its answerable dependencies.",
387
388
  "force": "default"
388
389
  }
389
390
  ],
@@ -392,8 +393,8 @@ const RULES = [
392
393
  id: "guard-or-vs-sibling-or",
393
394
  applicability: "All CRL authoring",
394
395
  category: "decision-shape",
395
- rule: "A combined when (A or B) expresses alternatives within one Boolean condition. Ordered sibling when A / when B branches express precedence, including when data is missing. With selected Boolean A unknown and B true, the combined condition is true but first: sibling branches pause at A. Do not split or merge them merely for presentation or DNF size. Use a compound guard when either alternative can establish the rule without resolving the other; use ordered siblings when the earlier determination must be resolved first or branches route differently. Under all:, two satisfied sibling branches can each fire, while one combined OR branch fires its body once. Preserve authored clinical intent and test missing-data cases as well as fully known inputs.",
396
- ref: "docs/decision-shapes.md §3; #224",
396
+ rule: "A combined when (A or B) expresses alternatives within one Boolean condition. Ordered sibling when A / when B branches express precedence, including when data is missing. With selected Boolean A unknown and B true, the combined condition is true but first: sibling branches pause at A. Do not split or merge them merely for presentation or DNF size. Use a compound guard when either alternative can establish the rule without resolving the other; use ordered siblings when the earlier determination must be resolved first or branches route differently. Under all:, two satisfied sibling branches can each fire, while one combined OR branch fires its body once. Preserve authored clinical intent and test missing-data cases as well as fully known inputs. The same distinction applies to AND: unknown A AND false B is false in either operand order, whereas requiring A in an outer first: branch pauses before B. Nest when the source requires establishing A first. Keep a complete compound condition when any known failure should settle it despite another unknown. The reused-condition and shared-continuation references deliberately teach these different source requirements; they are not equivalent encodings.",
397
+ ref: "artifact:reused-condition-reference.crl; artifact:shared-continuation-reference.crl; docs/decision-shapes.md §3; #224",
397
398
  clauses: [
398
399
  {
399
400
  "text": "Preserve source alternatives and precedence: a combined OR and ordered sibling branches are not interchangeable, especially with missing inputs. Do not split or merge merely for presentation or expression size.",
@@ -574,7 +575,7 @@ const RULES = [
574
575
  id: "cel-cases",
575
576
  applicability: "All CRL authoring",
576
577
  category: "cel",
577
- rule: "For normal policy emission, put clinical examples under src/cel/mv and additional engineering controls under src/cel/regression; see mv-case-authoring. Regression reuses MV examples. Author each companion `.cel`: `covers \"<CRL library>\"`; a Patient subject `fact` (`- defined by \"Patient\".`); separately named clinical `fact` records linked to their concept via `- defined by \"<library>\".\"<concept>\".`; and one `case` per path with `- subject is …`, the relevant `- fact is …`, and a `- result is \"<decision>\" is \"<branch>\".` oracle. For expected missing evidence before any activity, use `- result is \"<decision>\" is pause.` instead; a pause case must have exactly one result assertion. Quoted \"pause\" is an activity name. A passing pause assertion checks CRE's prediction only: native $apply is the source of truth, and each case requires independent error/activity/Questionnaire/QuestionnaireResponse answer-state checks. All-false empty results and partial `all:` activity production are not whole-decision pauses. CRE attribution currently identifies the decision condition, not an unknown compound operand. The CRE resolves concept-linked facts and checks code membership for supported representations; a matching explicit resource code participates in that representation. A well-formed nonmember can be authored deliberately and may warn; it is not a false answer. Malformed tokens are errors. CURRENT LIMIT: a local concept without a derivable local code set fails loudly. Some non-local forms still use name-based presence; this is not evidence of code membership. A bare concept-linked fact uses its declared local code. For a value-reading boolean question, write `value is true` or `value is false`; omission preserves an UNKNOWN answer, not an implicit no. A pause depends on the reached conditions: an unreached missing answer or a determinate compound such as true OR unknown does not by itself pause the decision. There is no absence code. Legacy closed-world record-existence fixtures are not selected-answer examples. Current ServiceRequest existence projection produces no candidate without a matching witness; it does not turn absence into a false local answer. A bare-type CEL fact without a code cannot match a coded retrieve; CEL validation emits warning `bare-type-fact-uncoded` for those resource types (#312). Patient is exempt because its retrieve is not code-scoped.",
578
+ rule: "For normal policy emission, put clinical examples under src/cel/mv and additional engineering controls under src/cel/regression; see mv-case-authoring. Regression reuses MV examples. Author each companion `.cel`: `covers \"<CRL library>\"`; a Patient subject `fact` (`- defined by \"Patient\".`); separately named clinical `fact` records linked to their concept via `- defined by \"<library>\".\"<concept>\".`; and one `case` per path with `- subject is …`, the relevant `- fact is …`, and a `- result is \"<decision>\" is \"<branch>\".` oracle. For expected missing evidence before any activity, use `- result is \"<decision>\" is pause.` instead; a pause case must have exactly one result assertion. Quoted \"pause\" is an activity name. A passing pause assertion checks CRE's prediction only: native $apply is the source of truth, and each case requires independent error/activity/Questionnaire/QuestionnaireResponse answer-state checks. All-false empty results and partial `all:` activity production are not whole-decision pauses. CRE attribution currently identifies the decision condition, not an unknown compound operand. The CRE resolves concept-linked facts and checks code membership for supported representations; a matching explicit resource code participates in that representation. A well-formed nonmember can be authored deliberately and may warn; it is not a false answer. Malformed tokens are errors. CURRENT LIMIT: a local concept without a derivable local code set fails loudly. Some non-local forms still use name-based presence; this is not evidence of code membership. A bare concept-linked fact uses its declared local code. For a value-reading boolean question, write `value is true` or `value is false`; omission preserves an UNKNOWN answer, not an implicit no. A pause depends on the reached conditions: an unreached missing answer or a determinate compound such as true OR unknown does not by itself pause the decision. There is no absence code. Legacy closed-world record-existence fixtures are not selected-answer examples. Current ServiceRequest existence projection produces no candidate without a matching witness; it does not turn absence into a false local answer. A bare-type CEL fact without a code cannot match a coded retrieve; CEL validation emits warning `bare-type-fact-uncoded` for those resource types (#312). Patient is exempt because its retrieve is not code-scoped. CRE limitation: use exactly one supported Decision/activity or Decision/pause expectation per case. Multiple ordinary results remain legal CEL for data emission, but run_decision and render_scenario report cre-multiple-result-assertions before evaluating any expectation. Multiple results involving pause retain conflicting-pause-results validation. For a missing or single Boolean expectation, the existing diagnostic is: CRE supports an activity or pause `result is` on a Decision. Boolean Concept expectations are unsupported even individually; splitting them does not fix that. Separate single-activity cases can reuse fact definitions, but each emitted case has its own patient dataset. One activity assertion checks membership in the produced set, not exact set equality. The refused case has no selected Decision or tree. For existing multi-result cases, retain their authored expectations for an evaluator that supports them, or make separate supported single-activity CRE cases with the same required facts and renewed review. Full regression and FINAL MV checks cannot pass unsupported CRE cases; validate/data-emission success alone is insufficient.",
578
579
  ref: "pa-determination-reference.cel; src/cre/run.ts",
579
580
  clauses: [
580
581
  {
@@ -592,7 +593,7 @@ const RULES = [
592
593
  id: "mv-case-authoring",
593
594
  applicability: "Preparing cases for clinician Medical Validation",
594
595
  category: "cel",
595
- rule: "Prepare clinician-facing CEL cases to demonstrate the authored question routes, with only the data needed for the route being reviewed. Include earlier false answers required to reach a later branch; missing evidence is not No. Keep deliberate overlap, precedence, conflicting-evidence and pause/clear controls in engineering verification. Those controls remain necessary where required by cel-cases and native-outcome-verification; simplifying an MV demonstration must not remove their proof. Regression harnesses may reuse MV cases and add controls; CEL has no CEL-to-CEL fact import. Normal emit_cel, emit_results and MV discovery select the complete src/cel/mv suite, including when passed one MV file. Each policy needs its own package.json beside src, and every selected CEL file must cover the same CRL root. Unclassified CEL and explicit regression selections are refused by normal emission/MV. An existing empty mv folder means zero cases; a missing folder is a migration error. crl-run-regression evaluates MV plus regression once each without emitting; its --native option uses the existing native producer in an automatically created temporary directory. Files have independent fact namespaces; CEL library names and frozen case IDs must be unique across the union, while case display names may repeat across files. Explicit validate_cel on MV checks the MV set; on regression it checks the union. Normal emission does not evaluate regression. Project-relative provenance references include src/cel/mv or src/cel/regression; basename aliases work only when unambiguous. FINAL case correspondence checks MV only. Data/results manifests retain each case source and frozen ID. Normal command results and native case states report failures. Explicit MV emit/validation commands may warn about supplied local Boolean question facts used only by definitively skipped later CRE conditions; unknown, computed, source/selector, criterion and potentially shared dependencies suppress this conservative advice. No warning is proof that all data is necessary. A deliberately retained clinical alternative can be valid despite advice; judge it against the intended demonstration instead of automatically deleting it. Warnings neither remove facts nor establish native equivalence. Use Git for source and review-history changes. Preserve frozen IDs for unchanged examples and check review associations when moving cases. Changed case data or meaning requires renewed review; use a new frozen ID or explicitly reset its prior verdict. Use Git to retain the old review file before removing obsolete regression-only entries from the current MV review file; those stale entries otherwise prevent MV completion. The pinned Result Questionnaire walks the selected executed route and its answerable inputs. Extra data for a skipped condition does not add that question to this route; parallel produced routes remain separately inspectable. The retained CRL Questionnaire covers the complete reached case rather than just the pinned route. The FHIR Questionnaire shows the associated native output. These three views serve different purposes and can differ legitimately. Displayed answer labels and choice highlights are not a terminology-validation oracle; validate coding identity and native behavior independently. Tree execution does not depend on authored source correspondence; source-text highlighting still does. Neither viewer repairs authored CEL or replaces native verification.",
596
+ rule: "Prepare clinician-facing CEL cases to demonstrate the authored question routes, with only the data needed for the route being reviewed. Include earlier false answers required to reach a later branch; missing evidence is not No. Keep deliberate overlap, precedence, conflicting-evidence and pause/clear controls in engineering verification. Those controls remain necessary where required by cel-cases and native-outcome-verification; simplifying an MV demonstration must not remove their proof. Regression harnesses may reuse MV cases and add controls; CEL has no CEL-to-CEL fact import. Normal emit_cel, emit_results and MV discovery select the complete src/cel/mv suite, including when passed one MV file. Each policy needs its own package.json beside src, and every selected CEL file must cover the same CRL root. Unclassified CEL and explicit regression selections are refused by normal emission/MV. An existing empty mv folder means zero cases; a missing folder is a migration error. crl-run-regression evaluates MV plus regression once each without emitting; its --native option uses the existing native producer in an automatically created temporary directory. Files have independent fact namespaces; CEL library names and frozen case IDs must be unique across the union, while case display names may repeat across files. Explicit validate_cel on MV checks the MV set; on regression it checks the union. Normal emission does not evaluate regression. Project-relative provenance references include src/cel/mv or src/cel/regression; basename aliases work only when unambiguous. FINAL case correspondence checks MV only. Data/results manifests retain each case source and frozen ID. Normal command results and native case states report failures. Explicit MV emit/validation commands may warn about supplied local Boolean question facts used only by definitively skipped later CRE conditions; unknown, computed, source/selector, criterion and potentially shared dependencies suppress this conservative advice. No warning is proof that all data is necessary. A deliberately retained clinical alternative can be valid despite advice; judge it against the intended demonstration instead of automatically deleting it. Warnings neither remove facts nor establish native equivalence. Use Git for source and review-history changes. Preserve frozen IDs for unchanged examples and check review associations when moving cases. Changed case data or meaning requires renewed review; use a new frozen ID or explicitly reset its prior verdict. Use Git to retain the old review file before removing obsolete regression-only entries from the current MV review file; those stale entries otherwise prevent MV completion. The pinned Result Questionnaire walks the selected executed route and its answerable inputs. Extra data for a skipped condition does not add that question to this route; parallel produced routes remain separately inspectable. The retained CRL Questionnaire covers the complete reached case rather than just the pinned route. The FHIR Questionnaire shows the associated native output. These three views serve different purposes and can differ legitimately. Displayed answer labels and choice highlights are not a terminology-validation oracle; validate coding identity and native behavior independently. Tree execution does not depend on authored source correspondence; source-text highlighting still does. Neither viewer repairs authored CEL or replaces native verification. Shared continuations retain their full source definitions in the tree; the case view expands actual entered occurrences instead of repeatedly copying every possible unentered path. Off-path advice follows CRE traces and conservatively keeps possible shared uses. A CRE error in any sibling case suppresses advice for that entire CEL file. It remains advice, not a completeness proof. Keep assertion stress controls in regression; worked reference files marked engineering are not ready-made minimal MV suites.",
596
597
  why: "A clinician should be able to review a question route without interpreting an implementation stress test. Author intent, execution evidence and native result verification remain separate responsibilities.",
597
598
  ref: "cel-cases; verify-loop; docs/cel-suites.md; docs/mv-component-view.md; docs/medical-validation-plan.md; crl-vscode/src/executionRoutes.test.mjs",
598
599
  clauses: [
@@ -934,9 +935,9 @@ const EXAMPLES = [
934
935
  {
935
936
  id: "criterion-reuse", title: "`criterion` — a named, reusable branch guard (#224)",
936
937
  language: "crl",
937
- snippet: 'criterion "Meets Coverage Preconditions":\n- when ( "Has Qualifying Diagnosis" and "Failed Conservative Therapy" ).\ndecision "Coverage":\nfirst:\n- when ( "Meets Coverage Preconditions" and "Imaging Not Recent" ) then recommend activity "certify.Approve".\n- otherwise then recommend activity "not-certify.Deny".',
938
+ snippet: decisionExamples_1.REUSED_CONDITION_SNIPPET,
938
939
  valid: true,
939
- note: "A reusable library-local Boolean guard over distinct criteria. Its dependency inputs remain visible when used in a publication-reachable branch. This excerpt requires the referenced concepts and activity in the containing library.",
940
+ note: "Fictional source: every in-scope request is single or combined. Resolve that request type first; then either finding qualifies, and only combined requests need documentation. Qualifying Evidence is reused twice. The four inputs are selected Boolean Record/Observation concepts, not presence tests; missing is unknown. Complete declarations and engineering cases are in reused-condition-reference. Other or overlapping request categories need their own source-faithful model. Neither this excerpt nor its CRE checks certify native question visibility.",
940
941
  },
941
942
  {
942
943
  id: "open-fork-flag", title: "Review flag: an @open-fork on the concept it concerns (via create_flag — LEAN, detail in the linked issue)",
@@ -1080,9 +1081,9 @@ const JUDGE_LENS = {
1080
1081
  composition: [
1081
1082
  {
1082
1083
  check: "invented-determination-boundary",
1083
- weightedBy: "whether the source delegates a separate determination, or several policies genuinely share one determination.",
1084
- guidance: "A use decision is faithful for source-delegation OR a genuinely shared determination. Reuse alone does not establish shared clinical identity: independent policies with coincidentally similar criteria may diverge and must not be coupled. One policy's internal Boolean pathways do not justify inventing a separate determination. Check the source and ownership, not whether the author calls the change DRY.",
1085
- checkpoints: ["Does the source delegate this determination, OR do multiple policies genuinely reference one shared determination?", "Does the sub render its own meaningful disposition rather than merely naming a Boolean condition?", "Would factoring independent lookalike policies create false coupling?"],
1084
+ weightedBy: "whether the use preserves a source-delegated determination, genuinely shared determination, or repeated internal continuation.",
1085
+ guidance: "A use decision is faithful for source-delegation OR a genuinely shared determination, and can also factor a behavior-preserving internal action-bearing continuation. An internal helper need not yield its own separate clinical determination. Reuse alone does not establish shared clinical identity: independent policies with coincidentally similar criteria may diverge and must not be coupled. Check source meaning, ownership, applicability, order, unknown/error behavior, actions/multiplicity and question scope.",
1086
+ checkpoints: ["Is this source-delegated/shared determination, or is the internal continuation genuinely reached from multiple caller paths rather than a single-use wrapper?", "Does factoring preserve the callers and resulting behavior, including unknowns and native questions?", "Is a condition-only reuse better represented as a criterion?", "Would factoring independent lookalike policies create false coupling?"],
1086
1087
  },
1087
1088
  {
1088
1089
  check: "hollowed-criteria",
@@ -1214,6 +1215,38 @@ const REFERENCE_ARTIFACTS = [
1214
1215
  verification: ["cre-run"],
1215
1216
  source: reference_1.PA_DETERMINATION_REFERENCE_CEL,
1216
1217
  },
1218
+ {
1219
+ name: "reused-condition-reference.crl",
1220
+ language: "crl",
1221
+ applicability: "Learning reusable conditions and source-ordered continuations",
1222
+ purpose: "Fictional request universe: single or combined only. Resolve request type first. Both paths reuse Finding A OR Finding B; combined additionally requires documentation in the same guard. False documentation can decide failure despite unknown findings. Concepts use selected Boolean Observations; Criterion is not an extra answer. Question presentations are included. No native or clinical-source certification. The owning test checks exact activities and distinguishes the single and combined branches; the CEL activity assertion alone checks membership.",
1223
+ verification: ["cre-run", "fhir-emit"],
1224
+ source: decisionExamples_1.REUSED_CONDITION_CRL,
1225
+ },
1226
+ {
1227
+ name: "reused-condition-reference.cel",
1228
+ language: "cel",
1229
+ applicability: "Learning reusable conditions and source-ordered continuations",
1230
+ purpose: "Engineering regression reference, including explicit missing-input controls. Use one reference pair per separate scratch project. Place under src/cel/regression with the companion CRL under src/crl and the served requires.crl configuration in package.json. Create src/cel/mv too; it may be empty for these standalone engineering examples. Validate the CEL, then run crl-run-regression --project <project>. Reuse selected path demonstrations separately for MV; do not copy this complete stress set into MV. Exact CRE outputs are checked; native outcomes and interactive answer/change/clear behavior require separate verification.",
1231
+ verification: ["cre-run"],
1232
+ source: decisionExamples_1.REUSED_CONDITION_CEL,
1233
+ },
1234
+ {
1235
+ name: "shared-continuation-reference.crl",
1236
+ language: "crl",
1237
+ applicability: "Learning reusable conditions and source-ordered continuations",
1238
+ purpose: "Fictional ordered source: resolve C0 (does extra evidence apply?) first, then D0 (is it sufficient?) only if applicable, then E (remaining check). Step1 is the same remaining branch/action structure used by both paths. C0 unknown/E false and C0 true/D0 unknown/E false both pause: this is deliberately not the flat formula (not C0 or D0) and E. Schematic names keep the structure small. Question presentations are included. No native or clinical-source certification. The owning test checks exact activities and entered condition paths; the CEL activity assertion alone checks membership.",
1239
+ verification: ["cre-run", "fhir-emit"],
1240
+ source: decisionExamples_1.SHARED_CONTINUATION_CRL,
1241
+ },
1242
+ {
1243
+ name: "shared-continuation-reference.cel",
1244
+ language: "cel",
1245
+ applicability: "Learning reusable conditions and source-ordered continuations",
1246
+ purpose: "Engineering regression reference, including explicit missing-input controls. Use one reference pair per separate scratch project. Place under src/cel/regression with the companion CRL under src/crl and the served requires.crl configuration in package.json. Create src/cel/mv too; it may be empty for these standalone engineering examples. Validate the CEL, then run crl-run-regression --project <project>. Reuse selected path demonstrations separately for MV; do not copy this complete stress set into MV. Exact CRE outputs are checked; native outcomes and interactive answer/change/clear behavior require separate verification.",
1247
+ verification: ["cre-run"],
1248
+ source: decisionExamples_1.SHARED_CONTINUATION_CEL,
1249
+ },
1217
1250
  {
1218
1251
  name: "source-delegated-decision-reference.crl",
1219
1252
  language: "crl",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/authoring-kit/index.ts"],"names":[],"mappings":";;;;;AAwrDA,0CA4BC;AAntDD,mDAAqH;AACrH,yDAAsF;AACtF,uDAAwF;AACxF,6DAA4D;AAY5D,8DAAiC;AACjC,6CAA6C;AAC7C,iDAAsD;AACtD,6CAAyC;AAEzC,2DAAoE;AACpE,4DAAyD;AACzD,0DAAuD;AACvD,oEAAiE;AACjE,4CAAqD;AAErD,2CASqB;AAsTrB,MAAM,cAAc,GAAG,KAAK,CAAC;AAE7B,MAAM,YAAY,GAAG,mEAAmE,CAAC;AAEzF,MAAM,OAAO,GACX,mfAAmf,CAAC;AAOtf,MAAM,WAAW,GAAe;IAC9B,OAAO,EACL,uGAAuG;QACvG,uGAAuG;QACvG,sGAAsG;QACtG,sKAAsK;QACtK,2GAA2G;QAC3G,4FAA4F;QAC5F,oGAAoG;QACpG,gFAAgF;IAClF,MAAM,EAAE;QACN;YACE,KAAK,EAAE,oBAAoB;YAC3B,OAAO,EACL,oGAAoG;gBACpG,kGAAkG;gBAClG,2FAA2F;SAC9F;QACD;YACE,KAAK,EAAE,WAAW;YAClB,OAAO,EACL,kGAAkG;gBAClG,gJAAgJ;gBAChJ,wGAAwG;gBACxG,yGAAyG;gBACzG,uGAAuG;gBACvG,sHAAsH;SACzH;QACD;YACE,KAAK,EAAE,SAAS;YAChB,OAAO,EACL,4FAA4F;gBAC5F,uGAAuG;gBACvG,0FAA0F;SAC7F;KACF;IACD,kBAAkB,EAChB,yGAAyG;QACzG,mGAAmG;QACnG,sGAAsG;QACtG,uGAAuG;QACvG,8BAA8B;CACjC,CAAC;AAEF,MAAM,mBAAmB,GAAwB;IAC/C;QACE,IAAI,EAAE,0BAA0B;QAChC,OAAO,EACL,uwBAAuwB;QACzwB,KAAK,EAAE,IAAI;KACZ;IACD;QACE,IAAI,EAAE,oBAAoB;QAC1B,OAAO,EACL,8TAA8T;QAChU,KAAK,EAAE,IAAI;KACZ;IACD;QACE,IAAI,EAAE,yBA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