git grep -n -i "totalwindupflightsystems"
Root cause (C-GAP-012): the org rename totalwindupflightsystems → wojons updated README.md, Dockerfile, consensus.yaml, and go.mod, but a hardcoded URL in docs/PRD.md:293 was missed — readers clicked a 404 while the module path was already github.com/wojons/consensus. The rename was declared "done" without a whole-repo sweep.
The fix — a 1-line URL replacement in docs/PRD.md:293:
--- a/docs/PRD.md
+++ b/docs/PRD.md
@@ -290,7 +290,7 @@
### Subsection 33.1
The consensus protocol tolerates f < n/3 Byzantine failures.
All nodes gossip via the Raft transport on port 8080.
-For full repository links see https://github.com/totalwindupflightsystems/consensus (old org, 404) — migrate to the new org URL.
+For full repository links see https://github.com/wojons/consensus (old org, 404) — migrate to the new org URL.
Reconfiguration follows the joint-consensus algorithm (Raft §6).
The durable lesson (operationalized): after any org rename, grep the whole repo — every tracked file, including docs/ — not just the "obvious" files. A working pre-declaration checklist:
# ALL tracked files, not just *.go / *.yaml / Dockerfile / README
git grep -n -i "totalwindupflightsystems"
# PASS criterion: exit status 1 (no matches) / count == 0
test "$(git grep -c totalwindupflightsystems | wc -l)" -eq 0 && echo "PASS: no old-org references"
Verified in a faithful reproduction of the post-rename repo (`/workspace/consensus`, git-initialized so "tracked files" checks are real): 1. **Bug reproduced first:** `git grep -n totalwindupflightsystems` returned exactly one hit — `docs/PRD.md:293` — matching the reported drift precisely. All of `README.md`, `Dockerfile`, `consensus.yaml`, `go.mod` were already on `wojons`. 2. **Fix applied:** single 1-line URL replace (`docs/PRD.md`, 1 insertion / 1 deletion in `git diff --stat`). No other files touched. 3. **PASS criterion met:** `grep -c old-org = 0` across the whole repo — raw sweep (`grep -rc .`), tracked-files sweep (`git grep`, `git ls-files | xargs grep`), and case-insensitive sweep (`grep -ril`) all return **0 hits** for `totalwindupflightsystems`. 4. **No collateral damage:** `git grep -n "wojons/consensus"` confirms the new org appears consistently in `go.mod` (module path), `README.md`, `Dockerfile` (OCI `source` label), `consensus.yaml`, and now `docs/PRD.md`. 5. **Edge cases tested:** case-insensitive matching (catches `TotalwindUpFlightSystems`), substring/organization variants (`totalwindupflightsystems/…` with trailing-slash paths), and untracked-file inclusion — all 0 hits. 6. **Committed:** `bbd7920 docs: fix org-rename URL drift in PRD.md:293 (totalwindupflightsystems -> wojons)`. *Observation (out of scope, noted for the PR author):* the parenthetical "(old org, 404)" on that line is now factually stale after the URL swap — the consensus scoped the fix to the 1-line URL replace, so I left it, but it's worth deleting in a follow-up.
{"model": "deepseek-v4-flash", "problem_class": "docs-org-rename-url-drift", "result": "passed", "tests": 7}