# 🛰️ /ork:ci-sentinel — cost & coverage simulator

Tune the cost model parameters and see your projected monthly token spend vs. CI-debug sessions reclaimed. Defaults come from the 275-session insights audit (2026-05-16). SKILL.md

## 📐 Inputs

Repos to install on
Avg open PRs with failures per sweep
Tokens per /ci-debug analysis
Cost per million tokens (USD, Sonnet blended)
Manual ci-debug sessions/month (from insights)
Minutes per manual session

## 📊 Projection

Sweeps per repo per month | —
Total analyses per month | —
Tokens per month | —
Cost per month | —
Daily budget headroom | —
Hours of manual work reclaimed | —
Verdict | —

## ⏰ Hour-by-hour sweep schedule (one repo)

—

## 🚦 Hard rules baked in (v1)

Rule | Enforced by
--- | ---
Never auto-push a fix — propose only | The skill itself; workflow only calls `gh pr comment`, never `gh pr merge`
Idempotent on SHA — no duplicate verdicts | Marker `<!-- ork:ci-sentinel sha=<short> -->` scanned before posting
Daily token ceiling | `ORK_SENTINEL_DAILY_TOKEN_BUDGET` checked first step of workflow
Per-PR wall-clock cap | `ORK_SENTINEL_PER_PR_TIMEOUT_S` wraps `claude -p --bare` in `timeout`
Concurrency-safe | GHA `concurrency.group`; new sweeps don't cancel running ones