ops(apply): pending runtime applies — operator-approved batch (postgres / memory-migration / runner) #688
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pdurlej/platform#688
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Context
Three runtime changes were authored/prepared but their applies did not land — the linked issues (#668 / #661 / #675) were closed on the author/prepare/audit half, while the runtime (operator-gated) half stayed pending. Verified live (rs2000, 2026-06-02):
home-platform-postgres-1+home-platform-kan-postgres-1stillpostgres:16.12-alpine→ the 11 CVEs fixed in 16.14 are unpatched.forgejo-runnerstill mounts/var/run/docker.sock:rw→ host-compromise surface open.task_run/task_checkpoint) not confirmed in the live main Postgres.This is the canonical tracker so these don't fall through — no green code with red PM.
✅ Operator approval (explicit, in-session 2026-06-02)
The operator (Piotr) approves carrying these through to APPLY — a single human gate covering prepare → apply. Do NOT split into a second human approval between plan and apply. The automated CI/plan verification still runs (the safety check); the human approval is granted here, once.
Scoped approval handle:
pending-runtime-applies-2026-06-02-approved.The 3 applies
1. PostgreSQL 16.12 → 16.14 (apply-only)
home-platform-postgres-1+home-platform-kan-postgres-1.2. Memory migration (apply-only)
task_run/task_checkpoint(+ related) in the live main Postgres, per the authored migration (#661). Additive.3. Runner hardening (author-THEN-apply — the involved one)
Scope boundary (sticky scoped approval discipline)
This approval covers ONLY these 3 named applies. It does NOT authorize: other migrations, destructive cleanup, data deletion, public exposure, DNS/network/Tailscale/auth changes, credential rotation, or any runtime mutation outside this list. New risk → new approval.
Acceptance
16.14-alpine— live-verified (not "prepared").Ties
#668 (postgres), #661 (memory migration), #675 (runner). Live-verified by claude (Phase-0 audit, 2026-06-02).
Codex #688 live-read/apply checkpoint (sanitized):
Done under operator approval handle
pending-runtime-applies-2026-06-02-approved:POSTGRES_IMAGEandKAN_POSTGRES_IMAGEto pinnedpostgres:16.14-alpine@sha256:16bc17.....bak-postgres-16-14-20260602T102943Z.postgresandkan-postgresthrough release-root compose,--no-deps.home-platform-postgres-1: 16.14 pinned image, healthy,pg_isreadyaccepting connections.home-platform-kan-postgres-1: 16.14 pinned image, healthy,pg_isreadyaccepting connections./opt/pdurlej-platform/current/migrations/20260601_memory_control_plane.sqlto live main Postgres DBpostgreswithON_ERROR_STOP=1.task_run,task_run_event,task_checkpoint,memory_procedure,memory_procedure_version,memory_procedure_event,memory_procedure_embedding./var/run/docker.sockmount and routes runner Docker API through pinneddocker-socket-proxy.docker compose config --quiet.No tokens, env values, private issue bodies, or raw secret material included here.
#688 final runtime evidence
Operator approval handle honored:
pending-runtime-applies-2026-06-02-approved.Completed scope:
Postgres images
home-platform-postgres-1is onpostgres:16.14-alpine@sha256:16bc17...and healthy.home-platform-kan-postgres-1is onpostgres:16.14-alpine@sha256:16bc17...and healthy.Memory Control Plane migration
migrations/20260601_memory_control_plane.sqlto live main Postgres.task_run,task_checkpoint,task_run_event,memory_procedure,memory_procedure_version,memory_procedure_event,memory_procedure_embedding.Forgejo runner socket hardening
docker-socket-proxy.EXEC=1; live proxy was hotfixed.EXEC=1source-of-truth and added regression coverage.DOCKER_HOST=tcp://docker-socket-proxy:2375; proxy hasEXEC=1withAUTH=0,SECRETS=0,SYSTEM=0.Validation run locally for #693:
platformctl validate all --json:exitCode=0Known remaining runner hardening follow-ups from audit, not part of this approved batch:
docker_host_label_availablerunner_has_infisical_token_filepersistent_runner_data_mountNo secrets, raw tokens, DB values, issue bodies, or private env contents were included in this evidence.