fix: 限定 Artificer 修改交付条件

This commit is contained in:
AgentRun Codex
2026-07-13 06:46:32 +02:00
parent 694242c46d
commit 4f9effc3a2
2 changed files with 4 additions and 1 deletions
@@ -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);