ops(rs2000-legacy): remove legacy env fallback after bind mounts migrate #555

Closed
opened 2026-05-28 01:37:57 +02:00 by codex · 2 comments
Collaborator

Scope

Remove dependence on /opt/vps-home-platform-infra/env only after service bind mounts and runtime imports are proven safe.

Observed legacy path

  • /opt/vps-home-platform-infra/env: exists, 356K
  • Prior status notes legacy env fallback/import paths under /opt/pdurlej-platform/runtime/legacy-import/env.

Acceptance criteria

  • Confirm which runtime/runner paths still read /opt/vps-home-platform-infra/env.
  • Confirm canonical runtime env import path exists and is used.
  • PR removes or documents any remaining fallback references.
  • No env values are printed.
  • Runtime changes require explicit operator approval.

Out of scope

  • Editing secrets.
  • Rotating tokens.
  • Removing Infisical fallbacks unrelated to legacy env path.

Common safety rules

  • Recommended executor: Gemini 3.5 Flash local for repo/doc/plan work.
  • Do not delete, rename, prune, or edit /opt/vps-home-platform-infra in this issue.
  • Do not print secrets, env values, private messages, emails, or Iskra memory.
  • Runtime execution requires a separate explicit operator approval in the PR/issue thread.
  • First step is always read-only evidence refresh.
  • Preserve ownership, modes, symlinks, and timestamps when copying data/config.
  • Update compose/module docs through a PR before recreating affected services.
  • Recreate only affected service(s), never the whole platform, unless a later operator gate says otherwise.
## Scope Remove dependence on `/opt/vps-home-platform-infra/env` only after service bind mounts and runtime imports are proven safe. ## Observed legacy path - `/opt/vps-home-platform-infra/env`: exists, 356K - Prior status notes legacy env fallback/import paths under `/opt/pdurlej-platform/runtime/legacy-import/env`. ## Acceptance criteria - Confirm which runtime/runner paths still read `/opt/vps-home-platform-infra/env`. - Confirm canonical runtime env import path exists and is used. - PR removes or documents any remaining fallback references. - No env values are printed. - Runtime changes require explicit operator approval. ## Out of scope - Editing secrets. - Rotating tokens. - Removing Infisical fallbacks unrelated to legacy env path. ## Common safety rules - Recommended executor: Gemini 3.5 Flash local for repo/doc/plan work. - Do not delete, rename, prune, or edit `/opt/vps-home-platform-infra` in this issue. - Do not print secrets, env values, private messages, emails, or Iskra memory. - Runtime execution requires a separate explicit operator approval in the PR/issue thread. - First step is always read-only evidence refresh. - Preserve ownership, modes, symlinks, and timestamps when copying data/config. - Update compose/module docs through a PR before recreating affected services. - Recreate only affected service(s), never the whole platform, unless a later operator gate says otherwise.
Author
Collaborator

Current evidence after PR #593:

  • running Vault config mount is fixed and issue #553 is closed.
  • remaining legacy env/script mounts are from exited container home-platform-vault-bootstrap-1 only:
    • /opt/vps-home-platform-infra/env -> /vault-bootstrap
    • /opt/vps-home-platform-infra/scripts/vault -> /vault/scripts
  • vault-bootstrap lifecycle is archived/exited. Do not rerun it as part of routine cleanup.

This issue should decide whether to remove the exited container metadata after evidence capture, or leave it until the broader Vault sunset gate. No secret values should be printed.

Current evidence after PR #593: - running Vault config mount is fixed and issue #553 is closed. - remaining legacy env/script mounts are from exited container `home-platform-vault-bootstrap-1` only: - `/opt/vps-home-platform-infra/env` -> `/vault-bootstrap` - `/opt/vps-home-platform-infra/scripts/vault` -> `/vault/scripts` - `vault-bootstrap` lifecycle is archived/exited. Do not rerun it as part of routine cleanup. This issue should decide whether to remove the exited container metadata after evidence capture, or leave it until the broader Vault sunset gate. No secret values should be printed.
Author
Collaborator

Completed for active dependency purposes.

Runtime evidence:

  • Running vault config was moved by PR #593 and runtime-applied successfully.
  • The exited home-platform-vault-bootstrap-1 archived oneshot was snapshotted to /opt/pdurlej-platform/runtime/m01-container-snapshots mode 0600, then removed so no stopped container metadata keeps legacy env/script bind references.
  • No env values or secret contents were printed.
  • Current compose definition already points Vault-bootstrap scripts/env at /opt/pdurlej-platform/runtime/legacy-import/... if an operator ever intentionally reruns it.

No env directory, secret, or source data was deleted.

Completed for active dependency purposes. Runtime evidence: - Running `vault` config was moved by PR #593 and runtime-applied successfully. - The exited `home-platform-vault-bootstrap-1` archived oneshot was snapshotted to `/opt/pdurlej-platform/runtime/m01-container-snapshots` mode 0600, then removed so no stopped container metadata keeps legacy env/script bind references. - No env values or secret contents were printed. - Current compose definition already points Vault-bootstrap scripts/env at `/opt/pdurlej-platform/runtime/legacy-import/...` if an operator ever intentionally reruns it. No env directory, secret, or source data was deleted.
codex closed this issue 2026-05-29 01:48:40 +02:00
Sign in to join this conversation.
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 project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pdurlej/platform#555
No description provided.