Skip to content

docs(openspec): name every client of SearXNG in its spec #6727

Done

Description

@dan-petty

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 policy searxng-clients allows 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 openspec passes, 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 openspec runs 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-service spec 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-clients for the roadmap-service pods and searxng-stage-clients for the stage Job pods. (best practice) [sources: openspec/specs/searxng-service/spec.md, k8s/devops/searxng/networkpolicy.yaml]
    • Chosen: List both searxng-clients and searxng-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 through searxng-stage-clients, so this keeps the requirement false.
  • Does the change edit the living spec directly or add an OpenSpec change?: Add an OpenSpec change with a searxng-service spec delta. Only openspec archive writes the living spec. (best practice) [sources: CONTEXT.md]
    • Chosen: Add an OpenSpec change with a spec delta. CONTEXT.md says only openspec archive writes a spec, from the spec deltas of the change that it archives.
    • Rejected: Edit openspec/specs/searxng-service/spec.md directly. This bypasses the OpenSpec change and archive flow.

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    type/docs
    on Nov 22, 2026
  2. dan-petty commented on Nov 22, 2026

    @dan-petty
    OwnerAuthor
  3. added
    source/agent
    status/new
    value/medium
    effort/low
    scope/openspec
    priority/p2-medium
    on Nov 22, 2026
  4. added
    status/ready
    and removed
    status/new
    on Nov 22, 2026
  5. devops-cli-service commented on Nov 22, 2026

    @devops-cli-service
    Contributor

    Next step: the stage job writes the plan of the item. See the section Proposed design of the body.

  6. added
    status/in-progress
    status/in-review
    and removed
    status/ready
    status/in-progress
    on Nov 25, 2026
  7. removed
    status/in-review
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p2-mediumscope/openspecsource/agenttype/docsvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions