Skip to content

docs: the dsh agent page cites a line range past the end of cordis.patch.yml #1259

Done

Description

@HugoXK

Implementation: AgentDescent (ours) — do not pick up; the pair PR is dispatched separately.

docs/dsh-super-agent.md:27 cites integrations/dsh-agentdescent/cordis.patch.yml:8-26, but that file has 17 lines — the citation ends nine lines past EOF, on a page whose stated value is that its rows are the verified part. A reader who follows it lands on nothing.

Measured at 22ea7528915a761c579dc4c7f47d8444c159cd8a: wc -l integrations/dsh-agentdescent/cordis.patch.yml → 17; the mcp row the sentence describes (command, args, toolCallTimeoutMs: 120000, env allowlist) is :7-17; sed -n '8,26p' returns only lines 8–17.

Add the citation guard:

  • change the citation to integrations/dsh-agentdescent/cordis.patch.yml:7-17;
  • add tests/test_docs_citations.py: every path:line or path:line-line citation in docs/**/*.md and README.md resolves to a file that exists, and its last line is within that file's line count; the two-line failure names the page, the citation and the file's length;
  • no other prose change, no reflow of the page.

Acceptance: the new test fails on main first, naming exactly docs/dsh-super-agent.md:27 -> integrations/dsh-agentdescent/cordis.patch.yml:8-26 (file has 17 lines), and passes after the citation is fixed; a citation to a file that does not exist fails the same test; grep -c 'cordis.patch.yml:8-26' docs/dsh-super-agent.md → 0; mkdocs build --strict; docs/changelog.

Activity

  1. added
    bug
    area:docs
    risk:T1
    on Nov 24, 2026
  2. HugoXK commented on Nov 24, 2026

    @HugoXK
    CollaboratorAuthor

    Claiming this. Date: Tue, 24 Nov 2026 10:47:03 GMT. Branch agent/1259-cordis-citation is being pushed now from live main 28ded70d8cf7063f0abf2b07e20921316d28430e; draft PR follows in the same run. One PR for this issue.

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

    area:docsbugrisk:T1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions