Skip to content

docs(rulebook): PHP MCP rules MCP-019/020 + regenerate indexes#13

Merged
jhumel-code merged 3 commits into
mainfrom
feat/php-mcp-rules
Jun 8, 2026
Merged

docs(rulebook): PHP MCP rules MCP-019/020 + regenerate indexes#13
jhumel-code merged 3 commits into
mainfrom
feat/php-mcp-rules

Conversation

@jhumel-code

Copy link
Copy Markdown
Collaborator

Documents the two field-based PHP MCP rules (MCP-019 no-description, MCP-020 ambiguous-name) in docs/Policy/mcp/tool_definition.md, mirroring the Python/TS/Go/C# rules, and adds the PHP MCP SDKs (official mcp/sdk + community php-mcp/server) to the coverage and "does not cover" sections. Notes that, unlike Go/C#, an untyped-params analog is meaningful for PHP (optional type hints) and is a fast-follow. Regenerates the MCP and top-level POLICY_INDEX.md.

check_rulebook.py --rules-repo ../trustabl-rules passes with 0 warnings.

Merge order

Stacked on the C# rulebook branch. Merge in order: #11 (Go) → #12 (C#) → this.

Paired with the engine PHP discovery PR and the rules PHP rules PR.

Document the two field-based Go MCP rules (MCP-015 no-description, MCP-016
ambiguous-name) in mcp/tool_definition.md, mirroring the Python/TS description
and ambiguous-name rules. The Go SDKs (mark3labs/mcp-go and the official
go-sdk) are added to the policy's coverage and "does not cover" sections —
untyped-params has no analog for statically-typed Go.

gen_index.py regenerates every POLICY_INDEX.md: alongside the two new MCP rows
it also picks up prior recalibration severity drift in several per-SDK indexes
that had not been regenerated after the severity recalibration.
Document the two field-based C# MCP rules (MCP-017 no-description, MCP-018
ambiguous-name) in mcp/tool_definition.md, mirroring the Python/TS/Go rules, and
add the official ModelContextProtocol C# SDK to the coverage and "does not
cover" sections. Regenerate the MCP and top-level POLICY_INDEX.md.
Document the two field-based PHP MCP rules (MCP-019 no-description, MCP-020
ambiguous-name) in mcp/tool_definition.md, mirroring the Python/TS/Go/C# rules,
and add the PHP MCP SDKs (official mcp/sdk + community php-mcp/server) to the
coverage and "does not cover" sections. Note that, unlike Go/C#, an
untyped-params analog is meaningful for PHP (optional type hints) and is a
fast-follow. Regenerate the MCP and top-level POLICY_INDEX.md.
@jhumel-code jhumel-code merged commit f928f59 into main Jun 8, 2026
2 checks 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.

1 participant