fix: 限定 Artificer 修改交付条件
This commit is contained in:
@@ -20,6 +20,9 @@ const selfTest: SelfTestCase = async (context) => {
|
||||
const effectivePrompt = String(((rendered.queueTask as JsonRecord).payload as JsonRecord).prompt);
|
||||
|
||||
assert.match(effectivePrompt, /当前已派发任务的 Artificer 执行者/u);
|
||||
assert.match(effectivePrompt, /必须按任务要求直接完成工作/u);
|
||||
assert.match(effectivePrompt, /仅在任务需要源码修改时,才在 primary workspace 完成修改、测试和 PR/u);
|
||||
assert.doesNotMatch(effectivePrompt, /必须直接在 primary workspace 完成被分配的调查、修改、测试和 PR/u);
|
||||
assert.match(effectivePrompt, /agentrun create/u);
|
||||
assert.match(effectivePrompt, /agentrun apply/u);
|
||||
assert.match(effectivePrompt, /agentrun dispatch/u);
|
||||
|
||||
Reference in New Issue
Block a user