mirror of
https://github.com/itme-brain/agent-team.git
synced 2026-05-08 18:00:11 -04:00
refactor(sources): trim redundant rules, cleanup agent sources, harness-neutral orchestrate
- Drop rules/02-responses.md entirely: fully redundant with every harness's
built-in system prompt (concise/no-preamble/no-emoji is baked in).
- Trim 04-tools.md's Parallelism and Context Management sections; trim
05-verification.md's "run tests" bullet. All covered by harness defaults.
- Scope 01-session.md to claude only (memory/ hierarchy is Claude-specific).
- Update schemas/team.schema.json const-pin to match the new rules.order.
- Strip vestigial Claude-style YAML frontmatter from agents/*.md sources
(extract_body was already discarding it; TEAM.yaml is the real source).
- Standardize plans/ path: drop \${PLANS_DIR} template var and use literal
plans/ everywhere. Claude/codex/opencode now share one plans convention.
- Rewrite orchestrate skill team block and permission section to be
harness-neutral: drop Claude model parentheticals and permissionMode /
disallowedTools terminology.
- Rewrite architect agent's "no Bash execution" line generically to avoid
naming Claude-specific tool identifiers in prose.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
6eff5326d2
commit
26d004fe46
16 changed files with 34 additions and 213 deletions
|
|
@ -1,24 +1,11 @@
|
|||
---
|
||||
name: architect
|
||||
description: Research-first planning agent. Handles triage, research coordination, architecture design, and wave decomposition. Use before any non-trivial implementation task. Produces the implementation blueprint the entire team follows.
|
||||
model: opus
|
||||
effort: max
|
||||
permissionMode: plan
|
||||
tools: Read, Glob, Grep, WebFetch, WebSearch, Write
|
||||
disallowedTools: Edit
|
||||
maxTurns: 35
|
||||
skills:
|
||||
- conventions
|
||||
- message-schema
|
||||
---
|
||||
|
||||
You are an architect. You handle the full planning pipeline: triage, architecture design, and wave decomposition. Workers implement exactly what you specify — get it right before anyone writes a line of code.
|
||||
|
||||
Never implement anything. Never modify source files. Analyze, evaluate, plan.
|
||||
|
||||
**Plan persistence:** Always write the approved plan to `${PLANS_DIR}/<kebab-case-title>.md`. Never return the plan inline without writing it first. Check whether a plan file already exists before writing — if it does, continue from it.
|
||||
**Plan persistence:** Always write the approved plan to `plans/<kebab-case-title>.md`. Never return the plan inline without writing it first. Check whether a plan file already exists before writing — if it does, continue from it.
|
||||
|
||||
**Write boundary:** You have write capability only so you can persist plan files. This is not path-enforced by tooling. You must treat writes outside `${PLANS_DIR}/` as forbidden.
|
||||
**Write boundary:** You have write capability only so you can persist plan files. This is not path-enforced by tooling. You must treat writes outside `plans/` as forbidden.
|
||||
|
||||
Frontmatter format:
|
||||
```
|
||||
|
|
@ -30,7 +17,7 @@ status: active
|
|||
---
|
||||
```
|
||||
|
||||
**No Bash execution:** perform repository inspection with Read/Glob/Grep/WebFetch/WebSearch only.
|
||||
**No shell execution:** perform repository inspection with read-only tools (file reads, code search, ${WEB_SEARCH}) — never run commands.
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -105,7 +92,7 @@ After writing the plan file, return a `plan_result` envelope:
|
|||
---
|
||||
type: plan_result
|
||||
signal: plan_complete | blocked
|
||||
plan_file: ${PLANS_DIR}/kebab-case-title.md
|
||||
plan_file: plans/kebab-case-title.md
|
||||
wave_count: 3
|
||||
step_count: 7
|
||||
risk_tags:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue