Authored build-design cascade, 2026-09-15. Exactly WM-01. The governing item requires sound shared probability/model carriers, dependent proofs and admitted witnesses bound to the repaired source, independent repair acceptance, and consistent State/Action/Outcome, model revision and numeric semantics. This document designs that work. It neither repeats the repair nor claims it has received independent acceptance.
A list containing the same outcome twice can make a sum count its probability twice. A function can assign mass to outcomes outside the support that the consumer sums. A runtime vector can use the wrong outcome ordering. A float row can pass an admission tolerance while failing exact normalization. A proof can concern yesterday's definitions while a receipt points to today's filename.
These are different failures. A valid normalization theorem does not fix a changed subject, and a content hash does not make a malformed distribution valid. WM-01 must connect mathematical laws, numeric representation, exact model identities and evidence of their actual use.
The checklist credits repair commit 480a666ad2 with duplicate-free support, zero mass outside support and nonnegative precision, with author-reported build and negative controls. Its independent acceptance receipt remains unsupplied in that checklist. This design inspected the current carrier and rejection-control source; it did not rerun Lean or inspect a new acceptance receipt. Historical credit remains bounded to its snapshot.
Pattern: aif/declare-the-conditioning.
Inventory each carrier by its input and output domains, not by the name “probability.” A transition kernel is conditioned on state and action; a predictive outcome kernel is conditioned on policy; a parameter posterior and policy prior are other objects. Record the State, Action, Policy, Outcome and model identities required by each consumer, including vertex tags, support order, revision and numerical representation.
Output: the common carrier/consumer contract. Equal vector lengths do not establish equal domains. A policy vector cannot replace an outcome distribution, and a scalar normalizer named B is not the controlled transition B. Joint-state meaning remains WM-02 work, interpretation WM-03 work and observed likelihood authority WM-04 work; their interfaces must still agree here.
Pattern: wm-prediction/meaning-before-carrier.
For every proposed conversion, explain how identities and meanings are preserved. Distinguish a permutation of the same support from a substantive change of outcome vocabulary or state factorization. Output: explicit identity mappings and unresolved domain changes.
The twelve-disposition terminal preference member is one scoped domain, not permission to force every outcome into twelve slots. Unsupported evidence vocabulary or a new joint state cannot be filled with placeholders just to satisfy the common carrier. Structural changes need reviewed consequences across dependent models and consumers.
Pattern: wm-prediction/probability-laws-with-runtime-meaning.
Pin the repaired definitions and enumerate their obligations. The inspected Lean finite-support kernel requires nonnegative mass, exact normalization, duplicate-free support and zero mass outside support. The inspected precision type enforces nonnegative values. Runtime model validation checks support membership and mass before numeric admission. Output: a law-to-constructor/consumer map, with rejecting examples targeting each obligation.
The committed Lean controls deliberately supply all fields and fail on duplicate support, hidden mass and negative precision. Preserve this discipline: rejection for a missing unrelated field does not test the intended invariant. Include valid controls too, so rejecting everything cannot pass. Scope any additional positivity, nonempty-domain or finite-numeric requirements to the actual consumer; nonnegative precision must not silently become strictly positive precision.
New pattern: wm-prediction/numeric-admission-is-not-exact-equality.
The inspected runtime contract admits exact ratio/integer rows only at exact sum one. Float-carried rows use a declared 1e-12M sum criterion with exact summation of represented double values; rows are not renormalized. The finite/nonnegative checks occur in distribution validation, not solely in the sum helper. Output: the reviewed relation between runtime values and formal objects, including conversions and consumer-specific limitations.
This describes existing source behavior, not a new epsilon or its independent acceptance. Passing the float gate does not establish Lean's exact normalization for the same unchanged masses. The correspondence may require a formal error statement, an explicitly authorized exact representation or another reviewed construction. Which one applies is a decision to substantiate, not a gap to bridge with silent normalization.
A bound on row sums is not automatically a bound on composed predictions, logarithms, KL risk or final ordering. Consumers involving zeros or infinities need their own defined behavior. Finite IEEE values, exact rationals and real-valued Lean kernels are not interchangeable merely because their printed decimals look alike.
Pattern: aif/shared-kernel-predictive-forward-model.
Apply this seed's principle of one authoritative law to validators, constructors and adapters. Identify where shared executable definitions prevent drift and where different representations require explicit correspondence. Output: actual call-site bindings to the same model and numeric contract.
This is scoped reuse: extracting a deterministic dynamics core or adding Gaussian noise is not the WM-01 task. Shared code alone does not prove the law or empirical adequacy. Avoid local epsilon changes, support repair or fallback distributions in downstream adapters. Atomic publication of a model envelope prevents mixing definitions, supports and witnesses from different revisions.
Pattern: wm-qualifying-run/certificate-and-world-must-meet.
Inventory each dependent theorem, constructed witness, admitted claim and runtime adapter affected by the repair. Bind claims to exact source/toolchain/import identities, actual theorem statements and assumptions, build/axiom receipts, and the precise supplied witness. Output: a dependency/admission ledger that separates author validation from independent acceptance.
Changing Holes.lean under the same path does not preserve an old subject hash. An unchanged theorem name or statement does not by itself establish validity against changed definitions. Conversely, do not declare all old results false without inspecting their dependencies. Classify each as unaffected with evidence, rebuilt and revalidated, awaiting review, or superseded. Preserve frozen source/admission rules; do not edit a pinned subject to avoid the review work.
This applies the certificate pattern to repair and correspondence claims. It does not produce the whole-machine qualifying-run certificate.
Pattern: wm-qualifying-run/complete-acquisition-universe.
Reconcile K6's ledger against a declared search universe of imports, references, admission records, runtime constructors and consumers. Retain the roots searched and unresolvable references. Output: a coverage account for the repair's impact, with unresolved candidates and ownership rather than a falsely exhaustive list.
Search hits are candidates, not proof of semantic dependence. A successful build of one module is not a census of admitted witnesses. Unavailable old logs remain unavailable; a rebuilt artifact receives new evidence and must not be presented as the missing historical receipt.
Pattern: wm-connected-learning/observation-to-next-choice.
Retain the model/carrier revision and numeric admission at the actual WM-02–05 boundaries and subsequent consumer. Demonstrate that the validated object is the one used, with rejecting controls for stale subject, swapped support, omitted field and mismatched admission. Output: correspondence receipts and, later, ordinary production-use evidence.
A well-formed test table proves neither machine-produced A/B/belief nor whole-node completion. Tests of this boundary should distinguish the repaired model from a stale or malformed substitute. They must not require every carrier change to alter a selected action: valid revisions may preserve a decision.
K1 and K2 jointly constrain K3's law map. K3 constrains K4's numerical correspondence, and both constrain K5's shared contract. K3–K5 supply the exact subjects and computations that K6 must bind to evidence. K7 checks K6 against the broader dependency universe. K5, K6 and K7 jointly constrain K8's claim of actual use.
K4 can reveal a representation that cannot satisfy the claimed law and return to K3. K7 can expose a missed consumer and return to K1/K6. K8 can reveal a local adapter repair and return to K5. These are design-review relations, not automatic migrations or permission to replace the specification.
| Responsibility | Inputs | Retained result / refusal |
|---|---|---|
| Carrier inventory | Definitions, domains, source and consumer identities | Common contract with exact conditioning and support mappings |
| Law audit | Repaired sources, constructors and dependent statements | Invariant map, positive controls and targeted negative controls |
| Numeric correspondence | Actual runtime types/admission and exact formal claims | Reviewed conversion/error relation; unsupported correspondence refuses |
| Admission reconciler | Subject hashes, witness records, imports, builds and reviews | Revision-bound dependency ledger; stale admissions cannot carry forward silently |
| Coverage auditor | Declared repository/admission/consumer universe | Complete/partial/unresolved impact inventory with evidence |
| Consumer binding | Admitted model, support, numeric contract and runtime path | Actual-use receipt; no default, repair or alternate path masquerading as this model |
Names describe proposed responsibilities, not newly implemented modules. Retain source bytes and immutable identities, not just paths. Changed definitions or model meaning require explicit successor revisions and review; immutable old receipts stay attached to their original objects.
Suppose a runtime row totals slightly less than one and passes the existing float gate. K3 confirms what the exact kernel law demands. K4 refuses the unsupported statement that this row is exactly normalized as a real-valued kernel. K6 also rejects a certificate that points to a same-named witness built against the pre-repair source. These are separate issues, both visible before the model receives completion credit.
A valid support permutation presents a different case: if identities and values are permuted together under a declared mapping, it may preserve the distribution. If only values move, the prediction changes its meaning. K2 and K8 must distinguish those cases. Sorting values or discarding extra keys to make a check pass is not a valid conversion.
The checklist WM-01 supplies the scope and historical repair credit. This design inspected Holes.lean, ProbabilityKernelRepairNegative.lean and machine_model.clj; their hashes and applied pattern sources are in cascade.json. It did not independently reproduce the repair build or locate a new review receipt. Model-domain changes, exact/float correspondence and affected-admission coverage remain obligations to settle rather than assumed accomplishments.
The new numeric-admission argument is a draft in the prediction sublibrary. Existing AIF patterns are referenced within scope. WM-01 remains open; this design specifies its build and validation path without claiming mathematical, runtime or whole-machine completion.
| From | To | Kind | Reason |
|---|---|---|---|
| K1 | K3 | prerequisite | Conditioning identifies which carrier law applies. |
| K2 | K3 | prerequisite | Support identity must preserve meaning. |
| K3 | K4 | prerequisite | Exact obligations constrain numeric correspondence. |
| K3 | K5 | prerequisite | Shared consumers must enforce the repaired laws. |
| K4 | K5 | prerequisite | Numeric admission must agree at every boundary. |
| K3 | K6 | prerequisite | The repaired definitions determine the proof subject. |
| K4 | K6 | prerequisite | Formal claims must reflect actual numeric semantics. |
| K5 | K6 | prerequisite | Evidence must identify actual constructors and consumers. |
| K6 | K7 | prerequisite | The admission ledger must be checked against the dependency universe. |
| K5 | K8 | prerequisite | Actual use must follow the shared contract. |
| K6 | K8 | prerequisite | Consumption claims need revision-bound acceptance. |
| K7 | K8 | prerequisite | Missing consumers limit any completeness claim. |
| K4 | K3 | revision-feedback | A representation gap can invalidate an exact-law claim. |
| K7 | K1 | revision-feedback | A missed consumer can introduce a missing carrier contract. |
| K7 | K6 | revision-feedback | Unresolved dependents require admission review. |
| K8 | K5 | revision-feedback | A local fallback reveals divergence from the shared contract. |
Quoted as local library references, not copied into the new sublibrary. Their other claims and examples are not adopted by this cascade.
@flexiarg aif/declare-the-conditioning
@title Declare the Conditioning (Score the Fit, Not the Form)
@keywords conditioning, situation, context, fit, EFE, curried, referent
@audience aif implementers, pattern authors, futon developers
@tone technical
@style pattern
@references [aif/currency-before-merge aif/valuation-reads-the-paperwork]
@how aif/structured-observation-vector
@see-also aif/term-to-channel-traceability
@why no matching problem dossier node (@holds-at absent; not among the twenty dossier nodes R1-R17, R20, TRACE). Negative claim per the committed check futon2 holes labs library-loop runs l3_no_dossier_check.py, receipt runs L3-no-dossier-check.edn (enumerates every aif pattern's @holds-at against the dossier node set extracted from PROBLEMS-*.md headings). Rationale not invented (L3 rationale-backfill pilot, zai-1, 2026-09-05)
@how own mechanism: Every valuation surface must declare what slice of the situation it consumed; G(candidate) is a lambda — only G(candidate | situation) is a value. (source: this pattern's ! conclusion line; L3 rationale-backfill pilot, zai-1, 2026-09-05)
! conclusion: Every valuation surface must declare what slice of the situation it consumed; G(candidate) is a lambda — only G(candidate | situation) is a value.
+ context: A stack grows multiple valuation surfaces (blend terms, wholeness, ΔG legs, field diagrams), each labelled with the same vocabulary ("EFE", "value", "score").
+ IF:
You want valuations to be comparable, auditable, and honestly labelled.
+ HOWEVER:
Different surfaces silently consume different slices of the world — one eats the live observation vector, another a 160-char prose scrap, a third nothing at all — so identical labels name incomparable objects, and cross-surface comparisons are apples-to-oranges without anyone having lied.
+ THEN:
Give every valuation surface a three-axis declaration: SENSE (which formal object it claims), SELECTION-SEMANTICS (extremum / amortized sample / bound — over what menu), and CONDITIONING (what situation-slice it consumed). Render the declaration where the number is rendered. In pattern terms: Context → (Problem → Solution) — application is modus ponens; the world supplies the antecedent; score the fit, never the form alone.
+ BECAUSE:
Canonical expected free energy is G(π; Q(s), C) — conditioned on beliefs and preferences by definition; a policy has no value in vacuo, and Alexander says the same of form and context. Surfaces that skip the declaration re-invent the mislabeling one level up.
+ evidence: M-evaluate-policies §9.6–9.7 + exhibit "conditions on" column (futon2, 2026-07-03): the atomic-action lane conditioned on the live observation vector while the cascade lane ate a title+status scrap and two native components consumed no situation at all — one arena, incomparable conditioning. E5 measured the conditioning channel: situation-enriched ψ rebuilt 11/13 cascades. The fold contract already typed circumstance as an argument; the plumbing had starved it.
+ NEXT-STEPS:
- Add the sense × selection-semantics × conditioning triple to each EFE-labelled surface's declaration (extends the efe-referent-declaration shape).
- Route all lanes toward ONE situation source (the structured observation vector) where feasible.