You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 55a893b
Browse filesBrowse the repository at this point in the historyBrowse files
"Optional skills (names for awareness; load with skill_search then use_skill): does-not-exist-xyz.",
69
+
"Optional skills (names for awareness; load brief-named skills straight through use_skill, skill_search for discovery when mounted): does-not-exist-xyz.",
Copy file name to clipboardExpand all lines: src/agent/directors/identity.ts
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -33,14 +33,17 @@ export function formatDirectorSystemPrompt(pkg: DirectorPackage): string {
33
33
}elseif(isPrimaryOrchestrator){
34
34
skillsLine=`Optional skills (names for awareness; use_skill is primary-mounted): ${names.join(", ")}.`;
35
35
}else{
36
-
skillsLine=`Optional skills (names for awareness; load with skill_search then use_skill): ${names.join(", ")}.`;
36
+
skillsLine=`Optional skills (names for awareness; load brief-named skills straight through use_skill, skill_search for discovery when mounted): ${names.join(", ")}.`;
37
37
}
38
38
39
39
// Worker skill scoping (CL-7668): skills mount on every worker, so search
40
40
// only when the brief or the lane calls for it — never bulk-load.
41
+
// Deny-safe: grok/kimi leaves omit skill_search (family policy) and load
42
+
// brief-named skills straight through use_skill, so the guidance never
43
+
// mandates a skill_search call — it is discovery-only, when mounted.
? `${WORKER_SKILL_SCOPING}Call skill_search for descriptions, then use_skill with the skill name; load only the skills the task needs.`
46
+
? `${WORKER_SKILL_SCOPING}Load a brief-named skill straight through use_skill with its exact name; call skill_search for descriptions only when choosing among skills and it is mounted, then use_skill; load only the skills the task needs.`
Copy file name to clipboardExpand all lines: src/agent/directors/intern/package.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ Do not invent fixes. If blocked, ask_director (parent, not the human). After the
83
83
- Read error messages and report them
84
84
- Execute mechanical, deterministic operations with zero ambiguity
85
85
- Perform exact path writes when the brief spells them out
86
-
- Load exactly the brief-named skill (if any) with \`skill_search\` then \`use_skill\` and follow it literally — never wander beyond it
86
+
- Load exactly the brief-named skill (if any) with \`use_skill\` directly using its exact brief-given name — never a \`skill_search\` round-trip for a known name (\`skill_search\` is only for choosing among skills, and some workers do not mount it) — and follow it literally — never wander beyond it
0 commit comments