Repository navigation
pgrun setup + pgrun bot verify: PgBot as a standard component, explicit verdicts - #3
Merged
Merged
Conversation
- internal/pgbot: locate (PGRUN_PGBOT > PATH > managed copy), version/capability probe in a scrubbed env, pinned checksum-verified install (atomic, no exec before the sha256 matches). - pgrun bot status|install|inspect|lint|schema|explain|run: branch-scoped (URL from the API, env only), refuses connection strings, AI layer off unless --allow-ai. - pgrun bot verify -- <migration>: disposable PostgreSQL branch of the Safe Copy, schema snapshot + lint before/after, pgbot schema diff (rewrites, blocking index builds, drops, renames), optional --compare-pgx; always cleans up; pgrun-verify/1.0.0. - pgrun setup: idempotent skill + pgbot + auth report, --agents-md managed block only on request; pgrun-setup/1.0.0. - MCP: pgrun_bot_lint / pgrun_bot_schema / pgrun_bot_explain. - npm: @pgrun/cli depends on @pgbot/cli; the wrapper hands its binary over via PGRUN_PGBOT. - Skill: PGX default, PgBot when/how, reading the verify report. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hed once A create response can say ready (an idempotent request_id replay, a synchronous provisioner) but never carries connection_url; branch exec / bot verify then failed with 'ready but no connection_url'. Found by the PGRun 2.0 end-to-end run on pgxbench. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…run setup) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… on purpose Measured on pgxbench: pgbot inspect on every PGX branch reported fsync_off and full_page_writes_off as critical. They are deliberate (branches are recreated, not recovered); suppressed for pgrun bot inspect, with a note on stderr. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d review is incomplete, never pass pgrun-verify 1.1.0 adds categories, blocking, policy and summary (fields added, none renamed). Verdicts: fail > dangerous > unsupported > incomplete > error > warning > pass. --block-on (default fail,dangerous,incomplete,error) decides blocking; exit 0/1, and 3 when only infrastructure errors block. Before this, a pgbot without the schema command, a failed lint or an unrun PGX comparison still produced verdict pass and exit 0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… token out of the migration A CI token may only create ci-… branches (422 token_scope): verify retries once as ci-verify-…. The migration child no longer inherits PGRUN_API_TOKEN or an outer DATABASE_URL. Both found by the ci-action integration. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…branches Found by the real-API e2e: pgbot keeps suppressed findings in its JSON (suppressed: true). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…golangci-lint, govulncheck pgrun-cli had no CI. Pinned action SHAs and tool versions (as pgbot). .golangci.yml keeps the default linters and lists the accepted CLI patterns (terminal writes, best-effort cleanup; test fixture writes) instead of changing code; 0 issues on this branch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
alexshapalov
marked this pull request as ready for review
November 16, 2026 03:21
alexshapalov
added a commit
that referenced
this pull request
Nov 16, 2026
pgrun setup + pgrun bot verify (recovers #3, which merged into its stack base instead of main)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft for review — do not merge. Stacked on feat/create-capacity-retry.
pgrun setup/pgrun botinstall and run PgBot (checksum-verified).pgrun bot verify: verdict categories fail > dangerous > unsupported > incomplete > error > warning > pass,--block-onpolicy (default fail,dangerous,incomplete,error); a skipped schema review isincomplete, neverpass; exit 0/1/3.🤖 Generated with Claude Code