Skip to content

test: close root reconciler privilege allowlist - #269

Merged
Joncallim merged 25 commits into
codex/pr198-root-authority-additionfrom
codex/pr198-root-reconciler-closed-allowlist
Jul 27, 2026
Merged

test: close root reconciler privilege allowlist#269
Joncallim merged 25 commits into
codex/pr198-root-authority-additionfrom
codex/pr198-root-reconciler-closed-allowlist

Conversation

@Joncallim

Copy link
Copy Markdown
Owner

Scope

Replaces reconciler privilege spot checks with a mandatory catalog-derived closed-world allowlist proof.

What it verifies

  • role posture and every membership edge
  • effective relation privileges across all public/forge tables, views, materialized views, foreign tables, and partitions
  • only the seven approved update columns; no table-wide update or other DML
  • effective routine EXECUTE by schema plus exact identity arguments, including PUBLIC-derived access
  • exact database/schema privileges, all application sequences, and ownership

The proof emits deterministic missing/unexpected entries by category. Any new object or effective grant must be deliberately allowlisted.

Validation

  • npm test -- --run __tests__/project-root-reconciliation.test.ts (18 passed)
  • npx eslint --max-warnings=0 __tests__/project-root-reconciliation.test.ts
  • npx tsc --noEmit
  • static catalog-surface check
  • git diff --check

The live PostgreSQL catalog proof is mandatory CI-only.

Joncallim added 25 commits July 28, 2026 03:32
test: run root privilege mutations in upgrade proof
test: use root owner for grant option mutation
test: bind root grantor to mutation session
test: close root reconciler grant options
test: close root reconciler column privileges
fix: align root write context schema metadata
test: fix ordinary app trigger proof inputs
test: prove root reconciler actor boundaries
fix: close root reconciler routine allowlist
…ability

test: isolate root reconciliation binding rejections
fix: support PostgreSQL 16 root privilege proof
test: prove root reconciler allowlist mutations
@Joncallim
Joncallim marked this pull request as ready for review July 27, 2026 21:10
@Joncallim
Joncallim merged commit 1e33d1a into codex/pr198-root-authority-addition Jul 27, 2026
2 of 3 checks passed
@Joncallim
Joncallim deleted the codex/pr198-root-reconciler-closed-allowlist branch August 2, 2026 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant