docs/compliance.md's "Export constraints" section states deleted attestations "remain in the on-chain export (they are still stored on the ledger). Soft-deleted records are included in attestations with attestation.deleted === true." This is false: request_deletion (src/attestation.rs:860-883) removes the attestation ID from the subject's index via Storage::remove_subject_attestation and ChunkedIndex::remove_subject, and the contract's public get_subject_attestations (src/query.rs:163-173) additionally filters if !a.deleted. TrustLinkClient.exportSubjectData (sdk/typescript/src/client.ts:1353) enumerates attestations exclusively via iterateSubjectAttestations → getSubjectAttestations, so a deleted attestation can never appear in the export despite the summary.deletedAttestations counter in the same function implying it should.
docs/compliance.md's "Export constraints" section states deleted attestations "remain in the on-chain export (they are still stored on the ledger). Soft-deleted records are included in
attestationswithattestation.deleted === true." This is false:request_deletion(src/attestation.rs:860-883) removes the attestation ID from the subject's index viaStorage::remove_subject_attestationandChunkedIndex::remove_subject, and the contract's publicget_subject_attestations(src/query.rs:163-173) additionally filtersif !a.deleted.TrustLinkClient.exportSubjectData(sdk/typescript/src/client.ts:1353) enumerates attestations exclusively viaiterateSubjectAttestations→getSubjectAttestations, so a deleted attestation can never appear in the export despite thesummary.deletedAttestationscounter in the same function implying it should.