Locked. Phase 1 of 3 is built and ready to run as a production-ready scaffold.

Download ot-cli (Phase 1)


What you just got (Phase 1 deliverables)

A ship‑ready scaffold that compiles, runs, saves state, and exports a portfolio trace. It includes safe mock adapters for Claude Code and Claude‑Flow (with no external calls).

ot-cli/
├─ package.json                    # CLI bin → dist/bin/ot.js
├─ tsconfig.json                   # ES2020, NodeNext ESM
├─ bin/ot.ts                       # CLI entry (commander)
├─ src/
│  ├─ app/
│  │  ├─ GameLoop.ts               # main loop + Phase 1 scenes
│  │  └─ SceneRouter.ts            # identity chooser (veteran/newcomer)
│  ├─ ai/
│  │  ├─ ClaudeCodeClient.ts       # mock: analyze, gitPlanAndApply, runTests
│  │  └─ ClaudeFlowClient.ts       # mock: init, swarmSpawn, streamChain, verifyTrain
│  ├─ persistence/
│  │  ├─ StateStore.ts             # ~/.ot-cli/state.json
│  │  └─ TrailMemory.ts            # ~/.ot-cli/trail_memory.jsonl + export
│  ├─ ui/
│  │  └─ TUI.ts                    # banner/panel + status helpers
│  ├─ curriculum/
│  │  └─ Lessons.ts                # starter lesson + evidence helper
│  └─ types/
│     └─ index.ts                  # game types (state, swarm, supplies, etc.)
├─ README.md                       # usage + notes
├─ LICENSE (MIT)
└─ .gitignore

Commands (Phase 1)

State & memory

Safety stance