Skip to content

docs(agents): codify merge/worktree discipline + shared read-only permission allowlist#1555

Merged
xuyushun441-sys merged 1 commit into
mainfrom
docs/agents-md-multiagent-perms
Jun 3, 2026
Merged

docs(agents): codify merge/worktree discipline + shared read-only permission allowlist#1555
xuyushun441-sys merged 1 commit into
mainfrom
docs/agents-md-multiagent-perms

Conversation

@xuyushun441-sys
Copy link
Copy Markdown
Contributor

What

Two small, agent-facing housekeeping changes for parallel multi-agent work.

AGENTS.md

.claude/settings.json (new, committed/shared)

Read-only permission allowlist derived from recent transcript usage so parallel agents prompt less. Covers browser/preview observation tools (screenshot / snapshot / logs / network / list) plus agent-browser snapshot|skills.

Deliberately excludes:

  • mutating / arbitrary-exec calls — preview_eval, preview_click/fill/start/stop, pnpm, node, npx
  • anything Claude Code already auto-allows — git/gh read-only subcommands, grep, cat, ls, …

.claude/settings.local.json (gitignored, per-machine) is untouched.

Notes

  • Docs/config only — no changeset required.
  • examples/app-showcase/objectstack.config.ts was already modified in the working tree by other in-flight work and is intentionally not part of this PR.

🤖 Generated with Claude Code

…d read-only permission allowlist

AGENTS.md:
- Drop the stale ".github/copilot-instructions.md mirror" instruction — that
  file doesn't exist, and Copilot (coding agent + CLI, since Aug 2025) reads
  AGENTS.md natively. Single source of truth for all agents.
- Multi-agent discipline: prefer one git worktree per agent/task for physical
  isolation; frame the defensive rules as the shared-working-tree fallback.
- Add rule #7: merge only after remote CI is green, never `gh pr merge --auto`
  (#1475 — auto-merge can land a red PR on shared main).

.claude/settings.json (new, committed/shared):
- Read-only permission allowlist derived from recent transcript usage, so
  parallel agents prompt less. Browser/preview observation tools
  (screenshot/snapshot/logs/network/list) + `agent-browser snapshot|skills`.
- Deliberately excludes mutating/arbitrary-exec calls (preview_eval, click,
  fill, start/stop, pnpm, node, npx) and anything Claude Code already
  auto-allows (git/gh read-only, grep, cat, ls, …).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 3, 2026 4:09am

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation size/s and removed documentation Improvements or additions to documentation labels Jun 3, 2026
@xuyushun441-sys xuyushun441-sys merged commit 1c1b66e into main Jun 3, 2026
12 checks passed
@xuyushun441-sys xuyushun441-sys deleted the docs/agents-md-multiagent-perms branch June 3, 2026 05:01
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