Repository navigation
Description
Friction
ADR 0012 puts all work on trunk. Item pull requests target main. release-please derives each version from the pull request titles. A person merges the release pull request to publish.
Step 6 of the ADR sequence (#1861) rewrites AGENTS.md, CONTRIBUTING.md, RELEASE_CYCLE.md, the pull request template and the CHANGELOG.md preamble. Other documents still tell a reader to branch from release/vX.Y.Z and to add a changelog fragment. They also tell a reader to write Part of #N and to run devops release prepare. This item is step 9 of the sequence. It rewrites those documents.
Some of the old text reaches agents directly. DEFAULT_CHAT_INVARIANTS enters agent chats. The instruction generator writes AGENTS.md for other repositories. The knowledge base grounds the answers of the review pipeline.
The old text also blocks the deletion. devops docs check resolves each devops command in the hand-written documents, the prompts and the knowledge base. It fails when a document names a command that does not exist. So no such document can name devops release or devops roadmap close when #1863 removes them.
Evidence
All facts come from the repository tip f3b17488 (branch release/v0.2.39), unless a line says otherwise. The sources are git grep, the files and tests named below, and ADR 0012. No command ran against GitHub. The implementer runs devops docs check before and after the edit.
The command below prints 53 files. ADR 0012 (Consequences) gives the same count for 3ef69850. This item owns 20 of the 53 files: CONTEXT.md, 8 other files and 11 knowledge base articles. The same pattern prints 44 files under tests/.
git grep -lE 'changelog\.d|release/v|release/\*\*|devops release|roadmap close|chore/cut|chore/open' -- . ':!tests' ':!docs/adr' ':!docs/agent' ':!CHANGELOG.md' ':!changelog.d' ':!docs/RELEASE_NOTES.md' ':!src/devops_cli/tools_lock/tools.lock'devops docs checkresolves the commands of the classesCONST_DOCS_CLASS_PROMPTandCONST_DOCS_CLASS_HAND_WRITTEN(CONST_DOCS_NAME_CHECKED_CLASSESinconfig/constants.py). Those classes include ARCHITECTURE.md, README.md,docs/ROUTINE_TASKS.md,docs/SDLC.mdand the knowledge base.- Two hand-written files that the first design missed name
devops release: ARCHITECTURE.md line 156 and README.md line 21. The deletion breaksdevops docs checkunless this item edits them. devops gh milestones closetakes a release version today (commands/gh.py, line 354). A date-titled milestone needs the later milestone command item.tests/test_roadmap_lifecycle_properties.pyreads nine glossary terms of CONTEXT.md. Four of them are planner terms:Current release,Release growth,CutandShip. See the section "CONTEXT.md" under "The change".tests/test_instruction_generator.pychecks three Copilot phrases of the generator (lines 478 to 481).- The first design counted 66 files with a wider pattern. That pattern also matches unrelated text, for example the URL
dl.k8s.io/release/v1.37.1intools.lockand the word "cut" in code comments. This item uses the ADR pattern.
Order and dependencies
- This item is step 9 of the ADR 0012 sequence. It needs no other new item.
- It merges after feat(release): release-please opens the release pull request, topic pull requests target main, and its merge publishes #1861 (step 6). The new text describes the pipeline that feat(release): release-please opens the release pull request, topic pull requests target main, and its merge publishes #1861 builds.
- It merges before refactor(release)!: delete the bespoke release machinery, the roadmap close command and the changelog fragment code #1863 (step 10) and before chore(docs): remove docs/RELEASE_NOTES.md and
devops docs compact#881 (step 11). Both remove commands that the documents name today. - Nothing in this item merges before the old pipeline publishes v0.2.39. ADR 0012 is the only change of the sequence that merges before that moment.
- The pull request targets
main. It saysCloses #<this issue>. It adds no changelog fragment and does not usePart of #N. - The OpenSpec items feat(openspec): the pull request that closes a change archives it, and readiness checks the archived folder #1846 and feat(sdlc): an OpenSpec change folder is the record of every item, and readiness checks its archive #1847 can merge before or after this item. If the OpenSpec switch (feat(sdlc): an OpenSpec change folder is the record of every item, and readiness checks its archive #1847) has already removed the task-file READMEs, skip
docs/agent/README.mdanddocs/agent/tasks/README.md. - These later items carry text that this item leaves, by title. The first one also replaces four old terms of
CONTEXT.md:refactor(roadmap): the planner creates date-titled milestones and closes a milestone when every issue in it is closedrefactor(roadmap): Release becomes Milestone in the planner, its settings and the boardrefactor(github): devops gh milestones commands take a title or a number and list by due date
The change
Apply the drafted text with the corrections at the end of this body. The drafted text is a comment on this issue: Sections 3, 4, 7 and 10 of the instruction draft. The anchors below are lines at f3b17488. Lines move, so find each anchor by its text.
docs/SDLC.md
- Replace Phase 6 whole (lines 241 to 309). Keep the heading text, because line 17 names the phase.
- Phase 6 states these facts. Topic pull requests target
main. The title is a Conventional Commit and is the changelog line.Semantic PR titleis a required check. - Phase 6 also states these facts. release-please keeps one release pull request. A person merges it. Copilot reviews only on request.
- The Renovate sentence applies the prefix
fix(deps)to the serviceDockerfileonly, as.github/renovate.jsonsets it. - Edit line 27 (tenet 6), the diagram at lines 46 to 57, and line 71 (the roadmap bullet).
- Edit lines 73 to 75 (milestone population) and lines 83 and 84 (target branch).
- Edit line 231 (
Path Routing):changelog.d/leaves the list. - Edit the DORA rows at lines 341 and 343, and the matrix rows at lines 358 and 359.
- Do not edit line 207 (feat(openspec): the pull request that closes a change archives it, and readiness checks the archived folder #1846 owns it) or lines 77 to 82 (the OpenSpec items own them).
docs/ROUTINE_TASKS.md
- Edit line 10 (the list of standard commands names
devops release) and line 13 (principle 4). - Edit lines 37, 38 and 43, and line 41 (the monitor row names Copilot).
- Replace the seven
Release Lifecyclerows (lines 45 to 51) with four rows. - The four rows are release pull request review, release pull request merge, automated publish and planning bucket housekeeping.
- In Cadence B, edit the diagram (lines 168 to 185) and the branch bullets (lines 193 to 201).
- In Cadence B, also edit the Copilot gate (lines 206 to 226) and lines 227, 235 and 239. Line 235 holds the
Part of #<id>sentence. - Replace Cadence C whole (lines 243 to 280). Keep the heading letter, because
tests/test_docs_routine_tasks.pyneeds Cadences A to E in order. - Delete the compaction row (line 51) and the compaction step (lines 276 to 279). Edit the recovery row at line 393.
Other documents
docs/SELF_IMPROVEMENT.md: edit line 143 and line 863. Lines 240 and 267 record past review sessions of release branches. They stay.docs/agent/README.mdline 13 anddocs/agent/tasks/README.mdlines 11 and 13: remove the release branch wording. Remove thePart ofexception and the changelog fragment rule.ARCHITECTURE.md: edit line 156. Edit the node "Release Cycle Automation Engine" (lines 32 and 43), which stands fordevops release.README.mdline 21: edit the feature bullet that names thedevops releasesuite.devops docs generatewrites the command matrix, and refactor(release)!: delete the bespoke release machinery, the roadmap close command and the changelog fragment code #1863 runs it again.SECURITY.mdline 53: a critical fix merges tomain. It ships when a person merges the release pull request. The 72-hour target stays.k8s/README.md: delete the bypass sentences of step 3 (line 403) and keep the invitation of the machine account.k8s/README.md, section "When a release merges intomain": rewrite items 3 and 4 (lines 538 and 539). Item 3 describes the oldrelease.ymlrun. Make it follow the order of writes in ADR 0012 (Design): the images first, then the tag. Image Updater rolls the digest ofservice:latest, and Argo CD follows the new tag. Check item 4 against the same order.tests/test_docs_review_loop.pyline 30: the comment saysdocs/ROADMAP.mdis rendered "at the cut". Remove those words.
Knowledge base (13 files under src/devops_cli/ai/knowledge_base)
- Replace
devops_cli/tasks/release_management.mdwhole (82 lines). it_domains/topics/release_engineering_and_semver_governance.md: lines 17 to 25, 42 and 43, 51 to 68 and 92.it_domains/tools/github_cli.md: lines 17, 26, 38, 55, 61 and 74.devops_cli/tasks/github_project_management.md: lines 64, 123, 124, 133 and 168 to 172. Write--milestone <milestone>andmilestones close <milestone>.it_domains/topics/continuous_integration_and_progressive_verification.md: lines 75, 76 and 83.devops_cli/cli_command_reference.md: lines 97 to 99 (thedevops releaserows).- One line each:
devops_cli/libraries/packaging.md:31,devops_cli/libraries/pygithub.md:33,devops_cli/tasks/ai_code_review.md:43,it_domains/tools/actionlint.md:18,it_domains/tools/bandit.md:18,it_domains/tools/semgrep.md:66and line 73 of the knowledge baseREADME.md. - Keep the front matter of each article valid. If an article title changes, regenerate
docs/KNOWLEDGE_BASE.md.
Instruction generator and prompts
src/devops_cli/ai/instruction_generator.py: edit lines 251, 255, 264 and 411 (release wording anddevops roadmap close --confirm).- In the same file, edit the Copilot sentences at lines 427, 438, 441, 442 and 451. Copilot reviews only on request.
- Leave line 260. Its
release_credit_*names stay until the itemrefactor(roadmap): Release becomes Milestone in the planner, its settings and the boardrenames the settings. src/devops_cli/ai/tasks/generate_agents.mdline 9: the hygiene bullet namesrelease/v*.src/devops_cli/ai/tasks/roadmap_intake_system.mdline 3: "place the item in a release" reads "place the item in a milestone".src/devops_cli/config/defaults.pyline 578: entry 4 ofDEFAULT_CHAT_INVARIANTSnames "any release/* branch". It says "Never commit or push directly to main."tests/test_instruction_generator.py: the three phrases at lines 478 to 481 follow the new generator text.
CONTEXT.md
- Apply Section 10.2 of the drafted text. It adds the terms
Milestone,Current milestone,Planned milestone,Milestone growthandDelivered. It givesReleasethe meaning that release-please gives. It deletesChangelog fragmentandClosure. It also editsRoadmap,Backlog,Critical fix,Descope,Reprioritization,Lane,Started,BlockedandStalled. - Keep four old terms with their old text:
Current release,Release growth,CutandShip.test_each_invariant_message_starts_with_a_term_context_md_definesreads them. The planner item replaces them together with its invariants.
Issue templates and version literals
.github/ISSUE_TEMPLATE/bug_report.ymlline 47: the example "0.2.11" reads "(output ofdevops --version)"..github/ISSUE_TEMPLATE/feature_request.yml: add one optional dropdown, "Breaking Change?". It tells the author to put!in the pull request title.src/devops_cli/http/broker.pyline 41: the User-Agent literal "devops-cli/0.2.9" usesget_version()fromdevops_cli.config.metadata.docs/github-pages.config.yamlline 23 (version: "v0.2.15") anddocs/_layouts/default.htmlline 32 (the fallback'v0.2.12'): nothing stamps them. Remove the version pill, or read the version from a source that a release updates.docs/DEVCONTAINER_USAGE.mdlines 17, 26, 59 and 188 name an image tag. Usev<version>.docs/DEVCONTAINER_USAGE.mdline 12 names past images by tag. It is a fact about those images, and it stays.
What this item does not change
- Step 6 (feat(release): release-please opens the release pull request, topic pull requests target main, and its merge publishes #1861) owns AGENTS.md, CONTRIBUTING.md, RELEASE_CYCLE.md and the pull request template. It also owns the
CHANGELOG.mdpreamble,.github/labels.yml,.github/renovate.json, the workflows, the pre-commit hook and the readiness help text. - refactor(release)!: delete the bespoke release machinery, the roadmap close command and the changelog fragment code #1863 owns the code, tests, constants, strings and generated references of the removed commands.
- feat(k8s): Argo CD follows release tags #1862 owns the tracking statements of
k8s/README.md(lines 511, 512, 528, 534 to 537, 753 and 754). - feat(openspec): the pull request that closes a change archives it, and readiness checks the archived folder #1846 and feat(sdlc): an OpenSpec change folder is the record of every item, and readiness checks its archive #1847 own the OpenSpec wording and the task-file passages.
.github/roadmap.tomlkeeps its keys until the rename item changes them.CONTEXT.mdkeeps four old terms:Current release,Release growth,CutandShip. ADR 0012 listsCONTEXT.mdin step 9, and this item applies the rest of Section 10.2.test_each_invariant_message_starts_with_a_term_context_md_definesintests/test_roadmap_lifecycle_properties.pyreads those four terms. It fails when one of them leaves the glossary. The planner still implements them. So the planner item replaces them together with its invariants.
Acceptance criteria
- The pull request targets
main, saysCloses #<this issue>, adds no changelog fragment and uses noPart of #N. - The pull request carries what
devops pr check-readinessasks for at that time. That is the task file before feat(sdlc): an OpenSpec change folder is the record of every item, and readiness checks its archive #1847 and the archived change folder after feat(sdlc): an OpenSpec change folder is the record of every item, and readiness checks its archive #1847. - The new text states the trunk rule in positive words, for example "
mainis the only long-lived branch". It does not use the old words, even to deny them. - The command below prints no line, except lines that the pull request names with a reason. The only reasons are history (
docs/SELF_IMPROVEMENT.mdlines 240 and 267) and ownership by feat(openspec): the pull request that closes a change archives it, and readiness checks the archived folder #1846 (docs/SDLC.mdline 207).
git grep -nE 'release/v|release/\*|release branch|changelog\.d|chore/cut|chore/open|Part of #|devops release|roadmap close|--base release|release cut|release train|Release Train|at the cut' -- docs/SDLC.md docs/ROUTINE_TASKS.md docs/SELF_IMPROVEMENT.md docs/agent/README.md docs/agent/tasks/README.md k8s/README.md SECURITY.md ARCHITECTURE.md src/devops_cli/ai/instruction_generator.py src/devops_cli/ai/tasks src/devops_cli/config/defaults.py src/devops_cli/ai/knowledge_base tests/test_docs_review_loop.py ':!src/devops_cli/ai/tasks/benchmark_ci_concurrency_prompt.md'- The command below prints only rows of the generated command matrix in README.md. No hand-written document, prompt or knowledge base article names a command that the deletion items remove.
git grep -nE 'devops (release|roadmap close|roadmap migrate|docs compact|pr copilot-pass|pr threads file-issues)' -- '*.md' ':!docs/adr' ':!docs/agent' ':!CHANGELOG.md' ':!changelog.d' ':!docs/RELEASE_NOTES.md' ':!docs/ROADMAP.md' ':!docs/CLI_REFERENCE.md' ':!docs/MCP_TOOLS.md' ':!docs/ERRORS.md' ':!docs/commands'-
git grep -n 'Historical Documentation Compaction' -- docs/ROUTINE_TASKS.mdprints nothing. -
git grep -nE 'Automatic Copilot|PRs into .main.|on .release/' -- docs/SDLC.md docs/ROUTINE_TASKS.md src/devops_cli/ai/instruction_generator.pyprints nothing. -
git grep -n 'in a release' -- src/devops_cli/ai/tasks/roadmap_intake_system.mdprints nothing. -
git grep -n 'fix(deps)' -- docs/SDLC.md .github/renovate.jsonprints a line in each file. The SDLC line applies the prefix to the serviceDockerfileonly, as the Renovate rule does. - The command below prints nothing for the first four paths. For
docs/DEVCONTAINER_USAGE.mdit prints only line 12.
git grep -nE '(^|[^0-9.])v?0\.[0-9]+\.[0-9]+' -- docs/github-pages.config.yaml docs/_layouts/default.html src/devops_cli/http/broker.py .github/ISSUE_TEMPLATE docs/DEVCONTAINER_USAGE.md- A new test in
tests/test_http_broker.pyasserts thatbuild_headers()sets the User-Agent todevops-cli/plusget_version(). The test fails on base. -
CONTEXT.mddefines the terms of Section 10.2 and has noChangelog fragmentterm. It still definesCurrent release,Release growth,CutandShip.tests/test_roadmap_lifecycle_properties.pypasses unedited. -
devops docs checkpasses. If a generated reference or the README matrix changes, the output ofdevops docs generate --sync-readmeis committed. -
uv run devops cipasses with coverage of at least 90 percent.
Tests
- Update
tests/test_instruction_generator.py(lines 478 to 481) and the comment intests/test_docs_review_loop.py(line 30). - Add the User-Agent test in
tests/test_http_broker.py. - These tests must pass unedited:
tests/test_agents_md_claims.py: SDLC.md, ROUTINE_TASKS.md, SELF_IMPROVEMENT.md and the continuous integration article keep their links todocs/TESTING.md.tests/test_workflow_contracts.py::test_sdlc_names_only_the_supply_chain_controls_the_repository_runs: SDLC.md keeps "zizmor" and has no "Dependabot", "pip-audit" or "SLSA Level 3".tests/test_docs_routine_tasks.py,tests/test_docs_review_loop.py,tests/test_docs_inventory.py,tests/test_kb.pyandtests/test_kb_manuals_metadata.py.tests/test_roadmap_lifecycle_properties.py.
What it deletes
- The old text only. It deletes no file and no code, apart from the strings listed above.
- Verified counts at
f3b17488: Phase 6 ofdocs/SDLC.mdis 69 lines (241 to 309). Cadence C ofdocs/ROUTINE_TASKS.mdis 38 lines (243 to 280).release_management.mdis 82 lines. SevenRelease Lifecyclerows become four. - The compaction row and step go. chore(docs): remove docs/RELEASE_NOTES.md and
devops docs compact#881 removesdevops docs compact, anddevops docs checkwould fail on the command name. - The compaction step also archives task records by release series. That series ends at the cutover, so the sentence goes with it.
- ADR 0012 counts 413 lines of documents for all steps. This item holds a part of them. The pull request body gives its net line count.
Existing tool considered
devops docs check(check_documented_argv) resolves everydevopscommand, subcommand and option in the checked documents. This item uses it. It does not find prose such as "branch fromrelease/vX.Y.Z".git grepfinds the old words. The pull request runs the commands above once. They are not a permanent test. A test over a list of old words is a brittle subset (AGENTS.md, section 1).release-please-config.jsonis the one source of the release types (ADR 0012, Design). The prose links to it and does not copy the list.- For the version pill, GitHub Pages can expose the latest release to Jekyll through
jekyll-github-metadata. The implementer checks its documentation before the pill goes. If it works, use it. If not, remove the pill. - The text standard is ASD-STE100 (docs(agents): agents and devops ai write in ASD-STE100 Simplified Technical English #1866). docs(agents): agents and devops ai write in ASD-STE100 Simplified Technical English #1866 owns any checker. This item adds none.
- Cost of a build: this item builds no tool and adds no code path. ADR 0012 gives no figure for step 9.
- Before work starts, the author writes the estimate in the pull request. The estimate gives tokens to implement, maintain and fix, and elapsed time.
Corrections to the drafted text
The author wrote the comment on this issue before ADR 0012 was final. Apply these corrections.
- Section 1 of the comment links ADR 0011 with the new title. The file is
docs/adr/0012-releases-are-derived-by-release-please-from-trunk-and-milestones-are-planning-buckets.md. - Apply Section 10.2 (
CONTEXT.md) except the four old planner terms. See the section "CONTEXT.md" under "The change". - The line numbers in the comment come from
ae8c2d98. Use the anchors of this issue. The comment counts 66 files and 45 test files. Use 53 and 44. - Where the comment writes "there is no release branch" or "no
release/*branch", write "mainis the only long-lived branch". The first acceptance command then needs no exception for a denial. - Section 3.1, Renovate bullet: Renovate sets
fix(deps)for the serviceDockerfileonly. The author retitles an update of a runtime dependency (ADR 0012, Consequences). - Write
devops gh milestones close <milestone>where the comment writes<title-or-number>. The text is then true before and after the milestone command item. - Section 4 misses these lines of
docs/ROUTINE_TASKS.md: 10, 41, 206 to 226, 227 and 235. - Section 10.6:
DEFAULT_CHAT_INVARIANTSis atconfig/defaults.py:578. Skip the edit ofbenchmark_ci_concurrency_prompt.md, which is benchmark input and not an instruction. - Section 10.6: skip the edit of
docs/SELF_IMPROVEMENT.mdline 502. It stays true until feat(sdlc): an OpenSpec change folder is the record of every item, and readiness checks its archive #1847. - Sections 10.7 and 10.8 belong to feat(release): release-please opens the release pull request, topic pull requests target main, and its merge publishes #1861 and refactor(release)!: delete the bespoke release machinery, the roadmap close command and the changelog fragment code #1863.
- Add these files, which the comment misses: ARCHITECTURE.md, README.md line 21 and the comment in
tests/test_docs_review_loop.py.
Pending a person
- Pending a person: file this item with
devops roadmap intakeafter ADR 0012 merges. Post the drafted text as a comment on it. The roadmap Service is suspended (chore(service): the roadmap service stays at 0 replicas, and its development is blocked, while its machine account is suspended #1562), so only a person runs the command. - Pending a person: edit the 127 open issues whose criteria name a
changelog.dfragment, as refactor(release)!: delete the bespoke release machinery, the roadmap close command and the changelog fragment code #1863 says. - Pending a person: step C5 of chore(settings): the release App, the release environment, the squash settings and the required checks are in place #1864 finds and turns off any automatic Copilot review. The new text says Copilot reviews only on request. ADR 0012 records that nobody verified where the setting lives.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
dan-petty commentedon Oct 22, 2026
Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.
The candidate updates documentation files to match new release workflow.This change is part of a larger release process redesign and affects multiple documents.Users and agents rely on accurate documentation for the release process.The change involves updating many files including documentation, prompts, and knowledge base articles.dan-petty commentedon Oct 23, 2026
Delivered by #1952: AGENTS.md, CONTRIBUTING.md, RELEASE_CYCLE.md, docs/SDLC.md, docs/ROUTINE_TASKS.md, CONTEXT.md, the knowledge base, DEFAULT_CHAT_INVARIANTS and the instruction generator describe trunk and release-please only.