{
  "format": "decision-lab-workflow-package/1",
  "workflow": {
    "format": "decision-lab-workflow/1",
    "id": "choose-next-month-growth",
    "version": "1.0.0",
    "title": "Choose next month’s growth commitment",
    "question": "Which growth plan can we afford to carry out?",
    "description": "Compare four complete growth commitments against cash after every dated payment and receipt, a required reserve, delivery hours, collection timing and the complete obligation horizon. Show the customer contribution needed to cover committed campaign spending. Optionally compare a nonbinding preference test using explicit probability assumptions and the same complete operating checks.",
    "execution": {
      "mode": "calculation"
    },
    "dependencies": [
      {
        "id": "planning",
        "app": {
          "format": "decision-lab-app/1",
          "template": {
            "format": "decision-lab-template/1",
            "definition": {
              "format": "decision-lab-template-definition/1",
              "templateId": "complete-a-commitment",
              "version": "1.1.0",
              "pattern": "complete-a-commitment/1",
              "title": "Complete a commitment",
              "description": "Determine whether one complete static plan can satisfy every mandatory obligation across every explicitly admitted scenario. Compare feasible plans only after whole-plan execution feasibility is established.",
              "authoring": {
                "requiredModuleFields": [
                  "description",
                  "question",
                  "assumptions",
                  "units",
                  "inputs",
                  "choices",
                  "scenarioDomain",
                  "derived",
                  "resources",
                  "requirements",
                  "constraints",
                  "finance",
                  "preference",
                  "labels"
                ],
                "guidance": "What must be completed, for whom, and within which accepted limits?\nWhich objects, quantities, revisions and locations are covered?\nWhich factual records and admitted states are we relying on?\nWhich complete choices may the planner make?\nWhich activities, dependencies, calendars and capacities must the same plan respect?\nWhich scoped permissions must cover each required operation?\nWhich joint operating scenarios must this commitment withstand?\nWhich obligations are mandatory, and how will passing complete plans be compared?\nModule authors supply these declarations and domain vocabulary. Case workers supply only values allowed by the frozen module. Facts, scenarios and operating permission must never be inferred from a preferred plan.\nActivities may be empty when explicit period-capacity predicates completely describe the bounded workload. Ordered customer receipts and payments use the opt-in ordered-cash-flow/1 contract; expense and cash movement remain distinct."
              },
              "contract": {
                "format": "decision-lab-installed-contract/1",
                "pattern": "complete-a-commitment/1",
                "definition": {
                  "id": "complete-a-commitment",
                  "version": "1.0.0",
                  "evaluator": "bounded-static-commitment/1",
                  "title": "Complete a commitment",
                  "responsibility": "Find one complete static operating choice that satisfies every mandatory obligation across every explicitly admitted joint scenario, then compare feasible choices.",
                  "invariants": [
                    "Choices are finite, input-only controls. One complete assignment is shared across every admitted scenario and obligation.",
                    "Admitted joint scenarios are explicit facts; neither independence, probabilities nor unlisted scenarios are inferred.",
                    "An empty admitted basis is inconsistent, never a vacuous feasibility result.",
                    "Typed acyclic expressions separate static controls, scenario consequences and post-scenario preference aggregates.",
                    "Activities, calendars, bookings and permission validity use half-open intervals; adjacent intervals do not overlap.",
                    "Capacity is the sum of simultaneous renewable demands. A scoped grant must cover its entire required operation.",
                    "Expense sums nonrefundable charges. Refundable holds affect cash only; simultaneous cash events are netted before peak cash is measured.",
                    "Every mandatory condition must pass for the same choice in every admitted scenario. Preference cannot compensate for failure.",
                    "Ranking is lexicographic over feasible choices only; genuine ties are retained and identifiers only stabilize display order.",
                    "A fully checked witness establishes existence during partial search. No-plan and optimality claims require complete relevant coverage.",
                    "Missing data, unresolved lookups, unsafe arithmetic and unsupported declarations are invalid input, never invented facts.",
                    "Calculated feasibility is conditional on accepted facts and fixed assumptions, not permission, reservation or evidence of actual completion."
                  ],
                  "expressionLanguage": {
                    "id": "typed-static-commitment-expressions/1",
                    "literals": "Finite scalar or homogeneous scalar-array data; no executable code.",
                    "references": [
                      "parameter",
                      "choice",
                      "scenario",
                      "derived",
                      "activity",
                      "finance",
                      "row (inside exists.test)"
                    ],
                    "operators": {
                      "eq": "Two compatible scalars -> boolean",
                      "ne": "Two compatible scalars -> boolean",
                      "lt": "Two compatible numbers -> boolean",
                      "lte": "Two compatible numbers -> boolean",
                      "gt": "Two compatible numbers -> boolean",
                      "gte": "Two compatible numbers -> boolean",
                      "add": "At least two compatible numbers -> number",
                      "sub": "Two compatible numbers -> number",
                      "mul": "Two numbers with at most one dimensional operand -> number; count is a multiplicity",
                      "and": "At least two booleans -> boolean",
                      "or": "At least two booleans -> boolean",
                      "not": "One boolean -> boolean",
                      "in": "Scalar and compatible scalar-array -> boolean",
                      "lookup": "Complete primary-key binding in a typed input table -> exactly one selected scalar; missing or ambiguous lookup is invalid",
                      "exists": "Typed equality bindings plus optional row-scoped predicate -> boolean; no match is false",
                      "interval-covered": "Typed selected calendar rows and a positive half-open interval -> boolean; adjacent coverage may combine",
                      "worst-case": "Numeric expression -> maximum across admitted scenarios for preference only; nested or unreduced scenario aggregates are invalid"
                    }
                  }
                },
                "schema": {
                  "kind": "installed-validator-descriptor/1",
                  "modelFormat": "complete-a-commitment/1",
                  "moduleValidator": "assertCommitmentModule",
                  "caseValidator": "validateCommitmentCase",
                  "requiredModelFields": [
                    "format",
                    "module",
                    "case"
                  ],
                  "requiredModuleFields": [
                    "id",
                    "title",
                    "template",
                    "units",
                    "inputs",
                    "choices",
                    "scenarioDomain",
                    "derived",
                    "activities",
                    "resources",
                    "requirements",
                    "constraints",
                    "finance",
                    "preference",
                    "labels"
                  ],
                  "moduleFields": [
                    "id",
                    "title",
                    "template",
                    "template.id",
                    "template.version",
                    "description",
                    "question",
                    "assumptions",
                    "units",
                    "units.time",
                    "units.timeOrigin",
                    "units.money",
                    "inputs",
                    "inputs.parameters",
                    "inputs.tables",
                    "choices",
                    "scenarioDomain",
                    "derived",
                    "activities",
                    "resources",
                    "resources.definitions",
                    "resources.bookings",
                    "requirements",
                    "constraints",
                    "finance",
                    "finance.mode",
                    "finance.charges",
                    "finance.holds",
                    "preference",
                    "preference.direction",
                    "preference.expression",
                    "preference.then",
                    "labels",
                    "lookupCoverage"
                  ],
                  "requiredCaseFields": [
                    "id",
                    "parameters",
                    "tables",
                    "provenance"
                  ],
                  "optionalCaseFields": [],
                  "caseDerivation": [
                    "All case parameters and keyed input rows use the frozen module.inputs types, units, bounds, keys and references; no missing-value defaults or coercion are inferred.",
                    "Finite choices draw only from input arrays, input table columns or fixed literal domains; the same assignment applies to every scenario.",
                    "The scenarioDomain table explicitly lists admitted joint scenarios; an empty table is an inconsistent basis rather than vacuous feasibility.",
                    "Activity graphs, constraints, mandatory obligations, resource mappings, financial mode and preference remain frozen module declarations.",
                    "Provenance describes accepted factual sources; identifying a source does not authenticate it or infer readiness."
                  ],
                  "description": "Installed closed typed declaration and case-admission validators; this descriptor is not a complete JSON Schema. Publication checks admission, not computed feasibility."
                },
                "structuralSlots": [
                  {
                    "path": "units",
                    "owner": "module-author",
                    "description": "Declare one time origin, common time and money units, and additional numeric units."
                  },
                  {
                    "path": "inputs",
                    "owner": "module-author",
                    "description": "Declare required typed parameters and keyed relations."
                  },
                  {
                    "path": "choices",
                    "owner": "module-author",
                    "description": "Declare finite static controls from input-only domains."
                  },
                  {
                    "path": "scenarioDomain",
                    "owner": "module-author",
                    "description": "Bind the input relation containing explicit joint scenarios."
                  },
                  {
                    "path": "derived",
                    "owner": "module-author",
                    "description": "Bind typed acyclic consequences using the installed expression language."
                  },
                  {
                    "path": "activities",
                    "owner": "module-author",
                    "description": "Declare static activity actors, timing and renewable resource demands."
                  },
                  {
                    "path": "resources",
                    "owner": "module-author",
                    "description": "Map resource capacities and existing bookings."
                  },
                  {
                    "path": "requirements",
                    "owner": "module-author",
                    "description": "Name and explain every mandatory commitment obligation."
                  },
                  {
                    "path": "constraints",
                    "owner": "module-author",
                    "description": "Bind predicates and shared resource-capacity checks to obligations."
                  },
                  {
                    "path": "finance",
                    "owner": "module-author",
                    "description": "Declare nonrefundable charges and optional timed refundable holds."
                  },
                  {
                    "path": "preference",
                    "owner": "module-author",
                    "description": "Declare feasible-only lexicographic comparison."
                  },
                  {
                    "path": "lookupCoverage",
                    "owner": "module-author",
                    "description": "Optionally require complete finite lookup coverage."
                  },
                  {
                    "path": "labels",
                    "owner": "module-author",
                    "description": "Supply domain vocabulary without changing calculations."
                  },
                  {
                    "path": "assumptions",
                    "owner": "module-author",
                    "description": "State accepted premises and the applicability boundary."
                  }
                ],
                "caseInputs": [
                  {
                    "path": "id",
                    "owner": "case-worker",
                    "description": "Identify this case."
                  },
                  {
                    "path": "parameters",
                    "owner": "case-worker",
                    "description": "Supply every declared parameter, including finite choice grids and current limits."
                  },
                  {
                    "path": "tables",
                    "owner": "case-worker",
                    "description": "Supply typed records, accepted scenarios, calendars, grants, resources and other declared facts."
                  },
                  {
                    "path": "provenance",
                    "owner": "case-worker",
                    "description": "Record the accepted source and scope of supplied information."
                  }
                ],
                "capabilities": {
                  "language": "typed-static-commitment-expressions/1",
                  "supported": [
                    "finite-static-plans",
                    "explicit-joint-scenarios",
                    "typed-acyclic-expressions",
                    "variable-activity-graphs",
                    "half-open-intervals",
                    "renewable-capacity",
                    "scoped-permission-predicates",
                    "expense-and-cash-accounting",
                    "all-scenario-conjunction",
                    "coverage-qualified-findings",
                    "feasible-only-lexicographic-preference"
                  ],
                  "unsupported": [
                    "conditional-policy-synthesis",
                    "continuous-time-optimization",
                    "inferred-readiness-or-probabilities",
                    "live-reservations",
                    "permission-issuance",
                    "arbitrary-code"
                  ]
                },
                "limits": {
                  "admission": {
                    "nodes": 250000,
                    "depth": 80,
                    "list": 10000,
                    "text": 200000,
                    "expressions": 20000,
                    "expressionDepth": 64,
                    "dependencyDepth": 64,
                    "lookupTuples": 100000,
                    "errors": 200
                  },
                  "defaults": {
                    "maxPlans": 10000,
                    "maxScenarioChecks": 100000,
                    "maxOperations": 10000000
                  },
                  "hard": {
                    "maxPlans": 100000,
                    "maxScenarioChecks": 1000000,
                    "maxOperations": 50000000
                  }
                },
                "reportResponsibilities": {
                  "assessmentContract": "complete-a-commitment.assessment/1",
                  "reportIds": [],
                  "responsibilities": [
                    "Complete candidate assignments and all checked scenarios",
                    "Feasibility, coverage and feasible-only preference",
                    "Activities, interval/resource checks and scoped permission traces",
                    "Expense, timed cash events and peak cash where declared",
                    "Mandatory obligation results and blockers",
                    "Accepted basis and calculation provenance"
                  ],
                  "completeReportDocument": "Unavailable for this pattern until milestone 5. Public assessment artifacts expose complete calculation data without claiming renderer-ready report support."
                }
              }
            },
            "createdAt": "2026-11-22T18:00:00.000Z",
            "contentHash": "5ac6158d617d5b14e7a394b248587695f0815c7cd9dcf19a4b4cdd04b793091b"
          },
          "app": {
            "schemaVersion": 5,
            "kind": "hermod-published-app",
            "runtime": "diagnostic-evidence",
            "id": "compare-growth-arrangements",
            "version": 1,
            "name": "Compare growth arrangements",
            "description": "Compare a current-approach baseline and three complete growth arrangements against cash by date, a required reserve, delivery capacity and a commitment cutoff. Forecast customer counts are uncertain situations, not controllable sales or probabilities. A passing arrangement is operationally supportable under these inputs; no most-profitable option is selected.",
            "source": "{\n  \"format\": \"complete-a-commitment/1\",\n  \"module\": {\n    \"id\": \"growth-commitment\",\n    \"version\": \"1.0.0\",\n    \"template\": {\n      \"id\": \"complete-a-commitment\",\n      \"version\": 1\n    },\n    \"title\": \"Compare growth arrangements\",\n    \"question\": \"Which growth commitments can we fund and deliver under the declared demand and collection situations?\",\n    \"description\": \"Compare a current-approach baseline and three complete growth arrangements against cash by date, a required reserve, delivery capacity and a commitment cutoff. Forecast customer counts are uncertain situations, not controllable sales or probabilities. A passing arrangement is operationally supportable under these inputs; no most-profitable option is selected.\",\n    \"units\": {\n      \"time\": \"day\",\n      \"timeOrigin\": \"elapsed whole days from the declared growth-planning origin\",\n      \"money\": \"USD cent\",\n      \"count\": \"customer\",\n      \"hours\": \"hour\"\n    },\n    \"assumptions\": [\n      \"This is an incremental growth calculation for one standard service package. Opening cash is already unrestricted growth funding after existing obligations; do not deduct those obligations again. The minimum reserve is an additional balance that must remain available.\",\n      \"Each arrangement has a fixed committed campaign expense that remains payable when sales disappoint. Forecast customer counts determine delivery expense, receipts and workload. Costs are not automatically inferred from customer-acquisition ratios.\",\n      \"Every declared situation supplies a complete joint forecast for all alternatives. Passing requires meeting every retained requirement in every declared situation; no probability of success or guarantee of customer demand is inferred.\",\n      \"Cash uses explicit elapsed days and ordered atomic events. On the same day, campaign payment occurs first, delivery payment second, and customer receipt third. A later receipt cannot fund an earlier payment. Customer receipts are not treated as negative expenses or returned deposits.\",\n      \"The payment-before-delivery alternative receives its complete customer price no later than delivery starts. Invoice alternatives collect no earlier than delivery finishes. The model assumes full receipt on each declared collection date; bad debt, refunds, tax and recognition rules require an authored extension.\",\n      \"Capacity is available incremental hours in the explicitly identified delivery period. All customer work fits inside that period. The model does not spread work across periods, infer staffing from elapsed time, or solve a detailed task schedule.\",\n      \"The comparison horizon must contain every payment, receipt and delivery completion. A multi-period contract needs its complete obligations inside this model or a new authored profile; its first month cannot stand for the whole commitment.\",\n      \"The baseline represents no incremental campaign and no incremental customers. Its zero cash events are harmless placeholders. Feasibility-only comparison neither recommends a growth target nor estimates campaign effectiveness or causal impact.\"\n    ],\n    \"inputs\": {\n      \"parameters\": {\n        \"openingCashMinor\": {\n          \"type\": \"integer\",\n          \"unit\": \"money\",\n          \"minimum\": 0\n        },\n        \"minimumReserveMinor\": {\n          \"type\": \"integer\",\n          \"unit\": \"money\",\n          \"minimum\": 0\n        },\n        \"unitPriceMinor\": {\n          \"type\": \"integer\",\n          \"unit\": \"money\",\n          \"minimum\": 0\n        },\n        \"deliveryExpensePerCustomerMinor\": {\n          \"type\": \"integer\",\n          \"unit\": \"money\",\n          \"minimum\": 0\n        },\n        \"deliveryHoursPerCustomer\": {\n          \"type\": \"integer\",\n          \"unit\": \"hours\",\n          \"minimum\": 1\n        },\n        \"currentDay\": {\n          \"type\": \"integer\",\n          \"unit\": \"time\",\n          \"minimum\": 0\n        },\n        \"decisionDeadlineDay\": {\n          \"type\": \"integer\",\n          \"unit\": \"time\",\n          \"minimum\": 0\n        },\n        \"horizonDay\": {\n          \"type\": \"integer\",\n          \"unit\": \"time\",\n          \"minimum\": 1\n        },\n        \"campaignSurplusTargetMinor\": {\n          \"type\": \"integer\",\n          \"unit\": \"money\",\n          \"minimum\": 0\n        }\n      },\n      \"tables\": {\n        \"arrangements\": {\n          \"key\": [\n            \"id\"\n          ],\n          \"columns\": {\n            \"id\": {\n              \"type\": \"string\",\n              \"enum\": [\n                \"baseline\",\n                \"large-invoice\",\n                \"small-invoice\",\n                \"medium-prepay\"\n              ]\n            },\n            \"campaignExpenseMinor\": {\n              \"type\": \"integer\",\n              \"unit\": \"money\",\n              \"minimum\": 0\n            }\n          }\n        },\n        \"scenarios\": {\n          \"key\": [\n            \"id\"\n          ],\n          \"columns\": {\n            \"id\": {\n              \"type\": \"string\"\n            },\n            \"label\": {\n              \"type\": \"string\"\n            }\n          }\n        },\n        \"outcomes\": {\n          \"key\": [\n            \"scenario\",\n            \"arrangement\"\n          ],\n          \"columns\": {\n            \"scenario\": {\n              \"type\": \"string\",\n              \"references\": {\n                \"table\": \"scenarios\",\n                \"column\": \"id\"\n              }\n            },\n            \"arrangement\": {\n              \"type\": \"string\",\n              \"enum\": [\n                \"baseline\",\n                \"large-invoice\",\n                \"small-invoice\",\n                \"medium-prepay\"\n              ]\n            },\n            \"customers\": {\n              \"type\": \"integer\",\n              \"unit\": \"count\",\n              \"minimum\": 0\n            },\n            \"campaignExpenseDay\": {\n              \"type\": \"integer\",\n              \"unit\": \"time\",\n              \"minimum\": 0\n            },\n            \"deliveryExpenseDay\": {\n              \"type\": \"integer\",\n              \"unit\": \"time\",\n              \"minimum\": 0\n            },\n            \"customerReceiptDay\": {\n              \"type\": \"integer\",\n              \"unit\": \"time\",\n              \"minimum\": 0\n            },\n            \"deliveryStartDay\": {\n              \"type\": \"integer\",\n              \"unit\": \"time\",\n              \"minimum\": 0\n            },\n            \"deliveryFinishDay\": {\n              \"type\": \"integer\",\n              \"unit\": \"time\",\n              \"minimum\": 0\n            },\n            \"capacityPeriod\": {\n              \"type\": \"string\",\n              \"references\": {\n                \"table\": \"capacityPeriods\",\n                \"column\": \"id\"\n              }\n            }\n          }\n        },\n        \"capacityPeriods\": {\n          \"key\": [\n            \"id\"\n          ],\n          \"columns\": {\n            \"id\": {\n              \"type\": \"string\"\n            },\n            \"from\": {\n              \"type\": \"integer\",\n              \"unit\": \"time\",\n              \"minimum\": 0\n            },\n            \"through\": {\n              \"type\": \"integer\",\n              \"unit\": \"time\",\n              \"minimum\": 0\n            },\n            \"availableHours\": {\n              \"type\": \"integer\",\n              \"unit\": \"hours\",\n              \"minimum\": 0\n            }\n          }\n        },\n        \"_resources\": {\n          \"key\": [\n            \"id\"\n          ],\n          \"columns\": {\n            \"id\": {\n              \"type\": \"string\"\n            },\n            \"capacity\": {\n              \"type\": \"integer\",\n              \"unit\": \"count\",\n              \"minimum\": 0\n            }\n          }\n        },\n        \"_bookings\": {\n          \"key\": [\n            \"id\"\n          ],\n          \"columns\": {\n            \"id\": {\n              \"type\": \"string\"\n            },\n            \"resource\": {\n              \"type\": \"string\"\n            },\n            \"from\": {\n              \"type\": \"integer\",\n              \"unit\": \"time\",\n              \"minimum\": 0\n            },\n            \"through\": {\n              \"type\": \"integer\",\n              \"unit\": \"time\",\n              \"minimum\": 0\n            },\n            \"amount\": {\n              \"type\": \"integer\",\n              \"unit\": \"count\",\n              \"minimum\": 0\n            }\n          }\n        }\n      }\n    },\n    \"choices\": [\n      {\n        \"id\": \"arrangement\",\n        \"domain\": {\n          \"values\": [\n            \"baseline\",\n            \"large-invoice\",\n            \"small-invoice\",\n            \"medium-prepay\"\n          ]\n        }\n      }\n    ],\n    \"scenarioDomain\": {\n      \"table\": \"scenarios\"\n    },\n    \"lookupCoverage\": [\n      {\n        \"table\": \"arrangements\",\n        \"keys\": {\n          \"id\": {\n            \"domain\": {\n              \"values\": [\n                \"baseline\",\n                \"large-invoice\",\n                \"small-invoice\",\n                \"medium-prepay\"\n              ]\n            }\n          }\n        }\n      },\n      {\n        \"table\": \"outcomes\",\n        \"keys\": {\n          \"scenario\": {\n            \"domain\": {\n              \"table\": \"scenarios\",\n              \"column\": \"id\"\n            }\n          },\n          \"arrangement\": {\n            \"domain\": {\n              \"values\": [\n                \"baseline\",\n                \"large-invoice\",\n                \"small-invoice\",\n                \"medium-prepay\"\n              ]\n            }\n          }\n        }\n      }\n    ],\n    \"derived\": [\n      {\n        \"id\": \"customers\",\n        \"type\": \"integer\",\n        \"unit\": \"count\",\n        \"expr\": {\n          \"op\": \"lookup\",\n          \"table\": \"outcomes\",\n          \"where\": {\n            \"scenario\": {\n              \"ref\": \"scenario.id\"\n            },\n            \"arrangement\": {\n              \"ref\": \"choice.arrangement\"\n            }\n          },\n          \"column\": \"customers\"\n        }\n      },\n      {\n        \"id\": \"campaignExpense\",\n        \"type\": \"integer\",\n        \"unit\": \"money\",\n        \"expr\": {\n          \"op\": \"lookup\",\n          \"table\": \"arrangements\",\n          \"where\": {\n            \"id\": {\n              \"ref\": \"choice.arrangement\"\n            }\n          },\n          \"column\": \"campaignExpenseMinor\"\n        }\n      },\n      {\n        \"id\": \"customerReceipts\",\n        \"type\": \"integer\",\n        \"unit\": \"money\",\n        \"expr\": {\n          \"op\": \"mul\",\n          \"args\": [\n            {\n              \"ref\": \"derived.customers\"\n            },\n            {\n              \"ref\": \"parameter.unitPriceMinor\"\n            }\n          ]\n        }\n      },\n      {\n        \"id\": \"deliveryExpense\",\n        \"type\": \"integer\",\n        \"unit\": \"money\",\n        \"expr\": {\n          \"op\": \"mul\",\n          \"args\": [\n            {\n              \"ref\": \"derived.customers\"\n            },\n            {\n              \"ref\": \"parameter.deliveryExpensePerCustomerMinor\"\n            }\n          ]\n        }\n      },\n      {\n        \"id\": \"totalExpense\",\n        \"type\": \"integer\",\n        \"unit\": \"money\",\n        \"expr\": {\n          \"op\": \"add\",\n          \"args\": [\n            {\n              \"ref\": \"derived.campaignExpense\"\n            },\n            {\n              \"ref\": \"derived.deliveryExpense\"\n            }\n          ]\n        }\n      },\n      {\n        \"id\": \"contributionBeforeCampaign\",\n        \"type\": \"integer\",\n        \"unit\": \"money\",\n        \"expr\": {\n          \"op\": \"sub\",\n          \"args\": [\n            {\n              \"ref\": \"derived.customerReceipts\"\n            },\n            {\n              \"ref\": \"derived.deliveryExpense\"\n            }\n          ]\n        }\n      },\n      {\n        \"id\": \"netContribution\",\n        \"type\": \"integer\",\n        \"unit\": \"money\",\n        \"expr\": {\n          \"op\": \"sub\",\n          \"args\": [\n            {\n              \"ref\": \"derived.contributionBeforeCampaign\"\n            },\n            {\n              \"ref\": \"derived.campaignExpense\"\n            }\n          ]\n        }\n      },\n      {\n        \"id\": \"contributionPerCustomer\",\n        \"type\": \"integer\",\n        \"unit\": \"money\",\n        \"expr\": {\n          \"op\": \"sub\",\n          \"args\": [\n            {\n              \"ref\": \"parameter.unitPriceMinor\"\n            },\n            {\n              \"ref\": \"parameter.deliveryExpensePerCustomerMinor\"\n            }\n          ]\n        }\n      },\n      {\n        \"id\": \"campaignRecoveryTarget\",\n        \"type\": \"integer\",\n        \"unit\": \"money\",\n        \"expr\": {\n          \"op\": \"add\",\n          \"args\": [\n            {\n              \"ref\": \"derived.campaignExpense\"\n            },\n            {\n              \"ref\": \"parameter.campaignSurplusTargetMinor\"\n            }\n          ]\n        }\n      },\n      {\n        \"id\": \"capacityHours\",\n        \"type\": \"integer\",\n        \"unit\": \"hours\",\n        \"expr\": {\n          \"op\": \"mul\",\n          \"args\": [\n            {\n              \"ref\": \"derived.customers\"\n            },\n            {\n              \"ref\": \"parameter.deliveryHoursPerCustomer\"\n            }\n          ]\n        }\n      },\n      {\n        \"id\": \"availableHours\",\n        \"type\": \"integer\",\n        \"unit\": \"hours\",\n        \"expr\": {\n          \"op\": \"lookup\",\n          \"table\": \"capacityPeriods\",\n          \"where\": {\n            \"id\": {\n              \"op\": \"lookup\",\n              \"table\": \"outcomes\",\n              \"where\": {\n                \"scenario\": {\n                  \"ref\": \"scenario.id\"\n                },\n                \"arrangement\": {\n                  \"ref\": \"choice.arrangement\"\n                }\n              },\n              \"column\": \"capacityPeriod\"\n            }\n          },\n          \"column\": \"availableHours\"\n        }\n      },\n      {\n        \"id\": \"capacityHeadroom\",\n        \"type\": \"integer\",\n        \"unit\": \"hours\",\n        \"expr\": {\n          \"op\": \"sub\",\n          \"args\": [\n            {\n              \"ref\": \"derived.availableHours\"\n            },\n            {\n              \"ref\": \"derived.capacityHours\"\n            }\n          ]\n        }\n      },\n      {\n        \"id\": \"campaignExpenseDay\",\n        \"type\": \"integer\",\n        \"unit\": \"time\",\n        \"expr\": {\n          \"op\": \"lookup\",\n          \"table\": \"outcomes\",\n          \"where\": {\n            \"scenario\": {\n              \"ref\": \"scenario.id\"\n            },\n            \"arrangement\": {\n              \"ref\": \"choice.arrangement\"\n            }\n          },\n          \"column\": \"campaignExpenseDay\"\n        }\n      },\n      {\n        \"id\": \"deliveryExpenseDay\",\n        \"type\": \"integer\",\n        \"unit\": \"time\",\n        \"expr\": {\n          \"op\": \"lookup\",\n          \"table\": \"outcomes\",\n          \"where\": {\n            \"scenario\": {\n              \"ref\": \"scenario.id\"\n            },\n            \"arrangement\": {\n              \"ref\": \"choice.arrangement\"\n            }\n          },\n          \"column\": \"deliveryExpenseDay\"\n        }\n      },\n      {\n        \"id\": \"customerReceiptDay\",\n        \"type\": \"integer\",\n        \"unit\": \"time\",\n        \"expr\": {\n          \"op\": \"lookup\",\n          \"table\": \"outcomes\",\n          \"where\": {\n            \"scenario\": {\n              \"ref\": \"scenario.id\"\n            },\n            \"arrangement\": {\n              \"ref\": \"choice.arrangement\"\n            }\n          },\n          \"column\": \"customerReceiptDay\"\n        }\n      },\n      {\n        \"id\": \"deliveryStartDay\",\n        \"type\": \"integer\",\n        \"unit\": \"time\",\n        \"expr\": {\n          \"op\": \"lookup\",\n          \"table\": \"outcomes\",\n          \"where\": {\n            \"scenario\": {\n              \"ref\": \"scenario.id\"\n            },\n            \"arrangement\": {\n              \"ref\": \"choice.arrangement\"\n            }\n          },\n          \"column\": \"deliveryStartDay\"\n        }\n      },\n      {\n        \"id\": \"deliveryFinishDay\",\n        \"type\": \"integer\",\n        \"unit\": \"time\",\n        \"expr\": {\n          \"op\": \"lookup\",\n          \"table\": \"outcomes\",\n          \"where\": {\n            \"scenario\": {\n              \"ref\": \"scenario.id\"\n            },\n            \"arrangement\": {\n              \"ref\": \"choice.arrangement\"\n            }\n          },\n          \"column\": \"deliveryFinishDay\"\n        }\n      },\n      {\n        \"id\": \"cashHeadroom\",\n        \"type\": \"integer\",\n        \"unit\": \"money\",\n        \"expr\": {\n          \"ref\": \"finance.minimumHeadroom\"\n        }\n      },\n      {\n        \"id\": \"peakFundingRequired\",\n        \"type\": \"integer\",\n        \"unit\": \"money\",\n        \"expr\": {\n          \"ref\": \"finance.peakFundingRequired\"\n        }\n      },\n      {\n        \"id\": \"minimumCashBalance\",\n        \"type\": \"integer\",\n        \"unit\": \"money\",\n        \"expr\": {\n          \"ref\": \"finance.lowestBalance\"\n        }\n      },\n      {\n        \"id\": \"endingCashBalance\",\n        \"type\": \"integer\",\n        \"unit\": \"money\",\n        \"expr\": {\n          \"ref\": \"finance.endingBalance\"\n        }\n      }\n    ],\n    \"activities\": [],\n    \"resources\": {\n      \"definitions\": {\n        \"table\": \"_resources\",\n        \"idColumn\": \"id\",\n        \"capacityColumn\": \"capacity\"\n      },\n      \"bookings\": {\n        \"table\": \"_bookings\",\n        \"resourceColumn\": \"resource\",\n        \"startColumn\": \"from\",\n        \"endColumn\": \"through\",\n        \"amountColumn\": \"amount\"\n      }\n    },\n    \"requirements\": [\n      {\n        \"id\": \"CASH\",\n        \"label\": \"Cash and reserve by date\",\n        \"meaning\": \"Every ordered payment and receipt leaves at least the declared reserve.\",\n        \"waivable\": false\n      },\n      {\n        \"id\": \"CAPACITY\",\n        \"label\": \"Delivery-period capacity\",\n        \"meaning\": \"The complete forecast workload fits the available hours and interval of its declared delivery period.\",\n        \"waivable\": false\n      },\n      {\n        \"id\": \"TIME\",\n        \"label\": \"Commitment cutoff and full horizon\",\n        \"meaning\": \"New campaign choices remain available at the planning day and all future obligations fit the comparison horizon.\",\n        \"waivable\": false\n      },\n      {\n        \"id\": \"TERMS\",\n        \"label\": \"Declared customer payment terms\",\n        \"meaning\": \"Receipt dates preserve the published invoice or payment-before-delivery meaning.\",\n        \"waivable\": false\n      },\n      {\n        \"id\": \"BASIS\",\n        \"label\": \"Incremental baseline meaning\",\n        \"meaning\": \"Keeping the current approach adds no campaign expense and no forecast growth customers.\",\n        \"waivable\": false\n      }\n    ],\n    \"constraints\": [\n      {\n        \"id\": \"baseline-expense\",\n        \"requirement\": \"BASIS\",\n        \"kind\": \"predicate\",\n        \"predicate\": {\n          \"op\": \"eq\",\n          \"args\": [\n            {\n              \"op\": \"lookup\",\n              \"table\": \"arrangements\",\n              \"where\": {\n                \"id\": {\n                  \"literal\": \"baseline\"\n                }\n              },\n              \"column\": \"campaignExpenseMinor\"\n            },\n            {\n              \"literal\": 0\n            }\n          ]\n        }\n      },\n      {\n        \"id\": \"baseline-customers\",\n        \"requirement\": \"BASIS\",\n        \"kind\": \"predicate\",\n        \"predicate\": {\n          \"op\": \"or\",\n          \"args\": [\n            {\n              \"op\": \"not\",\n              \"args\": [\n                {\n                  \"op\": \"eq\",\n                  \"args\": [\n                    {\n                      \"ref\": \"choice.arrangement\"\n                    },\n                    {\n                      \"literal\": \"baseline\"\n                    }\n                  ]\n                }\n              ]\n            },\n            {\n              \"op\": \"eq\",\n              \"args\": [\n                {\n                  \"ref\": \"derived.customers\"\n                },\n                {\n                  \"literal\": 0\n                }\n              ]\n            }\n          ]\n        }\n      },\n      {\n        \"id\": \"cash-reserve\",\n        \"requirement\": \"CASH\",\n        \"kind\": \"predicate\",\n        \"predicate\": {\n          \"op\": \"gte\",\n          \"args\": [\n            {\n              \"ref\": \"finance.minimumHeadroom\"\n            },\n            {\n              \"literal\": 0\n            }\n          ]\n        }\n      },\n      {\n        \"id\": \"delivery-capacity\",\n        \"requirement\": \"CAPACITY\",\n        \"kind\": \"predicate\",\n        \"predicate\": {\n          \"op\": \"lte\",\n          \"args\": [\n            {\n              \"ref\": \"derived.capacityHours\"\n            },\n            {\n              \"ref\": \"derived.availableHours\"\n            }\n          ]\n        }\n      },\n      {\n        \"id\": \"delivery-period\",\n        \"requirement\": \"CAPACITY\",\n        \"kind\": \"predicate\",\n        \"predicate\": {\n          \"op\": \"or\",\n          \"args\": [\n            {\n              \"op\": \"eq\",\n              \"args\": [\n                {\n                  \"ref\": \"derived.customers\"\n                },\n                {\n                  \"literal\": 0\n                }\n              ]\n            },\n            {\n              \"op\": \"and\",\n              \"args\": [\n                {\n                  \"op\": \"gte\",\n                  \"args\": [\n                    {\n                      \"ref\": \"derived.deliveryStartDay\"\n                    },\n                    {\n                      \"op\": \"lookup\",\n                      \"table\": \"capacityPeriods\",\n                      \"where\": {\n                        \"id\": {\n                          \"op\": \"lookup\",\n                          \"table\": \"outcomes\",\n                          \"where\": {\n                            \"scenario\": {\n                              \"ref\": \"scenario.id\"\n                            },\n                            \"arrangement\": {\n                              \"ref\": \"choice.arrangement\"\n                            }\n                          },\n                          \"column\": \"capacityPeriod\"\n                        }\n                      },\n                      \"column\": \"from\"\n                    }\n                  ]\n                },\n                {\n                  \"op\": \"lte\",\n                  \"args\": [\n                    {\n                      \"ref\": \"derived.deliveryFinishDay\"\n                    },\n                    {\n                      \"op\": \"lookup\",\n                      \"table\": \"capacityPeriods\",\n                      \"where\": {\n                        \"id\": {\n                          \"op\": \"lookup\",\n                          \"table\": \"outcomes\",\n                          \"where\": {\n                            \"scenario\": {\n                              \"ref\": \"scenario.id\"\n                            },\n                            \"arrangement\": {\n                              \"ref\": \"choice.arrangement\"\n                            }\n                          },\n                          \"column\": \"capacityPeriod\"\n                        }\n                      },\n                      \"column\": \"through\"\n                    }\n                  ]\n                },\n                {\n                  \"op\": \"gt\",\n                  \"args\": [\n                    {\n                      \"ref\": \"derived.deliveryFinishDay\"\n                    },\n                    {\n                      \"ref\": \"derived.deliveryStartDay\"\n                    }\n                  ]\n                }\n              ]\n            }\n          ]\n        }\n      },\n      {\n        \"id\": \"decision-cutoff\",\n        \"requirement\": \"TIME\",\n        \"kind\": \"predicate\",\n        \"predicate\": {\n          \"op\": \"or\",\n          \"args\": [\n            {\n              \"op\": \"eq\",\n              \"args\": [\n                {\n                  \"ref\": \"choice.arrangement\"\n                },\n                {\n                  \"literal\": \"baseline\"\n                }\n              ]\n            },\n            {\n              \"op\": \"lte\",\n              \"args\": [\n                {\n                  \"ref\": \"parameter.currentDay\"\n                },\n                {\n                  \"ref\": \"parameter.decisionDeadlineDay\"\n                }\n              ]\n            }\n          ]\n        }\n      },\n      {\n        \"id\": \"planning-horizon\",\n        \"requirement\": \"TIME\",\n        \"kind\": \"predicate\",\n        \"predicate\": {\n          \"op\": \"and\",\n          \"args\": [\n            {\n              \"op\": \"or\",\n              \"args\": [\n                {\n                  \"op\": \"eq\",\n                  \"args\": [\n                    {\n                      \"ref\": \"derived.campaignExpense\"\n                    },\n                    {\n                      \"literal\": 0\n                    }\n                  ]\n                },\n                {\n                  \"op\": \"lte\",\n                  \"args\": [\n                    {\n                      \"ref\": \"derived.campaignExpenseDay\"\n                    },\n                    {\n                      \"ref\": \"parameter.horizonDay\"\n                    }\n                  ]\n                }\n              ]\n            },\n            {\n              \"op\": \"or\",\n              \"args\": [\n                {\n                  \"op\": \"eq\",\n                  \"args\": [\n                    {\n                      \"ref\": \"derived.deliveryExpense\"\n                    },\n                    {\n                      \"literal\": 0\n                    }\n                  ]\n                },\n                {\n                  \"op\": \"lte\",\n                  \"args\": [\n                    {\n                      \"ref\": \"derived.deliveryExpenseDay\"\n                    },\n                    {\n                      \"ref\": \"parameter.horizonDay\"\n                    }\n                  ]\n                }\n              ]\n            },\n            {\n              \"op\": \"or\",\n              \"args\": [\n                {\n                  \"op\": \"eq\",\n                  \"args\": [\n                    {\n                      \"ref\": \"derived.customerReceipts\"\n                    },\n                    {\n                      \"literal\": 0\n                    }\n                  ]\n                },\n                {\n                  \"op\": \"lte\",\n                  \"args\": [\n                    {\n                      \"ref\": \"derived.customerReceiptDay\"\n                    },\n                    {\n                      \"ref\": \"parameter.horizonDay\"\n                    }\n                  ]\n                }\n              ]\n            },\n            {\n              \"op\": \"or\",\n              \"args\": [\n                {\n                  \"op\": \"eq\",\n                  \"args\": [\n                    {\n                      \"ref\": \"derived.customers\"\n                    },\n                    {\n                      \"literal\": 0\n                    }\n                  ]\n                },\n                {\n                  \"op\": \"lte\",\n                  \"args\": [\n                    {\n                      \"ref\": \"derived.deliveryFinishDay\"\n                    },\n                    {\n                      \"ref\": \"parameter.horizonDay\"\n                    }\n                  ]\n                }\n              ]\n            }\n          ]\n        }\n      },\n      {\n        \"id\": \"future-campaignExpenseDay\",\n        \"requirement\": \"TIME\",\n        \"kind\": \"predicate\",\n        \"predicate\": {\n          \"op\": \"or\",\n          \"args\": [\n            {\n              \"op\": \"eq\",\n              \"args\": [\n                {\n                  \"ref\": \"derived.campaignExpense\"\n                },\n                {\n                  \"literal\": 0\n                }\n              ]\n            },\n            {\n              \"op\": \"gte\",\n              \"args\": [\n                {\n                  \"ref\": \"derived.campaignExpenseDay\"\n                },\n                {\n                  \"ref\": \"parameter.currentDay\"\n                }\n              ]\n            }\n          ]\n        }\n      },\n      {\n        \"id\": \"future-deliveryExpenseDay\",\n        \"requirement\": \"TIME\",\n        \"kind\": \"predicate\",\n        \"predicate\": {\n          \"op\": \"or\",\n          \"args\": [\n            {\n              \"op\": \"eq\",\n              \"args\": [\n                {\n                  \"ref\": \"derived.deliveryExpense\"\n                },\n                {\n                  \"literal\": 0\n                }\n              ]\n            },\n            {\n              \"op\": \"gte\",\n              \"args\": [\n                {\n                  \"ref\": \"derived.deliveryExpenseDay\"\n                },\n                {\n                  \"ref\": \"parameter.currentDay\"\n                }\n              ]\n            }\n          ]\n        }\n      },\n      {\n        \"id\": \"future-customerReceiptDay\",\n        \"requirement\": \"TIME\",\n        \"kind\": \"predicate\",\n        \"predicate\": {\n          \"op\": \"or\",\n          \"args\": [\n            {\n              \"op\": \"eq\",\n              \"args\": [\n                {\n                  \"ref\": \"derived.customerReceipts\"\n                },\n                {\n                  \"literal\": 0\n                }\n              ]\n            },\n            {\n              \"op\": \"gte\",\n              \"args\": [\n                {\n                  \"ref\": \"derived.customerReceiptDay\"\n                },\n                {\n                  \"ref\": \"parameter.currentDay\"\n                }\n              ]\n            }\n          ]\n        }\n      },\n      {\n        \"id\": \"future-delivery\",\n        \"requirement\": \"TIME\",\n        \"kind\": \"predicate\",\n        \"predicate\": {\n          \"op\": \"or\",\n          \"args\": [\n            {\n              \"op\": \"eq\",\n              \"args\": [\n                {\n                  \"ref\": \"derived.customers\"\n                },\n                {\n                  \"literal\": 0\n                }\n              ]\n            },\n            {\n              \"op\": \"gte\",\n              \"args\": [\n                {\n                  \"ref\": \"derived.deliveryStartDay\"\n                },\n                {\n                  \"ref\": \"parameter.currentDay\"\n                }\n              ]\n            }\n          ]\n        }\n      },\n      {\n        \"id\": \"payment-terms\",\n        \"requirement\": \"TERMS\",\n        \"kind\": \"predicate\",\n        \"predicate\": {\n          \"op\": \"or\",\n          \"args\": [\n            {\n              \"op\": \"eq\",\n              \"args\": [\n                {\n                  \"ref\": \"derived.customers\"\n                },\n                {\n                  \"literal\": 0\n                }\n              ]\n            },\n            {\n              \"op\": \"and\",\n              \"args\": [\n                {\n                  \"op\": \"eq\",\n                  \"args\": [\n                    {\n                      \"ref\": \"choice.arrangement\"\n                    },\n                    {\n                      \"literal\": \"medium-prepay\"\n                    }\n                  ]\n                },\n                {\n                  \"op\": \"lte\",\n                  \"args\": [\n                    {\n                      \"ref\": \"derived.customerReceiptDay\"\n                    },\n                    {\n                      \"ref\": \"derived.deliveryStartDay\"\n                    }\n                  ]\n                }\n              ]\n            },\n            {\n              \"op\": \"and\",\n              \"args\": [\n                {\n                  \"op\": \"not\",\n                  \"args\": [\n                    {\n                      \"op\": \"eq\",\n                      \"args\": [\n                        {\n                          \"ref\": \"choice.arrangement\"\n                        },\n                        {\n                          \"literal\": \"medium-prepay\"\n                        }\n                      ]\n                    }\n                  ]\n                },\n                {\n                  \"op\": \"gte\",\n                  \"args\": [\n                    {\n                      \"ref\": \"derived.customerReceiptDay\"\n                    },\n                    {\n                      \"ref\": \"derived.deliveryFinishDay\"\n                    }\n                  ]\n                }\n              ]\n            }\n          ]\n        }\n      }\n    ],\n    \"finance\": {\n      \"mode\": \"cash-flow\",\n      \"charges\": [\n        {\n          \"id\": \"campaign-expense\",\n          \"amount\": {\n            \"ref\": \"derived.campaignExpense\"\n          }\n        },\n        {\n          \"id\": \"delivery-expense\",\n          \"amount\": {\n            \"ref\": \"derived.deliveryExpense\"\n          }\n        }\n      ],\n      \"holds\": [],\n      \"cashFlow\": {\n        \"version\": 1,\n        \"openingBalance\": {\n          \"ref\": \"parameter.openingCashMinor\"\n        },\n        \"minimumBalance\": {\n          \"ref\": \"parameter.minimumReserveMinor\"\n        },\n        \"events\": [\n          {\n            \"id\": \"campaign-payment\",\n            \"direction\": \"payment\",\n            \"amount\": {\n              \"ref\": \"derived.campaignExpense\"\n            },\n            \"at\": {\n              \"ref\": \"derived.campaignExpenseDay\"\n            },\n            \"order\": 0\n          },\n          {\n            \"id\": \"delivery-payment\",\n            \"direction\": \"payment\",\n            \"amount\": {\n              \"ref\": \"derived.deliveryExpense\"\n            },\n            \"at\": {\n              \"ref\": \"derived.deliveryExpenseDay\"\n            },\n            \"order\": 1\n          },\n          {\n            \"id\": \"customer-receipt\",\n            \"direction\": \"receipt\",\n            \"amount\": {\n              \"ref\": \"derived.customerReceipts\"\n            },\n            \"at\": {\n              \"ref\": \"derived.customerReceiptDay\"\n            },\n            \"order\": 2\n          }\n        ]\n      }\n    },\n    \"preference\": {\n      \"mode\": \"feasibility-only\"\n    },\n    \"labels\": {\n      \"plan\": \"Complete growth arrangement\",\n      \"actor\": \"Delivery team\",\n      \"scenario\": \"Demand and collection situation\",\n      \"financeExpense\": \"Campaign and delivery expense\",\n      \"choice.arrangement\": \"Growth arrangement\",\n      \"view.finance.title\": \"Cash and expense\",\n      \"view.cashFlow.title\": \"Cash by date\",\n      \"charge.campaign-expense\": \"Committed campaign expense\",\n      \"charge.delivery-expense\": \"Delivery expense\",\n      \"cash-event.campaign-payment\": \"Pay the committed campaign expense\",\n      \"cash-event.delivery-payment\": \"Pay delivery expense\",\n      \"cash-event.customer-receipt\": \"Receive customer payment\",\n      \"constraint.baseline-expense\": \"Keep the current-approach alternative free of incremental campaign expense\",\n      \"constraint.baseline-customers\": \"Keep the current-approach alternative free of forecast incremental customers\",\n      \"constraint.cash-reserve\": \"Keep available cash at or above the required reserve after every receipt and payment\",\n      \"constraint.delivery-capacity\": \"The complete customer workload fits the recorded delivery-period capacity\",\n      \"constraint.delivery-period\": \"The complete delivery interval fits its declared capacity period\",\n      \"constraint.decision-cutoff\": \"Choose a new campaign before the recorded commitment cutoff\",\n      \"constraint.planning-horizon\": \"The comparison horizon includes every nonzero payment, customer receipt and actual delivery completion\",\n      \"constraint.future-campaignExpenseDay\": \"The campaign expense day has not already passed when making this future commitment\",\n      \"constraint.future-deliveryExpenseDay\": \"The delivery expense day has not already passed when making this future commitment\",\n      \"constraint.future-customerReceiptDay\": \"The customer receipt day has not already passed when making this future commitment\",\n      \"constraint.future-delivery\": \"Forecast delivery starts no earlier than the planning day\",\n      \"constraint.payment-terms\": \"Customer receipt timing retains the authored invoice or payment-before-delivery terms\",\n      \"choice.arrangement.baseline\": \"Keep the current approach\",\n      \"choice.arrangement.large-invoice\": \"Large campaign with invoiced payment\",\n      \"choice.arrangement.small-invoice\": \"Small campaign with invoiced payment\",\n      \"choice.arrangement.medium-prepay\": \"Medium campaign with payment before delivery\"\n    },\n    \"metadata\": {\n      \"caseStart\": {\n        \"starterMeaning\": \"example\",\n        \"supportsOwnData\": false,\n        \"scope\": \"Four authored arrangements for one standard service package. Change prices, committed campaign quotes, joint customer and collection forecasts, available cash, reserve and delivery-period capacity. A different service structure, installment contract or refund process needs an authored extension.\"\n      },\n      \"catalog\": {\n        \"domain\": {\n          \"id\": \"business-growth\",\n          \"label\": \"Business growth\",\n          \"description\": \"Bounded growth commitments, operating capacity and the value of further learning.\"\n        },\n        \"useCase\": {\n          \"id\": \"growth-commitment\",\n          \"label\": \"Choose next month’s growth commitment\",\n          \"description\": \"Find which supplied growth arrangements can be funded and delivered, then inspect what their spending must achieve.\"\n        }\n      },\n      \"decisionPresentation\": {\n        \"format\": \"decision-presentation/1\",\n        \"title\": \"Compare growth commitments\",\n        \"question\": \"Which arrangements can we fund and deliver?\",\n        \"priorityLabel\": \"Compare without ranking\",\n        \"moneyFormat\": {\n          \"currency\": \"USD\",\n          \"divisor\": 100\n        },\n        \"columns\": [\n          {\n            \"id\": \"plan\",\n            \"label\": \"Growth arrangement\"\n          },\n          {\n            \"id\": \"status\",\n            \"label\": \"Operating fit\"\n          },\n          {\n            \"id\": \"cashHeadroom\",\n            \"source\": {\n              \"kind\": \"derived\",\n              \"id\": \"cashHeadroom\"\n            },\n            \"label\": \"Lowest cash headroom\",\n            \"format\": {\n              \"kind\": \"money\",\n              \"currency\": \"USD\",\n              \"divisor\": 100\n            }\n          },\n          {\n            \"id\": \"capacityHeadroom\",\n            \"source\": {\n              \"kind\": \"derived\",\n              \"id\": \"capacityHeadroom\"\n            },\n            \"label\": \"Delivery headroom (hours)\",\n            \"format\": {\n              \"kind\": \"number\"\n            }\n          },\n          {\n            \"id\": \"blockers\",\n            \"label\": \"Blocking conditions\"\n          }\n        ],\n        \"charts\": [\n          {\n            \"viewId\": \"commitment:cash-flow\",\n            \"defaultRepresentation\": \"line\"\n          }\n        ]\n      }\n    }\n  },\n  \"case\": {\n    \"id\": \"next-month-growth\",\n    \"parameters\": {\n      \"openingCashMinor\": 1200000,\n      \"minimumReserveMinor\": 0,\n      \"unitPriceMinor\": 150000,\n      \"deliveryExpensePerCustomerMinor\": 50000,\n      \"deliveryHoursPerCustomer\": 5,\n      \"currentDay\": 0,\n      \"decisionDeadlineDay\": 3,\n      \"horizonDay\": 60,\n      \"campaignSurplusTargetMinor\": 0\n    },\n    \"tables\": {\n      \"arrangements\": [\n        {\n          \"id\": \"baseline\",\n          \"campaignExpenseMinor\": 0\n        },\n        {\n          \"id\": \"large-invoice\",\n          \"campaignExpenseMinor\": 800000\n        },\n        {\n          \"id\": \"small-invoice\",\n          \"campaignExpenseMinor\": 200000\n        },\n        {\n          \"id\": \"medium-prepay\",\n          \"campaignExpenseMinor\": 400000\n        }\n      ],\n      \"scenarios\": [\n        {\n          \"id\": \"recorded\",\n          \"label\": \"Recorded planning estimates\"\n        }\n      ],\n      \"outcomes\": [\n        {\n          \"scenario\": \"recorded\",\n          \"arrangement\": \"baseline\",\n          \"customers\": 0,\n          \"campaignExpenseDay\": 0,\n          \"deliveryExpenseDay\": 0,\n          \"customerReceiptDay\": 0,\n          \"deliveryStartDay\": 0,\n          \"deliveryFinishDay\": 0,\n          \"capacityPeriod\": \"delivery-period\"\n        },\n        {\n          \"scenario\": \"recorded\",\n          \"arrangement\": \"large-invoice\",\n          \"customers\": 40,\n          \"campaignExpenseDay\": 3,\n          \"deliveryExpenseDay\": 7,\n          \"customerReceiptDay\": 30,\n          \"deliveryStartDay\": 7,\n          \"deliveryFinishDay\": 14,\n          \"capacityPeriod\": \"delivery-period\"\n        },\n        {\n          \"scenario\": \"recorded\",\n          \"arrangement\": \"small-invoice\",\n          \"customers\": 10,\n          \"campaignExpenseDay\": 3,\n          \"deliveryExpenseDay\": 7,\n          \"customerReceiptDay\": 30,\n          \"deliveryStartDay\": 7,\n          \"deliveryFinishDay\": 14,\n          \"capacityPeriod\": \"delivery-period\"\n        },\n        {\n          \"scenario\": \"recorded\",\n          \"arrangement\": \"medium-prepay\",\n          \"customers\": 20,\n          \"campaignExpenseDay\": 3,\n          \"deliveryExpenseDay\": 7,\n          \"customerReceiptDay\": 4,\n          \"deliveryStartDay\": 7,\n          \"deliveryFinishDay\": 14,\n          \"capacityPeriod\": \"delivery-period\"\n        }\n      ],\n      \"capacityPeriods\": [\n        {\n          \"id\": \"delivery-period\",\n          \"from\": 0,\n          \"through\": 30,\n          \"availableHours\": 140\n        }\n      ],\n      \"_resources\": [],\n      \"_bookings\": []\n    },\n    \"provenance\": [\n      {\n        \"id\": \"fictional-growth-basis\",\n        \"description\": \"Fictional incremental planning estimates. Opening cash is already unrestricted growth funding after existing obligations; those obligations are not deducted a second time. Customer forecasts and payment promises are assumptions, not guaranteed sales or bank receipts.\"\n      }\n    ]\n  }\n}\n",
            "sourceHash": "5b757f7a423ec1bbbc7d672889a5dc6467e9a25a7562a70b5371483f55e6f4b9",
            "definitionHash": "681928cdfc0f220a5a206dfbabd76b2bb410406cbba7afc4fbbff0dae9831972",
            "definitionContract": {
              "id": "complete-a-commitment",
              "version": "1.0.0",
              "evaluator": "bounded-static-commitment/1",
              "title": "Complete a commitment",
              "responsibility": "Find one complete static operating choice that satisfies every mandatory obligation across every explicitly admitted joint scenario, then compare feasible choices.",
              "invariants": [
                "Choices are finite, input-only controls. One complete assignment is shared across every admitted scenario and obligation.",
                "Admitted joint scenarios are explicit facts; neither independence, probabilities nor unlisted scenarios are inferred.",
                "An empty admitted basis is inconsistent, never a vacuous feasibility result.",
                "Typed acyclic expressions separate static controls, scenario consequences and post-scenario preference aggregates.",
                "Activities, calendars, bookings and permission validity use half-open intervals; adjacent intervals do not overlap.",
                "Capacity is the sum of simultaneous renewable demands. A scoped grant must cover its entire required operation.",
                "Expense sums nonrefundable charges. Refundable holds affect cash only; simultaneous cash events are netted before peak cash is measured.",
                "Every mandatory condition must pass for the same choice in every admitted scenario. Preference cannot compensate for failure.",
                "Ranking is lexicographic over feasible choices only; genuine ties are retained and identifiers only stabilize display order.",
                "A fully checked witness establishes existence during partial search. No-plan and optimality claims require complete relevant coverage.",
                "Missing data, unresolved lookups, unsafe arithmetic and unsupported declarations are invalid input, never invented facts.",
                "Calculated feasibility is conditional on accepted facts and fixed assumptions, not permission, reservation or evidence of actual completion."
              ],
              "expressionLanguage": {
                "id": "typed-static-commitment-expressions/1",
                "literals": "Finite scalar or homogeneous scalar-array data; no executable code.",
                "references": [
                  "parameter",
                  "choice",
                  "scenario",
                  "derived",
                  "activity",
                  "finance",
                  "row (inside exists.test)"
                ],
                "operators": {
                  "eq": "Two compatible scalars -> boolean",
                  "ne": "Two compatible scalars -> boolean",
                  "lt": "Two compatible numbers -> boolean",
                  "lte": "Two compatible numbers -> boolean",
                  "gt": "Two compatible numbers -> boolean",
                  "gte": "Two compatible numbers -> boolean",
                  "add": "At least two compatible numbers -> number",
                  "sub": "Two compatible numbers -> number",
                  "mul": "Two numbers with at most one dimensional operand -> number; count is a multiplicity",
                  "and": "At least two booleans -> boolean",
                  "or": "At least two booleans -> boolean",
                  "not": "One boolean -> boolean",
                  "in": "Scalar and compatible scalar-array -> boolean",
                  "lookup": "Complete primary-key binding in a typed input table -> exactly one selected scalar; missing or ambiguous lookup is invalid",
                  "exists": "Typed equality bindings plus optional row-scoped predicate -> boolean; no match is false",
                  "interval-covered": "Typed selected calendar rows and a positive half-open interval -> boolean; adjacent coverage may combine",
                  "worst-case": "Numeric expression -> maximum across admitted scenarios for preference only; nested or unreduced scenario aggregates are invalid"
                }
              }
            },
            "model": {
              "format": "complete-a-commitment/1",
              "module": {
                "id": "growth-commitment",
                "version": "1.0.0",
                "template": {
                  "id": "complete-a-commitment",
                  "version": 1
                },
                "title": "Compare growth arrangements",
                "question": "Which growth commitments can we fund and deliver under the declared demand and collection situations?",
                "description": "Compare a current-approach baseline and three complete growth arrangements against cash by date, a required reserve, delivery capacity and a commitment cutoff. Forecast customer counts are uncertain situations, not controllable sales or probabilities. A passing arrangement is operationally supportable under these inputs; no most-profitable option is selected.",
                "units": {
                  "time": "day",
                  "timeOrigin": "elapsed whole days from the declared growth-planning origin",
                  "money": "USD cent",
                  "count": "customer",
                  "hours": "hour"
                },
                "assumptions": [
                  "This is an incremental growth calculation for one standard service package. Opening cash is already unrestricted growth funding after existing obligations; do not deduct those obligations again. The minimum reserve is an additional balance that must remain available.",
                  "Each arrangement has a fixed committed campaign expense that remains payable when sales disappoint. Forecast customer counts determine delivery expense, receipts and workload. Costs are not automatically inferred from customer-acquisition ratios.",
                  "Every declared situation supplies a complete joint forecast for all alternatives. Passing requires meeting every retained requirement in every declared situation; no probability of success or guarantee of customer demand is inferred.",
                  "Cash uses explicit elapsed days and ordered atomic events. On the same day, campaign payment occurs first, delivery payment second, and customer receipt third. A later receipt cannot fund an earlier payment. Customer receipts are not treated as negative expenses or returned deposits.",
                  "The payment-before-delivery alternative receives its complete customer price no later than delivery starts. Invoice alternatives collect no earlier than delivery finishes. The model assumes full receipt on each declared collection date; bad debt, refunds, tax and recognition rules require an authored extension.",
                  "Capacity is available incremental hours in the explicitly identified delivery period. All customer work fits inside that period. The model does not spread work across periods, infer staffing from elapsed time, or solve a detailed task schedule.",
                  "The comparison horizon must contain every payment, receipt and delivery completion. A multi-period contract needs its complete obligations inside this model or a new authored profile; its first month cannot stand for the whole commitment.",
                  "The baseline represents no incremental campaign and no incremental customers. Its zero cash events are harmless placeholders. Feasibility-only comparison neither recommends a growth target nor estimates campaign effectiveness or causal impact."
                ],
                "inputs": {
                  "parameters": {
                    "openingCashMinor": {
                      "type": "integer",
                      "unit": "money",
                      "minimum": 0
                    },
                    "minimumReserveMinor": {
                      "type": "integer",
                      "unit": "money",
                      "minimum": 0
                    },
                    "unitPriceMinor": {
                      "type": "integer",
                      "unit": "money",
                      "minimum": 0
                    },
                    "deliveryExpensePerCustomerMinor": {
                      "type": "integer",
                      "unit": "money",
                      "minimum": 0
                    },
                    "deliveryHoursPerCustomer": {
                      "type": "integer",
                      "unit": "hours",
                      "minimum": 1
                    },
                    "currentDay": {
                      "type": "integer",
                      "unit": "time",
                      "minimum": 0
                    },
                    "decisionDeadlineDay": {
                      "type": "integer",
                      "unit": "time",
                      "minimum": 0
                    },
                    "horizonDay": {
                      "type": "integer",
                      "unit": "time",
                      "minimum": 1
                    },
                    "campaignSurplusTargetMinor": {
                      "type": "integer",
                      "unit": "money",
                      "minimum": 0
                    }
                  },
                  "tables": {
                    "arrangements": {
                      "key": [
                        "id"
                      ],
                      "columns": {
                        "id": {
                          "type": "string",
                          "enum": [
                            "baseline",
                            "large-invoice",
                            "small-invoice",
                            "medium-prepay"
                          ]
                        },
                        "campaignExpenseMinor": {
                          "type": "integer",
                          "unit": "money",
                          "minimum": 0
                        }
                      }
                    },
                    "scenarios": {
                      "key": [
                        "id"
                      ],
                      "columns": {
                        "id": {
                          "type": "string"
                        },
                        "label": {
                          "type": "string"
                        }
                      }
                    },
                    "outcomes": {
                      "key": [
                        "scenario",
                        "arrangement"
                      ],
                      "columns": {
                        "scenario": {
                          "type": "string",
                          "references": {
                            "table": "scenarios",
                            "column": "id"
                          }
                        },
                        "arrangement": {
                          "type": "string",
                          "enum": [
                            "baseline",
                            "large-invoice",
                            "small-invoice",
                            "medium-prepay"
                          ]
                        },
                        "customers": {
                          "type": "integer",
                          "unit": "count",
                          "minimum": 0
                        },
                        "campaignExpenseDay": {
                          "type": "integer",
                          "unit": "time",
                          "minimum": 0
                        },
                        "deliveryExpenseDay": {
                          "type": "integer",
                          "unit": "time",
                          "minimum": 0
                        },
                        "customerReceiptDay": {
                          "type": "integer",
                          "unit": "time",
                          "minimum": 0
                        },
                        "deliveryStartDay": {
                          "type": "integer",
                          "unit": "time",
                          "minimum": 0
                        },
                        "deliveryFinishDay": {
                          "type": "integer",
                          "unit": "time",
                          "minimum": 0
                        },
                        "capacityPeriod": {
                          "type": "string",
                          "references": {
                            "table": "capacityPeriods",
                            "column": "id"
                          }
                        }
                      }
                    },
                    "capacityPeriods": {
                      "key": [
                        "id"
                      ],
                      "columns": {
                        "id": {
                          "type": "string"
                        },
                        "from": {
                          "type": "integer",
                          "unit": "time",
                          "minimum": 0
                        },
                        "through": {
                          "type": "integer",
                          "unit": "time",
                          "minimum": 0
                        },
                        "availableHours": {
                          "type": "integer",
                          "unit": "hours",
                          "minimum": 0
                        }
                      }
                    },
                    "_resources": {
                      "key": [
                        "id"
                      ],
                      "columns": {
                        "id": {
                          "type": "string"
                        },
                        "capacity": {
                          "type": "integer",
                          "unit": "count",
                          "minimum": 0
                        }
                      }
                    },
                    "_bookings": {
                      "key": [
                        "id"
                      ],
                      "columns": {
                        "id": {
                          "type": "string"
                        },
                        "resource": {
                          "type": "string"
                        },
                        "from": {
                          "type": "integer",
                          "unit": "time",
                          "minimum": 0
                        },
                        "through": {
                          "type": "integer",
                          "unit": "time",
                          "minimum": 0
                        },
                        "amount": {
                          "type": "integer",
                          "unit": "count",
                          "minimum": 0
                        }
                      }
                    }
                  }
                },
                "choices": [
                  {
                    "id": "arrangement",
                    "domain": {
                      "values": [
                        "baseline",
                        "large-invoice",
                        "small-invoice",
                        "medium-prepay"
                      ]
                    }
                  }
                ],
                "scenarioDomain": {
                  "table": "scenarios"
                },
                "lookupCoverage": [
                  {
                    "table": "arrangements",
                    "keys": {
                      "id": {
                        "domain": {
                          "values": [
                            "baseline",
                            "large-invoice",
                            "small-invoice",
                            "medium-prepay"
                          ]
                        }
                      }
                    }
                  },
                  {
                    "table": "outcomes",
                    "keys": {
                      "scenario": {
                        "domain": {
                          "table": "scenarios",
                          "column": "id"
                        }
                      },
                      "arrangement": {
                        "domain": {
                          "values": [
                            "baseline",
                            "large-invoice",
                            "small-invoice",
                            "medium-prepay"
                          ]
                        }
                      }
                    }
                  }
                ],
                "derived": [
                  {
                    "id": "customers",
                    "type": "integer",
                    "unit": "count",
                    "expr": {
                      "op": "lookup",
                      "table": "outcomes",
                      "where": {
                        "scenario": {
                          "ref": "scenario.id"
                        },
                        "arrangement": {
                          "ref": "choice.arrangement"
                        }
                      },
                      "column": "customers"
                    }
                  },
                  {
                    "id": "campaignExpense",
                    "type": "integer",
                    "unit": "money",
                    "expr": {
                      "op": "lookup",
                      "table": "arrangements",
                      "where": {
                        "id": {
                          "ref": "choice.arrangement"
                        }
                      },
                      "column": "campaignExpenseMinor"
                    }
                  },
                  {
                    "id": "customerReceipts",
                    "type": "integer",
                    "unit": "money",
                    "expr": {
                      "op": "mul",
                      "args": [
                        {
                          "ref": "derived.customers"
                        },
                        {
                          "ref": "parameter.unitPriceMinor"
                        }
                      ]
                    }
                  },
                  {
                    "id": "deliveryExpense",
                    "type": "integer",
                    "unit": "money",
                    "expr": {
                      "op": "mul",
                      "args": [
                        {
                          "ref": "derived.customers"
                        },
                        {
                          "ref": "parameter.deliveryExpensePerCustomerMinor"
                        }
                      ]
                    }
                  },
                  {
                    "id": "totalExpense",
                    "type": "integer",
                    "unit": "money",
                    "expr": {
                      "op": "add",
                      "args": [
                        {
                          "ref": "derived.campaignExpense"
                        },
                        {
                          "ref": "derived.deliveryExpense"
                        }
                      ]
                    }
                  },
                  {
                    "id": "contributionBeforeCampaign",
                    "type": "integer",
                    "unit": "money",
                    "expr": {
                      "op": "sub",
                      "args": [
                        {
                          "ref": "derived.customerReceipts"
                        },
                        {
                          "ref": "derived.deliveryExpense"
                        }
                      ]
                    }
                  },
                  {
                    "id": "netContribution",
                    "type": "integer",
                    "unit": "money",
                    "expr": {
                      "op": "sub",
                      "args": [
                        {
                          "ref": "derived.contributionBeforeCampaign"
                        },
                        {
                          "ref": "derived.campaignExpense"
                        }
                      ]
                    }
                  },
                  {
                    "id": "contributionPerCustomer",
                    "type": "integer",
                    "unit": "money",
                    "expr": {
                      "op": "sub",
                      "args": [
                        {
                          "ref": "parameter.unitPriceMinor"
                        },
                        {
                          "ref": "parameter.deliveryExpensePerCustomerMinor"
                        }
                      ]
                    }
                  },
                  {
                    "id": "campaignRecoveryTarget",
                    "type": "integer",
                    "unit": "money",
                    "expr": {
                      "op": "add",
                      "args": [
                        {
                          "ref": "derived.campaignExpense"
                        },
                        {
                          "ref": "parameter.campaignSurplusTargetMinor"
                        }
                      ]
                    }
                  },
                  {
                    "id": "capacityHours",
                    "type": "integer",
                    "unit": "hours",
                    "expr": {
                      "op": "mul",
                      "args": [
                        {
                          "ref": "derived.customers"
                        },
                        {
                          "ref": "parameter.deliveryHoursPerCustomer"
                        }
                      ]
                    }
                  },
                  {
                    "id": "availableHours",
                    "type": "integer",
                    "unit": "hours",
                    "expr": {
                      "op": "lookup",
                      "table": "capacityPeriods",
                      "where": {
                        "id": {
                          "op": "lookup",
                          "table": "outcomes",
                          "where": {
                            "scenario": {
                              "ref": "scenario.id"
                            },
                            "arrangement": {
                              "ref": "choice.arrangement"
                            }
                          },
                          "column": "capacityPeriod"
                        }
                      },
                      "column": "availableHours"
                    }
                  },
                  {
                    "id": "capacityHeadroom",
                    "type": "integer",
                    "unit": "hours",
                    "expr": {
                      "op": "sub",
                      "args": [
                        {
                          "ref": "derived.availableHours"
                        },
                        {
                          "ref": "derived.capacityHours"
                        }
                      ]
                    }
                  },
                  {
                    "id": "campaignExpenseDay",
                    "type": "integer",
                    "unit": "time",
                    "expr": {
                      "op": "lookup",
                      "table": "outcomes",
                      "where": {
                        "scenario": {
                          "ref": "scenario.id"
                        },
                        "arrangement": {
                          "ref": "choice.arrangement"
                        }
                      },
                      "column": "campaignExpenseDay"
                    }
                  },
                  {
                    "id": "deliveryExpenseDay",
                    "type": "integer",
                    "unit": "time",
                    "expr": {
                      "op": "lookup",
                      "table": "outcomes",
                      "where": {
                        "scenario": {
                          "ref": "scenario.id"
                        },
                        "arrangement": {
                          "ref": "choice.arrangement"
                        }
                      },
                      "column": "deliveryExpenseDay"
                    }
                  },
                  {
                    "id": "customerReceiptDay",
                    "type": "integer",
                    "unit": "time",
                    "expr": {
                      "op": "lookup",
                      "table": "outcomes",
                      "where": {
                        "scenario": {
                          "ref": "scenario.id"
                        },
                        "arrangement": {
                          "ref": "choice.arrangement"
                        }
                      },
                      "column": "customerReceiptDay"
                    }
                  },
                  {
                    "id": "deliveryStartDay",
                    "type": "integer",
                    "unit": "time",
                    "expr": {
                      "op": "lookup",
                      "table": "outcomes",
                      "where": {
                        "scenario": {
                          "ref": "scenario.id"
                        },
                        "arrangement": {
                          "ref": "choice.arrangement"
                        }
                      },
                      "column": "deliveryStartDay"
                    }
                  },
                  {
                    "id": "deliveryFinishDay",
                    "type": "integer",
                    "unit": "time",
                    "expr": {
                      "op": "lookup",
                      "table": "outcomes",
                      "where": {
                        "scenario": {
                          "ref": "scenario.id"
                        },
                        "arrangement": {
                          "ref": "choice.arrangement"
                        }
                      },
                      "column": "deliveryFinishDay"
                    }
                  },
                  {
                    "id": "cashHeadroom",
                    "type": "integer",
                    "unit": "money",
                    "expr": {
                      "ref": "finance.minimumHeadroom"
                    }
                  },
                  {
                    "id": "peakFundingRequired",
                    "type": "integer",
                    "unit": "money",
                    "expr": {
                      "ref": "finance.peakFundingRequired"
                    }
                  },
                  {
                    "id": "minimumCashBalance",
                    "type": "integer",
                    "unit": "money",
                    "expr": {
                      "ref": "finance.lowestBalance"
                    }
                  },
                  {
                    "id": "endingCashBalance",
                    "type": "integer",
                    "unit": "money",
                    "expr": {
                      "ref": "finance.endingBalance"
                    }
                  }
                ],
                "activities": [],
                "resources": {
                  "definitions": {
                    "table": "_resources",
                    "idColumn": "id",
                    "capacityColumn": "capacity"
                  },
                  "bookings": {
                    "table": "_bookings",
                    "resourceColumn": "resource",
                    "startColumn": "from",
                    "endColumn": "through",
                    "amountColumn": "amount"
                  }
                },
                "requirements": [
                  {
                    "id": "CASH",
                    "label": "Cash and reserve by date",
                    "meaning": "Every ordered payment and receipt leaves at least the declared reserve.",
                    "waivable": false
                  },
                  {
                    "id": "CAPACITY",
                    "label": "Delivery-period capacity",
                    "meaning": "The complete forecast workload fits the available hours and interval of its declared delivery period.",
                    "waivable": false
                  },
                  {
                    "id": "TIME",
                    "label": "Commitment cutoff and full horizon",
                    "meaning": "New campaign choices remain available at the planning day and all future obligations fit the comparison horizon.",
                    "waivable": false
                  },
                  {
                    "id": "TERMS",
                    "label": "Declared customer payment terms",
                    "meaning": "Receipt dates preserve the published invoice or payment-before-delivery meaning.",
                    "waivable": false
                  },
                  {
                    "id": "BASIS",
                    "label": "Incremental baseline meaning",
                    "meaning": "Keeping the current approach adds no campaign expense and no forecast growth customers.",
                    "waivable": false
                  }
                ],
                "constraints": [
                  {
                    "id": "baseline-expense",
                    "requirement": "BASIS",
                    "kind": "predicate",
                    "predicate": {
                      "op": "eq",
                      "args": [
                        {
                          "op": "lookup",
                          "table": "arrangements",
                          "where": {
                            "id": {
                              "literal": "baseline"
                            }
                          },
                          "column": "campaignExpenseMinor"
                        },
                        {
                          "literal": 0
                        }
                      ]
                    }
                  },
                  {
                    "id": "baseline-customers",
                    "requirement": "BASIS",
                    "kind": "predicate",
                    "predicate": {
                      "op": "or",
                      "args": [
                        {
                          "op": "not",
                          "args": [
                            {
                              "op": "eq",
                              "args": [
                                {
                                  "ref": "choice.arrangement"
                                },
                                {
                                  "literal": "baseline"
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "op": "eq",
                          "args": [
                            {
                              "ref": "derived.customers"
                            },
                            {
                              "literal": 0
                            }
                          ]
                        }
                      ]
                    }
                  },
                  {
                    "id": "cash-reserve",
                    "requirement": "CASH",
                    "kind": "predicate",
                    "predicate": {
                      "op": "gte",
                      "args": [
                        {
                          "ref": "finance.minimumHeadroom"
                        },
                        {
                          "literal": 0
                        }
                      ]
                    }
                  },
                  {
                    "id": "delivery-capacity",
                    "requirement": "CAPACITY",
                    "kind": "predicate",
                    "predicate": {
                      "op": "lte",
                      "args": [
                        {
                          "ref": "derived.capacityHours"
                        },
                        {
                          "ref": "derived.availableHours"
                        }
                      ]
                    }
                  },
                  {
                    "id": "delivery-period",
                    "requirement": "CAPACITY",
                    "kind": "predicate",
                    "predicate": {
                      "op": "or",
                      "args": [
                        {
                          "op": "eq",
                          "args": [
                            {
                              "ref": "derived.customers"
                            },
                            {
                              "literal": 0
                            }
                          ]
                        },
                        {
                          "op": "and",
                          "args": [
                            {
                              "op": "gte",
                              "args": [
                                {
                                  "ref": "derived.deliveryStartDay"
                                },
                                {
                                  "op": "lookup",
                                  "table": "capacityPeriods",
                                  "where": {
                                    "id": {
                                      "op": "lookup",
                                      "table": "outcomes",
                                      "where": {
                                        "scenario": {
                                          "ref": "scenario.id"
                                        },
                                        "arrangement": {
                                          "ref": "choice.arrangement"
                                        }
                                      },
                                      "column": "capacityPeriod"
                                    }
                                  },
                                  "column": "from"
                                }
                              ]
                            },
                            {
                              "op": "lte",
                              "args": [
                                {
                                  "ref": "derived.deliveryFinishDay"
                                },
                                {
                                  "op": "lookup",
                                  "table": "capacityPeriods",
                                  "where": {
                                    "id": {
                                      "op": "lookup",
                                      "table": "outcomes",
                                      "where": {
                                        "scenario": {
                                          "ref": "scenario.id"
                                        },
                                        "arrangement": {
                                          "ref": "choice.arrangement"
                                        }
                                      },
                                      "column": "capacityPeriod"
                                    }
                                  },
                                  "column": "through"
                                }
                              ]
                            },
                            {
                              "op": "gt",
                              "args": [
                                {
                                  "ref": "derived.deliveryFinishDay"
                                },
                                {
                                  "ref": "derived.deliveryStartDay"
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  },
                  {
                    "id": "decision-cutoff",
                    "requirement": "TIME",
                    "kind": "predicate",
                    "predicate": {
                      "op": "or",
                      "args": [
                        {
                          "op": "eq",
                          "args": [
                            {
                              "ref": "choice.arrangement"
                            },
                            {
                              "literal": "baseline"
                            }
                          ]
                        },
                        {
                          "op": "lte",
                          "args": [
                            {
                              "ref": "parameter.currentDay"
                            },
                            {
                              "ref": "parameter.decisionDeadlineDay"
                            }
                          ]
                        }
                      ]
                    }
                  },
                  {
                    "id": "planning-horizon",
                    "requirement": "TIME",
                    "kind": "predicate",
                    "predicate": {
                      "op": "and",
                      "args": [
                        {
                          "op": "or",
                          "args": [
                            {
                              "op": "eq",
                              "args": [
                                {
                                  "ref": "derived.campaignExpense"
                                },
                                {
                                  "literal": 0
                                }
                              ]
                            },
                            {
                              "op": "lte",
                              "args": [
                                {
                                  "ref": "derived.campaignExpenseDay"
                                },
                                {
                                  "ref": "parameter.horizonDay"
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "op": "or",
                          "args": [
                            {
                              "op": "eq",
                              "args": [
                                {
                                  "ref": "derived.deliveryExpense"
                                },
                                {
                                  "literal": 0
                                }
                              ]
                            },
                            {
                              "op": "lte",
                              "args": [
                                {
                                  "ref": "derived.deliveryExpenseDay"
                                },
                                {
                                  "ref": "parameter.horizonDay"
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "op": "or",
                          "args": [
                            {
                              "op": "eq",
                              "args": [
                                {
                                  "ref": "derived.customerReceipts"
                                },
                                {
                                  "literal": 0
                                }
                              ]
                            },
                            {
                              "op": "lte",
                              "args": [
                                {
                                  "ref": "derived.customerReceiptDay"
                                },
                                {
                                  "ref": "parameter.horizonDay"
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "op": "or",
                          "args": [
                            {
                              "op": "eq",
                              "args": [
                                {
                                  "ref": "derived.customers"
                                },
                                {
                                  "literal": 0
                                }
                              ]
                            },
                            {
                              "op": "lte",
                              "args": [
                                {
                                  "ref": "derived.deliveryFinishDay"
                                },
                                {
                                  "ref": "parameter.horizonDay"
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  },
                  {
                    "id": "future-campaignExpenseDay",
                    "requirement": "TIME",
                    "kind": "predicate",
                    "predicate": {
                      "op": "or",
                      "args": [
                        {
                          "op": "eq",
                          "args": [
                            {
                              "ref": "derived.campaignExpense"
                            },
                            {
                              "literal": 0
                            }
                          ]
                        },
                        {
                          "op": "gte",
                          "args": [
                            {
                              "ref": "derived.campaignExpenseDay"
                            },
                            {
                              "ref": "parameter.currentDay"
                            }
                          ]
                        }
                      ]
                    }
                  },
                  {
                    "id": "future-deliveryExpenseDay",
                    "requirement": "TIME",
                    "kind": "predicate",
                    "predicate": {
                      "op": "or",
                      "args": [
                        {
                          "op": "eq",
                          "args": [
                            {
                              "ref": "derived.deliveryExpense"
                            },
                            {
                              "literal": 0
                            }
                          ]
                        },
                        {
                          "op": "gte",
                          "args": [
                            {
                              "ref": "derived.deliveryExpenseDay"
                            },
                            {
                              "ref": "parameter.currentDay"
                            }
                          ]
                        }
                      ]
                    }
                  },
                  {
                    "id": "future-customerReceiptDay",
                    "requirement": "TIME",
                    "kind": "predicate",
                    "predicate": {
                      "op": "or",
                      "args": [
                        {
                          "op": "eq",
                          "args": [
                            {
                              "ref": "derived.customerReceipts"
                            },
                            {
                              "literal": 0
                            }
                          ]
                        },
                        {
                          "op": "gte",
                          "args": [
                            {
                              "ref": "derived.customerReceiptDay"
                            },
                            {
                              "ref": "parameter.currentDay"
                            }
                          ]
                        }
                      ]
                    }
                  },
                  {
                    "id": "future-delivery",
                    "requirement": "TIME",
                    "kind": "predicate",
                    "predicate": {
                      "op": "or",
                      "args": [
                        {
                          "op": "eq",
                          "args": [
                            {
                              "ref": "derived.customers"
                            },
                            {
                              "literal": 0
                            }
                          ]
                        },
                        {
                          "op": "gte",
                          "args": [
                            {
                              "ref": "derived.deliveryStartDay"
                            },
                            {
                              "ref": "parameter.currentDay"
                            }
                          ]
                        }
                      ]
                    }
                  },
                  {
                    "id": "payment-terms",
                    "requirement": "TERMS",
                    "kind": "predicate",
                    "predicate": {
                      "op": "or",
                      "args": [
                        {
                          "op": "eq",
                          "args": [
                            {
                              "ref": "derived.customers"
                            },
                            {
                              "literal": 0
                            }
                          ]
                        },
                        {
                          "op": "and",
                          "args": [
                            {
                              "op": "eq",
                              "args": [
                                {
                                  "ref": "choice.arrangement"
                                },
                                {
                                  "literal": "medium-prepay"
                                }
                              ]
                            },
                            {
                              "op": "lte",
                              "args": [
                                {
                                  "ref": "derived.customerReceiptDay"
                                },
                                {
                                  "ref": "derived.deliveryStartDay"
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "op": "and",
                          "args": [
                            {
                              "op": "not",
                              "args": [
                                {
                                  "op": "eq",
                                  "args": [
                                    {
                                      "ref": "choice.arrangement"
                                    },
                                    {
                                      "literal": "medium-prepay"
                                    }
                                  ]
                                }
                              ]
                            },
                            {
                              "op": "gte",
                              "args": [
                                {
                                  "ref": "derived.customerReceiptDay"
                                },
                                {
                                  "ref": "derived.deliveryFinishDay"
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  }
                ],
                "finance": {
                  "mode": "cash-flow",
                  "charges": [
                    {
                      "id": "campaign-expense",
                      "amount": {
                        "ref": "derived.campaignExpense"
                      }
                    },
                    {
                      "id": "delivery-expense",
                      "amount": {
                        "ref": "derived.deliveryExpense"
                      }
                    }
                  ],
                  "holds": [],
                  "cashFlow": {
                    "version": 1,
                    "openingBalance": {
                      "ref": "parameter.openingCashMinor"
                    },
                    "minimumBalance": {
                      "ref": "parameter.minimumReserveMinor"
                    },
                    "events": [
                      {
                        "id": "campaign-payment",
                        "direction": "payment",
                        "amount": {
                          "ref": "derived.campaignExpense"
                        },
                        "at": {
                          "ref": "derived.campaignExpenseDay"
                        },
                        "order": 0
                      },
                      {
                        "id": "delivery-payment",
                        "direction": "payment",
                        "amount": {
                          "ref": "derived.deliveryExpense"
                        },
                        "at": {
                          "ref": "derived.deliveryExpenseDay"
                        },
                        "order": 1
                      },
                      {
                        "id": "customer-receipt",
                        "direction": "receipt",
                        "amount": {
                          "ref": "derived.customerReceipts"
                        },
                        "at": {
                          "ref": "derived.customerReceiptDay"
                        },
                        "order": 2
                      }
                    ]
                  }
                },
                "preference": {
                  "mode": "feasibility-only"
                },
                "labels": {
                  "plan": "Complete growth arrangement",
                  "actor": "Delivery team",
                  "scenario": "Demand and collection situation",
                  "financeExpense": "Campaign and delivery expense",
                  "choice.arrangement": "Growth arrangement",
                  "view.finance.title": "Cash and expense",
                  "view.cashFlow.title": "Cash by date",
                  "charge.campaign-expense": "Committed campaign expense",
                  "charge.delivery-expense": "Delivery expense",
                  "cash-event.campaign-payment": "Pay the committed campaign expense",
                  "cash-event.delivery-payment": "Pay delivery expense",
                  "cash-event.customer-receipt": "Receive customer payment",
                  "constraint.baseline-expense": "Keep the current-approach alternative free of incremental campaign expense",
                  "constraint.baseline-customers": "Keep the current-approach alternative free of forecast incremental customers",
                  "constraint.cash-reserve": "Keep available cash at or above the required reserve after every receipt and payment",
                  "constraint.delivery-capacity": "The complete customer workload fits the recorded delivery-period capacity",
                  "constraint.delivery-period": "The complete delivery interval fits its declared capacity period",
                  "constraint.decision-cutoff": "Choose a new campaign before the recorded commitment cutoff",
                  "constraint.planning-horizon": "The comparison horizon includes every nonzero payment, customer receipt and actual delivery completion",
                  "constraint.future-campaignExpenseDay": "The campaign expense day has not already passed when making this future commitment",
                  "constraint.future-deliveryExpenseDay": "The delivery expense day has not already passed when making this future commitment",
                  "constraint.future-customerReceiptDay": "The customer receipt day has not already passed when making this future commitment",
                  "constraint.future-delivery": "Forecast delivery starts no earlier than the planning day",
                  "constraint.payment-terms": "Customer receipt timing retains the authored invoice or payment-before-delivery terms",
                  "choice.arrangement.baseline": "Keep the current approach",
                  "choice.arrangement.large-invoice": "Large campaign with invoiced payment",
                  "choice.arrangement.small-invoice": "Small campaign with invoiced payment",
                  "choice.arrangement.medium-prepay": "Medium campaign with payment before delivery"
                },
                "metadata": {
                  "caseStart": {
                    "starterMeaning": "example",
                    "supportsOwnData": false,
                    "scope": "Four authored arrangements for one standard service package. Change prices, committed campaign quotes, joint customer and collection forecasts, available cash, reserve and delivery-period capacity. A different service structure, installment contract or refund process needs an authored extension."
                  },
                  "catalog": {
                    "domain": {
                      "id": "business-growth",
                      "label": "Business growth",
                      "description": "Bounded growth commitments, operating capacity and the value of further learning."
                    },
                    "useCase": {
                      "id": "growth-commitment",
                      "label": "Choose next month’s growth commitment",
                      "description": "Find which supplied growth arrangements can be funded and delivered, then inspect what their spending must achieve."
                    }
                  },
                  "decisionPresentation": {
                    "format": "decision-presentation/1",
                    "title": "Compare growth commitments",
                    "question": "Which arrangements can we fund and deliver?",
                    "priorityLabel": "Compare without ranking",
                    "moneyFormat": {
                      "currency": "USD",
                      "divisor": 100
                    },
                    "columns": [
                      {
                        "id": "plan",
                        "label": "Growth arrangement"
                      },
                      {
                        "id": "status",
                        "label": "Operating fit"
                      },
                      {
                        "id": "cashHeadroom",
                        "source": {
                          "kind": "derived",
                          "id": "cashHeadroom"
                        },
                        "label": "Lowest cash headroom",
                        "format": {
                          "kind": "money",
                          "currency": "USD",
                          "divisor": 100
                        }
                      },
                      {
                        "id": "capacityHeadroom",
                        "source": {
                          "kind": "derived",
                          "id": "capacityHeadroom"
                        },
                        "label": "Delivery headroom (hours)",
                        "format": {
                          "kind": "number"
                        }
                      },
                      {
                        "id": "blockers",
                        "label": "Blocking conditions"
                      }
                    ],
                    "charts": [
                      {
                        "viewId": "commitment:cash-flow",
                        "defaultRepresentation": "line"
                      }
                    ]
                  }
                }
              },
              "case": {
                "id": "next-month-growth",
                "parameters": {
                  "openingCashMinor": 1200000,
                  "minimumReserveMinor": 0,
                  "unitPriceMinor": 150000,
                  "deliveryExpensePerCustomerMinor": 50000,
                  "deliveryHoursPerCustomer": 5,
                  "currentDay": 0,
                  "decisionDeadlineDay": 3,
                  "horizonDay": 60,
                  "campaignSurplusTargetMinor": 0
                },
                "tables": {
                  "arrangements": [
                    {
                      "id": "baseline",
                      "campaignExpenseMinor": 0
                    },
                    {
                      "id": "large-invoice",
                      "campaignExpenseMinor": 800000
                    },
                    {
                      "id": "small-invoice",
                      "campaignExpenseMinor": 200000
                    },
                    {
                      "id": "medium-prepay",
                      "campaignExpenseMinor": 400000
                    }
                  ],
                  "scenarios": [
                    {
                      "id": "recorded",
                      "label": "Recorded planning estimates"
                    }
                  ],
                  "outcomes": [
                    {
                      "scenario": "recorded",
                      "arrangement": "baseline",
                      "customers": 0,
                      "campaignExpenseDay": 0,
                      "deliveryExpenseDay": 0,
                      "customerReceiptDay": 0,
                      "deliveryStartDay": 0,
                      "deliveryFinishDay": 0,
                      "capacityPeriod": "delivery-period"
                    },
                    {
                      "scenario": "recorded",
                      "arrangement": "large-invoice",
                      "customers": 40,
                      "campaignExpenseDay": 3,
                      "deliveryExpenseDay": 7,
                      "customerReceiptDay": 30,
                      "deliveryStartDay": 7,
                      "deliveryFinishDay": 14,
                      "capacityPeriod": "delivery-period"
                    },
                    {
                      "scenario": "recorded",
                      "arrangement": "small-invoice",
                      "customers": 10,
                      "campaignExpenseDay": 3,
                      "deliveryExpenseDay": 7,
                      "customerReceiptDay": 30,
                      "deliveryStartDay": 7,
                      "deliveryFinishDay": 14,
                      "capacityPeriod": "delivery-period"
                    },
                    {
                      "scenario": "recorded",
                      "arrangement": "medium-prepay",
                      "customers": 20,
                      "campaignExpenseDay": 3,
                      "deliveryExpenseDay": 7,
                      "customerReceiptDay": 4,
                      "deliveryStartDay": 7,
                      "deliveryFinishDay": 14,
                      "capacityPeriod": "delivery-period"
                    }
                  ],
                  "capacityPeriods": [
                    {
                      "id": "delivery-period",
                      "from": 0,
                      "through": 30,
                      "availableHours": 140
                    }
                  ],
                  "_resources": [],
                  "_bookings": []
                },
                "provenance": [
                  {
                    "id": "fictional-growth-basis",
                    "description": "Fictional incremental planning estimates. Opening cash is already unrestricted growth funding after existing obligations; those obligations are not deducted a second time. Customer forecasts and payment promises are assumptions, not guaranteed sales or bank receipts."
                  }
                ]
              }
            },
            "presentation": {
              "schemaVersion": 1,
              "provider": "native-commitment-planning",
              "contract": "complete-a-commitment.assessment/1",
              "views": []
            },
            "viewContracts": [],
            "fields": [],
            "reports": [],
            "defaultReport": null,
            "originWorkspaceId": null,
            "createdAt": "2026-11-22T18:00:00.000Z",
            "contentHash": "410b8625863103042ea7a353ef56c7a0c1474a064b25c55e30508df510d1c242"
          },
          "sourceProvenance": "supplied",
          "contentHash": "7a04e76f030c07d20e89d577a9c1aebb6ab9fa28c05a47d8e9afea21d379876f"
        },
        "packageHash": "7a04e76f030c07d20e89d577a9c1aebb6ab9fa28c05a47d8e9afea21d379876f"
      },
      {
        "id": "learning",
        "app": {
          "format": "decision-lab-app/1",
          "template": {
            "format": "decision-lab-template/1",
            "definition": {
              "format": "decision-lab-template-definition/1",
              "templateId": "assess-value-of-learning",
              "version": "1.0.0",
              "pattern": "assess-value-of-learning/1",
              "title": "Assess the value of learning",
              "description": "Compare acting now with a bounded study and a complete response to its possible reports.",
              "authoring": {
                "requiredModuleFields": [],
                "guidance": ""
              },
              "contract": {
                "format": "decision-lab-installed-contract/1",
                "pattern": "assess-value-of-learning/1",
                "definition": {
                  "id": "assess-value-of-learning",
                  "version": "1.0.0",
                  "evaluator": "finite-learning-value/1",
                  "title": "Assess the value of learning",
                  "responsibility": "Compare a best action now with finite study-and-response policies under explicit probabilities, consequences, costs and availability.",
                  "invariants": [
                    "Probabilities are explicit assessments, never inferred from state counts.",
                    "Responses depend on an observable report, never the hidden state.",
                    "Study fees consume cash and are subtracted once from expected operating payoff.",
                    "Pure information value is reported only when the feasible action set is unchanged.",
                    "Reference records do not become accepted facts without an explicit declaration.",
                    "Recommendations are conditional risk-neutral monetary comparisons, not factual findings or permission to act."
                  ]
                },
                "schema": {
                  "kind": "installed-validator-descriptor/1",
                  "modelFormat": "assess-value-of-learning/1",
                  "moduleValidator": "assertLearningModule",
                  "caseValidator": "validateLearningCase",
                  "requiredModelFields": [
                    "format",
                    "module",
                    "case"
                  ],
                  "requiredModuleFields": [
                    "id",
                    "version",
                    "title",
                    "description",
                    "question",
                    "boundary",
                    "objective",
                    "attributes",
                    "states",
                    "actions",
                    "studies"
                  ],
                  "moduleFields": [
                    "id",
                    "version",
                    "title",
                    "description",
                    "question",
                    "boundary",
                    "objective",
                    "attributes",
                    "states",
                    "actions",
                    "studies",
                    "objective.beneficiary",
                    "objective.unit",
                    "objective.timeUnit",
                    "objective.horizon",
                    "objective.criterion",
                    "metadata",
                    "metadata.catalog",
                    "metadata.catalog.domain",
                    "metadata.catalog.domain.id",
                    "metadata.catalog.domain.label",
                    "metadata.catalog.domain.description",
                    "metadata.catalog.useCase",
                    "metadata.catalog.useCase.id",
                    "metadata.catalog.useCase.label",
                    "metadata.catalog.useCase.description",
                    "assumptions",
                    "recordTypes",
                    "presentation",
                    "presentation.description",
                    "presentation.labels",
                    "presentation.reports",
                    "presentation.basisGroups",
                    "presentation.views",
                    "presentation.labels.baseline",
                    "presentation.labels.study",
                    "presentation.labels.action",
                    "presentation.labels.state",
                    "presentation.labels.report",
                    "presentation.reports.comparison",
                    "presentation.reports.comparison.title",
                    "presentation.reports.comparison.question",
                    "presentation.reports.comparison.description",
                    "presentation.reports.responses",
                    "presentation.reports.responses.title",
                    "presentation.reports.responses.question",
                    "presentation.reports.responses.description",
                    "presentation.reports.sensitivity",
                    "presentation.reports.sensitivity.title",
                    "presentation.reports.sensitivity.question",
                    "presentation.reports.sensitivity.description",
                    "presentation.reports.inputs",
                    "presentation.reports.inputs.title",
                    "presentation.reports.inputs.question",
                    "presentation.reports.inputs.description",
                    "presentation.reports.history",
                    "presentation.reports.history.title",
                    "presentation.reports.history.question",
                    "presentation.reports.history.description"
                  ],
                  "requiredCaseFields": [
                    "id",
                    "scope",
                    "currentTime",
                    "cashBudget",
                    "probabilityBasis",
                    "priors",
                    "actions",
                    "payoffs",
                    "studies",
                    "acceptedFacts"
                  ],
                  "optionalCaseFields": [
                    "title",
                    "sensitivity",
                    "records"
                  ],
                  "caseDerivation": [
                    "Priors cover every frozen module.state and payoffs cover every declared action/state cell.",
                    "Study inputs cover every declared study and every state/report likelihood cell, including explicit zeros.",
                    "Accepted facts use frozen typed attributes; optional reference records follow frozen module.recordTypes without becoming accepted facts.",
                    "Case inputs may vary cash, deadlines, durations, fees, distributions and declared sensitivity scenarios, not objective semantics or identities."
                  ],
                  "description": "This describes the installed validators and supported presence-restriction paths; it is not a complete JSON Schema."
                },
                "structuralSlots": [
                  {
                    "path": "objective",
                    "owner": "module-author",
                    "description": "Declare beneficiary, common money/time units, horizon and the installed risk-neutral expected-money criterion."
                  },
                  {
                    "path": "attributes",
                    "owner": "module-author",
                    "description": "Declare typed attributes that accepted facts can constrain."
                  },
                  {
                    "path": "states",
                    "owner": "module-author",
                    "description": "Declare finite hidden situations with typed attributes."
                  },
                  {
                    "path": "actions",
                    "owner": "module-author",
                    "description": "Declare the available choice identities."
                  },
                  {
                    "path": "studies",
                    "owner": "module-author",
                    "description": "Declare proposed learning identities and observable reports, including no-report outcomes where needed."
                  },
                  {
                    "path": "recordTypes",
                    "owner": "module-author",
                    "description": "Declare typed reference-only source tables."
                  },
                  {
                    "path": "presentation",
                    "owner": "module-author",
                    "description": "Bind business vocabulary, basis organization and report representations."
                  },
                  {
                    "path": "assumptions",
                    "owner": "module-author",
                    "description": "State the premises and conclusion boundary reviewed by people."
                  }
                ],
                "caseInputs": [
                  {
                    "path": "id",
                    "owner": "case-worker",
                    "description": "Identify this case."
                  },
                  {
                    "path": "scope",
                    "owner": "case-worker",
                    "description": "State the decision scope."
                  },
                  {
                    "path": "currentTime",
                    "owner": "case-worker",
                    "description": "Supply the current relative time."
                  },
                  {
                    "path": "cashBudget",
                    "owner": "case-worker",
                    "description": "Supply a cash limit or explicitly omit the constraint with null."
                  },
                  {
                    "path": "probabilityBasis",
                    "owner": "case-worker",
                    "description": "Declare the source and scope of the assessed probabilities."
                  },
                  {
                    "path": "priors",
                    "owner": "case-worker",
                    "description": "Supply a complete explicit state distribution."
                  },
                  {
                    "path": "actions",
                    "owner": "case-worker",
                    "description": "Supply action deadlines and cash requirements."
                  },
                  {
                    "path": "payoffs",
                    "owner": "case-worker",
                    "description": "Supply the complete operating payoff matrix."
                  },
                  {
                    "path": "studies",
                    "owner": "case-worker",
                    "description": "Supply fees, durations and explicit report likelihoods."
                  },
                  {
                    "path": "acceptedFacts",
                    "owner": "case-worker",
                    "description": "Declare reviewed typed facts with their source."
                  },
                  {
                    "path": "sensitivity",
                    "owner": "case-worker",
                    "description": "Optionally declare comparison scenarios."
                  },
                  {
                    "path": "records",
                    "owner": "case-worker",
                    "description": "Optionally supply reference-only typed records."
                  },
                  {
                    "path": "title",
                    "owner": "case-worker",
                    "description": "Optionally name this case."
                  }
                ],
                "capabilities": {
                  "language": "finite-learning-value/1",
                  "supported": [
                    "explicit-priors",
                    "finite-payoff-matrices",
                    "observable-report-policies",
                    "risk-neutral-expected-money",
                    "cash-and-deadline-availability",
                    "typed-accepted-facts",
                    "declared-sensitivity-scenarios",
                    "reference-records"
                  ],
                  "unsupported": [
                    "inferred-probabilities",
                    "arbitrary-utility-functions",
                    "hidden-state-responses",
                    "arbitrary-code"
                  ],
                  "probabilityTolerance": 1e-9
                },
                "limits": {
                  "states": 64,
                  "actions": 32,
                  "studies": 16,
                  "reports": 16,
                  "attributes": 32,
                  "sensitivities": 32,
                  "records": 10000,
                  "operations": 2000000
                },
                "reportResponsibilities": {
                  "assessmentContract": "learning-value-assessment/1",
                  "reportIds": [
                    "comparison",
                    "responses",
                    "sensitivity",
                    "inputs",
                    "history"
                  ],
                  "responsibilities": [
                    "Study comparisons against the best action now",
                    "Response policies after observable reports",
                    "Declared sensitivity comparisons",
                    "Complete supplied decision basis and coverage",
                    "Case changes when comparison context is supplied"
                  ],
                  "completeReportDocument": "A later report-materialization service supplies the complete renderer contract; these authoring services do not claim to implement it."
                }
              }
            },
            "createdAt": "2026-11-22T18:00:00.000Z",
            "contentHash": "c851a47d53290e161c674a5172d81fedcfc39caba4a028546ba3dd78396b5947"
          },
          "app": {
            "schemaVersion": 5,
            "kind": "hermod-published-app",
            "runtime": "diagnostic-evidence",
            "id": "assess-payment-terms-test",
            "version": 1,
            "name": "Assess a payment-terms test",
            "description": "Compare choosing a fundable and deliverable growth arrangement now with a nonbinding payment-preference test and a complete response to each possible signal.",
            "source": "{\n  \"format\": \"assess-value-of-learning/1\",\n  \"module\": {\n    \"id\": \"payment-terms-learning\",\n    \"version\": \"1.0.0\",\n    \"title\": \"Assess a payment-terms test\",\n    \"description\": \"Compare choosing a fundable and deliverable growth arrangement now with a nonbinding payment-preference test and a complete response to each possible signal.\",\n    \"question\": \"Could a timely preference test improve the growth choice enough to cover its cost?\",\n    \"boundary\": \"One nonbinding preference test followed by one complete growth arrangement. Customer orders, collected deposits, refunds and adaptive marketing campaigns are outside this model.\",\n    \"metadata\": {\n      \"catalog\": {\n        \"domain\": {\n          \"id\": \"business-growth\",\n          \"label\": \"Business growth\"\n        },\n        \"useCase\": {\n          \"id\": \"fund-and-deliver-growth\",\n          \"label\": \"Fund and deliver growth\"\n        }\n      },\n      \"requiredCapabilities\": [\n        {\n          \"id\": \"learning-execution-feasibility\",\n          \"version\": 1\n        }\n      ]\n    },\n    \"executionFeasibility\": {\n      \"version\": 1\n    },\n    \"objective\": {\n      \"criterion\": \"risk-neutral-expected-money\",\n      \"unit\": \"USD cent\",\n      \"timeUnit\": \"day\",\n      \"beneficiary\": \"The business funding and delivering the growth commitment\",\n      \"horizon\": \"The complete declared campaign and customer delivery horizon\"\n    },\n    \"assumptions\": [\n      \"The prior and likelihood matrix are explicit fictional teaching inputs. A survey signal is an imperfect observation of a declared situation; it is not a causal estimate of additional customers.\",\n      \"Net contribution for each action and situation comes from the same pinned planning assessment: customer receipts less delivery expense and committed campaign expense. The test fee is charged once, separately.\",\n      \"The test accepts no payment, order or deposit and creates no customer delivery obligation. A paid pilot requires a different complete operating model.\",\n      \"All declared situations remain logically possible after every report, including an inconclusive report. Zero probabilities never waive funding, capacity or timing conditions.\",\n      \"Operating eligibility comes from current native commitment runs for acting now and acting after the test fee and delay. A profitable action cannot compensate for an operating failure.\",\n      \"The baseline is a complete no-expansion alternative. An expected-contribution preference is supplied only for this optional learning comparison; feasibility alone does not select a growth arrangement.\"\n    ],\n    \"attributes\": [\n      {\n        \"id\": \"prepayAccepted\",\n        \"label\": \"Larger prepayment-offer customer count\",\n        \"type\": \"boolean\"\n      }\n    ],\n    \"states\": [\n      {\n        \"id\": \"prepay-accepted\",\n        \"label\": \"Prepayment offer attracts the larger customer count\",\n        \"attributes\": {\n          \"prepayAccepted\": true\n        }\n      },\n      {\n        \"id\": \"prepay-weak\",\n        \"label\": \"Prepayment offer attracts the smaller customer count\",\n        \"attributes\": {\n          \"prepayAccepted\": false\n        }\n      }\n    ],\n    \"actions\": [\n      {\n        \"id\": \"baseline\",\n        \"label\": \"Keep the current approach\"\n      },\n      {\n        \"id\": \"large-invoice\",\n        \"label\": \"Large campaign with invoiced payment\"\n      },\n      {\n        \"id\": \"small-invoice\",\n        \"label\": \"Small campaign with invoiced payment\"\n      },\n      {\n        \"id\": \"medium-prepay\",\n        \"label\": \"Medium campaign with payment before delivery\"\n      }\n    ],\n    \"studies\": [\n      {\n        \"id\": \"payment-preference-test\",\n        \"label\": \"Nonbinding payment-preference test\",\n        \"reports\": [\n          {\n            \"id\": \"favorable\",\n            \"label\": \"Favorable preference signal\",\n            \"kind\": \"report\"\n          },\n          {\n            \"id\": \"unfavorable\",\n            \"label\": \"Unfavorable preference signal\",\n            \"kind\": \"report\"\n          },\n          {\n            \"id\": \"inconclusive\",\n            \"label\": \"No usable preference signal\",\n            \"kind\": \"no-report\"\n          }\n        ]\n      }\n    ],\n    \"presentation\": {\n      \"labels\": {\n        \"baseline\": \"Choose a growth arrangement now\",\n        \"study\": \"Learning option\",\n        \"action\": \"Complete growth arrangement\",\n        \"state\": \"Customer-response situation\",\n        \"report\": \"Preference-test signal\"\n      },\n      \"reports\": {\n        \"comparison\": {\n          \"title\": \"Test before committing\",\n          \"question\": \"Does the preference test improve expected contribution while retaining a complete usable response?\"\n        },\n        \"responses\": {\n          \"title\": \"Response to each signal\",\n          \"question\": \"Which eligible growth arrangement has the highest expected contribution after each possible signal?\"\n        },\n        \"inputs\": {\n          \"title\": \"Probability and operating basis\",\n          \"question\": \"Which explicit assumptions and complete operating assessments support this comparison?\"\n        }\n      }\n    },\n    \"recordTypes\": []\n  },\n  \"case\": {\n    \"id\": \"GROWTH-payment-learning\",\n    \"scope\": \"growth-commitment / profile 1.0.0 / next-month package and campaign window\",\n    \"currentTime\": 0,\n    \"cashBudget\": 1200000,\n    \"probabilityBasis\": {\n      \"source\": \"FICTIONAL-TEACHING-ASSESSMENT-1: Explicit hypothetical probabilities and signal reliability; not evidence interpretation counts or measured demand.\",\n      \"scope\": \"One standardized service package and the next-month campaign window\"\n    },\n    \"priors\": [\n      {\n        \"state\": \"prepay-accepted\",\n        \"probability\": 0.5\n      },\n      {\n        \"state\": \"prepay-weak\",\n        \"probability\": 0.5\n      }\n    ],\n    \"actions\": [\n      {\n        \"action\": \"baseline\",\n        \"cash\": 0,\n        \"deadline\": null\n      },\n      {\n        \"action\": \"large-invoice\",\n        \"cash\": 2800000,\n        \"deadline\": 3\n      },\n      {\n        \"action\": \"small-invoice\",\n        \"cash\": 700000,\n        \"deadline\": 3\n      },\n      {\n        \"action\": \"medium-prepay\",\n        \"cash\": 400000,\n        \"deadline\": 3\n      }\n    ],\n    \"payoffs\": [\n      {\n        \"action\": \"baseline\",\n        \"state\": \"prepay-accepted\",\n        \"value\": 0\n      },\n      {\n        \"action\": \"baseline\",\n        \"state\": \"prepay-weak\",\n        \"value\": 0\n      },\n      {\n        \"action\": \"large-invoice\",\n        \"state\": \"prepay-accepted\",\n        \"value\": 3200000\n      },\n      {\n        \"action\": \"large-invoice\",\n        \"state\": \"prepay-weak\",\n        \"value\": 3200000\n      },\n      {\n        \"action\": \"small-invoice\",\n        \"state\": \"prepay-accepted\",\n        \"value\": 800000\n      },\n      {\n        \"action\": \"small-invoice\",\n        \"state\": \"prepay-weak\",\n        \"value\": 800000\n      },\n      {\n        \"action\": \"medium-prepay\",\n        \"state\": \"prepay-accepted\",\n        \"value\": 1600000\n      },\n      {\n        \"action\": \"medium-prepay\",\n        \"state\": \"prepay-weak\",\n        \"value\": -200000\n      }\n    ],\n    \"acceptedFacts\": [],\n    \"studies\": [\n      {\n        \"study\": \"payment-preference-test\",\n        \"fee\": 50000,\n        \"duration\": 1,\n        \"likelihoods\": [\n          {\n            \"state\": \"prepay-accepted\",\n            \"report\": \"favorable\",\n            \"probability\": 0.7\n          },\n          {\n            \"state\": \"prepay-accepted\",\n            \"report\": \"unfavorable\",\n            \"probability\": 0.1\n          },\n          {\n            \"state\": \"prepay-accepted\",\n            \"report\": \"inconclusive\",\n            \"probability\": 0.2\n          },\n          {\n            \"state\": \"prepay-weak\",\n            \"report\": \"favorable\",\n            \"probability\": 0.1\n          },\n          {\n            \"state\": \"prepay-weak\",\n            \"report\": \"unfavorable\",\n            \"probability\": 0.7\n          },\n          {\n            \"state\": \"prepay-weak\",\n            \"report\": \"inconclusive\",\n            \"probability\": 0.2\n          }\n        ]\n      }\n    ],\n    \"executionFeasibility\": {\n      \"admittedStateIds\": [\n        \"prepay-accepted\",\n        \"prepay-weak\"\n      ],\n      \"contexts\": [\n        {\n          \"context\": \"no-study\",\n          \"currentTime\": 0,\n          \"fee\": 0,\n          \"duration\": 0,\n          \"cashBudget\": 1200000\n        },\n        {\n          \"context\": \"payment-preference-test\",\n          \"currentTime\": 0,\n          \"fee\": 50000,\n          \"duration\": 1,\n          \"cashBudget\": 1200000\n        }\n      ],\n      \"reportSupport\": [\n        {\n          \"study\": \"payment-preference-test\",\n          \"report\": \"favorable\",\n          \"state\": \"prepay-accepted\",\n          \"possible\": true\n        },\n        {\n          \"study\": \"payment-preference-test\",\n          \"report\": \"unfavorable\",\n          \"state\": \"prepay-accepted\",\n          \"possible\": true\n        },\n        {\n          \"study\": \"payment-preference-test\",\n          \"report\": \"inconclusive\",\n          \"state\": \"prepay-accepted\",\n          \"possible\": true\n        },\n        {\n          \"study\": \"payment-preference-test\",\n          \"report\": \"favorable\",\n          \"state\": \"prepay-weak\",\n          \"possible\": true\n        },\n        {\n          \"study\": \"payment-preference-test\",\n          \"report\": \"unfavorable\",\n          \"state\": \"prepay-weak\",\n          \"possible\": true\n        },\n        {\n          \"study\": \"payment-preference-test\",\n          \"report\": \"inconclusive\",\n          \"state\": \"prepay-weak\",\n          \"possible\": true\n        }\n      ],\n      \"eligibility\": [\n        {\n          \"context\": \"no-study\",\n          \"action\": \"baseline\",\n          \"state\": \"prepay-accepted\",\n          \"eligible\": true,\n          \"reasons\": [],\n          \"source\": \"decision-lab-assessment:a976f1d2574b8fbeb177677f6f8b3d5b8f1a98832c763f5b9adcd6fd0587b9a6#plan=plan-000001&state=prepay-accepted\"\n        },\n        {\n          \"context\": \"no-study\",\n          \"action\": \"baseline\",\n          \"state\": \"prepay-weak\",\n          \"eligible\": true,\n          \"reasons\": [],\n          \"source\": \"decision-lab-assessment:a976f1d2574b8fbeb177677f6f8b3d5b8f1a98832c763f5b9adcd6fd0587b9a6#plan=plan-000001&state=prepay-weak\"\n        },\n        {\n          \"context\": \"no-study\",\n          \"action\": \"large-invoice\",\n          \"state\": \"prepay-accepted\",\n          \"eligible\": false,\n          \"reasons\": [\n            \"cash-reserve\",\n            \"delivery-capacity\"\n          ],\n          \"source\": \"decision-lab-assessment:a976f1d2574b8fbeb177677f6f8b3d5b8f1a98832c763f5b9adcd6fd0587b9a6#plan=plan-000002&state=prepay-accepted\"\n        },\n        {\n          \"context\": \"no-study\",\n          \"action\": \"large-invoice\",\n          \"state\": \"prepay-weak\",\n          \"eligible\": false,\n          \"reasons\": [\n            \"cash-reserve\",\n            \"delivery-capacity\"\n          ],\n          \"source\": \"decision-lab-assessment:a976f1d2574b8fbeb177677f6f8b3d5b8f1a98832c763f5b9adcd6fd0587b9a6#plan=plan-000002&state=prepay-weak\"\n        },\n        {\n          \"context\": \"no-study\",\n          \"action\": \"small-invoice\",\n          \"state\": \"prepay-accepted\",\n          \"eligible\": true,\n          \"reasons\": [],\n          \"source\": \"decision-lab-assessment:a976f1d2574b8fbeb177677f6f8b3d5b8f1a98832c763f5b9adcd6fd0587b9a6#plan=plan-000003&state=prepay-accepted\"\n        },\n        {\n          \"context\": \"no-study\",\n          \"action\": \"small-invoice\",\n          \"state\": \"prepay-weak\",\n          \"eligible\": true,\n          \"reasons\": [],\n          \"source\": \"decision-lab-assessment:a976f1d2574b8fbeb177677f6f8b3d5b8f1a98832c763f5b9adcd6fd0587b9a6#plan=plan-000003&state=prepay-weak\"\n        },\n        {\n          \"context\": \"no-study\",\n          \"action\": \"medium-prepay\",\n          \"state\": \"prepay-accepted\",\n          \"eligible\": true,\n          \"reasons\": [],\n          \"source\": \"decision-lab-assessment:a976f1d2574b8fbeb177677f6f8b3d5b8f1a98832c763f5b9adcd6fd0587b9a6#plan=plan-000004&state=prepay-accepted\"\n        },\n        {\n          \"context\": \"no-study\",\n          \"action\": \"medium-prepay\",\n          \"state\": \"prepay-weak\",\n          \"eligible\": true,\n          \"reasons\": [],\n          \"source\": \"decision-lab-assessment:a976f1d2574b8fbeb177677f6f8b3d5b8f1a98832c763f5b9adcd6fd0587b9a6#plan=plan-000004&state=prepay-weak\"\n        },\n        {\n          \"context\": \"payment-preference-test\",\n          \"action\": \"baseline\",\n          \"state\": \"prepay-accepted\",\n          \"eligible\": true,\n          \"reasons\": [],\n          \"source\": \"decision-lab-assessment:19afe6638c989643ad0abc4556703fe99eca885539a611f36643aa9107df7ed4#plan=plan-000001&state=prepay-accepted\"\n        },\n        {\n          \"context\": \"payment-preference-test\",\n          \"action\": \"baseline\",\n          \"state\": \"prepay-weak\",\n          \"eligible\": true,\n          \"reasons\": [],\n          \"source\": \"decision-lab-assessment:19afe6638c989643ad0abc4556703fe99eca885539a611f36643aa9107df7ed4#plan=plan-000001&state=prepay-weak\"\n        },\n        {\n          \"context\": \"payment-preference-test\",\n          \"action\": \"large-invoice\",\n          \"state\": \"prepay-accepted\",\n          \"eligible\": false,\n          \"reasons\": [\n            \"cash-reserve\",\n            \"delivery-capacity\"\n          ],\n          \"source\": \"decision-lab-assessment:19afe6638c989643ad0abc4556703fe99eca885539a611f36643aa9107df7ed4#plan=plan-000002&state=prepay-accepted\"\n        },\n        {\n          \"context\": \"payment-preference-test\",\n          \"action\": \"large-invoice\",\n          \"state\": \"prepay-weak\",\n          \"eligible\": false,\n          \"reasons\": [\n            \"cash-reserve\",\n            \"delivery-capacity\"\n          ],\n          \"source\": \"decision-lab-assessment:19afe6638c989643ad0abc4556703fe99eca885539a611f36643aa9107df7ed4#plan=plan-000002&state=prepay-weak\"\n        },\n        {\n          \"context\": \"payment-preference-test\",\n          \"action\": \"small-invoice\",\n          \"state\": \"prepay-accepted\",\n          \"eligible\": true,\n          \"reasons\": [],\n          \"source\": \"decision-lab-assessment:19afe6638c989643ad0abc4556703fe99eca885539a611f36643aa9107df7ed4#plan=plan-000003&state=prepay-accepted\"\n        },\n        {\n          \"context\": \"payment-preference-test\",\n          \"action\": \"small-invoice\",\n          \"state\": \"prepay-weak\",\n          \"eligible\": true,\n          \"reasons\": [],\n          \"source\": \"decision-lab-assessment:19afe6638c989643ad0abc4556703fe99eca885539a611f36643aa9107df7ed4#plan=plan-000003&state=prepay-weak\"\n        },\n        {\n          \"context\": \"payment-preference-test\",\n          \"action\": \"medium-prepay\",\n          \"state\": \"prepay-accepted\",\n          \"eligible\": true,\n          \"reasons\": [],\n          \"source\": \"decision-lab-assessment:19afe6638c989643ad0abc4556703fe99eca885539a611f36643aa9107df7ed4#plan=plan-000004&state=prepay-accepted\"\n        },\n        {\n          \"context\": \"payment-preference-test\",\n          \"action\": \"medium-prepay\",\n          \"state\": \"prepay-weak\",\n          \"eligible\": true,\n          \"reasons\": [],\n          \"source\": \"decision-lab-assessment:19afe6638c989643ad0abc4556703fe99eca885539a611f36643aa9107df7ed4#plan=plan-000004&state=prepay-weak\"\n        }\n      ]\n    }\n  }\n}\n",
            "sourceHash": "3f5e5edbf4a3a49a6821938ee4efb97029387aa3185b3ba499b6154ff38a29d0",
            "definitionHash": "f7afda9173d1b3e69c664b306daa41b5ccda6efbdd58eced703248b0959f48f4",
            "definitionContract": {
              "id": "assess-value-of-learning",
              "version": "1.0.0",
              "evaluator": "finite-learning-value/1",
              "title": "Assess the value of learning",
              "responsibility": "Compare a best action now with finite study-and-response policies under explicit probabilities, consequences, costs and availability.",
              "invariants": [
                "Probabilities are explicit assessments, never inferred from state counts.",
                "Responses depend on an observable report, never the hidden state.",
                "Study fees consume cash and are subtracted once from expected operating payoff.",
                "Pure information value is reported only when the feasible action set is unchanged.",
                "Reference records do not become accepted facts without an explicit declaration.",
                "Recommendations are conditional risk-neutral monetary comparisons, not factual findings or permission to act."
              ]
            },
            "model": {
              "format": "assess-value-of-learning/1",
              "module": {
                "id": "payment-terms-learning",
                "version": "1.0.0",
                "title": "Assess a payment-terms test",
                "description": "Compare choosing a fundable and deliverable growth arrangement now with a nonbinding payment-preference test and a complete response to each possible signal.",
                "question": "Could a timely preference test improve the growth choice enough to cover its cost?",
                "boundary": "One nonbinding preference test followed by one complete growth arrangement. Customer orders, collected deposits, refunds and adaptive marketing campaigns are outside this model.",
                "metadata": {
                  "catalog": {
                    "domain": {
                      "id": "business-growth",
                      "label": "Business growth"
                    },
                    "useCase": {
                      "id": "fund-and-deliver-growth",
                      "label": "Fund and deliver growth"
                    }
                  },
                  "requiredCapabilities": [
                    {
                      "id": "learning-execution-feasibility",
                      "version": 1
                    }
                  ]
                },
                "executionFeasibility": {
                  "version": 1
                },
                "objective": {
                  "criterion": "risk-neutral-expected-money",
                  "unit": "USD cent",
                  "timeUnit": "day",
                  "beneficiary": "The business funding and delivering the growth commitment",
                  "horizon": "The complete declared campaign and customer delivery horizon"
                },
                "assumptions": [
                  "The prior and likelihood matrix are explicit fictional teaching inputs. A survey signal is an imperfect observation of a declared situation; it is not a causal estimate of additional customers.",
                  "Net contribution for each action and situation comes from the same pinned planning assessment: customer receipts less delivery expense and committed campaign expense. The test fee is charged once, separately.",
                  "The test accepts no payment, order or deposit and creates no customer delivery obligation. A paid pilot requires a different complete operating model.",
                  "All declared situations remain logically possible after every report, including an inconclusive report. Zero probabilities never waive funding, capacity or timing conditions.",
                  "Operating eligibility comes from current native commitment runs for acting now and acting after the test fee and delay. A profitable action cannot compensate for an operating failure.",
                  "The baseline is a complete no-expansion alternative. An expected-contribution preference is supplied only for this optional learning comparison; feasibility alone does not select a growth arrangement."
                ],
                "attributes": [
                  {
                    "id": "prepayAccepted",
                    "label": "Larger prepayment-offer customer count",
                    "type": "boolean"
                  }
                ],
                "states": [
                  {
                    "id": "prepay-accepted",
                    "label": "Prepayment offer attracts the larger customer count",
                    "attributes": {
                      "prepayAccepted": true
                    }
                  },
                  {
                    "id": "prepay-weak",
                    "label": "Prepayment offer attracts the smaller customer count",
                    "attributes": {
                      "prepayAccepted": false
                    }
                  }
                ],
                "actions": [
                  {
                    "id": "baseline",
                    "label": "Keep the current approach"
                  },
                  {
                    "id": "large-invoice",
                    "label": "Large campaign with invoiced payment"
                  },
                  {
                    "id": "small-invoice",
                    "label": "Small campaign with invoiced payment"
                  },
                  {
                    "id": "medium-prepay",
                    "label": "Medium campaign with payment before delivery"
                  }
                ],
                "studies": [
                  {
                    "id": "payment-preference-test",
                    "label": "Nonbinding payment-preference test",
                    "reports": [
                      {
                        "id": "favorable",
                        "label": "Favorable preference signal",
                        "kind": "report"
                      },
                      {
                        "id": "unfavorable",
                        "label": "Unfavorable preference signal",
                        "kind": "report"
                      },
                      {
                        "id": "inconclusive",
                        "label": "No usable preference signal",
                        "kind": "no-report"
                      }
                    ]
                  }
                ],
                "presentation": {
                  "labels": {
                    "baseline": "Choose a growth arrangement now",
                    "study": "Learning option",
                    "action": "Complete growth arrangement",
                    "state": "Customer-response situation",
                    "report": "Preference-test signal"
                  },
                  "reports": {
                    "comparison": {
                      "title": "Test before committing",
                      "question": "Does the preference test improve expected contribution while retaining a complete usable response?"
                    },
                    "responses": {
                      "title": "Response to each signal",
                      "question": "Which eligible growth arrangement has the highest expected contribution after each possible signal?"
                    },
                    "inputs": {
                      "title": "Probability and operating basis",
                      "question": "Which explicit assumptions and complete operating assessments support this comparison?"
                    }
                  }
                },
                "recordTypes": []
              },
              "case": {
                "id": "GROWTH-payment-learning",
                "scope": "growth-commitment / profile 1.0.0 / next-month package and campaign window",
                "currentTime": 0,
                "cashBudget": 1200000,
                "probabilityBasis": {
                  "source": "FICTIONAL-TEACHING-ASSESSMENT-1: Explicit hypothetical probabilities and signal reliability; not evidence interpretation counts or measured demand.",
                  "scope": "One standardized service package and the next-month campaign window"
                },
                "priors": [
                  {
                    "state": "prepay-accepted",
                    "probability": 0.5
                  },
                  {
                    "state": "prepay-weak",
                    "probability": 0.5
                  }
                ],
                "actions": [
                  {
                    "action": "baseline",
                    "cash": 0,
                    "deadline": null
                  },
                  {
                    "action": "large-invoice",
                    "cash": 2800000,
                    "deadline": 3
                  },
                  {
                    "action": "small-invoice",
                    "cash": 700000,
                    "deadline": 3
                  },
                  {
                    "action": "medium-prepay",
                    "cash": 400000,
                    "deadline": 3
                  }
                ],
                "payoffs": [
                  {
                    "action": "baseline",
                    "state": "prepay-accepted",
                    "value": 0
                  },
                  {
                    "action": "baseline",
                    "state": "prepay-weak",
                    "value": 0
                  },
                  {
                    "action": "large-invoice",
                    "state": "prepay-accepted",
                    "value": 3200000
                  },
                  {
                    "action": "large-invoice",
                    "state": "prepay-weak",
                    "value": 3200000
                  },
                  {
                    "action": "small-invoice",
                    "state": "prepay-accepted",
                    "value": 800000
                  },
                  {
                    "action": "small-invoice",
                    "state": "prepay-weak",
                    "value": 800000
                  },
                  {
                    "action": "medium-prepay",
                    "state": "prepay-accepted",
                    "value": 1600000
                  },
                  {
                    "action": "medium-prepay",
                    "state": "prepay-weak",
                    "value": -200000
                  }
                ],
                "acceptedFacts": [],
                "studies": [
                  {
                    "study": "payment-preference-test",
                    "fee": 50000,
                    "duration": 1,
                    "likelihoods": [
                      {
                        "state": "prepay-accepted",
                        "report": "favorable",
                        "probability": 0.7
                      },
                      {
                        "state": "prepay-accepted",
                        "report": "unfavorable",
                        "probability": 0.1
                      },
                      {
                        "state": "prepay-accepted",
                        "report": "inconclusive",
                        "probability": 0.2
                      },
                      {
                        "state": "prepay-weak",
                        "report": "favorable",
                        "probability": 0.1
                      },
                      {
                        "state": "prepay-weak",
                        "report": "unfavorable",
                        "probability": 0.7
                      },
                      {
                        "state": "prepay-weak",
                        "report": "inconclusive",
                        "probability": 0.2
                      }
                    ]
                  }
                ],
                "executionFeasibility": {
                  "admittedStateIds": [
                    "prepay-accepted",
                    "prepay-weak"
                  ],
                  "contexts": [
                    {
                      "context": "no-study",
                      "currentTime": 0,
                      "fee": 0,
                      "duration": 0,
                      "cashBudget": 1200000
                    },
                    {
                      "context": "payment-preference-test",
                      "currentTime": 0,
                      "fee": 50000,
                      "duration": 1,
                      "cashBudget": 1200000
                    }
                  ],
                  "reportSupport": [
                    {
                      "study": "payment-preference-test",
                      "report": "favorable",
                      "state": "prepay-accepted",
                      "possible": true
                    },
                    {
                      "study": "payment-preference-test",
                      "report": "unfavorable",
                      "state": "prepay-accepted",
                      "possible": true
                    },
                    {
                      "study": "payment-preference-test",
                      "report": "inconclusive",
                      "state": "prepay-accepted",
                      "possible": true
                    },
                    {
                      "study": "payment-preference-test",
                      "report": "favorable",
                      "state": "prepay-weak",
                      "possible": true
                    },
                    {
                      "study": "payment-preference-test",
                      "report": "unfavorable",
                      "state": "prepay-weak",
                      "possible": true
                    },
                    {
                      "study": "payment-preference-test",
                      "report": "inconclusive",
                      "state": "prepay-weak",
                      "possible": true
                    }
                  ],
                  "eligibility": [
                    {
                      "context": "no-study",
                      "action": "baseline",
                      "state": "prepay-accepted",
                      "eligible": true,
                      "reasons": [],
                      "source": "decision-lab-assessment:a976f1d2574b8fbeb177677f6f8b3d5b8f1a98832c763f5b9adcd6fd0587b9a6#plan=plan-000001&state=prepay-accepted"
                    },
                    {
                      "context": "no-study",
                      "action": "baseline",
                      "state": "prepay-weak",
                      "eligible": true,
                      "reasons": [],
                      "source": "decision-lab-assessment:a976f1d2574b8fbeb177677f6f8b3d5b8f1a98832c763f5b9adcd6fd0587b9a6#plan=plan-000001&state=prepay-weak"
                    },
                    {
                      "context": "no-study",
                      "action": "large-invoice",
                      "state": "prepay-accepted",
                      "eligible": false,
                      "reasons": [
                        "cash-reserve",
                        "delivery-capacity"
                      ],
                      "source": "decision-lab-assessment:a976f1d2574b8fbeb177677f6f8b3d5b8f1a98832c763f5b9adcd6fd0587b9a6#plan=plan-000002&state=prepay-accepted"
                    },
                    {
                      "context": "no-study",
                      "action": "large-invoice",
                      "state": "prepay-weak",
                      "eligible": false,
                      "reasons": [
                        "cash-reserve",
                        "delivery-capacity"
                      ],
                      "source": "decision-lab-assessment:a976f1d2574b8fbeb177677f6f8b3d5b8f1a98832c763f5b9adcd6fd0587b9a6#plan=plan-000002&state=prepay-weak"
                    },
                    {
                      "context": "no-study",
                      "action": "small-invoice",
                      "state": "prepay-accepted",
                      "eligible": true,
                      "reasons": [],
                      "source": "decision-lab-assessment:a976f1d2574b8fbeb177677f6f8b3d5b8f1a98832c763f5b9adcd6fd0587b9a6#plan=plan-000003&state=prepay-accepted"
                    },
                    {
                      "context": "no-study",
                      "action": "small-invoice",
                      "state": "prepay-weak",
                      "eligible": true,
                      "reasons": [],
                      "source": "decision-lab-assessment:a976f1d2574b8fbeb177677f6f8b3d5b8f1a98832c763f5b9adcd6fd0587b9a6#plan=plan-000003&state=prepay-weak"
                    },
                    {
                      "context": "no-study",
                      "action": "medium-prepay",
                      "state": "prepay-accepted",
                      "eligible": true,
                      "reasons": [],
                      "source": "decision-lab-assessment:a976f1d2574b8fbeb177677f6f8b3d5b8f1a98832c763f5b9adcd6fd0587b9a6#plan=plan-000004&state=prepay-accepted"
                    },
                    {
                      "context": "no-study",
                      "action": "medium-prepay",
                      "state": "prepay-weak",
                      "eligible": true,
                      "reasons": [],
                      "source": "decision-lab-assessment:a976f1d2574b8fbeb177677f6f8b3d5b8f1a98832c763f5b9adcd6fd0587b9a6#plan=plan-000004&state=prepay-weak"
                    },
                    {
                      "context": "payment-preference-test",
                      "action": "baseline",
                      "state": "prepay-accepted",
                      "eligible": true,
                      "reasons": [],
                      "source": "decision-lab-assessment:19afe6638c989643ad0abc4556703fe99eca885539a611f36643aa9107df7ed4#plan=plan-000001&state=prepay-accepted"
                    },
                    {
                      "context": "payment-preference-test",
                      "action": "baseline",
                      "state": "prepay-weak",
                      "eligible": true,
                      "reasons": [],
                      "source": "decision-lab-assessment:19afe6638c989643ad0abc4556703fe99eca885539a611f36643aa9107df7ed4#plan=plan-000001&state=prepay-weak"
                    },
                    {
                      "context": "payment-preference-test",
                      "action": "large-invoice",
                      "state": "prepay-accepted",
                      "eligible": false,
                      "reasons": [
                        "cash-reserve",
                        "delivery-capacity"
                      ],
                      "source": "decision-lab-assessment:19afe6638c989643ad0abc4556703fe99eca885539a611f36643aa9107df7ed4#plan=plan-000002&state=prepay-accepted"
                    },
                    {
                      "context": "payment-preference-test",
                      "action": "large-invoice",
                      "state": "prepay-weak",
                      "eligible": false,
                      "reasons": [
                        "cash-reserve",
                        "delivery-capacity"
                      ],
                      "source": "decision-lab-assessment:19afe6638c989643ad0abc4556703fe99eca885539a611f36643aa9107df7ed4#plan=plan-000002&state=prepay-weak"
                    },
                    {
                      "context": "payment-preference-test",
                      "action": "small-invoice",
                      "state": "prepay-accepted",
                      "eligible": true,
                      "reasons": [],
                      "source": "decision-lab-assessment:19afe6638c989643ad0abc4556703fe99eca885539a611f36643aa9107df7ed4#plan=plan-000003&state=prepay-accepted"
                    },
                    {
                      "context": "payment-preference-test",
                      "action": "small-invoice",
                      "state": "prepay-weak",
                      "eligible": true,
                      "reasons": [],
                      "source": "decision-lab-assessment:19afe6638c989643ad0abc4556703fe99eca885539a611f36643aa9107df7ed4#plan=plan-000003&state=prepay-weak"
                    },
                    {
                      "context": "payment-preference-test",
                      "action": "medium-prepay",
                      "state": "prepay-accepted",
                      "eligible": true,
                      "reasons": [],
                      "source": "decision-lab-assessment:19afe6638c989643ad0abc4556703fe99eca885539a611f36643aa9107df7ed4#plan=plan-000004&state=prepay-accepted"
                    },
                    {
                      "context": "payment-preference-test",
                      "action": "medium-prepay",
                      "state": "prepay-weak",
                      "eligible": true,
                      "reasons": [],
                      "source": "decision-lab-assessment:19afe6638c989643ad0abc4556703fe99eca885539a611f36643aa9107df7ed4#plan=plan-000004&state=prepay-weak"
                    }
                  ]
                }
              }
            },
            "presentation": {
              "schemaVersion": 1,
              "provider": "native-learning-value",
              "contract": "learning-value-assessment/1",
              "views": []
            },
            "viewContracts": [],
            "fields": [],
            "reports": [
              "comparison",
              "responses",
              "sensitivity",
              "inputs",
              "history"
            ],
            "defaultReport": "comparison",
            "originWorkspaceId": null,
            "createdAt": "2026-11-22T18:00:00.000Z",
            "contentHash": "c2d194000415cb9cb4c4f0124fffd4464391334896645a74bdadec575ff5047b"
          },
          "sourceProvenance": "supplied",
          "contentHash": "521aad0c71c44b9ec3cc979e0bb0bda410cbfb1e6415b4ee82f087ec8fdac068"
        },
        "packageHash": "521aad0c71c44b9ec3cc979e0bb0bda410cbfb1e6415b4ee82f087ec8fdac068"
      }
    ],
    "questions": [
      {
        "id": "opening-cash",
        "label": "Cash available at the start",
        "question": "How much cash is available before this growth commitment?",
        "meaning": "Available opening cash in minor currency units after obligations outside this case have already been accounted for. Do not subtract those obligations again.",
        "path": "growth.openingCashMinor",
        "type": "number",
        "role": "growth-owner",
        "required": true
      },
      {
        "id": "cash-reserve",
        "label": "Minimum cash reserve",
        "question": "What minimum cash balance must remain available?",
        "meaning": "A minimum balance maintained after every ordered payment or receipt, including intermediate events on the same date.",
        "path": "growth.minimumReserveMinor",
        "type": "number",
        "role": "growth-owner",
        "required": true
      },
      {
        "id": "package-price",
        "label": "Collected price per customer",
        "question": "How much will each customer pay for the standardized package?",
        "meaning": "Full collected price per customer in minor currency units. Collection timing is declared separately for every arrangement and situation.",
        "path": "growth.unitPriceMinor",
        "type": "number",
        "role": "growth-owner",
        "required": true
      },
      {
        "id": "delivery-expense",
        "label": "Delivery expense per customer",
        "question": "What additional delivery expense does one customer create?",
        "meaning": "Incremental complete delivery expense per customer in minor currency units. The campaign expense is committed separately and does not shrink when fewer customers buy.",
        "path": "growth.deliveryExpensePerCustomerMinor",
        "type": "number",
        "role": "growth-owner",
        "required": true
      },
      {
        "id": "delivery-effort",
        "label": "Delivery effort per customer",
        "question": "How many delivery hours does each customer require?",
        "meaning": "Whole delivery hours per standardized customer package. Only capacity within the declared delivery period supports that work.",
        "path": "growth.deliveryHoursPerCustomer",
        "type": "number",
        "role": "growth-owner",
        "required": true
      },
      {
        "id": "current-day",
        "label": "Current decision day",
        "question": "On which day can we make the growth commitment?",
        "meaning": "Whole elapsed days from the declared origin. All nonzero operating cash events must still be in the future at commitment time.",
        "path": "growth.currentDay",
        "type": "number",
        "role": "growth-owner",
        "required": true
      },
      {
        "id": "decision-cutoff",
        "label": "Growth commitment cutoff",
        "question": "By which day must we commit to an expansion arrangement?",
        "meaning": "Latest elapsed day for a growth arrangement. The no-expansion alternative remains available after this cutoff.",
        "path": "growth.decisionDeadlineDay",
        "type": "number",
        "role": "growth-owner",
        "required": true
      },
      {
        "id": "comparison-horizon",
        "label": "Complete comparison horizon",
        "question": "Through which day does this comparison include cash and delivery?",
        "meaning": "All nonzero payments, receipts and complete customer delivery must lie within this horizon. Extending a contract requires its full obligations, not only a favorable first month.",
        "path": "growth.horizonDay",
        "type": "number",
        "role": "growth-owner",
        "required": true
      },
      {
        "id": "campaign-target",
        "label": "Contribution target above campaign expense",
        "question": "How much contribution must remain after campaign expense?",
        "meaning": "A stated monetary hurdle above recovering the committed campaign expense. This target does not predict how many genuinely additional customers will be acquired.",
        "path": "growth.campaignSurplusTargetMinor",
        "type": "number",
        "role": "growth-owner",
        "required": true
      },
      {
        "id": "campaign-expenses",
        "label": "Committed campaign expenses",
        "question": "What campaign expense is committed for each arrangement?",
        "meaning": "Complete campaign expense in minor currency units, paid independently of customer response. Arrangement identities and payment-term meanings are fixed by the authored app.",
        "path": "growth.arrangements",
        "type": "array",
        "role": "growth-owner",
        "required": true
      },
      {
        "id": "operating-situations",
        "label": "Declared operating situations",
        "question": "Which demand and collection situations must the arrangements withstand?",
        "meaning": "Explicit joint situations, not probability samples. Every arrangement needs exactly one complete outcome in every declared situation.",
        "path": "growth.scenarios",
        "type": "array",
        "role": "growth-owner",
        "required": true
      },
      {
        "id": "customer-outcomes",
        "label": "Customers, collection and delivery",
        "question": "What customers, cash dates and delivery work are assumed in each situation?",
        "meaning": "Customer count, complete payment and receipt dates, delivery interval and capacity period for every arrangement and situation. These are declared assumptions; the app does not forecast sales.",
        "path": "growth.outcomes",
        "type": "array",
        "role": "growth-owner",
        "required": true
      },
      {
        "id": "delivery-capacity",
        "label": "Available delivery capacity",
        "question": "How many hours are available in the delivery period?",
        "meaning": "Available hours during the specified complete period, after other work has been accounted for once. Work must fit inside that period as well as within its available hours.",
        "path": "growth.capacityPeriods",
        "type": "array",
        "role": "growth-owner",
        "required": true
      },
      {
        "id": "learning-enabled",
        "path": "learning.enabled",
        "type": "boolean",
        "role": "growth-owner",
        "required": false,
        "label": "Compare a preference test",
        "question": "Should we also calculate the value of a nonbinding preference test?",
        "meaning": "Optional expected-contribution analysis. Missing probabilities or test assumptions do not prevent the operating comparison."
      },
      {
        "id": "learning-basis",
        "path": "learning.basis",
        "type": "object",
        "role": "growth-owner",
        "required": false,
        "label": "Test and probability assumptions",
        "question": "Which test cost, delay, probabilities and signal likelihoods are defensible?",
        "meaning": "Explicit priors and a complete likelihood matrix for the two authored payment-response situations. The nonbinding test collects no money or orders. Its fee and elapsed days are counted before the complete response."
      }
    ],
    "steps": [
      {
        "id": "planning",
        "title": "Calculate fundable and deliverable growth arrangements",
        "app": "planning",
        "role": "growth-owner",
        "dependsOn": [],
        "requires": [
          "opening-cash",
          "cash-reserve",
          "package-price",
          "delivery-expense",
          "delivery-effort",
          "current-day",
          "decision-cutoff",
          "comparison-horizon",
          "campaign-target",
          "campaign-expenses",
          "operating-situations",
          "customer-outcomes",
          "delivery-capacity"
        ],
        "input": {
          "id": {
            "literal": "next-month-growth"
          },
          "provenance": {
            "literal": [
              {
                "id": "fictional-growth-basis",
                "description": "Fictional incremental planning estimates. Opening cash is already unrestricted growth funding after existing obligations; those obligations are not deducted a second time. Customer forecasts and payment promises are assumptions, not guaranteed sales or bank receipts."
              }
            ]
          },
          "parameters": {
            "openingCashMinor": {
              "ref": "case.growth.openingCashMinor"
            },
            "minimumReserveMinor": {
              "ref": "case.growth.minimumReserveMinor"
            },
            "unitPriceMinor": {
              "ref": "case.growth.unitPriceMinor"
            },
            "deliveryExpensePerCustomerMinor": {
              "ref": "case.growth.deliveryExpensePerCustomerMinor"
            },
            "deliveryHoursPerCustomer": {
              "ref": "case.growth.deliveryHoursPerCustomer"
            },
            "currentDay": {
              "ref": "case.growth.currentDay"
            },
            "decisionDeadlineDay": {
              "ref": "case.growth.decisionDeadlineDay"
            },
            "horizonDay": {
              "ref": "case.growth.horizonDay"
            },
            "campaignSurplusTargetMinor": {
              "ref": "case.growth.campaignSurplusTargetMinor"
            }
          },
          "tables": {
            "arrangements": {
              "ref": "case.growth.arrangements"
            },
            "scenarios": {
              "ref": "case.growth.scenarios"
            },
            "outcomes": {
              "ref": "case.growth.outcomes"
            },
            "capacityPeriods": {
              "ref": "case.growth.capacityPeriods"
            },
            "_resources": {
              "literal": []
            },
            "_bookings": {
              "literal": []
            }
          }
        },
        "output": {
          "plans": {
            "op": "map",
            "args": [
              {
                "ref": "assessment.plans"
              },
              {
                "id": {
                  "ref": "vars.plan.choices.arrangement"
                },
                "planId": {
                  "ref": "vars.plan.id"
                },
                "label": {
                  "op": "get",
                  "args": [
                    {
                      "literal": {
                        "baseline": "Keep the current approach",
                        "large-invoice": "Large campaign with invoiced payment",
                        "small-invoice": "Small campaign with invoiced payment",
                        "medium-prepay": "Medium campaign with payment before delivery"
                      }
                    },
                    {
                      "ref": "vars.plan.choices.arrangement"
                    }
                  ]
                },
                "feasible": {
                  "ref": "vars.plan.feasible"
                },
                "preferred": false,
                "cashHeadroom": {
                  "op": "get",
                  "args": [
                    {
                      "op": "sort",
                      "args": [
                        {
                          "op": "map",
                          "args": [
                            {
                              "ref": "vars.plan.scenarios"
                            },
                            {
                              "ref": "vars.measure.derived.cashHeadroom"
                            }
                          ],
                          "as": "measure"
                        }
                      ]
                    },
                    0
                  ]
                },
                "capacityHeadroom": {
                  "op": "get",
                  "args": [
                    {
                      "op": "sort",
                      "args": [
                        {
                          "op": "map",
                          "args": [
                            {
                              "ref": "vars.plan.scenarios"
                            },
                            {
                              "ref": "vars.measure.derived.capacityHeadroom"
                            }
                          ],
                          "as": "measure"
                        }
                      ]
                    },
                    0
                  ]
                },
                "expense": {
                  "op": "get",
                  "args": [
                    {
                      "op": "sort",
                      "args": [
                        {
                          "op": "map",
                          "args": [
                            {
                              "ref": "vars.plan.scenarios"
                            },
                            {
                              "ref": "vars.measure.derived.totalExpense"
                            }
                          ],
                          "as": "measure"
                        }
                      ]
                    },
                    {
                      "op": "subtract",
                      "args": [
                        {
                          "op": "length",
                          "args": [
                            {
                              "op": "map",
                              "args": [
                                {
                                  "ref": "vars.plan.scenarios"
                                },
                                {
                                  "ref": "vars.measure.derived.totalExpense"
                                }
                              ],
                              "as": "measure"
                            }
                          ]
                        },
                        1
                      ]
                    }
                  ]
                },
                "peakFundingRequired": {
                  "op": "get",
                  "args": [
                    {
                      "op": "sort",
                      "args": [
                        {
                          "op": "map",
                          "args": [
                            {
                              "ref": "vars.plan.scenarios"
                            },
                            {
                              "ref": "vars.measure.derived.peakFundingRequired"
                            }
                          ],
                          "as": "measure"
                        }
                      ]
                    },
                    {
                      "op": "subtract",
                      "args": [
                        {
                          "op": "length",
                          "args": [
                            {
                              "op": "map",
                              "args": [
                                {
                                  "ref": "vars.plan.scenarios"
                                },
                                {
                                  "ref": "vars.measure.derived.peakFundingRequired"
                                }
                              ],
                              "as": "measure"
                            }
                          ]
                        },
                        1
                      ]
                    }
                  ]
                },
                "blocker": {
                  "op": "if",
                  "args": [
                    {
                      "op": "eq",
                      "args": [
                        {
                          "op": "length",
                          "args": [
                            {
                              "ref": "vars.plan.blockers"
                            }
                          ]
                        },
                        0
                      ]
                    },
                    "None under the declared situations",
                    {
                      "op": "get",
                      "args": [
                        {
                          "literal": {
                            "baseline-expense": "Keep the current-approach alternative free of incremental campaign expense",
                            "baseline-customers": "Keep the current-approach alternative free of forecast incremental customers",
                            "cash-reserve": "Keep available cash at or above the required reserve after every receipt and payment",
                            "delivery-capacity": "The complete customer workload fits the recorded delivery-period capacity",
                            "delivery-period": "The complete delivery interval fits its declared capacity period",
                            "decision-cutoff": "Choose a new campaign before the recorded commitment cutoff",
                            "planning-horizon": "The comparison horizon includes every nonzero payment, customer receipt and actual delivery completion",
                            "future-campaignExpenseDay": "The campaign expense day has not already passed when making this future commitment",
                            "future-deliveryExpenseDay": "The delivery expense day has not already passed when making this future commitment",
                            "future-customerReceiptDay": "The customer receipt day has not already passed when making this future commitment",
                            "future-delivery": "Forecast delivery starts no earlier than the planning day",
                            "payment-terms": "Customer receipt timing retains the authored invoice or payment-before-delivery terms"
                          }
                        },
                        {
                          "op": "get",
                          "args": [
                            {
                              "op": "get",
                              "args": [
                                {
                                  "ref": "vars.plan.blockers"
                                },
                                0
                              ]
                            },
                            "constraintId"
                          ]
                        }
                      ]
                    }
                  ]
                },
                "blockers": {
                  "op": "map",
                  "args": [
                    {
                      "ref": "vars.plan.blockers"
                    },
                    {
                      "condition": {
                        "op": "get",
                        "args": [
                          {
                            "literal": {
                              "baseline-expense": "Keep the current-approach alternative free of incremental campaign expense",
                              "baseline-customers": "Keep the current-approach alternative free of forecast incremental customers",
                              "cash-reserve": "Keep available cash at or above the required reserve after every receipt and payment",
                              "delivery-capacity": "The complete customer workload fits the recorded delivery-period capacity",
                              "delivery-period": "The complete delivery interval fits its declared capacity period",
                              "decision-cutoff": "Choose a new campaign before the recorded commitment cutoff",
                              "planning-horizon": "The comparison horizon includes every nonzero payment, customer receipt and actual delivery completion",
                              "future-campaignExpenseDay": "The campaign expense day has not already passed when making this future commitment",
                              "future-deliveryExpenseDay": "The delivery expense day has not already passed when making this future commitment",
                              "future-customerReceiptDay": "The customer receipt day has not already passed when making this future commitment",
                              "future-delivery": "Forecast delivery starts no earlier than the planning day",
                              "payment-terms": "Customer receipt timing retains the authored invoice or payment-before-delivery terms"
                            }
                          },
                          {
                            "ref": "vars.unmet.constraintId"
                          }
                        ]
                      },
                      "requirement": {
                        "ref": "vars.unmet.requirement"
                      },
                      "situation": {
                        "ref": "vars.unmet.scenarioId"
                      }
                    }
                  ],
                  "as": "unmet"
                },
                "scenarios": {
                  "op": "map",
                  "args": [
                    {
                      "ref": "vars.plan.scenarios"
                    },
                    {
                      "id": {
                        "ref": "vars.situation.id"
                      },
                      "label": {
                        "op": "get",
                        "args": [
                          {
                            "op": "get",
                            "args": [
                              {
                                "op": "filter",
                                "args": [
                                  {
                                    "ref": "case.growth.scenarios"
                                  },
                                  {
                                    "op": "eq",
                                    "args": [
                                      {
                                        "ref": "vars.meaning.id"
                                      },
                                      {
                                        "ref": "vars.situation.id"
                                      }
                                    ]
                                  }
                                ],
                                "as": "meaning"
                              },
                              0
                            ]
                          },
                          "label"
                        ]
                      },
                      "feasible": {
                        "ref": "vars.situation.passed"
                      },
                      "customers": {
                        "ref": "vars.situation.derived.customers"
                      },
                      "campaignExpense": {
                        "ref": "vars.situation.derived.campaignExpense"
                      },
                      "deliveryExpense": {
                        "ref": "vars.situation.derived.deliveryExpense"
                      },
                      "customerReceipts": {
                        "ref": "vars.situation.derived.customerReceipts"
                      },
                      "totalExpense": {
                        "ref": "vars.situation.derived.totalExpense"
                      },
                      "netContribution": {
                        "ref": "vars.situation.derived.netContribution"
                      },
                      "capacityHours": {
                        "ref": "vars.situation.derived.capacityHours"
                      },
                      "availableHours": {
                        "ref": "vars.situation.derived.availableHours"
                      },
                      "capacityHeadroom": {
                        "ref": "vars.situation.derived.capacityHeadroom"
                      },
                      "cashHeadroom": {
                        "ref": "vars.situation.derived.cashHeadroom"
                      },
                      "peakFundingRequired": {
                        "ref": "vars.situation.derived.peakFundingRequired"
                      },
                      "minimumCashBalance": {
                        "ref": "vars.situation.derived.minimumCashBalance"
                      },
                      "endingCashBalance": {
                        "ref": "vars.situation.derived.endingCashBalance"
                      },
                      "deliveryStartDay": {
                        "ref": "vars.situation.derived.deliveryStartDay"
                      },
                      "deliveryFinishDay": {
                        "ref": "vars.situation.derived.deliveryFinishDay"
                      },
                      "blockers": {
                        "op": "map",
                        "args": [
                          {
                            "op": "filter",
                            "args": [
                              {
                                "ref": "vars.situation.constraints"
                              },
                              {
                                "op": "eq",
                                "args": [
                                  {
                                    "ref": "vars.check.passed"
                                  },
                                  false
                                ]
                              }
                            ],
                            "as": "check"
                          },
                          {
                            "condition": {
                              "op": "get",
                              "args": [
                                {
                                  "literal": {
                                    "baseline-expense": "Keep the current-approach alternative free of incremental campaign expense",
                                    "baseline-customers": "Keep the current-approach alternative free of forecast incremental customers",
                                    "cash-reserve": "Keep available cash at or above the required reserve after every receipt and payment",
                                    "delivery-capacity": "The complete customer workload fits the recorded delivery-period capacity",
                                    "delivery-period": "The complete delivery interval fits its declared capacity period",
                                    "decision-cutoff": "Choose a new campaign before the recorded commitment cutoff",
                                    "planning-horizon": "The comparison horizon includes every nonzero payment, customer receipt and actual delivery completion",
                                    "future-campaignExpenseDay": "The campaign expense day has not already passed when making this future commitment",
                                    "future-deliveryExpenseDay": "The delivery expense day has not already passed when making this future commitment",
                                    "future-customerReceiptDay": "The customer receipt day has not already passed when making this future commitment",
                                    "future-delivery": "Forecast delivery starts no earlier than the planning day",
                                    "payment-terms": "Customer receipt timing retains the authored invoice or payment-before-delivery terms"
                                  }
                                },
                                {
                                  "ref": "vars.unmet.id"
                                }
                              ]
                            },
                            "requirement": {
                              "ref": "vars.unmet.requirement"
                            },
                            "constraintId": {
                              "ref": "vars.unmet.id"
                            }
                          }
                        ],
                        "as": "unmet"
                      }
                    }
                  ],
                  "as": "situation"
                }
              }
            ],
            "as": "plan"
          }
        },
        "acceptWhen": {
          "op": "and",
          "args": [
            {
              "op": "eq",
              "args": [
                {
                  "ref": "assessment.status"
                },
                "complete"
              ]
            },
            {
              "op": "eq",
              "args": [
                {
                  "ref": "assessment.coverage.complete"
                },
                true
              ]
            }
          ]
        }
      },
      {
        "id": "planning-after-test",
        "title": "Calculate complete arrangements after test expense and delay",
        "app": "planning",
        "role": "growth-owner",
        "dependsOn": [
          "planning"
        ],
        "requires": [
          "opening-cash",
          "cash-reserve",
          "package-price",
          "delivery-expense",
          "delivery-effort",
          "current-day",
          "decision-cutoff",
          "comparison-horizon",
          "campaign-target",
          "campaign-expenses",
          "operating-situations",
          "customer-outcomes",
          "delivery-capacity",
          "learning-enabled",
          "learning-basis"
        ],
        "when": {
          "op": "eq",
          "args": [
            {
              "ref": "case.learning.enabled"
            },
            true
          ]
        },
        "input": {
          "id": {
            "literal": "next-month-growth"
          },
          "provenance": {
            "literal": [
              {
                "id": "fictional-growth-basis",
                "description": "Fictional incremental planning estimates. Opening cash is already unrestricted growth funding after existing obligations; those obligations are not deducted a second time. Customer forecasts and payment promises are assumptions, not guaranteed sales or bank receipts."
              }
            ]
          },
          "parameters": {
            "openingCashMinor": {
              "op": "subtract",
              "args": [
                {
                  "ref": "case.growth.openingCashMinor"
                },
                {
                  "ref": "case.learning.basis.feeMinor"
                }
              ]
            },
            "minimumReserveMinor": {
              "ref": "case.growth.minimumReserveMinor"
            },
            "unitPriceMinor": {
              "ref": "case.growth.unitPriceMinor"
            },
            "deliveryExpensePerCustomerMinor": {
              "ref": "case.growth.deliveryExpensePerCustomerMinor"
            },
            "deliveryHoursPerCustomer": {
              "ref": "case.growth.deliveryHoursPerCustomer"
            },
            "currentDay": {
              "op": "add",
              "args": [
                {
                  "ref": "case.growth.currentDay"
                },
                {
                  "ref": "case.learning.basis.durationDays"
                }
              ]
            },
            "decisionDeadlineDay": {
              "ref": "case.growth.decisionDeadlineDay"
            },
            "horizonDay": {
              "ref": "case.growth.horizonDay"
            },
            "campaignSurplusTargetMinor": {
              "ref": "case.growth.campaignSurplusTargetMinor"
            }
          },
          "tables": {
            "arrangements": {
              "ref": "case.growth.arrangements"
            },
            "scenarios": {
              "ref": "case.growth.scenarios"
            },
            "outcomes": {
              "ref": "case.growth.outcomes"
            },
            "capacityPeriods": {
              "ref": "case.growth.capacityPeriods"
            },
            "_resources": {
              "literal": []
            },
            "_bookings": {
              "literal": []
            }
          }
        },
        "output": {
          "plans": {
            "op": "map",
            "args": [
              {
                "ref": "assessment.plans"
              },
              {
                "id": {
                  "ref": "vars.plan.choices.arrangement"
                },
                "planId": {
                  "ref": "vars.plan.id"
                },
                "label": {
                  "op": "get",
                  "args": [
                    {
                      "literal": {
                        "baseline": "Keep the current approach",
                        "large-invoice": "Large campaign with invoiced payment",
                        "small-invoice": "Small campaign with invoiced payment",
                        "medium-prepay": "Medium campaign with payment before delivery"
                      }
                    },
                    {
                      "ref": "vars.plan.choices.arrangement"
                    }
                  ]
                },
                "feasible": {
                  "ref": "vars.plan.feasible"
                },
                "preferred": false,
                "cashHeadroom": {
                  "op": "get",
                  "args": [
                    {
                      "op": "sort",
                      "args": [
                        {
                          "op": "map",
                          "args": [
                            {
                              "ref": "vars.plan.scenarios"
                            },
                            {
                              "ref": "vars.measure.derived.cashHeadroom"
                            }
                          ],
                          "as": "measure"
                        }
                      ]
                    },
                    0
                  ]
                },
                "capacityHeadroom": {
                  "op": "get",
                  "args": [
                    {
                      "op": "sort",
                      "args": [
                        {
                          "op": "map",
                          "args": [
                            {
                              "ref": "vars.plan.scenarios"
                            },
                            {
                              "ref": "vars.measure.derived.capacityHeadroom"
                            }
                          ],
                          "as": "measure"
                        }
                      ]
                    },
                    0
                  ]
                },
                "expense": {
                  "op": "get",
                  "args": [
                    {
                      "op": "sort",
                      "args": [
                        {
                          "op": "map",
                          "args": [
                            {
                              "ref": "vars.plan.scenarios"
                            },
                            {
                              "ref": "vars.measure.derived.totalExpense"
                            }
                          ],
                          "as": "measure"
                        }
                      ]
                    },
                    {
                      "op": "subtract",
                      "args": [
                        {
                          "op": "length",
                          "args": [
                            {
                              "op": "map",
                              "args": [
                                {
                                  "ref": "vars.plan.scenarios"
                                },
                                {
                                  "ref": "vars.measure.derived.totalExpense"
                                }
                              ],
                              "as": "measure"
                            }
                          ]
                        },
                        1
                      ]
                    }
                  ]
                },
                "peakFundingRequired": {
                  "op": "get",
                  "args": [
                    {
                      "op": "sort",
                      "args": [
                        {
                          "op": "map",
                          "args": [
                            {
                              "ref": "vars.plan.scenarios"
                            },
                            {
                              "ref": "vars.measure.derived.peakFundingRequired"
                            }
                          ],
                          "as": "measure"
                        }
                      ]
                    },
                    {
                      "op": "subtract",
                      "args": [
                        {
                          "op": "length",
                          "args": [
                            {
                              "op": "map",
                              "args": [
                                {
                                  "ref": "vars.plan.scenarios"
                                },
                                {
                                  "ref": "vars.measure.derived.peakFundingRequired"
                                }
                              ],
                              "as": "measure"
                            }
                          ]
                        },
                        1
                      ]
                    }
                  ]
                },
                "blocker": {
                  "op": "if",
                  "args": [
                    {
                      "op": "eq",
                      "args": [
                        {
                          "op": "length",
                          "args": [
                            {
                              "ref": "vars.plan.blockers"
                            }
                          ]
                        },
                        0
                      ]
                    },
                    "None under the declared situations",
                    {
                      "op": "get",
                      "args": [
                        {
                          "literal": {
                            "baseline-expense": "Keep the current-approach alternative free of incremental campaign expense",
                            "baseline-customers": "Keep the current-approach alternative free of forecast incremental customers",
                            "cash-reserve": "Keep available cash at or above the required reserve after every receipt and payment",
                            "delivery-capacity": "The complete customer workload fits the recorded delivery-period capacity",
                            "delivery-period": "The complete delivery interval fits its declared capacity period",
                            "decision-cutoff": "Choose a new campaign before the recorded commitment cutoff",
                            "planning-horizon": "The comparison horizon includes every nonzero payment, customer receipt and actual delivery completion",
                            "future-campaignExpenseDay": "The campaign expense day has not already passed when making this future commitment",
                            "future-deliveryExpenseDay": "The delivery expense day has not already passed when making this future commitment",
                            "future-customerReceiptDay": "The customer receipt day has not already passed when making this future commitment",
                            "future-delivery": "Forecast delivery starts no earlier than the planning day",
                            "payment-terms": "Customer receipt timing retains the authored invoice or payment-before-delivery terms"
                          }
                        },
                        {
                          "op": "get",
                          "args": [
                            {
                              "op": "get",
                              "args": [
                                {
                                  "ref": "vars.plan.blockers"
                                },
                                0
                              ]
                            },
                            "constraintId"
                          ]
                        }
                      ]
                    }
                  ]
                },
                "blockers": {
                  "op": "map",
                  "args": [
                    {
                      "ref": "vars.plan.blockers"
                    },
                    {
                      "condition": {
                        "op": "get",
                        "args": [
                          {
                            "literal": {
                              "baseline-expense": "Keep the current-approach alternative free of incremental campaign expense",
                              "baseline-customers": "Keep the current-approach alternative free of forecast incremental customers",
                              "cash-reserve": "Keep available cash at or above the required reserve after every receipt and payment",
                              "delivery-capacity": "The complete customer workload fits the recorded delivery-period capacity",
                              "delivery-period": "The complete delivery interval fits its declared capacity period",
                              "decision-cutoff": "Choose a new campaign before the recorded commitment cutoff",
                              "planning-horizon": "The comparison horizon includes every nonzero payment, customer receipt and actual delivery completion",
                              "future-campaignExpenseDay": "The campaign expense day has not already passed when making this future commitment",
                              "future-deliveryExpenseDay": "The delivery expense day has not already passed when making this future commitment",
                              "future-customerReceiptDay": "The customer receipt day has not already passed when making this future commitment",
                              "future-delivery": "Forecast delivery starts no earlier than the planning day",
                              "payment-terms": "Customer receipt timing retains the authored invoice or payment-before-delivery terms"
                            }
                          },
                          {
                            "ref": "vars.unmet.constraintId"
                          }
                        ]
                      },
                      "requirement": {
                        "ref": "vars.unmet.requirement"
                      },
                      "situation": {
                        "ref": "vars.unmet.scenarioId"
                      }
                    }
                  ],
                  "as": "unmet"
                },
                "scenarios": {
                  "op": "map",
                  "args": [
                    {
                      "ref": "vars.plan.scenarios"
                    },
                    {
                      "id": {
                        "ref": "vars.situation.id"
                      },
                      "label": {
                        "op": "get",
                        "args": [
                          {
                            "op": "get",
                            "args": [
                              {
                                "op": "filter",
                                "args": [
                                  {
                                    "ref": "case.growth.scenarios"
                                  },
                                  {
                                    "op": "eq",
                                    "args": [
                                      {
                                        "ref": "vars.meaning.id"
                                      },
                                      {
                                        "ref": "vars.situation.id"
                                      }
                                    ]
                                  }
                                ],
                                "as": "meaning"
                              },
                              0
                            ]
                          },
                          "label"
                        ]
                      },
                      "feasible": {
                        "ref": "vars.situation.passed"
                      },
                      "customers": {
                        "ref": "vars.situation.derived.customers"
                      },
                      "campaignExpense": {
                        "ref": "vars.situation.derived.campaignExpense"
                      },
                      "deliveryExpense": {
                        "ref": "vars.situation.derived.deliveryExpense"
                      },
                      "customerReceipts": {
                        "ref": "vars.situation.derived.customerReceipts"
                      },
                      "totalExpense": {
                        "ref": "vars.situation.derived.totalExpense"
                      },
                      "netContribution": {
                        "ref": "vars.situation.derived.netContribution"
                      },
                      "capacityHours": {
                        "ref": "vars.situation.derived.capacityHours"
                      },
                      "availableHours": {
                        "ref": "vars.situation.derived.availableHours"
                      },
                      "capacityHeadroom": {
                        "ref": "vars.situation.derived.capacityHeadroom"
                      },
                      "cashHeadroom": {
                        "ref": "vars.situation.derived.cashHeadroom"
                      },
                      "peakFundingRequired": {
                        "ref": "vars.situation.derived.peakFundingRequired"
                      },
                      "minimumCashBalance": {
                        "ref": "vars.situation.derived.minimumCashBalance"
                      },
                      "endingCashBalance": {
                        "ref": "vars.situation.derived.endingCashBalance"
                      },
                      "deliveryStartDay": {
                        "ref": "vars.situation.derived.deliveryStartDay"
                      },
                      "deliveryFinishDay": {
                        "ref": "vars.situation.derived.deliveryFinishDay"
                      },
                      "blockers": {
                        "op": "map",
                        "args": [
                          {
                            "op": "filter",
                            "args": [
                              {
                                "ref": "vars.situation.constraints"
                              },
                              {
                                "op": "eq",
                                "args": [
                                  {
                                    "ref": "vars.check.passed"
                                  },
                                  false
                                ]
                              }
                            ],
                            "as": "check"
                          },
                          {
                            "condition": {
                              "op": "get",
                              "args": [
                                {
                                  "literal": {
                                    "baseline-expense": "Keep the current-approach alternative free of incremental campaign expense",
                                    "baseline-customers": "Keep the current-approach alternative free of forecast incremental customers",
                                    "cash-reserve": "Keep available cash at or above the required reserve after every receipt and payment",
                                    "delivery-capacity": "The complete customer workload fits the recorded delivery-period capacity",
                                    "delivery-period": "The complete delivery interval fits its declared capacity period",
                                    "decision-cutoff": "Choose a new campaign before the recorded commitment cutoff",
                                    "planning-horizon": "The comparison horizon includes every nonzero payment, customer receipt and actual delivery completion",
                                    "future-campaignExpenseDay": "The campaign expense day has not already passed when making this future commitment",
                                    "future-deliveryExpenseDay": "The delivery expense day has not already passed when making this future commitment",
                                    "future-customerReceiptDay": "The customer receipt day has not already passed when making this future commitment",
                                    "future-delivery": "Forecast delivery starts no earlier than the planning day",
                                    "payment-terms": "Customer receipt timing retains the authored invoice or payment-before-delivery terms"
                                  }
                                },
                                {
                                  "ref": "vars.unmet.id"
                                }
                              ]
                            },
                            "requirement": {
                              "ref": "vars.unmet.requirement"
                            },
                            "constraintId": {
                              "ref": "vars.unmet.id"
                            }
                          }
                        ],
                        "as": "unmet"
                      }
                    }
                  ],
                  "as": "situation"
                }
              }
            ],
            "as": "plan"
          }
        },
        "acceptWhen": {
          "op": "and",
          "args": [
            {
              "op": "eq",
              "args": [
                {
                  "ref": "assessment.status"
                },
                "complete"
              ]
            },
            {
              "op": "eq",
              "args": [
                {
                  "ref": "assessment.coverage.complete"
                },
                true
              ]
            }
          ]
        },
        "checks": [
          {
            "id": "fund-test",
            "message": "The test fee must be funded before calculating after-test arrangements.",
            "test": {
              "op": "gte",
              "args": [
                {
                  "ref": "case.growth.openingCashMinor"
                },
                {
                  "ref": "case.learning.basis.feeMinor"
                }
              ]
            }
          },
          {
            "id": "learning-situations",
            "message": "The payment-terms comparison requires exactly the two authored situations: prepay-accepted and prepay-weak. Supply complete outcomes for every arrangement in both situations.",
            "test": {
              "op": "eq",
              "args": [
                {
                  "op": "sort",
                  "args": [
                    {
                      "op": "map",
                      "args": [
                        {
                          "ref": "case.growth.scenarios"
                        },
                        {
                          "ref": "vars.state.id"
                        }
                      ],
                      "as": "state"
                    }
                  ]
                },
                {
                  "literal": [
                    "prepay-accepted",
                    "prepay-weak"
                  ]
                }
              ]
            }
          }
        ]
      },
      {
        "id": "learning",
        "title": "Compare choosing now with a nonbinding preference test",
        "app": "learning",
        "role": "growth-owner",
        "dependsOn": [
          "planning",
          "planning-after-test"
        ],
        "requires": [
          "learning-enabled",
          "learning-basis"
        ],
        "when": {
          "op": "eq",
          "args": [
            {
              "ref": "case.learning.enabled"
            },
            true
          ]
        },
        "input": {
          "id": "GROWTH-payment-learning",
          "scope": "growth-commitment / profile 1.0.0 / next-month package and campaign window",
          "currentTime": {
            "ref": "case.growth.currentDay"
          },
          "cashBudget": {
            "op": "subtract",
            "args": [
              {
                "ref": "case.growth.openingCashMinor"
              },
              {
                "ref": "case.growth.minimumReserveMinor"
              }
            ]
          },
          "probabilityBasis": {
            "ref": "case.learning.basis.probabilityBasis"
          },
          "priors": {
            "ref": "case.learning.basis.priors"
          },
          "acceptedFacts": [],
          "actions": {
            "op": "map",
            "args": [
              {
                "ref": "steps.planning.output.plans"
              },
              {
                "action": {
                  "ref": "vars.action.id"
                },
                "cash": {
                  "ref": "vars.action.peakFundingRequired"
                },
                "deadline": {
                  "op": "if",
                  "args": [
                    {
                      "op": "eq",
                      "args": [
                        {
                          "ref": "vars.action.id"
                        },
                        "baseline"
                      ]
                    },
                    null,
                    {
                      "ref": "case.growth.decisionDeadlineDay"
                    }
                  ]
                }
              }
            ],
            "as": "action"
          },
          "payoffs": {
            "op": "flatMap",
            "args": [
              {
                "ref": "steps.planning.output.plans"
              },
              {
                "op": "map",
                "args": [
                  {
                    "ref": "vars.action.scenarios"
                  },
                  {
                    "action": {
                      "ref": "vars.action.id"
                    },
                    "state": {
                      "ref": "vars.state.id"
                    },
                    "value": {
                      "ref": "vars.state.netContribution"
                    }
                  }
                ],
                "as": "state"
              }
            ],
            "as": "action"
          },
          "studies": [
            {
              "study": "payment-preference-test",
              "fee": {
                "ref": "case.learning.basis.feeMinor"
              },
              "duration": {
                "ref": "case.learning.basis.durationDays"
              },
              "likelihoods": {
                "ref": "case.learning.basis.likelihoods"
              }
            }
          ],
          "executionFeasibility": {
            "admittedStateIds": {
              "literal": [
                "prepay-accepted",
                "prepay-weak"
              ]
            },
            "contexts": [
              {
                "context": "no-study",
                "currentTime": {
                  "ref": "case.growth.currentDay"
                },
                "cashBudget": {
                  "op": "subtract",
                  "args": [
                    {
                      "ref": "case.growth.openingCashMinor"
                    },
                    {
                      "ref": "case.growth.minimumReserveMinor"
                    }
                  ]
                },
                "fee": 0,
                "duration": 0
              },
              {
                "context": "payment-preference-test",
                "currentTime": {
                  "ref": "case.growth.currentDay"
                },
                "cashBudget": {
                  "op": "subtract",
                  "args": [
                    {
                      "ref": "case.growth.openingCashMinor"
                    },
                    {
                      "ref": "case.growth.minimumReserveMinor"
                    }
                  ]
                },
                "fee": {
                  "ref": "case.learning.basis.feeMinor"
                },
                "duration": {
                  "ref": "case.learning.basis.durationDays"
                }
              }
            ],
            "reportSupport": {
              "literal": [
                {
                  "study": "payment-preference-test",
                  "report": "favorable",
                  "state": "prepay-accepted",
                  "possible": true
                },
                {
                  "study": "payment-preference-test",
                  "report": "unfavorable",
                  "state": "prepay-accepted",
                  "possible": true
                },
                {
                  "study": "payment-preference-test",
                  "report": "inconclusive",
                  "state": "prepay-accepted",
                  "possible": true
                },
                {
                  "study": "payment-preference-test",
                  "report": "favorable",
                  "state": "prepay-weak",
                  "possible": true
                },
                {
                  "study": "payment-preference-test",
                  "report": "unfavorable",
                  "state": "prepay-weak",
                  "possible": true
                },
                {
                  "study": "payment-preference-test",
                  "report": "inconclusive",
                  "state": "prepay-weak",
                  "possible": true
                }
              ]
            },
            "eligibility": {
              "op": "concat",
              "args": [
                {
                  "op": "flatMap",
                  "args": [
                    {
                      "ref": "steps.planning.output.plans"
                    },
                    {
                      "op": "map",
                      "args": [
                        {
                          "ref": "vars.eligiblePlan.scenarios"
                        },
                        {
                          "context": "no-study",
                          "action": {
                            "ref": "vars.eligiblePlan.id"
                          },
                          "state": {
                            "ref": "vars.eligibleState.id"
                          },
                          "eligible": {
                            "ref": "vars.eligibleState.feasible"
                          },
                          "reasons": {
                            "op": "map",
                            "args": [
                              {
                                "ref": "vars.eligibleState.blockers"
                              },
                              {
                                "ref": "vars.failure.constraintId"
                              }
                            ],
                            "as": "failure"
                          },
                          "source": {
                            "op": "stringConcat",
                            "args": [
                              "decision-lab-run:",
                              {
                                "ref": "steps.planning.runHash"
                              },
                              "#plan=",
                              {
                                "ref": "vars.eligiblePlan.planId"
                              },
                              "&state=",
                              {
                                "ref": "vars.eligibleState.id"
                              }
                            ]
                          }
                        }
                      ],
                      "as": "eligibleState"
                    }
                  ],
                  "as": "eligiblePlan"
                },
                {
                  "op": "flatMap",
                  "args": [
                    {
                      "ref": "steps.planning-after-test.output.plans"
                    },
                    {
                      "op": "map",
                      "args": [
                        {
                          "ref": "vars.eligiblePlan.scenarios"
                        },
                        {
                          "context": "payment-preference-test",
                          "action": {
                            "ref": "vars.eligiblePlan.id"
                          },
                          "state": {
                            "ref": "vars.eligibleState.id"
                          },
                          "eligible": {
                            "ref": "vars.eligibleState.feasible"
                          },
                          "reasons": {
                            "op": "map",
                            "args": [
                              {
                                "ref": "vars.eligibleState.blockers"
                              },
                              {
                                "ref": "vars.failure.constraintId"
                              }
                            ],
                            "as": "failure"
                          },
                          "source": {
                            "op": "stringConcat",
                            "args": [
                              "decision-lab-run:",
                              {
                                "ref": "steps.planning-after-test.runHash"
                              },
                              "#plan=",
                              {
                                "ref": "vars.eligiblePlan.planId"
                              },
                              "&state=",
                              {
                                "ref": "vars.eligibleState.id"
                              }
                            ]
                          }
                        }
                      ],
                      "as": "eligibleState"
                    }
                  ],
                  "as": "eligiblePlan"
                }
              ]
            }
          }
        },
        "checks": [
          {
            "id": "reserve-funded",
            "message": "The opening cash does not fund the required reserve. Resolve the operating cash shortfall before calculating optional learning value.",
            "test": {
              "op": "gte",
              "args": [
                {
                  "ref": "case.growth.openingCashMinor"
                },
                {
                  "ref": "case.growth.minimumReserveMinor"
                }
              ]
            }
          }
        ],
        "output": {
          "baseline": {
            "ref": "assessment.baseline"
          },
          "comparison": {
            "ref": "assessment.comparison"
          },
          "studies": {
            "ref": "assessment.studies"
          },
          "recommendation": {
            "ref": "assessment.recommendation"
          }
        },
        "acceptWhen": {
          "op": "and",
          "args": [
            {
              "op": "eq",
              "args": [
                {
                  "ref": "assessment.status"
                },
                "complete"
              ]
            },
            {
              "op": "eq",
              "args": [
                {
                  "ref": "assessment.coverage.complete"
                },
                true
              ]
            }
          ]
        }
      }
    ],
    "conditions": [
      {
        "id": "inputs-supplied",
        "label": "Every required operating input is supplied",
        "test": {
          "op": "and",
          "args": [
            {
              "op": "eq",
              "args": [
                {
                  "ref": "answers.opening-cash.status"
                },
                "supplied"
              ]
            },
            {
              "op": "eq",
              "args": [
                {
                  "ref": "answers.cash-reserve.status"
                },
                "supplied"
              ]
            },
            {
              "op": "eq",
              "args": [
                {
                  "ref": "answers.package-price.status"
                },
                "supplied"
              ]
            },
            {
              "op": "eq",
              "args": [
                {
                  "ref": "answers.delivery-expense.status"
                },
                "supplied"
              ]
            },
            {
              "op": "eq",
              "args": [
                {
                  "ref": "answers.delivery-effort.status"
                },
                "supplied"
              ]
            },
            {
              "op": "eq",
              "args": [
                {
                  "ref": "answers.current-day.status"
                },
                "supplied"
              ]
            },
            {
              "op": "eq",
              "args": [
                {
                  "ref": "answers.decision-cutoff.status"
                },
                "supplied"
              ]
            },
            {
              "op": "eq",
              "args": [
                {
                  "ref": "answers.comparison-horizon.status"
                },
                "supplied"
              ]
            },
            {
              "op": "eq",
              "args": [
                {
                  "ref": "answers.campaign-target.status"
                },
                "supplied"
              ]
            },
            {
              "op": "eq",
              "args": [
                {
                  "ref": "answers.campaign-expenses.status"
                },
                "supplied"
              ]
            },
            {
              "op": "eq",
              "args": [
                {
                  "ref": "answers.operating-situations.status"
                },
                "supplied"
              ]
            },
            {
              "op": "eq",
              "args": [
                {
                  "ref": "answers.customer-outcomes.status"
                },
                "supplied"
              ]
            },
            {
              "op": "eq",
              "args": [
                {
                  "ref": "answers.delivery-capacity.status"
                },
                "supplied"
              ]
            }
          ]
        }
      },
      {
        "id": "planning-current",
        "label": "The complete growth comparison is current",
        "test": {
          "op": "eq",
          "args": [
            {
              "ref": "steps.planning.status"
            },
            "complete"
          ]
        }
      },
      {
        "id": "has-options",
        "label": "A complete arrangement meets all declared requirements",
        "test": {
          "op": "gt",
          "args": [
            {
              "op": "length",
              "args": [
                {
                  "op": "filter",
                  "args": [
                    {
                      "ref": "steps.planning.output.plans"
                    },
                    {
                      "op": "eq",
                      "args": [
                        {
                          "ref": "vars.candidate.feasible"
                        },
                        true
                      ]
                    }
                  ],
                  "as": "candidate"
                }
              ]
            },
            0
          ]
        }
      },
      {
        "id": "has-growth",
        "label": "An expansion arrangement meets all declared requirements",
        "test": {
          "op": "gt",
          "args": [
            {
              "op": "length",
              "args": [
                {
                  "op": "filter",
                  "args": [
                    {
                      "op": "filter",
                      "args": [
                        {
                          "ref": "steps.planning.output.plans"
                        },
                        {
                          "op": "eq",
                          "args": [
                            {
                              "ref": "vars.candidate.feasible"
                            },
                            true
                          ]
                        }
                      ],
                      "as": "candidate"
                    },
                    {
                      "op": "ne",
                      "args": [
                        {
                          "ref": "vars.candidate.id"
                        },
                        "baseline"
                      ]
                    }
                  ],
                  "as": "candidate"
                }
              ]
            },
            0
          ]
        }
      },
      {
        "id": "can-compare",
        "label": "Current complete arrangements can be compared",
        "test": {
          "op": "and",
          "args": [
            {
              "ref": "conditions.planning-current"
            },
            {
              "ref": "conditions.has-options"
            }
          ]
        }
      },
      {
        "id": "must-revise",
        "label": "No supplied expansion arrangement meets the recorded requirements",
        "test": {
          "op": "and",
          "args": [
            {
              "ref": "conditions.planning-current"
            },
            {
              "op": "not",
              "args": [
                {
                  "ref": "conditions.has-growth"
                }
              ]
            }
          ]
        }
      },
      {
        "id": "learning-requested",
        "label": "The optional nonbinding preference comparison is requested",
        "test": {
          "op": "eq",
          "args": [
            {
              "ref": "case.learning.enabled"
            },
            true
          ]
        }
      },
      {
        "id": "learning-current",
        "label": "The optional preference-test calculation is current",
        "test": {
          "op": "eq",
          "args": [
            {
              "ref": "steps.learning.status"
            },
            "complete"
          ]
        }
      },
      {
        "id": "learning-needs-attention",
        "label": "The requested learning calculation needs current complete inputs and results",
        "test": {
          "op": "and",
          "args": [
            {
              "op": "eq",
              "args": [
                {
                  "ref": "case.learning.enabled"
                },
                true
              ]
            },
            {
              "op": "not",
              "args": [
                {
                  "ref": "conditions.learning-current"
                }
              ]
            }
          ]
        }
      }
    ],
    "brief": {
      "sections": [
        {
          "id": "decision-summary",
          "title": "Growth decision",
          "value": {
            "op": "if",
            "args": [
              {
                "ref": "conditions.planning-current"
              },
              {
                "status": {
                  "op": "if",
                  "args": [
                    {
                      "ref": "conditions.has-options"
                    },
                    "choice",
                    "blocked"
                  ]
                },
                "heading": {
                  "op": "if",
                  "args": [
                    {
                      "ref": "conditions.has-growth"
                    },
                    "Expansion arrangements meet the declared funding and delivery requirements.",
                    {
                      "op": "if",
                      "args": [
                        {
                          "ref": "conditions.has-options"
                        },
                        "Only the no-expansion arrangement meets the declared requirements.",
                        "No supplied arrangement meets the declared requirements."
                      ]
                    }
                  ]
                },
                "priorityLabel": "Feasibility comparison; no growth arrangement is automatically selected.",
                "qualification": "Results cover the supplied complete arrangements and declared joint situations. Cash availability and customer contribution are separate findings.",
                "metrics": [
                  {
                    "id": "growth-count",
                    "label": "Passing expansion arrangements",
                    "value": {
                      "op": "length",
                      "args": [
                        {
                          "op": "filter",
                          "args": [
                            {
                              "op": "filter",
                              "args": [
                                {
                                  "ref": "steps.planning.output.plans"
                                },
                                {
                                  "op": "eq",
                                  "args": [
                                    {
                                      "ref": "vars.candidate.feasible"
                                    },
                                    true
                                  ]
                                }
                              ],
                              "as": "candidate"
                            },
                            {
                              "op": "ne",
                              "args": [
                                {
                                  "ref": "vars.candidate.id"
                                },
                                "baseline"
                              ]
                            }
                          ],
                          "as": "candidate"
                        }
                      ]
                    },
                    "format": "number"
                  }
                ],
                "rows": {
                  "ref": "steps.planning.output.plans"
                }
              },
              null
            ]
          }
        },
        {
          "id": "arrangements",
          "title": "Complete growth arrangements",
          "value": {
            "op": "if",
            "args": [
              {
                "ref": "conditions.planning-current"
              },
              {
                "ref": "steps.planning.output.plans"
              },
              []
            ]
          }
        },
        {
          "id": "operating-detail",
          "title": "Situation-specific operating and financial findings",
          "value": {
            "op": "if",
            "args": [
              {
                "ref": "conditions.planning-current"
              },
              {
                "op": "flatMap",
                "args": [
                  {
                    "ref": "steps.planning.output.plans"
                  },
                  {
                    "op": "map",
                    "args": [
                      {
                        "ref": "vars.arrangement.scenarios"
                      },
                      {
                        "id": {
                          "op": "stringConcat",
                          "args": [
                            {
                              "ref": "vars.arrangement.id"
                            },
                            ":",
                            {
                              "ref": "vars.situation.id"
                            }
                          ]
                        },
                        "arrangementId": {
                          "ref": "vars.arrangement.id"
                        },
                        "label": {
                          "op": "stringConcat",
                          "args": [
                            {
                              "ref": "vars.arrangement.label"
                            },
                            " · ",
                            {
                              "ref": "vars.situation.label"
                            }
                          ]
                        },
                        "arrangement": {
                          "ref": "vars.arrangement.label"
                        },
                        "situation": {
                          "ref": "vars.situation.label"
                        },
                        "feasible": {
                          "ref": "vars.situation.feasible"
                        },
                        "preferred": false,
                        "customers": {
                          "ref": "vars.situation.customers"
                        },
                        "cashHeadroom": {
                          "ref": "vars.situation.cashHeadroom"
                        },
                        "peakFundingRequired": {
                          "ref": "vars.situation.peakFundingRequired"
                        },
                        "minimumCashBalance": {
                          "ref": "vars.situation.minimumCashBalance"
                        },
                        "endingCashBalance": {
                          "ref": "vars.situation.endingCashBalance"
                        },
                        "capacityHours": {
                          "ref": "vars.situation.capacityHours"
                        },
                        "availableHours": {
                          "ref": "vars.situation.availableHours"
                        },
                        "capacityHeadroom": {
                          "ref": "vars.situation.capacityHeadroom"
                        },
                        "campaignExpense": {
                          "ref": "vars.situation.campaignExpense"
                        },
                        "deliveryExpense": {
                          "ref": "vars.situation.deliveryExpense"
                        },
                        "customerReceipts": {
                          "ref": "vars.situation.customerReceipts"
                        },
                        "totalExpense": {
                          "ref": "vars.situation.totalExpense"
                        },
                        "netContribution": {
                          "ref": "vars.situation.netContribution"
                        },
                        "deliveryStartDay": {
                          "ref": "vars.situation.deliveryStartDay"
                        },
                        "deliveryFinishDay": {
                          "ref": "vars.situation.deliveryFinishDay"
                        },
                        "unitContribution": {
                          "op": "subtract",
                          "args": [
                            {
                              "ref": "case.growth.unitPriceMinor"
                            },
                            {
                              "ref": "case.growth.deliveryExpensePerCustomerMinor"
                            }
                          ]
                        },
                        "contributionTarget": {
                          "ref": "case.growth.campaignSurplusTargetMinor"
                        },
                        "customersToReachTarget": {
                          "op": "if",
                          "args": [
                            {
                              "op": "eq",
                              "args": [
                                {
                                  "ref": "vars.arrangement.id"
                                },
                                "baseline"
                              ]
                            },
                            null,
                            {
                              "op": "if",
                              "args": [
                                {
                                  "op": "eq",
                                  "args": [
                                    {
                                      "op": "add",
                                      "args": [
                                        {
                                          "ref": "vars.situation.campaignExpense"
                                        },
                                        {
                                          "ref": "case.growth.campaignSurplusTargetMinor"
                                        }
                                      ]
                                    },
                                    0
                                  ]
                                },
                                0,
                                {
                                  "op": "if",
                                  "args": [
                                    {
                                      "op": "gt",
                                      "args": [
                                        {
                                          "op": "subtract",
                                          "args": [
                                            {
                                              "ref": "case.growth.unitPriceMinor"
                                            },
                                            {
                                              "ref": "case.growth.deliveryExpensePerCustomerMinor"
                                            }
                                          ]
                                        },
                                        0
                                      ]
                                    },
                                    {
                                      "op": "ceilDivide",
                                      "args": [
                                        {
                                          "op": "add",
                                          "args": [
                                            {
                                              "ref": "vars.situation.campaignExpense"
                                            },
                                            {
                                              "ref": "case.growth.campaignSurplusTargetMinor"
                                            }
                                          ]
                                        },
                                        {
                                          "op": "subtract",
                                          "args": [
                                            {
                                              "ref": "case.growth.unitPriceMinor"
                                            },
                                            {
                                              "ref": "case.growth.deliveryExpensePerCustomerMinor"
                                            }
                                          ]
                                        }
                                      ]
                                    },
                                    null
                                  ]
                                }
                              ]
                            }
                          ]
                        },
                        "customersToExceedExpense": {
                          "op": "if",
                          "args": [
                            {
                              "op": "eq",
                              "args": [
                                {
                                  "ref": "vars.arrangement.id"
                                },
                                "baseline"
                              ]
                            },
                            null,
                            {
                              "op": "if",
                              "args": [
                                {
                                  "op": "gt",
                                  "args": [
                                    {
                                      "op": "subtract",
                                      "args": [
                                        {
                                          "ref": "case.growth.unitPriceMinor"
                                        },
                                        {
                                          "ref": "case.growth.deliveryExpensePerCustomerMinor"
                                        }
                                      ]
                                    },
                                    0
                                  ]
                                },
                                {
                                  "op": "add",
                                  "args": [
                                    {
                                      "op": "floorDivide",
                                      "args": [
                                        {
                                          "ref": "vars.situation.campaignExpense"
                                        },
                                        {
                                          "op": "subtract",
                                          "args": [
                                            {
                                              "ref": "case.growth.unitPriceMinor"
                                            },
                                            {
                                              "ref": "case.growth.deliveryExpensePerCustomerMinor"
                                            }
                                          ]
                                        }
                                      ]
                                    },
                                    1
                                  ]
                                },
                                null
                              ]
                            }
                          ]
                        },
                        "hurdleStatus": {
                          "op": "if",
                          "args": [
                            {
                              "op": "eq",
                              "args": [
                                {
                                  "ref": "vars.arrangement.id"
                                },
                                "baseline"
                              ]
                            },
                            "No incremental campaign; no acquisition hurdle applies.",
                            {
                              "op": "if",
                              "args": [
                                {
                                  "op": "gt",
                                  "args": [
                                    {
                                      "op": "subtract",
                                      "args": [
                                        {
                                          "ref": "case.growth.unitPriceMinor"
                                        },
                                        {
                                          "ref": "case.growth.deliveryExpensePerCustomerMinor"
                                        }
                                      ]
                                    },
                                    0
                                  ]
                                },
                                "Conditional performance requirement; customer response is not established.",
                                {
                                  "op": "if",
                                  "args": [
                                    {
                                      "op": "eq",
                                      "args": [
                                        {
                                          "op": "add",
                                          "args": [
                                            {
                                              "ref": "vars.situation.campaignExpense"
                                            },
                                            {
                                              "ref": "case.growth.campaignSurplusTargetMinor"
                                            }
                                          ]
                                        },
                                        0
                                      ]
                                    },
                                    "No acquisition contribution is needed to cover zero campaign expense. Additional customers do not create positive unit contribution.",
                                    "Nonpositive contribution per customer cannot reach this positive hurdle."
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      }
                    ],
                    "as": "situation"
                  }
                ],
                "as": "arrangement"
              },
              []
            ]
          }
        },
        {
          "id": "decision-basis",
          "title": "Growth assumptions and limits",
          "value": {
            "scope": "One standardized service package, four authored complete arrangements and an explicit finite set of joint customer and collection situations.",
            "assumptions": [
              "Opening cash and delivery capacity are available after other obligations have been counted once.",
              "Campaign expense is committed independently of the eventual customer count. Price, customer count and collection dates are explicit assumptions rather than sales forecasts.",
              "Cash events on the same day follow the authored event order. A receipt cannot fund an earlier payment merely because their dates match.",
              "Every nonzero payment, customer receipt and complete delivery obligation must fall within the comparison horizon.",
              "The campaign hurdle is a required customer count, not evidence of additional demand, causal marketing effectiveness or earned profit.",
              "A preference-test signal is optional information. Its explicit hypothetical probabilities never replace complete funding, capacity and timing checks."
            ],
            "unresolvedQuestions": [
              {
                "id": "demand",
                "label": "Are the customer counts and collection dates defensible for this campaign and payment offer?"
              },
              {
                "id": "cost-capacity",
                "label": "Do the recorded cash, complete expenses and available delivery hours remain valid?"
              },
              {
                "id": "choice",
                "label": "Which supported commitment best serves the business when consequences outside this bounded model are considered?"
              }
            ]
          }
        },
        {
          "id": "learning-comparison",
          "title": "Optional preference-test comparison",
          "value": {
            "op": "if",
            "args": [
              {
                "ref": "conditions.learning-current"
              },
              {
                "ref": "steps.learning.output"
              },
              null
            ]
          }
        }
      ],
      "actions": [
        {
          "id": "supply-inputs",
          "label": "Supply the missing operating inputs",
          "when": {
            "op": "not",
            "args": [
              {
                "ref": "conditions.inputs-supplied"
              }
            ]
          },
          "value": {
            "summary": "Resolve the listed unanswered or unknown values before comparing complete commitments."
          }
        },
        {
          "id": "compare-arrangements",
          "label": "Compare the supported growth commitments",
          "when": {
            "ref": "conditions.can-compare"
          },
          "value": {
            "summary": "Compare cash headroom, delivery capacity and the conditional customer hurdle. A passing result does not select or authorize a commitment."
          }
        },
        {
          "id": "resolve-blockers",
          "label": "Change the growth arrangements or resolve their operating blockers",
          "when": {
            "ref": "conditions.must-revise"
          },
          "value": {
            "summary": "Inspect unmet cash, capacity and timing requirements for the expansion arrangements. Keeping the current approach remains available when its own requirements fit. No passing supplied expansion arrangement does not prove that every possible growth plan is impossible."
          }
        },
        {
          "id": "inspect-learning",
          "label": "Inspect the response to each possible preference signal",
          "when": {
            "ref": "conditions.learning-current"
          },
          "value": {
            "summary": "Compare choosing now with the complete test-and-response policy. Customer response remains uncertain until evidence exists."
          }
        },
        {
          "id": "complete-learning",
          "label": "Complete or correct the optional test comparison",
          "when": {
            "ref": "conditions.learning-needs-attention"
          },
          "value": {
            "summary": "Supply both authored operating situations, complete outcomes, test expense and delay, and explicit probability assumptions. The current operating comparison remains usable while the optional calculation is unresolved."
          }
        }
      ],
      "completion": {
        "ref": "conditions.planning-current"
      }
    },
    "decisionProcess": {
      "title": "Choose a fundable and deliverable growth commitment",
      "description": "Operating findings determine which commitments can be compared. Optional learning improves a choice only when a usable complete response remains available.",
      "entryNodeIds": [
        "inputs"
      ],
      "nodes": [
        {
          "id": "inputs",
          "kind": "stage",
          "label": "Supply complete growth assumptions and operating limits",
          "questionIds": [
            "opening-cash",
            "cash-reserve",
            "package-price",
            "delivery-expense",
            "delivery-effort",
            "current-day",
            "decision-cutoff",
            "comparison-horizon",
            "campaign-target",
            "campaign-expenses",
            "operating-situations",
            "customer-outcomes",
            "delivery-capacity"
          ]
        },
        {
          "id": "input-check",
          "kind": "decision",
          "label": "Are the required operating values supplied?",
          "conditionId": "inputs-supplied"
        },
        {
          "id": "missing",
          "kind": "action",
          "label": "Supply unanswered or unknown values",
          "actionId": "supply-inputs"
        },
        {
          "id": "planning",
          "kind": "stage",
          "label": "Calculate complete cash and delivery feasibility",
          "stepIds": [
            "planning"
          ]
        },
        {
          "id": "has-options",
          "kind": "decision",
          "label": "Does a supplied complete arrangement satisfy the requirements?",
          "conditionId": "has-options"
        },
        {
          "id": "has-growth",
          "kind": "decision",
          "label": "Does a supplied expansion arrangement satisfy the requirements?",
          "conditionId": "has-growth"
        },
        {
          "id": "compare",
          "kind": "action",
          "label": "Compare supported commitments and campaign hurdles",
          "actionId": "compare-arrangements"
        },
        {
          "id": "blocked",
          "kind": "action",
          "label": "Resolve blockers or change the complete arrangements",
          "actionId": "resolve-blockers"
        },
        {
          "id": "choose",
          "kind": "outcome",
          "label": "Choose a supported commitment with its stated assumptions",
          "sectionIds": [
            "decision-summary"
          ]
        },
        {
          "id": "learning-check",
          "kind": "decision",
          "label": "Is a nonbinding preference test being considered?",
          "conditionId": "learning-requested"
        },
        {
          "id": "learning",
          "kind": "stage",
          "label": "Check complete responses after test fee and delay, then compare expected contribution",
          "stepIds": [
            "planning-after-test",
            "learning"
          ]
        },
        {
          "id": "learning-ready",
          "kind": "decision",
          "label": "Is the requested test-and-response comparison current and complete?",
          "conditionId": "learning-current"
        },
        {
          "id": "learning-inputs",
          "kind": "action",
          "label": "Complete or correct optional test assumptions",
          "actionId": "complete-learning"
        },
        {
          "id": "test-responses",
          "kind": "action",
          "label": "Inspect the response to each possible signal",
          "actionId": "inspect-learning"
        }
      ],
      "edges": [
        {
          "id": "inputs-check",
          "from": "inputs",
          "to": "input-check",
          "label": "Use complete operating assumptions"
        },
        {
          "id": "inputs-ready",
          "from": "input-check",
          "to": "planning",
          "label": "Required values supplied",
          "outcome": "true"
        },
        {
          "id": "inputs-missing",
          "from": "input-check",
          "to": "missing",
          "label": "A required value is unavailable",
          "outcome": "false"
        },
        {
          "id": "calculate-options",
          "from": "planning",
          "to": "has-options",
          "label": "Use the complete native commitment result"
        },
        {
          "id": "calculate-growth",
          "from": "planning",
          "to": "has-growth",
          "label": "Check expansion separately from keeping the current approach"
        },
        {
          "id": "options-compare",
          "from": "has-options",
          "to": "compare",
          "label": "At least one complete arrangement passes",
          "outcome": "true"
        },
        {
          "id": "options-blocked",
          "from": "has-options",
          "to": "blocked",
          "label": "No supplied complete arrangement passes",
          "outcome": "false"
        },
        {
          "id": "growth-compare",
          "from": "has-growth",
          "to": "compare",
          "label": "A complete expansion arrangement passes",
          "outcome": "true"
        },
        {
          "id": "growth-blocked",
          "from": "has-growth",
          "to": "blocked",
          "label": "No supplied expansion arrangement passes",
          "outcome": "false"
        },
        {
          "id": "options-unknown",
          "from": "has-options",
          "to": "inputs",
          "label": "Required operating facts remain unavailable",
          "outcome": "unknown",
          "kind": "reassessment"
        },
        {
          "id": "options-not-calculated",
          "from": "has-options",
          "to": "inputs",
          "label": "Calculate the complete arrangements first",
          "outcome": "not-calculated",
          "kind": "reassessment"
        },
        {
          "id": "options-stale",
          "from": "has-options",
          "to": "inputs",
          "label": "Operating inputs changed; recalculate",
          "outcome": "stale",
          "kind": "reassessment"
        },
        {
          "id": "options-error",
          "from": "has-options",
          "to": "inputs",
          "label": "Correct invalid inputs or a calculation failure",
          "outcome": "error",
          "kind": "reassessment"
        },
        {
          "id": "growth-unknown",
          "from": "has-growth",
          "to": "inputs",
          "label": "Required growth facts remain unavailable",
          "outcome": "unknown",
          "kind": "reassessment"
        },
        {
          "id": "growth-not-calculated",
          "from": "has-growth",
          "to": "inputs",
          "label": "Calculate the expansion arrangements first",
          "outcome": "not-calculated",
          "kind": "reassessment"
        },
        {
          "id": "growth-stale",
          "from": "has-growth",
          "to": "inputs",
          "label": "Growth inputs changed; recalculate",
          "outcome": "stale",
          "kind": "reassessment"
        },
        {
          "id": "growth-error",
          "from": "has-growth",
          "to": "inputs",
          "label": "Correct invalid inputs or a calculation failure",
          "outcome": "error",
          "kind": "reassessment"
        },
        {
          "id": "missing-return",
          "from": "missing",
          "to": "inputs",
          "label": "Supply or correct the missing facts",
          "kind": "reassessment"
        },
        {
          "id": "blocked-return",
          "from": "blocked",
          "to": "inputs",
          "label": "Change operating facts or author another arrangement",
          "kind": "reassessment"
        },
        {
          "id": "compare-learning",
          "from": "compare",
          "to": "learning-check",
          "label": "Consider whether further information could improve the choice"
        },
        {
          "id": "learning-yes",
          "from": "learning-check",
          "to": "learning",
          "label": "The optional test comparison is requested",
          "outcome": "true"
        },
        {
          "id": "learning-no",
          "from": "learning-check",
          "to": "choose",
          "label": "Use operating findings without a learning calculation",
          "outcome": "false"
        },
        {
          "id": "learning-result",
          "from": "learning",
          "to": "learning-ready",
          "label": "Retain a complete current calculation"
        },
        {
          "id": "learning-responses",
          "from": "learning-ready",
          "to": "test-responses",
          "label": "Use supplied probabilities and native operating eligibility",
          "outcome": "true"
        },
        {
          "id": "learning-incomplete",
          "from": "learning-ready",
          "to": "learning-inputs",
          "label": "The optional calculation is missing, stale or invalid",
          "outcome": "false"
        },
        {
          "id": "learning-return",
          "from": "learning-inputs",
          "to": "inputs",
          "label": "Supply complete operating situations and test assumptions, then recalculate",
          "kind": "reassessment"
        },
        {
          "id": "responses-choose",
          "from": "test-responses",
          "to": "choose",
          "label": "Compare acting now with the full test-and-response policy"
        }
      ],
      "groups": [
        {
          "id": "basis",
          "label": "1. Define the complete commitment",
          "nodeIds": [
            "inputs",
            "input-check",
            "missing"
          ]
        },
        {
          "id": "operating",
          "label": "2. Establish funding and delivery feasibility",
          "nodeIds": [
            "planning",
            "has-options",
            "has-growth",
            "compare",
            "blocked"
          ]
        },
        {
          "id": "choice",
          "label": "3. Decide whether to commit or learn first",
          "nodeIds": [
            "learning-check",
            "learning",
            "learning-ready",
            "learning-inputs",
            "test-responses",
            "choose"
          ]
        }
      ],
      "actionGroups": [
        {
          "id": "operating-next",
          "label": "Available next actions",
          "selection": "all-matching",
          "actionIds": [
            "supply-inputs",
            "compare-arrangements",
            "resolve-blockers",
            "inspect-learning",
            "complete-learning"
          ]
        }
      ]
    },
    "initialCase": {
      "growth": {
        "openingCashMinor": 1200000,
        "minimumReserveMinor": 0,
        "unitPriceMinor": 150000,
        "deliveryExpensePerCustomerMinor": 50000,
        "deliveryHoursPerCustomer": 5,
        "currentDay": 0,
        "decisionDeadlineDay": 3,
        "horizonDay": 60,
        "campaignSurplusTargetMinor": 0,
        "arrangements": [
          {
            "id": "baseline",
            "campaignExpenseMinor": 0
          },
          {
            "id": "large-invoice",
            "campaignExpenseMinor": 800000
          },
          {
            "id": "small-invoice",
            "campaignExpenseMinor": 200000
          },
          {
            "id": "medium-prepay",
            "campaignExpenseMinor": 400000
          }
        ],
        "scenarios": [
          {
            "id": "recorded",
            "label": "Recorded planning estimates"
          }
        ],
        "outcomes": [
          {
            "scenario": "recorded",
            "arrangement": "baseline",
            "customers": 0,
            "campaignExpenseDay": 0,
            "deliveryExpenseDay": 0,
            "customerReceiptDay": 0,
            "deliveryStartDay": 0,
            "deliveryFinishDay": 0,
            "capacityPeriod": "delivery-period"
          },
          {
            "scenario": "recorded",
            "arrangement": "large-invoice",
            "customers": 40,
            "campaignExpenseDay": 3,
            "deliveryExpenseDay": 7,
            "customerReceiptDay": 30,
            "deliveryStartDay": 7,
            "deliveryFinishDay": 14,
            "capacityPeriod": "delivery-period"
          },
          {
            "scenario": "recorded",
            "arrangement": "small-invoice",
            "customers": 10,
            "campaignExpenseDay": 3,
            "deliveryExpenseDay": 7,
            "customerReceiptDay": 30,
            "deliveryStartDay": 7,
            "deliveryFinishDay": 14,
            "capacityPeriod": "delivery-period"
          },
          {
            "scenario": "recorded",
            "arrangement": "medium-prepay",
            "customers": 20,
            "campaignExpenseDay": 3,
            "deliveryExpenseDay": 7,
            "customerReceiptDay": 4,
            "deliveryStartDay": 7,
            "deliveryFinishDay": 14,
            "capacityPeriod": "delivery-period"
          }
        ],
        "capacityPeriods": [
          {
            "id": "delivery-period",
            "from": 0,
            "through": 30,
            "availableHours": 140
          }
        ]
      },
      "learning": {
        "enabled": false,
        "basis": {
          "feeMinor": 50000,
          "durationDays": 1,
          "probabilityBasis": {
            "source": "FICTIONAL-TEACHING-ASSESSMENT-1: Explicit hypothetical probabilities and signal reliability; not evidence interpretation counts or measured demand.",
            "scope": "One standardized service package and the next-month campaign window"
          },
          "priors": [
            {
              "state": "prepay-accepted",
              "probability": 0.5
            },
            {
              "state": "prepay-weak",
              "probability": 0.5
            }
          ],
          "likelihoods": [
            {
              "state": "prepay-accepted",
              "report": "favorable",
              "probability": 0.7
            },
            {
              "state": "prepay-accepted",
              "report": "unfavorable",
              "probability": 0.1
            },
            {
              "state": "prepay-accepted",
              "report": "inconclusive",
              "probability": 0.2
            },
            {
              "state": "prepay-weak",
              "report": "favorable",
              "probability": 0.1
            },
            {
              "state": "prepay-weak",
              "report": "unfavorable",
              "probability": 0.7
            },
            {
              "state": "prepay-weak",
              "report": "inconclusive",
              "probability": 0.2
            }
          ]
        }
      }
    },
    "metadata": {
      "caseSchema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "growth"
        ],
        "properties": {
          "growth": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "openingCashMinor": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0
              },
              "minimumReserveMinor": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0
              },
              "unitPriceMinor": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0
              },
              "deliveryExpensePerCustomerMinor": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0
              },
              "deliveryHoursPerCustomer": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 1
              },
              "currentDay": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0
              },
              "decisionDeadlineDay": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0
              },
              "horizonDay": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 1
              },
              "campaignSurplusTargetMinor": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0
              },
              "arrangements": {
                "type": "array",
                "maxItems": 256,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "campaignExpenseMinor"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "enum": [
                        "baseline",
                        "large-invoice",
                        "small-invoice",
                        "medium-prepay"
                      ]
                    },
                    "campaignExpenseMinor": {
                      "type": "integer",
                      "minimum": 0
                    }
                  }
                }
              },
              "scenarios": {
                "type": "array",
                "maxItems": 256,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "label"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    }
                  }
                }
              },
              "outcomes": {
                "type": "array",
                "maxItems": 256,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "scenario",
                    "arrangement",
                    "customers",
                    "campaignExpenseDay",
                    "deliveryExpenseDay",
                    "customerReceiptDay",
                    "deliveryStartDay",
                    "deliveryFinishDay",
                    "capacityPeriod"
                  ],
                  "properties": {
                    "scenario": {
                      "type": "string"
                    },
                    "arrangement": {
                      "type": "string",
                      "enum": [
                        "baseline",
                        "large-invoice",
                        "small-invoice",
                        "medium-prepay"
                      ]
                    },
                    "customers": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "campaignExpenseDay": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "deliveryExpenseDay": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "customerReceiptDay": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "deliveryStartDay": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "deliveryFinishDay": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "capacityPeriod": {
                      "type": "string"
                    }
                  }
                }
              },
              "capacityPeriods": {
                "type": "array",
                "maxItems": 256,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "from",
                    "through",
                    "availableHours"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "from": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "through": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "availableHours": {
                      "type": "integer",
                      "minimum": 0
                    }
                  }
                }
              }
            }
          },
          "learning": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "enabled": {
                "type": "boolean"
              },
              "basis": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "feeMinor": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "durationDays": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "probabilityBasis": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "source",
                      "scope"
                    ],
                    "properties": {
                      "source": {
                        "type": "string"
                      },
                      "scope": {
                        "type": "string"
                      }
                    }
                  },
                  "priors": {
                    "type": "array",
                    "maxItems": 64,
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "state",
                        "probability"
                      ],
                      "properties": {
                        "state": {
                          "type": "string"
                        },
                        "probability": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 1
                        }
                      }
                    }
                  },
                  "likelihoods": {
                    "type": "array",
                    "maxItems": 64,
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "state",
                        "report",
                        "probability"
                      ],
                      "properties": {
                        "state": {
                          "type": "string"
                        },
                        "report": {
                          "type": "string"
                        },
                        "probability": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 1
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "caseStart": {
        "starterMeaning": "example",
        "supportsOwnData": false,
        "scope": "A fictional service business with four authored complete arrangements and one standardized package. Edit the explicit case values; adapt the app for other arrangements, payment structures, activity dependencies or services."
      },
      "presentation": {
        "version": 1,
        "questions": {
          "opening-cash": {
            "type": "number",
            "label": "Cash available at the start",
            "integer": true,
            "minimum": 0,
            "displayScale": 100,
            "unit": "USD"
          },
          "cash-reserve": {
            "type": "number",
            "label": "Minimum cash reserve",
            "integer": true,
            "minimum": 0,
            "displayScale": 100,
            "unit": "USD"
          },
          "package-price": {
            "type": "number",
            "label": "Collected price per customer",
            "integer": true,
            "minimum": 0,
            "displayScale": 100,
            "unit": "USD"
          },
          "delivery-expense": {
            "type": "number",
            "label": "Delivery expense per customer",
            "integer": true,
            "minimum": 0,
            "displayScale": 100,
            "unit": "USD"
          },
          "delivery-effort": {
            "type": "number",
            "label": "Delivery effort per customer",
            "integer": true,
            "minimum": 1,
            "unit": "hours per customer"
          },
          "current-day": {
            "type": "number",
            "label": "Current decision day",
            "integer": true,
            "minimum": 0,
            "unit": "day"
          },
          "decision-cutoff": {
            "type": "number",
            "label": "Growth commitment cutoff",
            "integer": true,
            "minimum": 0,
            "unit": "day"
          },
          "comparison-horizon": {
            "type": "number",
            "label": "Complete comparison horizon",
            "integer": true,
            "minimum": 1,
            "unit": "day"
          },
          "campaign-target": {
            "type": "number",
            "label": "Contribution target above campaign expense",
            "integer": true,
            "minimum": 0,
            "displayScale": 100,
            "unit": "USD"
          },
          "campaign-expenses": {
            "type": "array",
            "label": "Committed campaign expenses",
            "collapseRecords": true,
            "summaryFields": [
              "id"
            ],
            "valueLabels": {
              "baseline": "Keep the current approach",
              "large-invoice": "Large campaign with invoiced payment",
              "small-invoice": "Small campaign with invoiced payment",
              "medium-prepay": "Medium campaign with payment before delivery"
            },
            "items": {
              "type": "object",
              "label": "Committed campaign expenses",
              "fields": {
                "id": {
                  "type": "string",
                  "label": "Arrangement",
                  "options": [
                    {
                      "value": "baseline",
                      "label": "Keep the current approach"
                    },
                    {
                      "value": "large-invoice",
                      "label": "Large campaign with invoiced payment"
                    },
                    {
                      "value": "small-invoice",
                      "label": "Small campaign with invoiced payment"
                    },
                    {
                      "value": "medium-prepay",
                      "label": "Medium campaign with payment before delivery"
                    }
                  ]
                },
                "campaignExpenseMinor": {
                  "type": "number",
                  "label": "Committed campaign expense",
                  "integer": true,
                  "minimum": 0,
                  "displayScale": 100,
                  "unit": "USD"
                }
              }
            }
          },
          "operating-situations": {
            "type": "array",
            "label": "Declared operating situations",
            "collapseRecords": true,
            "summaryFields": [
              "id",
              "label"
            ],
            "items": {
              "type": "object",
              "label": "Declared operating situations",
              "fields": {
                "id": {
                  "type": "string",
                  "label": "Situation reference"
                },
                "label": {
                  "type": "string",
                  "label": "Situation meaning"
                }
              }
            }
          },
          "customer-outcomes": {
            "type": "array",
            "label": "Customers, collection and delivery",
            "collapseRecords": true,
            "summaryFields": [
              "scenario",
              "arrangement"
            ],
            "valueLabels": {
              "baseline": "Keep the current approach",
              "large-invoice": "Large campaign with invoiced payment",
              "small-invoice": "Small campaign with invoiced payment",
              "medium-prepay": "Medium campaign with payment before delivery"
            },
            "items": {
              "type": "object",
              "label": "Customers, collection and delivery",
              "fields": {
                "scenario": {
                  "type": "string",
                  "label": "Situation"
                },
                "arrangement": {
                  "type": "string",
                  "label": "Arrangement",
                  "options": [
                    {
                      "value": "baseline",
                      "label": "Keep the current approach"
                    },
                    {
                      "value": "large-invoice",
                      "label": "Large campaign with invoiced payment"
                    },
                    {
                      "value": "small-invoice",
                      "label": "Small campaign with invoiced payment"
                    },
                    {
                      "value": "medium-prepay",
                      "label": "Medium campaign with payment before delivery"
                    }
                  ]
                },
                "customers": {
                  "type": "number",
                  "label": "Assumed customers",
                  "integer": true,
                  "minimum": 0
                },
                "campaignExpenseDay": {
                  "type": "number",
                  "label": "Campaign paid (day)",
                  "integer": true,
                  "minimum": 0
                },
                "deliveryExpenseDay": {
                  "type": "number",
                  "label": "Delivery paid (day)",
                  "integer": true,
                  "minimum": 0
                },
                "customerReceiptDay": {
                  "type": "number",
                  "label": "Customers pay (day)",
                  "integer": true,
                  "minimum": 0
                },
                "deliveryStartDay": {
                  "type": "number",
                  "label": "Delivery starts (day)",
                  "integer": true,
                  "minimum": 0
                },
                "deliveryFinishDay": {
                  "type": "number",
                  "label": "Delivery finishes (day)",
                  "integer": true,
                  "minimum": 0
                },
                "capacityPeriod": {
                  "type": "string",
                  "label": "Capacity period"
                }
              }
            }
          },
          "delivery-capacity": {
            "type": "array",
            "label": "Available delivery capacity",
            "collapseRecords": true,
            "summaryFields": [
              "id",
              "from"
            ],
            "items": {
              "type": "object",
              "label": "Available delivery capacity",
              "fields": {
                "id": {
                  "type": "string",
                  "label": "Capacity period"
                },
                "from": {
                  "type": "number",
                  "label": "Period starts (day)",
                  "integer": true,
                  "minimum": 0
                },
                "through": {
                  "type": "number",
                  "label": "Period finishes (day)",
                  "integer": true,
                  "minimum": 0
                },
                "availableHours": {
                  "type": "number",
                  "label": "Available delivery hours",
                  "integer": true,
                  "minimum": 0
                }
              }
            }
          },
          "learning-enabled": {
            "type": "boolean",
            "label": "Also compare a nonbinding preference test",
            "help": "Optional. Operating feasibility remains useful without probabilities."
          },
          "learning-basis": {
            "type": "object",
            "label": "Explicit test and probability assumptions",
            "fields": {
              "feeMinor": {
                "type": "number",
                "label": "Complete test expense",
                "integer": true,
                "minimum": 0,
                "displayScale": 100,
                "unit": "USD"
              },
              "durationDays": {
                "type": "number",
                "label": "Time until a usable signal",
                "integer": true,
                "minimum": 0,
                "unit": "days"
              },
              "probabilityBasis": {
                "type": "object",
                "label": "Probability basis",
                "fields": {
                  "source": {
                    "type": "string",
                    "label": "Source and assessment basis"
                  },
                  "scope": {
                    "type": "string",
                    "label": "Exact assessment scope"
                  }
                }
              },
              "priors": {
                "type": "array",
                "label": "Prior situation probabilities",
                "items": {
                  "type": "object",
                  "label": "Prior situation probability",
                  "fields": {
                    "state": {
                      "type": "string",
                      "label": "Situation"
                    },
                    "probability": {
                      "type": "number",
                      "label": "Probability",
                      "minimum": 0,
                      "maximum": 1
                    }
                  }
                }
              },
              "likelihoods": {
                "type": "array",
                "label": "Signal likelihoods in each situation",
                "collapseRecords": true,
                "summaryFields": [
                  "state",
                  "report"
                ],
                "items": {
                  "type": "object",
                  "label": "Signal likelihood",
                  "fields": {
                    "state": {
                      "type": "string",
                      "label": "Situation"
                    },
                    "report": {
                      "type": "string",
                      "label": "Signal"
                    },
                    "probability": {
                      "type": "number",
                      "label": "Conditional probability",
                      "minimum": 0,
                      "maximum": 1
                    }
                  }
                }
              }
            }
          }
        },
        "display": {
          "currency": "USD",
          "amountUnit": "cent",
          "timeUnit": "day",
          "timeOrigin": "2026-12-01T00:00:00-06:00",
          "names": {
            "baseline": "Keep the current approach",
            "large-invoice": "Large campaign with invoiced payment",
            "small-invoice": "Small campaign with invoiced payment",
            "medium-prepay": "Medium campaign with payment before delivery"
          },
          "formats": {
            "expense": "money",
            "cashHeadroom": "money",
            "peakFundingRequired": "money",
            "minimumCashBalance": "money",
            "endingCashBalance": "money",
            "campaignExpense": "money",
            "netContribution": "money"
          }
        },
        "groups": [
          {
            "id": "commitment",
            "label": "Growth commitment",
            "question": "What will the growth commitment spend, collect and deliver?",
            "subtabs": [
              {
                "id": "offer",
                "label": "Package and campaign",
                "questionIds": [
                  "package-price",
                  "delivery-expense",
                  "delivery-effort",
                  "campaign-expenses",
                  "campaign-target"
                ]
              },
              {
                "id": "situations",
                "label": "Customers and collection",
                "questionIds": [
                  "operating-situations",
                  "customer-outcomes"
                ]
              }
            ]
          },
          {
            "id": "limits",
            "label": "Operating limits",
            "question": "Which cash, delivery and timing limits must hold?",
            "subtabs": [
              {
                "id": "cash",
                "label": "Cash and reserve",
                "questionIds": [
                  "opening-cash",
                  "cash-reserve"
                ]
              },
              {
                "id": "delivery",
                "label": "Capacity and timing",
                "questionIds": [
                  "delivery-capacity",
                  "current-day",
                  "decision-cutoff",
                  "comparison-horizon"
                ]
              }
            ]
          },
          {
            "id": "learning",
            "label": "Optional learning",
            "question": "Could another signal improve the commitment choice?",
            "subtabs": [
              {
                "id": "test",
                "label": "Test and assumptions",
                "questionIds": [
                  "learning-enabled",
                  "learning-basis"
                ]
              }
            ]
          },
          {
            "id": "calculations",
            "kind": "evaluations",
            "label": "Calculation dependencies",
            "question": "Which pinned apps establish operating fit and optional learning value?",
            "subtabs": []
          },
          {
            "id": "decision",
            "kind": "brief",
            "label": "Decision summary",
            "question": "Which commitment can we fund and deliver?",
            "subtabs": []
          }
        ],
        "workflowMap": {
          "title": "Growth commitment calculations",
          "description": "The same pinned complete-commitment app supplies the operating basis before and after an optional test.",
          "steps": {
            "planning": {
              "label": "Complete growth feasibility",
              "description": "Ordered customer receipts and payments, reserve, capacity and timing."
            },
            "planning-after-test": {
              "label": "Feasibility after test expense and delay",
              "description": "The test fee reduces opening cash and its duration advances the decision day."
            },
            "learning": {
              "label": "Optional preference-test value",
              "description": "Use supplied probabilities, native net contributions and source-linked operating eligibility."
            }
          },
          "groups": [
            {
              "id": "operating",
              "label": "Operating comparison",
              "stepIds": [
                "planning"
              ]
            },
            {
              "id": "test",
              "label": "Optional test and response",
              "stepIds": [
                "planning-after-test",
                "learning"
              ]
            }
          ]
        },
        "report": {
          "title": "Growth commitment reports",
          "readableBrief": {
            "format": "workflow-readable-brief/1",
            "sectionId": "decision-basis",
            "sourceStepIds": []
          },
          "tabs": [
            {
              "id": "conditions",
              "label": "Arrangement details",
              "question": "What makes this complete growth arrangement usable or blocked?",
              "sectionId": "arrangements",
              "viewId": "arrangement-details"
            },
            {
              "id": "cash",
              "kind": "cash-flow",
              "label": "Cash by date",
              "question": "When does each arrangement use or receive cash, and does its reserve hold?",
              "stepIds": [
                "planning"
              ],
              "selection": {
                "group": "growth-arrangement",
                "keyField": "choices.arrangement",
                "labelField": "choices.arrangement"
              }
            },
            {
              "id": "capacity",
              "label": "Capacity by period",
              "question": "Can the assumed customers be served inside the available delivery period?",
              "sectionId": "operating-detail",
              "viewId": "capacity-detail"
            },
            {
              "id": "hurdle",
              "label": "Campaign hurdle",
              "question": "How many genuinely additional customers must the campaign produce?",
              "sectionId": "operating-detail",
              "viewId": "campaign-hurdle"
            },
            {
              "id": "learning",
              "kind": "learning",
              "label": "Test before committing",
              "question": "Would a timely preference test improve the commitment choice?",
              "stepIds": [
                "learning"
              ]
            }
          ],
          "questionViews": [
            {
              "id": "arrangement-details",
              "sectionId": "arrangements",
              "title": "Complete growth arrangement",
              "question": "What makes this complete growth arrangement usable or blocked?",
              "selectorLabel": "Arrangement to inspect",
              "selection": {
                "group": "growth-arrangement",
                "keyField": "id",
                "labelField": "label",
                "initial": {
                  "supportedField": "feasible"
                }
              },
              "comparison": {
                "columns": [
                  {
                    "key": "label",
                    "label": "Complete arrangement",
                    "presentation": "text"
                  },
                  {
                    "key": "cashHeadroom",
                    "label": "Minimum cash headroom",
                    "format": "money",
                    "presentation": "text"
                  },
                  {
                    "key": "capacityHeadroom",
                    "label": "Delivery hours remaining",
                    "format": "number",
                    "presentation": "text"
                  },
                  {
                    "key": "blocker",
                    "label": "Decisive unmet condition",
                    "presentation": "text"
                  }
                ]
              },
              "summary": {
                "fields": [
                  {
                    "key": "feasible",
                    "label": "Meets all declared requirements",
                    "format": "boolean",
                    "presentation": "text"
                  },
                  {
                    "key": "cashHeadroom",
                    "label": "Minimum cash headroom",
                    "format": "money",
                    "presentation": "metric"
                  },
                  {
                    "key": "capacityHeadroom",
                    "label": "Delivery hours remaining",
                    "format": "number",
                    "presentation": "metric"
                  }
                ]
              },
              "details": [
                {
                  "id": "unmet",
                  "title": "Unmet operating conditions",
                  "question": "Which conditions prevent this arrangement?",
                  "fields": [
                    {
                      "key": "blockers",
                      "label": "Conditions preventing this arrangement",
                      "presentation": "records"
                    }
                  ]
                },
                {
                  "id": "situations",
                  "title": "Situation-specific findings",
                  "question": "How does the arrangement behave in each declared situation?",
                  "fields": [
                    {
                      "key": "scenarios",
                      "label": "Declared situations",
                      "presentation": "records"
                    }
                  ]
                }
              ]
            },
            {
              "id": "capacity-detail",
              "sectionId": "operating-detail",
              "title": "Delivery capacity",
              "question": "Can the assumed customers be served inside the available delivery period?",
              "selectorLabel": "Arrangement and situation",
              "selection": {
                "group": "growth-situation",
                "keyField": "id",
                "labelField": "label",
                "initial": {
                  "supportedField": "feasible"
                }
              },
              "comparison": {
                "columns": [
                  {
                    "key": "label",
                    "label": "Arrangement and situation",
                    "presentation": "text"
                  },
                  {
                    "key": "customers",
                    "label": "Assumed customers",
                    "format": "number",
                    "presentation": "text"
                  },
                  {
                    "key": "capacityHours",
                    "label": "Delivery hours required",
                    "format": "number",
                    "presentation": "text"
                  },
                  {
                    "key": "availableHours",
                    "label": "Delivery hours available",
                    "format": "number",
                    "presentation": "text"
                  },
                  {
                    "key": "capacityHeadroom",
                    "label": "Hours remaining",
                    "format": "number",
                    "presentation": "text"
                  },
                  {
                    "key": "deliveryStartDay",
                    "label": "Delivery starts (day)",
                    "format": "number",
                    "presentation": "text"
                  },
                  {
                    "key": "deliveryFinishDay",
                    "label": "Delivery finishes (day)",
                    "format": "number",
                    "presentation": "text"
                  }
                ]
              },
              "summary": {
                "fields": [
                  {
                    "key": "customers",
                    "label": "Assumed customers",
                    "format": "number",
                    "presentation": "metric"
                  },
                  {
                    "key": "capacityHours",
                    "label": "Delivery hours required",
                    "format": "number",
                    "presentation": "metric"
                  },
                  {
                    "key": "availableHours",
                    "label": "Delivery hours available",
                    "format": "number",
                    "presentation": "metric"
                  },
                  {
                    "key": "capacityHeadroom",
                    "label": "Hours remaining",
                    "format": "number",
                    "presentation": "metric"
                  }
                ]
              }
            },
            {
              "id": "campaign-hurdle",
              "sectionId": "operating-detail",
              "title": "Campaign performance hurdle",
              "question": "How many genuinely additional customers must the campaign produce?",
              "selectorLabel": "Arrangement and situation",
              "selection": {
                "group": "growth-situation",
                "keyField": "id",
                "labelField": "label",
                "initial": {
                  "supportedField": "feasible"
                }
              },
              "comparison": {
                "columns": [
                  {
                    "key": "label",
                    "label": "Arrangement and situation",
                    "presentation": "text"
                  },
                  {
                    "key": "campaignExpense",
                    "label": "Committed campaign expense",
                    "format": "money",
                    "presentation": "text"
                  },
                  {
                    "key": "unitContribution",
                    "label": "Contribution per additional customer",
                    "format": "money",
                    "presentation": "text"
                  },
                  {
                    "key": "customersToReachTarget",
                    "label": "Customers to reach the stated target",
                    "format": "number",
                    "presentation": "text"
                  },
                  {
                    "key": "customersToExceedExpense",
                    "label": "First count exceeding campaign expense",
                    "format": "number",
                    "presentation": "text"
                  }
                ]
              },
              "summary": {
                "fields": [
                  {
                    "key": "campaignExpense",
                    "label": "Committed campaign expense",
                    "format": "money",
                    "presentation": "metric"
                  },
                  {
                    "key": "unitContribution",
                    "label": "Contribution per additional customer",
                    "format": "money",
                    "presentation": "metric"
                  },
                  {
                    "key": "customersToReachTarget",
                    "label": "Customers to reach the stated target",
                    "format": "number",
                    "presentation": "metric"
                  },
                  {
                    "key": "customersToExceedExpense",
                    "label": "First count exceeding campaign expense",
                    "format": "number",
                    "presentation": "metric"
                  }
                ]
              },
              "contextFields": [
                {
                  "key": "hurdleStatus",
                  "label": "Meaning of this calculation",
                  "presentation": "text"
                }
              ],
              "details": [
                {
                  "id": "target",
                  "title": "Target and assumed outcome",
                  "fields": [
                    {
                      "key": "contributionTarget",
                      "label": "Target above campaign expense",
                      "format": "money",
                      "presentation": "metric"
                    },
                    {
                      "key": "customers",
                      "label": "Assumed customers",
                      "format": "number",
                      "presentation": "metric"
                    },
                    {
                      "key": "netContribution",
                      "label": "Contribution under that assumption",
                      "format": "money",
                      "presentation": "metric"
                    }
                  ]
                }
              ]
            }
          ],
          "decisionSummary": {
            "format": "workflow-decision-summary/1",
            "sectionId": "decision-summary",
            "sourceStepIds": [
              "planning"
            ],
            "title": "Growth commitment",
            "question": "Which growth commitment can we fund and deliver, and what must its spending achieve?",
            "sections": [
              {
                "id": "options",
                "label": "Options",
                "question": "Which growth arrangements can we fund and deliver?"
              },
              {
                "id": "next-actions",
                "label": "Next actions",
                "question": "What can we do next given the current operating findings?"
              },
              {
                "id": "assumptions",
                "label": "Assumptions",
                "question": "Which customer, collection and workload assumptions could change this comparison?"
              },
              {
                "id": "questions",
                "label": "Questions",
                "question": "What remains unestablished before choosing a commitment?"
              }
            ],
            "comparison": {
              "title": "Complete growth arrangements",
              "keyField": "id",
              "labelField": "label",
              "primaryField": "feasible",
              "columns": [
                {
                  "key": "label",
                  "label": "Growth arrangement"
                },
                {
                  "key": "cashHeadroom",
                  "label": "Minimum cash headroom",
                  "format": "money"
                },
                {
                  "key": "capacityHeadroom",
                  "label": "Delivery hours remaining",
                  "format": "number"
                },
                {
                  "key": "blocker",
                  "label": "Decisive unmet condition"
                }
              ],
              "rowActions": [
                {
                  "id": "inspect",
                  "label": "Inspect arrangement",
                  "tabId": "conditions",
                  "inspectionKeyField": "id"
                },
                {
                  "id": "cash",
                  "label": "Inspect cash by date",
                  "tabId": "cash",
                  "inspectionKeyField": "id"
                }
              ]
            },
            "actionGroups": [
              {
                "id": "operating-next",
                "presentation": "actions"
              }
            ],
            "links": [
              {
                "tabId": "hurdle",
                "label": "Inspect the conditional campaign hurdle"
              },
              {
                "tabId": "cash",
                "label": "Inspect cash timing and reserve"
              }
            ]
          }
        }
      }
    },
    "contentHash": "1fcf577cb148c59c41e6696070c7222560c1faf2c5fbc753e0fa5e4c4b9239cb"
  },
  "catalog": {
    "domain": {
      "id": "business-growth",
      "label": "Business growth"
    },
    "useCase": {
      "id": "fund-and-deliver-growth",
      "label": "Fund and deliver growth"
    }
  },
  "publishedAt": "2026-11-22T18:00:00.000Z",
  "contentHash": "0b0686551d4d515cac26acb74aa8870e445cb19fcdee59c1ad5a8840abda565b"
}
