Skip to content

docs(adr): ADRs 0010 and 0014 name the deleted option --sync-readme #5244

Closed

Description

@dan-petty

Problem Description

#5163 (pull request #5198) deleted the option --sync-readme of devops docs generate (ADR 0025, amendment of 2026-11-12). Two ADRs still name it as the step that regenerates the generated documents:

  • docs/adr/0014-required-checks-gate-the-merge-and-the-pre-push-hook-runs-the-fast-static-checks.md:71: "The author regenerates them with devops docs generate --sync-readme when a command or an option changes."
  • docs/adr/0010-openspec-is-the-spec-and-change-proposal-layer.md:102: "Every group regenerates the documentation its code changes with devops docs generate --sync-readme."

An agent that follows them gets a usage error.

Reproduction Steps

  1. uv run devops docs generate --sync-readme

Expected vs Actual Behavior

Expected: the documents name the command that works today, devops docs generate.
Actual: No such option: --sync-readme (exit 2).

Environment Diagnostics

devops-cli at origin/main 0a14161 (after #5198).

Logs, Traces, or Terminal Output

Try 'devops docs generate -h' for help.
╭─ Error ─────────────────────────────────╮
│ No such option: --sync-readme           │
╰─────────────────────────────────────────╯

Found by the builder of #5125.

Source: #5125

Activity

  1. added
    source/agent
    on Nov 12, 2026
  2. added
    type/docs
    status/new
    value/medium
    effort/low
    on Nov 12, 2026
  3. dan-petty commented on Nov 12, 2026

    @dan-petty
    OwnerAuthor
    • Scope: none. The title has the scope adr, and .github/labels.yml declares no scope/adr label. Add the label to the file to give the scope to this item.
    • Related: docs: hand-written docs name only commands, options and components that exist #921, which asks for a different change. Both fix hand-written docs that name deleted options, but #921 covers different commands and components, not the --sync-readme flag in ADRs 0010 and 0014.
  4. added
    priority/p2-medium
    on Nov 12, 2026
  5. dan-petty commented on Nov 13, 2026

    @dan-petty
    OwnerAuthor

    Scope addition of 2026-11-13: ADR 0025 also names the deleted option. docs/adr/0025-generated-documents-stay-in-git-and-the-project-brain-cites-them.md, line 32, says "with devops docs generate --sync-readme or devops ai agents". Line 95 records the removal of the option, which is correct, so keep it.

    Agents still copy the form: 45 errors of docs generate --sync-readme . in one session from 2026-10-29, and 3 more on 2026-11-12 and 2026-11-13 after the removal (Claude Code transcripts).

    Suggestion: change the title to name ADRs 0010, 0014 and 0025.

  6. added
    status/in-review
    and removed
    status/new
    on Nov 15, 2026
  7. removed
    status/in-review
    on Nov 15, 2026
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-mediumsource/agenttype/docsvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions