spectastic Examples
Docs Knowledge Extended GitHub
Examples

Worked examples

Not screenshots — real builds. Each example is driven end to end through the spectastic lifecycle, artifacts and all, so you can read exactly how the decisions were made.

Build-along● Live

Over-engineered tic-tac-toe

A tic-tac-toe you can't beat — six AI opponents from Random to Monte Carlo Tree Search, on boards from 3×3 to 5×5, two- and three-player. Watch every decision get driven through principles, spec, design, tasks, a verification pass that proves the perfect players never lose, a triage log that closes a real defect, and a change proposal — applied — that grows the board.

Read the build → ▷ Play the game
Multi-specJava + Quarkus● Verified

A portfolio engine in Java

Real-time positions, portfolio weights, and FIFO/LIFO tax lots — a trading-desk backend in Java 21 + Quarkus, too big for one spec. Watch spectastic decompose it into an umbrella and four slices, drive it to a verified terminal state, and prove it with a passing suite — not a toy. Includes a FIFO-vs-LIFO calculator, the real code, and the mvn verify run.

Read the build → ▷ Try FIFO vs LIFO
Extended verbexplore● Graduated

Vibe to learn, spec to keep

The other examples start where you know what you're building. This one starts where you don't. Watch explore quarantine a throwaway shortest-path spike — build BFS and Dijkstra loosely to learn that “shortest” means least weight — with the lifecycle refusing to ship it until it graduates as a tracer-bullet. Includes a live BFS-vs-Dijkstra pathfinder and the anti-ship guard going red.

Read the build → ▷ Try the pathfinder
Knowledge corpusWCAG 2.2● Grounded

I know kung fu

A design needs one domain fact — the minimum touch-target size — and a model guesses wrong: 44px, not the AA floor of 24. Watch a knowledge corpus correct it, live: a decision flips from a loud ASSUMED guess to a verified, edition-pinned citation. Includes an “I know kung fu” toggle and the real validate gates going green.

Read the build → ▷ Show me
Knowledge corpusChange managementRust● Applied

As of when?

A cash balance is a question about time. Point-in-time IBOR/ABOR snapshots grounded on a settlement corpus — then US equities move T+2 → T+1, the corpus supersedes its edition, and a propose → apply change re-grounds the spec. A Rust engine, proven by cargo test; includes a live as-of timeline across the 28 May 2024 cutover.

Read the build → ▷ Show me
Spec anatomy

Session token rotation

A single, focused spec rendered in the house style — status meta, budget gauges, requirements, a decision, and an options table. The anatomy of one artifact, up close.

Read the spec →
Enterprise● Live

Per-tenant rate limiter

A production-shaped feature at enterprise rigor — SLOs on every NFR, an eight-category enforcement floor, grounded decisions, and umbrella slices. Plus a simulator: watch a burst get shaped by a token bucket vs. a sliding window.

Read the build →
Read the docs →

Every example is one or more self-contained HTML files. Open them anywhere.