Files
buzz/desktop/src-tauri/src/managed_agents/nest_agents.md
Bradley Axen 30873ba46b docs(nest): replace commit attribution policy with the runtime facts (#8236)
## What

The nest `AGENTS.md` template
(`desktop/src-tauri/src/managed_agents/nest_agents.md`) ships to every
Buzz user's agents. Its "Git Commit Attribution" section is cut from a
general attribution policy (separate claims, author "per applicable
policy", hypothetical repos that require a human author, "stop and ask")
down to what the runtime actually does:

- `buzz-acp` sets a default git identity and signing. Agents use it, but
change the author when a repository or their human needs a different
one. The operator can opt out with `BUZZ_GIT_IDENTITY=user`.
- Credit the other party with `Co-authored-by`: the human you work for
when you commit as yourself, or yourself when you commit as them.
- Follow each repository's own `AGENTS.md` for sign-off (DCO) and other
attribution rules.

The buzz-acp base prompt gets the same co-author default.
`NEST_AGENTS_VERSION` goes from 6 to 7 so existing nests refresh, and
the template test now asserts the new content.

## Why

Agents read the old section as a puzzle to solve on every commit. They
looked for an applicable policy, wondered whether the human should be
the author, and stalled. DCO and sign-off rules are per-repository and
already live in each repo's own `AGENTS.md` (this repo says `git commit
-s`), so they don't belong in a template that every OSS user's agents
read.

Companion buzz-app change: block/buzz-app#833.

## Validation

`cargo test --lib managed_agents::nest` in `desktop/src-tauri`: 55
passed, including the legacy-attribution upgrade test.

I pushed with `--no-verify`: the change is Markdown plus a version
constant and a test, and the nest tests above are the relevant suite. CI
runs the full set.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: Bradley Axen <baxen@squareup.com>
Co-authored-by: bundled00 <f172256d14c11991d58561c98a594e7397d64087502e7bc90f2c0e8d0d45363f@buzz.block.builderlab.xyz>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 04:39:21 +00:00

2.8 KiB

Buzz Nest

Your persistent workspace. Created once by the Buzz desktop app. The static content above the managed-section markers is regenerated on upgrades — add custom notes below the markers or in separate files.

Directory Layout

Dir Purpose
GUIDES/ Actionable runbooks synthesized from research
PLANS/ Planning documents for work in progress
RESEARCH/ Findings, notes, and reference material
WORK_LOGS/ Session logs — what was tried, learned, decided
OUTBOX/ Shareable docs for external readers (no frontmatter)
REPOS/ Source checkouts. Work in an existing local checkout when one exists; clone here only when none does
.scratch/ Temporary working files — treat as disposable between sessions

Filenames: ALL_CAPS_WITH_UNDERSCORES.md (e.g., OAUTH_FLOW_NOTES.md).

The bundled CLI is your primary tool interface — run its --help command for usage. The CLI skill file has the full reference.

Knowledge File Conventions

Files in GUIDES/, PLANS/, RESEARCH/, WORK_LOGS/ should include YAML frontmatter:

---
title: "Always Quoted Title"
tags: [lowercase-hyphenated]
status: active
created: 2026-01-15
---

Status values: active | superseded | stale | draft

⚠️ Title must be quoted — unquoted colons can break YAML parsing.

Core Guidelines

  • Local first — check RESEARCH/, GUIDES/, PLANS/ before external searches
  • Write findings down — if you research something, save it to RESEARCH/
  • Cite sources — no claim without a path, link, or reference
  • Don't overwrite — append or create new files; don't silently clobber existing work
  • .scratch/ is disposable — don't rely on it across sessions
  • Stay on task — only stage files relevant to your current work

Git Commit Attribution

When Buzz runs you through its buzz-acp harness, the runtime sets a default git identity and signing: you commit as yourself (your display name and <pubkey>@<relay-host>), signed with your agent key. Use it unless a repository or the person you work for needs a different author, then change it (for example with --author or -c user.*). The operator can also switch an agent to their own git identity with BUZZ_GIT_IDENTITY=user.

Credit the other party with a Co-authored-by trailer: when you commit as yourself, credit the human you work for (git config --global user.name and user.email give their identity); when you commit as them, credit yourself. Follow each repository's own AGENTS.md for sign-off (DCO) and other attribution rules.

Active Agents

(No agents deployed yet. Add agents in the Buzz desktop app.)