fetchsandbox-mcp 0.7.8 → 0.7.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -240,6 +240,7 @@ export declare const ALL_TOOLS: ({
240
240
  readonly type: "object";
241
241
  readonly required: readonly ["select", "equals", "required", "count"];
242
242
  readonly additionalProperties: false;
243
+ readonly description: "GET read-back only. Exactly four fields, e.g. {select: data.id, equals: '{{step2.id}}', required: true, count: 1} for Paddle. Use separate GET assertions for amount and currency; application all_of/where and JSON scalar predicates are not supported here.";
243
244
  readonly properties: {
244
245
  readonly select: {
245
246
  readonly type: "string";
@@ -298,7 +299,7 @@ export declare const ALL_TOOLS: ({
298
299
  readonly type: "object";
299
300
  readonly required: readonly ["app_version", "disposable_test_app", "checks"];
300
301
  readonly additionalProperties: false;
301
- readonly description: "Frozen HTTP app drive/read-back contract: 1-30 checks, 1-20 actions per executable check, at most 300 declared actions in total, below 64 KiB. Preserve intermediate reads within these bounds; do not silently remove them. First check id=baseline must establish success. Checks require id, name, before {path,assertion}, actions [{method,path,body?,expect_status?}], observe {path}, and assertion using select/equals/count/required or all_of. where and all_of must be lists of assertion objects, not field maps. equals accepts JSON strings, numbers, booleans and null; numeric/boolean literals preserve type, and null must be a present null field. Stripe event.payload is only the resource inside data.object, never a full event or a data.object wrapper: the server constructs and signs the envelope. Optional per-check observation_deadline_seconds (0-180, repeat=1 only) records bounded polling for eventual saved state; it does not drive a browser or turn a timeout into a pass. Every check first reads its declared starting-state precondition. Baseline requires count=0 on the same observed collection, with no where filter. Use {{run_id}} to scope fresh synthetic records. Paths are app-relative. {{step1.id}} binds a real action response to read-back. assertion.repeat (1-5) and stable_under_repeat support replay. Optional fault {provider,scenario} requires independently recorded provider refusal. Unsupported checks contain id,name,unsupported_reason only. No user-supplied credentials, auth headers or live data. require_verifier_token=true generates an owner-only temporary Bearer token through secure handoff for protected test endpoints.";
302
+ readonly description: "Frozen HTTP app drive/read-back contract: 1-30 checks, 1-20 actions per executable check, at most 300 declared actions in total, below 64 KiB. Preserve intermediate reads within these bounds; do not silently remove them. First check id=baseline must establish success. Checks require id, name, before {path,assertion}, ordinary HTTP actions [{method,path,body?,expect_status?}] or signed-event actions [{event:{provider,type,payload},expect_status?}], observe {path}, and assertion using select/equals/count/required or all_of. where and all_of must be lists of assertion objects, not field maps. equals accepts JSON strings, numbers, booleans and null; numeric/boolean literals preserve type, and null must be a present null field. Stripe event.payload is only the resource inside data.object, never a full event or a data.object wrapper: the server constructs and signs the envelope. Optional per-check observation_deadline_seconds (0-180, repeat=1 only) records bounded polling for eventual saved state; it does not drive a browser or turn a timeout into a pass. Every check first reads its declared starting-state precondition. Baseline requires count=0 on the same observed collection, with no where filter. Use {{run_id}} to scope fresh synthetic records. All paths are app-relative without query strings or fragments, including non-secret run_id queries; preserve run scoping through an inspected protected path-segment observer. Baseline permits only ordinary HTTP actions without signed events; prove signed purchase/access in later checks. Do not combine event actions with method/path/body/headers. {{step1.id}} binds a real action response to read-back. assertion.repeat (1-5) and stable_under_repeat support replay. Optional fault {provider,scenario} requires independently recorded provider refusal. Unsupported checks contain id,name,unsupported_reason only. No user-supplied credentials, auth headers or live data. require_verifier_token=true generates an owner-only temporary Bearer token through secure handoff for protected test endpoints.";
302
303
  readonly properties: {
303
304
  readonly app_version: {
304
305
  readonly type: "string";
@@ -310,12 +311,40 @@ export declare const ALL_TOOLS: ({
310
311
  readonly require_verifier_token: {
311
312
  readonly type: "boolean";
312
313
  };
314
+ readonly coverage_review: {
315
+ readonly type: "array";
316
+ readonly maxItems: 17;
317
+ readonly description: "Applicability review against the returned coverage_policy. Missing dimensions remain unreviewed. Link relevant dimensions to declared checks, including explicitly unsupported checks. This is a proposed review, not execution proof.";
318
+ readonly items: {
319
+ readonly type: "object";
320
+ readonly required: readonly ["dimension", "relevance", "reason", "rule_ids"];
321
+ readonly additionalProperties: false;
322
+ readonly properties: {
323
+ readonly dimension: {
324
+ readonly type: "string";
325
+ };
326
+ readonly relevance: {
327
+ readonly type: "string";
328
+ readonly enum: readonly ["relevant", "not_applicable", "unresolved"];
329
+ };
330
+ readonly reason: {
331
+ readonly type: "string";
332
+ };
333
+ readonly rule_ids: {
334
+ readonly type: "array";
335
+ readonly items: {
336
+ readonly type: "string";
337
+ };
338
+ };
339
+ };
340
+ };
341
+ };
313
342
  readonly event_destinations: {
314
343
  readonly type: "object";
315
344
  readonly additionalProperties: {
316
345
  readonly type: "string";
317
346
  };
318
- readonly description: "Session-provider to same-origin webhook path. Requires require_verifier_token=true and the isolated FETCHSANDBOX_<PROVIDER>_WEBHOOK_SECRET from secure handoff. Actions may use event:{provider,type,payload} or event:{provider,replay_of: prior step event_id template}. Existing signature checks must remain enabled.";
347
+ readonly description: "Session-provider to same-origin webhook path without query/fragment. Requires require_verifier_token=true and the isolated FETCHSANDBOX_<PROVIDER>_WEBHOOK_SECRET from secure handoff. Complete signed action shape: {event:{provider,type,payload},expect_status:200}; exact replay: {event:{provider,replay_of:'{{step2.event_id}}'},expect_status:200}. No method/path/body/headers on signed actions. Baseline uses ordinary HTTP actions; signed events belong in later checks. Existing signature checks must remain enabled.";
319
348
  };
320
349
  readonly observation_seconds: {
321
350
  readonly type: "number";
@@ -208,6 +208,7 @@ export declare const validateIntegrationTool: {
208
208
  readonly type: "object";
209
209
  readonly required: readonly ["select", "equals", "required", "count"];
210
210
  readonly additionalProperties: false;
211
+ readonly description: "GET read-back only. Exactly four fields, e.g. {select: data.id, equals: '{{step2.id}}', required: true, count: 1} for Paddle. Use separate GET assertions for amount and currency; application all_of/where and JSON scalar predicates are not supported here.";
211
212
  readonly properties: {
212
213
  readonly select: {
213
214
  readonly type: "string";
@@ -266,7 +267,7 @@ export declare const validateIntegrationTool: {
266
267
  readonly type: "object";
267
268
  readonly required: readonly ["app_version", "disposable_test_app", "checks"];
268
269
  readonly additionalProperties: false;
269
- readonly description: "Frozen HTTP app drive/read-back contract: 1-30 checks, 1-20 actions per executable check, at most 300 declared actions in total, below 64 KiB. Preserve intermediate reads within these bounds; do not silently remove them. First check id=baseline must establish success. Checks require id, name, before {path,assertion}, actions [{method,path,body?,expect_status?}], observe {path}, and assertion using select/equals/count/required or all_of. where and all_of must be lists of assertion objects, not field maps. equals accepts JSON strings, numbers, booleans and null; numeric/boolean literals preserve type, and null must be a present null field. Stripe event.payload is only the resource inside data.object, never a full event or a data.object wrapper: the server constructs and signs the envelope. Optional per-check observation_deadline_seconds (0-180, repeat=1 only) records bounded polling for eventual saved state; it does not drive a browser or turn a timeout into a pass. Every check first reads its declared starting-state precondition. Baseline requires count=0 on the same observed collection, with no where filter. Use {{run_id}} to scope fresh synthetic records. Paths are app-relative. {{step1.id}} binds a real action response to read-back. assertion.repeat (1-5) and stable_under_repeat support replay. Optional fault {provider,scenario} requires independently recorded provider refusal. Unsupported checks contain id,name,unsupported_reason only. No user-supplied credentials, auth headers or live data. require_verifier_token=true generates an owner-only temporary Bearer token through secure handoff for protected test endpoints.";
270
+ readonly description: "Frozen HTTP app drive/read-back contract: 1-30 checks, 1-20 actions per executable check, at most 300 declared actions in total, below 64 KiB. Preserve intermediate reads within these bounds; do not silently remove them. First check id=baseline must establish success. Checks require id, name, before {path,assertion}, ordinary HTTP actions [{method,path,body?,expect_status?}] or signed-event actions [{event:{provider,type,payload},expect_status?}], observe {path}, and assertion using select/equals/count/required or all_of. where and all_of must be lists of assertion objects, not field maps. equals accepts JSON strings, numbers, booleans and null; numeric/boolean literals preserve type, and null must be a present null field. Stripe event.payload is only the resource inside data.object, never a full event or a data.object wrapper: the server constructs and signs the envelope. Optional per-check observation_deadline_seconds (0-180, repeat=1 only) records bounded polling for eventual saved state; it does not drive a browser or turn a timeout into a pass. Every check first reads its declared starting-state precondition. Baseline requires count=0 on the same observed collection, with no where filter. Use {{run_id}} to scope fresh synthetic records. All paths are app-relative without query strings or fragments, including non-secret run_id queries; preserve run scoping through an inspected protected path-segment observer. Baseline permits only ordinary HTTP actions without signed events; prove signed purchase/access in later checks. Do not combine event actions with method/path/body/headers. {{step1.id}} binds a real action response to read-back. assertion.repeat (1-5) and stable_under_repeat support replay. Optional fault {provider,scenario} requires independently recorded provider refusal. Unsupported checks contain id,name,unsupported_reason only. No user-supplied credentials, auth headers or live data. require_verifier_token=true generates an owner-only temporary Bearer token through secure handoff for protected test endpoints.";
270
271
  readonly properties: {
271
272
  readonly app_version: {
272
273
  readonly type: "string";
@@ -278,12 +279,40 @@ export declare const validateIntegrationTool: {
278
279
  readonly require_verifier_token: {
279
280
  readonly type: "boolean";
280
281
  };
282
+ readonly coverage_review: {
283
+ readonly type: "array";
284
+ readonly maxItems: 17;
285
+ readonly description: "Applicability review against the returned coverage_policy. Missing dimensions remain unreviewed. Link relevant dimensions to declared checks, including explicitly unsupported checks. This is a proposed review, not execution proof.";
286
+ readonly items: {
287
+ readonly type: "object";
288
+ readonly required: readonly ["dimension", "relevance", "reason", "rule_ids"];
289
+ readonly additionalProperties: false;
290
+ readonly properties: {
291
+ readonly dimension: {
292
+ readonly type: "string";
293
+ };
294
+ readonly relevance: {
295
+ readonly type: "string";
296
+ readonly enum: readonly ["relevant", "not_applicable", "unresolved"];
297
+ };
298
+ readonly reason: {
299
+ readonly type: "string";
300
+ };
301
+ readonly rule_ids: {
302
+ readonly type: "array";
303
+ readonly items: {
304
+ readonly type: "string";
305
+ };
306
+ };
307
+ };
308
+ };
309
+ };
281
310
  readonly event_destinations: {
282
311
  readonly type: "object";
283
312
  readonly additionalProperties: {
284
313
  readonly type: "string";
285
314
  };
286
- readonly description: "Session-provider to same-origin webhook path. Requires require_verifier_token=true and the isolated FETCHSANDBOX_<PROVIDER>_WEBHOOK_SECRET from secure handoff. Actions may use event:{provider,type,payload} or event:{provider,replay_of: prior step event_id template}. Existing signature checks must remain enabled.";
315
+ readonly description: "Session-provider to same-origin webhook path without query/fragment. Requires require_verifier_token=true and the isolated FETCHSANDBOX_<PROVIDER>_WEBHOOK_SECRET from secure handoff. Complete signed action shape: {event:{provider,type,payload},expect_status:200}; exact replay: {event:{provider,replay_of:'{{step2.event_id}}'},expect_status:200}. No method/path/body/headers on signed actions. Baseline uses ordinary HTTP actions; signed events belong in later checks. Existing signature checks must remain enabled.";
287
316
  };
288
317
  readonly observation_seconds: {
289
318
  readonly type: "number";
@@ -11,12 +11,59 @@ const coordinationGuidance = {
11
11
  instruction: "If the browser is blocked, immediately offer the same run/order-verified original TEST checkout URL with livemode=false in one native owner question. Pause for its answer while the backend job continues. Record that confirmation once, retrieve the same run, and independently verify paid state. Never bypass a challenge, create a replacement checkout, retry Pay, or request confirmation again after it is recorded.",
12
12
  },
13
13
  };
14
+ /** Authoring diagnostics only. Never repairs a contract or relaxes server checks. */
15
+ function applicationContractDiagnostics(config) {
16
+ const errors = [];
17
+ if (!Array.isArray(config.checks))
18
+ return errors;
19
+ const object = (value) => !!value && typeof value === "object" && !Array.isArray(value);
20
+ const pathCheck = (value, path) => {
21
+ if (typeof value === "string" && (value.includes("?") || value.includes("#"))) {
22
+ errors.push({ path, code: "query_or_fragment_not_supported", message: "This HTTP contract does not accept query strings or fragments, including non-secret run IDs. Use an inspected same-origin route with the run/order ID in a path segment. For GET observations, add that protected observer route if needed; do not drop its scope filter." });
23
+ }
24
+ };
25
+ config.checks.forEach((check, index) => {
26
+ if (!object(check) || check.unsupported_reason)
27
+ return;
28
+ const prefix = `application_config.checks[${index}]`;
29
+ for (const field of ["before", "observe"]) {
30
+ if (object(check[field]))
31
+ pathCheck(check[field].path, `${prefix}.${field}.path`);
32
+ }
33
+ if (!Array.isArray(check.actions))
34
+ return;
35
+ check.actions.forEach((action, actionIndex) => {
36
+ if (!object(action))
37
+ return;
38
+ const path = `${prefix}.actions[${actionIndex}]`;
39
+ if (!("event" in action)) {
40
+ pathCheck(action.path, `${path}.path`);
41
+ return;
42
+ }
43
+ if (Object.keys(action).some(key => !["event", "expect_status"].includes(key))) {
44
+ errors.push({ path, code: "signed_event_action_fields", message: "A signed-event action accepts only event and optional expect_status. Remove method, path, body and headers from this action; put webhook routing in application_config.event_destinations. Do not replace it with method EVENT or disable signature verification." });
45
+ }
46
+ const event = action.event;
47
+ if (!object(event) || Object.keys(event).some(key => !["provider", "type", "payload", "replay_of"].includes(key))) {
48
+ errors.push({ path: `${path}.event`, code: "signed_event_fields", message: "event must be an object with provider/type/payload, or provider/replay_of for an exact replay. Extra signature, routing or envelope fields are not supported; preserve unsupported checks explicitly." });
49
+ }
50
+ else if (event.replay_of && (Object.keys(event).length !== 2 || !("provider" in event))) {
51
+ errors.push({ path: `${path}.event`, code: "signed_event_replay_fields", message: "An exact replay accepts only provider and replay_of. Do not supply a replacement type or payload." });
52
+ }
53
+ if (index === 0) {
54
+ errors.push({ path, code: "baseline_signed_event", message: "The first baseline check requires ordinary successful HTTP app actions and independently saved state, without signed events. Establish the fresh pending order in baseline, then prove signed payment and access in a later check. Preserve those purchase assertions; do not remove them to obtain a pass." });
55
+ }
56
+ });
57
+ });
58
+ return errors;
59
+ }
14
60
  export const validateIntegrationTool = {
15
61
  name: "validate_integration",
16
62
  description: "For hosted application_workflow_v1 apps, build and publish the disabled test adapter before requesting short-lived credentials. After installing the existing handoff and republishing, call preflight:true with session_id/run_id. A setup_blocked response is not a failed application test. Its next_tool_call is null: repair its exact host-side blocker first, then call resume_tool_call for the SAME run/preflight without rotating credentials. Do not poll an unchanged setup blocker. Execution has a separate deadline. Execution is already non-blocking: execute:true starts the existing backend job and returns running promptly. Use the SAME builder agent to follow status; no extra background helper or helper approval is needed. Never execute twice; retrieve status with session_id/run_id only. If the browser stops at a security challenge, immediately hand the owner the SAME run/order-verified original TEST checkout URL (livemode=false) while observation continues; never bypass the challenge, silently wait, create a replacement checkout or retry Pay. For an owner-assisted browser step, use ONE native question containing that verified URL, pause the builder for its answer while the backend job continues, and record that answer once. Do not keep working while asking for a plain chat reply that the host queues, or ask again after confirmation is recorded. Browser payments require an available browser or one explicit user action, and independently observed paid state; a click is not proof. After proof, remove only temporary settings, republish and verify disabled externally. " +
17
- "For every app, inspect capabilities and application_actions. Prepare missing test products, prices and related records before failures: author fixtures using documented provider operations, include a final GET with an exact identity assertion, then configure the app with returned fixture IDs. The server uses the existing twin workflow runner and independently checks read-back. Fixture readiness is not app proof. Unsupported application checks must be reported explicitly, not replaced by a separate script or quickrun. " +
63
+ "For every app, inspect capabilities, coverage_policy and application_actions. Review every supplied coverage dimension against inspected app behavior without waiting for the user to enumerate failure tests. Supply application_config.coverage_review with relevance, reason and linked check IDs when the builder authors the plan. Missing dimensions stay unreviewed. A dimension review is not execution proof; never claim all possible invariants are known. Prepare missing test products, prices and related records before failures: author fixtures using documented provider operations, include a final GET with an exact identity assertion, then configure the app with returned fixture IDs. The server uses the existing twin workflow runner and independently checks read-back. Fixture readiness is not app proof. Unsupported application checks must be reported explicitly, not replaced by a separate script or quickrun. " +
64
+ "Use the returned fixture_authoring contract, not a web search for assertion syntax. Prepare fixtures before configuring any attempt. Fixture assertions are GET-only and contain select, equals (string), required:true, count:1. Use separate asserted GET steps for each additional value; do not use application all_of or where predicates in fixture assertions. Paddle selectors include the response envelope, e.g. data.id; Stripe uses id. Read the provided Paddle one-time-price example and adapt its product and amount to the app. If fixed receipt-suite transactions cannot match the app's product, price and pending order, do not execute them as app proof or a pointless rejection diagnostic. Report that compatibility gap, cancel any unexecuted mismatched attempt, then use application_workflow_v1 for supported checks while preserving untested receipt rules. " +
18
65
  "Send application_context with the original goal and inspected workflow to obtain model-proposed rules, missing observations and fixture requirements. Proposals are not executed checks. Preserve all proposed rules in the coverage report, even when unsupported. If server_requirements_model_available is false or planning returns requirements_model_unavailable, inspect the app and author the candidate contract with your own model; label it builder-proposed, not a FetchSandbox model result. Never wait for the human to write routine test requirements. " +
19
- "For a normal HTTP app workflow with independently readable state, configure application_workflow_v1 and application_config. Declare a positive baseline first, normal app actions, GET observations and required exact assertions. Reuse the proposed rule IDs; omitted rules remain unmeasured. Signed callback app_response contains a sanitized acknowledgement; response remains delivery metadata. Inspect response_capture_status when the body is missing, and independently read state for the verdict. Signed provider event actions are supported through event_destinations and isolated secure-handoff signing secrets; bind payload identity to actual app responses and verify saved state. No browser, arbitrary auth-header or SQL execution is supported by this HTTP contract: record those gaps explicitly. Do not weaken signature or access checks to make a test pass. " +
66
+ "For a normal HTTP app workflow with independently readable state, configure application_workflow_v1 and application_config. Declare a positive baseline first using ordinary HTTP app actions, no signed events, GET observations and required exact assertions. A pending order is a valid baseline; prove signed payment and access in a later check without removing those assertions. HTTP actions are {method,path,body?,expect_status?}; signed-event actions are ONLY {event:{provider,type,payload},expect_status?}, or {event:{provider,replay_of},expect_status?} for exact replay. Never combine event with method/path/body/headers or invent method EVENT. Webhook paths belong in event_destinations. All action, before and observe paths must omit query strings and fragments, even run_id queries: use inspected protected path-segment routes and preserve run scoping. A configuration_rejected result identifies offending field paths; repair those fields in the SAME session before another configuration call. It is not an app test result and does not request credentials. Reuse the proposed rule IDs; omitted rules remain unmeasured. Signed callback app_response contains a sanitized acknowledgement; response remains delivery metadata. Inspect response_capture_status when the body is missing, and independently read state for the verdict. Signed provider event actions use isolated secure-handoff signing secrets; bind payload identity to actual app responses and verify saved state. No browser, arbitrary auth-header or SQL execution is supported by this HTTP contract: record those gaps explicitly. Do not weaken signature or access checks to make a test pass. " +
20
67
  "Start a validation session for the user's integration. " +
21
68
  "quickrun and run_workflow execute OUR curated workflow against a " +
22
69
  "twin — green there says the provider behaves as documented, and says " +
@@ -171,6 +218,7 @@ export const validateIntegrationTool = {
171
218
  expect_status: { type: "integer", minimum: 200, maximum: 299 },
172
219
  assertion: {
173
220
  type: "object", required: ["select", "equals", "required", "count"], additionalProperties: false,
221
+ description: "GET read-back only. Exactly four fields, e.g. {select: data.id, equals: '{{step2.id}}', required: true, count: 1} for Paddle. Use separate GET assertions for amount and currency; application all_of/where and JSON scalar predicates are not supported here.",
174
222
  properties: {
175
223
  select: { type: "string" }, equals: { type: "string" },
176
224
  required: { type: "boolean", enum: [true] }, count: { type: "integer", enum: [1] },
@@ -192,11 +240,15 @@ export const validateIntegrationTool = {
192
240
  },
193
241
  application_config: {
194
242
  type: "object", required: ["app_version", "disposable_test_app", "checks"], additionalProperties: false,
195
- description: "Frozen HTTP app drive/read-back contract: 1-30 checks, 1-20 actions per executable check, at most 300 declared actions in total, below 64 KiB. Preserve intermediate reads within these bounds; do not silently remove them. First check id=baseline must establish success. Checks require id, name, before {path,assertion}, actions [{method,path,body?,expect_status?}], observe {path}, and assertion using select/equals/count/required or all_of. where and all_of must be lists of assertion objects, not field maps. equals accepts JSON strings, numbers, booleans and null; numeric/boolean literals preserve type, and null must be a present null field. Stripe event.payload is only the resource inside data.object, never a full event or a data.object wrapper: the server constructs and signs the envelope. Optional per-check observation_deadline_seconds (0-180, repeat=1 only) records bounded polling for eventual saved state; it does not drive a browser or turn a timeout into a pass. Every check first reads its declared starting-state precondition. Baseline requires count=0 on the same observed collection, with no where filter. Use {{run_id}} to scope fresh synthetic records. Paths are app-relative. {{step1.id}} binds a real action response to read-back. assertion.repeat (1-5) and stable_under_repeat support replay. Optional fault {provider,scenario} requires independently recorded provider refusal. Unsupported checks contain id,name,unsupported_reason only. No user-supplied credentials, auth headers or live data. require_verifier_token=true generates an owner-only temporary Bearer token through secure handoff for protected test endpoints.",
243
+ description: "Frozen HTTP app drive/read-back contract: 1-30 checks, 1-20 actions per executable check, at most 300 declared actions in total, below 64 KiB. Preserve intermediate reads within these bounds; do not silently remove them. First check id=baseline must establish success. Checks require id, name, before {path,assertion}, ordinary HTTP actions [{method,path,body?,expect_status?}] or signed-event actions [{event:{provider,type,payload},expect_status?}], observe {path}, and assertion using select/equals/count/required or all_of. where and all_of must be lists of assertion objects, not field maps. equals accepts JSON strings, numbers, booleans and null; numeric/boolean literals preserve type, and null must be a present null field. Stripe event.payload is only the resource inside data.object, never a full event or a data.object wrapper: the server constructs and signs the envelope. Optional per-check observation_deadline_seconds (0-180, repeat=1 only) records bounded polling for eventual saved state; it does not drive a browser or turn a timeout into a pass. Every check first reads its declared starting-state precondition. Baseline requires count=0 on the same observed collection, with no where filter. Use {{run_id}} to scope fresh synthetic records. All paths are app-relative without query strings or fragments, including non-secret run_id queries; preserve run scoping through an inspected protected path-segment observer. Baseline permits only ordinary HTTP actions without signed events; prove signed purchase/access in later checks. Do not combine event actions with method/path/body/headers. {{step1.id}} binds a real action response to read-back. assertion.repeat (1-5) and stable_under_repeat support replay. Optional fault {provider,scenario} requires independently recorded provider refusal. Unsupported checks contain id,name,unsupported_reason only. No user-supplied credentials, auth headers or live data. require_verifier_token=true generates an owner-only temporary Bearer token through secure handoff for protected test endpoints.",
196
244
  properties: {
197
245
  app_version: { type: "string" }, disposable_test_app: { type: "boolean", enum: [true] },
198
246
  require_verifier_token: { type: "boolean" },
199
- event_destinations: { type: "object", additionalProperties: { type: "string" }, description: "Session-provider to same-origin webhook path. Requires require_verifier_token=true and the isolated FETCHSANDBOX_<PROVIDER>_WEBHOOK_SECRET from secure handoff. Actions may use event:{provider,type,payload} or event:{provider,replay_of: prior step event_id template}. Existing signature checks must remain enabled." },
247
+ coverage_review: { type: "array", maxItems: 17, description: "Applicability review against the returned coverage_policy. Missing dimensions remain unreviewed. Link relevant dimensions to declared checks, including explicitly unsupported checks. This is a proposed review, not execution proof.", items: {
248
+ type: "object", required: ["dimension", "relevance", "reason", "rule_ids"], additionalProperties: false,
249
+ properties: { dimension: { type: "string" }, relevance: { type: "string", enum: ["relevant", "not_applicable", "unresolved"] }, reason: { type: "string" }, rule_ids: { type: "array", items: { type: "string" } } },
250
+ } },
251
+ event_destinations: { type: "object", additionalProperties: { type: "string" }, description: "Session-provider to same-origin webhook path without query/fragment. Requires require_verifier_token=true and the isolated FETCHSANDBOX_<PROVIDER>_WEBHOOK_SECRET from secure handoff. Complete signed action shape: {event:{provider,type,payload},expect_status:200}; exact replay: {event:{provider,replay_of:'{{step2.event_id}}'},expect_status:200}. No method/path/body/headers on signed actions. Baseline uses ordinary HTTP actions; signed events belong in later checks. Existing signature checks must remain enabled." },
200
252
  observation_seconds: { type: "number", minimum: 0.1, maximum: 5 },
201
253
  checks: { type: "array", minItems: 1, maxItems: 30, items: { type: "object" } },
202
254
  },
@@ -231,6 +283,16 @@ export async function runValidateIntegration(input) {
231
283
  throw new ToolError("Pass `providers` (e.g. ['stripe']) to start a validation session, or " +
232
284
  "`session_id` from a previous call to continue one.");
233
285
  }
286
+ if (input.application_config) {
287
+ const errors = applicationContractDiagnostics(input.application_config);
288
+ if (errors.length)
289
+ return {
290
+ session_id: input.session_id, status: "configuration_rejected", step: "configure_application",
291
+ app_verified: false, configuration_accepted: false, next_action: "repair_application_contract",
292
+ next_tool_call: null, validation_errors: errors,
293
+ message_for_user: "This configuration was not sent to the backend. No application action ran and this call created no attempt or credentials. Repair the indicated fields in the same session; retain all intended checks and safety guards.",
294
+ };
295
+ }
234
296
  const result = await postJson("/api/mcp/validate_integration", {
235
297
  providers: input.providers ?? [],
236
298
  app_base_url: input.app_base_url ?? "",
@@ -1 +1 @@
1
- {"version":3,"file":"validate_integration.js","sourceRoot":"","sources":["../../src/tools/validate_integration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAyD5D,MAAM,oBAAoB,GAAG;IAC3B,SAAS,EAAE;QACT,IAAI,EAAE,sBAAsB;QAC5B,8CAA8C,EAAE,IAAI;QACpD,qCAAqC,EAAE,KAAK;QAC5C,WAAW,EAAE,kJAAkJ;KAChK;IACD,qBAAqB,EAAE;QACrB,YAAY,EAAE,qBAAqB;QACnC,WAAW,EAAE,gaAAga;KAC9a;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EACT,ojDAAojD;QACpjD,6gBAA6gB;QAC7gB,0iBAA0iB;QAC1iB,+1BAA+1B;QAC/1B,yDAAyD;QACzD,mEAAmE;QACnE,uEAAuE;QACvE,sEAAsE;QACtE,0EAA0E;QAC1E,sEAAsE;QACtE,sEAAsE;QACtE,yEAAy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
3
+ "version": "0.7.11",
4
4
  "mcpName": "io.github.fetchsandbox/mcp",
5
5
  "description": "A deterministic verification engine for agents. Fires the edge cases your sandbox never sends, then proves a fix: the same scenario fails on the old code and passes on the new.",
6
6
  "license": "MIT",