cc-workspace 5.2.1 → 5.2.2
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/CHANGELOG.md +16 -0
- package/bin/cli.js +21 -1
- package/global-skills/agents/e2e-validator.md +2 -2
- package/global-skills/agents/team-lead.md +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [5.2.2] — 2026-03-09
|
|
4
|
+
|
|
5
|
+
### Agent Teams enforcement
|
|
6
|
+
|
|
7
|
+
- **Removed `Task(implementer)` from agent tools** — team-lead and e2e-validator can no
|
|
8
|
+
longer spawn implementers as subagents. All implementer spawns now go through the
|
|
9
|
+
`Teammate` tool exclusively, enforcing the Agent Teams communication protocol
|
|
10
|
+
(SendMessage/wait loop, micro-QA between commits).
|
|
11
|
+
|
|
12
|
+
- **e2e-validator gains `Teammate, SendMessage`** — can now delegate `--fix` repairs
|
|
13
|
+
through the proper teammate protocol instead of Task subagents.
|
|
14
|
+
|
|
15
|
+
- **Auto-enable Agent Teams on install** — `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` is
|
|
16
|
+
now automatically injected into `~/.claude/settings.json` during `npx cc-workspace install`.
|
|
17
|
+
Users no longer need to set this environment variable manually.
|
|
18
|
+
|
|
3
19
|
## [5.2.1] — 2026-03-06
|
|
4
20
|
|
|
5
21
|
### Prompt quality improvements
|
package/bin/cli.js
CHANGED
|
@@ -195,10 +195,30 @@ function installGlobals(force) {
|
|
|
195
195
|
// ── Migration: clean old global skills & rules from previous versions ──
|
|
196
196
|
cleanLegacyGlobals();
|
|
197
197
|
|
|
198
|
+
// Ensure Agent Teams env var is in global settings
|
|
199
|
+
ensureGlobalEnv("CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS", "1");
|
|
200
|
+
|
|
198
201
|
writeVersion(PKG.version);
|
|
199
202
|
return true;
|
|
200
203
|
}
|
|
201
204
|
|
|
205
|
+
// ─── Ensure env var in global ~/.claude/settings.json ────────
|
|
206
|
+
function ensureGlobalEnv(key, value) {
|
|
207
|
+
const globalSettingsPath = path.join(CLAUDE_DIR, "settings.json");
|
|
208
|
+
let settings = {};
|
|
209
|
+
try { settings = JSON.parse(fs.readFileSync(globalSettingsPath, "utf8")); }
|
|
210
|
+
catch { /* file missing or invalid — start fresh */ }
|
|
211
|
+
|
|
212
|
+
if (!settings.env) settings.env = {};
|
|
213
|
+
if (settings.env[key] === value) return; // already set
|
|
214
|
+
|
|
215
|
+
settings.env[key] = value;
|
|
216
|
+
if (DRY_RUN) { dryOk(`set ${key}=${value} in ~/.claude/settings.json`); return; }
|
|
217
|
+
mkdirp(CLAUDE_DIR);
|
|
218
|
+
writeFile(globalSettingsPath, JSON.stringify(settings, null, 2) + "\n");
|
|
219
|
+
ok(`${key} ${c.dim}(~/.claude/settings.json)${c.reset}`);
|
|
220
|
+
}
|
|
221
|
+
|
|
202
222
|
// ─── Clean legacy global skills & rules ─────────────────────
|
|
203
223
|
// Previous versions installed skills and rules into ~/.claude/skills/
|
|
204
224
|
// and ~/.claude/rules/. These now live in orchestrator/.claude/ locally.
|
|
@@ -311,7 +331,7 @@ You are the tech lead. You never write application code in repos.
|
|
|
311
331
|
You clarify, plan, manage git directly, delegate to teammates, run micro-QA.
|
|
312
332
|
|
|
313
333
|
## Security
|
|
314
|
-
- \`tools\`: Read, Write, Edit, Bash, Glob, Grep, Task(
|
|
334
|
+
- \`tools\`: Read, Write, Edit, Bash, Glob, Grep, Task(Explore), Teammate, SendMessage
|
|
315
335
|
- Bash allowed for: git (branch, worktree, log), test/typecheck in /tmp/ worktrees (micro-QA)
|
|
316
336
|
- Hook \`PreToolUse\` path-aware: Write/Edit/MultiEdit only allowed in orchestrator/
|
|
317
337
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: e2e-validator
|
|
3
|
-
prompt_version: 5.2.
|
|
3
|
+
prompt_version: 5.2.2
|
|
4
4
|
description: >
|
|
5
5
|
E2E validation agent for completed plans. On first boot, sets up the E2E
|
|
6
6
|
environment (docker-compose, test config). On subsequent boots, validates
|
|
@@ -11,7 +11,7 @@ description: >
|
|
|
11
11
|
model: opus
|
|
12
12
|
tools: >
|
|
13
13
|
Read, Write, Edit, Bash, Glob, Grep,
|
|
14
|
-
Task(
|
|
14
|
+
Task(Explore), Teammate, SendMessage,
|
|
15
15
|
mcp__chrome-devtools__navigate_page,
|
|
16
16
|
mcp__chrome-devtools__click,
|
|
17
17
|
mcp__chrome-devtools__fill,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: team-lead
|
|
3
|
-
prompt_version: 5.2.
|
|
3
|
+
prompt_version: 5.2.2
|
|
4
4
|
description: >
|
|
5
5
|
Main orchestrator for multi-service workspaces. Clarifies specs,
|
|
6
6
|
plans in markdown, manages git (branches, worktrees) directly,
|
|
@@ -9,7 +9,7 @@ description: >
|
|
|
9
9
|
Never codes in repos — can write in orchestrator/ and run git commands.
|
|
10
10
|
Triggered via claude --agent team-lead.
|
|
11
11
|
model: opus
|
|
12
|
-
tools: Read, Write, Edit, Bash, Glob, Grep, Task(
|
|
12
|
+
tools: Read, Write, Edit, Bash, Glob, Grep, Task(Explore), Teammate, SendMessage
|
|
13
13
|
memory: project
|
|
14
14
|
maxTurns: 200
|
|
15
15
|
hooks:
|
package/package.json
CHANGED