---
id: TST-MBR-MEM-003
title: Application decision contract and outcome mapping
kind: unit
product_area: membership
module: memberships
revision: 1
status: draft
source_sha:
  services-membership: 5994c270e8a37a30f848e99ba5b5ee6b87c08893
repository: services-membership
files:
  - modules/applications/tests/unit/submissions-contracts.spec.ts
implements:
  - ATS-MBR-MEM-012-01
  - ATS-MBR-MEM-012-02
  - ATS-MBR-MEM-012-03
  - ATS-MBR-MEM-012-04
environment: local
implementation_state: implemented
latest_result: not-run
latest_run_at: null
latest_run_ref: null
conformance: not-verified
estimated_minutes: 1
isolation: Literal fixtures local to each test.
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/applications/tests/unit/submissions-contracts.spec.ts
assertion_anchors:
  - scenario: ATS-MBR-MEM-012-01
    source: >-
      services-membership:modules/applications/tests/unit/submissions-contracts.spec.ts#parses
      the golden delivery document
  - scenario: ATS-MBR-MEM-012-01
    source: >-
      services-membership:modules/applications/tests/unit/submissions-contracts.spec.ts#refuses
      a decision about a subject kind that is not Membership’s
  - scenario: ATS-MBR-MEM-012-02
    source: >-
      services-membership:modules/applications/tests/unit/submissions-contracts.spec.ts#maps
      a join’s codes onto the engine’s kinds
  - scenario: ATS-MBR-MEM-012-02
    source: >-
      services-membership:modules/applications/tests/unit/submissions-contracts.spec.ts#maps
      renew, reinstate and change onto approved for a membership
  - scenario: ATS-MBR-MEM-012-03
    source: >-
      services-membership:modules/applications/tests/unit/submissions-contracts.spec.ts#records
      a first decision
  - scenario: ATS-MBR-MEM-012-03
    source: >-
      services-membership:modules/applications/tests/unit/submissions-contracts.spec.ts#answers
      a redelivered decision as recorded
  - scenario: ATS-MBR-MEM-012-03
    source: >-
      services-membership:modules/applications/tests/unit/submissions-contracts.spec.ts#records
      a decision that supersedes the recorded one
  - scenario: ATS-MBR-MEM-012-03
    source: >-
      services-membership:modules/applications/tests/unit/submissions-contracts.spec.ts#ignores
      a decision a later one has replaced
  - scenario: ATS-MBR-MEM-012-04
    source: >-
      services-membership:modules/applications/tests/unit/submissions-contracts.spec.ts#leaves
      the application decided, awaiting the applicant or withdrawn by the
      decision’s kind
---

# Application decision contract and outcome mapping

## Verification Boundary

The suite exercises pure membership decisions against literal inputs and expected outputs.

## 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 pure-rule pass does not prove persistence, permission enforcement through the API or a complete business lifecycle. Registration records existing code and leaves execution and conformance unverified.

## Real Dependencies and Test Doubles

The decision functions and schemas are real. Literal inputs and checked-in fixtures supply their data; this boundary does not call live owners.

## Must Not Be Doubled

Keep the decision function or schema under test real; replacing its result would remove the proof.
