0182: Pin the formatter identity corpus
Status: Proposed (pending maintainer)
Context
The formatter version identifies the canonical formatting used by durable vc modules. Its digest test previously discovered fixtures dynamically, so adding an unrelated program could change the digest without any formatter change.
Decision
Pin the 787 fixture paths from commit 4419e3d9 in
tests/fmt-version.corpus, retaining Rust
path-component sort order. The digest formats those files in
manifest order, using the existing digest algorithm and formatter
version. Changes to formatter output on this corpus remain
detectable; unrelated new fixtures do not rewrite formatter
identity. Changes to the corpus itself require deliberate
review.
Alternatives considered
- Continue discovering fixtures dynamically: unrelated feature tests would keep forcing formatter version changes.
- Use a newly curated smaller corpus: it would change the existing identity and discard coverage without establishing a formatter change.
Consequences
The manifest must be maintained explicitly, and new syntax is not automatically represented in the identity corpus. Removing or changing a listed fixture can still affect the digest and requires review under the existing version rule.