AxAgentPlaybookConfigGenerated TypeScript API reference.typescriptapiapi/referencebuild/apidocs/TypeAlias.AxAgentPlaybookConfig.mdtypeAxAgentPlaybookConfig
Run-end failure learning — ON by default (the config block itself is the opt-in). After each completed run that produced failure signals (error turns, repeated dead-ends, tool errors), one bounded playbook update (default: 1 reflector + 1 curator call) curates avoidance rules into the failures_to_avoid section. Clean runs cost zero extra calls. Pass an object to tune gating, or false for a render-only playbook.
Persistence hook — fires after a run-end update actually ran (status !== 'skipped'). Failures in the hook are swallowed; playbook upkeep never breaks the completed user-facing run.