PCP · pcp
PCP Learning — Usage History & Onboarding
PCP v4.2 Learning Runtime — tracks capability invocation history, suggests onboarding actions, and adapts to user behavior.
pcp-learningv0.1.0pcp
911
Lines of Code
21
Tests
7
Files
Architecture
Implements learning state tracking with usage records and adaptation logic.
Overview
pcp-learning is the learning runtime for the Portal Capability Protocol v4.2. It tracks how capabilities are used over time (invocation frequency, success rates, confirmation friction), suggests onboarding actions for new users ('Try saying open Firefox'), and provides adapter effectiveness scores to help the system choose the best detection path.
Data Flow
Capability invocations → learning runtime records → analyzes patterns → suggests onboarding actions
Dependencies
Internal (1)
External (7)
tokio workspaceserde workspaceserde_json workspacetracing workspacethiserror workspaceasync-trait workspacechrono workspace
Depends on pcp-core. Part of PCP v4.2 §16.