Skip to content

docs: add AGENTS.md + CLAUDE.md agent-contributor guidance - #2

Merged
BunsDev merged 1 commit into
mainfrom
docs/agents-claude-guidance
Jul 6, 2026
Merged

docs: add AGENTS.md + CLAUDE.md agent-contributor guidance#2
BunsDev merged 1 commit into
mainfrom
docs/agents-claude-guidance

Conversation

@BunsDev

@BunsDev BunsDev commented Jul 6, 2026

Copy link
Copy Markdown
Member

Adds AGENTS.md (canonical agent-contributor guide) and CLAUDE.md (thin pointer) so AI agents opening PRs understand this repo's conventions: branch/PR workflow, shell-hook safety (POSIX-portable, fail safe, never break the host Claude Code session, shellcheck), Coven Agent Event Protocol v0 invariants (event shape is a contract shared by Cast/daemon/TUI/comux), and contributor attribution — credit humans with Co-authored-by: Name <ID+username@users.noreply.github.com> (never a .local email, which gives zero GitHub credit).

Part of a fleet-wide rollout adding consistent AGENTS.md/CLAUDE.md guidance across the public Coven repos. Docs-only.

Canonical entry point for agents opening PRs against the Cast plugin:
branch/PR workflow, shell-hook safety (POSIX-portable, fail safe, never
break the host session), Coven Agent Event Protocol v0 invariants
(event shape is a cross-consumer contract), and contributor attribution
(GitHub-linked Co-authored-by trailer, never a .local email). CLAUDE.md
points at AGENTS.md.
Copilot AI review requested due to automatic review settings July 6, 2026 08:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds agent-focused contributor documentation so AI agents (including Claude Code) follow repo-specific conventions and invariants when opening PRs.

Changes:

  • Add AGENTS.md as the canonical agent-contributor guide for workflow, protocol invariants, hook safety, and attribution.
  • Add CLAUDE.md as a thin pointer that Claude Code auto-loads, directing agents to AGENTS.md.

Reviewed changes

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

File Description
AGENTS.md Introduces the canonical agent-contributor guidance (workflow, safety, protocol invariants, attribution).
CLAUDE.md Adds a Claude Code entrypoint doc that points contributors to AGENTS.md (and related docs).

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

Comment thread AGENTS.md
Comment on lines +22 to +24
- Keep the diff scoped to one concern; conventional-commit subjects (`feat:`,
`fix:`, `docs:`, `chore:`, `refactor:`).
- After merge: delete the remote branch, remove your local worktree/branch.
Comment thread AGENTS.md
Comment on lines +28 to +29
- The hooks are **shell scripts** — keep them POSIX-portable, quote variables,
and fail safe. A hook that errors must not break the host Claude Code session.
Comment thread CLAUDE.md
Comment on lines +8 to +10
Claude Code auto-loads this file; everything you need lives in `AGENTS.md` plus
[`README.md`](README.md). There is no separate Claude-only workflow — follow
`AGENTS.md`.
@BunsDev
BunsDev merged commit 5013894 into main Jul 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants