Classify resolved configuration mistakes as input errors

This commit is contained in:
2026-12-02 19:34:13 +00:00
parent adf4dc87e0
commit 21d4eebb5e
7 changed files with 121 additions and 9 deletions

View File

@@ -41,9 +41,9 @@ their scope. Unless assigned otherwise, a finding remains independent audit
remediation. Shared code does not make a refactoring a prerequisite or assign
the whole finding to a roadmap.
Seventeen entries are closed by the safety, transfer, audio discovery, S3
planning, prerequisite-history, publication-import, and associated documentation
work; 26 remain open. **Planned** identifies
Eighteen entries are closed by the safety, transfer, audio discovery, S3
planning, prerequisite-history, publication-import, CLI classification, and
associated documentation work; 25 remain open. **Planned** identifies
an agreed remedy awaiting implementation. **Potentially eliminated** requires verification that the offending
lifecycle is removed. **Coordinate** identifies shared changes, not a commitment
that a related feature implements the entire finding. Findings close only after their
@@ -473,7 +473,17 @@ Related: [CAT-09](#cat-09--p2-bound-publications-simultaneously-open-source-desc
### CAT-15 — P3: Preserve input-error classification for resolved domain validation
Status: Open
Status: Closed
**Closure.** Explicit storage/audio and product-destination rejections retain a
cause-preserving `config.DomainInputError`, recognized by the existing CLI
classifier. Loading and environmental errors retain their ordinary types.
[`domain_validation_test.go`](../../../internal/app/domain_validation_test.go)
exercises real-command rejection of both reported conflicts and invalid product
placement, valid local/S3 and destination counterparts, missing configuration,
and joined operational/cancellation precedence. Existing native and catalog
classification regressions remain passing. See
[configuration internals](../../internal/configuration.md#resolved-domain-validation).
Original findings: [EH-01](06-error-handling.md#eh-01--p3-domain-configuration-failures-lose-the-cli-input-classification),
[TE-06](08-testing.md#te-06--p3-cli-classification-tests-omit-real-resolved-domain-rejections).