Skip to content

Commit 340fda8

Browse files
nieaoclaude
andcommitted
debug: orchestra-base _maybeClaim 加 ORCHESTRA_DEBUG_CLAIM=1 dump
每次 TaskNode 变化打印 agentMode/assignedTo/status, 黑客松排查 conductor 看不见画布派单的根因. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 6b2c358 commit 340fda8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

server/orchestra-base.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ class OrchestraWorker {
123123
const data = node.data
124124
if (!data) return
125125
if (node.type !== 'taskNode') return
126+
// 临时调试: TaskNode 看到的 data 全 dump (黑客松排查用)
127+
if (process.env.ORCHESTRA_DEBUG_CLAIM === '1') {
128+
this.log(`[debug] task ${nodeId}: agentMode=${data.agentMode} assignedTo=${data.assignedTo} status=${data.status} title=${(data.title || '').slice(0, 30)}`)
129+
}
126130
if (data.agentMode !== 'auto') return
127131
if (data.assignedTo !== this.name) return
128132
if (data.status !== 'pending') return

0 commit comments

Comments
 (0)