A Scala CLI for logging, tracking, and summarizing escalations across scholar support operations. Designed to keep high-stakes issues visible, accountable, and time-bound.
- Log escalations with owner, reason, severity, and due date
- List open/closed escalations with filters
- Close escalations and capture resolution time
- Summary rollups by status and severity
- Seed production with realistic starter data
- Scala 2.13
- Slick (PostgreSQL)
- sbt
Install dependencies:
sbt updateSet environment variables (do not hardcode credentials):
export PGHOST="db-acupinir.groupscholar.com"
export PGPORT="23947"
export PGDATABASE="postgres"
export PGUSER="ralph"
export PGPASSWORD="<password>"sbt "run -- help"
sbt "run -- init"
sbt "run -- seed"
sbt "run -- log --case-id GS-1001 --owner 'Ava Park' --reason 'Missing documentation' --severity high --due-date 2026-02-15 --notes 'Waiting on residency proof'"
sbt "run -- list --status open"
sbt "run -- close --id 1"
sbt "run -- summary"- Uses schema
escalation_consolewith tableescalations. - Run
seedin production to preload realistic data for dashboards and summaries.
sbt test