Repository navigation
Description
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 checkpasses.
Alternatives check of 2026-11-17: not-applicable.
Class: docs, no search.
Tool: none found.
Proposed design
Problem statement
The living spec openspec/specs/monitoring-collectors/spec.md names the node hawk in one requirement name and implies a node exclusion in one scenario name. The text below that name says the alloy-profiles profiler holds no affinity and runs on every node. The archived design of #3785 says a delta refuses a modified name. That claim is false: openspec/config.yaml permits RENAMED and REMOVED. A docs(openspec) change renames the requirement and its scenario, records the correct rule in its design, and leaves the archive unchanged. A check that the spec names no node is not workable as written, because the repository holds no list of node names; this proposal defers that check.
Acceptance criteria
Requirement: The living spec names no node
The monitoring-collectors living spec SHALL hold no requirement name, scenario name or text that names the node hawk.
Scenario: The archived spec is searched for the node name
- WHEN
! git grep -n hawk -- openspec/specs/monitoring-collectors/runs after the change is archived - THEN the command exits 0 and prints nothing
Requirement: The requirement name names no node
The change SHALL rename the requirement "The alloy-profiles pod does not run on the node hawk" to "The alloy-profiles pod runs on every node".
Scenario: The archived spec holds the new requirement name
- WHEN
git grep -n "The alloy-profiles pod runs on every node" -- openspec/specs/monitoring-collectors/runs after the archive - THEN the command exits 0 and prints the new requirement name
Requirement: The scenario name names no node
The change SHALL rename the scenario "The affinity excludes the node" to "Only alloy-metrics holds a node affinity".
Scenario: The archived spec holds the new scenario name
- WHEN
! git grep -n "The affinity excludes the node" -- openspec/specs/monitoring-collectors/runs after the archive - THEN the command exits 0 and prints nothing
Requirement: The change passes OpenSpec validation
The change SHALL pass uv run devops openspec check with its RENAMED and MODIFIED delta.
Scenario: The change is validated against the base spec
- WHEN
uv run devops openspec checkruns - THEN the command exits 0 and reports no error
Requirement: The new design records the correct rename 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
The alternatives check of 2026-11-17 in the issue body gives verdict not-applicable (class docs, no search) and names no tool. OpenSpec, the open spec tool that the repository already uses, covers the rename with ## RENAMED Requirements and ## MODIFIED Requirements. No tool covers a check that a spec names no node; the proposal defers that check. The change builds no code and has no build cost.
Key questions
- Which OpenSpec operation renames the requirement and changes its scenario name?: Use
## RENAMED RequirementsfromThe alloy-profiles pod does not run on the node hawktoThe alloy-profiles pod runs on every node, and## MODIFIED Requirementsunder the new name with the scenarioOnly alloy-metrics holds a node affinity.openspec/config.yamlpermits RENAMED and MODIFIED, and archived changes use RENAMED and REMOVED. (best practice) [sources: openspec/config.yaml, openspec/specs/monitoring-collectors/spec.md]- Chosen: RENAMED plus MODIFIED.
openspec/config.yamlpermits RENAMED and MODIFIED. The requirement keeps its identity and text, and the MODIFIED block changes only the scenario name. - Rejected: REMOVED plus ADDED. It loses the requirement's identity and the archive shows a removal and an addition for a rename.
- Rejected: MODIFIED alone. MODIFIED matches the requirement by name, so it cannot change the name.
- Chosen: RENAMED plus MODIFIED.
- 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 new change's design records the correction. The project amends a record with a status history instead of rewriting it, as
docs/adr/0001-github-is-the-roadmap-source.mdanddocs/adr/0004-ci-is-the-authoritative-gate.mddo. (best practice) [sources: docs/adr/0001-github-is-the-roadmap-source.md, docs/adr/0004-ci-is-the-authoritative-gate.md, openspec/config.yaml]- Chosen: Record the correction in the new change's design. The project amends a record with a status history instead of rewriting it, as
docs/adr/0001-github-is-the-roadmap-source.mdanddocs/adr/0004-ci-is-the-authoritative-gate.mddo. - 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. The archive is the record.
- Rejected: Leave the false reason. The issue asks to correct it, and the new design can state the rule.
- Chosen: Record the correction in the new change's design. The project amends a record with a status history instead of rewriting it, as
- Which scenario name replaces
The affinity excludes the node?: UseOnly alloy-metrics holds a node affinity. The scenario asserts thatalloy-profiles,alloy-logsandalloy-singletonhold no node affinity, and thatalloy-metricsholds one term with the control-plane labelDoesNotExist. (best practice) [sources: openspec/specs/monitoring-collectors/spec.md]- Chosen: Only alloy-metrics holds a node affinity. The scenario asserts that the three other collectors hold no affinity and
alloy-metricsholds one term. The name names no node. - Rejected: The affinity excludes the node. It says a node is excluded, but the text says the profiler holds no affinity and runs on every node.
- Rejected: No node affinity on three collectors. It omits the
alloy-metricsterm that the scenario asserts.
- Chosen: Only alloy-metrics holds a node affinity. The scenario asserts that the three other collectors hold no affinity and
- Can the change add a check that the monitoring-collectors spec text names no node?: Not as written. The repository holds no list of node names, and
openspec/config.yamlforbids writing an internal hostname; it asks for roles such as<storage-node>. A check forhawkalone covers one name. The proposal defers the general check and keeps the concretegit grep -n hawkin the acceptance. (best practice) [sources: openspec/config.yaml]- Chosen: Defer the general check. The repository holds no list of node names, and
openspec/config.yamlforbids writing a hostname. A check forhawkalone would not cover a new node name. - Rejected: Add a test that greps for
hawk. It covers one name only and does not check that the spec names no node. - Rejected: Add no check. The issue asks for a check that the spec text names no node.
- Chosen: Defer the general check. The repository holds no list of node names, and
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Nov 13, 2026
A spec name contradicts its own body but does not block a build or break a user workflow.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.devops-cli-service commentedon Nov 17, 2026
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.
devops-cli-service commentedon Nov 20, 2026
Next step: the stage job writes the plan of the item. See Moved to new items in the section Proposed design of the body.