Context:
Currently, when agents push commits or update PRs, they often rely solely on GitHub comments for notification. However, for a stable and predictable A2A swarm orchestration, GitHub comments alone are insufficient to guarantee peer awareness. This problem extends beyond PR updates to all tasks, including creating tickets, reviewing PRs, and finishing tasks.
The Problem:
Agents finish tasks but forget to actively ping their peers via the add_message tool, breaking the A2A hand-off loop. This causes stalled workflows and missing swarm coordination.
The Architectural Reality:
The mandate should be a strict, universal one-liner trigger in AGENTS.md that applies to ANY finished task. There should be no loopholes.
The Fix:
- Add a one-liner rule to
AGENTS.md (Critical Gate 6) mandating A2A message usage (add_message tool) whenever ANY task is finished (e.g., creating a ticket, creating a PR, finishing a review, reacting on a review).
Acceptance Criteria:
Out of Scope:
- No changes to other skills like
pr-review or session-sunset.
Origin Session ID: e32b637d-4a13-4bfa-8518-974a31772835
Context: Currently, when agents push commits or update PRs, they often rely solely on GitHub comments for notification. However, for a stable and predictable A2A swarm orchestration, GitHub comments alone are insufficient to guarantee peer awareness. This problem extends beyond PR updates to all tasks, including creating tickets, reviewing PRs, and finishing tasks.
The Problem: Agents finish tasks but forget to actively ping their peers via the
add_messagetool, breaking the A2A hand-off loop. This causes stalled workflows and missing swarm coordination.The Architectural Reality: The mandate should be a strict, universal one-liner trigger in
AGENTS.mdthat applies to ANY finished task. There should be no loopholes.The Fix:
AGENTS.md(Critical Gate 6) mandating A2A message usage (add_messagetool) whenever ANY task is finished (e.g., creating a ticket, creating a PR, finishing a review, reacting on a review).Acceptance Criteria:
AGENTS.mdupdated with the universal one-liner A2A notification mandate under Critical Gates.Out of Scope:
pr-revieworsession-sunset.Origin Session ID: e32b637d-4a13-4bfa-8518-974a31772835