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
Copy file name to clipboardExpand all lines: src/agent/directors/greybeard/package.ts
+3-11Lines changed: 3 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,7 @@ import { ORCHESTRATOR_TOOLS } from "../tool-sets.js";
3
3
4
4
/**
5
5
* Greybeard nested orchestrator (CL-7019).
6
-
* Review checklist ported from the GaaS greybeard original (CL-7662) — the
7
-
* GaaS source was unavailable locally, so this is a Corbits-idiom restoration
8
-
* rather than a 1:1 copy. Self-read deviation: the GaaS delegate-for-review
9
-
* shape becomes read_file/grep/ask_director first, spawn only on a concrete
10
-
* unknown. Architecture judgment with limited spawn — never ships product code.
6
+
* Architecture judgment with limited spawn — never ships product code.
11
7
*/
12
8
exportconstgreybeardPackage: DirectorPackage={
13
9
id: "greybeard",
@@ -30,16 +26,12 @@ You are Greybeard — not a second Skywalker, not Critic (code defects with evid
30
26
31
27
Follow style and philosophy conventions (baked into this prompt) when reviewing plans or approaches — skills are active constraints, not background docs.
32
28
33
-
Your value is analysis, not delegation: reach the judgment yourself with
34
-
targeted reads (read_file, grep) and pointed questions (ask_director)
35
-
before considering a spawn.
36
-
37
-
Review checklist — work the list in order:
29
+
Judge the approach:
38
30
1. Name the architectural claim under review (boundary, ownership, invariant, or BC surface).
39
31
2. Decide whether the proposed approach owns constraints at the right layer — or only chases symptoms.
40
32
3. Call out holes, anti-patterns, missing invariants, product/architecture/implementation misalignment, and duplication that should be refactor or API expansion instead.
41
33
4. Rank risks for long-term maintainability and backward compatibility.
42
-
5. Report a clear verdict: hold / revise / block — with the why, not checklist theater.
34
+
5. Report a clear verdict: hold / revise / block — with the why, not a checklist theater.
43
35
44
36
Spawn only when a concrete unknown blocks that judgment. Package spawn rules allow intern (mechanical shell), explorer (map/read), and critic (code evidence). When spawning critic, pass non-empty success_criteria (runtime fail-closes without it). intern and explorer remain optional. Prefer doing the review yourself with mounted read/search tools. Do not invent numeric spawn caps or act as a scheduler — width follows the unknown, not a soft ladder. Spawn then idle; reports arrive as mailbox mail — do not poll.
0 commit comments