---
id: TST-ACC-REC-064
title: Immutable reconciliation activity
kind: integration
product_area: accounting
module: reconciliation
revision: 1
status: draft
source_sha:
  services-accounting: f47cb263875bbc0c5640fba7dae6785ec32695f8
repository: services-accounting
files:
  - modules/reconciliation/tests/integration/services/persistence/reconciliation-events.integration.spec.js
implements:
  - ATS-ACC-REC-020-05
environment: local
implementation_state: implemented
latest_result: not-run
latest_run_at: null
latest_run_ref: null
conformance: not-verified
estimated_minutes: 5
isolation: Suite-owned workspace fixtures and deterministic records removed by suite cleanup.
evidence:
  - >-
    services-accounting:modules/reconciliation/tests/integration/services/persistence/reconciliation-events.integration.spec.js
  - 'Declared test doubles: Doubled: the clock, stopped at `TEST_NOW`.'
bindings:
  - scenario: ATS-ACC-REC-020-05
    assertions:
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/persistence/reconciliation-events.integration.spec.js#answers
        the event as stored, its actor the caller and its time the clock’s
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/persistence/reconciliation-events.integration.spec.js#records
        nothing when the command’s transaction rolls back
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/persistence/reconciliation-events.integration.spec.js#refuses
        a detail past 4,096 bytes
---

# Immutable reconciliation activity

## Verification Boundary

This suite calls production services over the real test database. Fixture setup may write records directly; the exercised commands and queries retain their normal database enforcement.

## What This Suite Proves

The executable assertions identified in the binding records supply the registered scenario observations. When a scenario names several suites, this suite supplies its listed assertions and does not independently establish every clause.

## What It Does Not Prove

Deployed infrastructure, live console behavior and shared scheduling delivery are outside this local boundary.

## Real Dependencies and Test Doubles

PostgreSQL, migrations and the exercised production code are real. Fixtures supply the financial world and caller context; deterministic setup and owner-side inspection do not replace database enforcement.

## Must Not Be Doubled

The exercised database constraints, transactional services and route enforcement remain real. Replacing them would remove the boundary this suite registers.
