Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

workflow-standalone-schema-agent-crash-and-args-string

Sterne2
Forks0
Aktualisiert8. Juli 2026 um 12:17

Two failure modes that crash an entire dynamic Workflow (the Workflow tool / multi-agent orchestration scripts) and discard all completed agents' work. Use when: (1) a workflow fails with "Error: agent({schema}): subagent completed without calling StructuredOutput (after 2 in-conversation nudges)" — caused by a STANDALONE/terminal `await agent(prompt, {schema})` that is NOT inside parallel()/pipeline(), so the throw propagates and fails the whole run even though the other agents succeeded; (2) a workflow fails immediately with "TypeError: undefined is not an object (evaluating 'P.candidates.map')" or args being a string — caused by the `args` global arriving as a JSON STRING in the script, not a parsed object. Covers guarding standalone schema agents (try/catch, parallel wrapper, or schema-less), defensive JSON.parse of args, and recovering a crashed run cheaply via resumeFromRunId (completed agents return cached).

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

SKILL.md
readonly