Skip to content

Carry resolved realization posture through the backend-facing plan #1067

Description

@Brad-Edwards

Finding

RAE provides Scenario.realization, AuthorRealizationPosture, scoped resolution, and SEM-218 compiled realization requirements. The backend-facing provisioning plan does not carry a complete resolved open/closed boundary that a backend can apply to the node and concern state it realizes.

A backend therefore cannot reliably distinguish:

  • a closed omission, where additional scenario state is forbidden;
  • an authored open concern, where backend selection is permitted within capability and envelope constraints;
  • a constrained or exact leaf beneath an open scope; and
  • backend/apparatus state that is outside scenario authorship but still requires governance and evidence.

Backend capability support, including OPEN_REALIZATION, cannot substitute for this missing author permission.

Impact

Backends must guess, implement parallel posture rules, or treat capability as authorization. This prevents end-to-end enforcement of the authoring boundary and undermines non-approximation evidence.

Required investigation before solutioning

Before changing plan contracts, investigate and document the existing architectural and design patterns in this repository, including:

  • designation records across parsing, expansion, instantiation, and compilation;
  • CompiledRealizationRequirement and concern registration;
  • ProvisioningPlan and PlannedResource authority boundaries;
  • realization envelopes, apparatus defaults, backend manifests, and artifact requirements;
  • runtime disclosure, provenance, safe persistence, and control-plane handoff;
  • module namespace and most-specific-scope behavior; and
  • how reference, libvirt, and downstream APTL adapters currently reconstruct or lose posture.

Determine the minimum portable authority a backend needs without exposing authoring-only machinery or creating a second semantics layer. Do not select a carrier shape until this analysis is complete.

Acceptance criteria

  • An architectural record traces realization posture and governing scope through every processing phase and identifies the exact loss points.
  • The backend-facing execution handoff preserves enough typed authority to distinguish closed, open, constrained, exact, and delegated concerns.
  • Backend OPEN_REALIZATION capability is never treated as author permission.
  • Exact leaves retain precedence beneath open scopes.
  • Closed omissions cannot be silently materialized as scenario state.
  • Open selections remain bounded by backend capability and the applicable realization envelope.
  • Apparatus/backend-only state remains distinct from scenario state and is disclosed through its owning contract.
  • Runtime non-approximation and provenance evidence use the same resolved boundary admitted during planning.
  • Conformance tests cover root/scoped open and closed posture, leaf precedence, imports/namespaces, delegation, unsupported openness, and excess state.

Relationships

Runtime concern coverage: #1078. Mechanism-neutral compute intent: #1076. TechVault authoring consumer: OpenRAE/env-packs#288. APTL enforcement consumer: Brad-Edwards/aptl#916.

Requirements

  • SEM-218 — Explicitness And Realization Semantics

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions