@fredericboyer/dev-team 0.8.0 → 0.9.0
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/init.d.ts +8 -1
- package/dist/init.js +50 -4
- package/dist/init.js.map +1 -1
- package/dist/update.d.ts +6 -0
- package/dist/update.js +87 -0
- package/dist/update.js.map +1 -1
- package/package.json +1 -1
- package/templates/CLAUDE.md +12 -8
- package/templates/agent-memory/dev-team-beck/MEMORY.md +12 -7
- package/templates/agent-memory/dev-team-borges/MEMORY.md +12 -7
- package/templates/agent-memory/dev-team-brooks/MEMORY.md +12 -7
- package/templates/agent-memory/dev-team-conway/MEMORY.md +12 -7
- package/templates/agent-memory/dev-team-deming/MEMORY.md +12 -7
- package/templates/agent-memory/dev-team-drucker/MEMORY.md +12 -7
- package/templates/agent-memory/dev-team-hamilton/MEMORY.md +12 -7
- package/templates/agent-memory/dev-team-knuth/MEMORY.md +12 -7
- package/templates/agent-memory/dev-team-mori/MEMORY.md +12 -7
- package/templates/agent-memory/dev-team-szabo/MEMORY.md +12 -7
- package/templates/agent-memory/dev-team-tufte/MEMORY.md +12 -7
- package/templates/agent-memory/dev-team-voss/MEMORY.md +12 -7
- package/templates/agents/dev-team-beck.md +1 -0
- package/templates/agents/dev-team-borges.md +38 -10
- package/templates/agents/dev-team-brooks.md +8 -0
- package/templates/agents/dev-team-conway.md +1 -0
- package/templates/agents/dev-team-deming.md +1 -0
- package/templates/agents/dev-team-drucker.md +43 -11
- package/templates/agents/dev-team-hamilton.md +1 -0
- package/templates/agents/dev-team-knuth.md +8 -0
- package/templates/agents/dev-team-mori.md +1 -0
- package/templates/agents/dev-team-szabo.md +8 -0
- package/templates/agents/dev-team-tufte.md +1 -0
- package/templates/agents/dev-team-voss.md +1 -0
- package/templates/hooks/dev-team-post-change-review.js +71 -0
- package/templates/skills/dev-team-audit/SKILL.md +1 -1
- package/templates/skills/dev-team-review/SKILL.md +25 -4
- package/templates/skills/dev-team-task/SKILL.md +20 -10
- /package/templates/{skills → workflow-skills}/dev-team-merge/SKILL.md +0 -0
- /package/templates/{skills → workflow-skills}/dev-team-security-status/SKILL.md +0 -0
|
@@ -38,11 +38,17 @@ Before the first iteration, the implementing agent should research current best
|
|
|
38
38
|
Track iterations in conversation context (no state files). For each iteration:
|
|
39
39
|
|
|
40
40
|
1. The implementing agent works on the task.
|
|
41
|
-
2.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
2. **Validate implementation output** before spawning reviewers:
|
|
42
|
+
- Non-empty diff: `git diff` shows actual changes
|
|
43
|
+
- Tests pass: test command executed with exit code 0
|
|
44
|
+
- Relevance: changed files relate to the stated issue
|
|
45
|
+
- Clean working tree: no uncommitted debris
|
|
46
|
+
- If validation fails, route back to implementer with specific failure reason. If it fails twice, escalate to human.
|
|
47
|
+
3. After validation passes, spawn review agents in parallel as background tasks.
|
|
48
|
+
4. Collect classified challenges from reviewers.
|
|
49
|
+
5. If any `[DEFECT]` challenges exist, address them in the next iteration.
|
|
50
|
+
6. If no `[DEFECT]` remains, output DONE to exit the loop.
|
|
51
|
+
7. If max iterations reached without convergence, report remaining defects and exit.
|
|
46
52
|
|
|
47
53
|
The convergence check happens in conversation context: count iterations, check for `[DEFECT]` findings, and decide whether to continue or exit.
|
|
48
54
|
|
|
@@ -77,16 +83,20 @@ Parallel mode is complete when:
|
|
|
77
83
|
|
|
78
84
|
## Security preamble
|
|
79
85
|
|
|
80
|
-
Before starting work, check for open security alerts: run `/dev-team:security-status` if available, or
|
|
86
|
+
Before starting work, check for open security alerts: run `/dev-team:security-status` if available, or use the project's security monitoring tools. Flag any critical findings before proceeding.
|
|
81
87
|
|
|
82
88
|
## Completion
|
|
83
89
|
|
|
84
90
|
When the loop exits:
|
|
85
|
-
1. **
|
|
91
|
+
1. **Deliver the work**: If changes are on a feature branch, create the PR (body must include `Closes #<issue>`). Ensure the PR is ready to merge: CI green, reviews passed, branch up to date. Then follow the project's merge workflow — use `/dev-team:merge` if the project has it configured, otherwise report readiness. If merge fails (CI failures, merge conflicts, branch protection), report the blocker to the human rather than leaving work unattended.
|
|
86
92
|
2. **Clean up worktree**: If the work was done in a worktree, clean it up after the branch is pushed and the PR is created. Do not wait for merge to clean the worktree.
|
|
87
|
-
3. You MUST spawn **@dev-team-borges** (Librarian) as the final step
|
|
93
|
+
3. You MUST spawn **@dev-team-borges** (Librarian) as the final step. Borges will:
|
|
94
|
+
- **Extract structured memory entries** from review findings and implementation decisions
|
|
95
|
+
- Write entries to each participating agent's MEMORY.md using the structured format
|
|
96
|
+
- Update shared learnings in `.dev-team/learnings.md`
|
|
97
|
+
- Check cross-agent coherence
|
|
98
|
+
- Report system improvement opportunities
|
|
88
99
|
4. If Borges was not spawned, the task is INCOMPLETE.
|
|
89
|
-
5. **
|
|
100
|
+
5. **Memory formation gate**: After Borges runs, verify that each participating agent's MEMORY.md contains at least one new structured entry from this task. Empty agent memory after a completed task is a system failure — Borges prevents this by automating extraction.
|
|
90
101
|
6. Summarize what was accomplished across all iterations.
|
|
91
102
|
7. Report any remaining `[RISK]` or `[SUGGESTION]` items, including Borges's recommendations.
|
|
92
|
-
8. Write key learnings to agent MEMORY.md files.
|
|
File without changes
|
|
File without changes
|