Skip to content

docs(openspec): name no node in the monitoring-collectors spec #5339

Open

Description

@dan-petty

Update 2026-11-26 (infra move): k8s/monitoring/k8s-monitoring-values.yaml deploys from dan-petty/homelab, and #7290 deletes the copy here. The monitoring-collectors spec then describes files that this repository does not hold. Prefer a delta that REMOVES the requirements about those values to a rename of one requirement.


Problem

#5336 (for #3785, merged 2026-11-13) left the living spec openspec/specs/monitoring-collectors/spec.md with a requirement name "The alloy-profiles pod does not run on the node hawk" and a scenario name "The affinity excludes the node" above text that says the profiler holds no affinity and runs on every node. The refine criterion of #3785 says the spec holds no requirement or scenario that names that node. The stage review of 2026-11-12T18:04Z flagged this; nobody fixed it. The design of the change says "a delta refuses a modified name", which is false: openspec/config.yaml permits RENAMED and REMOVED, and archived changes use them (for example 2026-10-30-2645-config-unset-removes-plaintext).

Proposed solution

A docs(openspec) change on main with ## RENAMED Requirements (FROM the old name TO "The alloy-profiles pod runs on every node") and MODIFIED under the new name, or REMOVED plus ADDED. The scenario gets a name that names no node, for example "Only alloy-metrics holds a node affinity". Correct the reason in the archived design only if the archive rules allow it; otherwise record it in the new change. Add a check that the monitoring-collectors spec text names no node.

Acceptance

  • git grep -n hawk -- openspec/specs/monitoring-collectors/ finds nothing.
  • uv run devops openspec check passes.

Alternatives check of 2026-11-26: not-applicable.
Class: docs, no model call.
Tool: none found.

Proposed design

Problem statement

The monitoring-collectors living spec named the node hawk in one requirement and one scenario, above text that said the alloy-profiles profiler holds no affinity and runs on every node, and the archived design of #3785 recorded the false rule that a delta refuses a modified name. The tree now holds the spec outcome: #7290 removed all six monitoring-collectors requirements, including the one that named hawk, and retired the capability, so openspec/specs/monitoring-collectors/ no longer exists and the values file lives only in dan-petty/homelab. The archive is the record and is not rewritten, so this docs-only change records the correct rule (openspec/config.yaml permits RENAMED and REMOVED) in its design, carries no spec delta, and leaves the general node-name check to #6495.

Acceptance criteria

Requirement: The living specs name no node

The openspec/specs/ tree SHALL hold no requirement name, scenario name or text that names the node hawk.

Scenario: The living specs are searched for the node name

  • WHEN ! git grep -n hawk -- openspec/specs/ runs after the change is archived
  • THEN the command exits 0 and prints nothing

Requirement: The retired capability stays retired

The change SHALL NOT recreate openspec/specs/monitoring-collectors/, which #7290 retired.

Scenario: The living spec folder is checked

  • WHEN ! test -e openspec/specs/monitoring-collectors runs after the change is archived
  • THEN the command exits 0

Requirement: The change carries no spec delta

The change SHALL set skip_specs: true in its .openspec.yaml and add no spec delta, because it changes only documentation.

Scenario: The change is validated against the base specs

  • WHEN uv run devops openspec check runs
  • THEN the command exits 0 and reports no error

Requirement: The new design records the correct rule

The design of the new change SHALL state that openspec/config.yaml permits RENAMED and REMOVED, and that the archived design's claim that a delta refuses a modified name is false.

Scenario: The design text is searched for the correction

  • WHEN git grep -n "permits RENAMED and REMOVED" -- openspec/changes/ runs
  • THEN the command exits 0 and prints the correction line

Existing Tool Considered

OpenSpec (Fission-AI/OpenSpec, MIT licensed, adopted by docs/adr/0010-openspec-is-the-spec-and-change-proposal-layer.md) covers the need: this change is an OpenSpec change folder with skip_specs: true, and uv run devops openspec check validates it and its archive. It lacks a check that a spec text names no node; #6495 holds that check, so the change builds no code and has no build cost. The alternatives check in the issue body records verdict not-applicable for this docs item (class docs, no model call) and names no tool.

Key questions

  • Does openspec/config.yaml permit RENAMED and REMOVED of an existing requirement?: Yes. openspec/config.yaml permits MODIFIED, REMOVED or RENAMED of a requirement that exists in openspec/specs/, and ADR 0010 says all three are legal once the capability's spec exists when the change archives. The archived design's claim that a delta refuses a modified name is false. [sources: openspec/config.yaml:28, docs/adr/0010-openspec-is-the-spec-and-change-proposal-layer.md:66]
  • Which monitoring-collectors requirements does the change remove?: None. openspec/specs/monitoring-collectors/ no longer exists: the archived refactor(k8s): delete the environment files from devops-cli #7290 delta removed all six of its requirements, including The alloy-profiles pod does not run on the node hawk, and the capability was retired with retire_capabilities: true. A REMOVED or RENAMED delta would abort because the capability has no spec at archive. [sources: openspec/changes/archive/2026-11-26-7290-delete-environment/specs/monitoring-collectors/spec.md:11, openspec/changes/archive/2026-11-26-7290-delete-environment/.openspec.yaml:3, docs/HOMELAB_REPO_SWITCH.md:5, docs/adr/0010-openspec-is-the-spec-and-change-proposal-layer.md:66]
  • Does this repository keep the environment tree that held the monitoring values?: No. CONTEXT.md says devops-cli holds no environment tree and the environment of the homelab cluster lives only in dan-petty/homelab, and .devops/project.toml declares no kubernetes.dir; k8s/monitoring/ is absent from the tree. [sources: CONTEXT.md:301, .devops/project.toml:2]
  • Which OpenSpec operation does the change use?: None. The change sets skip_specs: true and adds no spec delta: it changes only documentation, and the monitoring-collectors capability no longer exists, so a REMOVED or RENAMED delta cannot archive. (best practice) [sources: openspec/config.yaml:19, docs/adr/0010-openspec-is-the-spec-and-change-proposal-layer.md:66]
    • Chosen: skip_specs: true with no delta. ADR 0010 gives skip_specs: true for a change that alters only documentation, and the capability that the delta would address has already been retired.
    • Rejected: REMOVED Requirements. openspec/specs/monitoring-collectors/ does not exist, and ADR 0010 says archive aborts when the capability's spec is absent.
    • Rejected: RENAMED plus MODIFIED. A rename matches a base requirement by name, and the base requirement and its capability are gone.
  • Does the change recreate openspec/specs/monitoring-collectors/?: No. refactor(k8s): delete the environment files from devops-cli #7290 retired the capability, and a capability that holds no requirement describes no behavior; the change recreates nothing and leaves the retirement as it is. (best practice) [sources: openspec/changes/archive/2026-11-26-7290-delete-environment/specs/monitoring-collectors/spec.md:1, openspec/config.yaml:24]
    • Chosen: Leave the capability retired. Every requirement of the capability was removed by refactor(k8s): delete the environment files from devops-cli #7290, and a capability with no requirement describes nothing.
    • Rejected: Recreate an empty spec.md. The file would hold no requirement and describe no behavior, and openspec/config.yaml asks for a Purpose only for a new capability.
  • Does the change edit the archived design of fix(k8s): find the source of the hawk host crashes #3785 to correct its false reason?: No. The archive is the record of its pull request, and the project amends a record with a status history instead of rewriting it; the new change's design records the correction, as the issue allows. (best practice) [sources: openspec/changes/archive/2026-10-28-2433-finish-merged-security-fixes/design.md:16, docs/adr/0001-github-is-the-roadmap-source.md:23]
    • Chosen: Record the correction in the new change's design. The archive is the record and is not rewritten, and the issue asks for the correction to be recorded in the new change when the archive rules forbid an edit.
    • Rejected: Edit the archived design of fix(k8s): find the source of the hawk host crashes #3785. It rewrites the record of a delivered change, and the project rejected a second record of the same work in two places.
    • Rejected: Leave the false reason. The issue asks for the correction, and the new design can state the rule.
  • Does the change add a check that the living specs name no node?: No. test(openspec): check that the monitoring-collectors spec names no node #6495 holds that check. The repository holds no list of node names, and openspec/config.yaml and AGENTS.md forbid an internal hostname in an artifact, so a check for hawk alone covers one name. The change keeps the concrete git grep verification in its acceptance. (best practice) [sources: openspec/config.yaml:10, AGENTS.md:16]

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Moved to new items

#6495

Activity

  1. added
    source/agent
    type/docs
    scope/openspec
    status/new
    value/low
    effort/low
    on Nov 13, 2026
  2. dan-petty commented on Nov 13, 2026

    @dan-petty
    OwnerAuthor
    • Priority: P3-Low. A spec name contradicts its own body but does not block a build or break a user workflow.
    • Related: fix(roadmap): Detect obsolete spec requirements on command rename #3287, which asks for a different change. Both deal with spec requirements that are stale or wrong, but #3287 adds a detection mechanism for command renames while this candidate fixes a specific spec text and adds a grep check.
  3. added
    priority/p3-low
    on Nov 13, 2026
  4. devops-cli-service commented on Nov 17, 2026

    @devops-cli-service
    Contributor

    Alternatives check: not-applicable

    Class: docs. The check makes no search and no model call for an item of this class.

    Tool: none found

    Checked on 2026-11-17. A person decides what this means for the item. The check changes no label and closes no issue.

  5. added
    status/ready
    and removed
    status/new
    on Nov 20, 2026
  6. devops-cli-service commented on Nov 20, 2026

    @devops-cli-service
    Contributor

    Next step: the stage job writes the plan of the item. See Moved to new items in the section Proposed design of the body.

  7. devops-cli-service commented on Nov 28, 2026

    @devops-cli-service
    Contributor

    Next step: the stage job writes the plan of the item. See Moved to new items in the section Proposed design of the body.

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/p3-lowscope/openspecsource/agentstatus/readytype/docsvalue/low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions