Skip to content

docs(ai): approve the web research agent ADR #4014

Open

Description

@devops-cli-service

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.py runs after the change
  • THEN The command passes, and record_problems reports 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 in docs/adr/README.md lists 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 History section. docs/adr/README.md allows 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.md allows one dated line at the end of Status History, and src/devops_cli/docs/adr_records.py leaves that section out of the body hash.
    • Rejected: A new front matter key approval. docs/adr/README.md fixes the front matter keys, and an accepted record changes only its status keys.
    • Rejected: A new ## Approval section. A new section changes the accepted body, so tests/invariants/test_adr_records.py fails on the body-hash.
    • Rejected: The issue comment alone. The item requires ADR 0028 to record the approval URL.
  • 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.md prints 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

  1. added
    source/agent
    type/docs
    scope/ai
    status/new
    value/medium
    effort/low
    on Nov 7, 2026
  2. devops-cli-service commented on Nov 7, 2026

    @devops-cli-service
    ContributorAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/docs. The docs prefix of the title gives the type.
    • Scope: scope/ai. The (ai) scope of the title gives the scope.
    • Priority: P2-Medium. The approval blocks follow-up implementation of the web research agent.
    • Value: Medium. The approval lets the ADR reach Ready and unblocks follow-up work.
    • Effort: Low. One person writes one approval comment that links the ADR.
    • Related: docs(security): approve the sandboxed run tool ADR #3288, which asks for a different change. Both items defer a person's approval of an ADR, but they approve different ADRs.
  3. devops-cli-service commented on Nov 8, 2026

    @devops-cli-service
    ContributorAuthor

    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.

    • Who gives the approval verdict for the web research agent ADR? (a person decides)
  4. dan-petty commented on Nov 14, 2026

    @dan-petty
    Owner

    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.

  5. devops-cli-service commented on Nov 14, 2026

    @devops-cli-service
    ContributorAuthor

    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.

    • Who gives the approval verdict for the web research agent ADR? (a person decides)
  6. devops-cli-service commented on Nov 17, 2026

    @devops-cli-service
    ContributorAuthor

    Owner question: Who gives the approval verdict for the web research agent ADR? (a person decides)

    Options

    1. Decide the question: The job refines the item with your answer.
    2. Leave it to the job: The job records the best-practice answer and goes on.

    Recommendation: Decide the question: only a person can answer it.

    Evidence

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

    @devops-cli-service
    ContributorAuthor

    Owner question: See the first point of Open questions in the section Proposed design of the body.

    Options

    1. Decide the question: The job refines the item with your answer.
    2. Leave it to the job: The job records the best-practice answer and goes on.

    Recommendation: Decide the question: only a person can answer it.

    Evidence

  8. devops-cli-service commented on Nov 21, 2026

    @devops-cli-service
    ContributorAuthor

    Owner question: See the first point of Open questions in the section Proposed design of the body.

    Options

    1. Decide the question: The job refines the item with your answer.
    2. Leave it to the job: The job records the best-practice answer and goes on.

    Recommendation: Decide the question: only a person can answer it.

    Evidence

  9. dan-petty commented on Nov 24, 2026

    @dan-petty
    Owner

    The owner merges the pull request. Only a person merges pull requests (AGENTS.md).

  10. devops-cli-service commented on Nov 24, 2026

    @devops-cli-service
    ContributorAuthor

    Next step: the alternatives check records a verdict. See 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/p2-mediumscope/aisource/agentstatus/newtype/docsvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions