Skip to content

Commit 8225a63

Browse files
committed
chore: update agent models and remove deprecated tools
- Changed agent models from anthropic to openai/gpt-5.2-codex for improved performance. - Removed the deprecated beads agent file. - Updated AGENTS.md to reflect changes in custom tools and deprecated commands. - Added new swarmmail release functions for better file reservation management in the swarm plugin.
1 parent 83806f7 commit 8225a63

13 files changed

Lines changed: 1403 additions & 419 deletions

AGENTS.md

Lines changed: 0 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,6 @@ The `opencode-swarm-plugin` provides type-safe, context-preserving wrappers. Alw
197197

198198
### Other Custom Tools
199199

200-
- **cass_search, cass_view, cass_expand** - Search past agent sessions (use `hivemind_find` instead for unified interface)
201-
202200
- **swarm_review, swarm_review_feedback** - Coordinator reviews worker output (3-strike rule)
203201

204202
- **typecheck** - TypeScript check with grouped errors
@@ -208,34 +206,11 @@ The `opencode-swarm-plugin` provides type-safe, context-preserving wrappers. Alw
208206
- **repo-crawl\_\*** - GitHub API repo exploration
209207
- **repo-autopsy\_\*** - Clone & deep analyze repos locally
210208
- **pdf-brain\_\*** - PDF & Markdown knowledge base (supports URLs, `--expand` for context)
211-
- **ubs\_\*** - Multi-language bug scanner
212-
213-
### DEPRECATED - Do Not Use Directly
214-
215-
- ~~`bd` CLI commands~~ → Use `hive_*` plugin tools
216-
- ~~`bd-quick_*` tools~~ → Use `hive_*` plugin tools
217-
- ~~`beads_*` tools~~ → Use `hive_*` plugin tools (aliases deprecated)
218-
- ~~Agent Mail MCP tools~~ → Use `agentmail_*` plugin tools
219-
220-
**Why?** Plugin tools have:
221-
222-
- Type-safe Zod validation
223-
- Context preservation (hard caps on inbox, auto-release)
224-
- Learning integration (outcome tracking, pattern maturity)
225-
- UBS bug scanning on completion
226-
- Hivemind history queries for decomposition
227209
</tool_preferences>
228210

229211
<context_preservation>
230212
**CRITICAL: These rules prevent context exhaustion. Violating them burns tokens and kills sessions.**
231213

232-
### Agent Mail - MANDATORY constraints
233-
234-
- **PREFER** `agentmail_inbox` plugin tool - enforces limit=5 and include_bodies=false automatically (plugin guardrails)
235-
- **ALWAYS** use `agentmail_summarize_thread` instead of fetching all messages in a thread
236-
- **ALWAYS** use `agentmail_read_message` for individual message bodies when needed
237-
- If using MCP tools directly: `include_bodies: false`, `inbox_limit: 5` max, `summarize_thread` over fetch all
238-
239214
### Documentation Tools (context7, effect-docs) - MANDATORY constraints
240215

241216
- **NEVER** call these directly in the main conversation - they dump entire doc pages
@@ -434,43 +409,7 @@ git status # MUST show "up to date with origin"
434409
hive_ready()
435410
```
436411

437-
## Agent Mail (via Plugin)
438-
439-
<agent*mail_context>
440-
Agent Mail coordinates multiple agents working the same repo. \*\*Always use `agentmail*\*` plugin tools\*\* - they enforce context-safe limits (max 5 messages, no bodies by default).
441-
</agent_mail_context>
442-
443-
### When to Use
444-
445-
- Multiple agents working same codebase
446-
- Need to reserve files before editing
447-
- Async communication between agents
448-
449-
### Workflow
450-
451-
```
452-
# 1. Initialize (once per session)
453-
agentmail_init(project_path="/abs/path/to/repo", task_description="Working on X")
454-
# Returns: { agent_name: "BlueLake", project_key: "..." }
455-
456-
# 2. Reserve files before editing
457-
agentmail_reserve(paths=["src/auth/**"], reason="bd-123: Auth refactor", ttl_seconds=3600)
458412

459-
# 3. Check inbox (headers only, max 5)
460-
agentmail_inbox()
461-
462-
# 4. Read specific message if needed
463-
agentmail_read_message(message_id=123)
464-
465-
# 5. Summarize thread (PREFERRED over fetching all)
466-
agentmail_summarize_thread(thread_id="bd-123")
467-
468-
# 6. Send message
469-
agentmail_send(to=["OtherAgent"], subject="Status", body="Done with auth", thread_id="bd-123")
470-
471-
# 7. Release when done (or let swarm_complete handle it)
472-
agentmail_release()
473-
```
474413

475414
### Integration with Hive
476415

0 commit comments

Comments
 (0)