Use native contexts for execution observation

This commit is contained in:
2026-11-23 02:38:21 +00:00
parent 88ebdbd819
commit 7aa4f2ec4d
9 changed files with 99 additions and 59 deletions

View File

@@ -148,6 +148,17 @@ replacement for the removed group input.
## Stage 3 — Remove General Observer Forwarding
**Status:** Complete. Removed the general execution-option observer and all
producer/coordination/validator forwarding, including the accounting-only
request-builder Boolean. Native contexts now carry caller observers; direct
request observers, preparation hooks, and operation capture remain intact.
Migrated callers/tests and checked remaining observer names semantically.
Raw start/terminal counts and independent run IDs cover initial/correction/nested
execution without relying on group de-duplication; synchronized concurrent
coverage, event-free cache preparation/hits, frozen prepared misses, cancellation,
and undelivered-response checks pass. Pipeline, concrete combat-validator, CLI,
focused prepared-cache tests, full pipeline race tests, and whitespace pass.
**Goal:** Make native context propagation the only invocation-accounting path.
**Inspect/change:** `internal/framework/contracts/producer.go`,