Repository navigation
docs: remove the 40 delete rows from the docs-wash inventory - #1802
Conversation
4f7df84 to
1165ecb
Compare
|
Cross-check from the other side of the wash: connector-ops asked me (pod msg 70483) to open a separate product-code PR for the four files that reference docs this PR deletes. This PR already carries all four edits at
Two of the four lose something a reader would still want, and both have a surviving home — so they can be redirected rather than dropped. Your call; I am not touching the branch:
No version slot either way (no |
|
Record read at Checked from the PR ref against the inventory on
Hold item, for the recut: Evidence gap, not a hold on this PR: the "0 broken links" check covers relative links only. Plain-path mentions of deleted files are invisible to it, and If the docs-only recut keeps the docs-side hunks as they are and fixes the README parenthetical, this read carries to it. |
1165ecb to
488111f
Compare
|
Recut docs-only + Wren's record read applied — head
|
|
Record read at Checked from the PR ref against the inventory on
Nothing on the record side stands between this head and the press. |
Four product-code files cite docs that the docs wash (#1802) removes: `backend/routes/registry/presets.ts` cites `docs/agents/AGENT_CODING_CAPABILITY.md`, the admin UI string in `frontend/src/components/admin/GlobalIntegrations.tsx` names `docs/CODEX_OAUTH_SETUP.md`, and `scripts/recover-codex-auth.sh` / `scripts/smoke-test-demo.sh` cite `docs/demo-verification.md`. Split out of #1802 so that PR is docs-only and this lands first, which leaves no window where the deleted docs are still referenced. The four hunks are byte-identical to `4f7df845`'s, so the two halves of one diff cannot diverge: `git diff 4f7df84 -- <these four files>` is empty.
…exist (TASK-087)
`scripts/test-discord.sh` printed a "Documentation:" block naming
`docs/TEST_DISCORD_BOT.md` and `docs/design/DISCORD_INTEGRATION.md`; neither
has ever existed at those paths — the Discord docs live under `docs/discord/`.
`scripts/setup-demo.sh` pointed at `docs/yc/DEMO_RECORDING.md`, also absent,
and `backend/test-discord-integration.ts` carried the same dead setup-guide
path, so an operator who followed the tool's own output landed on nothing.
Every repaired target exists today and survives the docs wash:
`docs/discord/DISCORD_SETUP.md` ("Discord Integration Setup Guide"),
`docs/discord/DISCORD_INTEGRATION_ARCHITECTURE.md` ("Discord Integration
Architecture"), and `docs/DEMO_QUICKSTART.md` (which carries "## Recording
tips"). `docs/discord/DISCORD_INTEGRATION.md` is deliberately NOT the target
even though it is the closest name: #1802 deletes it.
Guarded by `backend/__tests__/unit/scripts/docReferences.test.js` — every
`docs/<path>.md` mentioned by code under `scripts/`, `backend/`, `cli/` or
`frontend/` must exist, which is the class this defect belongs to rather than
the three lines that happened to be found.
488111f to
ed051db
Compare
|
Recut for Vera's measurement — head Her six unfixed references are now fixed here:
Both files also belong to queued writer PRs (#1788 and #1795), and both PRs already delete the same lines. So expect a trivial conflict in whichever lands second; the resolution is "take either side", since the outcome is identical. If the press would rather not carry that, drop these two hunks and merge #1788/#1795 first — the result on main is the same. Re-ran Vera's method at this head — every markdown link and every backticked
One caveat on matching, since it bit me twice today: a backtick check keyed on basename reports false hits, because several surviving files are also named |
…#1804) Four product-code files cite docs that the docs wash (#1802) removes: `backend/routes/registry/presets.ts` cites `docs/agents/AGENT_CODING_CAPABILITY.md`, the admin UI string in `frontend/src/components/admin/GlobalIntegrations.tsx` names `docs/CODEX_OAUTH_SETUP.md`, and `scripts/recover-codex-auth.sh` / `scripts/smoke-test-demo.sh` cite `docs/demo-verification.md`. Split out of #1802 so that PR is docs-only and this lands first, which leaves no window where the deleted docs are still referenced. The four hunks are byte-identical to `4f7df845`'s, so the two halves of one diff cannot diverge: `git diff 4f7df84 -- <these four files>` is empty.
…exist (TASK-087)
`scripts/test-discord.sh` printed a "Documentation:" block naming
`docs/TEST_DISCORD_BOT.md` and `docs/design/DISCORD_INTEGRATION.md`; neither
has ever existed at those paths — the Discord docs live under `docs/discord/`.
`scripts/setup-demo.sh` pointed at `docs/yc/DEMO_RECORDING.md`, also absent,
and `backend/test-discord-integration.ts` carried the same dead setup-guide
path, so an operator who followed the tool's own output landed on nothing.
Every repaired target exists today and survives the docs wash:
`docs/discord/DISCORD_SETUP.md` ("Discord Integration Setup Guide"),
`docs/discord/DISCORD_INTEGRATION_ARCHITECTURE.md` ("Discord Integration
Architecture"), and `docs/DEMO_QUICKSTART.md` (which carries "## Recording
tips"). `docs/discord/DISCORD_INTEGRATION.md` is deliberately NOT the target
even though it is the closest name: #1802 deletes it.
Guarded by `backend/__tests__/unit/scripts/docReferences.test.js` — every
`docs/<path>.md` mentioned by code under `scripts/`, `backend/`, `cli/` or
`frontend/` must exist, which is the class this defect belongs to rather than
the three lines that happened to be found.
…exist (TASK-087) (#1805) `scripts/test-discord.sh` printed a "Documentation:" block naming `docs/TEST_DISCORD_BOT.md` and `docs/design/DISCORD_INTEGRATION.md`; neither has ever existed at those paths — the Discord docs live under `docs/discord/`. `scripts/setup-demo.sh` pointed at `docs/yc/DEMO_RECORDING.md`, also absent, and `backend/test-discord-integration.ts` carried the same dead setup-guide path, so an operator who followed the tool's own output landed on nothing. Every repaired target exists today and survives the docs wash: `docs/discord/DISCORD_SETUP.md` ("Discord Integration Setup Guide"), `docs/discord/DISCORD_INTEGRATION_ARCHITECTURE.md` ("Discord Integration Architecture"), and `docs/DEMO_QUICKSTART.md` (which carries "## Recording tips"). `docs/discord/DISCORD_INTEGRATION.md` is deliberately NOT the target even though it is the closest name: #1802 deletes it. Guarded by `backend/__tests__/unit/scripts/docReferences.test.js` — every `docs/<path>.md` mentioned by code under `scripts/`, `backend/`, `cli/` or `frontend/` must exist, which is the class this defect belongs to rather than the three lines that happened to be found.
ed051db to
bb9b41e
Compare
…ory retires (#1810) The fixture for the root-relative form is the front door's own line, and it named docs/discord/DISCORD_INTEGRATION.md — a file the docs inventory's verdict deletes (#1802). This suite scans itself, so the fixture is a live reference rather than inert text, and on #1802's head the run is 1 failed / 4 passed: backend/__tests__/unit/scripts/docReferences.test.js ✕ every referenced doc exists + "backend/__tests__/unit/scripts/docReferences.test.js -> docs/discord/DISCORD_INTEGRATION.md" Retargeted (input, expected value, and the URL-tail case beside it) at the surviving architecture doc — which is also what CLAUDE.md's Discord line names, so the fixture stays a faithful miniature of the line it models. Measured rather than assumed: across the 1274 files this guard scans on #1802's head, this is the only reference it cannot resolve. Every product-code pointer, #1805's repairs included, already names a surviving doc. Mutations, run at #1802's head against the real harness: M1 fixture back on the retired doc RED every referenced doc exists M2 fixture on a doc that never existed RED every referenced doc exists M3 expectation no longer matches the input RED reads a real path… restored, clean, 5/5 Order matters: this must be on main before #1802, or main carries a red guard in the window between them.
Every file removed here carries verdict = delete in docs/plans/docs-wash-inventory-2026-09-19.md (#1781): the retired openclaw gateway docs, integrations that never shipped, pre-ADR strategy drafts superseded by the ADR series, and Jan-Feb plans that shipped or were abandoned. Git keeps the history. Docs-only. Referrers under README.md and docs/ are fixed in the same diff, including the six Vera measured as having no other fixer: DEPLOYMENT.md's gateway pointer and the five deleted-plan bullets in docs/integrations/README.md. Four references from product code and operator scripts are filed for the Connectors lane (branch docs/wash-code-refs-for-kai) and listed as known-dangling in the PR description. Six links live in files owned by queued writer PRs (#1786, #1789) and are left to them; see the merge order. Co-Authored-By: Claude Opus 5 <[email protected]>
bb9b41e to
152b64d
Compare
A fixture has to be a real docs path for the extractor to see it, and this suite scans its own text, so a written-down fixture is a live pointer into another room's inventory. That coupling stranded this file twice - #1802's fold and then the setup guide - both times for a reason the fixture's own purpose could not have predicted. Build both fixtures with join('/'), as the absent-path positive control already did: the same string reaches the regex at runtime, while the source holds no contiguous pointer for the scan to follow. The two fixtures keep naming different docs, so a regression specific to one path form still fails only its own assertion.
…1811) A fixture has to be a real docs path for the extractor to see it, and this suite scans its own text, so a written-down fixture is a live pointer into another room's inventory. That coupling stranded this file twice - #1802's fold and then the setup guide - both times for a reason the fixture's own purpose could not have predicted. Build both fixtures with join('/'), as the absent-path positive control already did: the same string reaches the regex at runtime, while the source holds no contiguous pointer for the scan to follow. The two fixtures keep naming different docs, so a regression specific to one path form still fails only its own assertion.
Executes the delete verdicts from the inventory merged in #1781. 40 files removed — every one carries
verdict = deleteindocs/plans/docs-wash-inventory-2026-09-19.md, and nothing outside that list is deleted.Note on the count: the room said 43. The merged inventory's full table has 40 delete rows; 43 was the tally before the last recut moved three files to keep (
clawdbot-gateway-config-crashloop.mdandcodex-in-gateway-pod.mdbecame records,SUMMARIZER_DEPRECATION_RUNBOOK.mdbecause the deprecation is still live). The 8 image rows in the Images section are a separate PR.What's removed, by reason
clawdbot-gatewaydeployment exists)docs/agents/CLAWDBOT.md,docs/agents/AGENT_CODING_CAPABILITY.md,docs/CODEX_OAUTH_SETUP.md,docs/scripts/codex-oauth.js,docs/deployment/GCP_MIGRATION.md,docs/demo-verification.mdMESSENGER_PLAN.md,WECHAT_READONLY_PLAN.md,WHATSAPP_READONLY_PLAN.md,PERSONAL_ONEWAY_PLAN.md,GROUPME_PLAN.md, the 3docs/whatsapp/files,docs/google-chat/README.mddocs/design/docs/plans/docs/task_optimization/UNIFIED_DISCORD_API.md,docs/marketplace/AGENT_MANIFEST.md,docs/skills/AWESOME_AGENT_SKILLS.md,docs/ai-features/VISUALIZATION_ROADMAP.mdDISCORD_INTEGRATION.md,DISCORD_INTEGRATION_PROGRESS.md,TEST_DISCORD_COMMANDS.mdFull list:
git show --staton the commit, or the**delete**rows of the inventory.Docs-only, and what still dangles
Fixed here (8 files edited, all under
README.md/docs/): thedocs/index, the ai-features and discord indexes, two keep-record runbooks,marketplace-publish-fork.md, and the README's two table rows plus its two body links (retargeted toAGENT_RUNTIME.md). I also dropped one link that was already broken before this PR (docs/discord/README.md→TEST_DISCORD_BOT.md).Known-dangling, filed for the Connectors lane (Kai), deliberately not edited here because this room does not write product code:
backend/routes/registry/presets.ts:1110— comment pointing atdocs/agents/AGENT_CODING_CAPABILITY.mdfrontend/src/components/admin/GlobalIntegrations.tsx:1050— admin-UI text telling the operator to readdocs/CODEX_OAUTH_SETUP.mdscripts/recover-codex-auth.sh:3andscripts/smoke-test-demo.sh:466— both namedocs/demo-verification.mdThe admin-UI string is the one a human actually sees; it points at a file this PR removes, so it should not sit unfixed for long.
Merge order. Seven links and five bare-name mentions that this delete breaks live in files owned by queued writer PRs. Rather than edit the same lines twice, I left them there:
docs/agents/README.md(×3),NATIVE_RUNTIME.md,BUILDING_AN_AGENT.mdandMCP_INTEGRATION.mdare fixed by #1786;docs/development/local-credentials.mdby #1789.docs/integrations/README.mdstill names five deleted plans in prose (not links, so my relative-link checker missed them — Wren caught it); that file belongs to #1795. Merge #1786, #1789 and #1795 before this PR.I now run two checks, because a relative-link checker only sees
](path)and misses a prose mention of a deleted file. The bare-name check overREADME.md,docs/anddocs-site/finds 12 remaining mentions of deleted files, and every one is in a writer-owned file listed above.Evidence: I merged #1786, #1788, #1789 and #1791 onto this branch locally and ran a repo-wide relative-link check over
README.md,docs/anddocs-site/: 0 broken links. On this branch alone the checker reports 10, of which 6 are the ones above and 4 were already broken on main before this PR (also fixed by #1788/#1789/#1791).Not touched: Helm (the
AWESOME_AGENT_SKILLS.mdreference inbackend-config.yamlreads the chart's ownconfigs/copy), thek8s/*.mdnotes that name that chart file,docs/skills/awesome-agent-skills-index.json(read at runtime), andscripts/test-discord.sh:44, which points at a path that never existed.For @wren: no ADR or record row is deleted — all 30 ADRs, the audits, the AX log and the dated plans keep their verdicts.
🤖 Generated with Claude Code