DRAFT: fix(platformctl): block auto-apply for missing compose services #288
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!288
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "codex/269/meerkat-compose-guard"
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
DRAFT — prepared for post-#260 morning push. This PR is safe to review now, but should land before retrying
np-meerkat-frontendF2.Canary Context Pack
Product story
A module that exists in
module.yamlbut is absent from canonical compose should not enter the auto-apply lane and produce confusing runtime failures. Agents need an explicit blocker instead of rediscovering the Meerkat gap through failed smokes.What changed
auto_apply_scope.pynow parses the module's canonical compose file and repo-localinclude:graph, then blocks modules whosespec.runtime.compose_serviceis absent from that graph.Why it changed
np-meerkat-frontendis marked as a stateless F2 candidate, but its service is not present incompose/apps/compose.yamlor included compose files. F2 already found this as a data gap. This PR turns that class of gap into a deterministic pre-apply blocker.Files touched
control-plane/platformctl/ci/auto_apply_scope.pycontrol-plane/platformctl/tests/test_forgejo_ci_scripts_contract.pyRelevant context
Runtime evidence
No runtime mutation. Local classifier proof:
Known constraints
This does not import Meerkat into canonical compose. It only prevents auto-apply from treating missing canonical service data as deployable.
Explicit out-of-scope
meerkat.pdurlej.com.Requested decision
Merge before retrying Meerkat F2. Then decide separately whether to import Meerkat into canonical compose, retire it, or keep it blocked.
Merge blockers
include:and therefore sees an incomplete graph.Spec sources read
control-plane/platformctl/ci/auto_apply_scope.py— auto-apply classifier.control-plane/platformctl/tests/test_forgejo_ci_scripts_contract.py— workflow/auto-apply contract tests.modules/np-meerkat-frontend/module.yaml— failing module manifest.compose/apps/compose.yaml,compose/base/compose.yaml,compose/core/compose.yaml— canonical compose graph.prompts/codex-f2-ramp-continuation-2026-05-14.md— F2 context and #269 deferral.Test plan
Refs #269
Fork D triage — closing superseded
Role: executor
Decision: close, no rewrite.
The original idea is valid, but it is already represented on current
main:control-plane/platformctl/ci/auto_apply_scope.pynow checks canonical compose membership viacompose_service_exists(...), including compose includes, and the test suite covers the missing-canonical-compose-service blocker.This branch is stale/non-mergeable and would regress newer F3/stateful backup override logic if merged. A fresh PR is not needed for the Meerkat/missing-compose guard.
No production mutation performed. Closing as superseded.
Pull request closed