PCP · pcp
PCP Inspection — Runtime Introspection
PCP v4.2 Deep Inspection — runtime capability introspection for debugging and monitoring.
pcp-inspectionv0.1.0pcp
660
Lines of Code
25
Tests
7
Files
Architecture
Implements introspection queries against the live PCP state.
Overview
pcp-inspection provides runtime introspection of the PCP system. It allows querying the current state of all registered capabilities, inspecting active sessions, viewing event bus health, and diagnosing detection issues. It's the programmatic equivalent of pcp-cli for monitoring tools.
Data Flow
Monitoring tool → inspection API → queries live PCP state → returns diagnostics
Dependencies
Internal (2)
External (6)
tokio workspaceserde workspaceserde_json workspacethiserror workspaceasync-trait workspacechrono workspace
Depends on pcp-core. Part of PCP v4.2.