---
id: TST-CRM-ACT-002
title: Activity 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/activities/tests/e2e/activities.e2e.spec.js
implements:
- ATS-CRM-ACT-001-05
- ATS-CRM-ACT-001-09
- ATS-CRM-ACT-001-13
- ATS-CRM-ACT-002-01
- ATS-CRM-ACT-003-01
- ATS-CRM-ACT-003-02
- ATS-CRM-ACT-003-03
- ATS-CRM-ACT-003-07
- ATS-CRM-ACT-005-01
- ATS-CRM-ACT-005-02
- ATS-CRM-ACT-005-03
- ATS-CRM-ACT-005-08
- ATS-CRM-ACT-005-09
- ATS-CRM-ACT-005-12
- ATS-CRM-ACT-006-01
- ATS-CRM-ACT-006-02
- ATS-CRM-ACT-006-03
- ATS-CRM-ACT-008-01
- ATS-CRM-ACT-008-02
- ATS-CRM-ACT-008-08
- ATS-CRM-ACT-009-03
- ATS-CRM-ACT-009-05
- ATS-CRM-ACT-019-01
- ATS-CRM-ACT-019-02
- ATS-CRM-ACT-019-03
- ATS-CRM-ACT-019-05
- ATS-CRM-ACT-019-08
- FAS-CRM-ACT-02-01
- FAS-CRM-ACT-02-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/activities/tests/e2e/activities.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/activities/tests/e2e/activities.e2e.spec.js
---

# Activity 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 exercise linked activity and follow-up creation, versioned correction, revision reads, deletion, type maintenance, timelines and route-specific access 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 local handler, schemas, signed-context checks and persistence execute against PostgreSQL. Generated signing keys and in-process request delivery replace deployment transport.

## Must Not Be Doubled

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