{"version":"2.1.257","anchor":"agent-workflow-script-signature-tightened-top-level-agent","canonical_anchor":"agent-workflow-script-signature-tightened-top-level-agent","heading":"agent() workflow-script signature tightened; top-level agent option added","tier":"internal","area":"Workflows","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.257\/e\/agent-workflow-script-signature-tightened-top-level-agent","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.257","markdown":"### agent() workflow-script signature tightened; top-level agent option added\n\nWorkflow agent() rejects extra positional arguments and takes a top option, while the old budget options are gone.\n\nIn Workflow v2 scripts, `agent()` now rejects extra positional arguments with an explicit error; a top-level option is instead passed as `agent(prompt, {top: true, ...})`. The previous admission\/starvation-related options tied to a budget system (starved facts, `whenOpen`\/`isOpen`\/`ceiling`\/`spent`) have been removed from the world engine.\n\n- Area: Workflows\n- Tier: Under the hood\n- Useful: 3\/5\n- Signal: 3\/5"}