Document consumer-owned execution observation and its architecture decision
This commit is contained in:
@@ -153,9 +153,15 @@ results, raw response text, and full readable exchanges. Events are written
|
||||
incrementally. Scope includes operation/step/lane/chunk/validator identity to
|
||||
avoid concurrent evidence collisions.
|
||||
|
||||
One invocation `ExecutionGroup` enrolls actual initial, continuation, and nested
|
||||
validator executions once. Native identity, terminal coverage, and unknown usage
|
||||
remain native facts, not a copied profile/attempt accounting model.
|
||||
When capture is enabled, the CLI attaches its own native execution group to
|
||||
the inherited invocation context after allocation. Its finish path writes one
|
||||
snapshot immediately before `Finalize`, after runner work has joined and any
|
||||
successful domain publication. Snapshot errors remain sticky capture failures.
|
||||
The runner owns no group or summary write. ckprompt's optional reporting group
|
||||
is independent; overlapping totals are never added. See
|
||||
[consumer-owned observation](../adr/0025-use-consumer-owned-execution-observation.md)
|
||||
and the [native contract](https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.25.0/docs/consumers/pkg-promptkit.md#observe-an-ordinary-run).
|
||||
Native identity, terminal coverage, and unknown usage remain native facts.
|
||||
Hits can retain prepared evidence without execution or usage. Result-less failures
|
||||
retain availability/cause evidence; undelivered responses are explicitly unassessed.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user