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

@@ -146,7 +146,7 @@ records source/reference/incoming artifacts, normalization originals/mappings/
proposals, candidates, complete findings/guidance, fallback/deterministic outcomes,
and cache selection/current artifact bytes.
[NativeCapture](../../internal/framework/pipeline/native_capture.go) composes
[NativeCapture](../../internal/framework/capture/native.go) composes
existing observers and preparation callbacks. Preparation callbacks retain
detached details cheaply; ordinary boundaries write prepared contracts, native
results, raw response text, and full readable exchanges. Events are written
@@ -185,7 +185,8 @@ owns handling.
- [Recorder](../../internal/framework/debug/recorder_test.go) and
[allocation](../../internal/core/debugbundle/bundle_test.go) cover incremental
failure retention, concurrent starts, and one terminalization.
- [Native evidence](../../internal/framework/pipeline/native_capture_test.go) and
- [Native capture](../../internal/framework/capture/native_test.go),
[native evidence integration](../../internal/framework/pipeline/native_capture_test.go), and
[configuration capture](../../internal/cli/run_capture_test.go) cover available
content, exact sensitivity, observer composition, and no duplicate preparation.
- [Output writes](../../internal/cli/run_id_test.go) and