Works / Client work
The LLM only returns findings JSON
Triage, priority drafts, weekly reports. The model's job ends at shaping; weighting, SLA maths and rendering are plain code. Autonomy is set in four tiers, with exit criteria written first.
Client work: company name, specific numbers and screens are withheld.
- Role
- Design and implementation (one person + AI)
- Period
- May 2026 –
- Stack
- Node.js Python GitHub Projects GitHub Actions BigQuery Claude API Vercel Cron Slack
Tools
Claude CLI (file and shell tools disabled) Claude API
What AI did
Triage, scoring drafts, next-action suggestions, weekly report summaries and action items, minutes in the agency's tone.
What the human kept
Weighting and SLA logic, the autonomy tiers and exit criteria, anything sent externally or merged.
The problem
Requests pile up in a spreadsheet and sink. A backlog that only collects tells a lie: “we heard you”. The field learns that speaking up is pointless and stops.
Physically separated responsibilities
Collect
Meeting action items, Slack, commits. Deterministic
LLM
Triage, scoring drafts and next actions, returned as findings JSON
Render
Weights, SLA and rendering are code. The model never touches them
The model runs read-only with no file or shell access. The prompt states failure conditions explicitly: do not fabricate, keep facts and interpretation physically apart, do not output scores (code computes weights), do not write reminders.
Autonomy in tiers
| Tier | Meaning |
|---|---|
| T0 | AI acts on its own, read-only |
| T1 | Internal drafts, approved in batches |
| T2 | Approved case by case |
| T3 | Humans only: merge, release, external sends, production config |
Exit criteria come first: if draft acceptance falls below the bar, the job goes back to people. Five runaway guards: a deterministic prefilter, a cheap model, a daily cap, business-hours only, and alerts on consecutive failures. The same shape drives three marketing dashboards, where a weekly cron aggregates BigQuery, Claude writes action items, and Slack gets the summary.
Related
A triage agent that cannot go rogue
A small model classifies every Slack message from the field; only when needed does a large model investigate, read-only, and return JSON. Posting and ticketing are done by a deterministic policy engine alone.
TypeScript · Hono · Cloud Run · Cloud Tasks · Firestore