Repository navigation
Description
Problem
Checked on 2026-11-22 (main 6e497c2), in the vetting of PR #6721.
openspec/specs/searxng-service/spec.md, requirement "Only the roadmap Service calls the pod", says that ingress to SearXNG comes only from the roadmap-service pods and that only the policysearxng-clientsallows egress to TCP 8080.- Since feat(roadmap): add the stage Job template and one-item entry point #5483, the stage Job pods reach SearXNG too, through
searxng-stage-clients. So the requirement is not true.
Proposed remedy
Make the requirement and its scenario name each client of SearXNG that the NetworkPolicies of k8s/devops/ admit today (the roadmap-service pods and the stage Job pods), with the policy names after PR #6721.
Acceptance criteria
-
uv run devops ci --check --only openspecpasses, and the requirement names each admitted client.
Dependencies
None.
Alternatives check of 2026-11-22: not-applicable.
Class: docs, no search.
Tool: none found.
Proposed design
Problem statement
The searxng-service spec says that only the roadmap Service calls SearXNG and that only searxng-clients allows egress to port 8080. The stage Job pods also reach SearXNG through searxng-stage-clients. The spec must name both clients and both policies.
Acceptance criteria
Requirement: The SearXNG spec delta names every admitted client
The OpenSpec change for issue 6727 SHALL add a searxng-service spec delta whose requirement and scenario name the roadmap-service pods and the stage Job pods as the only clients, and searxng-clients and searxng-stage-clients as the only egress policies to port 8080.
Scenario: The OpenSpec check passes on the change
- WHEN
uv run devops ci --check --only openspecruns on the branch that holds the change. - THEN The check exits 0 and reports no error for the change, and the delta's requirement names both clients and both egress policies.
Existing Tool Considered
The alternatives check in the issue body gives not-applicable and names no tool. No open tool or library covers a correction to an OpenSpec requirement.
Key questions
- Which clients does the
searxng-servicespec admit today?: The spec admits the roadmap-service pods and the stage Job pods. It does not admit the runner Job pods. [sources: openspec/specs/searxng-service/spec.md] - Which egress policies must the requirement list?: List
searxng-clientsfor the roadmap-service pods andsearxng-stage-clientsfor the stage Job pods. (best practice) [sources: openspec/specs/searxng-service/spec.md, k8s/devops/searxng/networkpolicy.yaml]- Chosen: List both
searxng-clientsandsearxng-stage-clients. Both policies admit egress to SearXNG today, so the spec matches the cluster. - Rejected: List only
searxng-clients. The stage Job pods reach SearXNG throughsearxng-stage-clients, so this keeps the requirement false.
- Chosen: List both
- Does the change edit the living spec directly or add an OpenSpec change?: Add an OpenSpec change with a
searxng-servicespec delta. Onlyopenspec archivewrites the living spec. (best practice) [sources: CONTEXT.md]- Chosen: Add an OpenSpec change with a spec delta. CONTEXT.md says only
openspec archivewrites a spec, from the spec deltas of the change that it archives. - Rejected: Edit
openspec/specs/searxng-service/spec.mddirectly. This bypasses the OpenSpec change and archive flow.
- Chosen: Add an OpenSpec change with a spec delta. CONTEXT.md says only
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Nov 22, 2026
Both concern the SearXNG service in the devops namespace, but #3924 deploys it while the candidate fixes its spec text.devops-cli-service commentedon Nov 22, 2026
Next step: the stage job writes the plan of the item. See the section Proposed design of the body.