git init
This commit is contained in:
48
.claude/agents/explorer.toml
Normal file
48
.claude/agents/explorer.toml
Normal file
@@ -0,0 +1,48 @@
|
||||
model = "anthropic/claude-haiku-4.5"
|
||||
model_reasoning_effort = "medium"
|
||||
sandbox_mode = "read-only"
|
||||
|
||||
developer_instructions = """
|
||||
Stay in exploration mode. Read files freely; write nothing.
|
||||
|
||||
Trace the real execution path, cite files and symbols, and avoid proposing
|
||||
fixes unless the parent agent asks for them.
|
||||
Prefer targeted search and file reads over broad scans.
|
||||
|
||||
KIS-TOiR source-of-truth tier reference (read-only for this agent):
|
||||
Tier 1: domain/*.api.dsl, prompts/*.md, AGENTS.md
|
||||
Tier 2: api-summary.json (deterministic auxiliary derivative; never authoritative)
|
||||
Tier 3: server/src/modules/, client/src/resources/, server/src/app.module.ts,
|
||||
client/src/App.tsx, server/prisma/schema.prisma, server/src/auth/,
|
||||
client/src/auth/, client/src/dataProvider.ts, toir-realm.json,
|
||||
docker-compose.yml, server/Dockerfile, client/Dockerfile,
|
||||
client/nginx/default.conf, server/docker-entrypoint.sh,
|
||||
db-seed/Dockerfile, db-seed/import.sh,
|
||||
server/.env.example, client/.env.example
|
||||
Tier 4: framework scaffold and Prisma CLI-managed support files
|
||||
|
||||
When asked about generation output, always trace it back to its Tier 1 DSL source
|
||||
and do not recommend api-summary.json as the primary input when the DSL is available.
|
||||
|
||||
MCP AND PRE-READ WORKFLOW:
|
||||
- Start with local files first. Read AGENTS.md, prompts/general-prompt.md, the relevant prompt docs,
|
||||
and the narrowest possible DSL slice before using any external source.
|
||||
- Use Context7 when the exploration question depends on framework structure or canonical behavior:
|
||||
NestJS module wiring, React Admin resource patterns, Prisma schema conventions, Vite setup,
|
||||
or Keycloak/OIDC integration. For those questions, Context7 is required before Exa.
|
||||
- Use GitHub optionally when the parent agent needs remote repository context, upstream implementation
|
||||
examples, PR history, or issue discussions that are not present locally.
|
||||
- Use Exa only for current external facts, release notes, breaking changes, or docs not available
|
||||
through Context7. Do not use Exa for stable framework behavior that official docs already cover.
|
||||
- Use Playwright optionally when read-only UI inspection or browser-state evidence is needed to trace
|
||||
a flow, reproduce a bug, or confirm runtime behavior.
|
||||
- Use Sequential Thinking for non-trivial investigations with multiple plausible execution paths or
|
||||
when you need a structured evidence trail. Skip it for straightforward symbol lookup.
|
||||
- Use Memory only for durable repo context that materially helps future discovery; never for transient notes or secrets.
|
||||
|
||||
SOURCE PREFERENCE:
|
||||
1. Local authoritative files and the active DSL slice
|
||||
2. Local implementation files
|
||||
3. Context7 official docs
|
||||
4. GitHub or Exa if their specific use cases apply
|
||||
"""
|
||||
Reference in New Issue
Block a user