Repository navigation
Description
Problem
.github/workflows/clear-status.yml removes the status/* and owner/* labels when an issue closes. The roadmap Service of dan-petty/devops-cli does the same task, and it needs no file in this repository (dan-petty/devops-cli#4660, release v0.196.0). So two writers do one task, and each closed issue starts one more job on a runner.
Evidence
Source of dan-petty/devops-cli at commit 720344b04:
src/devops_cli/roadmap/status_sync.py:clear_closed_issuesremoves each label with the prefixstatus/orowner/from each closed issue. It keeps each other label.src/devops_cli/roadmap/implement/implement_submit.py: each round of the rowimplementcallsclear_closed_issues.- An
issues.closeddelivery makes the row due. The row also has an interval of 7 minutes, so it removes a label that a delivery missed. openspec/specs/roadmap-item-labels/spec.mdholds the requirement "A closed issue holds no Status and no Owner label".
Events of closed issues in this repository, where the Service removed a label before the workflow job did:
| Issue | Label | Actor | Time after the close |
|---|---|---|---|
| #90 | status/in-review |
devops-cli-service[bot] |
7 s |
| #94 | status/in-review |
devops-cli-service[bot] |
9 s |
| #97 | status/in-review |
devops-cli-service[bot] |
7 s |
The template of dan-petty/github-workflows renders no clear-status.yml (checked at v0.1.0 and main), so copier update does not add the file again.
Change
Delete .github/workflows/clear-status.yml.
Acceptance criteria
- The tree does not hold the file.
actionlintandzizmor --offline .github/workflowspass.- After the merge, close one issue that holds a
status/*label and anowner/*label.devops-cli-service[bot]removes the two labels. If it does not, revert the change.
Alternatives check of 2026-11-30: not-applicable.
Class: ci, no model call.
Tool: none found.
Proposed design
Problem statement
.github/workflows/clear-status.yml removes the status/* and owner/* labels of a closed issue. The roadmap Service of dan-petty/devops-cli does the same task with no file in this repository. Two writers do one task, and each closed issue starts one more runner job. Delete the file. The Service is halted now, so the deletion waits for a live proof that the Service clears both label families.
Acceptance criteria
Requirement: Clear-status workflow deleted
The repository MUST NOT hold the file .github/workflows/clear-status.yml.
Scenario: The tree holds no clear-status workflow
- WHEN
git ls-files .github/workflows/clear-status.ymlruns on the merged tree - THEN the command prints no path and exits with status 0.
Requirement: Workflows pass actionlint
Each file in .github/workflows MUST pass actionlint after the deletion.
Scenario: actionlint passes on the workflows
- WHEN
docker run --rm -v "$PWD:/src:ro" -w /src devtools:test actionlintruns - THEN the command exits with status 0 and prints no error.
Requirement: Workflows pass zizmor
Each file in .github/workflows MUST pass zizmor --offline after the deletion.
Scenario: zizmor passes on the workflows
- WHEN
docker run --rm -v "$PWD:/src:ro" -w /src ghcr.io/zizmorcore/zizmor:1.33.1@sha256:ecd3ffe6158de1322e05a044ed43749bee12b1dccb7e1a7859bc6ac4b2a1c516 --offline .github/workflowsruns - THEN the command exits with status 0 and reports no finding.
Requirement: Pending a person after the merge
After the merge, the roadmap Service MUST remove a status/* label and an owner/* label from a closed issue.
Scenario: The Service clears the labels of a closed issue
- WHEN a person closes one issue that holds a
status/*label and anowner/*label - THEN
devops-cli-service[bot]removes the two labels within 7 minutes, and the change is reverted if it does not.
Existing Tool Considered
The alternatives check in the issue body records not-applicable with Tool: none found, for class ci with no model call. The replacement for the deleted workflow is the roadmap Service of dan-petty/devops-cli (release v0.196.0): clear_closed_issues in src/devops_cli/roadmap/status_sync.py removes the status/* and owner/* labels of each closed issue. The change builds no code, so it has no written cost. The tool lacks a running Service now: dan-petty/devops-cli#7911 halts it, and no event shows that it removed an owner/* label. The proposal therefore deletes the file only after the Service removes owner/agent from closed issue #4.
Key questions
- Which code removes the
status/*andowner/*labels of a closed issue in this repository now?:.github/workflows/clear-status.ymlis the only remover now. It runs onissues.closed, reads the labels of the issue at that time, and removes each label that starts withstatus/orowner/. [sources: .github/workflows/clear-status.yml:7, .github/workflows/clear-status.yml:28] - Does this repository hold the source of the roadmap Service, or a record that it clears the two label families?: The repository holds no copy of the Service code. The labels file records that the workflow labels, such as
status/*, come from devops-cli. The workflow comment records the rule of devops-cli ADR 0016: a closed issue holds no Status label and no claim. Refine cannot read the private Service repository, so the Service source stays with the citation in the body. The observed events fix(image): give the image the mise command #90, feat(image): add Python 3.15 #94 and feat(image): add ansible-lint #97 show thatdevops-cli-service[bot]removedstatus/in-reviewin 7 to 9 s, and no event shows anowner/*removal. [sources: .github/labels.yml:2, .github/workflows/clear-status.yml:3] - When does the repository delete
.github/workflows/clear-status.yml?: Delete the file only afterdan-petty/devops-cli#7911closes anddevops-cli-service[bot]removesowner/agentfrom closed issue chore: add the roadmap label file and the clear-status workflow #4. The reply of 2026-11-30 reports that the Service is halted since 03:27 UTC, and thatowner/agentstayed on chore: add the roadmap label file and the clear-status workflow #4 at 17:58 UTC. The live proof needs no workflow, because a new label on a closed issue starts none. (best practice) [sources: .github/workflows/clear-status.yml:7, .github/labels.yml:2]- Chosen: Delete the file after the live proof on chore: add the roadmap label file and the clear-status workflow #4. The Service then removes both label families, and the deleted workflow has a working replacement.
- Rejected: Delete the file now. The Service is halted, so closed issues keep their labels. The reply shows
owner/agentstill on chore: add the roadmap label file and the clear-status workflow #4 at 17:58 UTC. - Rejected: Keep the workflow. Two writers do one task, and each closed issue starts one more job on a runner.
- Which command proves that the workflows pass after the deletion?: The image workflow runs zizmor 1.33.1 from its official image at a pinned digest with
--offline .github/workflows, because the devtools image has no zizmor. The same workflow runs actionlint in thedevtools:testimage, andtest/tools.shcallsactionlint --version. The body nameszizmor --offline .github/workflows, and the image workflow confirms that command. [sources: .github/workflows/image.yml:114, .github/workflows/image.yml:153, test/tools.sh:62]
Fit
Fits in one pull request.
Suspected block
The roadmap Service of dan-petty/devops-cli is halted by dan-petty/devops-cli#7911. Start the deletion when that issue closes and devops-cli-service[bot] removes owner/agent from closed issue #4.
Dependencies
None.
Activity
dan-petty commentedon Nov 30, 2026
Both touch the github-workflows template; #116 re-adopts the template while the candidate deletes one file the template no longer renders.dan-petty commentedon Nov 30, 2026
I stopped this item before the deletion. No branch was pushed, and
clear-status.ymlstays.What holds
status/in-reviewfrom the closed issues fix(image): give the image the mise command #90, feat(image): add Python 3.15 #94 and feat(image): add ansible-lint #97.What does not hold
devops_cli_service_jobs_totalwas still 0.owner/*label after the close. In each such event that I read,github-actions[bot]removed the label.owner/agentto the closed issue chore: add the roadmap label file and the clear-status workflow #4 as a test. The label was still there at 17:58 UTC. The interval of the Service for this task is 7 minutes.So
clear-status.ymlis now the only remover in this repository. If we delete it, closed issues keep their labels.When to start again
devops-cli-service[bot]removedowner/agentfrom chore: add the roadmap label file and the clear-status workflow #4. This event is the missing proof. It needs no workflow, because a new label on a closed issue starts none.Then delete the file, as the body says. I leave the test label on #4 for step 2.
devops-cli-service commentedon Nov 30, 2026
Owner question: See Suspected block in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
dan-petty commentedon Nov 30, 2026
Agent note for pull request #154.
devops-cli-service[bot]removedowner/agentfrom chore: add the roadmap label file and the clear-status workflow #4 at 19:13:59 UTC on 2026-11-30. An agent addedstatus/newandowner/agentto chore: add the roadmap label file and the clear-status workflow #4 at 21:16:04 UTC. The Service (v0.264.1) removed them at 21:24:08 and 21:24:39 UTC.dan-petty commentedon Nov 30, 2026
Agent note: the check after the merge passed. No revert is necessary.
Pull request #154 merged at 21:38:50 UTC on 2026-11-30 and closed this issue at 21:38:51.
devops-cli-service[bot]removedstatus/in-reviewat 21:48:06 andowner/agentat 21:48:30. The merge commit2ee8adfholds noclear-status.yml.