---
id: TST-CRM-ACT-025
title: Task persistence and lifecycle
kind: integration
product_area: crm
module: activities-tasks
revision: 1
status: draft
source_sha:
  services-crm: a8d1364f1dd44b723bb5f9acba12f983e9ec8d69
repository: services-crm
files:
- modules/tasks/tests/integration/services/persistence/tasks.integration.spec.js
implements:
- ATS-CRM-ACT-010-01
- ATS-CRM-ACT-010-03
- ATS-CRM-ACT-010-04
- ATS-CRM-ACT-010-07
- ATS-CRM-ACT-010-09
- ATS-CRM-ACT-010-10
- ATS-CRM-ACT-010-11
- ATS-CRM-ACT-011-01
- ATS-CRM-ACT-011-02
- ATS-CRM-ACT-011-04
- ATS-CRM-ACT-011-05
- ATS-CRM-ACT-011-06
- ATS-CRM-ACT-012-01
- ATS-CRM-ACT-012-02
- ATS-CRM-ACT-012-03
- ATS-CRM-ACT-012-04
- ATS-CRM-ACT-012-07
- ATS-CRM-ACT-012-08
- ATS-CRM-ACT-019-01
environment: local
implementation_state: implemented
latest_result: not-run
latest_run_at: null
latest_run_ref: null
conformance: not-verified
estimated_minutes: 5
isolation: Local test database fixtures and suite-owned records.
evidence:
- services-crm:modules/tasks/tests/integration/services/persistence/tasks.integration.spec.js
- Static inspection only; no runtime result is imported.
- Dependencies and doubles are inspected in the pinned suite setup and imports.
assertion_evidence:
  provenance: test
  source: services-crm:modules/tasks/tests/integration/services/persistence/tasks.integration.spec.js
---

# Task persistence and lifecycle

## Verification Boundary

This suite checks module reads, writes or presentation against persisted fixtures.

## What This Suite Proves

Persistence assertions check task values, versioned edits, holder and queue stamps, claims, releases, closing and reopening, locks and foreign-workspace refusals.

The registered scenario bindings identify the assertion contributions this executable supplies. A compound scenario can require several suites.

## What It Does Not Prove

It does not establish deployed Lambda transport, live Platform policy or end-user browser behavior.

## Real Dependencies and Test Doubles

The actual persistence or presentation functions execute against the migrated PostgreSQL database and fixture execution contexts.

## Must Not Be Doubled

The database queries, constraints, version checks, workspace policies and transaction boundaries under assertion remain real.
