{
“schemaVersion”: “3.0”,
“kind”: “STITCH_PROVIDER_ESCALATION_SHAREABLE”,
“packageVersion”: “v4”,
“supersedesForReadingOrder”: [
“stitch-provider-escalation-packet.v2.shareable.json”,
“stitch-provider-escalation-packet.v3.shareable.json”
],
“whatIsNewSinceV3”: [
“a second, independent byte-identical divergence (v3 recorded the pair at prompt e0a5967c…; this package adds the pair at 11438ee9…)”,
“the deviceType tool-contract evidence, read from tools/list and the first-party SDK”,
“a fresh-project form-factor control with a verified empty project”,
“Issue B: the canonical design system does not bind on a fresh project”
],
“executiveSummary”: “Requests to generate_screen_from_text that declare deviceType MOBILE sometimes return a screen whose metadata declares deviceType DESKTOP at 2560 x 2048. In one project, two requests with a byte-identical prompt, the same requested device, no model and no design system returned different devices. We have verified on our side that the request reaches the service with deviceType=MOBILE. We are not claiming a contract violation: the published tool schema does not state what device a returned screen will declare, which is itself part of what we are asking about. Separately and independently, when we supply an existing design-system asset on generate_screen_from_text for a newly created project, a different asset is returned. We need enough guidance to choose one bounded production strategy.”,
“environment”: {
“provider”: “stitch”,
“endpoint”: “https://stitch.googleapis.com/mcp”,
“transport”: “MCP, tools/call”,
“operation”: “generate_screen_from_text”,
“productionProject”: “projects/3132332776252598..”,
“authentication”: “API key (value not included)”,
“toolsDiscovered”: 15
},
“issueA”: {
“title”: “Form-factor outcome variance for generate_screen_from_text”,
“comparableObservations”: 5,
“mobile”: 3,
“desktop”: 2,
“everyRequestDeclaredMobile”: true,
“observations”: [
{
“attempt”: 1,
“projectResource”: “projects/3132332776252598..”,
“operation”: “generate_screen_from_text”,
“requestedDeviceType”: “MOBILE”,
“promptSha256”: “202a07315684d2ff53a972d5bc918d8d198aabde41265f921d2870daf2181edd”,
“promptBytes”: null,
“modelId”: null,
“designSystemRequested”: null,
“returnedDeviceType”: “MOBILE”,
“returnedWidth”: 780,
“returnedHeight”: 2778,
“returnedScreenResource”: null,
“returnedComponentId”: “233bcd989dfd44a499927bab36aca89e”,
“responsePathMetadata”: “figaro_agent”,
“rawResponseDigest”: null,
“transportOrProviderError”: null
},
{
“attempt”: 2,
“projectResource”: “projects/3132332776252598..”,
“operation”: “generate_screen_from_text”,
“requestedDeviceType”: “MOBILE”,
“promptSha256”: “11438ee9fa294ae37550f5c4fe36d67b998c3e31caa4ffa597810f045805dc52”,
“promptBytes”: null,
“modelId”: null,
“designSystemRequested”: null,
“returnedDeviceType”: “DESKTOP”,
“returnedWidth”: 2560,
“returnedHeight”: 2048,
“returnedScreenResource”: “projects/3132332776252598../screens/b76f6fb6700b432bb0cadadb50e7d7..”,
“returnedComponentId”: “b76f6fb6700b432bb0cadadb50e7d7..”,
“responsePathMetadata”: “create_datastore_entry”,
“rawResponseDigest”: null,
“transportOrProviderError”: null,
“note”: “first DESKTOP response”
},
{
“attempt”: 3,
“projectResource”: “projects/3132332776252598..”,
“operation”: “generate_screen_from_text”,
“requestedDeviceType”: “MOBILE”,
“promptSha256”: “11438ee9fa294ae37550f5c4fe36d67b998c3e31caa4ffa597810f045805dc52”,
“promptBytes”: null,
“modelId”: null,
“designSystemRequested”: null,
“returnedDeviceType”: “MOBILE”,
“returnedWidth”: 780,
“returnedHeight”: 2136,
“returnedScreenResource”: “projects/3132332776252598../screens/30f8bd4235e04c8abe322895097b95..”,
“returnedComponentId”: “30f8bd4235e04c8abe322895097b95..”,
“responsePathMetadata”: “figaro_agent”,
“rawResponseDigest”: null,
“transportOrProviderError”: null,
“note”: “byte-identical prompt to attempt 2, MOBILE”
},
{
“attempt”: 4,
“projectResource”: “projects/3132332776252598..”,
“operation”: “generate_screen_from_text”,
“requestedDeviceType”: “MOBILE”,
“promptSha256”: “8792e777ba220514882a97808f58cb88491810df81f271dc8485e9ba24c85a1b”,
“promptBytes”: 3839,
“modelId”: null,
“designSystemRequested”: null,
“returnedDeviceType”: “MOBILE”,
“returnedWidth”: 780,
“returnedHeight”: 2190,
“returnedScreenResource”: “projects/3132332776252598../screens/3a8f10ac95a64277a351de0ea05429..”,
“returnedComponentId”: “3a8f10ac95a64277a351de0ea05429..”,
“responsePathMetadata”: “figaro_agent”,
“rawResponseDigest”: null,
“transportOrProviderError”: null
},
{
“attempt”: 5,
“projectResource”: “projects/3132332776252598..”,
“operation”: “generate_screen_from_text”,
“requestedDeviceType”: “MOBILE”,
“promptSha256”: “8f29c7b4e3a4debb1cea7156fcebfe312a837e6e30ba82825ab46d6ab1ea6c33”,
“promptBytes”: 6149,
“modelId”: null,
“designSystemRequested”: null,
“returnedDeviceType”: “DESKTOP”,
“returnedWidth”: “2560”,
“returnedHeight”: “2048”,
“returnedScreenResource”: “projects/3132332776252598../screens/f732f34b48fa43d5a72b07e139a662..”,
“returnedComponentId”: “f732f34b48fa43d5a72b07e139a662ba”,
“responsePathMetadata”: “create_datastore_entry”,
“rawResponseDigest”: “e7f040bbc5994af6b47c3abd8a1b70d761750bcb9aa785039b804d17f0a37ba1”,
“transportOrProviderError”: null,
“note”: “most recent DESKTOP response”
}
],
“allDesktopResponsesShareOneGeometry”: “2560 x 2048”,
“projectAlsoHoldsMobileScreensOfTheSameTitles”: true
},
“strongestSameInputDivergence”: {
“whyThisIsTheStrongestEvidence”: “every input we control was identical, byte for byte, and the two responses differ in both the declared device and the response-path metadata”,
“projectResource”: “projects/3132332776252598..”,
“operation”: “generate_screen_from_text”,
“requestedDeviceType”: “MOBILE”,
“modelId”: null,
“designSystemRequested”: null,
“promptSha256”: “11438ee9fa294ae37550f5c4fe36d67b998c3e31caa4ffa597810f045805dc52”,
“promptBytesIdentical”: true,
“attemptA”: {
“returnedDeviceType”: “DESKTOP”,
“geometry”: “2560 x 2048”,
“responsePathMetadata”: “create_datastore_entry”,
“returnedComponentId”: “b76f6fb6700b432bb0cadadb50e7d7..”
},
“attemptB”: {
“returnedDeviceType”: “MOBILE”,
“geometry”: “780 x 2136”,
“responsePathMetadata”: “figaro_agent”,
“returnedComponentId”: “30f8bd4235e04c8abe322895097b95..”
},
“aSecondIndependentPair”: “an earlier escalation packet recorded another byte-identical pair at prompt e0a5967c57e734272bd66ed18fe54bfc98e60b5e0d4f07121f06b21354f5a378, so this is the second such pair we have observed”
},
“latestMismatch”: {
“requestedDeviceType”: “MOBILE”,
“promptSha256”: “8f29c7b4e3a4debb1cea7156fcebfe312a837e6e30ba82825ab46d6ab1ea6c33”,
“promptBytes”: 6149,
“returnedDeviceType”: “DESKTOP”,
“geometry”: “2560 x 2048”,
“responsePathMetadata”: “create_datastore_entry”,
“returnedScreenResource”: “projects/3132332776252598../screens/f732f34b48fa43d5a72b07e139a662..”,
“returnedComponentId”: “f732f34b48fa43d5a72b07e139a662..”,
“rawResponseDigest”: “e7f040bbc5994af6b47c3abd8a1b70d761750bcb9aa785039b804d17f0a37ba1”,
“providerError”: null
},
“transportProof”: {
“statement”: “The request reached the provider with deviceType=MOBILE, while the returned screen metadata declared deviceType=DESKTOP.”,
“verifiedOnOurSide”: [
“the request we validated carried MOBILE”,
“the authorization for the attempt carried MOBILE”,
“the dispatch record carried MOBILE”,
“the commit written before transport carried MOBILE”,
“the tool argument we sent carried MOBILE”
],
“deviceTypeValueSent”: “MOBILE”,
“isAnExactSupportedEnumValue”: true,
“weAreNotClaimingAContractViolation”: true
},
“deviceTypeContractGap”: {
“toolRequiredFields”: [
“projectId”,
“prompt”
],
“deviceTypeIsOptional”: true,
“deviceTypeDescriptionVerbatim”: “The type of device that captured the screenshot, e.g., mobile or desktop.”,
“enum”: [
“DEVICE_TYPE_UNSPECIFIED”,
“MOBILE”,
“DESKTOP”,
“TABLET”,
“AGNOSTIC”
],
“enumDescriptionsVerbatim”: [
“Unspecified device type.”,
“A design for a mobile device.”,
“A design for a desktop device.”,
“A design for a tablet device.”,
“A design that is not tied to a specific device.”
],
“theContractDoesNotEstablish”: [
“a request deviceType to returned deviceType invariant”,
“a hard output requirement”,
“a default when the field is omitted”,
“override semantics”,
“project-level device default semantics”,
“source-screen inheritance semantics”
],
“noResponseSchemaIsPublished”: “the MCP contract exposes input schemas only, for every tool, so it cannot state what a response will contain”,
“firstPartySdk”: “the published SDK lists deviceType as an optional parameter on generate, edit and variants, documents no default, and makes no statement about the returned value”,
“weDoNotReadSilenceAsEitherAGuaranteeOrADisclaimer”: true
},
“responsePathObservation”: {
“label”: “OBSERVED ASSOCIATION — CAUSATION NOT ESTABLISHED”,
“sample”: {
“figaro_agent”: {
“MOBILE”: 18
},
“create_datastore_entry”: {
“DESKTOP”: 9
},
“HatterAgent”: {
“MOBILE”: 1
}
},
“noPathAppearedWithMoreThanOneDevice”: true,
“noProviderAuthorityDocumentsTheseValues”: “nothing in the 15 exposed tool schemas or in the first-party SDK mentions them”,
“weDoNotCallThem”: [
“engines”,
“fallbacks”,
“routers”,
“generation modes”
],
“whyNot”: “no provider authority available to us establishes what they are”
},
“issueB”: {
“title”: “An existing design-system asset is not bound for a newly created project”,
“independentOfIssueA”: true,
“weDoNotClaimACommonRootCause”: true,
“operationUsed”: “generate_screen_from_text with the designSystem argument”,
“operationNotYetTried”: “apply_design_system, which the tool list exposes but these controls did not use. Part of question B3.”,
“canonicalDesignSystem”: {
“asset”: “assets/203238cea0d64d1488e5ca1434ccd3df”,
“displayName”: “Clear Current”,
“colorMode”: “LIGHT”
},
“controls”: [
{
“control”: “v1”,
“freshProjectResource”: “projects/150196841930698819..”,
“preBindingProjectState”: “the project already held a theme from an earlier control generation (designTheme name “Obsidian Kinetic”, DARK)”,
“requested”: “assets/203238cea0d64d1488e5ca1434ccd3df”,
“returned”: “assets/07d580f2b86f468b80bffdbf9ac738c4”,
“returnedDisplayName”: “Obsidian Kinetic”,
“bound”: false,
“verdict”: “NOT_BOUND_DIFFERENT_ASSET_RETURNED”,
“projectHadThemeBeforeBinding”: true,
“transportSucceeded”: true,
“returnedStateDifferedFromRequestedCanonicalAsset”: true
},
{
“control”: “v2”,
“freshProjectResource”: “projects/116495559701094470..”,
“preBindingProjectState”: “created moments before the call, with no designTheme at all”,
“requested”: “assets/203238cea0d64d1488e5ca1434ccd3df”,
“returned”: “assets/18e2f08f5d0c46d285f42a7814c6a240”,
“returnedDisplayName”: “Obsidian Control”,
“bound”: false,
“verdict”: “NOT_BOUND_DIFFERENT_ASSET_RETURNED”,
“projectHadThemeBeforeBinding”: false,
“transportSucceeded”: true,
“returnedStateDifferedFromRequestedCanonicalAsset”: true
}
],
“contrast”: {
“productionProject”: “the canonical Clear Current design system is bound exactly, and binds exactly under both MOBILE and DESKTOP outcomes”,
“freshControlV1”: “the canonical design system did not bind; a different asset was returned”,
“freshControlV2”: “the canonical design system did not bind; a different asset was returned, on a project with no prior theme”,
“freshFormFactorExperimentProject”: “created with no theme. It returned MOBILE, but no canonical design-system binding was established there, so it is not usable as a production replacement.”
},
“weDoNotSayTheServiceIgnoredTheDesignSystem”: “the calls succeeded and returned an asset; we observe only that it was not the one requested”
},
“minimalReproductionA”: {
“doNotExecuteOnOurBehalf”: false,
“purpose”: “form-factor variance”,
“project”: “projects/3132332776252598..”,
“operation”: “generate_screen_from_text”,
“arguments”: {
“projectId”: “3132332776252598..”,
“deviceType”: “MOBILE”
},
“modelId”: “omitted”,
“designSystem”: “omitted”,
“prompt”: {
“sha256”: “11438ee9fa294ae37550f5c4fe36d67b998c3e31caa4ffa597810f045805dc52”,
“bytesIdenticalAcrossBothAttempts”: true,
“fullTextIncluded”: false,
“whyNot”: “the text is product-specific and is not needed to reproduce the variance. We can attach it on request.”
},
“expectedFromOurPerspective”: “clarification of what the returned deviceType should be”,
“observed”: “one MOBILE response and one DESKTOP response under identical controlled inputs”
},
“minimalReproductionB”: {
“purpose”: “design-system binding on a new project”,
“steps”: [
“create_project with a title only”,
“generate_screen_from_text with projectId, a short prompt, deviceType MOBILE and designSystem assets/203238cea0d64d1488e5ca1434ccd3df”
],
“canonicalDesignSystemAsset”: “assets/203238cea0d64d1488e5ca1434ccd3df”,
“promptUsedInBothControls”: {
“sha256”: “8d20ded363824413fc662f442eb905aaad083f42595f941ac76402a9e0151537”,
“text”: “Create a simple welcome screen titled Control Screen with one short supporting sentence and one Continue button.”
},
“observed”: “the response named a different design-system asset in both controls”,
“v1Returned”: “assets/07d580f2b86f468b80bffdbf9ac738c4”,
“v2Returned”: “assets/18e2f08f5d0c46d285f42a7814c6a240”
},
“questions”: {
“issueA”: {
“A1”: “What is the normative meaning of deviceType on generate_screen_from_text?”,
“A2”: “When deviceType=MOBILE is supplied, is the returned screen expected to declare deviceType=MOBILE?”,
“A3”: “Is deviceType a hard output constraint, a preference, a routing hint, screenshot metadata, or something else?”,
“A4”: “Can the service intentionally return DESKTOP for a MOBILE request?”,
“A5”: “What selects the response metadata values figaro_agent, create_datastore_entry and HatterAgent?”,
“A6”: “Are those values related to device or form-factor generation?”,
“A7”: “Why can byte-identical requests against the same project return different device types and different response-path values?”,
“A8”: “Is there a documented request field or workflow that guarantees a MOBILE screen?”,
“A9”: “Is there any project-level state that influences device or form-factor routing?”,
“A10”: “Should a MOBILE request returning DESKTOP be treated by clients as expected behaviour, retriable variance, or an error?”
},
“issueB”: {
“B1”: “What is the supported way to bind an existing canonical design system or theme to a newly created project?”,
“B2”: “Can an existing design-system asset be referenced by id or resource during project creation?”,
“B3”: “If not, which operation should be used after project creation — is apply_design_system the intended one?”,
“B4”: “When a canonical design-system asset is supplied, why can a different asset be returned?”,
“B5”: “Is design-system identity expected to be preserved exactly, or may the service derive or create a new asset?”,
“B6”: “How can a client verify that the requested design system is actually bound before generating?”,
“B7”: “Is there a documented workflow for: create fresh project, bind existing design system, verify the binding, then generate a MOBILE screen?”
}
},
“whatWeAreNotClaiming”: [
“We are NOT claiming deviceType is documented as a hard output guarantee.”,
“We are NOT claiming figaro_agent causes MOBILE.”,
“We are NOT claiming create_datastore_entry causes DESKTOP.”,
“We are NOT claiming production project state caused the mismatch.”,
“We are NOT claiming the fresh-project MOBILE result proves that freshness fixes the problem.”,
“We are NOT claiming the two issues have the same root cause.”
],
“requestedProviderGuidance”: {
“whatWeNeed”: “enough guidance to choose one bounded production strategy”,
“options”: {
“OPTION_1”: “continue generation in the existing project”,
“OPTION_2”: “create a fresh project and correctly bind the existing canonical design system”,
“OPTION_3”: “use another documented workflow or field that deterministically requests MOBILE”,
“OPTION_4”: “treat MOBILE to DESKTOP as expected variance and adopt a provider-recommended client strategy”,
“OPTION_5”: “treat the observed behaviour as a provider defect, if you confirm it is not expected”
},
“ourConstraint”: “we authorize one provider generation call at a time and do not retry, so we need a reason to expect a different outcome before spending another call”
}
}