Skip to content

docs(gameserver): fix stale token-auth-migration.md citation - #125

Merged
thesprockee merged 1 commit into
mainfrom
issue-110
Oct 6, 2026
Merged

thesprockee merged 1 commit into
mainfrom
issue-110

Conversation

@thesprockee

Copy link
Copy Markdown
Member

Summary

Before

// Uses the non-interactive password RPC (docs/guides/token-auth-migration.md F1):

After

// Uses the non-interactive password RPC (F1 in
// 29ce275710ad4c779d118eafc638fef613343e28:docs/guides/token-auth-migration.md,
// deleted by 1d75593 — the as-built facts now live in
// docs/design/2026-06-29-serverdb-token-auth.md):

Checker-gap finding (not fixed here, scope-limited per the issue)

tools/verify_doc_paths.py only scans tracked *.md files plus .claude/{agents,skills} (see all_doc_files()/citations()). It never looks at .cpp/.h comments, so the stale citation in gameserver.cpp was invisible to just verify's doc-paths sensor the whole time it was wrong, and this fix isn't verified by that sensor either — it was checked manually (git log -1 --format=%H -- docs/guides/token-auth-migration.md, git cat-file -e <sha>:<path>). Extending the sensor to scan C++ comments is a bigger, separate change (source-wide regex scanning, new false-positive surface) and not "clearly low-risk," so I'm filing it as a follow-up rather than doing it here.

Test plan

  • CMAKE_BUILD_PARALLEL_LEVEL=4 just verify — green, doc-paths: OK (all claimed repo paths resolve; 8 historical citation(s) verified against git history)

gameserver.cpp:1310 cited docs/guides/token-auth-migration.md directly,
but 1d75593 deleted that file during the 2026-07-26 doc cleanup. Point
the comment at the historical sha (verified against git history, same
pattern already used at the nearby line 1501 citation added by #41/
PR #109) and note where the as-built facts now live.

Co-Authored-By: nevr-runtime <agents@sprock.io>
@thesprockee
thesprockee merged commit 72be5c8 into main Oct 6, 2026
1 check passed
@thesprockee
thesprockee deleted the issue-110 branch October 6, 2026 03:33
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.

docs: stale token-auth-migration.md citation at gameserver.cpp:1232

1 participant