skill-eval-assurance-runner
Evaluate and assure agent skills using small-N Wilson confidence intervals, unbiased pass^k reliability, deterministic trajectory graders, preflight boundary honesty, and sealed digest verification. Do not use for subjective prose review or unconstrained production deployment.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- skill-eval-assurance-runner
- description
- Evaluate and assure agent skills using small-N Wilson confidence intervals, unbiased pass^k reliability, deterministic trajectory graders, preflight boundary honesty, and sealed digest verification. Do not use for subjective prose review or unconstrained production deployment.
02 资源文件 3
- 参考文档CARD.md2.2 KB
- 参考文档config.default.yaml175 B
- 脚本scripts/skill_eval_assurance_engine.py5.0 KB
03 SKILL.md 正文
Skill Eval Assurance Runner
skill-eval-assurance-runner codifies the small-sample statistical rigor, deterministic trajectory grading, static boundary honesty, and content-addressed release verification distilled from microsoft/waza (v0.41.0).
See CARD.md for the companion summary card and mandatory invariants checklist. Consult config.default.yaml for baseline statistical/grader defaults and ../self-evaluating-ai-pipeline/SKILL.md for golden regression workflows.
1. Small-Sample Statistics & Reliability
Measure 3-to-10-trial agent evaluations without normal-approximation collapse:
- Wilson Score Confidence Intervals (
compute_wilson_ci): Bound binary pass rates strictly inside[0.0, 1.0]with reliable coverage at small N (3-10trials). - Unbiased $\tau$-bench
pass^k(compute_pass_hat_k): Compute $\binom{s}{k} / \binom{n}{k}$ sequentially instead of biased $p^k$ exponentiation. - Hake Normalized Gain (
compute_hake_normalized_gain): Scale improvements relative to headroom $(1 - \text{pre})$ so gains from0.90 -> 0.95register properly.
Completion criterion:
ConfidenceIntervalResultand scalar reliability metrics returned in[0.0, 1.0].
2. Deterministic Trajectory & Constraint Graders
Grade recorded tool call sequences deterministically prior to expensive LLM judges:
- Action Sequence Grader (
grade_action_sequence): Evaluateactual_actionsagainstexpected_actionsusingexact_match,in_order_match, orany_order_match, returning multiset Precision, Recall, and F1. - Tool Constraint Grader (
grade_tool_constraints): Enforceexpect_tools,reject_tools, andallow_onlyregex rules (case-insensitive) over observed tool invocations.
Completion criterion:
ActionSequenceGradeandToolConstraintGradeproduced with explicit violation diagnostics.
3. Preflight Boundary Honesty & Sealed Digests
Separate declared intent from runtime proof and detect tampered artifacts:
- Boundary Honesty (
audit_preflight_boundary): Mark static.agent.mdtool allowlists (requested-allowlist/requested-deny-all) and post-run boundary graders explicitly asunresolveduntil runtime denial/side-effect evidence is verified. - Canonical Digest Verification (
seal_json_envelope,verify_sealed_envelope): Compute SHA-256 over compact sorted JSON after stripping"digest", and compare in constant time before admitting evaluation receipts.
Completion criterion:
PreflightBoundaryFindingnever overclaims runtime enforcement;SealedEnvelopeCheckvalidates integrity.
The Three Foundational Pillars
1. Small-N Statistical Honesty
Use Wilson intervals and exact combinatorial pass^k estimators instead of fragile normal approximations on 3-to-10-trial agent evals.
2. Static Intent Is Not Runtime Enforcement
Treat preflight boundary declarations and post-run graders as unresolved pointers requiring runtime evidence, never as preventive security proofs.
3. Tamper-Evident Canonical Envelopes
Strip "digest" cleanly and hash sorted canonical JSON before admitting release or eval envelopes.
Anti-Patterns
- Normal-Approximation Intervals at N <= 10 — Using
p +/- z * sqrt(p(1-p)/n)at small sample sizes produces bounds outside[0, 1]and collapses atp = 0orp = 1; always usecompute_wilson_ci(). - Biased Power Exponentiation for Pass^k — Computing
(s/n)^koverestimates multi-run consistency; use combinatorialC(s, k) / C(n, k)viacompute_pass_hat_k(). - Equating Frontmatter Allowlists with Sandboxing — Treating a static
tools:allowlist or post-run grader as preventive security proof masks uninspected runtime side effects. - Accepting Unsealed or Unverified Receipts — Admitting JSON release bundles without recomputing canonical SHA-256 over keys excluding
"digest"breaks lineage integrity.
04 同仓库更多 Skills
ui-behavior-primitive-architect
Architect, audit, and verify zero-dependency headless UI behavior primitives, WebMCP agent bridges, WAI-ARIA/SSR/RTL tri-modal checks, and framework expert routing. Do not use for static CSS theme styling or backend database migrations.
trustgraph-ontology-governor
Govern knowledge graphs, SHACL-AF triple policies, OntologyRAG subclass validation, PROV-O dual named graphs, and Laya entropy decision scoring. Do not use for relational SQL queries or generic web scraping.
shim-harness-governor
Govern universal CLI agent loops, 4-tier tool permissions, ancestor-symlink workspace sandboxes, deterministic-first command routing, collision-safe MCP namespacing, and layered skill loading. Do not use for static UI styling or external SQL analytics.
graphiti-zep-memory-governor
Govern bi-temporal knowledge graphs with Graphiti future-edge clamping, MinHash/LSH entity dedup, RRF/MMR reranking, and Zep typed ontologies. Do not use for static SQL joins or generic web crawling.
agora-mcp-workbench-architect
Architect, audit, and orchestrate Agora Workbench MCP servers, loopback sidecars, unified state graphs, gateway/dispatcher connectors, and policy-enforced data lakes. Do not use for static frontend CSS styling or non-MCP desktop GUI automation.
ontology-spider
Query, traverse, validate, and explain Brain Harness knowledge vaults and domain ontologies using formal logic reasoning. Do not use for fuzzy text search or ungrounded vector clustering.