test: strengthen and prune audited test coverage (#8573)

* test: strengthen and prune audited test coverage

* test: require delivered DeepSeek skill instructions

* test: keep schema fixture types private

* test: verify Gemini receives skill instructions

* test: bind Qwen skill evidence to its tool result

* test: report NativeAOT verifier checks precisely

* fix: verify Ghidra cleanup paths reliably

* fix: verify Command Code skill activation

* test: tighten cleanup and fixture checks

* test: verify packet capture evidence is recorded

* fix: report HTTP3 capture provenance accurately

* test: preserve resource coverage through MCP

* test: prune repeated assertions and retain cancellation identity

* fix: validate client verifier fixture paths

* test: skip Copilot verifier cases on Windows

* test: keep verifier setup target relative
This commit is contained in:
morluto authored and GitHub committed 2026-11-02 02:13:32 +08:00
1 parent ce9095d727
commit 7bcefead69
167 files changed
+2396 -1012

No files matched your search

@@ -220,7 +220,8 @@ it("honors cancellation both before acquisition and across decoder completion",
if (!response.ok) expect(response.error.cause).toBe(firstReason);
const controller = new AbortController();
const lateReason = { caller: "after source-map provider completion" };
const late = await service(undefined, {
const fixture = webSourceLocationFixture();
const late = await service(fixture, {
trace: (input) => {
controller.abort(lateReason);
return decoder.trace(input);
@@ -232,6 +233,28 @@ it("honors cancellation both before acquisition and across decoder completion",
expect(parseEvidence(late.error.partialObservation)).toMatchObject({
operation: "trace_web_source_location",
confidence: "derived",
authority: "historical-reference",
subject: {
local_path: fixture.sourceFile.path,
digest: { sha256: fixture.sourceFile.sha256 },
},
parameters: args,
raw_result: { source_map_text: fixture.sourceMap.text },
normalized_result: {
source_map: {
...fixture.sourceMap.file,
url: args.source_map.url,
association: "caller-selected",
},
lookup: { requested: args.generated_position },
source_authenticity: "unknown",
execution: "unknown",
},
locations: [
fixture.sourceFile.path,
fixture.manifestFile.path,
fixture.sourceMap.file.path,
].map((path) => ({ kind: "artifact-path", path })),
});
const malformedDecoder: WebSourceMapPort = {