Simplify diagnostic report ownership

This commit is contained in:
2026-11-05 14:21:33 +00:00
parent f745b14b71
commit 68668cee56
6 changed files with 36 additions and 176 deletions

View File

@@ -77,7 +77,8 @@ not retain headers, credentials, raw request or response bodies, or a redirect
trace. These are observations at Promptkit's RoundTripper boundary, not proof
that bytes reached a peer or that a custom transport did no hidden dispatch.
Reachability and named authentication probes use the same configured built-in
client but discard their response bodies after local recognition. The
client. The OpenRouter adapter owns endpoint derivation, bounded account-response
recognition, and body closure; the smoke coordinator interprets its evidence. The
[integration contract](../integrations/openai-compatible-chat.md#explicit-smoke-diagnostics)
owns their observable HTTP semantics.

View File

@@ -602,6 +602,12 @@ and public smoke tests pass on Go 1.27.3.
unchanged tri-state facts, neutral outcomes, no ordinary observer events, target
redaction, and independent provider maps. Update owning internal documentation.
Completion: diagnostic targets detach provider values directly, and unused
request/report cloning helpers and their dedicated tests have been removed.
Authentication routing was completed in the preceding unit. Focused domain,
adapter, smoke, and facade tests pass on Go 1.27.3; internal adapter ownership
documentation is updated.
## Stage 23: Extract Final-Configuration Record Validators
**Catalog:** 22, validation part. **Files:** configuration validation and tests.