Skip to content

docs: remove the 40 delete rows from the docs-wash inventory - #1802

Merged
lilyshen0722 merged 1 commit into
mainfrom
docs/wash-deletes-2026-09-19
Sep 20, 2026
Merged

lilyshen0722 merged 1 commit into
mainfrom
docs/wash-deletes-2026-09-19

Conversation

@lilyshen0722

@lilyshen0722 lilyshen0722 commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

Executes the delete verdicts from the inventory merged in #1781. 40 files removed — every one carries verdict = delete in docs/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.md and codex-in-gateway-pod.md became records, SUMMARIZER_DEPRECATION_RUNBOOK.md because the deprecation is still live). The 8 image rows in the Images section are a separate PR.

What's removed, by reason

Reason Files
Retired openclaw gateway (ADR-021; no clawdbot-gateway deployment 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.md
Never shipped (their webhook routes are not served live) MESSENGER_PLAN.md, WECHAT_READONLY_PLAN.md, WHATSAPP_READONLY_PLAN.md, PERSONAL_ONEWAY_PLAN.md, GROUPME_PLAN.md, the 3 docs/whatsapp/ files, docs/google-chat/README.md
Pre-ADR strategy drafts superseded by the ADR series 13 files in docs/design/
Jan–Feb plans, shipped or abandoned (each row names the status it verified) 6 files in docs/plans/
Completed task notes and stubs docs/task_optimization/UNIFIED_DISCORD_API.md, docs/marketplace/AGENT_MANIFEST.md, docs/skills/AWESOME_AGENT_SKILLS.md, docs/ai-features/VISUALIZATION_ROADMAP.md
Discord consolidation (DISCORD.md is canonical, per #1794) DISCORD_INTEGRATION.md, DISCORD_INTEGRATION_PROGRESS.md, TEST_DISCORD_COMMANDS.md

Full list: git show --stat on 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/): the docs/ 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 to AGENT_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 at docs/agents/AGENT_CODING_CAPABILITY.md
  • frontend/src/components/admin/GlobalIntegrations.tsx:1050 — admin-UI text telling the operator to read docs/CODEX_OAUTH_SETUP.md
  • scripts/recover-codex-auth.sh:3 and scripts/smoke-test-demo.sh:466 — both name docs/demo-verification.md

The 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.md and MCP_INTEGRATION.md are fixed by #1786; docs/development/local-credentials.md by #1789. docs/integrations/README.md still 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 over README.md, docs/ and docs-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/ and docs-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.md reference in backend-config.yaml reads the chart's own configs/ copy), the k8s/*.md notes that name that chart file, docs/skills/awesome-agent-skills-index.json (read at runtime), and scripts/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

@samxu01
samxu01 force-pushed the docs/wash-deletes-2026-09-19 branch from 4f7df84 to 1165ecb Compare September 20, 2026 01:59
@lilyshen0722

Copy link
Copy Markdown
Contributor Author

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 4f7df845 — pushed 2026-09-20T01:57:07Z, ~2 minutes before that ask — so nothing is missing, and a second PR would duplicate these four hunks and conflict with this one on the same lines. Verified by diffing origin/main...4f7df845 per file:

file edit in this PR
backend/routes/registry/presets.ts:1110 citation dropped; the comment stands alone
frontend/src/components/admin/GlobalIntegrations.tsx:1050 See docs/CODEX_OAUTH_SETUP.md dropped from the UI string
scripts/recover-codex-auth.sh:3 # docs/demo-verification.md → # the demo recovery steps
scripts/smoke-test-demo.sh:466 (see docs/demo-verification.md) dropped from the red message

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:

  1. scripts/smoke-test-demo.sh:466 — that string is the operator's only prompt to re-login, and the remedy is a script in this repo: re-login required (see scripts/recover-codex-auth.sh).
  2. frontend/src/components/admin/GlobalIntegrations.tsx:1050 — the deleted docs/CODEX_OAUTH_SETUP.md documented the api-keys secret and the codex token lifecycle, and docs/development/LITELLM.md still carries it (OPENAI_CODEX_ACCESS_TOKEN read from api-keys, the 03:00 UTC refresh, the ESO force-sync). docs/runbooks/codex-in-gateway-pod.md also survives and carries the device-auth ceremony.

No version slot either way (no cli/src or commonly-mcp/src in this diff).

@lilyshen0722

Copy link
Copy Markdown
Contributor Author

Record read at 4f7df845 (wren) — records hold; one README pointer to fix in the docs-only recut connector-ops asked for.

Checked from the PR ref against the inventory on main:

  • The 40 deletions are exactly the 40 delete rows of docs/plans/docs-wash-inventory-2026-09-19.md (image rows aside). Nothing outside the list is removed.
  • No ADR, audit, AX-log or dated-plan record is deleted. All 30 ADRs untouched.
  • Two keep-record runbooks are edited (clawdbot-gateway-config-crashloop.md, codex-in-gateway-pod.md): each loses one "Related" line pointing at a deleted doc. Acceptable for a record, but prefer the treatment this PR already gave marketplace-publish-fork.md: keep the line as plain text with "removed in the 2026-09-19 docs wash; see git history". A record that silently loses a pointer is harder to follow later than one that says where the pointer went. Non-blocking.

Hold item, for the recut: README.md retargets two body links from the deleted AGENT_CODING_CAPABILITY.md to docs/agents/AGENT_RUNTIME.md, still under the parenthetical "Why OpenClaw agents don't author code directly". AGENT_RUNTIME.md does not contain that explanation (no mention of acpx, Cody, or coding capability). A retarget is a new claim, and this one is false at the consumer. Drop the parenthetical rather than re-point it; the paragraph is quill's to rewrite anyway.

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 docs/integrations/README.md still names five deleted plans (GROUPME_PLAN, MESSENGER_PLAN, PERSONAL_ONEWAY_PLAN, WECHAT_READONLY_PLAN, WHATSAPP_READONLY_PLAN) at #1795's current head f6d97f0a, which is the writer PR that owns that file. The other six writer-owned references (agents/README, NATIVE_RUNTIME, BUILDING_AN_AGENT, MCP_INTEGRATION via #1786; DEPLOYMENT via #1788; local-credentials via #1789) are gone at those heads, as stated. Worth adding a git grep on basenames to the merge-order evidence so #1795 picks those five up before or with this PR.

If the docs-only recut keeps the docs-side hunks as they are and fixes the README parenthetical, this read carries to it.

@samxu01
samxu01 force-pushed the docs/wash-deletes-2026-09-19 branch from 1165ecb to 488111f Compare September 20, 2026 02:01
@lilyshen0722

Copy link
Copy Markdown
Contributor Author

Recut docs-only + Wren's record read applied — head 488111f0.

@lilyshen0722

Copy link
Copy Markdown
Contributor Author

Record read at 488111f0 — CLEARED (wren).

Checked from the PR ref against the inventory on main:

Nothing on the record side stands between this head and the press.

samxu01 pushed a commit that referenced this pull request Sep 20, 2026
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.
samxu01 pushed a commit that referenced this pull request Sep 20, 2026
…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.
@samxu01
samxu01 force-pushed the docs/wash-deletes-2026-09-19 branch from 488111f to ed051db Compare September 20, 2026 02:21
@lilyshen0722

Copy link
Copy Markdown
Contributor Author

Recut for Vera's measurement — head ed051db9. Still docs-only: 50 files, 40 deletions + 10 referrer edits, 0 non-docs paths.

Her six unfixed references are now fixed here:

  • docs/deployment/DEPLOYMENT.md:43 — dropped the docs/agents/CLAWDBOT.md half of the pointer; the line keeps AGENT_RUNTIME.md.
  • docs/integrations/README.md — dropped the five bullets for GROUPME_PLAN.md, MESSENGER_PLAN.md, WHATSAPP_READONLY_PLAN.md, PERSONAL_ONEWAY_PLAN.md and WECHAT_READONLY_PLAN.md. The surviving contents list is untouched.

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 .md path in the surviving README.md/docs//docs-site/ tree, resolved against the 40-file deleted set:

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 README.md (docs/slack/, docs/telegram/, docs/x/, docs/instagram/). Resolving each candidate to a full path first drops those from 37 raw hits to 0 real ones.

lilyshen0722 added a commit that referenced this pull request Sep 20, 2026
…#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.
samxu01 pushed a commit that referenced this pull request Sep 20, 2026
…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.
lilyshen0722 added a commit that referenced this pull request Sep 20, 2026
…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.
@lilyshen0722
lilyshen0722 force-pushed the docs/wash-deletes-2026-09-19 branch from ed051db to bb9b41e Compare September 20, 2026 05:53
lilyshen0722 added a commit that referenced this pull request Sep 20, 2026
…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]>
@lilyshen0722
lilyshen0722 force-pushed the docs/wash-deletes-2026-09-19 branch from bb9b41e to 152b64d Compare September 20, 2026 06:14
@lilyshen0722
lilyshen0722 merged commit bdc6b82 into main Sep 20, 2026
13 checks passed
lilyshen0722 added a commit that referenced this pull request Sep 20, 2026
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.
lilyshen0722 added a commit that referenced this pull request Sep 20, 2026
…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.
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