fix: cmd_flow org同步 + cmd_done outputMeta + README结构修正#162
Open
doumitry-g wants to merge 3 commits intocft0808:mainfrom
Open
fix: cmd_flow org同步 + cmd_done outputMeta + README结构修正#162doumitry-g wants to merge 3 commits intocft0808:mainfrom
doumitry-g wants to merge 3 commits intocft0808:mainfrom
Conversation
1. kanban_update.py cmd_flow: 流转记录同步更新 org 字段 - 修复流转后看板仍显示旧部门的 bug - flow_log 条目增加 agent/agentLabel 归属信息 2. kanban_update.py cmd_done: 同步设置 outputMeta - 不再依赖 refresh_live_data.py 异步补充 - 完成后立即可查询成果文件元数据 3. README: 修正项目结构文档 - 移除误导性的 edict/ 前缀(agents/dashboard/scripts 等在仓库根目录) - 补充 edict/ 子目录说明(Docker 后端服务) - 补充 install.ps1、tests 目录内容 - README_EN.md 同步更新
1. kanban_update.py: STATE_ORG_MAP 补 'Next' → '尚书省' - 修复任务流转到 Next 状态后 org 字段为空的问题 - 这是 issue cft0808#149(任务卡在中书省)的根因之一 2. refresh_live_data.py: 心跳检测阈值 3min→5min, 10min→15min - 3 分钟过于敏感,网络波动易触发误报 - 新阈值:活跃<5min / 可疑 5-15min / 已停滞>15min 3. tests/test_kanban.py: 补充 3 个单元测试 - test_flow_org_update: 验证 cmd_flow 同步更新 org - test_done_output_meta: 验证 cmd_done 同步设置 outputMeta - test_state_org_update: 验证 cmd_state 对 Next→Menxia 等状态正确更新 org
- fix: run_loop.sh 增加进程守护和单实例保护 - test: 补充单元测试覆盖 Auto-generated by edict-daily-review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 每日深度巡检修复(合并提交)
日期: 2026-03-19
Commit:
8b0054a(包含 2 次提交)本次修复(共 5 项)
1.
cmd_flow同步更新 org 字段(#149 根因修复)流转记录时同步更新
org=to_dept,并为 flow_log 条目增加agent/agentLabel归属信息。解决看板流转后仍显示旧部门的问题。2.
cmd_done同步设置 outputMeta完成任务时立即写入
outputMeta,不再依赖refresh_live_data.py异步补充。3.
STATE_ORG_MAP补全 'Next' 状态映射添加
'Next': '尚书省',修复任务流转到 Next 状态后org字段为空的问题(Issue #149 根因之一)。4. 心跳检测阈值调整
5. 补充 3 个单元测试
test_flow_org_update: 验证 cmd_flow 同步更新 orgtest_done_output_meta: 验证 cmd_done 同步设置 outputMetatest_state_org_update: 验证 cmd_state 对 Next→Menxia 等状态正确更新 org11 个测试全部通过 ✅
README 修正
edict/agents/→agents/等)edict/子目录说明(Docker 后端服务)install.ps1、测试目录内容Auto-generated by edict-daily-review · GitHub PR Submitter Skill