PR #244 ยท pramaan-io/pramaan-functions ยท merged 2026-06-02
sequenceDiagram autonumber participant mig as Migration 0068 participant schema as Schema participant rls as RLS participant tests as Tests mig->>schema: Widen status check constraint schema->>schema: Create 3 firm-scoped tables schema->>rls: Enable firm RLS on each mig->>mig: Downgrade reverses cleanly rls->>tests: RLS isolation tests pass schema->>tests: Schema shape tests pass
| Method | in โ out | what it does |
|---|---|---|
_sql_values | (values) โ str | |
_replace_agent_run_status_check | (values) โ None | |
_enable_firm_rls | (table_name) โ None |
Alembic migration zero-zero-six-eight widens agent-run status check and creates firm-scoped agent_prompts, prompt_versions, and quote_anchors tables with RLS.
| new method | signature |
|---|---|
_sql_values | (values) โ str |
_replace_agent_run_status_check | (values) โ None |
_enable_firm_rls | (table_name) โ None |
_disable_firm_rls | (table_name) โ None |
upgrade | () โ None |
downgrade | () โ None |
revision : strdown_revision : str | Sequence[str] | Nonebranch_labels : str | Sequence[str] | Nonedepends_on : str | Sequence[str] | None