Skip to content

[Docs] Add AGENTS.md - #634

Open
chr-hertel wants to merge 1 commit into
mainfrom
agents-md
Open

chr-hertel wants to merge 1 commit into
mainfrom
agents-md

Conversation

@chr-hertel

Copy link
Copy Markdown
Member

Add an AGENTS.md with commands, architecture overview and coding conventions for AI coding agents.

🤖 Generated with Claude Code

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

AGENTS.md points OAuth work to the wrong namespace and incorrectly claims that supported modern-only result fields are not modeled.

2 open issues
What changed in this PR

Adds repository guidance for AI coding agents working on the PHP MCP SDK. This documentation-only change covers development workflows, architecture, and contribution conventions.

Changes:

  • Documents setup, testing, analysis, and documentation commands.
  • Maps server, client, and shared protocol components across both protocol eras.
  • Defines coding, specification-reference, and review communication guidelines.
File Description
AGENTS.md Adds commands, architecture guidance, and contribution conventions for AI coding agents.

Review effort: Balanced

Comment thread AGENTS.md
Comment on lines +49 to +50
`Server\Wire\Rev2025Codec`/`Rev2026Codec` translate the revision-neutral result model into each era's wire shape, so
modern-only fields (`resultType`, caching hints, …) are stamped at the edge, not modelled on `Schema\Result\*`.
Comment thread AGENTS.md
fiber with the client's answer. Request ids to the client are UUIDs, matched per fiber, so concurrent requests of one
session don't cross.
- `Server\Session\*`: session stores (in-memory, file, PSR-16) and optional per-session locks.
- `Server\Authorization\*`: resource-server-only OAuth (ADR 0001/0002 in `adr/`) — token validation, scope policy,

This branch has not been deployed

No deployments
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