Requirement · active · spec/exacly/composition.yaml
REQ-032 Compose required evidence admissions and readiness gates
Evaluate every member of an approved composition through its own native admission and readiness contract.
Why it exists
How it is realized
REQ-032Compose required evidence admissions and readiness gates Requirement main: verification passed- implements ←
APP-018Evidence admission composition Application- depends_on →
APP-006Readiness policy evaluator Application - depends_on →
APP-008GitHub verification evidence admission Application - depends_on →
INF-006Private composition bundle Infrastructure - reads →
INFO-001Model config Information (above) - reads →
INFO-002Model state Information (above) - writes →
INFO-009Composition decisions and retained member evidence Information- stores ←
INF-006Private composition bundle Infrastructure (above)
- stores ←
- depends_on →
- implements ←
main config 94cbae926e86
| Assessment | Reason | Evidence | At |
|---|---|---|---|
| verification passed tests | All 190 selected test cases passed | 2026-11-22T17:48:12Z |
Findings
None.
Config
- owner
- exacly-maintainers
- lifecycle
- active
- last_reviewed_at
- 2026-10-30
- statement
- Given an independently reviewed required-member definition, exact per-invocation run selections and evaluation date, validate the whole composition before retrieving evidence, freshly admit and evaluate each member under its own policies and approved model, and retain a complete aggregate decision that succeeds only when every required member is admitted and ready.
- acceptance_criteria
- A closed versioned definition declares a bounded nonempty set of unique safe member IDs, each member's trust policy, readiness policy and explicit approved-model root, and explicitly scoped consistency groups; a separate versioned selection must identify exactly the required member set with immutable run, attempt and source target selections.
- The definition digest binds the definition and resolved trust policies, readiness policies and approved named model content; each invocation pins that digest, so omitted or duplicate members, unknown references, producer substitution, weakened policies and changed model inputs cannot silently alter the reviewed composition.
- Supported pure Python validation interfaces validate every member's request, conforming config-only model and policy references before source access; the model's canonical files and content digest must match its independently approved trust policy, and source targets retain the native context, full model revision and full implementation revision contract.
- Consistency rules apply only to explicitly listed member groups; implementation equality includes repository identity, while model equality includes repository, namespace, approved revision, selected files and config digest; ungrouped repositories need not share revisions or model namespaces.
- Evaluation reuses the native admission and readiness evaluators for each member, preserving its original model namespace, target, assessments and evidence identities; it neither unions foreign state nor relabels context to obtain a positive result.
- Admission acceptance and readiness remain separate outcomes; a completed failing report may be admitted, while failed, skipped, incomplete, missing, inapplicable, unavailable or rejected evidence prevents aggregate success.
- Every invocation performs fresh admission for every selected required member; retained successful partial results remain diagnostic and never substitute for a new invocation's live checks.
- Each CLI invocation retains per-member receipts, admitted evidence and fresh state when available, readiness results and exact immutable selections in a new protected output directory; POSIX directories use mode 0700 and files use 0600 independently of umask, and input aliases and existing output paths are refused.
- The CLI releases each member's archive and report payloads after synchronous retention and before the next admission; Python callers keep full admission results by default and may explicitly select streaming with a callable retention callback, validated before source access, while aggregate decisions and retained proof remain equivalent.
- Machine-readable output distinguishes incomplete retained work from a final complete aggregate; interrupted, missing or partially written output cannot represent all-members success, and a satisfied final aggregate is published atomically only after all required member outputs are retained.
- Optional readiness JUnit serializes the complete aggregate without another evaluation, preserving producer reports and native gate identities; stable composition/member verdict cases include every required member, rejected admissions and unknown readiness remain blocking, and bounded atomic output cannot omit members or turn requested-output failures into successful invocation.
- Offline definition validation reports the content digest for independent review without approving the definition; complete satisfied evaluation exits 0, a complete blocked aggregate exits 1, and invalid inputs or required-output errors exit 2 with actionable diagnostics.
- Installed-wheel tests exercise the public composition commands outside the source checkout; acceptance coverage includes four required members, omission, duplication, substituted producers, scoped identity mismatches, failed and skipped observations, partial failure, fresh reruns and compatibility of single-target commands.
- Required platform and external release inventories, producer selection and policy approval remain consumer responsibilities; reports are unsigned, preserve existing admission claims and establish neither test honesty, acceptance coverage, executor provenance, completion authority nor deployment authorization.
- verification_method
- Native composition, readiness JUnit, command, retention and installed-wheel acceptance tests, together with unchanged single-target admission and readiness tests.
- observe
- tests
- cases
- python/tests/test_composition.py::*
- python/tests/test_composition_cli.py::*
- python/tests/test_composition_junit.py::*
- python/tests/test_composition_junit_cli.py::*
- tests/test_composition_distribution.py::*