🚦 Reference

Platform Gates

Every platform has a specific set of required libraries, quality gate commands, and Verifier checks. The Planner reads the active template's .agent/ config to know which gates apply. The Builder must pass all platform gates before marking any task DONE.

Next.js / Web Platform

CategoryRequirement
FrameworkNext.js 15 (App Router)
RuntimeNode.js 22 LTS
LanguageTypeScript strict mode
StylingTailwind CSS v4 (or MUI v6 for admin templates)
TestingVitest (unit/integration) + Playwright (E2E + visual)
Gate commandpnpm agent:check (lint + types + test + build)
E2E gatepnpm agent:e2e
Visual gatepnpm agent:visual
Perf gatepnpm test:perf

Required Next.js Libraries (by category)

CategoryLibraries
Authnext-auth v5 (beta) with Prisma adapter
Database ORMPrisma 6 + PostgreSQL (production) / SQLite (dev)
ValidationZod ^3.23 (runtime + schema)
UI Componentsshadcn/ui (Radix primitives + Tailwind)
StateZustand ^5 (client) + React Query (server state)
EmailResend + React Email
PaymentsStripe v16 (webhooks required)
AnimationFramer Motion ^11
AIAnthropic SDK ^0.26 / Vercel AI SDK ^3

Tauri (Linux Desktop)

CategoryRequirement
FrameworkTauri v2
FrontendReact + Vite + TypeScript
StylingTailwind CSS v4
BackendRust (2021 edition)
Databasebetter-sqlite3 in WAL mode (PATTERN-004)
Rust test gatecargo test
Frontend test gatepnpm agent:check
Build gatecargo tauri build

Python Desktop (ML/Audio)

CategoryRequirement
GUIPySide6 ^6.7
MLPyTorch ^2.3 (CUDA/MPS/CPU auto-detection)
Package managerPoetry (pyproject.toml)
Configpydantic-settings (env-driven)
Test gatepytest
Lint gateruff check .
Type gatemypy .

Rust GTK4 (Linux Native)

CategoryRequirement
GUIgtk4 ^0.9 + libadwaita ^0.7
DesignAdwaita HIG (human interface guidelines)
AsyncTokio full runtime
Configserde_json + directories ^5.0
Error handlingthiserror (structured errors)
Test gatecargo test
Lint gatecargo clippy -- -D warnings
Build gatecargo build --release

Python CLI

CategoryRequirement
CLI frameworkTyper[all] ^0.12
OutputRich ^13.7
HTTPhttpx
Secretskeyring (OS keychain integration)
Configplatformdirs (user_config_dir)
Test gatepytest
Lint gateruff check .

Node.js CLI (AI-Powered)

CategoryRequirement
CLI frameworkCommander ^12
TUIInk ^5 (React-based terminal UI)
AIAnthropic SDK ^0.26
SecretsKeytar (OS keychain)
Test gatepnpm test (Vitest)
Build gatepnpm build (tsup)

Verifier Platform Checks

In addition to the standard QA phases, the Verifier performs platform-specific checks:

PlatformVerifier checks
Next.js webBundle size, Core Web Vitals, CSP headers, HTTPS enforcement
Tauri desktopApp signing, permissions manifest, auto-update config
Python desktopPackaging with PyInstaller/cx_Freeze, dependency isolation
Rust GTK4Release build size, AppImage packaging, .desktop entry
CLI (any)Binary size, help text completeness, exit code correctness