Skip to content

docs(agents): add Anti-Rationalization tables and Tier 2 docs#173

Merged
maystudios merged 1 commit intomainfrom
worktree-agent-a086a70f
Mar 25, 2026
Merged

docs(agents): add Anti-Rationalization tables and Tier 2 docs#173
maystudios merged 1 commit intomainfrom
worktree-agent-a086a70f

Conversation

@maystudios
Copy link
Copy Markdown
Owner

Summary

  • Added ## Anti-Rationalization Table section to templates/agents/executor.md and templates/agents/planner.md (before their Completion Gate sections) to enforce evidence-based claims
  • Added ## Tier 2 — Agent Teams section to templates/agents/AGENTS.md documenting activation, communication, and hooks for multi-agent orchestration

Test plan

  • Markdown files render correctly (tables, headings, lists)
  • Anti-Rationalization Tables are identical in both executor and planner definitions
  • Tier 2 section covers activation, communication, and hooks subsections
  • No existing content was modified or displaced

🤖 Generated with Claude Code

…docs

Add Anti-Rationalization Table sections to executor.md and planner.md
agent definitions to enforce evidence-based claims. Add Tier 2 Agent
Teams documentation to AGENTS.md covering activation, communication,
and hooks for multi-agent orchestration.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 25, 2026 12:44
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds stronger evidence/verification guidance to agent templates and extends the agent registry documentation to cover Tier 2 Agent Teams orchestration.

Changes:

  • Added an Anti-Rationalization Table section to the planner and executor agent templates.
  • Added a new “Tier 2 — Agent Teams” section to the agent registry with activation, communication, and hook references.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
templates/agents/planner.md Inserts an Anti-Rationalization Table before the Completion Gate to enforce evidence-based planning claims.
templates/agents/executor.md Inserts an Anti-Rationalization Table before the Completion Gate to enforce evidence-based execution claims.
templates/agents/AGENTS.md Documents Tier 2 Agent Teams activation/communication/hooks in the agent registry.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

### Communication

Teams coordinate exclusively through:
- **Task lists** — `.claude/tasks/{team-name}/` for pending work
Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The task list path is documented as .claude/tasks/{team-name}/, but the implementation and other specs use the user-level directory ~/.claude/tasks/{team-name}/. Using a project-relative .claude/tasks path is likely to mislead readers about where Agent Teams stores/reads task files; update this path to match the actual location.

Suggested change
- **Task lists**`.claude/tasks/{team-name}/` for pending work
- **Task lists**`~/.claude/tasks/{team-name}/` for pending work

Copilot uses AI. Check for mistakes.
Comment on lines +110 to +114
Teams coordinate exclusively through:
- **Task lists** — `.claude/tasks/{team-name}/` for pending work
- **GitHub Issues** — Phase tracking, task sub-issues, plan comments
- **Handoff contracts** — Structured output posted as GitHub Issue comments
- **SendMessage** — Direct inter-agent messages within the same team
Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section says teams coordinate "exclusively" via a short list, but elsewhere in the repo Agent Teams coordination also includes shared artifacts like MEMORY.md, and this file earlier states agents do not communicate directly (which conflicts with the SendMessage bullet here). Consider softening/removing "exclusively" and explicitly scoping the earlier statement to Tier 1, while describing Tier 2 as allowing peer-to-peer messaging.

Suggested change
Teams coordinate exclusively through:
- **Task lists**`.claude/tasks/{team-name}/` for pending work
- **GitHub Issues** — Phase tracking, task sub-issues, plan comments
- **Handoff contracts** — Structured output posted as GitHub Issue comments
- **SendMessage**Direct inter-agent messages within the same team
In Tier 2, teams coordinate primarily through the following shared artifacts and channels, and may also use limited peer-to-peer messaging:
- **Task lists**`.claude/tasks/{team-name}/` for pending work
- **GitHub Issues** — Phase tracking, task sub-issues, plan comments
- **Handoff contracts** — Structured output posted as GitHub Issue comments
- **SendMessage**Tier 2-only direct inter-agent messages within the same team

Copilot uses AI. Check for mistakes.
### Hooks

Two hooks support Tier 2 operations:
- `maxsim-teammate-idle` (TeammateIdle) — Checks for pending tasks and assigns idle teammates
Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maxsim-teammate-idle is described as "assigns idle teammates", but the hook implementation only checks for pending tasks and blocks idling with feedback; it doesn’t perform assignment. Rewording to reflect the actual behavior (prevent idle when tasks exist / prompt teammate to pick up work) would keep this reference accurate.

Suggested change
- `maxsim-teammate-idle` (TeammateIdle) — Checks for pending tasks and assigns idle teammates
- `maxsim-teammate-idle` (TeammateIdle) — Checks for pending tasks and prevents idling when work is available by prompting the teammate to pick up tasks

Copilot uses AI. Check for mistakes.
@maystudios maystudios merged commit 1430ff2 into main Mar 25, 2026
5 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 5.13.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants