feat(slack-researcher): add Slack organizational context research agent (#495)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Trevin Chow
2026-04-05 18:39:25 -07:00
committed by GitHub
parent 6f3c841150
commit b3960ec64b
7 changed files with 523 additions and 1 deletions

View File

@@ -158,6 +158,7 @@ Run these agents in parallel:
- Task compound-engineering:research:repo-research-analyst(Scope: technology, architecture, patterns. {planning context summary})
- Task compound-engineering:research:learnings-researcher(planning context summary)
- (conditional) Task compound-engineering:research:slack-researcher({planning context summary}. If the origin document contains a Slack context section, include it verbatim so the researcher can focus on gaps rather than re-searching.) — if any `slack_*` tool is available in the tool list. If the agent returns an error or reports Slack MCP unavailable, log a warning ("Slack context unavailable: {reason}. Proceeding without organizational context.") and continue.
Collect:
- Technology stack and versions (used in section 1.2 to make sharper external research decisions)
@@ -165,6 +166,7 @@ Collect:
- Implementation patterns, relevant files, modules, and tests
- AGENTS.md guidance that materially affects the plan, with CLAUDE.md used only as compatibility fallback when present
- Institutional learnings from `docs/solutions/`
- Organizational context from Slack (if the slack-researcher agent ran successfully)
#### 1.1b Detect Execution Posture Signals
@@ -229,6 +231,7 @@ If Step 1.2 indicates external research is useful, run these agents in parallel:
Summarize:
- Relevant codebase patterns and file paths
- Relevant institutional learnings
- Organizational context from Slack conversations, if gathered (prior discussions, decisions, or domain knowledge relevant to the feature)
- External references and best practices, if gathered
- Related issues, PRs, or prior art
- Any constraints that should materially shape the plan