PCAE Gates, Merkle Spec & MCP Matrix

Filter all 7 deterministic gates (`G1_SECURITY` .. `G7_TEMPORAL_MEMORY`), cryptographic proofs, MCP tools, and HTTP endpoints.

IdentifierCategorySpecification
G1_SECURITYPCAE GateAgentShield: Blocks prompt overrides, zero-width/Base64 smuggling, SSRF (`169.254.169.254`), and `.env`/`.ssh` exfil.
G2_BUDGET_ROUTINGPCAE GateSynapseRouter: Enforces `cost_usd <= budget_cap_usd`, 120k token ceilings, and blocks frontier-tier waste.
G3_SWARM_LEASESPCAE GateSwarmWeaver: Evaluates `file_reads` and `file_writes` against active peer `fnmatch` glob leases.
G4_TRAJECTORY_HEALTHPCAE GateAgentFlight: Detects `A <-> B` oscillation, repeated failing calls, and invalid MCP schemas.
G5_ANTI_REWARD_HACKPCAE GatePatchPilot: Dual-tree Python AST audit flagging deleted tests, `assert True`, `@pytest.mark.skip`, and bare except.
G6_TRUTH_GROUNDINGPCAE GateTruthGate: Blocks phantom citations (`[doc_99]`), negation polarity flips, numeric drift, and nonexistent AST symbols.
G7_TEMPORAL_MEMORYPCAE GateCortex-MCP: Blocks decisions backed by expired (`valid_until != None`) or superseded (`superseded_by != None`) facts.
0x00 || canonical_jsonRFC 6962Domain-separated leaf digest over 9 ordered leaves: `INPUT_DIGEST`, `G1..G7`, `OUTPUT_DIGEST`.
0x01 || L || RRFC 6962Domain-separated internal node hash preventing second-preimage Merkle collisions.
O(log N) Inclusion ProofAttestation4 sibling hashes proving a single gate verdict without revealing prompts or source diffs.
aegis_attest_agent_runMCP ToolEvaluates all 7 PCAE gates and returns signed `AegisAttestationBundle` plus PR Markdown card.
aegis_verify_merkle_proofMCP ToolVerifies an `O(log N)` RFC 6962 inclusion proof or selective-disclosure package against a Merkle root.
aegis_list_gatesMCP ToolReturns all 7 PCAE gate IDs, upstream Codesphere engines, and invariants (`readOnlyHint: true`).
aegis_run_benchmarkMCP ToolExecutes the 35-scenario benchmark suite returning recall, clean FPR, proof accuracy, and P50/P95 ms.
aegis://gates/catalogMCP ResourceCatalog resource alongside `aegis://merkle/rfc6962-spec`, `aegis://benchmark/summary`, and `aegis://gates/{gate_id}`.
audit-agent-prMCP PromptPrompt template paired with `verify-selective-disclosure` and `remediate-gate-violation`.
POST /api/attestHTTP RESTEvaluates an `AgentRunBundle` and emits RFC 6962 attestation bundle (`413` body size guard enforced).
POST /mcp & GET /mcpHTTP MCPStreamable HTTP JSON-RPC 2.0 endpoint and Server-Sent Events stream (`X-Request-ID`, `nosniff`).