fix(f3): prepare light and sidecar smoke batch #309

Merged
pdurlej merged 1 commit from codex/f3/light-sidecar-batch-prep into main 2026-05-17 01:49:55 +02:00
Collaborator

Canary status: missing — Forgejo PR checks will run on open; operator merge after green/accepted evidence.

Canary Context Pack

Product story

Continue RS2000 migration with the next low-risk batch while preserving F3 backup discipline for sidecar-bound modules.

What changed

  • honcho-api health now probes through Tailnet (tailnet-https://honcho.pdurlej.com/health) because public edge correctly returns 403.
  • karakeep strict-v2 text is shortened and health now uses its real endpoint (https://archive.pdurlej.com/api/health).
  • platformctl manual F3 override now accepts sidecar-bound modules when backup_ref is present, matching Karakeep's state model.
  • Workflow input copy now says stateful/sidecar no-op smoke.

Why it changed

The requested batch includes stateless modules plus karakeep as sidecar-bound. Current policy allowed only stateful, which blocked a backup-backed Karakeep no-op smoke even though the operator explicitly selected it.

Files touched

  • .forgejo/workflows/platformctl-auto-apply.yml
  • control-plane/platformctl/ci/auto_apply_scope.py
  • control-plane/platformctl/tests/test_forgejo_ci_scripts_contract.py
  • modules/honcho-api/module.yaml
  • modules/karakeep/module.yaml

Runtime evidence

  • RS2000 release root: /opt/pdurlej-platform/current -> releases/5a8d77a4132e68228d531d688e317d146e83348a
  • forgejo-deploy-runner.service=active
  • forgejo-deploy-runner-watchdog.timer=active
  • No unhealthy containers reported; 64 containers listed.
  • curl --resolve honcho.pdurlej.com:443:100.110.188.20 https://honcho.pdurlej.com/health -> 200
  • curl https://archive.pdurlej.com/api/health -> 200
  • home-platform-honcho-api-1=running/healthy
  • home-platform-karakeep-1=running/healthy

Known constraints

  • minio-init is not included in this smoke batch. It is currently strict-v2 incomplete and live container home-platform-minio-init-1 is exited=1; its Docker command is effectively sh -c mc, so it prints mc help and exits. That requires a separate real-change/init fix, not a no-op F3 smoke.
  • karakeep still requires backup-before-apply before dispatch because it is sidecar-bound.

Explicit out-of-scope

  • No MinIO init repair.
  • No real-change apply.
  • No F3 smoke execution in this PR.

Requested decision

Merge this prep PR, then run the batch sequentially: coredns, honcho-api, honcho-deriver, and karakeep after backup.

Merge blockers

  • strict-v2 validation fails for coredns, honcho-api, honcho-deriver, or karakeep
  • sidecar-bound F3 scope test fails
  • health regression in test_health_phase3.py

Spec sources read

  • modules/coredns/module.yaml — requested batch manifest
  • modules/honcho-api/module.yaml — requested batch manifest + probe fix
  • modules/honcho-deriver/module.yaml — requested batch manifest
  • modules/karakeep/module.yaml — requested batch manifest + probe/strict-v2 fix
  • modules/minio-init/module.yaml — requested batch manifest; excluded as blocker
  • compose/core/compose.yamlcoredns/minio-init service reality
  • compose/apps/compose.yamlhoncho-*/karakeep service reality
  • control-plane/platformctl/ci/auto_apply_scope.py — F3 scope guard
  • control-plane/platformctl/tests/test_forgejo_ci_scripts_contract.py — scope contract tests
  • tests/smoke.sh — HTTP probe behavior

Verification

  • PYTHONPATH=control-plane control-plane/.venv/bin/python -m platformctl.cli validate --strict-v2 modules/coredns/module.yaml -> OK
  • PYTHONPATH=control-plane control-plane/.venv/bin/python -m platformctl.cli validate --strict-v2 modules/honcho-api/module.yaml -> OK
  • PYTHONPATH=control-plane control-plane/.venv/bin/python -m platformctl.cli validate --strict-v2 modules/honcho-deriver/module.yaml -> OK
  • PYTHONPATH=control-plane control-plane/.venv/bin/python -m platformctl.cli validate --strict-v2 modules/karakeep/module.yaml -> OK
  • PYTHONPATH=control-plane control-plane/.venv/bin/python -m pytest control-plane/platformctl/tests/test_forgejo_ci_scripts_contract.py control-plane/platformctl/tests/test_health_phase3.py -> 51 passed
  • auto_apply_scope.py --module karakeep --allow-stateful --backup-ref /opt/pdurlej-platform/backups/karakeep-20260517T000000Z.tar.gz --fail-on-blocked -> eligible

Closes: none

Canary status: missing — Forgejo PR checks will run on open; operator merge after green/accepted evidence. ## Canary Context Pack ### Product story Continue RS2000 migration with the next low-risk batch while preserving F3 backup discipline for sidecar-bound modules. ### What changed - `honcho-api` health now probes through Tailnet (`tailnet-https://honcho.pdurlej.com/health`) because public edge correctly returns 403. - `karakeep` strict-v2 text is shortened and health now uses its real endpoint (`https://archive.pdurlej.com/api/health`). - `platformctl` manual F3 override now accepts `sidecar-bound` modules when `backup_ref` is present, matching Karakeep's state model. - Workflow input copy now says stateful/sidecar no-op smoke. ### Why it changed The requested batch includes stateless modules plus `karakeep` as sidecar-bound. Current policy allowed only `stateful`, which blocked a backup-backed Karakeep no-op smoke even though the operator explicitly selected it. ### Files touched - `.forgejo/workflows/platformctl-auto-apply.yml` - `control-plane/platformctl/ci/auto_apply_scope.py` - `control-plane/platformctl/tests/test_forgejo_ci_scripts_contract.py` - `modules/honcho-api/module.yaml` - `modules/karakeep/module.yaml` ### Runtime evidence - RS2000 release root: `/opt/pdurlej-platform/current -> releases/5a8d77a4132e68228d531d688e317d146e83348a` - `forgejo-deploy-runner.service=active` - `forgejo-deploy-runner-watchdog.timer=active` - No unhealthy containers reported; 64 containers listed. - `curl --resolve honcho.pdurlej.com:443:100.110.188.20 https://honcho.pdurlej.com/health` -> `200` - `curl https://archive.pdurlej.com/api/health` -> `200` - `home-platform-honcho-api-1=running/healthy` - `home-platform-karakeep-1=running/healthy` ### Known constraints - `minio-init` is not included in this smoke batch. It is currently strict-v2 incomplete and live container `home-platform-minio-init-1` is `exited=1`; its Docker command is effectively `sh -c mc`, so it prints `mc` help and exits. That requires a separate real-change/init fix, not a no-op F3 smoke. - `karakeep` still requires `backup-before-apply` before dispatch because it is `sidecar-bound`. ### Explicit out-of-scope - No MinIO init repair. - No real-change apply. - No F3 smoke execution in this PR. ### Requested decision Merge this prep PR, then run the batch sequentially: `coredns`, `honcho-api`, `honcho-deriver`, and `karakeep` after backup. ### Merge blockers - strict-v2 validation fails for `coredns`, `honcho-api`, `honcho-deriver`, or `karakeep` - sidecar-bound F3 scope test fails - health regression in `test_health_phase3.py` ## Spec sources read - `modules/coredns/module.yaml` — requested batch manifest - `modules/honcho-api/module.yaml` — requested batch manifest + probe fix - `modules/honcho-deriver/module.yaml` — requested batch manifest - `modules/karakeep/module.yaml` — requested batch manifest + probe/strict-v2 fix - `modules/minio-init/module.yaml` — requested batch manifest; excluded as blocker - `compose/core/compose.yaml` — `coredns`/`minio-init` service reality - `compose/apps/compose.yaml` — `honcho-*`/`karakeep` service reality - `control-plane/platformctl/ci/auto_apply_scope.py` — F3 scope guard - `control-plane/platformctl/tests/test_forgejo_ci_scripts_contract.py` — scope contract tests - `tests/smoke.sh` — HTTP probe behavior ## Verification - `PYTHONPATH=control-plane control-plane/.venv/bin/python -m platformctl.cli validate --strict-v2 modules/coredns/module.yaml` -> OK - `PYTHONPATH=control-plane control-plane/.venv/bin/python -m platformctl.cli validate --strict-v2 modules/honcho-api/module.yaml` -> OK - `PYTHONPATH=control-plane control-plane/.venv/bin/python -m platformctl.cli validate --strict-v2 modules/honcho-deriver/module.yaml` -> OK - `PYTHONPATH=control-plane control-plane/.venv/bin/python -m platformctl.cli validate --strict-v2 modules/karakeep/module.yaml` -> OK - `PYTHONPATH=control-plane control-plane/.venv/bin/python -m pytest control-plane/platformctl/tests/test_forgejo_ci_scripts_contract.py control-plane/platformctl/tests/test_health_phase3.py` -> 51 passed - `auto_apply_scope.py --module karakeep --allow-stateful --backup-ref /opt/pdurlej-platform/backups/karakeep-20260517T000000Z.tar.gz --fail-on-blocked` -> eligible Closes: none
fix(f3): prepare light and sidecar smoke batch
All checks were successful
base-is-main / guard (pull_request) Successful in 1s
canary-required / collect-diff (pull_request) Successful in 4s
infra-docs-drift / docs-drift (pull_request) Successful in 4s
patchwarden-pr-sanity / collect-diff (pull_request) Successful in 3s
platformctl plan / auto-apply scope (pull_request) Successful in 20s
pyfallow / Pyfallow gate (control-plane) (pull_request) Successful in 18s
python-ci / Python 3.12 (pull_request) Successful in 37s
python-ci / Python 3.13 (pull_request) Successful in 36s
workflow-lint / lint (pull_request) Successful in 4s
patchwarden-pr-sanity / sanity (pull_request) Successful in 19s
python-ci / Python 3.11 (pull_request) Successful in 37s
canary-required / canary (pull_request) Successful in 12s
base-is-main / guard Alias for successful base-is-main / guard (pull_request); PR #309 verified against main.
f1a94a5777
Sign in to join this conversation.
No reviewers
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
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!309
No description provided.