jian935

Release Contract — AI skill for Claude Code

AI community

Deterministic, auditable per-segment release gates for AI products: which traffic can ship, which needs a human, and what forces a rollback.

How to install Release Contract

This entry records only its repository, not the path inside it, so there is no exact command to give. Open jian935/release-contract and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Release Contract does

Deterministic, auditable per-segment release gates for AI products: which traffic can ship, which needs a human, and what forces a rollback.

Alternatives in AI

  • Tokentap — Intercept LLM API traffic and visualize token usage in a real-time terminal dashboard 763 ★
  • Component To Release Agent — Chains design-to-code, accessibility and token-compliance checks (three release gates), then the AI descriptio 194 ★
  • Ooda Subagents — OODA Loop AI Agents - Observe, Orient, Decide, Act framework for systematic problem-solving 170 ★

README

release-contract

Decide which traffic segments of an AI product the offline evidence is strong enough to release to — deterministically, with every gate visible.

![release-contract running the four-step flow in a real console](assets/demo-recording.gif)

_A real screen capture of one run on Windows 11 — console window only, nothing staged. `assets/demo-recording.json` records the SHA-256 and exactly what was cropped or scaled._

![release-contract deciding a synthetic demo contract](assets/demo.gif)

_This second one is re-rendered from live command output instead of captured, so the self-check can fail when the engine changes without it._

Version: 0.3.0 · MIT · [中文说明](README.zh-CN.md)

Design decisions: [DESIGN.md](DESIGN.md) · Changelog: [CHANGELOG.md](CHANGELOG.md)

Not an eval framework: it does not measure quality. It decides where the existing evidence justifies letting the model act alone.

Scope

Upstream, `complaint-to-eval` answers "what should we test"; this skill answers "can we ship". They are complementary: one produces case candidates, the other decides whether the evidence is strong enough to release.

Why

One headline eval number cannot answer a launch question. A contract splits traffic into segments and asks, per segment: automate, fence, or wait? Averaging everything into one green score hides the expensive blind spot.

Offline results must be reported as raw counts. At n=30, successes=30 the observed rate is 1.000, but the Wilson lower bound is 0.8865 — below the 0.9 bar — so zero observed failures is still not proof. Two segments with the same 0.970 point estimate can get opposite verdicts purely because their interval widths differ.

n successes observed Wilson lower
30 30 1.000 0.8865
400 388 0.970 0.9483
1000 970 0.970 0.9575

30-second example

Start from a valid template, replace the counts, decide:

python -m release_contract.cli init -o contract.json    # n=