You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- β **Agent Type Support**: Implement endpoints for async-copilot, async-codex, jules, and custom agents
317
319
- β **Endpoint Registration**: Extend `.mcp.json` configuration to register remote agent endpoints per type
318
320
- β **Model Parameter Passthrough**: Allow `--model` parameter to flow through to remote agent execution (e.g., `--model opus` on `/implement` passes to async agent)
319
321
- β **Agent Selection Logic**: Route tasks to appropriate agent based on `/tasks` metadata (ASYNC tag + agent type)
320
322
321
-
**Tier 1.3 - Repository Context Provision**
323
+
##### Tier 1.3 - Repository Context Provision
324
+
322
325
- β **Git Credential Handling**: Support SSH keys, personal tokens, git-credential-helper for remote auth
323
326
- β **Branch Context**: Pass feature branch reference so remote agents work with correct isolated specs
324
327
- β **Commit History**: Include recent commit history and related issue references in context metadata
325
328
- β **Authentication Testing**: Validate credentials before submitting tasks to prevent failures
**Purpose**: Unified framework for spawning, coordinating, and monitoring local sub-agents (Explore, Plan, general-purpose) and remote async agents with context-aware selection.
- β **Integration with Task Tool**: Embed selection guidance in Task tool schema (system prompt injection)
371
378
- β **Model Parameter Support**: Document model override capability for each agent type
372
379
373
-
**Tier 2.2 - Context Inheritance Rules**
380
+
##### Tier 2.2 - Context Inheritance Rules
381
+
374
382
- β **Context Inheritance Matrix**: Document which agents inherit vs start fresh
375
383
- Explore: Fresh slate (enables fast codebase search without prior context bloat)
376
384
- Plan/General-purpose: Full context inheritance (enables pair-wise attention relationships)
377
385
- β **Main Agent Reading Pattern**: Document guidance that main agent should read relevant files itself (not rely on agent summaries) for better reasoning (from Claude Code article)
378
386
- β **Team Directive Integration**: Store preferred context inheritance per organization in `team-ai-directives`
379
387
- β **Configuration Option**: Allow per-project override of inheritance rules
380
388
381
-
**Tier 2.3 - "When NOT to Spawn" Guidelines***(Reduces context bloat)*
382
-
- β **Anti-Pattern Documentation**:
389
+
##### Tier 2.3 - "When NOT to Spawn" Guidelines (Reduces context bloat)
390
+
391
+
- β **Anti-Pattern Documentation**:
383
392
- β Don't spawn Explore if file paths already known β use Read tool directly
384
393
- β Don't spawn if task < 3 steps β execute directly with tools
385
394
- β Don't spawn for simple CRUD β handle inline
- β **Context Window Limits**: Document effective context windows per model (Opus: ~120K effective of 200K, Sonnet: ~100K of 200K, Haiku: ~80K of 200K)
437
451
- β **Token Cost Calculator**: Implement utility to estimate tokens for spec.md + plan.md + tasks.md
438
452
- β **Recommendation Engine**: Show "context utilization: 58% - OK" or "context: 72% - consider compaction" during execution
439
453
- β **Model Downgrade Suggestions**: Auto-suggest Haiku when context > 70% for non-critical tasks
440
454
- β **Transparency in Prompts**: Log context size in delegation prompts (e.g., "using Sonnet to preserve 22K tokens")
441
455
442
-
**Tier 3.3 - Two-Model Review Strategy***(From Claude Code article)*
0 commit comments