Module
ridu CLI
ridu — The implemented project lifecycle: scaffolding, generation, migrations, development, checks, builds, diagnostics, and static plugin management.
Commands 8
command ridu newScaffold a thin Ridu application, resolve Go dependencies, and generate its first contracts.
command ridu doctorDiagnose Go, Bun, project discovery, frontend dependencies, and local database prerequisites.
command ridu devRun the selected database adapter, generation, safe schema sync, API, admin watch mode, and Go-config watching together.
command ridu generateResolve executable Go config and atomically write every configured generated contract.
command ridu checkRun the generated-contract, migration-history, Go, TypeScript, and Svelte project checks.
command ridu buildRegenerate contracts, build the admin, and atomically install one production Go binary.
command ridu versionPrint the compiled CLI version.
command ridu helpShow commands and the compiled project-protocol and schema-manifest versions.
Agent guidance 2
command ridu agent installInstall a release-matched local agent layout into an existing Ridu project.
command ridu agent syncSynchronize installed framework-owned skill references with the current CLI release.
Migrations 11
command ridu migrate createPlan and write one reviewable immutable migration artifact without connecting to a database.
command ridu migrate planInspect pending immutable execution topology without applying it.
command ridu migrate statusCompare immutable artifact history with the database ledger.
command ridu migrate verifyReplay complete history in an isolated adapter-owned database and validate every intermediate state.
command ridu migrate upValidate complete history and apply pending artifacts under adapter-owned coordination.
command ridu migrate downReverse the latest applied SQLite artifact while retaining its immutable file.
command ridu migrate resetReverse every applied SQLite artifact in exact reverse order.
command ridu migrate refreshReverse and replay complete committed SQLite history atomically.
command ridu migrate freshDrop non-internal SQLite objects and replay committed history atomically.
command PostgreSQL migration runner optionsPostgreSQL operational admissions and bounds accepted by migrate up and, except stop boundaries, verify.
command MongoDB migration runner optionsMongoDB operational admissions and bounds accepted by migrate up and verify.
Plugins 3
command ridu plugin newScaffold paired Go and Svelte plugin packages with conformance tests.
command ridu plugin addInstall and register a compiled backend plugin and optional paired admin package.
command ridu plugin removeRemove static plugin registration and dependencies, then regenerate contracts.