/** * daemon/todoist-owners.ts — which session took which task. * * A comment on a task is a correction to work already in flight: "actually, do * it this way", "that's wrong, try again". It has to reach the session holding * that work, and re-deriving the owner from the parent's project and labels is * not the same thing. The original may have been addressed in its title — "pai * send me a mail" — while the comment says only "make it next month". Re-derive * and the correction lands on whatever the project or the default says, which * is a different session than the one that did the work. * * So the owner is remembered at delivery and preferred at comment time. * * Bounded and on disk: bounded because this is a cache, not a ledger, and on * disk because the daemon restarts more often than a conversation ends. */ /** Record who took a task, so a later comment on it reaches the same session. */ export declare function rememberOwner(taskId: string, owner: string): void; /** Who took this task, if we still know. */ export declare function ownerOf(taskId: string): string | undefined; /** Test seam: forget everything. */ export declare function forgetAllOwners(): void; //# sourceMappingURL=todoist-owners.d.ts.map