{ "_comment": [ "aimock fixtures for the deterministic OGUI routing test.", "Single-turn: each pill message maps to the tool the agent must pick.", "Guards BOTH boundary sides — curated pills must NOT route to generateSandboxedUi,", "OGUI pills MUST. userMessage values are copied byte-for-byte from wrapper.tsx pill messages." ], "fixtures": [ { "match": { "userMessage": "Show me the spending trend over time." }, "response": { "toolCalls": [{ "name": "showSpendingTrend", "arguments": {} }] } }, { "match": { "userMessage": "Show me budget usage by policy — which ones are close to or over their limit?" }, "response": { "toolCalls": [{ "name": "showBudgetUsage", "arguments": {} }] } }, { "match": { "userMessage": "Where is the money going? Break down spend by team." }, "response": { "toolCalls": [{ "name": "showSpendBreakdown", "arguments": {} }] } }, { "match": { "userMessage": "Compare our income vs expenses — how is our cash flow?" }, "response": { "toolCalls": [{ "name": "showIncomeVsExpenses", "arguments": {} }] } }, { "match": { "userMessage": "Build a full spend report on the canvas: KPIs, the spending trend, budget usage, and a spend breakdown by team." }, "response": { "toolCalls": [ { "name": "render_report", "arguments": { "title": "Spend report", "kpis": ["totalSpend"], "charts": ["spendingTrend"] } } ] } }, { "match": { "userMessage": "Build an interactive spend explorer I can filter and play with — pull the real transactions and policies." }, "response": { "toolCalls": [ { "name": "generateSandboxedUi", "arguments": { "initialHeight": 320, "html": "
Spend explorer
", "jsFunctions": "async function load(){ const t = await window.Websandbox.connection.remote.getTransactions(); document.getElementById('root').textContent = 'txns: ' + t.length; } load();" } } ] } }, { "match": { "userMessage": "Prototype an interactive what-if calculator for our cash flow using our real income and expense figures." }, "response": { "toolCalls": [ { "name": "generateSandboxedUi", "arguments": { "initialHeight": 320, "html": "
What-if calculator
", "jsFunctions": "async function load(){ const k = await window.Websandbox.connection.remote.getKpis(); document.getElementById('calc').textContent = 'spend: ' + k.totalSpend; } load();" } } ] } } ] }