refactor(linkedin-studio): wire or delete 11 orphan agents (case-by-case) — 9 here, 2 in Steps 14/16

Resolves the orphan-agent audit finding by the locked default: wire all, no deletions, so the agent count stays 19. Per agent, added Task to the target command's allowed-tools and a coherent 'subagent_type: linkedin-studio:<name>' delegation at a real point in the command's flow (not a token grep-match).

Wired (agents 1-9 of 11): video-scripter -> video.md (Step 4); content-optimizer -> post.md (Step 7 refinement) + ab-test.md (2a.4 optimized challenger); analytics-interpreter -> report.md (Step 7, report mode) + analyze.md (Step 2, interpret mode); content-planner -> batch.md (Step 2) + pipeline.md (Step 1); trend-spotter -> batch.md (Step 1) + pipeline.md (Step 1); network-builder -> outreach.md (Step 3a); strategy-advisor -> strategy.md (Step 3); voice-trainer -> setup.md (Step 3a); post-feedback-monitor -> calendar.md (publish action, 48h monitor).

Deferred to their dedicated steps: #10 differentiation-checker -> Step 14 (short-form de-AI gate), #11 engagement-coach -> Step 16 (first-hour command). Namespaced subagent_type form requires a session reload before the wired agents are invokable.

Verify: each of the 9 has >=1 invocation in commands/; structural lint 61/61 (counts 19/26/25/6 intact); agent-fixtures 35/35; hook tests 62/62. Three-doc + version reconciliation deferred to Step 21 per the locked plan [skip-docs].

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Kjell Tore Guttormsen 2026-05-30 01:26:36 +02:00
commit 9f65daa288
11 changed files with 28 additions and 5 deletions

View file

@ -15,6 +15,7 @@ allowed-tools:
- Grep
- WebFetch
- AskUserQuestion
- Task
---
# LinkedIn Growth Strategy
@ -150,7 +151,7 @@ Based on follower count, place user in the right phase:
## Step 3: Provide Phase-Specific Strategy
Based on their phase, provide detailed guidance.
Delegate the growth recommendation to the `strategy-advisor` agent — invoke it via `Task` with `subagent_type: linkedin-studio:strategy-advisor` (foreground, from this command layer), passing the detected phase and trajectory; it matches the user to the right roadmap phase and prioritizes high-impact actions. Use its output to provide detailed guidance.
### For Phase 0-1 (Under 3,000)