fix(archied): post each reportable status a chat task reaches, recorded by status not by flag

This commit is contained in:
sam committed 2026-10-25 02:42:31 +11:00
1 parent 1a386dae7e
commit 4e2edc911f
13 files changed
+85 -51

No files matched your search

@@ -129,8 +129,8 @@ type OutcomePoster interface {
// UnpostedOutcomes returns finished chat tasks whose outcome has not been
// posted to the conversation that created them.
UnpostedOutcomes(ctx context.Context) ([]*task.Task, error)
// MarkOutcomePosted records that a task's outcome was posted.
MarkOutcomePosted(ctx context.Context, taskID int64) error
// MarkOutcomePosted records that the task's state at status was posted.
MarkOutcomePosted(ctx context.Context, taskID int64, status string) error
}
// TaskQueries groups read-only task accessors.