feat(exchange): SVES/SOLQ dialect + connector; relocate the call site program-side
What
SSA state online query / SVES, and the retirement of the orchestrator's restricted-source fetch.
Acceptance criteria
- Dialect + connector; compiled program set {snap, tanf, medicaid, chip} per the reconciled tenancy matrix (child 2)
- Consumption relocates program-side: canopy-medicaid (today's consumer, ABD COAs) queries exchange during its own determination and snapshots the result per ADR-028
- Deleted in this MR: canopy-eligibility's pre-dispatch SOLQ fetch,
ApplicationContext.ssa_solq, and the person-id-as-synthetic-SSN substitution (orchestrator.rs) — retires the ADR-034-flagged tension; ADR-002 affirmed (the orchestrator loses its last restricted-source touch) -
solq.rs's incorrect "Medicaid-scoped under the CMA" comment corrected or deleted with the module (ADR-004 scopes SOLQ/BINDEX to SNAP/TANF/Medicaid/CHIP, not Medicaid alone) - Outcome mapping asserted:
Partial/Unavailable/TimedOutproduce provisional or manual-review results — never today'sNone→ false eligibility gate - Identity comes from the child-5 projection (no synthetic SSNs)
Universal criteria (every dialect/connector child)
- Simulator personality implementing the documented wire dialect, selectable by
source_id, deterministic fixtures keyed to seed personas - Exchange L3 connector: parser + builder mapped to L1 kinds, registered with compiled legal maxima (classification, authority, maximum program set) and capabilities
- Proptests on every parser/builder (round-trip, malformed input, boundary widths, code-value coverage) — mandatory-proptest class
- Golden fixtures are source-derived bytes committed independently of the connector/simulator code (the code under test must not author its own fixtures)
- Cross-process integration test: connector
↔️ simulator over the real transport (HTTP or file volume), asserting field-level fidelity and documented code values - Negative paths asserted: malformed payload, auth failure, timeout, partial file, unknown code value — none silently swallowed
- Hostile-input controls active: XXE disabled, size/record caps, filename path-traversal guards, checksum/control-total validation
- Divergence adjudication recorded in module docs (docs win semantics/code values; Gateway source wins wire bytes/names)
- Sanitization rule honoured: no credentials, hosts, paths, or PII in fixtures/tables; synthetic namespaces + fake devstack-only credentials
Standing bar (all children)
- SPDX headers; typed errors; no
unwrap/expect/panic; quality budgets hold -
cargo xtask validategreen; full pre-push battery green - Antora docs updated in this MR (api/data-models pages +
services.adocpointers as applicable) -
CHANGELOG.adoc== Unreleasedentry
Context
Epic &79, ADR-045; implementing plan: gateway-partner-interface-mocks.adoc.