FormaSL — Remediation Phase 6 Realization / Provider Boundary Alignment — CONTRACT
Status: STABLE / AUTHORIZED — owner-ratified 2026-09-11 (OD-P6-01..OD-P6-07 RATIFIED)
Kind: CAMPAIGN CONTRACT (normative for Phase-6 execution)
Date: 2026-09-11
Ratified baseline: master @ bfde8f18 (predecessor terminal); materialized at local master ahead of origin
Predecessor state: PHASE_5_COMPLETE; CB_L5_* VERIFIED
Owner decisions in force: OD-AN-01 (CLOSED R3), OD-SC-01 (campaign topology), OD-P6-01..07 (RATIFIED — see OD-P6-PHASE-6-OWNER-DECISION-SURFACE.md)
Risk ceiling: R2 (any R3 ambiguity stops for owner decision via MATERIAL_CONTRACT_FAILURE)
This document is the STABLE campaign contract promoted from the
REMEDIATION-PHASE-6-REALIZATION-PROVIDER-BOUNDARY-ALIGNMENT-CANDIDATE.md
candidate upon PROJECT_OWNER ratification of OD-P6-01..07. It authorizes
implementation of RM-17 (first WP) and, serially upon terminality, RM-18,
RM-19, RM-20. Exclusions and authority claims of the candidate carry over
unchanged unless this contract states otherwise.
1. Jurisdiction
PHASE 6 = REALIZATION / PROVIDER BOUNDARY ALIGNMENT
Physical implementation of the separation between:
DeclaredSemanticContract
RealizationRequirement
RealizationCapability
ProviderCapabilityEvidence
RealizationBinding
Provider
ProviderExecution / ProviderEvidence
SemanticConformanceBridge
SituatedResult
without creating a second semantic authority in the realization plane. No leakage into planner/runtime product work, public CLI/API completion, or publication.
2. Governing authority set
docs/foundations/FORMASL-INTENT.md
docs/foundations/FORMAL-WORLD-MODEL.md
docs/foundations/SEMANTIC-INVARIANTS.md
docs/foundations/SEMANTIC-CONTINUITY.md
docs/design/ARCHITECTURE.md
docs/design/COMPUTATIONAL-REGIME-BOUNDARIES.md
docs/design/ANALYSIS-CAPABILITY-CONTRACT.md (ACC, esp. §§5, 11–16)
docs/design/ANALYSIS-REALIZATION-PROFILES.md (ARCS, esp. §§1, 9–15)
docs/design/EXECUTABLE-SEMANTIC-INTERFACE-CONTRACT.md (ESIC, esp. §§27–30)
docs/design/EXECUTABLE-LANGUAGE-ARCHITECTURE.md (ELA, esp. §§8, 11–12)
docs/design/EXECUTABLE-CORRESPONDENCE-LEDGER.md
docs/design/IMPLEMENTATION-CONFORMANCE-CONTRACT.md
docs/design/REMEDIATION-CANDIDATE-PRODUCT-SUPPORT-AMENDMENT.md (esp. §4 OD-03)
docs/design/REMEDIATION-PHASE-3-H1-COMPUTATIONAL-REGIME-CLOSURE-CONTRACT.md
docs/design/REMEDIATION-PHASE-4-CB-L4-SEMANTIC-LIFECYCLE-GOVERNANCE-DYNAMICS-H1-CLOSURE-CONTRACT.md
docs/design/REMEDIATION-PHASE-5-CB-L5-INTEGRATED-COMPOSITION-H1-CLOSURE-CONTRACT.md
docs/design/OD-AN-01-ANALYSIS-ML-REALIZATION-ARCHITECTURE.md (CLOSED R3 — not re-arbitrated)
Historical/attack material (V1 evidence, SRA audits, archived prompts) is evidence only and outranks nothing above.
3. What authority already determines (no semantic invention needed)
Carried over from candidate §3. Every determination there is confirmed by
owner ratification: boundary-type separations (ESIC §28; ELA §8; ACC §13),
capability assertion/evidence/verification/currentness distinction
(ELA §8.4), conformance envelopes EXACT / APPROXIMATE / STOCHASTIC
(ARCS §13; ACC §12), late binding over a closed candidate set with universal
satisfaction (ARCS §10; ELA §8.8), retry-as-new-attempt and restart-as-new-
occurrence (ARCS §11; ACC §15; ELA §11), mid-run migration requiring an
explicit state-correspondence/checkpoint contract (ARCS §12; ACC §15),
FrameworkDefault != AnalysisSemantics with the enumerated explicit
semantic parameters (ARCS §14; ACC §5), bridge verification before admission
(ESIC §30), provider evidence/execution/success channel separations
(ESIC §30; OD-04), same-meaning-across-conforming-providers
(ARCS §1; ACC §14), FormaGraph = future native provider direction with
explicit-admission-only projections (OD-AN-01 §2), and reference-kernels =
reference-provider/oracle with assurance-only harness (OD-AN-01 §1).
4. Baseline implementation audit (observed at bfde8f18)
Carried over from candidate §4 (role map and collapses C-1..C-8). Verified again at materialization; no code changed by this contract. Collapse dispositions:
C-1 Reference kernels physically inside the semantic crate -> RM-18
C-2 String-typed capability/constraint/joint vocabulary -> RM-17
C-3 Caller-constructible ProviderEvidence + unverified bridge -> RM-17
C-4 Duplicate unrelated `ProviderCandidate` (analysis vs realization) -> RM-17/RM-18 alignment
C-5 Missing capability assertion/evidence/currentness carriers -> RM-17
C-6 Missing generic conformance-envelope carriers at the boundary -> RM-17/RM-19
C-7 Missing checkpoint/state-correspondence contract -> RM-19
C-8 No provider-boundary hostile/differential conformance suite -> RM-18/RM-19
5. Campaign topology (RATIFIED — OD-P6-02)
PHASE 6 = REALIZATION / PROVIDER BOUNDARY ALIGNMENT
RM-17 Generic Provider / Realization Contract Boundary
↓
RM-18 Analysis + ML Reference Provider Extraction (OD-AN-01 physical)
↓
RM-19 Provider Conformance / Substitution / Failure / Retry
↓
RM-20 Cross-Capability Realization Integration + Phase-6 Closure
↓
PHASE_6_COMPLETE
Serial execution; one active WP at a time (FIOP §1). The decomposition is executive and does not alter normative architecture. The topology falsification record of candidate §5.1 stands: six attempted attacks all rejected.
5.1 RM-17 — Generic Provider / Realization Contract Boundary
Closes the generic executable provider boundary required by ESIC §§28–30, ELA §§8, 11 and ACC §13:
RealizationRequirement (provider-neutral; typed capability vocabulary
replaces String constraints)
RealizationCapability + ProviderCapabilityAssertion + ProviderCapabilityEvidence
+ ProviderCapabilityVerificationState + CurrentnessBasis (ELA §8.4)
conformance envelopes: EXACT / APPROXIMATE(tolerance) / STOCHASTIC(distribution/reproducibility)
RealizationBinding / RealizationBindingGroup (typed joint obligations;
no pairwise->joint laundering)
late binding over a closed candidate set (preserved law)
provider request / result / evidence carriers that FAIL CLOSED on construction
semantic bridge that VERIFIES before bridging (output shape, contract/model
revision, standing/result-contract satisfaction, completion/accuracy
guarantees — ESIC §30 list) and never mints standing from provider success
provider substitution / fallback / failure classes that cannot weaken
declared guarantees
WRITE (indicative): crates/realization, crates/provider,
crates/conformance/tests/phase6_rm17_*.rs, evidence matrix.
CONDITIONAL: narrow construction/provenance hardening of carriers consumed by
the bridge (predecessor-crate pattern per trust-boundary discipline).
FORBIDDEN: any provider technology adapter; planner/runtime product work;
CLI/API changes; Analysis kernel extraction (RM-18).
5.2 RM-18 — Analysis + ML Reference Provider Extraction (OD-AN-01 physical)
Executes the CLOSED-R3 OD-AN-01 decision physically:
formasl-analysis keeps: semantic contracts, basis/interpretation,
targets/visibility, identity, conformance
relations, producer-bound AnalysisResult/
Prediction minting, conform_provider as the
SEMANTIC-side conformance gate
NEW reference-provider crate receives: structural kernels, ML kernels
(name per repo convention, (GraphSAGE/GD/losses), metrics; a provider
e.g. formasl-analysis- adapter presenting them through the RM-17
reference) boundary; deterministic CPU oracle role
conformance harness gains: known-answer fixtures, hostile fixtures,
provider-vs-reference differential checks
Extraction invariants: REFERENCE PROVIDER != TEST HARNESS; REFERENCE PROVIDER != PRODUCTION ENGINE; SEMANTIC CONTRACT != NUMERICAL KERNEL; the
semantic crate must not import provider-specific types; engine route and
reference route must both satisfy the same conformance relation; no Analysis
semantics change (kernel moves are physical; any behavioral difference =
defect).
Kernel classification (per candidate §5.3): PageRank/weak-components/
label-propagation/Jaccard/clustering/motif-conductance/metrics = pure
realization mechanism → move. GraphSAGE/losses/GD = realization mechanism
with semantically material parameters (all remain declared in the contract;
the kernels move, the semantics do not) → move. AnalysisContract,
ConformanceRelation, GuaranteeClass, CompletionChannel,
AnalyticalAdjacencyBasis, learning-visibility contracts = semantically
normative → stay.
WRITE: new crate + workspace membership, crates/analysis (remove kernel
modules, keep contracts), crates/conformance/tests/phase6_rm18_*.rs,
evidence matrix.
FORBIDDEN: FormaGraph implementation beyond OD-P6-04 ceiling; production
engine; framework adapters; semantic parameter defaults.
5.3 RM-19 — Provider Conformance / Substitution / Failure / Retry
Closes the dynamic realization semantics of ARCS §§10–13 and ACC §15 on top of RM-17/18:
EXACT / APPROXIMATE / STOCHASTIC conformance judgments at the boundary
pre-execution substitution (same frozen requirement; any conforming candidate)
attempt-level retry with deterministic arbitration (existing RetryPolicy
exercised at the boundary)
fallback WITHOUT silent guarantee weakening (declared envelope monotone)
distinct ExecutionAttempt identities per retry (existing law, now bridged)
training restart = distinct TrainingOccurrence (existing identity, now bridged)
capability currentness / validity windows (ELA §8.4)
checkpoint / state-correspondence contract for mid-run migration
(model parameters, optimizer state, randomness/sampling state, progress,
encoding — absent correspondence: restart/new attempt, never silent resume)
provider failure stays mechanism-channel (existing law, exercised against
hostile fixtures)
WRITE: crates/provider, crates/runtime (only where the checkpoint
contract touches attempt carriers), crates/conformance/tests/phase6_rm19_*.rs.
FORBIDDEN: scheduler product; distributed runtime; performance campaign.
5.4 RM-20 — Cross-Capability Realization Integration + Phase-6 Closure
Proves the generic invariant across H1 families without provider semantics leaking upward:
semantic application
-> provider-neutral realization requirement
-> binding
-> provider execution/evidence
-> semantic conformance bridge
-> situated semantic result
Required realization paths exercised across at least: Query, Reasoning, Transformation, Analysis/ML (reference provider post-RM-18), Validation, Governance, Scenario, Revision, Action/ExecutionRequest, Observation acquisition, Composition — each crossing the SAME boundary types, with per-family hostile discriminators. Closure gate: campaign four-NO audit plus the FP-P6 table of §8 all rejected with executable evidence.
FORBIDDEN: PUBLIC_RUN_FULL_H1; public CLI/facade completion; machine
schema successor; release/reaccreditation.
6. Required separations and their current state
Carried over from candidate §6. Three separations are NOT YET correct at the carrier level and are owned by RM-17:
ProviderCapabilityAssertion != ProviderCapabilityEvidence (carriers absent)
ProviderOutput != SituatedResult (bridge unverified)
The remaining rows are correct in law and are hardened/enforced at carrier level by RM-17 or exercised by RM-19/RM-20.
7. FormaGraph boundary (RATIFIED — OD-P6-04: ceiling B / default A)
Default: prepare and prove the generic provider boundary required by a future FormaGraph; do not implement FormaGraph as a production engine. Ceiling B: a minimal FormaGraph/reference-provider implementation MAY be introduced only if executable evidence demonstrates that it is genuinely necessary to close an in-scope Phase-6 realization/conformance obligation; the executor may choose B on that demonstrated trigger without returning to the owner, provided the work remains R0–R2 and strictly minimal.
Not authorized: full production FormaGraph; performance campaign; broad graph-algorithm catalog; distributed graph engine; new Analysis semantics.
Preserved: FormaSL semantic graph model = typed role-incidence / metagraph-native; petgraph-like mechanism != FormaSL semantic model; projections admitted explicitly only.
8. ML provider boundary (RATIFIED — OD-P6-05)
Production ML is supplied by external/interchangeable conforming providers (Burn, Candle, PyTorch, ONNX Runtime, specialized graph-ML engines, remote managed execution, future providers). No framework is normative (ARCS §15). Zero framework adapters are required for Phase-6 closure; one optional conforming-provider adapter as evidence is permitted, never required. The current CPU GraphSAGE path becomes the reference provider/oracle (RM-18); it never defines ML-in-FormaSL.
FrameworkDefault != AnalysisSemantics: self-loops, normalization,
sampling, role aggregation, negative sampling, loss semantics, optimizer
semantics, precision, missing/conflict handling, randomness/seed,
completion/convergence remain explicit contract coordinates (ACC §5;
ARCS §14).
9. Destructive preflight — FP-P6-01..16 rejection design
Carried over from candidate §9; every attack must be rejected in principle by the campaign, each with its enforcing WP:
| ID | Attack | Rejecting invariant (authority) | Enforced by |
|---|---|---|---|
| FP-P6-01 | provider self-description → capability evidence | ELA §8.4: assertion != evidence | RM-17 |
| FP-P6-02 | provider name → semantic contract identity | ESIC §28; FP-08 revision-exact binding | RM-17 |
| FP-P6-03 | provider success → semantic result | ESIC §30; two-channel outcomes | RM-17/19 |
| FP-P6-04 | provider output shape → standing | ESIC §30: bridge verifies standing/result-contract | RM-17 |
| FP-P6-05 | fallback → silent guarantee weakening | ARCS §13/§17 envelope monotonicity | RM-19 |
| FP-P6-06 | retry → same ExecutionAttempt identity | ARCS §11; ACC §15 | RM-19 |
| FP-P6-07 | training restart → same TrainingOccurrence | ARCS §11; ACC §15 | RM-19 |
| FP-P6-08 | same tensor dimension → embedding coordinate comparability | ACC §10 | RM-18/19 |
| FP-P6-09 | framework default → semantic parameter | ARCS §14; ACC §5 | RM-18 |
| FP-P6-10 | binary graph projection → original metagraph semantics | OD-AN-01 §2 | RM-17/18 |
| FP-P6-11 | harness implementation → public capability support claim | OD-AN-01; amendment §3 | RM-18/20 |
| FP-P6-12 | reference implementation → mandatory production engine | OD-AN-01; ARCS §15 | RM-18 |
| FP-P6-13 | pairwise provider satisfaction → joint realization satisfaction | ELA §8.7; FO-P3-11 | RM-17 |
| FP-P6-14 | current/latest provider/resource → exact revision realization | FP-08; ELA §8.8 | RM-17 |
| FP-P6-15 | provider evidence → Observation | OD-04; ESIC §30 | RM-17/20 |
| FP-P6-16 | provider/runtime result → source authority | OD-04; FORMASL.md §1 | RM-17/20 |
Closure condition: each row ends DISCRIMINATING EXECUTABLE PASS or AUTHORITY-BACKED NOT-APPLICABLE at RM-20.
10. Explicit exclusions (RATIFIED — OD-P6-06)
PUBLIC_RUN_FULL_H1
full public planner/runtime orchestration
public CLI routing for all H1 families / public API/facade completion
machine schema successor / historical machine schema revision-0 mutation
release packaging/distribution closure / release reaccreditation
release/tag/publication
full production FormaGraph implementation
mandatory Burn/Candle/PyTorch/ONNX integrations
performance optimization campaign
A small provider adapter or reference provider needed to prove the boundary is in scope; a production provider ecosystem is not.
11. Authority-sufficiency gate (Q1–Q7)
Carried over from candidate §11; all seven answers YES. No semantic invention is required anywhere in RM-17..RM-20; every normative determination cited above is owned by listed STABLE authority.
12. Terminal state meaning
PHASE_6_COMPLETE implies:
generic provider/realization boundary closed (typed, fail-closed, bridge-verified)
OD-AN-01 physically implemented (reference provider extracted; harness differential)
conformance/substitution/retry/migration semantics closed with hostile evidence
cross-capability realization witnesses green; FP-P6-01..16 rejected
It does NOT imply:
PUBLIC_RUN_FULL_H1 / CLI-PRODUCT-COMPLETE / MACHINE_SCHEMA_SUCCESSOR
FORMAGRAPH-IMPLEMENTED / PRODUCTION-ML-PROVIDERS-INTEGRATED
RELEASE-READY / PUBLICATION-AUTHORIZED
13. Authorization state
PHASE_6_CONTRACT = MATERIALIZED / STABLE (this document)
PHASE_6_IMPLEMENTATION = AUTHORIZED (RM-17 first; RM-18/19/20 serial)
PHASE_6_RISK_CEILING = R2
RM-17 = AUTHORIZED — NOT_STARTED at materialization
ACTIVE_WP = RM-17 upon WP start
PUSH / PUBLICATION = NOT_AUTHORIZED (owner pushes after terminal reports)
Git policy (RATIFIED — OD-P6-07): local commits authorized; push not authorized; force push forbidden; tags/releases not authorized.
Inter-WP continuity: the executor may proceed serially from RM-17 to RM-18/19/20 without new micro-authorization provided the previous WP is terminal, authority remains sufficient, work remains R0–R2, and no material R3 ambiguity appears (any R3 ambiguity → MATERIAL_CONTRACT_FAILURE → PROJECT_OWNER).
On successful Phase-6 closure: PHASE_7 = NOT AUTOMATICALLY AUTHORIZED; PUBLIC_RUN_FULL_H1 = NOT_CLAIMED; MACHINE_SCHEMA_SUCCESSOR = NOT_STARTED unless separately authorized; PUBLICATION = NOT_AUTHORIZED.