Validate the export manifest before marking assembly complete
The archive download succeeds even when one source query failed and an entire section is missing.
- Focused work estimate
- 2h 30m + prerequisites
- Priority in the scenario
- Medium
- Engineering practice
- Integrity checks · State transitions
Estimated field mix
- Storage systems50%
- Privacy engineering30%
- Data engineering20%
Field percentages are editorial estimates of the ticket's engineering focus. They total 100%; they are not measured time, proficiency scores, or ownership evidence.
Review it, then add it to your workspace.
The board opens an editable draft; nothing is saved until you confirm it. Sign-in and workspace permissions apply, and Demo boards remain ephemeral.
Project context
A fictional learning workspace offers a member a portable copy of their own profile, notes and activity settings. Shared documents contain contributions from other people. The product export policy specifies included fields and shared-record handling; this is an engineering exercise, not a legal portability claim.
Setup prerequisites
- Create synthetic members, private notes and shared-document contributions in a local database.
- Provide fake queue and object-storage adapters with controllable expiry and failure.
Preceding work
Complete these dependencies, or supply their agreed outputs before taking this ticket.
- REXPORT-101 · List exportable member fields before serializing database rows
- REXPORT-102 · Define how shared document contributions appear in a personal export
- REXPORT-103 · Bind export creation to the current authorized subject
- REXPORT-104 · Freeze the export selection without holding a long database transaction
- REXPORT-105 · Stream large note exports with bounded intermediate storage
Acceptance criteria
- Record schema version, section counts, selection boundary and artifact digest.
- Distinguish intentionally omitted sections from failed required sections.
- Mark ready only after required sections and digest validation succeed.
Implementation constraints
- A digest establishes artifact consistency, not completeness beyond the declared export contract.
Verification to include
- Fail the required private-note query and verify the export remains non-ready and non-downloadable, with the required-section failure reported explicitly.
- Corrupt a completed temporary artifact and verify publication is blocked.
Deliverables
- Manifest validator and incomplete-section fixtures
Rollout and recovery
Place manifest validation before the ready transition; keep failed artifacts inaccessible and eligible for cleanup.
Value of the work
For the engineer: Practice export scoping, consistency, streaming and expiring access without leaking other members’ data.
For the team: Create a reviewable export contract and cross-subject regression suite for an approved product policy.
Evidence boundaries
Outcome Evidence: Tests, patches, and runbooks are requested deliverables. They become Outcome Evidence only through a qualified Mission and immutable Evidence IDs.
Ownership Evidence: Independent adaptation must be observed under a declared verification policy and cite immutable Evidence IDs. Completing a planning ticket establishes no Ownership Evidence.