wishsmith-mcp
Officialby WishsmithAI
README.md
# Wishsmith AI — Multi-Engine Doubt Kit, Self-Healing QA & Dual-Target Game Pipeline (`v0.4.0`)
**Wishsmith AI** (`wishsmithai.ai` · `WishsmithAI/wishsmith-doubt-kit`) is a 100% offline, zero-fee, zero-login, zero-npm-dependency open-source **Multi-Engine Game QA & Auto-Repair Suite**, **9-tool stdio MCP server**, **132-check Mistake Museum**, **Offline HTML Diagnostic Studio**, and **Dual-Target Recipe Compiler** (`Godot 4.4.1 3D` + instant zero-install offline `HTML5 Canvas`).
External coding agents (**Claude Code**, **Codex**, **Cursor**, **Grok Bot**, **Antigravity**) and human indie creators can run one command — `wishsmith heal <project-dir>` or `wishsmith check <project-dir>` — against **ANY** supported game project:
- **Godot 4.x** (static XZ grounding, collision bitmask/Jolt/shader/COPPA checks, 5-ray physics raycast, real keyboard/gamepad bot, `$0` pixel sanity, multi-surface `snap_delta_y` auto-repair)
- **HTML5 / Canvas2D / WebGL / Three.js / Phaser** (live headless Chrome/Edge CDP over built-in Node `WebSocket`, canvas-cropped pixel sanity, DOM HUD Rect2 overlap/clipping, real click+keyboard wakeup & frame diff, `web_fixer.mjs` auto-repair — calibrated to **8/8 PASS, 0 false positives** on real open-source HTML5 games)
- **Unity (100% Offline Static)** (`.unity`/`.prefab`/`.meta` GUID graph, C# deprecated API & COPPA audit, deterministic YAML/C# auto-repair without Unity Editor or license)
- **Universal Media & 3D Assets** (glTF 2.0 / `.glb` CC0 pantry gate + pure-Node PNG texture `FC-TEX-01` and WAV audio `FC-AUDIO-01` hygiene)
## Visual Tour (Offline HTML Diagnostic Studio, Mistake Museum & Instant HTML5 Builds)
| One-Command Self-Heal (`BLOCK 65 → PASS 100`) | 132-Check Searchable Mistake Museum | Instant `--target web` HTML5 Game |
|---|---|---|
|  |  |  |
## Repository Structure
```text
wishsmith-doubt-kit/
├── bin/
│ ├── wishsmith.mjs # Offline Multi-Engine CLI entry point (v0.4.0)
│ └── wishsmith-mcp.mjs # Zero-dep stdio JSON-RPC 2.0 MCP server (9 tools, <=24 KB cap)
├── assets/
│ ├── pantry/ # 25 self-contained CC0-1.0 Kenney GLB models + binary glTF ingest gate
│ └── custom/ # Bespoke creator .glb override guide + starlight_obelisk.glb showcase
├── doubt-kit/ # Localized CLI validation, self-healing & reporting tools
│ ├── adapters/ # Multi-engine core (godot4, web_game CDP + web_fixer, unity_static + fixer, png_sanity, asset_hygiene)
│ ├── float-check/ # Static XZ/bitmask/Jolt/shader/web/COPPA/PNG/WAV + 5-ray raycast + $0 visual sanity
│ ├── playtest-bot/ # Real InputEventAction playtest bot (5 kits, remove_block & room round-trips)
│ ├── float-fix/ # Multi-engine auto-repair (Godot .tscn/.gd, Unity YAML/C#, HTML5 Web)
│ ├── heal/ # One-command closed-loop healer (check -> fix -> re-check -> HTML report -> <=8 KB brief)
│ ├── reporter/ # Self-contained offline HTML Diagnostic Studio (embedded PNG proof + Copy Fix Prompts)
│ └── gatekeeper/ # 6-axis pre-publish evaluator (structural, grounding, physics, safety, playability, visual)
├── mistake-museum/ # Self-expanding multi-engine regression & chaos dataset (132 live checks)
│ ├── CATALOG.html # Offline interactive searchable/filterable Mistake Museum encyclopedia
│ ├── CATALOG.md # GitHub-readable Mistake Museum catalog table
│ ├── known-failures/ # 94 failure traps across Godot 4, HTML5/Web, Unity, GLB, Assets & Recipes
│ ├── known-good/ # 19 positive false-positive guards across all engines & real-world Web idioms
│ └── broken-game-fixture/ # Deliberately flawed Godot build for chaos detection + auto-repair
├── recipes/ # Dual-target game generation schemas & 5 Technique Kits
│ ├── schema/ # wishsmith.recipe/1 & /2 schema + zero-dep validator
│ ├── compiler/ # Dual-target compiler: --target godot (Godot 4.4.1 3D) & --target web (instant HTML5)
│ └── templates/
│ ├── homeschool-portals/ # 3 playable v2 portals (Fractions Quarry, Biology Meadow, Reading Town)
│ ├── showcase-games/ # 3 playable v2 games (Bridge Lab, Botany Greenhouse, Lantern Keep bespoke GLB)
│ └── web-games/ # 2 standalone HTML5/WebGL games (Starlight Math Glider 2D, Voxel Island WebGL 3D)
├── wishbench/ # Reproducible WishBench-QA & WishBench-Portals harness + static site
├── pipeline/
│ ├── build-and-verify.sh # Tiered validation + delta testing + SHA-256 cache + --export web
│ ├── chaos-stress-test.mjs # 8-mutation cross-engine chaos suite (Godot + Unity + HTML5 Web)
│ └── verify-standalone-release.mjs # 15-gate decoupling, SPDX, pantry, MCP, handoff, compiler, Colab & museum audit
├── contrib/orchestrators/ # Turnkey Google Colab QA & Mistake Museum Lab (.ipynb), Tailscale SSH & Drive runners
├── handoff/ # HITL sandbox protocol (inbox/, outbox/, archive/)
├── .github/workflows/ # Free GitHub Actions CI (xvfb + Mesa llvmpipe visual gate + Web HTML5 export)
└── docs/
├── AGENT_ONBOARDING.md # Local install, MCP configs & error code glossary
├── LEGAL_AND_RELEASE_CHECKLIST.md # Trademark, COPPA-minimal & standalone split checklist (Gate K4)
├── research/ # Ecosystem gap analysis, RFCs, COPPA/CC0, 10-repo Godot & 8-repo Web audits
└── roadmap/ # Self-grade log, Carbon Review scorecard & 90-day roadmap
```
## 5-Minute Offline Quickstart
Prerequisites: **Node.js 18+** (built-in `WebSocket`/`fetch`/`zlib`), **Godot 4.4.1** (optional for static/Web/Unity checks, required for Godot `--tier full`/`visual`), and **Chrome/Edge/Chromium** (optional, required for live HTML5 Web CDP checks). Zero npm dependencies, zero API keys, zero logins.
```bash
# 1. Verify CC0 GLB pantry, all 6 v2 recipes, and the 9-tool stdio MCP server
node ./bin/wishsmith.mjs pantry-check
node ./bin/wishsmith-mcp.mjs --self-test
npm run validate:templates
# 2. Compile ANY wishsmith.recipe/2 game into an instant zero-install offline HTML5 browser game (<50 ms)
node ./bin/wishsmith.mjs compile ./recipes/templates/showcase-games/lantern_keep_courtyard.recipe.json --target web --out ./build-web/lantern_keep_courtyard
node ./bin/wishsmith.mjs report ./build-web/lantern_keep_courtyard --engine web --tier visual --out ./build-web/lantern_keep_courtyard/report.html
# 3. One-command closed-loop self-healing on ANY Godot 4, HTML5/Web, or Unity project
node ./bin/wishsmith.mjs heal ./mistake-museum/broken-game-fixture --dry-run --report ./heal-preview.html
# 4. Run the full 132-check Multi-Engine Mistake Museum + regenerate offline CATALOG.html
node ./bin/wishsmith.mjs museum-test --godot /path/to/godot_4.4.1_console --visual
node ./bin/wishsmith.mjs museum-catalog
# 5. Run reproducible WishBench-QA & the 15-gate standalone release audit
node ./bin/wishsmith.mjs wishbench --godot /path/to/godot_4.4.1_console --visual
node ./bin/wishsmith.mjs release-verify --godot /path/to/godot_4.4.1_console
```
See [docs/AGENT_ONBOARDING.md](./docs/AGENT_ONBOARDING.md) for external agent MCP configuration, error code glossary, HITL sandbox protocol, and bespoke creator art overrides ([assets/custom/README.md](./assets/custom/README.md)).
## Strategy, Research Papers, Audits & Benchmarks
| Document | Purpose |
|---|---|
| [Mistake Museum Encyclopedia (`CATALOG.md`)](./mistake-museum/CATALOG.md) | Live 132-check multi-engine bug catalog (open [`CATALOG.html`](./mistake-museum/CATALOG.html) offline for interactive search) |
| [Turnkey Google Colab QA Lab (`.ipynb`)](./contrib/orchestrators/wishsmith_colab_lab.ipynb) | One-click continuous multi-engine QA, HTML5 compilation & chaos mutation hunter in Google Colab |
| [External 10-Repo Godot Benchmark Audit (`Gate K2`)](./docs/research/EXTERNAL_BENCHMARK_AUDIT.md) | Live calibration across 10 real Godot 4 3D open-source projects (`303 -> 0` FP, `10/10` PASS) |
| [External 8-Repo HTML5 Web Benchmark Audit](./docs/research/EXTERNAL_WEB_BENCHMARK_AUDIT.md) | Live CDP calibration across 8 real open-source HTML5/Canvas games (`8/8` PASS, `0` false positives) |
| [Paper 01: GitHub Ecosystem & Gap Analysis](./docs/research/PAPER_01_GITHUB_ECOSYSTEM_AND_GAP_ANALYSIS.md) | 23-project / 5-paper taxonomy & Borrow/Build/Partner matrix |
| [Paper 02: Spatial Physics & Visual QA Architecture](./docs/research/PAPER_02_SPATIAL_PHYSICS_AND_VISUAL_QA_ARCHITECTURE.md) | Engineering RFCs (`RFC-01`..`RFC-06`): 5-ray grounding, bitmask/Jolt audit, real input bot, `$0` pixel sanity, 6-axis scoring |
| [Paper 03: Homeschool EdTech, COPPA & CC0 Assets](./docs/research/PAPER_03_HOMESCHOOL_EDTECH_COPPA_AND_CC0_ASSETS.md) | Market fit, zero-tracking single-threaded HTML5 Web export, Technique Kits, 25-model CC0 pantry |
| [Paper 04: Agent Distribution, MCP & WishBench-QA](./docs/research/PAPER_04_AGENT_DISTRIBUTION_MCP_AND_WISHBENCH.md) | `stdio` `wishsmith-mcp` schemas, dual-suite Mistake Museum & honest WishBench-QA formulas |
| [WishBench-QA & Portals Harness](./wishbench/README.md) | Reproducible deterministic baseline manifest + static GitHub Pages leaderboard generator |
| [Legal Pre-Flight & Release Checklist (`Gate K4`)](./docs/LEGAL_AND_RELEASE_CHECKLIST.md) | Trademark clearance packet, COPPA-minimal verification & standalone split runbook |
| [Contributing](./CONTRIBUTING.md) · [Security](./SECURITY.md) · [Changelog](./CHANGELOG.md) | How to add Mistake Museum cases, submit WishBench runs & version history |
| [Pre-Phase-5 Carbon Review Scorecard](./docs/roadmap/CARBON_REVIEW_SCORECARD.md) | Adversarial hardening audit (`96.7/100 A+`) & squashed defects |
| [Adversarial Self-Grade & Iteration Log](./docs/roadmap/SELF_GRADE_AND_ITERATION_LOG.md) | 4-round transparent critique + Kill Criteria |
| [Master 90-Day Roadmap](./docs/roadmap/MASTER_ROADMAP_90_DAY.md) | Reconciled 6-phase plan, `$0` CI budget, 8-risk register, and owner decision queue |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues