Skip to main content

AEROSIM-TS-99

Project task

Apply confirmed flight and environment values at launch

The flight session receives exactly the flight preset and environmental values confirmed during pre-flight.

AEROSIM-TS-99Canonical ID TASK-0099
Verified flow state
Done
Owner
AeroSim Architecture and Delivery
Component
Web Application — Flight shell configuration boundary
Repository
corp-v1-aerosim/corp-v1-aerosim

Delivery scope

Add the confirmed ConditionSnapshot to FlightLaunchConfiguration; validate its catalogue version and content before session allocation; initialize environment and flight-condition runtime state from that snapshot; and expose the immutable applied snapshot on the session initialization result.

Implementation contract

Implementation artifacts

  • applications/web/src/session/launch/condition-launch-adapter.ts
  • applications/web/src/flight/environment/apply-condition-snapshot.ts
  • applications/web/test/session/condition-launch-adapter.spec.ts

Inputs

  • A confirmed ConditionSnapshot from EP5-FT15-T01.
  • The current condition catalogue version and a not-yet-created session identifier.

Outputs

  • A FlightLaunchConfiguration carrying an unchanged condition snapshot.
  • A SessionConditionState whose preset and scalar values equal the confirmed snapshot.

Failure boundaries

  • Missing confirmation, stale catalogueVersion, unknown preset, or inconsistent scalar values aborts launch before a session identifier is committed.
  • Runtime initialization failure returns launch_failed with the condition stage and leaves no active session.

Excluded scope

  • This task does not choose conditions for the player or repair an invalid snapshot.
  • Automatic launch retry is not performed; a new deliberate launch may be attempted only after the failure is shown.

Verification steps

  • Run applications/web/test/session/condition-launch-adapter.spec.ts and compare every confirmed condition field with FlightLaunchConfiguration and SessionConditionState.
  • Inject missing, stale, unsupported, and inconsistent snapshots and assert zero active sessions.
  • Force environment initialization to fail and assert launch_failed identifies the condition stage and permits a later deliberate attempt.

Traceability

Requirements

Dependencies

UI/UX applicability

non_visual

This Task owns technical or behavioral acceptance and does not claim direct visual conformance to the approved UI/UX package.

Acceptance evidence

Verified delivery: application PR #124 merged reviewed head 8abb93cb7f9807d9c8901561c19aa62515ac62e0 as 02f55523910f1751332be3dfddc25aadb6a69ff0; nine focused condition-adapter tests and 287 existing launch/session tests prove exact snapshot carriage, validation before allocation, immutable scalar application, condition-stage initialization failure with no active session, and deliberate retry; full local validation, 120 world-interaction runs, production audit, exact-head CI run 4217, integration/publication run 4218, and integration validation run 4219 passed. Release completion verified on product 1.0.0.0 at GitOps revision 5d3712d89dfbf7dacd993348e55f497d126c7bf9 with Argo Synced/Healthy, exact image digests, authenticated API/database access, and three-world configured-flight acceptance.

Current evidence boundary

No current implementation, acceptance, release, or deployment evidence is claimed for this planned Task. Any prior implementation may be used only as prototype and discovery evidence.