Migrate CLI inspection and resource context tests

This commit is contained in:
2026-11-23 03:34:43 +00:00
parent 7870acc492
commit 700f3fab63
5 changed files with 113 additions and 164 deletions

View File

@@ -342,6 +342,15 @@ prepare the structured/schema examples without model calls.
## Stage 6 — Migrate CLI Acquisition, Inspection, And Source-Context Tests
**Status: Complete.** Migrated shared-load fixtures, native root paths, and
checkout discovery; removed obsolete two-load-only tests. Focused offline CLI
tests pass for whole-document inspection, native diagnostics and comparison
sides, both-scope and all-scope overrides, conflict handling, redaction,
sequential secrets effects, discovery/preview/smoke, and source-relative
resources. Schema preparation covers inline, source-relative, and collection
root selections, including a missing-root failure. The checkout test exercises
the new schema after installation and on subsequent invocations.
**Files:** CLI `selection_test.go`, `native_config_test.go`, `native_prompt_test.go`,
`discovery_test.go`, `examples_test.go`, and small related fixture helpers.