fix(cutover): remove deploy-control legacy root mount #408
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!408
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "codex/wave1/deploy-control-rootmount"
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
RS2000 cutoff is accepted, but
deploy-controlstill bind-mounts the whole legacy tree into the container as/repo. That keeps/opt/vps-home-platform-infraalive as active runtime input instead of rollback/data/config material. This PR removes that broad dependency as the first safe Phase 1 legacy cleanup slice.What changed
build.context: ${PROJECT_ROOT}/scripts/deploy-controlfromdeploy-control; the canonical repo no longer contains that source directory, and RS2000 already runs the localhome-platform-deploy-control:1.0.0image.${PROJECT_ROOT}:/repofromdeploy-controlvolumes.DEPLOY_REPO_ROOT=/repo-disabledwhileSIGNAL_DEPLOY_ENABLEDremains default-false./repomount.Why it changed
Phase 0 inventory for #387 found
home-platform-deploy-control-1bind-mounting/opt/vps-home-platform-infrawholesale. Live source audit showed deploy execution is disabled (SIGNAL_DEPLOY_ENABLED=false), and the service's/health,/plan, and/applydisabled paths do not need/repo.Files touched
compose/apps/compose.yamlmodules/deploy-control/module.yamlmodules/deploy-control/runbook.mdtests/test_deploy_control_cutoff_contract.pyRelevant context
state/cutover/rs2000-control-plane-cutoff.mdRuntime evidence
Read-only RS2000 checks before the PR:
releases/c6928decfb42e12756ca4cd638fa66c704ba9498/opt/pdurlej-platform/current/scripts/deploy-control: missing/opt/vps-home-platform-infra/scripts/deploy-control: presenthome-platform-deploy-control:1.0.0/opt/vps-home-platform-infra => /repo,/opt/vps-home-platform-infra/data/integrations => /state,/opt/vps-home-platform-infra/env => /env, and docker socketserver.py: withSIGNAL_DEPLOY_ENABLED=false,/planand/applyreturn disabled before git/current-branch/deploy execution;/healthdoes not touch/repoKnown constraints
This is a real compose change for a stateful module. Merge alone must not be treated as production mutation. Production apply/recreate requires operator-gated F3 flow with a fresh
backup-before-apply.sh deploy-controlbackup reference andstateful_confirm=BACKUP_DONE_F3.Explicit out-of-scope
/stateand/envoff legacy paths./opt/vps-home-platform-infra.Requested decision
Merge if required checks are green, then operator can run the separate backup-backed deploy-control apply/smoke when ready.
Merge blockers
SIGNAL_DEPLOY_ENABLED=trueis required in current production.home-platform-deploy-control:1.0.0image without a repo-local build context.Spec sources read
docs/forgejo-agent-operations.md— actor identity and Forgejo API contract.compose/apps/compose.yaml— deploy-control runtime definition.modules/deploy-control/module.yaml— module metadata and statefulness.modules/deploy-control/runbook.md— operator recovery contract.scripts/cutover/backup-before-apply.sh— backup gate and deploy-control backup behavior./opt/vps-home-platform-infra/scripts/deploy-control/server.py— only available source for live image behavior; read-only, no secrets.Validation
PYTHONPATH=control-plane python3 -m platformctl.cli validate modules/deploy-control/module.yaml→ passpython3 -m pytest tests/test_deploy_control_cutoff_contract.py→ 2 passedpython3 -m pytest control-plane/platformctl/tests/test_forgejo_ci_scripts_contract.py→ 38 passedgit diff --check→ passauto_apply_scope --base origin/main --head HEAD→ blocked as expected: compose/test paths plus stateful module require operator-gated F3, not automatic push applyRefs #387