weichen
b5a782bb38
feat(chat): dialogue triggers for comments/reopen/pending-supplements with mistouch guards
...
Wire intent→coordinator DocResolver confirm cards→action_executor kinds for comment, reopen, pending-supplements query, and real submit-review execution.
2026-09-25 20:14:10 +00:00
weichen
2e56ba9719
feat(docgov): complete review lifecycle gaps for lock/notify/comment/reopen
...
Defer locked-period supplements to a pending ledger, route duty-holder
notifications, persist stage-scoped comments, and prefer Approver for reopen.
2026-09-25 20:08:56 +00:00
weichen
4e0e6a1418
feat(notification): digest aggregates, supplement-impact batch, and free-collab hooks
...
Add notification digests with ON CONFLICT DO UPDATE, migrations 00068-00070,
supplementimpact module (analyze → confirm → claim-aware split), and wire
coordinator/mutate hooks plus proposal_required digests.
2026-09-24 11:44:20 +00:00
weichen
70882918e5
test(pg): isolate PG integration tests from shared dev database
...
修复 go test -short 在设置 TEST_DATABASE_URL 时的既有欠债:
- storage/notification/docgov:移除硬编码 agent_system_dev 回退 DSN,改为
无 TEST_DATABASE_URL 即 skip;固定项目名改为 name||code 唯一化。
- docgov engine_db:改为隔离库 + 自建项目行,替换随机 projectID 撞外键的旧写法。
- server/*_pg、projectinstance/pg_integration:迁移到官方 main 工作流
(BuildDefaultPlan official-only 治理后的正确前提),补齐在任成员
(DUTY_ASSIGNEE_NOT_ACTIVE_MEMBER)、任务键 bd_intake、阶段键 V0.1_triage、
项目作用域 run record(events.ValidateEnvelope 拒绝 project<=0)、
task_run_resume 去除内嵌 dev 凭证的 config 硬编码。
- 新增 seedProjectForRun 测试辅助。
验证:fresh 隔离库(55432)上 go test -short -p 1 ./... 除 archtest
(另行注册表分支修复)外全部通过;包内并行迁移竞争需 -p 1。
2026-09-22 01:10:17 +00:00
weichen and Cursor
965e288d36
feat(events): apply approved events onto workflow advance in one fenced transaction
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-15 09:43:09 +00:00
weichen and Cursor
16a31f8aa5
feat(events): run notify side effects and ack on one fenced transaction
...
Shadow dry-runs the same handler then rolls back, writing only the intended digest.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-15 09:26:36 +00:00
weichen and Cursor
7a7162dcee
feat(api): wire document revision HTTP and agent/freeform hooks
...
Expose revision-state/versions/diff/PATCH content/candidate decision
APIs; emit document notification outbox events; bootstrap ledger from
bizdev success and freeform updates.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 06:15:20 +00:00
weichen and Cursor
b6035991d4
feat(notification): add 24h stage advance reminder and confirm on advance.
...
Poll pending requests every 15 minutes, emit deduplicated escalation notifications, and close requests when creator confirms stage advance.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:23 +00:00
weichen and Cursor
10fa91de61
feat(notification): emit deduplicated stage ready to advance events.
...
Write outbox row and creator notification when a stage first becomes advance-ready.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:23 +00:00