ops(security): prepare PostgreSQL 16.14 image bump #684
No reviewers
Labels
No labels
W6d-automerge-calibration
agent/claude-code
agent/codex
agent/hermes
agent/iskra
agent/ollama
agent/patchwarden
automerge-candidate
class/security-sensitive
cutover-gate
dependency/blocked
dependency/blocks-others
dependency/cross-repo
dependency/needs-confirmation
domain:agents
domain:ci
domain:docs
domain:forgejo
domain:infra
domain:memory
domain:runtime
domain:signal
domain:ux
flow/architecture
flow/blocked
flow/deployed
flow/done
flow/implementation
flow/intake
flow/maintained
flow/observed
flow/ready
flow/refining
flow/retired
flow/review
iterating
judge/codex-candidate
judge/hermes-candidate
judge/low-confidence
judge/needs-refinement
judge/operator-needed
judge/p0
judge/p1
judge/p2
judge/p3
judge/park
judge/patchwarden-candidate
judge/stale-priority
kind/adr
kind/bug
kind/chore
kind/feature
kind/infra
kind/ops
kind/refactor
kind/research
large-impact
merge/auto
merge/manual
merge/manual-dependency-conflict
merge/manual-failing-tests
merge/manual-merge-conflict
merge/manual-missing-review
merge/manual-operator-preference
merge/manual-red-zone
merge/manual-security-sensitive
merge/manual-unclear-scope
merge/manual-unknown
meta
mode:operator-only
mode:patchwarden-iskra-approved
mode:safe-auto
needs-operator-decision
needs-triage
not-ready
observed/erroring
observed/needs-followup
observed/pending
observed/retire-candidate
observed/unused
observed/used
operator-emotional
owner-attention
phase/02
phase/03
priority:p0
priority:p1
priority:p2
priority:p3
proposed
ready-for-agent
ready-for-operator
recovery
review:claude-reviewed
review:codex-reviewed
review:dziadek-reviewed
review:needs-human
risk/exposure
risk/process
risk/product
risk/runtime
safety:external-write
safety:no-prod-mutation
safety:prod-impact
safety:secret-touch
size/large
size/medium
size/small
size/tiny
size/unknown
source/adr
source/agent-generated
source/manual
source/operator-chat
source/voice-note
status:blocked
status:codex-ready
status:merged:pending-evidence
status:needs-evidence
status:operator-needed
status:parked
tier/full
tier/lite
tier/stacked
tier:0-platform-substrate
tier:1-iskra-value-layer
tier:2-tools-products-modules
type:bug
type:chore
type:docs
type:feat
type:policy
type:research
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pdurlej/platform!684
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "codex/668-postgres-16-14"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Canary status: missing — fire canary 3+3 manually before merge
Summary
Prepares the repository side of the PostgreSQL 16.12 -> 16.14 security update without applying it live.
Canary Context Pack
Product story
M10 upgrade work should turn known security drift into small, reviewable upgrade packets. PostgreSQL is stateful and internal, so the repository can prepare the target image now while live apply remains behind the normal operator/runtime gate.
What changed
POSTGRES_IMAGEcompose default topostgres:16.14-alpinepinned by digest.KAN_POSTGRES_IMAGEcompose default to the same pinned 16.14 image.postgresandkan-postgresmodule metadata to the 16.14 target.Why it changed
Issue #668 identified live
postgres:16.12-alpineas security drift relative to PostgreSQL 16.14. This PR prepares the controlled target but does not perform the live database restart/apply/smoke.Files touched
compose/core/compose.yamlcompose/apps/compose.yamlmodules/postgres/module.yamlmodules/kan-postgres/module.yamlstate/memory/task-run-schema.mdstate/memory/procedure-registry-schema.mdcontrol-plane/platformctl/tests/test_postgres_image_bump.pystate/reports/postgres-16-14-repo-bump-2026-06-02.mdRelevant context
honcho-postgresis intentionally excluded because it usespgvector/pgvector:pg15, notpostgres:16.12-alpine.Runtime evidence
No runtime mutation. The new digest was resolved read-only with
docker buildx imagetools inspect postgres:16.14-alpine.Known constraints
The runtime lane still needs an operator-approved apply and smoke before #668 is complete. Production env overrides, if present, may still pin the old value until the gated runtime change lands.
Explicit out-of-scope
platformctl apply.Requested decision
Approve this repo-side image target so the runtime apply can proceed as a separate gated step.
Merge blockers
Spec sources read
compose/core/compose.yaml— main Postgres service image reference.compose/apps/compose.yaml— Kan Postgres image reference and Honcho exclusion.modules/postgres/module.yaml— Postgres module image metadata.modules/kan-postgres/module.yaml— Kan Postgres module metadata.state/memory/task-run-schema.mdandstate/memory/procedure-registry-schema.md— current main Postgres version references.Validation
uv run pytest platformctl/tests/test_postgres_image_bump.py— passed.PYTHONPATH=control-plane uv run --project control-plane python -m platformctl.cli validate all --json— passed withexitCode: 0.git diff --check— passed.Refs #668
Patchwarden PR sanity
eligible_sanity_clean684183acb8e761c40d2c1d54b3e53b1598763727a7amissingDeterministic findings
No deterministic findings.
Model reviewers
global-glm/glm-5.1:cloudStatus:
okVerdict:
OKmediumBehavioral change: POSTGRES_IMAGE now has a default fallbackcompose/core/compose.yaml line 124 changed fromimage: ${POSTGRES_IMAGE}toimage: ${POSTGRES_IMAGE:-postgres:16.14-alpine@sha256:16bc17c64a573ef34162af9298258d1aec548232985b33ed7b1eac33ba35c229}— previously no default existed, so unseglobal-deepseek/deepseek-v4-pro:cloudokOKredteam/kimi-k2.6:cloudokOKPolicy notes
PLATFORMCTL_PR_SANITY_REDTEAM_MODELis configured.