Skip to content

Prune docs/ to what the README reaches - #13

Merged
ReganBell merged 3 commits into
mainfrom
docs-prune
Jul 29, 2026
Merged

Prune docs/ to what the README reaches#13
ReganBell merged 3 commits into
mainfrom
docs-prune

Conversation

@ReganBell

@ReganBell ReganBell commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Why

docs/ had accumulated files nothing in the repo referenced. Unreachable docs rot silently and mislead whoever stumbles into them.

What

Deleted, after grepping the whole repo for references and finding none:

  • docs/cli-design.md
  • docs/session-tape-spec.md
  • docs/design/byte-movement.md
  • 9 screenshots under docs/screenshots/ that were PR artifacts, never linked from any doc (everything except web-ui-hero.png, which the README uses)

Kept getting-started.md and deploy-directory.md — both still load-bearing — and linked them from the README's "Going deeper" list. Previously they were reachable only through test/deploy-directory-doc.test.ts and the cli/ and deploy/layers/ sub-READMEs.

Verification

test/deploy-directory-doc.test.ts and test/removed-features.test.ts (the two suites that read docs/) pass, plus lint.

No front-end change; docs and README only.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

ReganBell and others added 2 commits July 29, 2026 15:39
docs/ had accumulated three files nothing in the repo referenced —
cli-design.md, session-tape-spec.md, and design/byte-movement.md — plus nine
screenshots that were PR artifacts and were never linked from any doc. Unreachable
docs rot silently and mislead whoever finds them.

Delete them, and pull the two docs that are still load-bearing into the README's
"Going deeper" list: getting-started.md and deploy-directory.md were previously
reachable only through tests and sub-READMEs.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Review caught three problems with the prune.

package-lock.json was swept in by an `npm install` run while verifying tests,
with package.json untouched — a stray re-resolution that de-hoisted 138
transitive deps and dropped the @emnapi entries. Nothing to do with docs;
reverted to main.

session-tape-spec.md and design/byte-movement.md were unreferenced by filename
but not unreferenced in substance. The tape spec is the only written record of
invariants that src/harness/tape-fold.ts, the session stores, five harnesses and
four test files implement. byte-movement.md is ADR 0004, and the repo cites
sibling ADRs by number from tests and plugin READMEs. Both describe shipped code
whose rationale is not recoverable from the code.

Restore both and link them from "Going deeper" — the same remedy this change
already applied to getting-started.md and deploy-directory.md.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@ReganBell

Copy link
Copy Markdown
Collaborator Author

Review found three issues, all fixed in the follow-up commit:

  1. Stray package-lock.json churn — an npm install run while verifying tests re-resolved the tree (de-hoisting 138 transitive deps, dropping the @emnapi entries) with package.json untouched. Swept in by git add -A. Reverted to main.
  2. docs/session-tape-spec.md restored — unreferenced by filename, but it is the only written record of invariants that src/harness/tape-fold.ts, the session stores, five harnesses and four test files implement.
  3. docs/design/byte-movement.md restored — ADR 0004, for architecture implemented across src/persistence/blob-transfer.ts, src/files/durable-byte-store.ts and others; the repo cites sibling ADRs by number from tests and plugin READMEs.

Both restored docs are now linked from "Going deeper" — the same remedy this PR already applied to getting-started.md and deploy-directory.md. The diff is now: 9 unreferenced screenshots and the cli-design.md redirect stub deleted, 4 README links added.

Both were unreachable from the README, which is the bar this change is applying
to docs/. Restoring them was the wrong call.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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