refactor!: enforce canonical evidence and provider boundaries
Deliver complete Evidence directly through MCP with required nullable analysis profiles and immutable per-server delivery settings. Bind selected environments at construction and require typed cleanup outcomes with retained retry ownership. Remove test-only routing, duplicate session and snapshot metadata, producer-field repairs, and ambiguous provider arguments. Separate artifact byte identity from occurrence classification and retain typed source-map and partial native facts across CLI, MCP, and verifier consumers. BREAKING CHANGE: obsolete Evidence envelopes, session aliases, incomplete snapshots, and missing normalized producer facts are no longer accepted.
This commit is contained in:
@@ -100,9 +100,22 @@ export const electronPageInspectionSchema = z.object({
|
||||
script_key: prefixedDigestSchema("electron_script"),
|
||||
frame_id: z.string().nullable().default(null),
|
||||
file_path: z.string(),
|
||||
cdp_hash: z.string(),
|
||||
length: z.number().int().min(0),
|
||||
is_module: z.boolean(),
|
||||
cdp_hash: z
|
||||
.string()
|
||||
.nullable()
|
||||
.describe("Producer-reported script hash; null when unavailable."),
|
||||
length: z
|
||||
.number()
|
||||
.int()
|
||||
.min(0)
|
||||
.nullable()
|
||||
.describe("Producer-reported script length; null when unavailable."),
|
||||
is_module: z
|
||||
.boolean()
|
||||
.nullable()
|
||||
.describe(
|
||||
"Producer-reported module classification; null when unavailable.",
|
||||
),
|
||||
language: z.string().nullable(),
|
||||
source: electronSourceSchema,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user