Something went wrong. Try again.
An agentic programming framework for people that don't trust an AI agent
Something went wrong. Try again.
README.md
# `skepticism` evaluation harness
This directory verifies the plugin itself — applying the plugin's own doctrine to
its own machinery: **deterministic and ungameable first, expensive LLM judgment
second, and never a moot assertion.** The design is adapted from Anthropic's
`skill-creator` (trigger evals + A/B grading) and obra/`superpowers`' `quorum`
(scenario dirs + dual-witness grading of a real agent run).
## The three tiers
| Tier | What it proves | How | Cost / CI |
|------|----------------|-----|-----------|
| **0 — script tests** | The deterministic scripts (`gate-check`, `red-check`, `det-gate`, `leak-check`, `context-pack`, `state`, `consolidate`, `package-diff`) behave exactly as the phases depend on | `bash`+`python3` unit tests with fixtures & fake runners — no language runtimes needed | **CI-safe, fast, ~100% solid** |
| **1a — per-agent behavioral** | Each adversarial subagent catches the flaw it exists to catch, in isolation | Dispatch one subagent at a planted-flaw fixture; dual-witness grade | Needs API; **not CI** |
| **1b — full-workflow** | The controller chains the phases, wires the scripts, and holds Iron Rule 1 | Drive `/skeptic:coding` headlessly; assert on the session transcript | Needs API; slow; **not CI** |
| **2 — triggering** | Each skill fires on the right prompts and not on near-misses | Headless `claude -p`, inspect whether the skill was invoked | Needs API; **not CI** |
**Why the split:** Tier 0 is the ungameable spine and runs on every commit. The
LLM tiers are non-deterministic and cost real money, so — exactly like both
reference harnesses — they stay out of public CI and are run by hand or on an
eval host. Public CI must never carry API keys or live agent runs.
## Dual-witness grading (Tiers 1a/1b)
A scenario passes only if **both** witnesses agree:
1. **Deterministic** (`checks.sh` → `pre()`/`post()`): mechanical facts — verdict
parsed as `fail`, working tree clean, files present, no source edited. Uses
`lib/checks-lib.sh`.
2. **Semantic** (`lib/grade.md`, an LLM …