feat(runtime): harden PostgreSQL status posture - #297
Merged
Conversation
Classify exact PostgreSQL authority, recovery, and read-only state before migration metadata inspection. Bound failed transaction cleanup and destroy uncertain clients while preserving non-secret, non-mutating status output. Advances #296.
10 tasks
Share the fail-closed local PostgreSQL compatibility parser between status and export so explicit PostgreSQL 16 compatibility reaches the export posture inspection. Add regression coverage proving malformed export compatibility selection returns environment_invalid before database access or destination creation. No deployment, publication, listener activation, hosted operation, or production setup authorization is implied.
Owner
Author
Exact-head CI recoveryHead: Root cause: local export performs a read-only database status inspection before exporting, but it did not forward the explicitly selected PostgreSQL 16 compatibility major. The first Story 4 local export therefore failed closed on PostgreSQL 16 even though the standalone database status command handled the selector correctly. Fix:
Verified:
Issue #296 remains open for the larger Gate B operations work. No deployment, publication, listener activation, hosted operation, private-data use, production setup test, or merge is authorized by this receipt. |
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.
Summary
source-wire-local database statusboundary instead of adding a duplicate operations commandsource-wire.local-database-status.v1client.release(error)mutationApplied: falseS6-DB-05and align the existing Story 6.5 guide without claiming production readinessTDD evidence
Observed RED before GREEN for:
Verification
npm run alpha1:test, 213/213 tests passednpm test, passednpm run alpha1:ci-workflow-smoke, passednpm run local-runtime:candidate-smoke, passednpm run local-runtime:security-gate, passed with the repository's existing documented nested MCP advisory dispositionnpm run docs:links, passednpm run docs:anchors, passednpm run safety:scan, zero findingsnpm run claims:scan, zero findingsnpm run publish:readiness, passed without publishingnpm run readiness:report, reports Story 1 at 43 casesnpm audit --omit=dev --audit-level=high, two known moderate transitive advisories and zero high or critical findingsgit diff --check, passeda53fe995ea7116a38fd353ced710898f675290ce3066ddadd5b6e5fbeafe821d4225403eecd500fbbaf8fb28e042218134683cf76d7538fcb3fe980161a1b92eBoundaries
This does not add or claim:
Issue #296 remains open for custody identities, independent journal, physical backup and PITR, isolated restore drills, restart handling, capacity lifecycle, observability, alerts, and rollback controls.
Closes no issue. Advances #296.