Skip to main content
Glama
oracle-playtest-gate
by paul1064

Oracle Playtest Gate (oracle-playtest-gate)

Zero-Dependency Stateful Fresh-Eyes UX QA, 710k-nodes/sec BFS/A State-Space Trap Explorer, Brier-Calibrated Sovereign Triad CI Gate, SEP-1865 MCP App & Dual-Rail x402/Stripe Cloudflare Edge Worker.*

Node >= 20 Zero Dependencies MCP App SEP-1865 License: MIT

Standard DOM linters and single-agent self-reviews miss stateful UX traps (dead-end sub-modes, QWERTZ dead-key shortcuts, terminal focus loss, unvalidated form sentinels) and collapse under autonomous iteration via echo-chamber collusion and Goodhart drift.

oracle-playtest-gate ships 7 production-tested Agent Skills, a unified zero-dependency CLI (opg), an interactive MCP App State-Graph & Playtest Inspector, and a Cloudflare Edge Worker with dual-rail Stripe (€19/mo) + x402/Stripe MPP ($0.02/audit) billing.


1-Line Install (skills.sh / Agent Skills)

Install all 7 skills directly into Claude Code, Antigravity, Cursor, Codex, or Windsurf:

npx skills add paul1064/oracle-playtest-gate

Or run the CLI / MCP server directly with Node.js >= 20 (zero external npm packages required):

git clone https://github.com/paul1064/oracle-playtest-gate.git
cd oracle-playtest-gate
node bin/oracle-playtest-gate.mjs --help
npm test

Related MCP server: Wraith

Included Skills & Zero-Dependency Engines

Skill (skills/*)

CLI Subcommand

What It Verifies

blind-playtest-audit

opg playtest <html|dir> [--json]

Fresh-Eyes UX & anti-slop HTML/JS linter: dead links (href="#"), unvalidated BITTE-WÄHLEN/SELECT-OPTION sentinels, QWERTZ ` traps, dblclick selection leaks, terminal focus loss, unlabeled icon buttons, and unbalanced orphan grids. Pairs cleanly with microsoft/playwright-mcp & Nutlope/hallmark.

oracle-first-exploration

opg explore <adapter.mjs> [--mode bfs|astar]

Parallel BFS & A* headless state-space explorer (~710k nodes/sec, >16.7M sharded states, SHA-256 crash-safe .ck/.bak checkpoints) + @oracle/core exploreOracle trap/decoy/dead-action graph engine & SelfImproveVault SHA-256 invariant guard.

variant-arena

opg arena --candidate a="..." --candidate b="..."

Interleaved warmup + multi-round median-latency benchmark gated on hard exit-code + --stdout regex signals.

brier-calibration-loop

opg calibrate <predictions.jsonl>

Paper-before-Real gate computing Brier score & brier_delta vs. reference baselines; quarantines coin-flip/unbounded-loss categories.

si-algo

opg si-algo evaluate <session.json>

Sovereign Integral Gate: Proposal x Syzygos Critique x Independent Verifier triad with lexical/zero-critique collusion detection & Goodhart drift veto.

magic-patch-packager

opg pack-magic --repo . --out ./deliveries ...

Packages verified MagicNNN/ delivery bundles (REPORT.md, changes.patch, files/, ledger.md) using isolated GIT_INDEX_FILE + git apply --check and secret-free diff scanning.

repo-xray

opg xray . [--json] [--svg map.svg]

Sub-second read-only repository hotspot, CI, skill SHA-256 invariant, and redacted secret scanner with POSIX / paths and Archify/Graphify-style SVG diagram export.


MCP Server & Interactive MCP App

Add oracle-playtest-gate to your mcp_config.json (Antigravity, Claude Desktop, VS Code Copilot, Goose):

{
  "mcpServers": {
    "oracle-playtest-gate": {
      "command": "node",
      "args": ["/path/to/oracle-playtest-gate/src/mcp-server.mjs"]
    }
  }
}

Deterministically Sorted Tools (Prompt-Cache Safe)

  • brier_calibrate — Evaluate settled JSONL predictions (REAL_ELIGIBLE / PAPER_ONLY / REVERT_OR_DROP).

  • open_playtest_inspector — Launch the interactive SEP-1865 MCP App (ui://oracle-playtest-gate/inspector.html, MIME text/html;profile=mcp-app) in inline or side-pane mode.

  • oracle_explore_state — Explore declarative finite-state machines and render interactive Start / Explore / Goal / Trap / Decoy graphs.

  • playtest_audit_html — Run Fresh-Eyes UX & anti-slop audits on HTML/JS markup and inspect findings visually.

  • repo_xray_map — Generate repository hotspot & hygiene maps + deterministic SVG architecture cards.

  • si_triad_gate — Score adversarial Proposal x Syzygos x Verifier sessions with Brier/Goodhart drift protection.


Cloudflare Edge Gate (worker/ — Dual-Rail Stripe + x402 / MPP)

Deploy zero-LLM-token playtest, triad, and calibration gates to Cloudflare Workers (>95% margin):

  1. Copy worker/.dev.vars.example to worker/.dev.vars and set your secrets.

  2. Deploy with Wrangler:

    npx wrangler deploy --config worker/wrangler.jsonc
  3. Dual-Rail Access:

    • Human Teams (€19/mo): Subscribe via POST /api/billing/checkout (Stripe Checkout) and authenticate with Authorization: Bearer <license_token>.

    • Autonomous Agents ($0.02/audit): Unauthenticated calls to POST /api/v1/audit/{playtest,triad,calibrate} receive a standard HTTP 402 Payment Required challenge supporting x402 USDC (X-Payment) and Stripe Machine Payments Protocol (X-Stripe-MPP-Receipt).


Pro Packs, Playbooks & Upgrades

Support open-core development and unlock ready-to-run team templates, multi-agent playbooks, and production bundles on nobis23.gumroad.com:


License

MIT © 2026 paul1064

Available Tools

6 tools
brier_calibrateA

Evaluate settled prediction records (JSON array) using Brier score, brier_delta vs baseline, and Paper-to-Real eligibility.

Inputs: records (required), minSettled.

open_playtest_inspectorC

Open the interactive Oracle Playtest & State-Graph MCP App inspector with live trap/decoy exploration and UX audit.

Inputs: includeSampleBugs.

oracle_explore_stateA

Run headless BFS state-space exploration on a declarative finite-state spec or preset, detecting shortest goal path, traps, decoys, and dead actions.

Inputs: maxDepth, maxNodes, transitions, initialState.

playtest_audit_htmlB

Audit HTML/JS source for Fresh-Eyes UX traps (dead links, QWERTZ dead-key shortcuts, terminal focus loss, unvalidated placeholders, and anti-slop layout issues).

Inputs: html (required), fileName.

repo_xray_mapB

Generate a read-only repository hotspot, CI, skill invariant, and redacted secret map (plus optional SVG diagram).

Inputs: directory, includeSvg.

si_triad_gateB

Evaluate a Proposal x Syzygos Critique x Independent Verifier triad session with collusion detection and Brier/Goodhart drift gating.

Inputs: session (required), history, loopMode, minSettled.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 6 tools

    Disambiguation4/5

    Most tools have clearly distinct inputs and outputs: calibration on prediction records, triad gating on session artifacts, HTML auditing, repo mapping, and state exploration. brier_calibrate and si_triad_gate both perform evaluation/gating, and playtest_audit_html and repo_xray_map both audit artifacts, but their scopes are sufficiently differentiated.

    Naming Consistency3/5

    All names use snake_case and are readable, but structural patterns vary: verb-first (open_playtest_inspector), noun-verb (brier_calibrate, oracle_explore_state, playtest_audit_html), and noun-compound (repo_xray_map, si_triad_gate). There is no consistent verb_noun convention across the set.

    Tool Count5/5

    Six tools is a well-scoped size for a specialized playtest/gating suite, with each tool representing a distinct capability. The set avoids both redundancy and extreme thinness.

    Completeness4/5

    The surface covers interactive exploration, headless state analysis, HTML UX auditing, repository mapping, Brier calibration, and triad gating, which spans the apparent evaluation lifecycle. Minor possible gaps include consolidated reporting or preset/config management, but core workflows are represented.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP-compatible clients to access model registry, prediction logging, drift detection, bias/fairness auditing, compliance and governance queries, explanation generation, LLM/RAG monitoring, content safety, alert management, multi-agent workflow tracking, and performance metrics through 197 tools across 18 domains. Supports stdio and hosted Streamable HTTP transports, plus MCP Apps interactive audit cards.
      52 PyPI
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables coding agents to run scope-checked probes of MCP endpoints, analyze tool definitions for poisoning and dangerous capabilities, detect definition drift, and generate reproducible evidence bundles and bounty-ready reports.
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Audit MCP tool schemas, multi-agent delegation graphs, behavioral drift, regulatory bias (EEOC/ECOA/COPPA/EU AI Act), and OTel cost/latency traces from your IDE or CLI. Includes 3 free offline static auditors (no API key), sub-250ms inline circuit-breaking, IPIP-NEO-120 cohorts, stress testing, chaos fixtures, and signed EU AI Act, NIST RMF & SOC 2 compliance dossiers.
      2
      12
      403 npm
      1
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Exposes thirty callable tools that let any MCP client audit server manifests, detect poisoned tool descriptions, config files and long-term memory, catch tool rug-pulls, check known vulnerabilities and package authenticity, and statically screen tool code for SSRF, path traversal and command injection risk. It also simulates whether a proposed agent action should auto-approve or be held for human review.
      MIT