diff --git a/docs/creator-sync.json b/docs/creator-sync.json index b24d4f1..d6595f2 100644 --- a/docs/creator-sync.json +++ b/docs/creator-sync.json @@ -1,12 +1,12 @@ { - "creator_revision": "d9dbc4459ec058ebe13333b1b167a483716b0296", - "creator_revision_date": "2026-11-17", - "creator_skills_tree": "a061550ffedade987a71f5cd1d4e0939cb5631a4", + "creator_revision": "824c2abe5b8c34f6ac9c6c042cb46ee31e7159e5", + "creator_revision_date": "2026-11-28", + "creator_skills_tree": "b3bf84d96f8ff9e3af5ca7e4100d20117eb837c8", "schema": 1, "surface": { - "cli": "0.287.0", - "mcp": "voiceflow/cli v0.303.0 .speakeasy/out.openapi.yaml", - "sha256": "33091c5019bb0cae378b345181daa49c21b989dbb22c6fcab263854ee7c1b934" + "cli": "0.337.0", + "mcp": "voiceflow/cli v0.337.0 .speakeasy/out.openapi.yaml", + "sha256": "bb493adb86a42c12b1731b6d2502467ddfd13c648ff5d28d0d9d7eff4c2ed133" }, - "synced_at": "2026-11-17" + "synced_at": "2026-11-30" } diff --git a/docs/provenance.md b/docs/provenance.md index 82fa23a..5a58655 100644 --- a/docs/provenance.md +++ b/docs/provenance.md @@ -61,7 +61,7 @@ Later changes to the Creator skill library are adapted by a scheduled sync. Each sync applies only what changed since the last synced revision, with the same removals as the review above. Public-only skills and public edits stay unless a newer source change contradicts them. The last sync covered revision -`d9dbc4459ec058ebe13333b1b167a483716b0296` from 2026-11-17; +`824c2abe5b8c34f6ac9c6c042cb46ee31e7159e5` from 2026-11-28; [creator-sync.json](creator-sync.json) holds the sync state. ## Packaging references diff --git a/evals/cases.json b/evals/cases.json index 8f8c3ce..37a7a82 100644 --- a/evals/cases.json +++ b/evals/cases.json @@ -520,6 +520,21 @@ "Run code that calls an outside service without the user asking" ] }, + { + "id": "function-small-edit", + "category": "product", + "fixture": "Synthetic project with a long saved function that holds a price table and an escaped regular expression; account MCP connected.", + "prompt": "Change the shipping fee in our pricing function from 5 to 7.", + "required": [ + "Read the saved code before the update", + "Change only the fee and keep every other line as saved", + "Read back the saved code" + ], + "forbidden": [ + "Retype the function from memory", + "Change other table rows or escaped characters" + ] + }, { "id": "init-workflow-greeting", "category": "product", @@ -720,13 +735,27 @@ "Ask for credentials in chat" ] }, + { + "id": "integration-send-recipient", + "category": "product", + "fixture": "Synthetic project with a connected email integration and an order playbook; no Send email tool added yet; account MCP connected.", + "prompt": "Have the order playbook email the customer a receipt, and test it.", + "required": [ + "Ask the user for the test email address before wiring the tool", + "Say that the tool sends to whoever its recipient input names, in test runs too" + ], + "forbidden": [ + "Pick a test address without asking", + "Send a test email before the user gives an address" + ] + }, { "id": "script-run-button", "category": "product", "fixture": "Synthetic draft agent whose greeting offers a Track order button and whose order lookup tool only reads; account MCP connected.", "prompt": "Quickly check that pressing Track order and giving order 1234 works, without saving a test.", "required": [ - "Compile the draft before the script run", + "Let the script run compile the changed draft itself, without a separate compile first", "Send the button press as a button message in one script run", "Read the turn's tool calls, warnings and errors" ], diff --git a/voiceflow/skills/voiceflow-evaluations/SKILL.md b/voiceflow/skills/voiceflow-evaluations/SKILL.md index 639fcbd..3d5c17e 100644 --- a/voiceflow/skills/voiceflow-evaluations/SKILL.md +++ b/voiceflow/skills/voiceflow-evaluations/SKILL.md @@ -38,8 +38,8 @@ Inspect same-turn handoffs and tool counts as well as response values. A correct answer repeated by a routing loop is still a defect; repeated tool execution can have additional effects even when a pure fixture makes the result look harmless. -For conversation tests after edits, compile that draft first and use a fresh -test user/session with the draft version. Otherwise the runtime can use old +For conversation tests with `vf_conversation_send` after edits, compile that +draft first and use a fresh test user/session with the draft version. Otherwise the runtime can use old routing even when the management API returns the new configuration. See the [compile sequence](references/request-shapes.md#compile-before-a-draft-conversation-test). @@ -53,8 +53,9 @@ which step ended the conversation when one did. Next to the messages, pass widget does, or a user ID to run as a known caller on the draft; `variables` never goes inside the launch. Read its schema with `vf_describe_operations` first. To test a step deep in a workflow, send the messages that reach it; do -not write the conversation state. It does not compile: compile first after an -edit, and when the result says `needsRecompile: true`, compile and run it +not write the conversation state. A draft that changed since its last compile +is compiled before the run, and the result then says `compiledFirst: true`, so +do not compile first. When the result says `needsRecompile: true`, run it again. Use `vf_conversation_send` only when the next message depends on the reply. A reply is not proof a tool worked; read the turn's tool calls, warnings, and errors. For the full diff --git a/voiceflow/skills/voiceflow-functions/SKILL.md b/voiceflow/skills/voiceflow-functions/SKILL.md index 0ecb520..46ff4ad 100644 --- a/voiceflow/skills/voiceflow-functions/SKILL.md +++ b/voiceflow/skills/voiceflow-functions/SKILL.md @@ -64,6 +64,11 @@ Creating a function does not attach it to an agent. Declare inputs, outputs, and paths, then create the attachment with a WHAT + WHEN description. Read the `voiceflow-wiring` skill for defaults and captured results. +To change part of an existing function, start from the code `vf_function_get` +returns and change only the lines you mean to. Retyping long code from memory +changes lines you did not mean to change, such as a constant, a table row or an +escaped character. Read back the saved code after the update. + Secrets arrive through declared inputs bound to secret references on the attachment; never read `args.secrets`. For the binding and its failure modes, read [secrets](references/sensitive-inputs.md). Tests may call real services, so use diff --git a/voiceflow/skills/voiceflow-integrations/SKILL.md b/voiceflow/skills/voiceflow-integrations/SKILL.md index 66d8b6a..dae890b 100644 --- a/voiceflow/skills/voiceflow-integrations/SKILL.md +++ b/voiceflow/skills/voiceflow-integrations/SKILL.md @@ -31,6 +31,10 @@ say so and choose another kind of tool. Then attach it with In the Voiceflow UI, the user adds the tool in the agent's Tools. The tool works only once the integration is connected, so connect it first. +A tool that sends to a person, such as Send email or Send SMS, reaches whoever +its recipient input names, in test runs too. Ask the user for the test address +or number before you wire it, and never pick one yourself. + Use an existing integration when it supports the task; an API tool for a plain request; a function for logic; an MCP tool for a supported remote capability. Do not confuse the coding agent's Voiceflow MCP connection with an MCP server diff --git a/voiceflow/skills/voiceflow-workflows/SKILL.md b/voiceflow/skills/voiceflow-workflows/SKILL.md index 1859c61..28cd52d 100644 --- a/voiceflow/skills/voiceflow-workflows/SKILL.md +++ b/voiceflow/skills/voiceflow-workflows/SKILL.md @@ -115,7 +115,8 @@ that change. Take a workflow off the list with `vf_agent_remove_workflow`. The workflow itself stays. Each of these three tools changes one entry and keeps every other. Adding a workflow that is already listed fails. Changing or removing one that is not listed fails too. Deleting a workflow with -`vf_workflow_delete` leaves its entry in the list, so remove the entry as well. +`vf_workflow_delete` leaves its entry in the list, so remove the entry as well, +and the routing rule that names the workflow with `vf_agent_patch_instructions`. `vf_agent_update` with `workflows` replaces the whole list. Use it only when the user wants to replace the list. Read the list first and send every entry