refactor(agents): flatten agents directory (#621)
Some checks failed
CI / pr-title (push) Has been cancelled
CI / test (push) Has been cancelled
Release PR / release-pr (push) Has been cancelled
Release PR / publish-cli (push) Has been cancelled

This commit is contained in:
Trevin Chow
2026-04-21 02:35:21 -07:00
committed by GitHub
parent d359cc7e2f
commit 4c57508c1a
74 changed files with 355 additions and 165 deletions

View File

@@ -174,8 +174,8 @@ Prepare a concise planning context summary (a paragraph or two) to pass as input
Run these agents in parallel:
- Task research:ce-repo-research-analyst(Scope: technology, architecture, patterns. {planning context summary})
- Task research:ce-learnings-researcher(planning context summary)
- Task ce-repo-research-analyst(Scope: technology, architecture, patterns. {planning context summary})
- Task ce-learnings-researcher(planning context summary)
Collect:
- Technology stack and versions (used in section 1.2 to make sharper external research decisions)
- Architectural patterns and conventions to follow
@@ -185,7 +185,7 @@ Collect:
**Slack context** (opt-in) — never auto-dispatch. Route by condition:
- **Tools available + user asked**: Dispatch `research:ce-slack-researcher` with the planning context summary in parallel with other Phase 1.1 agents. If the origin document has a Slack context section, pass it verbatim so the researcher focuses on gaps. Include findings in consolidation.
- **Tools available + user asked**: Dispatch `ce-slack-researcher` with the planning context summary in parallel with other Phase 1.1 agents. If the origin document has a Slack context section, pass it verbatim so the researcher focuses on gaps. Include findings in consolidation.
- **Tools available + user didn't ask**: Note in output: "Slack tools detected. Ask me to search Slack for organizational context at any point, or include it in your next prompt."
- **No tools + user asked**: Note in output: "Slack context was requested but no Slack tools are available. Install and authenticate the Slack plugin to enable organizational context search."
@@ -243,8 +243,8 @@ Announce the decision briefly before continuing. Examples:
If Step 1.2 indicates external research is useful, run these agents in parallel:
- Task research:ce-best-practices-researcher(planning context summary)
- Task research:ce-framework-docs-researcher(planning context summary)
- Task ce-best-practices-researcher(planning context summary)
- Task ce-framework-docs-researcher(planning context summary)
#### 1.4 Consolidate Research
@@ -272,7 +272,7 @@ This ensures flow analysis (Phase 1.5) runs and the confidence check (Phase 5.3)
For **Standard** or **Deep** plans, or when user flow completeness is still unclear, run:
- Task workflow:ce-spec-flow-analyzer(planning context summary, research findings)
- Task ce-spec-flow-analyzer(planning context summary, research findings)
Use the output to:
- Identify missing edge cases, state transitions, or handoff gaps

View File

@@ -96,43 +96,43 @@ Use fully-qualified agent names inside Task calls.
**Deterministic Section-to-Agent Mapping:**
**Requirements Trace / Open Questions classification**
- `workflow:ce-spec-flow-analyzer` for missing user flows, edge cases, and handoff gaps
- `research:ce-repo-research-analyst` (Scope: `architecture, patterns`) for repo-grounded patterns, conventions, and implementation reality checks
- `ce-spec-flow-analyzer` for missing user flows, edge cases, and handoff gaps
- `ce-repo-research-analyst` (Scope: `architecture, patterns`) for repo-grounded patterns, conventions, and implementation reality checks
**Context & Research / Sources & References gaps**
- `research:ce-learnings-researcher` for institutional knowledge and past solved problems
- `research:ce-framework-docs-researcher` for official framework or library behavior
- `research:ce-best-practices-researcher` for current external patterns and industry guidance
- Add `research:ce-git-history-analyzer` only when historical rationale or prior art is materially missing
- `ce-learnings-researcher` for institutional knowledge and past solved problems
- `ce-framework-docs-researcher` for official framework or library behavior
- `ce-best-practices-researcher` for current external patterns and industry guidance
- Add `ce-git-history-analyzer` only when historical rationale or prior art is materially missing
**Key Technical Decisions**
- `review:ce-architecture-strategist` for design integrity, boundaries, and architectural tradeoffs
- Add `research:ce-framework-docs-researcher` or `research:ce-best-practices-researcher` when the decision needs external grounding beyond repo evidence
- `ce-architecture-strategist` for design integrity, boundaries, and architectural tradeoffs
- Add `ce-framework-docs-researcher` or `ce-best-practices-researcher` when the decision needs external grounding beyond repo evidence
**High-Level Technical Design**
- `review:ce-architecture-strategist` for validating that the technical design accurately represents the intended approach and identifying gaps
- `research:ce-repo-research-analyst` (Scope: `architecture, patterns`) for grounding the technical design in existing repo patterns and conventions
- Add `research:ce-best-practices-researcher` when the technical design involves a DSL, API surface, or pattern that benefits from external validation
- `ce-architecture-strategist` for validating that the technical design accurately represents the intended approach and identifying gaps
- `ce-repo-research-analyst` (Scope: `architecture, patterns`) for grounding the technical design in existing repo patterns and conventions
- Add `ce-best-practices-researcher` when the technical design involves a DSL, API surface, or pattern that benefits from external validation
**Implementation Units / Verification**
- `research:ce-repo-research-analyst` (Scope: `patterns`) for concrete file targets, patterns to follow, and repo-specific sequencing clues
- `review:ce-pattern-recognition-specialist` for consistency, duplication risks, and alignment with existing patterns
- Add `workflow:ce-spec-flow-analyzer` when sequencing depends on user flow or handoff completeness
- `ce-repo-research-analyst` (Scope: `patterns`) for concrete file targets, patterns to follow, and repo-specific sequencing clues
- `ce-pattern-recognition-specialist` for consistency, duplication risks, and alignment with existing patterns
- Add `ce-spec-flow-analyzer` when sequencing depends on user flow or handoff completeness
**System-Wide Impact**
- `review:ce-architecture-strategist` for cross-boundary effects, interface surfaces, and architectural knock-on impact
- `ce-architecture-strategist` for cross-boundary effects, interface surfaces, and architectural knock-on impact
- Add the specific specialist that matches the risk:
- `review:ce-performance-oracle` for scalability, latency, throughput, and resource-risk analysis
- `review:ce-security-sentinel` for auth, validation, exploit surfaces, and security boundary review
- `review:ce-data-integrity-guardian` for migrations, persistent state safety, consistency, and data lifecycle risks
- `ce-performance-oracle` for scalability, latency, throughput, and resource-risk analysis
- `ce-security-sentinel` for auth, validation, exploit surfaces, and security boundary review
- `ce-data-integrity-guardian` for migrations, persistent state safety, consistency, and data lifecycle risks
**Risks & Dependencies / Operational Notes**
- Use the specialist that matches the actual risk:
- `review:ce-security-sentinel` for security, auth, privacy, and exploit risk
- `review:ce-data-integrity-guardian` for persistent data safety, constraints, and transaction boundaries
- `review:ce-data-migration-expert` for migration realism, backfills, and production data transformation risk
- `review:ce-deployment-verification-agent` for rollout checklists, rollback planning, and launch verification
- `review:ce-performance-oracle` for capacity, latency, and scaling concerns
- `ce-security-sentinel` for security, auth, privacy, and exploit risk
- `ce-data-integrity-guardian` for persistent data safety, constraints, and transaction boundaries
- `ce-data-migration-expert` for migration realism, backfills, and production data transformation risk
- `ce-deployment-verification-agent` for rollout checklists, rollback planning, and launch verification
- `ce-performance-oracle` for capacity, latency, and scaling concerns
**Agent Prompt Shape:**