Errors#

这些错误类型描述任务定义、输入、运行配置、guardrail、attempt fence 和 publish fence 的失败边界。

TaskDefinitionError

Raised when a task module violates the Perago task contract.

TaskInputError

Raised when Conductor task input does not match the Perago contract.

RuntimeConfigError

Raised when local runtime configuration is invalid.

GuardrailViolation

Raised when a workspace guardrail check fails.

PreGuardrailViolation

Raised when pre-task workspace checks fail.

PostGuardrailViolation

Raised when post-task workspace checks fail.

StaleAttemptError

Raised when a Conductor task snapshot no longer matches the attempt.

PublishFenceError

Raised when a workspace branch cannot be safely advanced.