feat(cutover): make env bind mounts runtime-rooted #417
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!417
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "codex/cutover/ld1a-env-normalization-inventory"
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 - rely on required Forgejo checks before merge
Canary Context Pack
Product story
LD0 showed live services still depend on
/opt/vps-home-platform-infra/env. LD1a prepares the env-root move without touching production secrets or changing runtime mounts yet.What changed
${PROJECT_ROOT}/envbind mounts with${PLATFORM_RUNTIME_ENV_DIR:-/opt/vps-home-platform-infra/env}forstorage-ro-mcp,deploy-control,vault-bootstrap, andsafe-session-api.state/reports/rs2000-ld1a-env-inventory-2026-05-24/.STATUS_NOW.mdwith the LD1a state.Why it changed
After #413/#416, trusted apply correctly forces Compose interpolation with
PROJECT_ROOT=/opt/pdurlej-platform/current. Env bind mounts need their own explicit runtime root so future env migration is controlled by a dedicated variable, not by the build/control-plane source root.Files touched
compose/apps/compose.yamlcompose/core/compose.yamlstate/cutover/rs2000-live-data-config-migration.mdstate/STATUS_NOW.mdstate/reports/rs2000-ld1a-env-inventory-2026-05-24/*Relevant context
Runtime evidence
/tmpon RS2000 and checked withdocker compose config --quietusing the current runtime env-file set; exit code 0.Known constraints
/opt/vps-home-platform-infra/envin this PR.INFISICAL_BOOTSTRAP_ENV_FILEstill defaults to the legacy path until the operator-gated runtime copy exists.Explicit out-of-scope
/opt/pdurlej-platform/runtime/legacy-import/env.compose.envmutation.Requested decision
Approve this repo-side LD1a prep. Next step is an operator-gated runtime env copy/remount with per-service smokes.
Merge blockers
Spec sources read
state/cutover/rs2000-live-data-config-migration.md- LD0/LD1 rules and next-step contract.state/STATUS_NOW.md- operator-facing status update target.compose/apps/compose.yaml- affected env bind mounts.compose/core/compose.yaml- affected env bind mounts.Refs #387
Commit:
0f33636664d6f1d3cff5aee320cae2acd3625510Applied by fast-forward push to
mainbecause Forgejo merge API reported stale required-check state despite commit status API showing success.Evidence before push:
0f33636664d6f1d3cff5aee320cae2acd36255107ec634d5ab137d0d9e0956eaae16dc9e8a746e537ec634d..0f33636 HEAD -> main)No production runtime copy/remount was performed by this PR; this remains LD1a repo-side prep.
Pull request closed