Version: 1.0.0Documentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
Last Updated: 2026-03-20
Spec: HR-10 Performance Management
Constitution Reference: Section 1.2 (Core Independence), Section 1.3 (Integration Patterns)
Overview
HR-10 manages performance reviews, goals, and improvement plans. It publishes events for completed reviews, goal completion, and PIP terminations, and integrates with LO-11 (Unified Goals & Actions), HR-15 (Compensation), and HR-16 (Succession Planning).Integration Points
Platform Foundation (PF) Dependencies
Required PF Features:- PF-08 (Forms): Performance review forms, feedback forms, PIP forms
- Integration Type: Platform Integration Layer (
@/platform/forms)
- Integration Type: Platform Integration Layer (
- PF-10 (Notifications): Review reminders, feedback requests, PIP updates
- Integration Type: Platform Integration Layer (
@/platform/notifications)
- Integration Type: Platform Integration Layer (
- PF-11 (Documents): Review documents, feedback summaries, PIP documentation
- Integration Type: Platform Integration Layer (
@/platform/documents)
- Integration Type: Platform Integration Layer (
Consumer Core Dependencies (Downstream)
Internal HR Features:- HR-15 (Compensation): Performance ratings for merit increases
- HR-16 (Succession Planning): Performance ratings for talent identification
- LO-11 (Unified Goals & Actions): Goal alignment and organizational goal progress
Event Contracts
Event: hr_performance_review_completed
Publisher: HR (HR-10)Subscribers: LO-11 (Unified Goals & Actions), HR-15 (Compensation), HR-16 (Succession Planning)
Status: 📝 Planned Purpose: Notify other systems of completed reviews for goal alignment, compensation planning, succession planning Payload Schema:
Event: hr_performance_goal_completed
Publisher: HR (HR-10)Subscribers: LO-11 (Unified Goals & Actions)
Status: 📝 Planned Purpose: Update organizational goal progress when employee goals complete Payload Schema:
Event: hr_performance_improvement_plan_terminated
Publisher: HR (HR-10)Subscribers: HR-03 (Offboarding), HR-14 (Employee Relations)
Status: 📝 Planned Purpose: Trigger offboarding or employee relations case when PIP fails Payload Schema:
Events Consumed
hr_employee_hiredfrom HR-09 (ATS) - Create initial performance goalsgoal_createdfrom LO-11 (Unified Goals & Actions) - Link to employee goals
API Contracts
API: Performance Review Export
Endpoint:/api/v1/hr/performance/reviews/:id/exportMethod: GET
Provider: HR (HR-10)
Consumers: PF-12 (Reports)
Status: 📝 Planned Purpose: Export performance review as PDF document Request/Response Schema: Returns PDF document
Platform Integration Layer Usage
Consumes Platform Integration Layers:- PF-08 (Forms): Review forms, feedback forms, PIP forms via
@/platform/forms - PF-10 (Notifications): Review reminders, feedback requests via
@/platform/notifications - PF-11 (Documents): Review documents, feedback summaries via
@/platform/documents
Security Considerations
Multi-Tenancy
- ✅ RLS Enforcement: All
hr_performance_*tables filtered byorganization_idvia RLS policies
Role-Based Access Control
- ✅ HR Admin: Full access to all performance data
- ✅ Manager: View and manage performance for direct reports
- ✅ Staff: View own performance reviews and goals only
Data Protection
- ✅ PII Handling: Performance reviews may contain sensitive employee information; access controlled via RLS
- ✅ Audit Trail: All performance review changes logged via PF-04
Testing Requirements
- Event payload structure validation
- Event fires on trigger condition (review completion, goal completion, PIP termination)
- Correct
organization_idincluded in all events - Subscribers handle events correctly (LO-11, HR-15, HR-16, HR-03, HR-14)
- RLS policies enforce org isolation on performance queries