Context
This issue tracks Tasks 9-11 from docs/superpowers/plans/2026-06-11-postgresql-libpg-query-compatibility.md.
Goal
Wire the compatibility harness into the repo build, test, and CI surfaces.
Files
- Create
scripts/pg_compat/run_compat.py
- Modify
Makefile
- Modify
.gitignore
- Modify
.github/workflows/ci.yml
What the next agent should do
- Add
build, test, full, and refresh orchestration modes.
- Add
make build-pg-compat, make test-pg-compat, make pg-compat, and make pg-compat-refresh targets.
- Add deterministic PR CI and scheduled full-suite CI.
- Keep the workflow pinned to committed upstream sources unless refresh mode is explicitly used.
Acceptance
make test-pg-compat is deterministic.
- The PR job runs the committed CI cases.
- The scheduled job runs the full pinned PG17/PG18 suite.
- The workflow does not silently advance upstream branch pins.
Context
This issue tracks Tasks 9-11 from
docs/superpowers/plans/2026-06-11-postgresql-libpg-query-compatibility.md.Goal
Wire the compatibility harness into the repo build, test, and CI surfaces.
Files
scripts/pg_compat/run_compat.pyMakefile.gitignore.github/workflows/ci.ymlWhat the next agent should do
build,test,full, andrefreshorchestration modes.make build-pg-compat,make test-pg-compat,make pg-compat, andmake pg-compat-refreshtargets.Acceptance
make test-pg-compatis deterministic.