{"version":"2.1.336","anchor":"workflow-agent-inputs-marked-as-untrusted-data","canonical_anchor":"workflow-agent-inputs-marked-as-untrusted-data","heading":"Workflow agents now treat their inputs as untrusted data","tier":"soon","area":"Workflows","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/workflow-agent-inputs-marked-as-untrusted-data","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Workflow agents now treat their inputs as untrusted data\n\nWhen a workflow starts an agent, its prompt, description, schema and agent type are now labelled as untrusted data instead of passed as-is\n\n**What**\n\nA workflow can start an agent, which is a separate helper Claude given its own job. The details handed to that agent used to be passed along exactly as they were written:\n\n- the prompt\n\n- the description\n\n- the schema, a description of the shape the agent's answer must take\n\n- the agent type\n\nEach is now wrapped in notes that say how it is handled. For example, the schema is checked as a JSON Schema before it becomes a tool, and text handed to plugins is treated as untrusted again when it comes back. The agent type is also turned into plain text before use.\n\n**Why**\n\nThis makes starting agents from a workflow safer, because what the workflow supplies is treated as data rather than as instructions to follow.\n\n- Flag `tengu_workflow_schema_lint_enforce`: Not enough to say (read for one account on one subscription tier against v2.1.336; this account: no value returned, anonymous baseline: no value returned, compiled default: on) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Workflows\n- Tier: Nothing to try yet\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no\n- Present in the build but not switched on"}