# agent-collaboration

Adopt this skill: https://proskills.md/skills/other/microsoft-waza-copilot-skills-agent-collaboration

Page: https://proskills.md/skills/other/microsoft-waza-copilot-skills-agent-collaboration
This document is the public skill bundle for that page. It contains SKILL.md and every helper file the catalog carries. No login is required.

## File: .copilot/skills/agent-collaboration/SKILL.md
size: 2010
upstream: https://github.com/microsoft/waza/blob/main/.copilot/skills/agent-collaboration/SKILL.md

````text
---
name: "agent-collaboration"
description: "Standard collaboration patterns for all squad agents — worktree awareness, decisions, cross-agent communication"
domain: "team-workflow"
confidence: "high"
source: "extracted from charter boilerplate — identical content in 18+ agent charters"
---

## Context

Every agent on the team follows identical collaboration patterns for worktree awareness, decision recording, and cross-agent communication. These were previously duplicated in every charter's Collaboration section (~300 bytes × 18 agents = ~5.4KB of redundant context). Now centralized here.

The coordinator's spawn prompt already instructs agents to read decisions.md and their history.md. This skill adds the patterns for WRITING decisions and requesting help.

## Patterns

### Worktree Awareness
Use the `TEAM ROOT` path provided in your spawn prompt. All `.squad/` paths are relative to this root. If TEAM ROOT is not provided (rare), run `git rev-parse --show-toplevel` as fallback. Never assume CWD is the repo root.

### Decision Recording
After making a decision that affects other team members, write it to:
`.squad/decisions/inbox/{your-name}-{brief-slug}.md`

Format:
```
### {date}: {decision title}
**By:** {Your Name}
**What:** {the decision}
**Why:** {rationale}
```

### Cross-Agent Communication
If you need another team member's input, say so in your response. The coordinator will bring them in. Don't try to do work outside your domain.

### Reviewer Protocol
If you have reviewer authority and reject work: the original author is locked out from revising that artifact. A different agent must own the revision. State who should revise in your rejection response.

## Anti-Patterns
- Don't read all agent charters — you only need your own context + decisions.md
- Don't write directly to `.squad/decisions.md` — always use the inbox drop-box
- Don't modify other agents' history.md files — that's Scribe's job
- Don't assume CWD is the repo root — always use TEAM ROOT
````

## File: README.md
upstream: https://github.com/microsoft/waza/blob/main/README.md

````text
# Waza

A Go CLI for evaluating agent workflows, skills, and custom agents — author repository, CLI, and MCP scenarios, run graded trials, and inspect the evidence.

📖 **[Getting Started / Docs](https://microsoft.github.io/waza/)**

The docs header includes **Ask Waza** for cited documentation Q&A and pasted
YAML/error troubleshooting. The panel currently explains that public chat is
unavailable until the public service is configured. Development
fixtures are explicitly simulated. A separately launched, authenticated
loopback-only private preview can test the operator backend without putting its
Function key in the browser. See [scope, privacy, and integration handoff](site/src/content/docs/guides/docs-assistant.mdx).

**Choose your path:** [Concepts and learning order](site/src/content/docs/concepts.mdx)
→ [offline harness Quick Start](site/src/content/docs/quick-start.mdx)
→ [authenticated workflow evaluation](site/src/content/docs/getting-started.mdx)
→ [CI regression gates](site/src/content/docs/guides/ci-cd.mdx).
Mock success checks the harness, not agent quality or live service safety.

**Version boundary (November 13, 2026):** the published standalone CLI is
`v0.41.0` ([release](https://github.com/microsoft/waza/releases/tag/v0.41.0)). Scenario authoring, preflight, selected-file evidence,
assurance profiles, controlled release policies, recorded reliability, and the
opt-in dashboard Lab were introduced in `v0.39.0` and remain included.
Install the published binary or run `waza update`; a source build is optional.
Platform, explicit opt-in, evidence, and paid-call restrictions still apply. See the
[feature/platform matrix](site/src/content/docs/reference/releases.mdx#upcoming-main-only-capabilities).

Released in v0.41.0, the [logical execution-attempt embedding API](docs/EXECUTION_ATTEMPTS.md)
adds immutable reservations and explicit verified reuse without changing
`runner run`. The commands `runner submit` and `runner lineage`
record distinct, retry and reuse attempts and print ordered lineage with
derived [lifecycle state](docs/EXECUTION_LIFECYCLE.md) (cancellation, deadline,
orphan detection and advisory retry eligibility).
The [checkpoint embedding API](docs/EXECUTION_CHECKPOINTS.md) adds compatible
whole-unit recovery. The v0.41.0 CLI adds `runner checkpoint create`
and `runner checkpoint resume`, with protected HTTP create/resume operations.
The Lab can create/resume checkpoints and export protected results.
Ordered evaluation-level lineage and full platform acceptance remain pending.
For 1.0 results containing a report, the Lab reader re-encodes the report like
the native canonical writer; reports with evidence it cannot re-encode exactly
are labeled unverified claims.

**v0.41.0 adds** durable execution: logical attempts and lineage, checkpoints,
lifecycle and evidence states, standalone aggregation, and optimizer adapters.
Read [Waza v0.41.0: recover durable work, keep the evidence](https://microsoft.github.io/waza/releases/v0-41-0/)
for the release story, publication record and known limits.

**v0.40.0 added** bounded
runner/text execution, selected AgentV assertion conversion, task-level MCP
mocks, program-grader context, host lifecycle evidence, and Lab conversations.
Read [Waza v0.40.0: run exactly the work you declared](https://microsoft.github.io/waza/releases/v0-40-0/)
for the release story and known limits.
The [v0.40.1 hotfix release](https://microsoft.github.io/waza/releases/v0-40-1/)
aligns selected-task coverage, strict token exits, grouping, hooks, saved runs,
artifact paths, execution startup, and JavaScript grader input with their
documented contracts.
These additions are not in an installed v0.39.1 binary. The separately versioned
azd extension/registry and native runner image have independent publication and
acceptance gates; see the
[release scope and acceptance boundaries](site/src/content/docs/reference/releases.mdx#v0400-highlights-and-boundaries).
The exact-unit runner deadlines do not fix the legacy multi-trial timeout issue
[#865](https://github.com/microsoft/waza/issues/865). The later timeout/persistence
fix [#870](https://github.com/microsoft/waza/pull/870) is post-v0.40.0 source behavior,
not included in the published v0.40.0 artifacts.

**v0.41.0 adds** durable execution, recovery and aggregation, the optimizer
adapter contract, native question callbacks, and dashboard, capture, build and
CI improvements; see the [changelog](CHANGELOG.md#0410---2026-11-13) and
[release reference](site/src/content/docs/reference/releases.mdx).

## Installation

### Binary Install (recommended)

Download and install the latest pre-built binary with the Bash install script on macOS, Linux, or Windows Bash environments such as Git Bash, MSYS2, or Cygwin:

```bash
curl -fsSL https://raw.githubusercontent.com/microsoft/waza/main/install.sh | bash
```

The Bash script auto-detects the OS and architecture of the environment where Bash is running (linux/darwin/windows, amd64/arm64), downloads the latest standalone `waza` CLI release, verifies the checksum, and installs to `/usr/local/bin` (or `~/bin` if not writable).

For native Windows PowerShell:

```powershell
irm https://raw.githubusercontent.com/microsoft/waza/main/install.ps1 | iex
```

The PowerShell script downloads the latest standalone native Windows `waza` binary, verifies the checksum, and installs to an existing `waza.exe` location or `%LOCALAPPDATA%\Microsoft\Waza`. On Windows, piping the Bash command from PowerShell may invoke WSL and install the Linux binary inside WSL.

Or browse the [GitHub Releases](https://github.com/microsoft/waza/releases) page and choose the standalone waza binary assets for the version you want.

### Install from Source

Requires Go 1.26+, Git LFS, Make, Node.js 22.23.4+ on the 22.x line or Node.js 24+ (recommended), and npm 9.6.5+. This shared development baseline also supports the docs site; the dashboard alone supports Node.js 20.19+ on 20.x or 22.13+ on 22.x, or 24+. Engine compatibility does not replace running the relevant checks. The source build generates the dashboard assets before embedding them in the binary.

Note: due to the use of LFS artifacts you cannot install waza using `go install`. To install waza outside of a normal release, clone the repository:

```bash
git clone --branch v0.41.0 https://github.com/microsoft/waza.git
cd waza

# ensure git LFS-based artifacts are available (for embedded copilot binaries)
git lfs install
git lfs pull

make build VERSION=0.41.0
./waza <waza command line>
```

The verified `v0.41.0` tag resolves to
`d537bf00d4d442a1935ceba2fbc664b9ccb497b2`. Unlike the historical v0.40.1 tags, the
tag's `version.txt` and `extension.yaml` already carry `0.41.0`.
`make build` defaults to `VERSION=0.1.0`, so pass `VERSION=0.41.0` explicitly
when building this tag. Official release builds inject the version from the
tag with linker flags. A locally stamped binary is not a verified release asset,
and does not prove extension registry synchronization.

Waza bundles the GitHub Copilot CLI used by the `copilot-sdk` executor and extracts it and its runtime assets to a versioned directory in the local user cache on first use (or under `COPILOT_HOME/cache` when set). Set `COPILOT_CLI_PATH` only when you need to force a specific Copilot CLI binary. Installation failures are reported without falling back to a CLI on `PATH`; set `COPILOT_CLI_INSTALL_VERBOSE=1` for installation diagnostics.

### Azure Developer CLI (azd) Extension

Waza is also available as an [azd extension](https://learn.microsoft.com/azure/developer/azure-developer-cli/extensions/overview):

```bash
# Add the waza extension registry
azd ext source add -n waza -t url -l https://raw.githubusercontent.com/microsoft/waza/main/registry.json

# Install the extension
azd ext install microsoft.azd.waza

# Verify it's working
azd waza --help
```

The extension has its own version and artifact history; a command prefix does
not establish parity with standal
````
