import { type WorkItemComment } from "../work-items/comments.js"; /** * A comment on a Todo reaches whoever is doing the work, while they are still * doing it. Without this the board is a letterbox nobody opens until the work is * already finished and the steering is worthless. * * A Todo has one target, never two. If a Workflow run ever ran a phase here the * newest phase session owns the conversation and only the operator may steer it, * because a run's acceptance criteria are not an employee's to move. Every other * Todo routes to the newest live session delegated to it, an ordinary * conversation where any author except the target itself may steer. * * Both branches claim through the delivery outbox, so a comment is forwarded at * most once no matter how often this is called — including across a gateway * restart, where the composite unique index is the only thing standing between a * recovery sweep and a replayed history. */ export declare const MAX_OPERATOR_COMMENTS_PER_WORKFLOW_RUN = 5; /** The delegation branch's twin of the per-run cap. A Todo thread that has * needed six mid-flight corrections needs a conversation, not a seventh. */ export declare const MAX_STEERING_COMMENTS_PER_TODO = 5; export declare function forwardWorkflowTodoComment(comment: WorkItemComment): void; //# sourceMappingURL=todo-comment-steering.d.ts.map