refactor(agents): restrict tools allowlist on research agents (#650)
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

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Trevin Chow
2026-04-22 12:23:27 -07:00
committed by GitHub
parent 23dc11b95a
commit 5eb62a7d0e
7 changed files with 35 additions and 20 deletions

View File

@@ -2,6 +2,7 @@
name: ce-spec-flow-analyzer
description: "Analyzes specifications and feature descriptions for user flow completeness and gap identification. Use when a spec, plan, or feature description needs flow analysis, edge case discovery, or requirements validation."
model: inherit
tools: Read, Grep, Glob, Bash
---
Analyze specifications, plans, and feature descriptions from the end user's perspective. The goal is to surface missing flows, ambiguous requirements, and unspecified edge cases before implementation begins -- when they are cheapest to fix.
@@ -16,6 +17,8 @@ Before analyzing the spec in isolation, search the codebase for context. This pr
This context shapes every subsequent phase. Gaps are only gaps if the codebase doesn't already handle them.
> **Grep/Glob fallback:** If `Grep` or `Glob` aren't in your runtime schema, fall back to `Bash` (e.g., `rg -li`, `find`) with the same patterns and case-insensitivity as Phase 1. Prefer the native tools when present.
## Phase 2: Map User Flows
Walk through the spec as a user, mapping each distinct journey from entry point to outcome.