| name | tbm-play-gate |
| description | Thin Codex wrapper for TBM Play-Gate. Use when LT asks Codex to run, inspect, or summarize the Play-Gate quality check for one JJ or Buggsy route. Delegates to the repo's canonical Play-Gate contract in `C:\Dev\tbm-apps-script\.claude\skills\play-gate\SKILL.md` and related `ops/` artifacts instead of duplicating rubric or verdict logic. |
TBM Play-Gate
This is a Codex adapter, not a second source of truth.
The canonical workflow lives in the active TBM repo at C:\Dev\tbm-apps-script\.claude\skills\play-gate\SKILL.md.
Before acting
- Use
C:\Dev\tbm-apps-script as the repo root.
- Read
C:\Dev\tbm-apps-script\.claude\skills\play-gate\SKILL.md.
- Load only the supporting artifacts you need:
C:\Dev\tbm-apps-script\ops\play-gate-rubric.v1.json
C:\Dev\tbm-apps-script\ops\play-gate-profiles.json
C:\Dev\tbm-apps-script\ops\play-gate-verdict.schema.json
C:\Dev\tbm-apps-script\scripts\play-gate.js
C:\Dev\tbm-apps-script\tests\tbm\play-gate\play-gate.spec.js
Invocation
- From
C:\Dev\tbm-apps-script, JJ route: node scripts/play-gate.js --route <route> --child jj --mode fixture
- From
C:\Dev\tbm-apps-script, Buggsy route: node scripts/play-gate.js --route <route> --child buggsy --mode fixture
Validation
Before relying on this wrapper, verify these files exist:
C:\Dev\tbm-apps-script\.claude\skills\play-gate\SKILL.md
C:\Dev\tbm-apps-script\ops\play-gate-rubric.v1.json
C:\Dev\tbm-apps-script\ops\play-gate-profiles.json
C:\Dev\tbm-apps-script\ops\play-gate-verdict.schema.json
C:\Dev\tbm-apps-script\scripts\play-gate.js
C:\Dev\tbm-apps-script\tests\tbm\play-gate\play-gate.spec.js
If any are missing, treat the wrapper as stale and say so explicitly instead of guessing.
Adapter rules
- Do not copy the rubric, profiles, or decision rules into this wrapper. Read the repo copies.
- If the user asks for legacy
play-jj or play-buggsy, map that request to the same CLI with the matching --child value.
- If the user wants a verdict summary, report the actual
ship_decision, blockers, surrogate criteria, and evidence path.
- Do not invent a verdict. Run the CLI or read an existing verdict artifact.
- If the canonical Claude skill changes, update this wrapper only when trigger metadata or Codex-only adapter notes drift.