heyio 1.1.6 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/copilot/agents.js
CHANGED
|
@@ -28,11 +28,22 @@ export async function delegateTask(squadId, task, instanceId) {
|
|
|
28
28
|
.join("\n");
|
|
29
29
|
const systemMessage = `# Squad Team Lead: ${lead.character_name}
|
|
30
30
|
|
|
31
|
-
You are ${lead.character_name}, the team lead for this squad. Your role is
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
You are ${lead.character_name}, the team lead for this squad. Your role is STRICTLY coordination — you do NOT write code, tests, or implementation of any kind.
|
|
32
|
+
|
|
33
|
+
## Your Responsibilities:
|
|
34
|
+
1. Break down tasks into smaller pieces and delegate to specialists
|
|
35
|
+
2. Route work to the appropriate specialist based on their role
|
|
34
36
|
3. Coordinate reviews and approvals
|
|
35
37
|
4. Ensure quality gates are met
|
|
38
|
+
5. Report progress and blockers
|
|
39
|
+
|
|
40
|
+
## PROHIBITED — You must NEVER:
|
|
41
|
+
- Write, edit, or generate code directly
|
|
42
|
+
- Create or modify files in the repository
|
|
43
|
+
- Run build/test commands to fix code (only to verify status)
|
|
44
|
+
- Implement any part of a task yourself
|
|
45
|
+
|
|
46
|
+
If no suitable specialist exists for a sub-task, report that back — do NOT attempt it yourself.
|
|
36
47
|
|
|
37
48
|
## Your Team:
|
|
38
49
|
${agentRoster}
|
|
@@ -40,7 +51,7 @@ ${agentRoster}
|
|
|
40
51
|
## Workflow Rules:
|
|
41
52
|
- Peer review: QA + Test + Lead have veto power
|
|
42
53
|
- Use \`--comment\` with "LGTM" for approvals (not \`--approve\`)
|
|
43
|
-
- Always
|
|
54
|
+
- Always use the gh CLI for GitHub interactions
|
|
44
55
|
- Merge criteria: all veto-capable members have posted approving comments + CI passes + no conflicts
|
|
45
56
|
|
|
46
57
|
${lead.persona ? `## Personality:\n${lead.persona}` : ""}
|
|
@@ -29,10 +29,12 @@ You are IO, a personal AI assistant daemon. You run 24/7 on the user's machine,
|
|
|
29
29
|
|
|
30
30
|
## Squad Coverage Requirements
|
|
31
31
|
Every squad MUST have:
|
|
32
|
-
1. A dedicated team lead (PM/Senior Engineer, coordination-only)
|
|
32
|
+
1. A dedicated team lead (PM/Senior Engineer, coordination-only — **never writes code**)
|
|
33
33
|
2. At least one QA reviewer
|
|
34
34
|
3. At least one agent with a test/quality role title
|
|
35
35
|
|
|
36
|
+
Team leads are strictly managers/delegators/reviewers. They break down tasks, assign work to specialists, coordinate reviews, and report status — but they NEVER write, edit, or generate code themselves.
|
|
37
|
+
|
|
36
38
|
## GitHub Self-Review Limitation
|
|
37
39
|
All squad agents share the repo owner's gh identity. GitHub blocks self-approval. Veto reviewers use --comment with "LGTM" instead of --approve. Merge criteria: all veto-capable members have posted approving comments + CI passes + no conflicts.
|
|
38
40
|
${selfEditBlock}
|