Repository navigation
ROUA 0.5.0: schema preview, empty-scope guard, columns added later stay hidden
Pre-release
Pre-release
ROUA now handles real schemas: it catches mismatches before the scripts run and while they run, and keeps columns added later hidden.
Preview before you generate
- Each database has a read-only discovery script (
discover.sqlordiscover.js, included with every set of scripts). It lists schemas, tables and columns, never rows. - Paste its output on kaizam.com under Your schema, pick tables from a list, and see a live preview of what the account will read. You can also run
roua plan --checkor use the MCP toolpreview_scope. - The preview flags missing schemas, misspelled table names, hidden-column entries that match nothing, and scopes that would read nothing.
Setup checks the real database
- Setup refuses a scope that would read nothing, on every database. On PostgreSQL, nothing is changed.
- Listed tables, schemas and hidden columns that don't exist are reported, not silently ignored.
New columns stay hidden
- Grants are now per column by default (
column_grants: always) on PostgreSQL, MySQL, MariaDB and SQL Server. A column added later, such as a new token column, stays hidden until setup runs again. - Set
column_grants: when_neededif you prefer whole-table grants. Note that with per-column grants,SELECT *fails on a table that gained a column after setup, until you rerun setup.
Also
roua discoversaves your schema (names and types only).- New MCP tool
discover_postgres_schemalets agents learn a database's structure without reading rows. - SPEC §18 describes how scopes are resolved and how schema changes are handled.
- Live CI checks on MySQL, MariaDB, SQL Server, Oracle and MongoDB.
Feedback and ideas: https://github.com/PromiseGithub/roua/discussions