Classify resolved configuration mistakes as input errors
This commit is contained in:
@@ -28,6 +28,16 @@ invocation directory provide the fallback. Explicit CLI paths use the invocation
|
||||
directory. Reference-catalog entries are resolved individually from their native
|
||||
field origins; selection does not read unused vocabulary files. See [resource rules](../config.md#pipeline-imports-and-overlays).
|
||||
|
||||
## Resolved Domain Validation
|
||||
|
||||
`Validate` checks cross-document storage/audio relations and product destinations
|
||||
after the configuration handoff. These rejections use `DomainInputError`;
|
||||
catalog derivation retains `ArtifactCatalogInputError`. Both preserve their
|
||||
causes for the application's [CLI classification](../cli.md#cancellation-and-exit-status).
|
||||
Native loading errors retain their existing classification. Path-resolution
|
||||
failures during destination validation remain operational. Joined operational
|
||||
or cancellation causes retain precedence over input errors.
|
||||
|
||||
## Invocation Acquisition
|
||||
|
||||
`internal/app/configuration_acquisition.go` owns lazy invocation selections and
|
||||
|
||||
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user