Side project / 05

Staffing Risk Agent

Keep the arithmetic in code.

Overview

Staffing analysis combining deterministic calculations and bounded AI matching.

Key capabilities

  • Reconcile mock staffing, project, and sales data into a reviewable risk summary.
  • Match possible follow-on opportunities with a bounded model call.
  • Retain deterministic findings when model output is missing or rejected.

Under the hood

Technical decisions

Bound the model’s job

Code owns calculations. The model handles ambiguous matching, and proposed follow-ons stay review questions until their timing and team are known.

Inspect the decision

Run metadata records model dispositions and rejection reasons. Fixed evaluation fixtures exercise the matching boundary.

Current limitations

Uses mock source data. There is no persistent deduplication, so unchanged findings can recur. A sales close date does not establish a delivery start date.

Stack

  • Deno
  • TypeScript
  • OpenAI