Skip to content

Commit 6b2c358

Browse files
nieaoclaude
andcommitted
fix(aletheia): promoteOntologyToTask 直接 status=pending 让 conductor 接管
bug: conductor _maybeClaim 只看 status='pending', 但 promoteOntologyToTask 设了 'draft' → conductor 永远不接, ResultNode 永不涌现. 测试: .test-real-hermes.mjs 90s 没出 ResultNode, 派单后 TaskNode 卡 'draft' 状态. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 8d7457d commit 6b2c358

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/stores/useCanvasStore.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1763,10 +1763,12 @@ const useCanvasStore = create(
17631763
body: src.data?.description || '',
17641764
assignee: '',
17651765
priority: src.data?.variant === 'constraint' ? 4 : 3,
1766-
status: 'draft',
1766+
// status='pending' — conductor _maybeClaim 只接 pending+auto+hermes
1767+
// draft 是 UI 编辑中态, pending 才是 worker 可接的派单态
1768+
status: 'pending',
17671769
from_ontology_node: ontoNodeId,
17681770
created_at: ts,
1769-
// orchestra auto 流: conductor 在 demo-final 房间会自动接管
1771+
// orchestra auto 流: conductor 在 demo-final 房间自动接管
17701772
agentMode: 'auto',
17711773
assignedTo: 'hermes',
17721774
hermesAssignee: 'default',

0 commit comments

Comments
 (0)