HR product MCP governance
Collaboration plane: Specialized skill — phase 6 only after human tradeoffs recorded. Distinct from Harness HITL (@hr-human-collaboration).
Use this skill when
- Editing
lib/copilot/(catalog, transport, governance config) - Adding or changing tools in
COPILOT_TOOL_CATALOG - Wiring MCP stdio/websocket transport (Phase 3)
- Red-team or audit scenarios for cross-tenant tool calls
Do not use this skill when
- Configuring Cursor workspace MCP plugins (Prisma, Figma, etc.) — use
@protect-mcp-governanceon the IDE plane - MLOps inference routing only (
docs/ml/,services/ml-serving/) — use@hr-regulated-domainmlops L3 - T1/T2 work with no copilot or threat-model surface
Instructions
- Read hr-copilot-mcp.md and agent-mcp-threat-model.md.
- Catalog: Zod
inputSchema.parsebefore handlers; RBACpermissionfrom descriptor; no direct Prisma in handlers — reuselib/*withAuthContext. - Identity:
tenant_id/subject_idonly from JWT/session — never from model arguments. - Side effects: High-stakes mutations via
lib/governance/proposals + HITL — not raw tool execution. - Hybrid boundary: Cedar + shadow mode per transport-rollout.md; enforce only after shadow validation.
- Tests: Extend
tests/unit/copilot/mcp-tools.test.ts— unique names, read permissions, validation, unknown tool denial. - Update threat-model review checklist when adding tools.
Resources
- references/tier-mapping.md
- references/transport-rollout.md
- hr-regulated-domain product-mcp L3
- Global
@protect-mcp-governancefor Cedar/receipts at transport
Limitations
- Engineering controls only — not legal advice
- Transport may remain scaffold until Phase 3 exit criteria in
implementation-sequence.md