From 4462cbe29650dd4e863ccb1ddf50a9e2c6e7beb0 Mon Sep 17 00:00:00 2001 From: cfdaily Date: Fri, 29 May 2026 09:22:29 +0800 Subject: [PATCH] auto-sync: 2026-05-29 09:22:29 --- docs/design/01-four-phase-loop.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/design/01-four-phase-loop.md b/docs/design/01-four-phase-loop.md index a769588..2beb0d9 100644 --- a/docs/design/01-four-phase-loop.md +++ b/docs/design/01-four-phase-loop.md @@ -172,8 +172,10 @@ Agent 写 comment 时指定 mentions → Daemon tick 扫描新 comments → spaw CREATE TABLE IF NOT EXISTS mention_queue ( id INTEGER PRIMARY KEY AUTOINCREMENT, comment_id INTEGER NOT NULL, + task_id TEXT NOT NULL, mentioned_agent TEXT NOT NULL, status TEXT NOT NULL DEFAULT 'pending', -- pending / notified / failed + retry_count INTEGER NOT NULL DEFAULT 0, created_at TEXT NOT NULL DEFAULT (datetime('now')), notified_at TEXT, FOREIGN KEY (comment_id) REFERENCES comments(id)