refactor(binary): group session selection and snapshot ownership (#886)

This commit is contained in:
ysopwnable
2026-10-07 15:05:29 +08:00
committed by GitHub
parent ab985c6a10
commit dd114d3980
59 changed files with 220 additions and 190 deletions
+6
View File
@@ -32,6 +32,12 @@ registries but do not cross production filesystem, process, socket, or browser b
Boundary tests cross one production boundary. Only acceptance tests assemble
the complete runtime or invoke the compiled product surface.
Binary session, registry, lazy-client and snapshot module cases live under
`src/application/binary/`. Their composition cases stay in
`tests/composition/analysis-sessions/`; snapshot persistence and actual SDK calls
stay in the filesystem and MCP boundary lanes. The shared injected session fixture
serves several capabilities and remains under `tests/fixtures/`.
Focused immutable builders and recording ports shared by one test family live
beside their production owner as `src/**/*.fixture.ts`. They are typechecked
with the suite and excluded from package builds; broader runtime and provider