Skip to content

Editorial: convert bare ADR §-references to linked refs across adr/ #597

Closed

Description

@alpergundogdu

Summary

Follow-up to #596. The adr/ corpus inconsistently mixes two reference styles:

  • Linked (prose): [ADR 003 § L2 sequencer censorship](003-payments.md#l2-sequencer-censorship)
  • Bare (tables / inline rationale lists): (ADR 003 §Deposit Economics), ADR 016 § Deployment

gemini-code-assist flagged this on #596 (lines 35/106/140 of appendix-l2-deployment.md). Those were left bare there deliberately, to stay consistent with their immediate sibling rows/list-items rather than introduce a lone linked outlier. The right fix is a uniform pass, not per-line patches.

Scope

Convert bare ADR NNN § Section references to linked [ADR NNN § Section](NNN-file.md#anchor) form across adr/, including table cells and inline rationale lists, so the whole corpus is consistently navigable.

Constraints:

  • GFM anchor slugs (lowercase, spaces→hyphens, strip punctuation) — verify each resolves.
  • Also normalize § spacing (corpus currently mixes §Deposit and § Deposit).
  • Self-containment rules still apply (relative paths only; no issue/PR/self-repo links in adr/ content).
  • Markdownlint must pass.

Notes

Editorial only — no design/semantic changes. Not investigated/scoped beyond the above; sizing is part of the work.

Activity

  1. added
    design:adr
    design:consistency
    kind:docs
    good first issue
    on May 19, 2026
  2. github-actions commented on May 19, 2026

    @github-actions

    🎯 Triage report

    Follow-up to #596, this is a pure editorial housekeeping task: convert all bare ADR NNN § Section references in adr/ to fully linked [ADR NNN § Section](NNN-file.md#anchor) form, and normalize § spacing throughout. No design or semantic changes. Scoping the full extent of bare references across the corpus is part of the work.

    📊 Assessment

    Dimension Value Reasoning
    Type Task Pure editorial/documentation work with no design changes
    Labels documentation, consistency, ADR, good first issue Docs-only cleanup; consistency label fits cross-ADR uniformity goal; accessible to newcomers familiar with GFM
    Coding agent Suitable Clear requirements, mechanical transformation with verifiable constraints (GFM anchors, markdownlint, relative paths only), self-contained scope
    💡 Notes and suggestions

    Approach:

    1. grep -rn 'ADR [0-9]\+' adr/ to enumerate all bare references — pipe through a pattern like ADR [0-9]{3} § to filter unlinked ones (i.e., not preceded by ().
    2. For each bare reference, determine the target file (NNN-topic.md) and derive the GFM anchor slug: lowercase, spaces→hyphens, strip punctuation except hyphens.
    3. Verify the anchor actually exists in the target file before writing (a broken link is worse than a bare reference).
    4. Normalize § spacing: replace §[A-Z] with § (add space) across the corpus.
    5. Run markdownlint adr/ to confirm no lint regressions.

    Sub-task checklist:

    • Inventory all bare ADR NNN § occurrences with file + line numbers
    • Map each to its target file and anchor slug
    • Verify all anchors resolve (look for matching ## Heading or ### Heading in target)
    • Apply linked-ref conversion in table cells and inline rationale lists
    • Normalize § spacing (ensure single space between § and section name)
    • Run markdownlint; fix any violations
    • Spot-check architecture.md cross-references for the same pattern

    Note on appendix-l2-deployment.md: Lines 35/106/140 flagged by gemini-code-assist on #596 are the known starting point but are explicitly left bare there pending this uniform pass — do not patch them in isolation.

    Generated by Agentic Triage for issue #597 · ● 1.7M · ◷

    To install this agentic workflow, run

    gh aw add githubnext/agentics/workflows/issue-triage.md@94ec5db57374c5b04a4b8eef8b4413f9af44d63f
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

design:adrdesign:consistencygood first issuekind:docs

Type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions