Repository navigation
Description
Split from #3877.
A person must approve the ADR in a comment on the issue. The main item writes the ADR but cannot make a person give a review verdict. The approval is deferred so the ADR can reach Ready. Acceptance criteria: a person comments approval on issue #3877; the comment links the ADR path; the ADR records the approval comment URL; no follow-up implementation starts before the approval.
Proposed design
Problem statement
ADR 0028 is accepted on main, and the owner says that a merge gives the approval verdict. The record cites issue #3877 but holds no URL of the pull request that approved it. The change adds one dated line at the end of the Status History of ADR 0028 with that URL. The item waits on no comment on issue #3877. The owner merges the pull request, because only a person merges.
Acceptance criteria
Requirement: ADR 0028 keeps its accepted record fields
ADR 0028 MUST keep status: accepted, its date, decision-makers: [owner] and a body-hash that matches its body.
Scenario: The ADR record invariant passes
- WHEN
uv run devops ci test tests/invariants/test_adr_records.pyruns after the change - THEN The command passes, and
record_problemsreports no break for ADR 0028.
Requirement: ADR 0028 records the pull request of the owner approval
ADR 0028 MUST record the URL of the pull request that the owner merged to approve it, in one dated line at the end of its Status History.
Scenario: The Status History holds the approval pull request URL
- WHEN the change adds the line, and
sed -n '/^## Status History/,$p' docs/adr/0028-a-research-agent-composes-open-tools-and-a-research-index.md | rg -c 'devops-cli/pull/[0-9]+'runs - THEN the command prints
1.
Existing Tool Considered
No alternatives check has run on this issue. No open, maintained tool records the pull request that approves a MADR record inside the record. MADR 4 is a template, and docs/adr/README.md holds the record rules that tests/invariants/test_adr_records.py checks. The change writes one dated line of an existing document and builds no code, so its build, keep and fix cost is zero tokens and zero time.
Key questions
- Which file holds the web research agent ADR?:
docs/adr/0028-a-research-agent-composes-open-tools-and-a-research-index.md. The index indocs/adr/README.mdlists record 0028 as accepted, dated 2026-11-17. [sources: docs/adr/README.md, docs/adr/0028-a-research-agent-composes-open-tools-and-a-research-index.md] - Who gives the approval verdict for the web research agent ADR, and what does the item wait on?: The owner gives the verdict by merging the pull request. Only a person merges pull requests (AGENTS.md). ADR 0028 is already accepted on main, and its Status History holds
2026-11-17: Accepted by the owner, item #3877.The record waits on no comment on issue docs(ai): investigate a web research agent with RAG ingestion #3877. (best practice) [sources: AGENTS.md, docs/adr/README.md, docs/adr/0028-a-research-agent-composes-open-tools-and-a-research-index.md]- Chosen: The owner merges the pull request. The owner gave this answer, and AGENTS.md says that only a person merges pull requests.
- Rejected: A person comments approval on issue docs(ai): investigate a web research agent with RAG ingestion #3877 and names the ADR path. The owner answered that a merge gives the verdict, not a comment, so no approval comment exists.
- Where does ADR 0028 record the approval?: In one dated line at the end of the
Status Historysection.docs/adr/README.mdallows one dated line there, and the body hash leaves that section out, so the accepted body does not change. (best practice) [sources: docs/adr/README.md, src/devops_cli/docs/adr_records.py, docs/adr/0028-a-research-agent-composes-open-tools-and-a-research-index.md]- Chosen: One dated line at the end of Status History.
docs/adr/README.mdallows one dated line at the end of Status History, andsrc/devops_cli/docs/adr_records.pyleaves that section out of the body hash. - Rejected: A new front matter key
approval.docs/adr/README.mdfixes the front matter keys, and an accepted record changes only its status keys. - Rejected: A new
## Approvalsection. A new section changes the accepted body, sotests/invariants/test_adr_records.pyfails on thebody-hash. - Rejected: The issue comment alone. The item requires ADR 0028 to record the approval URL.
- Chosen: One dated line at the end of Status History.
- How does the implementer find the pull request that merged ADR 0028?: The squash commit that added the file names the pull request:
git log --diff-filter=A --format=%s -- docs/adr/0028-a-research-agent-composes-open-tools-and-a-research-index.mdprints the title with(#N). [sources: CONTEXT.md, docs/adr/0028-a-research-agent-composes-open-tools-and-a-research-index.md]
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
devops-cli-service commentedon Nov 7, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
docsprefix of the title gives the type.(ai)scope of the title gives the scope.The approval blocks follow-up implementation of the web research agent.The approval lets the ADR reach Ready and unblocks follow-up work.One person writes one approval comment that links the ADR.Both items defer a person's approval of an ADR, but they approve different ADRs.devops-cli-service commentedon Nov 8, 2026
Refine cannot set this item to Ready at 2335754 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
dan-petty commentedon Nov 14, 2026
Cannot build as written: the item needs a person's approval comment on #3877 that links the web research agent ADR, and the ADR itself does not exist at origin/main (docs/adr ends at 0025, and no file names web research). An agent cannot give a review verdict or record an approval URL. The item is also a split of #3877, so the approval follows that ADR. Return after #3877 delivers the ADR and a maintainer comments approval on #3877.
devops-cli-service commentedon Nov 14, 2026
Refine cannot set this item to Ready at 0410772 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
devops-cli-service commentedon Nov 17, 2026
Owner question: Who gives the approval verdict for the web research agent ADR? (a person decides)
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 20, 2026
Owner question: See the first point of Open questions in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 21, 2026
Owner question: See the first point of Open questions in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
dan-petty commentedon Nov 24, 2026
The owner merges the pull request. Only a person merges pull requests (AGENTS.md).
devops-cli-service commentedon Nov 24, 2026
Next step: the alternatives check records a verdict. See the section Proposed design of the body.