fix(team): explain task ownership using returned agent names
This commit is contained in:
1 parent
ae1149b3ba
commit
11abb48b0f
6 files changed
+6
-6
No files matched your search
@@ -124,7 +124,7 @@ Every Team member's system prompt carries one `team:policy` section; the Lead an
|
||||
##### Team policy
|
||||
|
||||
```markdown
|
||||
Agent Teams is available in this session. Task owners are agent names from list_agents. The root can reassign tasks to itself or any continuable descendant; other agents claim ready tasks themselves.
|
||||
Agent Teams is available in this session. Use the names returned by subagent, subagent_fork, or list_agents as owner when assigning or filtering shared tasks. The root can reassign tasks to itself or any continuable descendant; other agents claim ready tasks themselves.
|
||||
|
||||
Split write work into disjoint scopes, record expected write scopes on shared tasks, and use task dependencies when work must be ordered. Write-scope overlap is advisory, not a lock.
|
||||
|
||||
|
||||
@@ -124,7 +124,7 @@ kind: "package-reference"
|
||||
##### Team 策略
|
||||
|
||||
```markdown
|
||||
Agent Teams is available in this session. Task owners are agent names from list_agents. The root can reassign tasks to itself or any continuable descendant; other agents claim ready tasks themselves.
|
||||
Agent Teams is available in this session. Use the names returned by subagent, subagent_fork, or list_agents as owner when assigning or filtering shared tasks. The root can reassign tasks to itself or any continuable descendant; other agents claim ready tasks themselves.
|
||||
|
||||
Split write work into disjoint scopes, record expected write scopes on shared tasks, and use task dependencies when work must be ordered. Write-scope overlap is advisory, not a lock.
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ export const Config: z<Config> = z.object({})
|
||||
const REMOVED_CONFIG_KEYS = ['interrupt', 'freshProvider', 'forkProvider'] as const
|
||||
|
||||
/** Model-facing collaboration guidance shared by Lead and teammates. */
|
||||
const TEAM_POLICY = `Agent Teams is available in this session. Task owners are agent names from list_agents. The root can reassign tasks to itself or any continuable descendant; other agents claim ready tasks themselves.
|
||||
const TEAM_POLICY = `Agent Teams is available in this session. Use the names returned by subagent, subagent_fork, or list_agents as owner when assigning or filtering shared tasks. The root can reassign tasks to itself or any continuable descendant; other agents claim ready tasks themselves.
|
||||
|
||||
Split write work into disjoint scopes, record expected write scopes on shared tasks, and use task dependencies when work must be ordered. Write-scope overlap is advisory, not a lock.
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ You are an AI agent powered by DeepSeek Harness.
|
||||
|
||||
You are a coding agent powered by the deepseek-v4-flash model.
|
||||
|
||||
Agent Teams is available in this session. Task owners are agent names from list_agents. The root can reassign tasks to itself or any continuable descendant; other agents claim ready tasks themselves.
|
||||
Agent Teams is available in this session. Use the names returned by subagent, subagent_fork, or list_agents as owner when assigning or filtering shared tasks. The root can reassign tasks to itself or any continuable descendant; other agents claim ready tasks themselves.
|
||||
|
||||
Split write work into disjoint scopes, record expected write scopes on shared tasks, and use task dependencies when work must be ordered. Write-scope overlap is advisory, not a lock.
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ You are a coding assistant powered by the deepseek-v4-flash model. Your bash too
|
||||
Verify your work by running the code or tests. Keep answers brief and factual.
|
||||
|
||||
|
||||
Agent Teams is available in this session. Task owners are agent names from list_agents. The root can reassign tasks to itself or any continuable descendant; other agents claim ready tasks themselves.
|
||||
Agent Teams is available in this session. Use the names returned by subagent, subagent_fork, or list_agents as owner when assigning or filtering shared tasks. The root can reassign tasks to itself or any continuable descendant; other agents claim ready tasks themselves.
|
||||
|
||||
Split write work into disjoint scopes, record expected write scopes on shared tasks, and use task dependencies when work must be ordered. Write-scope overlap is advisory, not a lock.
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ You are a coding assistant powered by the deepseek-v4-flash model. Your bash too
|
||||
Verify your work by running the code or tests. Keep answers brief and factual.
|
||||
|
||||
|
||||
Agent Teams is available in this session. Task owners are agent names from list_agents. The root can reassign tasks to itself or any continuable descendant; other agents claim ready tasks themselves.
|
||||
Agent Teams is available in this session. Use the names returned by subagent, subagent_fork, or list_agents as owner when assigning or filtering shared tasks. The root can reassign tasks to itself or any continuable descendant; other agents claim ready tasks themselves.
|
||||
|
||||
Split write work into disjoint scopes, record expected write scopes on shared tasks, and use task dependencies when work must be ordered. Write-scope overlap is advisory, not a lock.
|
||||
|
||||
|
||||
Reference in new issue
Block a user