Files
kandev/docs/specs/tasks/system-design/archive-cascade-traceability.yaml
T
Clément Fiere 01b0dedd6c fix: harden task archive lifecycle recovery (#3651)
Co-authored-by: Carlos Florencio <carlosmflorencio@gmail.com>
2026-09-14 16:34:25 +01:00

123 lines
31 KiB
YAML

schema_version: 1
owner: docs/specs/tasks/system-design
purpose: One machine-readable owner and verification edge for every scoped requirement and acceptance criterion.
entry_schema:
id: REQ or AC identifier
requirement: parent requirement identifier
authoritative_design_anchor: one repo-relative document section
work_order_owner: one repo-relative work order
verification: named test or command
requirements:
REQ-TASKS-RUNTIME-CLEANUP-001: {design: docs/specs/tasks/system-design/durable-archive-cascades.md#requirement-mapping, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: "python3 ../../scripts/verify_archive_cascade_registries.py --check-traceability"}
REQ-TASKS-EXTERNAL-ID-001: {design: docs/specs/tasks/system-design/external-id-idempotency.md#requirement-mapping, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: TestExternalIDReleaseReplayAfterReuse}
REQ-TASKS-EXTERNAL-ID-SCENARIOS-001: {design: docs/specs/tasks/system-design/external-id-idempotency.md#create-sequence-normative, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: TestArchiveTaskTree_Partial}
REQ-TASKS-EXTERNAL-ID-BOUNDARIES-001: {design: docs/specs/tasks/system-design/external-id-idempotency.md#api-surface, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: TestCanonicalDeletionProvenance_}
REQ-TASKS-DETACHED-WORKSPACE-CONTINUITY-001: {design: docs/specs/tasks/system-design/detached-workspace-continuity.md#detachment-admission-matrix, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: DetachTaskModeBranch}
REQ-TASKS-DETACHED-WORKSPACE-CONTINUITY-002: {design: docs/specs/tasks/system-design/detached-workspace-continuity.md#canonical-creation-attachment, work_order: docs/plans/agent-self-archive-cancellation/task-01-persist-cascade-operations.md, verification: CreationStepRecovery_}
REQ-TASKS-SESSION-DELETE-RESOURCE-CLEANUP-001: {design: docs/specs/tasks/system-design/session-delete-resource-cleanup.md#requirement-mapping, work_order: docs/plans/agent-self-archive-cancellation/task-02-harden-cleanup-identity.md, verification: TestDeleteSessionPreservesTaskResources}
acceptance_criteria:
AC-TASKS-RUNTIME-CLEANUP-001.1: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#components, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: StopsAllOwnedRuntimes}
AC-TASKS-RUNTIME-CLEANUP-001.2: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#components, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: SessionDeletePreservesTaskResources}
AC-TASKS-RUNTIME-CLEANUP-001.3: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#workspace-group-consistency, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: SharedEnvironmentDefersCleanup}
AC-TASKS-RUNTIME-CLEANUP-001.4: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#components, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: ProcessGroupTermination}
AC-TASKS-RUNTIME-CLEANUP-001.5: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#failure-and-recovery, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: StartupStaleRuntimeRow}
AC-TASKS-RUNTIME-CLEANUP-001.6: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#operation-ledger, work_order: docs/plans/agent-self-archive-cancellation/task-01-persist-cascade-operations.md, verification: CreationHandle}
AC-TASKS-RUNTIME-CLEANUP-001.7: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#unarchive-flow, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: UnarchiveRecreatesOwnedWorktree}
AC-TASKS-RUNTIME-CLEANUP-001.8: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#cleanup-identity-leases-and-fencing, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: DeadRowRepairCASNewerGeneration}
AC-TASKS-RUNTIME-CLEANUP-001.9: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/archive-cascade-execution-contracts.md#resource-keys-markers-and-provider-proof, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: GitWorktreeExactProof}
AC-TASKS-RUNTIME-CLEANUP-001.10: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#archive-caller-context, work_order: docs/plans/agent-self-archive-cancellation/task-02-harden-cleanup-identity.md, verification: TestArchiveDeleteStopsAllRuntimes}
AC-TASKS-RUNTIME-CLEANUP-001.11: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#scope-discovery-and-reservation, work_order: docs/plans/agent-self-archive-cancellation/task-01-persist-cascade-operations.md, verification: CascadeMembershipAdmission}
AC-TASKS-RUNTIME-CLEANUP-001.12: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#failure-and-recovery, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: TestArchiveTaskTree_Partial}
AC-TASKS-RUNTIME-CLEANUP-001.13: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#scope-discovery-and-reservation, work_order: docs/plans/agent-self-archive-cancellation/task-01-persist-cascade-operations.md, verification: CrossWorkspaceDescendant}
AC-TASKS-RUNTIME-CLEANUP-001.14: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#workspace-group-consistency, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: MissingGroupSnapshot}
AC-TASKS-RUNTIME-CLEANUP-001.15: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#archive-flow, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: ScheduledArchiveComposition}
AC-TASKS-RUNTIME-CLEANUP-001.16: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/archive-cascade-execution-contracts.md#legacy-conversion-proof-matrix, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: LegacyConversionProof}
AC-TASKS-RUNTIME-CLEANUP-001.17: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#events-and-composition, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: ArchiveOutboxDependencies}
AC-TASKS-RUNTIME-CLEANUP-001.18: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#aggregate-transaction-boundary, work_order: docs/plans/agent-self-archive-cancellation/task-01-persist-cascade-operations.md, verification: AggregateTransactionRollback}
AC-TASKS-RUNTIME-CLEANUP-001.19: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#cleanup-identity-leases-and-fencing, work_order: docs/plans/agent-self-archive-cancellation/task-01-persist-cascade-operations.md, verification: CleanupWorkerLeaseRace}
AC-TASKS-RUNTIME-CLEANUP-001.20: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#workspace-group-consistency, work_order: docs/plans/agent-self-archive-cancellation/task-01-persist-cascade-operations.md, verification: GroupWorkspaceAuthorization}
AC-TASKS-RUNTIME-CLEANUP-001.21: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#operation-phase-transitions, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: ArchivePhaseCAS}
AC-TASKS-RUNTIME-CLEANUP-001.22: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#scope-discovery-and-reservation, work_order: docs/plans/agent-self-archive-cancellation/task-01-persist-cascade-operations.md, verification: BlockedCandidateBarrier}
AC-TASKS-RUNTIME-CLEANUP-001.23: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/archive-cascade-execution-contracts.md#task-and-group-cleanup-jobs, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: CleanupAdmissionMatrix}
AC-TASKS-RUNTIME-CLEANUP-001.24: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#events-and-composition, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: RevisionHistoricalGaps}
AC-TASKS-RUNTIME-CLEANUP-001.25: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/archive-cascade-registries.md#artifact-paths-and-closed-schemas, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: WorkspaceTableInventory}
AC-TASKS-RUNTIME-CLEANUP-001.26: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#failure-and-recovery, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: UnknownCleanupReconciliation}
AC-TASKS-RUNTIME-CLEANUP-001.27: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/archive-cascade-execution-contracts.md#resource-keys-markers-and-provider-proof, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: CanonicalResourceKeys}
AC-TASKS-EXTERNAL-ID-001.1: {requirement: REQ-TASKS-EXTERNAL-ID-001, design: docs/specs/tasks/system-design/external-id-idempotency.md#comparison-semantics, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: ExternalIDCollation}
AC-TASKS-EXTERNAL-ID-001.2: {requirement: REQ-TASKS-EXTERNAL-ID-001, design: docs/specs/tasks/system-design/external-id-idempotency.md#state-machine, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: ExternalIDPreflight}
AC-TASKS-EXTERNAL-ID-001.3: {requirement: REQ-TASKS-EXTERNAL-ID-001, design: docs/specs/tasks/system-design/external-id-idempotency.md#service-contract, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: ExternalIDFoundNoSideEffectsMatrix}
AC-TASKS-EXTERNAL-ID-001.4: {requirement: REQ-TASKS-EXTERNAL-ID-001, design: docs/specs/tasks/system-design/external-id-idempotency.md#create-sequence-normative, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: ExternalIDLookupPreflight}
AC-TASKS-EXTERNAL-ID-001.5: {requirement: REQ-TASKS-EXTERNAL-ID-001, design: docs/specs/tasks/system-design/task-creation-protocol.md#canonical-bindings, work_order: docs/plans/agent-self-archive-cancellation/task-01-persist-cascade-operations.md, verification: CreationStepLedger}
AC-TASKS-EXTERNAL-ID-001.6: {requirement: REQ-TASKS-EXTERNAL-ID-001, design: docs/specs/tasks/system-design/external-id-idempotency.md#settlement-normative, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: ExternalIDRelease}
AC-TASKS-EXTERNAL-ID-001.7: {requirement: REQ-TASKS-EXTERNAL-ID-001, design: docs/specs/tasks/system-design/external-id-idempotency.md#settlement-normative, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: ExternalIDReleaseReplayAfterReuse}
AC-TASKS-EXTERNAL-ID-001.8: {requirement: REQ-TASKS-EXTERNAL-ID-001, design: docs/specs/tasks/system-design/external-id-idempotency.md#api-surface, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: CreationRecovery}
AC-TASKS-EXTERNAL-ID-SCENARIOS-001.1: {requirement: REQ-TASKS-EXTERNAL-ID-SCENARIOS-001, design: docs/specs/tasks/system-design/external-id-idempotency.md#create-sequence-normative, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: ExternalIDScenarioMatrix}
AC-TASKS-EXTERNAL-ID-SCENARIOS-001.2: {requirement: REQ-TASKS-EXTERNAL-ID-SCENARIOS-001, design: docs/specs/tasks/system-design/external-id-idempotency.md#create-sequence-normative, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: ExternalIDPrecedence}
AC-TASKS-EXTERNAL-ID-SCENARIOS-001.3: {requirement: REQ-TASKS-EXTERNAL-ID-SCENARIOS-001, design: docs/specs/tasks/system-design/external-id-idempotency.md#create-sequence-normative, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: CreationStepRecovery}
AC-TASKS-EXTERNAL-ID-SCENARIOS-001.4: {requirement: REQ-TASKS-EXTERNAL-ID-SCENARIOS-001, design: docs/specs/tasks/system-design/external-id-idempotency.md#create-sequence-normative, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: ExternalIDReleaseReplayAfterReuse}
AC-TASKS-EXTERNAL-ID-BOUNDARIES-001.1: {requirement: REQ-TASKS-EXTERNAL-ID-BOUNDARIES-001, design: docs/specs/tasks/system-design/external-id-idempotency.md#api-surface, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: ExternalIDBoundaryAuthorization}
AC-TASKS-EXTERNAL-ID-BOUNDARIES-001.2: {requirement: REQ-TASKS-EXTERNAL-ID-BOUNDARIES-001, design: docs/specs/tasks/system-design/task-creation-protocol.md#canonical-bindings, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: CreationHandleVisibility}
AC-TASKS-EXTERNAL-ID-BOUNDARIES-001.3: {requirement: REQ-TASKS-EXTERNAL-ID-BOUNDARIES-001, design: docs/specs/tasks/system-design/external-id-idempotency.md#completion-call-site-normative-per-surface, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: DeferredSurfaceBoundary}
AC-TASKS-DETACHED-WORKSPACE-CONTINUITY-001.1: {requirement: REQ-TASKS-DETACHED-WORKSPACE-CONTINUITY-001, design: docs/specs/tasks/system-design/detached-workspace-continuity.md#concurrency-and-failure-behavior, work_order: docs/plans/agent-self-archive-cancellation/task-01-persist-cascade-operations.md, verification: DetachTaskModeBranch}
AC-TASKS-DETACHED-WORKSPACE-CONTINUITY-001.2: {requirement: REQ-TASKS-DETACHED-WORKSPACE-CONTINUITY-001, design: docs/specs/tasks/system-design/detached-workspace-continuity.md#concurrency-and-failure-behavior, work_order: docs/plans/agent-self-archive-cancellation/task-01-persist-cascade-operations.md, verification: DetachTaskCrashRollback}
AC-TASKS-DETACHED-WORKSPACE-CONTINUITY-001.3: {requirement: REQ-TASKS-DETACHED-WORKSPACE-CONTINUITY-001, design: docs/specs/tasks/system-design/detached-workspace-continuity.md#cleanup-fencing, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: DetachTaskCleanupRace}
AC-TASKS-DETACHED-WORKSPACE-CONTINUITY-001.4: {requirement: REQ-TASKS-DETACHED-WORKSPACE-CONTINUITY-001, design: docs/specs/tasks/system-design/detached-workspace-continuity.md#cleanup-fencing, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: DetachTaskRace}
AC-TASKS-DETACHED-WORKSPACE-CONTINUITY-001.5: {requirement: REQ-TASKS-DETACHED-WORKSPACE-CONTINUITY-001, design: docs/specs/tasks/system-design/detached-workspace-continuity.md#restart-and-recovery, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: DetachTaskPublicationReplay}
AC-TASKS-DETACHED-WORKSPACE-CONTINUITY-001.6: {requirement: REQ-TASKS-DETACHED-WORKSPACE-CONTINUITY-001, design: docs/specs/tasks/system-design/detached-workspace-continuity.md#detachment-admission-matrix, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: DetachTaskModeBranch}
AC-TASKS-DETACHED-WORKSPACE-CONTINUITY-002.1: {requirement: REQ-TASKS-DETACHED-WORKSPACE-CONTINUITY-002, design: docs/specs/tasks/system-design/detached-workspace-continuity.md#canonical-creation-attachment, work_order: docs/plans/agent-self-archive-cancellation/task-01-persist-cascade-operations.md, verification: CreationRouteAttachment}
AC-TASKS-DETACHED-WORKSPACE-CONTINUITY-002.2: {requirement: REQ-TASKS-DETACHED-WORKSPACE-CONTINUITY-002, design: docs/specs/tasks/system-design/task-creation-protocol.md#canonical-bindings, work_order: docs/plans/agent-self-archive-cancellation/task-01-persist-cascade-operations.md, verification: CreationAttachmentFailure}
AC-TASKS-DETACHED-WORKSPACE-CONTINUITY-002.3: {requirement: REQ-TASKS-DETACHED-WORKSPACE-CONTINUITY-002, design: docs/specs/tasks/system-design/detached-workspace-continuity.md#concurrency-and-failure-behavior, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: DetachTaskAdjacentLockInversion}
AC-TASKS-RUNTIME-CLEANUP-001.28: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/archive-cascade-execution-contracts.md#local-operator-and-security-audit, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: CLI}
AC-TASKS-RUNTIME-CLEANUP-001.29: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/archive-cascade-boundary-contracts.md#sealed-actor-structures-and-checks, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: ArchiveActorBindings}
AC-TASKS-RUNTIME-CLEANUP-001.30: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#events-and-composition, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: ArchiveEventOutbox}
AC-TASKS-RUNTIME-CLEANUP-001.31: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/archive-cascade-execution-contracts.md#verification-and-public-cli-contract, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: DocsContract}
AC-TASKS-RUNTIME-CLEANUP-001.32: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#failure-and-recovery, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: RuntimeRestartAfterExhaustion}
AC-TASKS-RUNTIME-CLEANUP-001.33: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/archive-cascade-execution-contracts.md#local-operator-and-security-audit, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: SecurityAudit}
AC-TASKS-RUNTIME-CLEANUP-001.34: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/archive-cascade-execution-contracts.md#legacy-conversion-proof-matrix, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: LegacyHMACProofMatrix}
AC-TASKS-RUNTIME-CLEANUP-001.35: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/archive-cascade-execution-contracts.md#complete-database-lock-order, work_order: docs/plans/agent-self-archive-cancellation/task-01-persist-cascade-operations.md, verification: LockOrder}
AC-TASKS-RUNTIME-CLEANUP-001.36: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#events-and-composition, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: RevisionHistoricalGaps}
AC-TASKS-RUNTIME-CLEANUP-001.37: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#unarchive-flow, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: MissingGroupSnapshot}
AC-TASKS-RUNTIME-CLEANUP-001.38: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/task-creation-protocol.md#canonical-bindings, work_order: docs/plans/agent-self-archive-cancellation/task-01-persist-cascade-operations.md, verification: CreationHandle}
AC-TASKS-RUNTIME-CLEANUP-001.39: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#events-and-composition, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: HistoricalGaps}
AC-TASKS-RUNTIME-CLEANUP-001.40: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/archive-cascade-boundary-contracts.md#complete-workspace-deletion-transaction, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: WorkspaceDeleteActiveCascade}
AC-TASKS-RUNTIME-CLEANUP-001.41: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/archive-cascade-boundary-contracts.md#workspace-deletion-during-a-cascade, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: WorkspaceDeleteActiveCascade}
AC-TASKS-RUNTIME-CLEANUP-001.42: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/archive-cascade-boundary-contracts.md#absolute-request-deadline, work_order: docs/plans/agent-self-archive-cancellation/task-02-harden-cleanup-identity.md, verification: AbsoluteDeadlineAllSteps}
AC-TASKS-RUNTIME-CLEANUP-001.43: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#workspace-group-consistency, work_order: docs/plans/agent-self-archive-cancellation/task-02-harden-cleanup-identity.md, verification: GroupSnapshotRoundTrip}
AC-TASKS-RUNTIME-CLEANUP-001.44: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/archive-cascade-execution-contracts.md#legacy-conversion-proof-matrix, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: LegacyHMAC}
AC-TASKS-RUNTIME-CLEANUP-001.45: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/archive-cascade-execution-contracts.md#resource-keys-markers-and-provider-proof, work_order: docs/plans/agent-self-archive-cancellation/task-02-harden-cleanup-identity.md, verification: PhysicalAbsenceProof}
AC-TASKS-RUNTIME-CLEANUP-001.46: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/durable-archive-cascades.md#events-and-composition, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: ArchiveEventOutbox}
AC-TASKS-RUNTIME-CLEANUP-001.47: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/archive-cascade-boundary-contracts.md#sealed-actor-structures-and-checks, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: ArchiveActorBindings}
AC-TASKS-RUNTIME-CLEANUP-001.48: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/runtime-startup-registry.md#exact-ordered-entries, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: BootstrapStarterInventory}
AC-TASKS-RUNTIME-CLEANUP-001.49: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/archive-cascade-boundary-contracts.md#workspace-deletion-during-a-cascade, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: WorkspaceDeleteActiveCascade}
AC-TASKS-RUNTIME-CLEANUP-001.50: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/workspace-config-fence.md#capability-and-retained-claim, work_order: docs/plans/agent-self-archive-cancellation/task-02-harden-cleanup-identity.md, verification: WorkspaceConfigResolver}
AC-TASKS-RUNTIME-CLEANUP-001.51: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/workspace-deletion-table-registry.md#transactionally-deleted-tables, work_order: docs/plans/agent-self-archive-cancellation/task-01-persist-cascade-operations.md, verification: BlockerCommentOwnership}
AC-TASKS-RUNTIME-CLEANUP-001.52: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/runtime-startup-registry.md#exact-ordered-entries, work_order: docs/plans/agent-self-archive-cancellation/task-03-resume-archive-unarchive.md, verification: BootstrapStarterInventory}
AC-TASKS-RUNTIME-CLEANUP-001.53: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/archive-cascade-registries.md#artifact-paths-and-closed-schemas, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: CanonicalDeletionProvenance}
AC-TASKS-RUNTIME-CLEANUP-001.54: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/task-creation-protocol.md#canonical-bindings, work_order: docs/plans/agent-self-archive-cancellation/task-01-persist-cascade-operations.md, verification: CreationHandle}
AC-TASKS-RUNTIME-CLEANUP-001.55: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/archive-cascade-registries.md#artifact-paths-and-closed-schemas, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: WorkspaceTableInventory}
AC-TASKS-RUNTIME-CLEANUP-001.56: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/archive-cascade-execution-contracts.md#local-operator-and-security-audit, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: WorkspaceConfirmActorRace}
AC-TASKS-RUNTIME-CLEANUP-001.57: {requirement: REQ-TASKS-RUNTIME-CLEANUP-001, design: docs/specs/tasks/system-design/task-creation-protocol.md#complete-abort-and-recovery, work_order: docs/plans/agent-self-archive-cancellation/task-01-persist-cascade-operations.md, verification: WorkspaceDeleteUnsettledCreation}
AC-TASKS-SESSION-DELETE-RESOURCE-CLEANUP-001.1: {requirement: REQ-TASKS-SESSION-DELETE-RESOURCE-CLEANUP-001, design: docs/specs/tasks/system-design/session-delete-resource-cleanup.md#requirement-mapping, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: SessionDeletePreservesEnvironment}
AC-TASKS-SESSION-DELETE-RESOURCE-CLEANUP-001.2: {requirement: REQ-TASKS-SESSION-DELETE-RESOURCE-CLEANUP-001, design: docs/specs/tasks/system-design/session-delete-resource-cleanup.md#requirement-mapping, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: SessionDeleteNoPhysicalCleanup}
AC-TASKS-SESSION-DELETE-RESOURCE-CLEANUP-001.3: {requirement: REQ-TASKS-SESSION-DELETE-RESOURCE-CLEANUP-001, design: docs/specs/tasks/system-design/session-delete-resource-cleanup.md#requirement-mapping, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: SessionDeleteSharedEnvironment}
AC-TASKS-SESSION-DELETE-RESOURCE-CLEANUP-001.4: {requirement: REQ-TASKS-SESSION-DELETE-RESOURCE-CLEANUP-001, design: docs/specs/tasks/system-design/session-delete-resource-cleanup.md#requirement-mapping, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: SessionDeleteLastSession}
AC-TASKS-SESSION-DELETE-RESOURCE-CLEANUP-001.5: {requirement: REQ-TASKS-SESSION-DELETE-RESOURCE-CLEANUP-001, design: docs/specs/tasks/system-design/session-delete-resource-cleanup.md#requirement-mapping, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: SessionReuseRetainedWorkspace}
AC-TASKS-SESSION-DELETE-RESOURCE-CLEANUP-001.6: {requirement: REQ-TASKS-SESSION-DELETE-RESOURCE-CLEANUP-001, design: docs/specs/tasks/system-design/session-delete-resource-cleanup.md#requirement-mapping, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: SessionCleanupOwnerBoundary}
AC-TASKS-SESSION-DELETE-RESOURCE-CLEANUP-001.7: {requirement: REQ-TASKS-SESSION-DELETE-RESOURCE-CLEANUP-001, design: docs/specs/tasks/system-design/session-delete-resource-cleanup.md#requirement-mapping, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: SessionlessTaskCleanupDiscovery}
AC-TASKS-SESSION-DELETE-RESOURCE-CLEANUP-001.8: {requirement: REQ-TASKS-SESSION-DELETE-RESOURCE-CLEANUP-001, design: docs/specs/tasks/system-design/session-delete-resource-cleanup.md#requirement-mapping, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: BorrowedResourcePreservation}
AC-TASKS-SESSION-DELETE-RESOURCE-CLEANUP-001.9: {requirement: REQ-TASKS-SESSION-DELETE-RESOURCE-CLEANUP-001, design: docs/specs/tasks/system-design/session-delete-resource-cleanup.md#requirement-mapping, work_order: docs/plans/agent-self-archive-cancellation/task-04-verify-surfaces-dialects.md, verification: SessionDeleteLiveViews}
source_inventory:
- {file: docs/specs/tasks/requirements/runtime-cleanup.md, requirements: [{id: REQ-TASKS-RUNTIME-CLEANUP-001, first: 1, last: 57}]}
- {file: docs/specs/tasks/requirements/external-id-idempotency.md, requirements: [{id: REQ-TASKS-EXTERNAL-ID-001, first: 1, last: 8}]}
- {file: docs/specs/tasks/requirements/external-id-idempotency-scenarios.md, requirements: [{id: REQ-TASKS-EXTERNAL-ID-SCENARIOS-001, first: 1, last: 4}]}
- {file: docs/specs/tasks/requirements/external-id-idempotency-boundaries.md, requirements: [{id: REQ-TASKS-EXTERNAL-ID-BOUNDARIES-001, first: 1, last: 3}]}
- {file: docs/specs/tasks/requirements/detached-workspace-continuity.md, requirements: [{id: REQ-TASKS-DETACHED-WORKSPACE-CONTINUITY-001, first: 1, last: 6}, {id: REQ-TASKS-DETACHED-WORKSPACE-CONTINUITY-002, first: 1, last: 3}]}
- {file: docs/specs/tasks/requirements/session-delete-resource-cleanup.md, requirements: [{id: REQ-TASKS-SESSION-DELETE-RESOURCE-CLEANUP-001, first: 1, last: 9}]}
validation:
require_unique_ids: true
require_one_design_anchor_per_id: true
require_one_work_order_per_id: true
require_one_verification_per_id: true
reject_range_only_entries: true
reject_unresolved_anchor_or_command: true