Skip to content

docs: remove stale issue references from prose - #687

Merged
anshss merged 1 commit into
mainfrom
fix/stale-issue-refs
Aug 4, 2026
Merged

anshss merged 1 commit into
mainfrom
fix/stale-issue-refs

Conversation

@anshss

@anshss anshss commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Bare #N citations in this repo's docs are ambiguous: they resolve against whatever repo the reader is looking at, and this repo's issue/PR numbers collide with numbers in other repos, so a stale one silently mislinks a reader to an unrelated artifact. This sweeps every bare #N in the always-on rule files (.claude/rules/*.md) and the tracked product docs, resolves each one against the actual issue/PR it points at, and removes the number wherever its subject doesn't match the sentence it sits in. Numbers that do match are left untouched — including not being upgraded to full URLs, to avoid growing files that are already near budget.

Summary

  • Removed 10 stale #N references across .claude/rules/cli-output.md, .claude/rules/core-architecture.md, .claude/rules/onboarding-dotfiles.md, and .claude/rules/release.md, plus one in docs/internal/close-the-loop.md. In every case the surrounding sentence is unchanged; only the parenthetical/inline number was deleted.
  • CLAUDE.md was audited and needs no changes — it was restructured (in a prior, unrelated change) so almost all of its previously-inline rule content now lives in .claude/rules/*.md; the stale references moved with it. What's left in CLAUDE.md itself (a couple of illustrative branch/PR-title examples, and one already-fully-qualified owner/repo#N example) all checks out.
  • docs/proxy/overview.md, docs/policy/overview.md, and README.md were also audited; no changes needed there (README has no #N refs at all; the proxy/policy refs all resolve correctly).

Per-reference verdict table

File Ref Prose claimed Actually resolves to Action
.claude/rules/cli-output.md #6 zero-install first run / cmd_quickstart.py unrelated feature (example agents) removed
.claude/rules/cli-output.md #4 (x3) context-diagnostic quota composition / --plan flag unrelated (context_diagnostic/plan-tier prompt work, not the cited feature) removed
.claude/rules/cli-output.md #5 "quota-native" polarity of tokenmaxx unrelated removed
.claude/rules/cli-output.md #7 tj tokenmaxx shareable card unrelated release note removed
.claude/rules/core-architecture.md #55 (x2) missing-ADD COLUMN half of schema self-heal unrelated naming-migration issue removed (paired #382 on the same line resolves correctly and was kept)
.claude/rules/core-architecture.md #53 close-the-loop primitive unrelated dashboard-theme issue removed
.claude/rules/core-architecture.md #106 config_declared_plan's global-config fallback v0.3.5 pre-release playbook findings bundle — read the issue body, it does not mention a global-config fallback removed
.claude/rules/core-architecture.md #51 StorageBackend parity bug class unrelated release note removed
.claude/rules/onboarding-dotfiles.md #118 zshrc OTEL marker drift unrelated README-roadmap issue removed
.claude/rules/release.md #6 npm wrapper package unrelated (same as cli-output's #6) removed
.claude/rules/release.md #65 publish-npm-wrapper CI job unrelated strategy-pivot issue removed
docs/internal/close-the-loop.md #53 doc title itself unrelated dashboard-theme issue (same as above) removed

Refs verified correct and left alone

#382, #90, #92, #221, #176, #110, #175, #154, #124, #194, #171, #172, #173, #101, #87, #88, #132, #133, #136 (all in .claude/rules/*.md) — each resolved and its subject matches the sentence it sits in. Also #219, #220, #221, #222, #223 in docs/policy/overview.md and docs/proxy/overview.md — all resolve to the proxy/policy-engine work they're cited for.

What's NOT in this PR

  • No refs were upgraded to fully-qualified owner/repo#N or full URLs, even where correct — that would grow files that are already near their size budget, and was out of scope for this cleanup.
  • CLAUDE.md needed no edits; verified clean, refs relocated to .claude/rules/ by an earlier restructure.
  • No surrounding prose was reworded, reordered, or expanded — only the stale numbers (and orphaned punctuation) were removed.

🤖 Generated with Claude Code

Several bare #N citations in the always-on rule files and product docs
point at unrelated GitHub issues/PRs (renumbering drift from an older
era of the tracker). A bare number resolves against whatever repo the
reader is looking at, and this repo's numbers collide with issues in
other public repos, so a stale one silently mislinks. Removed the
numbers that don't match the sentence they sit in; left the sentence
itself untouched. Refs that do match their sentence were verified and
left alone.

Co-Authored-By: Claude <[email protected]>
@anshss
anshss requested a review from anilmurty as a code owner August 4, 2026 10:51
@greptile-apps

greptile-apps Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This documentation-only PR removes stale bare issue references while preserving the surrounding technical guidance.

  • Cleans obsolete references from CLI, core architecture, onboarding, and release rule files.
  • Removes the stale issue number from the close-the-loop product document.

Confidence Score: 5/5

The PR appears safe to merge because it only removes stale citations and leaves the substantive documentation unchanged.

The changed lines preserve all technical claims, requirements, and instructions while deleting only unrelated issue references and associated punctuation.

Important Files Changed

Filename Overview
.claude/rules/cli-output.md Removes stale issue citations without changing CLI guidance or documented behavior.
.claude/rules/core-architecture.md Removes unrelated issue references while preserving architecture contracts and the valid #382 citation.
.claude/rules/onboarding-dotfiles.md Removes a stale citation from the managed-dotfile migration history without altering the rule.
.claude/rules/release.md Removes stale npm-wrapper and publishing references without changing release instructions.
docs/internal/close-the-loop.md Removes an unrelated issue number from the document heading.

Reviews (1): Last reviewed commit: "docs: remove stale issue references from..." | Re-trigger Greptile

@anshss
anshss merged commit 255dffd into main Aug 4, 2026
7 checks passed
@anilmurty
anilmurty deleted the fix/stale-issue-refs branch September 18, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant