AEROSIM-TS-143
Persist governed flight completion for the active pilot
Ending or completing a launched flight writes one authenticated pilot-scoped progress record that can be retrieved in a later session.
- Verified flow state
- Done
- Owner
- AeroSim Architecture and Delivery
- Feature
- AEROSIM-FT-33
- Component
- Persist governed flight completion for the active pilot
- Repository
- corp-v1-aerosim/corp-v1-aerosim
Delivery scope
Wire flight completion to the authenticated progress API with idempotent session identity, canonical configuration references, outcome, checkpoint, and server ordering.
Implementation contract
Implementation artifacts
- corp-v1-aerosim/corp-v1-aerosim:applications/web/src/flight/session/flight-completion-coordinator.ts
- corp-v1-aerosim/corp-v1-aerosim:applications/web/src/progress/progress-client.ts
- corp-v1-aerosim/corp-v1-aerosim:applications/api/src/services/save-pilot-record.ts
Inputs
- Authenticated production acceptance against AeroSim 1.0.0.0 at source 2d237533af1d277fb86b794f519b31780f4112dd.
- Acceptance direction and Wave 31 grouping in Discord message 1549073931644698767.
Outputs
- Ending or completing a launched flight writes one authenticated pilot-scoped progress record that can be retrieved in a later session.
Failure boundaries
- Fail release acceptance when the reproduced production behavior remains possible or the correction is not bound to the exact launched configuration.
Excluded scope
- Do not broaden this correction into later-release Training, Logbook, or unrelated account-management scope.
Verification steps
- Observe one authenticated persistence request after a launched flight completes or ends and verify its stored owner and canonical fields.
- Sign out and back in, then prove only the same pilot can retrieve the resulting resumable or completed activity without duplicate writes.
Traceability
Requirements
Dependencies
- AEROSIM-TS-20Canonical ID: TASK-0020
- AEROSIM-TS-60Canonical ID: TASK-0060
Acceptance evidence
Verified delivery: application PR #190 merged reviewed head 46a24941a7227fdce23af2f0409e37b9b76f7346 as integration revision 23a7c46cc6c872ef210c76930b325f8b2889a340; candidate CI 5011, integration CI 5015, and immutable image publication CI 5014 passed. Browser, API, and disposable PostgreSQL coverage prove one idempotent authenticated pilot-scoped completion record survives a later client and remains isolated from another pilot. 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.