Compose a family adapter¶
Use trusted entry assembly and an approved installed adapter distribution. The family adapter reference owns imports, entry-point names, qualification fields, and refusal conditions. Run behavior checks only in CI or an approved isolated VM.
Register the adapter¶
- Implement providers for the six required entry-point groups.
- Register provider instances or no-argument classes under the exact entry names in the reference.
- Declare literal callable and family API versions in each provider.
- Declare a host dependency range that includes the first required API release.
- Declare exact
qualified_family_targetswith pack, family, and backend identities. - Pass stable provider identities and
supported_pack_id. - Install all required providers and auxiliary entries from the same qualified distribution and version.
- Examine qualification before backend preparation.
Do not combine registrations from unrelated providers. Do not use a pack field as an executable import locator.
Compile and admit a trial¶
- Stage the selected pack with
env_pack_bundlefromaptl.core.scenario_bundle. - Load its experiments with
raes_env_packs.load_pack_experiments. - Before you seal the trial plan, resolve adapter-owned runtime parameters.
- Use
resolve_family_runtime_parameters(bundle, target)when the adapter gives those parameters. - Include their binding provenance in RAES admission.
- Join the experiment with trusted apparatus through
PackExperiment.compilation_request. - Compile the request with
raes_processor.trial_compiler.compile_admitted_trial_plan. - Select the sealed entry and its validated
PackExperiment.family. - Construct
FamilyTrialInput(plan, plan_entry_id, family). - If you supply a snapshot, use its exact canonical bytes in
snapshot=snapshot_bytes. - Wrap the trial in
ScenarioAdmissionRunfromaptl.backends.raes_start_model. - Pass that run to
aptl.backends.raes.admit_raes_scenario.
For family trials, omit a preselected startup provider.
Core selects and pins the exact qualified providers.
If you use a preselected bundle, give ScenarioAdmissionSource through its supported source argument.
Do not add new parameter values after the plan is sealed.
Start and finalize¶
- Use protected
LocalRunStorestorage for family snapshots. - Use the trial's preallocated run ID for
AcesRunTarget, if you pass an explicit target. - Start through
start_raes_scenariowith the admitted scenario start. - Keep snapshot and provenance values out of logs and repository metadata.
- Before you accept requested facts, make sure that native readback verifies them.
- Before you admit the next trial, complete the previous trial's declared cleanup.
- Resume transcript finalization through the original qualified provider installation.
Use the run recovery procedure for an interrupted assigned trial. The historical release tuple qualifies only its stated structural checks. It is not general execution or record-production evidence.