Remove incidental HTTP error wording expectations
This commit is contained in:
@@ -3,14 +3,20 @@
|
||||
Reviewed 2026-11-25 at `a949f23a87dc581e6beff400f440e09afcb23969`, against
|
||||
the nine stages in [implementation.md](implementation.md) and the accepted
|
||||
[remediation target](audit-remediation.md). Changes reviewed begin after
|
||||
`6beddde`. Both findings below remain open; no fixes were implemented by this
|
||||
review.
|
||||
`6beddde`. The review itself implemented no fixes; subsequent remediation is
|
||||
recorded by the completion markers below.
|
||||
|
||||
## 1. Non-Generation HTTP Errors Still Pin Noncontractual Sentences (P3)
|
||||
|
||||
**Status: complete.** Removed complete-sentence expectations from the HTTP error
|
||||
mapping table while retaining status/code/precedence, usable-message, and
|
||||
private-cause checks. Normal and race-enabled full suites, vet, build, formatting,
|
||||
and whitespace checks passed. The harmless artifact-error rewording overlay now
|
||||
passes the full mapping table. Runtime messages are unchanged.
|
||||
|
||||
**Type:** incomplete stage 5 test cleanup; unnecessary test-level contract.
|
||||
**Location:** `TestHandlerPublicErrorMapping`, especially the conditional at
|
||||
[handler_test.go:1747](../../internal/adapter/http/handler_test.go#L1747).
|
||||
**Location:** `TestHandlerPublicErrorMapping` in
|
||||
[handler_test.go](../../internal/adapter/http/handler_test.go).
|
||||
|
||||
The revised table exempts only `llm_failed` from exact message comparison.
|
||||
Artifact, profile, prompt, capacity, and other rows still require complete
|
||||
|
||||
Reference in New Issue
Block a user