Move native request capture into a shared framework package

This commit is contained in:
2026-11-26 01:46:29 +00:00
parent 73023f6397
commit d0cc20c539
12 changed files with 318 additions and 215 deletions

View File

@@ -366,6 +366,14 @@ run affected pipeline tests under `-race` once.
## Stage 11 — Extract Native Capture Ownership
**Completed.** Request hooks, snapshot ownership, events, results, and retained
capture errors moved to framework/capture; pipeline retains operation scoping and
the validator uses the shared owner. Direct capture tests cover hook composition,
snapshot ownership, and write errors; pipeline integration retains cache,
provider/cancellation, continuation, and evidence tests. The specified normal
and race suites pass, as do focused CLI capture tests. No representation change
or follow-up remains for this ownership move.
**Coverage:** CAT-032. **Prerequisites:** Stage 10.
Move request-level code/tests from pipeline/native_capture.go into framework/capture.