Skip to content

docs: add agent guidance#203

Open
mtojek wants to merge 8 commits into
mainfrom
docs/agent-guide
Open

docs: add agent guidance#203
mtojek wants to merge 8 commits into
mainfrom
docs/agent-guide

Conversation

@mtojek
Copy link
Copy Markdown
Member

@mtojek mtojek commented May 21, 2026

Summary

  • Add a short root AGENTS.md entrypoint for autonomous agents working in Boundary.
  • Keep canonical Markdown guidance under docs/:
    • docs/agent-guide.md for agent workflow, testing, troubleshooting, and failure modes.
    • docs/architecture.md for the human-facing runtime and architecture overview.
    • docs/e2e-tests.md for host-mutating Linux sudo e2e test guidance.
  • Keep compatibility entrypoints minimal:
    • CLAUDE.md -> AGENTS.md
    • .agents/docs -> ../docs
    • e2e_tests/AGENTS.md -> ../docs/e2e-tests.md
  • Keep .cursorrules intentionally omitted.

Testing

  • Verified no references remain to removed ARCHITECTURE.md or .claude/docs/BOUNDARY_AGENT_GUIDE.md entrypoints.
  • Verified no new Markdown hrefs remain for the docs paths added in this PR.
  • git diff --check
  • git diff --cached --check
  • make unit-test
Planning notes

The chosen doc structure intentionally stays consolidated instead of mirroring the larger coder/coder doc tree one-to-one. Canonical content lives in docs/; root and tool-specific files are short entrypoints only.

AGENTS.md
CLAUDE.md -> AGENTS.md
.agents/docs -> ../docs
docs/agent-guide.md
docs/architecture.md
docs/e2e-tests.md
e2e_tests/AGENTS.md -> ../docs/e2e-tests.md

This avoids duplicating the same architecture, testing, and e2e guidance across multiple Markdown files while preserving the entrypoints that remain in the repository.

Generated by Coder Agents.

mtojek added 8 commits May 21, 2026 11:02
…holder

- README.md: restore clickable Markdown link to docs/architecture.md
- docs/architecture.md: replace [separator] with actual CLI separator (--)
- docs/agent-guide.md: replace duplicated architecture/runtime/proxy/audit/
  TLS/backend/privilege sections with cross-references to architecture.md,
  keeping only agent-specific workflow, change guidance, testing,
  troubleshooting, and failure catalog
- architecture.md: add missing log/ and nsjail_manager/nsjail/ to repo map
- architecture.md: document that domain wildcard matches deeper subdomains
- architecture.md: document that trailing path wildcard matches multiple segments
- architecture.md: clarify CONNECT handshake requests are not audited
- agent-guide.md: note make ci also fails due to missing test target
Agents reading AGENTS.md are already at the right file. Documenting
that CLAUDE.md symlinks here or that .agents/docs exists is
meta-information about the file layout that does not help agents
do actual work.
@mtojek mtojek requested a review from SasSwart May 21, 2026 11:49
@mtojek mtojek marked this pull request as ready for review May 21, 2026 11:49
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.

1 participant