docs(wish): pgserve-singleton-no-proxy (genie consumer wiring + self-healing update) - #1670
Conversation
Wire genie as clean consumer of pgserve 2.3 singleton. Add tier integration in db.ts (pgserve verify CLI invocation + HMAC-signed cache token). Make genie update self-healing: pm2 restart self with --update-env, run all migrations, invoke genie doctor --fix tiered post-restart. Vendored-pgserve assertion as defensive guard against regression. Compile-time requirements manifest. Companion wishes (paired, byte-identical SHARED-DESIGN.md): - automagik/pgserve#pgserve-singleton-no-proxy (the big one) - automagik/omni#pgserve-singleton-no-proxy 7 execution groups, 3 waves, ~1-2 weeks appetite.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
💡 Codex ReviewThe tier-integration scope currently says to run ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
There was a problem hiding this comment.
Code Review
This pull request introduces the pgserve-singleton-no-proxy design and the corresponding implementation wish for the genie consumer. The architectural shift involves removing the Bun proxy from the data plane in favor of native Postgres transports (Unix socket and TCP 5432) and transitioning pgserve to an on-demand CLI for control operations. Key features include cosign-based publisher attestation, a self-healing update contract for CLIs, tiered doctor --fix modes for automated maintenance, and cross-CLI dependency enforcement. I have no feedback to provide as there are no review comments.
Companion wish to
automagik/pgserve#pgserve-singleton-no-proxy(the big one). Byte-identical SHARED-DESIGN.md.Summary
Wire genie as clean consumer of pgserve 2.3 singleton. Add tier integration via
pgserve verifyinvocation in connection setup. Makegenie updateself-healing: pm2 restart self with--update-env, run migrations, invokegenie doctor --fixtiered post-restart. Vendored-pgserve assertion as defensive guard. Compile-timerequirementsmanifest.Scope
7 execution groups, 3 waves, ~1-2 weeks appetite. See WISH.md.
Test plan
genie wish lint pgserve-singleton-no-proxycleanCompanion PRs
automagik/pgserve#pgserve-singleton-no-proxyautomagik/omni#pgserve-singleton-no-proxy🤖 Generated with Claude Code