---
id: TST-MBR-MEM-028
title: Staff membership and term operations
kind: integration
product_area: membership
module: memberships
revision: 1
status: draft
source_sha:
  services-membership: 5994c270e8a37a30f848e99ba5b5ee6b87c08893
repository: services-membership
files:
  - >-
    modules/memberships/tests/integration/services/staff-operations.integration.spec.ts
implements:
  - ATS-MBR-MEM-001-02
  - ATS-MBR-MEM-002-02
  - ATS-MBR-MEM-003-02
  - ATS-MBR-MEM-003-04
  - ATS-MBR-MEM-004-02
  - ATS-MBR-MEM-006-01
environment: local
implementation_state: implemented
latest_result: not-run
latest_run_at: null
latest_run_ref: null
conformance: not-verified
estimated_minutes: 3
isolation: >-
  A suite-owned workspace and test identifiers; suites that use shared seed data
  require the source’s serial execution and cleanup policy.
verification_notes: >-
  Bindings describe the assertions reviewed at the pinned commit; the suite is
  not executed by this documentation job.
coverage_gap: null
evidence:
  - >-
    services-membership:modules/memberships/tests/integration/services/staff-operations.integration.spec.ts
assertion_anchors:
  - scenario: ATS-MBR-MEM-001-02
    source: >-
      services-membership:modules/memberships/tests/integration/services/staff-operations.integration.spec.ts#refuses
      a second principal membership of the same owner in the program
  - scenario: ATS-MBR-MEM-002-02
    source: >-
      services-membership:modules/memberships/tests/integration/services/staff-operations.integration.spec.ts#adds
      a renewal continuing the latest term when no dates are given
  - scenario: ATS-MBR-MEM-003-02
    source: >-
      services-membership:modules/memberships/tests/integration/services/staff-operations.integration.spec.ts#keeps
      the old truth of a correction in the versions, recorded with the actor
  - scenario: ATS-MBR-MEM-003-04
    source: >-
      services-membership:modules/memberships/tests/integration/services/staff-operations.integration.spec.ts#terminates
      a term from the effective date, with the reason, and the status follows
  - scenario: ATS-MBR-MEM-004-02
    source: >-
      services-membership:modules/memberships/tests/integration/services/staff-operations.integration.spec.ts#suspends
      over every term and restores to the status the terms give
  - scenario: ATS-MBR-MEM-006-01
    source: >-
      services-membership:modules/memberships/tests/integration/services/staff-operations.integration.spec.ts#creates
      the granted membership and term of a package grant in the same transaction
---

# Staff membership and term operations

## Verification Boundary

Membership writes, dated reads, affiliations, standing and officer scope run against the prepared database.

## What This Suite Proves

The structured bindings identify the capability and feature cases whose reviewed assertions this suite executes. Source anchors preserve the evidence for each binding.

## What It Does Not Prove

A local pass does not qualify deployed scheduling, browser administration or successful production partner calls. Registration records existing code and leaves execution and conformance unverified.

## Real Dependencies and Test Doubles

The database constraints and workspace-scoped persistence exercised by this suite remain real; manual clocks, supplied callers and neighbor fixtures define the local boundary.

## Must Not Be Doubled

Keep the prepared database, workspace boundary, exercised owner constraints and the business operation under test real. A partner double cannot substitute for the Membership write this suite claims to exercise.
