---
id: TST-CRM-ACT-015
title: Task API lifecycle
kind: api-lifecycle
product_area: crm
module: activities-tasks
revision: 1
status: draft
source_sha:
  services-crm: a8d1364f1dd44b723bb5f9acba12f983e9ec8d69
repository: services-crm
files:
- modules/tasks/tests/e2e/tasks.e2e.spec.js
implements:
- ATS-CRM-ACT-010-01
- ATS-CRM-ACT-010-02
- ATS-CRM-ACT-010-03
- ATS-CRM-ACT-010-05
- ATS-CRM-ACT-010-10
- ATS-CRM-ACT-010-11
- ATS-CRM-ACT-011-03
- ATS-CRM-ACT-011-05
- ATS-CRM-ACT-011-06
- ATS-CRM-ACT-011-07
- ATS-CRM-ACT-011-08
- ATS-CRM-ACT-012-01
- ATS-CRM-ACT-012-04
- ATS-CRM-ACT-012-07
- ATS-CRM-ACT-012-08
- ATS-CRM-ACT-013-02
- ATS-CRM-ACT-013-03
- ATS-CRM-ACT-013-04
- ATS-CRM-ACT-013-05
- ATS-CRM-ACT-016-01
- ATS-CRM-ACT-016-04
- ATS-CRM-ACT-016-05
- ATS-CRM-ACT-019-02
- ATS-CRM-ACT-019-04
- ATS-CRM-ACT-019-05
- FAS-CRM-ACT-04-04
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/e2e/tasks.e2e.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/e2e/tasks.e2e.spec.js
---

# Task API lifecycle

## Verification Boundary

This suite sends requests through the real local API or trusted-service handler and verifies the responses and retained data.

## What This Suite Proves

Requests check task recording, patch and replacement, assignment, claim and release, explicit closing actions, configuration maintenance and route authority.

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 local handler, schemas, signed-context checks and persistence execute against PostgreSQL. Generated signing keys and in-process request delivery replace deployment transport. Role eligibility uses local Platform security fixtures rather than a deployed security-service lifecycle.

## Must Not Be Doubled

Route dispatch, schema checks, authority evaluation and database writes remain real.
