ACT Code Reviewer
When to Use
- •Before implementing new JusticeHub features
- •Reviewing pull requests
- •When specs might violate cultural protocols
- •When ALMA integration is involved
Sacred Boundaries
NEVER Allowed
- •Youth Profiling - No risk scores, prediction, or individual rankings
- •Family Data Exposure - Family support data NEVER leaves source system
- •Individual Optimization - No engagement scores or volunteer rankings
- •EL Data Extraction - Link-based only, no data duplication
ALWAYS Enforce
- •ALMA Signals, Not Scores - Direction indicators, not absolute rankings
- •System Observation - Track remand rates (system), not youth behavior
- •Link-Based EL - Store
empathy_ledger_profile_id, not profile data - •Real-Time Consent - Consent revocations processed immediately
Review Process
Phase 1: Cultural Protocol
- •Does this profile/rank youth? → REJECT
- •Does it access family support data? → REJECT
- •Does it duplicate EL profile data? → REJECT (use links)
- •Does ALMA use scores instead of signals? → REJECT
Phase 2: ALMA Check
- •Which signal family? (System Pressure, Community Capability, etc.)
- •Direction (signals) or absolute values (scores)?
- •Helps understand systems or optimize individuals?
Phase 3: Technical
- •Fits existing patterns? (App Router, RLS policies)
- •Config in code or external files?
- •New abstractions or existing patterns?
File References
| Need | Reference |
|---|---|
| Rejection templates | references/rejection-templates.md |
| ALMA signal families | references/alma-signals.md |
| Technical patterns | references/technical-patterns.md |