Document consumer-owned execution observation and its architecture decision
This commit is contained in:
@@ -139,10 +139,14 @@ handle lifetime and admission behavior.
|
||||
|
||||
## Native Evidence And Sensitive Data
|
||||
|
||||
The runner supplies one invocation execution group. Actual initial, continuation,
|
||||
and nested validator executions enroll once; group observations preserve native
|
||||
identity, terminal coverage, and unknown usage without copied totals or a
|
||||
durable profile inventory.
|
||||
Execution carries the caller's context through producers, prepared misses,
|
||||
coordination, validators, and workers. The runner owns no invocation group or
|
||||
observer forwarding option. ckprompt owns optional reporting; requested CLI
|
||||
capture independently attaches a debug group and retains it for finalization.
|
||||
Other callers may attach their own native observer. See the
|
||||
[native observation contract][observations] and
|
||||
[ownership decision](../adr/0025-use-consumer-owned-execution-observation.md);
|
||||
do not add overlapping totals or a durable profile inventory.
|
||||
|
||||
[Native capture](../../internal/framework/pipeline/native_capture.go) composes
|
||||
observers/preparation callbacks rather than replacing them. Retain prepared
|
||||
@@ -181,6 +185,7 @@ override propagation, cancellation/admission, reuse, and evidence. They do not
|
||||
claim production model quality. Wider checks belong in
|
||||
[Development](../development.md#validation).
|
||||
|
||||
[consumer]: https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.24.0/docs/consumers/pkg-promptkit.md
|
||||
[formats]: https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.24.0/docs/formats.md
|
||||
[prepared]: https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.24.0/docs/consumers/pkg-promptkit.md#prepare-now-and-execute-the-same-snapshot-later
|
||||
[consumer]: https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.25.0/docs/consumers/pkg-promptkit.md
|
||||
[formats]: https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.25.0/docs/formats.md
|
||||
[prepared]: https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.25.0/docs/consumers/pkg-promptkit.md#prepare-now-and-execute-the-same-snapshot-later
|
||||
[observations]: https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.25.0/docs/consumers/pkg-promptkit.md#observe-an-ordinary-run
|
||||
|
||||
Reference in New Issue
Block a user