Skip to content

ROUA 0.5.0: schema preview, empty-scope guard, columns added later stay hidden

Pre-release
Pre-release

Choose a tag to compare

@PromiseGithub PromiseGithub released this 26 Nov 07:57

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.sql or discover.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 --check or use the MCP tool preview_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_needed if 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 discover saves your schema (names and types only).
  • New MCP tool discover_postgres_schema lets 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