Skip to main content

AEROSIM-TS-72

Project task

Verify resumability filtering, restoration, and isolation

Reviewed evidence demonstrates that Home identifies only actually resumable activity, Resume restores its recorded context, unavailable continuation yields the correct explanation, and no pilot can discover or resume another pilot's activity.

AEROSIM-TS-72Canonical ID TASK-0072
Verified flow state
Done
Owner
AeroSim Architecture and Delivery
Component
Pilot Data Store, API Service, and Web Application — resume test suites
Repository
corp-v1-aerosim/corp-v1-aerosim

Delivery scope

Add service, API, integration, and browser tests for valid latest activity, no activity, completed or aborted activity, malformed and unsupported state versions, deleted governed resources, stale state between Home and Resume, successful context restoration, transient failures, session expiry, two-pilot isolation, and subject-substitution attempts. Concrete artifacts are prisma/schema.prisma and tests/integration/verify-resumability-filtering-restoration-and-isolatio.spec.ts; ownership is limited to the listed artifacts and their focused verification.

Implementation contract

Implementation artifacts

  • prisma/schema.prisma
  • prisma/migrations/verify-resumability-filtering-restoration-and-isolatio/migration.sql
  • tests/integration/verify-resumability-filtering-restoration-and-isolatio.spec.ts

Inputs

  • Valid, absent, completed, aborted, malformed, unsupported, and deleted-resource activity fixtures
  • State-change fixture between Home projection and Resume selection
  • Two pilot sessions plus expired-session and transient-failure cases

Outputs

  • Reviewed evidence demonstrates that Home identifies only actually resumable activity, Resume restores its recorded context, unavailable continuation yields the correct explanation, and no pilot can discover or resume another pilot's activity.

Failure boundaries

  • Fail if Home offers Resume for any non-resumable fixture or if launch proceeds after immediate revalidation invalidates the context
  • Fail on cross-pilot discovery, subject substitution, destructive fallback, or restoration that differs from the recorded canonical context

Excluded scope

  • Testing activity recommendations or restart-from-beginning behavior
  • Claiming support for state versions or governed resources outside the resume contract

Verification steps

  • Run tests/integration/verify-resumability-filtering-restoration-and-isolatio.spec.ts against the exact implementation revision and retain the complete passing result.
  • Exercise the positive contract with valid, absent, completed, aborted, malformed, unsupported, and deleted-resource activity fixtures, then assert: Reviewed evidence demonstrates that Home identifies only actually resumable activity, Resume restores its recorded context, unavailable continuation yields the correct explanation, and no pilot can discover or resume another pilot's activity.
  • Exercise every negative boundary: Fail if Home offers Resume for any non-resumable fixture or if launch proceeds after immediate revalidation invalidates the context; Fail on cross-pilot discovery, subject substitution, destructive fallback, or restoration that differs from the recorded canonical context

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 #136 reviewed head 534e638719c3c2ded96ecabdb83c0a5810ac166f merged as 8beeaca6387bdf0a3a319a03957c8f0530475162. Verified explicit resume filtering and immediate revalidation with 12 passing disposable-PostgreSQL integration cases covering exact restoration, invalid activity and state, deleted resources, stale selection, session expiry, transient failure, and cross-pilot isolation. Exact-head and post-merge CI runs 4342, 4343, 4346, 4347 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.