---
typeId: req
recordId: benac-pkg-007
fields:
  title: Package fixtures
  statement: >-
    A package shall declare fixture references when the package relies on fixture
    records for validation, inspection, approval, fixture execution, package invocation,
    evidence behavior, effect behavior, or conformance.

    A package declaring `fixture_execution` as a capability required for approval,
    fixture execution, or invocation shall provide fixture records discoverable from the
    package document, Package Bundle Manifest, or imported Station state according to
    the declared validation context.

    Fixture records shall identify the package under test, package interface under
    test, request input, descriptor config where relevant, expected output, expected
    diagnostics, expected evidence behavior, expected effect behavior, fixture data
    class, and fixture purpose.

    Fixture records shall bind to the package CID outside the package document payload
    used to compute the package CID.

    Absence of a fixture required for an operation shall block that operation and shall
    not change package content identity.

    Fixture records shall not classify packages.

    Fixture records shall not classify how package work is performed.
  rationale: >-
    Package authors and independent implementations need repeatable package tests before
    relying on package behavior. Fixtures are operation evidence, not package classes.
  verification: >-
    Fixture execution produces fixture result records or test result claims. A package
    that declares fixture execution as required for approval or invocation fails that
    operation when required fixtures are not discoverable. Package CID remains unchanged
    when fixture records are added outside the package document hash input.
  testable: true
  status: draft
  area: BENAC-PKG
  sourceDocument: user-requested schema-first requirements cleanup
  sourceVersion: 2026-05-06
  sourceSections:
    - Package model, descriptors, and package claims
  order: 81
---
