feat(phase02): searxng — wave 3 tailnet audit #37
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pdurlej/platform!37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "codex/orders/phase-02-searx"
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?
Summary
Phase 02 wave 3 audit for the SearxNG module (
modules/searxng, requested assearxshorthand). Runtime audit found live Traefik labels are Tailnet-gated (ts-allowlist@file,security-headers@file) while the manifest still claimed public/no auth. This PR fixes desired documentation to match runtime and does not mutate runtime.Change size: Medium. Per platform policy, trigger 3+3 ensemble review after PR open.
Changes
modules/searxng/module.yamlimage_observed, digest pin flag, audit timestamp, image build, statefulness.home-platform_searxng_dataand statefulness as stateful.SEARXNG_SECRETref and acknowledged risks for root runtime + plaintext stack.env secret.modules/searxng/runbook.mdyq, acknowledged risks, and known issues.Verification
SCHEMA: OK3478B ~869 tokens(<1500)searxng/searxng:2026.2.22-5054e6984@sha256:1106e118f6876bf54b99d1d066c6c834d15b60729523f254f6aca46c4a5d5dc9ts-allowlist@file,security-headers@filehp_proxy, named volumehome-platform_searxng_data, healthcheck/healthzgit diff --checkTest plan
ssh rs2000 docker inspect, compose grep, volume list).python3 -c "...jsonschema.validate..."againstschema/module.schema.json.3+3 ensemble review by
claude— tech + product hatsTech hat: ✅ OK (confidence 0.75)
Risks
medium— secrets.provider claims 'infisical' while runtime + acknowledged risk both say stack.envmodules/searxng/module.yaml:55-58 setssecrets.provider: infisicalwithrefs: [SEARXNG_SECRET], but the same file lines 75-83 acknowledgessecret-in-plaintext-stack-envstating 'SEARXNG_SECRETis injected from stack.env today ... migration path toward Infisical-backed refs'. The PR descriptienv-only/stack-env) and add a TODO/open-loop for the Infisical migration, or (b) document the convention explicitly in the runbook thatsecrets.providertracks desired post-migration state andacknowledged_riskstracks the current-state gap. Otherwise downstream tooling that reads the manifest as truth (e.g. plan/aOpportunities
module.yaml.spec.health.smoke_test: tests/smoke.shreferences a file the runbook itself notes does not exist ('declared but file not yet written'). If a future audit job readssmoke_testand tries to execute it, it will fail at apply-time. Consider either omitting the field until written, or adding a one-line entry to L3/OPEN_LOOPS.md so it is not lost in a runbook checkbox.Product hat: ✅ OK (confidence 0.82)
Risks
low— Manifest claimssecrets.provider: infisicalbut reality is stack.envmodule.yamlsecrets.provider: infisical(line 56-ish in diff) vs acknowledged risksecret-in-plaintext-stack-envrationale: "SEARXNG_SECRETis injected from stack.env today."providerrecords current runtime state — then this should beenv-only-non-secretuntil migration, OR (b) it records desired/target state — then add a one-line README note inmodules/explaining that. Right now an automated audit reading justsecrets.providerwould falsely conclude this module is on Infisical. The risk acknowlOpportunities
ts-allowlist@file" but this was never actually tested — verification only confirmed the label string is present, not that the middleware blocks. A 2-linecurl --interface <non-tailnet>from outside Tailnet would close the loop. Could go into the still-unwrittentests/smoke.shwhen that lands; doesn't need to block this PR, but worthyqto source from manifest (avoiding copy-paste errors of 64-char hashes). This is exactly the ADHD-compatible shape — no remembering required, scannable headings, explicit "only if platformctl down" gating on the dangerous path. Worth using as a template for the remaining wave 3 modul3+3 ensemble review by
codex— tech + product hatsTech hat: ✅ OK (confidence 0.82)
Opportunities
Product hat: ❌ NOT_OK (confidence 0.78)
Risks
medium— Secret source is represented two different waysmodules/searxng/module.yaml changesspec.secrets.providertoinfisical, whilemodules/searxng/runbook.mdand the acknowledged risk saySEARXNG_SECRETis still plaintextstack.env-backed pending migration.Opportunities
3+3 ensemble review by
glm— tech + product hatsTech hat: ✅ OK (confidence 0.95)
Opportunities
Product hat: ❌ NOT_OK (confidence 0.95)
Risks
blocker— Secret provider contradicts acknowledged realitymodules/searxng/module.yaml:55 (provider: infisical) vs modules/searxng/module.yaml:67 (acknowledged risk: secret-in-plaintext-stack-env)providertoenv-only-non-secret(orplaintext). The PR description confirms 'no env file edits' and the risk acknowledges the secret is still instack.env. The manifest must mirror runtime reality to avoid confusion during future migrations.medium— Schema drift in 'intent' section creates ambiguitymodules/searxng/module.yaml:25-30 (user_facing_outcome vs acceptance_criteria)Opportunities
Review decision
Status: BLOCKER — recommended action:
deferSingle-reviewer blockers
providertoenv-only-non-secret(orplaintext). The PR description confirms 'no env file edits' and the risk acknowledges the secret is still instack.env. The manifest must mirror runtime reality to avoid confusion during future migrations.Reviewer dissents
product-gptvoted NOT_OK (confidence 0.78)product-glmvoted NOT_OK (confidence 0.95)Operator decisions (yes/no)
Per-actor evidence: see comments by
claude,codex,glmabove. Tech: 3/3 OK · Product: 1/3 OK.