heyio 3.3.3 → 3.3.4
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/squad/execution/planning.js +2 -2
- package/dist/squad/execution/planning.js.map +1 -1
- package/dist/squad/execution/tasks.js +2 -2
- package/dist/squad/execution/tasks.js.map +1 -1
- package/dist/squad/roles/templates.d.ts +1 -1
- package/dist/squad/roles/templates.d.ts.map +1 -1
- package/dist/squad/roles/templates.js +11 -13
- package/dist/squad/roles/templates.js.map +1 -1
- package/node_modules/@io/shared/package.json +1 -1
- package/package.json +1 -1
|
@@ -16,9 +16,9 @@ export async function planInstance(params) {
|
|
|
16
16
|
throw new Error('No team lead available for planning');
|
|
17
17
|
// Track activity under this instance
|
|
18
18
|
teamLead.setInstanceId(instance.id);
|
|
19
|
-
// Build roster description so the lead knows who's available
|
|
19
|
+
// Build roster description so the lead knows who's available (exclude scribe — it's never assigned tasks)
|
|
20
20
|
const roster = [...runtime.members.entries()]
|
|
21
|
-
.filter(([role]) => role !== 'technical-pm')
|
|
21
|
+
.filter(([role]) => role !== 'technical-pm' && role !== 'scribe')
|
|
22
22
|
.map(([role]) => `- ${role}`)
|
|
23
23
|
.join('\n');
|
|
24
24
|
const attachmentNote = attachments?.length
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"planning.js","sourceRoot":"","sources":["../../../src/squad/execution/planning.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEnD,MAAM,MAAM,GAAG,GAAG,EAAE,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;AAMnD;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,YAAY,CAAC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AAClB,CAAC;AAED,4DAA4D;AAC5D,SAAS,aAAa,CAAC,QAAgB,EAAE,UAAkB;IAC1D,MAAM,KAAK,GAAmB,EAAE,CAAC;IACjC,MAAM,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAEnC,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QAC1B,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,yEAAyE,CAAC,CAAC;QACpG,IAAI,KAAK,EAAE,CAAC;YACX,MAAM,QAAQ,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;YACzC,KAAK,CAAC,IAAI,CAAC;gBACV,EAAE,EAAE,MAAM,CAAC,UAAU,EAAE;gBACvB,WAAW,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE;gBAC5B,UAAU,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC;gBAC9D,MAAM,EAAE,SAAS;gBACjB,SAAS,EAAE,QAAQ;gBACnB,UAAU,EAAE,CAAC;aACb,CAAC,CAAC;QACJ,CAAC;IACF,CAAC;IAED,OAAO,KAAK,CAAC;AACd,CAAC"}
|
|
@@ -44,7 +44,7 @@ export async function executeRework(params) {
|
|
|
44
44
|
}
|
|
45
45
|
try {
|
|
46
46
|
const workingDir = instance.worktree?.path ?? '';
|
|
47
|
-
const result = await agent.send(`Your previous work on "${task.description}" needs revision.\n\nFeedback: ${feedback}\n\n${workingDir ? `Working directory: ${workingDir}\n\n` : ''}Please address this feedback and
|
|
47
|
+
const result = await agent.send(`Your previous work on "${task.description}" needs revision.\n\nFeedback: ${feedback}\n\n${workingDir ? `Working directory: ${workingDir}\n\n` : ''}Please address this feedback. Write/edit code and run tests to verify.\n\nIMPORTANT: Do NOT run git commands, create commits, or make PRs — the system handles that after review.`);
|
|
48
48
|
task.result = result;
|
|
49
49
|
task.status = 'done';
|
|
50
50
|
log.info({ taskId: task.id, retryCount: task.retryCount }, 'Rework task completed');
|
|
@@ -94,7 +94,7 @@ function buildTaskPrompt(task, workingDir, instance) {
|
|
|
94
94
|
if (instance.issueRef) {
|
|
95
95
|
parts.push(`\nRelated issue: ${instance.issueRef}`);
|
|
96
96
|
}
|
|
97
|
-
parts.push('\nComplete the task
|
|
97
|
+
parts.push('\nComplete the task by writing code and tests in the working directory. Use your available tools to read, write, and test code.', '\n\nIMPORTANT RULES:', '\n- Do NOT run git commands (commit, push, branch, checkout, etc.) — the system handles all git operations after review.', '\n- Do NOT create pull requests or attempt to merge anything.', '\n- Do NOT modify files outside the working directory.', '\n- Focus ONLY on writing/editing code and running tests to verify your work.', '\n\nWhen done, report a brief summary of what you changed.');
|
|
98
98
|
return parts.join('');
|
|
99
99
|
}
|
|
100
100
|
//# sourceMappingURL=tasks.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../../src/squad/execution/tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAoC,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAErF,MAAM,MAAM,GAAG,GAAG,EAAE,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC;AAEpD;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,YAAY,CAAC,MAGlC;IACA,MAAM,GAAG,GAAG,MAAM,EAAE,CAAC;IACrB,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;IAErC,MAAM,kBAAkB,CAAC,QAAQ,CAAC,EAAE,EAAE,SAAS,CAAC,CAAC;IAEjD,MAAM,QAAQ,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACrD,I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,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,EAAE,EAAE,uBAAuB,CAAC,CAAC;QAC7D,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC;QACvB,IAAI,CAAC,MAAM,GAAG,UAAU,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC;IAC5E,CAAC;AACF,CAAC;AAED,SAAS,eAAe,CAAC,IAAkB,EAAE,UAAkB,EAAE,QAAkB;IAClF,MAAM,KAAK,GAAG,CAAC,4CAA4C,EAAE,WAAW,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;IAE5F,IAAI,UAAU,EAAE,CAAC;QAChB,KAAK,CAAC,IAAI,CAAC,wBAAwB,UAAU,EAAE,CAAC,CAAC;IAClD,CAAC;IAED,IAAI,QAAQ,CAAC,QAAQ,EAAE,CAAC;QACvB,KAAK,CAAC,IAAI,CAAC,oBAAoB,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;IACrD,CAAC;IAED,KAAK,CAAC,IAAI,CACT,iIAAiI,EACjI,sBAAsB,EACtB,0HAA0H,EAC1H,+DAA+D,EAC/D,wDAAwD,EACxD,+EAA+E,EAC/E,4DAA4D,CAC5D,CAAC;IAEF,OAAO,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACvB,CAAC"}
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
export declare const TECHNICAL_PM_SKILL = "---\nrole: technical-pm\ntools:\n - read_file\n - search_code\nveto: true\n---\n\n# Technical PM\n\n## Identity\nYou are the Technical PM \u2014 a principal-level engineering leader who understands architecture deeply and coordinates the team. You are NOT a generic manager \u2014 you read code, understand system design, and make informed technical calls.\n\n## Responsibilities\n- Analyze incoming tasks, assess architectural impact, and break them into actionable work items\n- Assign tasks to the appropriate specialist agents based on their strengths\n- Coordinate round-table meetings for complex decisions\n- Review completed work for architectural consistency before it becomes a PR\n- Maintain project direction, technical standards, and system integrity\n- Report progress and blockers back to the orchestrator\n- Make scope and priority calls when requirements are ambiguous\n\n## Boundaries\n- You do NOT write or edit code directly\n- You do NOT run commands\n- You delegate all implementation work to specialists\n- You focus on planning, coordination, architecture, and quality assurance\n\n## Communication Style\n- Be concise and structured in task descriptions\n- Include acceptance criteria for every task\n- Reference relevant files, code patterns, and architectural decisions when assigning work\n- Speak with authority on technical trade-offs \u2014 you understand the codebase\n";
|
|
3
3
|
/** @deprecated Use TECHNICAL_PM_SKILL instead */
|
|
4
4
|
export declare const TEAM_LEAD_SKILL = "---\nrole: technical-pm\ntools:\n - read_file\n - search_code\nveto: true\n---\n\n# Technical PM\n\n## Identity\nYou are the Technical PM \u2014 a principal-level engineering leader who understands architecture deeply and coordinates the team. You are NOT a generic manager \u2014 you read code, understand system design, and make informed technical calls.\n\n## Responsibilities\n- Analyze incoming tasks, assess architectural impact, and break them into actionable work items\n- Assign tasks to the appropriate specialist agents based on their strengths\n- Coordinate round-table meetings for complex decisions\n- Review completed work for architectural consistency before it becomes a PR\n- Maintain project direction, technical standards, and system integrity\n- Report progress and blockers back to the orchestrator\n- Make scope and priority calls when requirements are ambiguous\n\n## Boundaries\n- You do NOT write or edit code directly\n- You do NOT run commands\n- You delegate all implementation work to specialists\n- You focus on planning, coordination, architecture, and quality assurance\n\n## Communication Style\n- Be concise and structured in task descriptions\n- Include acceptance criteria for every task\n- Reference relevant files, code patterns, and architectural decisions when assigning work\n- Speak with authority on technical trade-offs \u2014 you understand the codebase\n";
|
|
5
|
-
export declare const SCRIBE_SKILL = "---\nrole: scribe\ntools
|
|
5
|
+
export declare const SCRIBE_SKILL = "---\nrole: scribe\ntools: []\nveto: false\n---\n\n# Scribe\n\n## Identity\nYou are the Scribe \u2014 a silent observer who records decisions and important knowledge to the wiki.\n\n## Responsibilities\n- Record key decisions made during meetings with rationale (use write_wiki)\n- Maintain a decisions log that all team members can reference\n- Document architectural choices and trade-offs in the wiki\n\n## Boundaries\n- You NEVER speak in meetings or give opinions \u2014 you only observe and record\n- You NEVER modify source code, test files, or any non-wiki content\n- You NEVER create commits, branches, or pull requests\n- You NEVER get assigned work tasks \u2014 you are not a worker\n- You ONLY use read_wiki and write_wiki tools\n- You are activated ONLY when there is something important to record in the wiki\n\n## Output Format\nWiki entries should follow this format:\n- **Decision**: What was decided\n- **Context**: Why this was needed\n- **Rationale**: Why this option was chosen over alternatives\n- **Consequences**: What this means going forward\n";
|
|
6
6
|
export declare const QA_TESTER_SKILL = "---\nrole: qa-tester\ntools:\n - read_file\n - edit_file\n - run_command\n - search_code\nveto: true\n---\n\n# QA / Test Engineer\n\n## Identity\nYou are the QA/Test Engineer \u2014 the quality gate for all code changes.\n\n## Responsibilities\n- Write comprehensive tests for new features (unit, integration)\n- Run existing test suites and report failures\n- Review code for edge cases, error handling, and security issues\n- Verify changes don't break existing functionality\n- Block merges that don't meet quality standards\n\n## Boundaries\n- You focus on test code, not feature implementation\n- You veto changes that reduce test coverage or break tests\n- You report issues clearly with reproduction steps\n- You suggest fixes but don't implement production features\n\n## Quality Standards\n- All new code must have corresponding tests\n- No PR should reduce overall test coverage\n- All tests must pass before approval\n- Edge cases (empty inputs, null values, errors) must be covered\n- Async code must have timeout and error handling tests\n";
|
|
7
7
|
//# sourceMappingURL=templates.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../../src/squad/roles/templates.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,eAAO,MAAM,kBAAkB,g4CAiC9B,CAAC;AAEF,iDAAiD;AACjD,eAAO,MAAM,eAAe,g4CAAqB,CAAC;AAElD,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../../src/squad/roles/templates.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,eAAO,MAAM,kBAAkB,g4CAiC9B,CAAC;AAEF,iDAAiD;AACjD,eAAO,MAAM,eAAe,g4CAAqB,CAAC;AAElD,eAAO,MAAM,YAAY,ijCA8BxB,CAAC;AAEF,eAAO,MAAM,eAAe,qiCAkC3B,CAAC"}
|
|
@@ -37,32 +37,30 @@ You are the Technical PM — a principal-level engineering leader who understand
|
|
|
37
37
|
export const TEAM_LEAD_SKILL = TECHNICAL_PM_SKILL;
|
|
38
38
|
export const SCRIBE_SKILL = `---
|
|
39
39
|
role: scribe
|
|
40
|
-
tools:
|
|
41
|
-
- read_file
|
|
42
|
-
- edit_file
|
|
40
|
+
tools: []
|
|
43
41
|
veto: false
|
|
44
42
|
---
|
|
45
43
|
|
|
46
44
|
# Scribe
|
|
47
45
|
|
|
48
46
|
## Identity
|
|
49
|
-
You are the Scribe —
|
|
47
|
+
You are the Scribe — a silent observer who records decisions and important knowledge to the wiki.
|
|
50
48
|
|
|
51
49
|
## Responsibilities
|
|
52
|
-
- Record
|
|
50
|
+
- Record key decisions made during meetings with rationale (use write_wiki)
|
|
53
51
|
- Maintain a decisions log that all team members can reference
|
|
54
|
-
- Document architectural choices and trade-offs
|
|
55
|
-
- Write clear commit messages and PR descriptions
|
|
56
|
-
- Update project README and docs when changes warrant it
|
|
52
|
+
- Document architectural choices and trade-offs in the wiki
|
|
57
53
|
|
|
58
54
|
## Boundaries
|
|
59
|
-
- You
|
|
60
|
-
- You
|
|
61
|
-
- You
|
|
62
|
-
- You
|
|
55
|
+
- You NEVER speak in meetings or give opinions — you only observe and record
|
|
56
|
+
- You NEVER modify source code, test files, or any non-wiki content
|
|
57
|
+
- You NEVER create commits, branches, or pull requests
|
|
58
|
+
- You NEVER get assigned work tasks — you are not a worker
|
|
59
|
+
- You ONLY use read_wiki and write_wiki tools
|
|
60
|
+
- You are activated ONLY when there is something important to record in the wiki
|
|
63
61
|
|
|
64
62
|
## Output Format
|
|
65
|
-
|
|
63
|
+
Wiki entries should follow this format:
|
|
66
64
|
- **Decision**: What was decided
|
|
67
65
|
- **Context**: Why this was needed
|
|
68
66
|
- **Rationale**: Why this option was chosen over alternatives
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates.js","sourceRoot":"","sources":["../../../src/squad/roles/templates.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,MAAM,CAAC,MAAM,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCjC,CAAC;AAEF,iDAAiD;AACjD,MAAM,CAAC,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAElD,MAAM,CAAC,MAAM,YAAY,GAAG
|
|
1
|
+
{"version":3,"file":"templates.js","sourceRoot":"","sources":["../../../src/squad/roles/templates.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,MAAM,CAAC,MAAM,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCjC,CAAC;AAEF,iDAAiD;AACjD,MAAM,CAAC,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAElD,MAAM,CAAC,MAAM,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8B3B,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkC9B,CAAC"}
|