P-MATRIX runtime governance monitor for Claude Code — Safety Gate, Kill Switch, Live Grade. Provides safety gates for tool execution, credential scanning, and behavioral trust grading via MCP tools and Claude Code hooks.
Four tools with mixed quality. pmatrix_status and pmatrix_grade have reasonable descriptions (60-80 chars) but minimal parameter documentation. pmatrix_halt has a critical description but lacks parameter detail. pmatrix_field_status is underdescribed (40 chars). All tools have input schemas present but parameters lack descriptions, a hard violation of pattern:tool-description. No output schemas documented. Error handling is absent, tools do not guide recovery or explain failure modes. Tool naming is acceptable (verb_noun style) but descriptions do not explain WHEN to use each tool or what distinguishes them.
Show 4.0 Field connection status, peer count, and local posture.
Show behavioral trust grade and recent grade history for this P-MATRIX agent. Includes P-score, expiry, and dashboard link.
⛔ HALT — immediately block all tool execution across all Claude Code sessions. Creates ~/.pmatrix/HALT. To resume: rm ~/.pmatrix/HALT
Show current P-MATRIX safety grade, R(t) risk score, mode, and session counters for this Claude Code session.
All parameters lack descriptions. 'session_id' and 'reason' appear in schemas but have no explanation of format, constraints, or when they are required vs optional.
No output schemas documented. LLMs cannot infer what fields pmatrix_status, pmatrix_grade, or pmatrix_field_status return, forcing guesswork about downstream tool chaining.
No error handling guidance. Tools do not explain what happens on failure, whether errors are retryable, or what the LLM should do next. pmatrix_halt is irreversible but lacks confirmation or dry-run support.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 50 | 2026-07-28+ | v2 |
pmatrix_field_status description is 40 characters, below the 50-char minimum for clarity. Does not explain what 'Field connection status' means or when to call it.
pmatrix_halt is destructive and irreversible but lacks a confirmation step or dry-run mode. Agents could accidentally block all sessions without recovery guidance.