Skip to content

chore(audit): delete unreferenced docs (root duplicates, removed-backend era, binaries) - #2560

Merged
groupthinking merged 3 commits into
mainfrom
cursor/delete-unreferenced-docs-3b04
Nov 4, 2026
Merged

groupthinking merged 3 commits into
mainfrom
cursor/delete-unreferenced-docs-3b04

Conversation

@kk-agent

@kk-agent kk-agent commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

Outcome

Unreferenced and stale docs are deleted. Root originals of the policy files stay. No production path changes.

Closes #2328

#2328 covers three kinds of leftovers: archived folders, deleted-backend Python stubs, and docs tied to removed systems. #2557 (archived folder), #2560 (obsolete docs) and #2565 (deleted-backend stubs) together cover all three, and all three carry this closing keyword. docs/knowledge_prototypes is the only archived folder left on main. This PR covers the obsolete-docs part.

Findings

  • Done: docs copies of ARCHITECTURE.md, CHANGELOG.md, SKILL.md, EventRelay-Full-System-Breakdown.md, MERGE_POLICY.md, LAUNCH_CHECKLIST.md, SECURITY.md, CONTRIBUTING.md. Root originals kept. ARCHITECTURE.md, CHANGELOG.md, and the breakdown file were byte-identical to root. MERGE_POLICY.md, LAUNCH_CHECKLIST.md, SECURITY.md, and CONTRIBUTING.md differed; the root files are the ones tests and .env.example read. git grep found no docs/ARCHITECTURE.md, docs/CHANGELOG.md, docs/CONTRIBUTING.md, docs/MERGE_POLICY.md, or docs/SKILL.md refs. Inbound links to docs/LAUNCH_CHECKLIST.md and docs/SECURITY.md were removed (link line only).
  • Done: root SKILL.md (511 lines). UVAIEventBus existed only there. tests/integration/test_pipelines.py is absent. The mention in docs/AGENT_CAPABILITIES_CHECKLIST.md is updated, and the inventory bullet in .github/agent/tasks/cleanup-plan.md is removed.
  • Done: root EventRelay-Full-System-Breakdown.md. Named paths are absent (coordinator.py, universalcoordinator.py, executoraction.py, uvaiintelligence.py, youtubeextension, fabric.py, core/UnifiedCoordinator.py, mcp-servers/python-suite, mcp-servers/shared-state, processors/videoprocessorfactory.py). No remaining filename refs.
  • Done: removed-backend docs API_REFERENCE.md, ONBOARDING.md, MASTER_IMPLEMENTATION_GUIDE.md, QUICK_REFERENCE.md, docs/development/ (INDEX, ARCHITECTURE_DIAGRAMS, BACKEND_FRONTEND_INTEGRATION, ARCHITECTURAL_REFACTORING_ROADMAP, FASTVLM_SETUP), IMPLEMENTATION_SUMMARY.md, ADVANCED_VIDEO_FEATURES.md, GEMINI_VISION_INTEGRATION.md, TECH_STACK.md, architectural_context.md, DESIGN_BRIEF.md, MONITORING_QUICK_START.md, SENTRY_SETUP.md, MCP_CONSOLIDATION_GUIDE.md, MCP_CONSOLIDATION_SUMMARY.md, YTDLP_OPERATIONS.md. Confirmed missing: src/youtube_extension/backend/api/v1, services/mcp, backend/services/youtube/adapters/robust.py.
  • Done: docs/platform.md (1658 lines, buildpacks platform spec). git grep buildpack outside that file has no matches.
  • Done: docs/guides/ (whole directory, including requirements*.txt with no consumers and the extension-less exports).
  • Done: docs/Code_to_Cameras__Video_AI.mp4 (47 MB), docs/MARKETING.pdf, docs/external/chatgpt-exports/, docs/prompts/*.rtf (6 files). No references outside the deleted tree.
  • Skipped: none of the listed deletions. Every path was still tracked and the finding still held.

Link lines removed

docs/SPRINT_DEMO_AGENDA.md, docs/SPRINT_QA_CHECKLIST.md, .github/ISSUE_TEMPLATE/README.md, .github/ISSUE_TEMPLATE/phase-1-security-environment.md, docs/deployment/README.md, .github/agent/plans/implementation_plan.md, docs/CLEANUP_SUMMARY.md, scripts/cleanup_repo.sh.

Left in place:

  • docs/AUDIT_SESSION_CLOSEOUT_REPORT.md still names YTDLP_OPERATIONS.md. Not edited: docs/AUDIT_* is out of scope.
  • scripts/cleanup_bloat.sh reason text "Duplicate of API_REFERENCE.md" targets a different file (docs/API_QUICK_REFERENCE.md).
  • scripts/utilities/cleanup_repository.py still lists the six .rtf names as root files to move into docs/prompts/ if they reappear. Not a doc link. No test references it.
  • .env.example still points at root LAUNCH_CHECKLIST.md, which remains.
  • docs/analysis/, docs/reports/, docs/triage/, docs/pr-remediation/, docs/runbook/, docs/maintenance/, docs/migration/, docs/refactor/, docs/superpowers/, docs/design/enterprise-demo/, and docs/knowledge_prototypes/ were not touched.

Verification

Head 68a457440. Docs-only diff. After the commit, git grep for each deleted path finds no doc links. Remaining hits are the three non-link leftovers above, plus external URLs that contain the substring docs/guides.

CI on this head (run 41670469089): guards, lint-python, lint-frontend, build, test (Python 3.11), test (Python 3.12), and MCP catalog offline regressions passed. npm ci --legacy-peer-deps ran inside those jobs.

test-frontend failed 2 of 1563 tests in apps/web/src/lib/__tests__/home-sell-surface.test.ts (page copy is Studio prepares proposed work and build rails for you to review.; the test looks for prepares proposed work and build rails for you to review in Studio). The same job already fails on main at cd7e1998f (run 41659258955). This diff does not touch apps/web.

Repository Reconciliation report was cancelled: "Canceling since a higher priority waiting request for repository-reconciliation exists."

Scope

Auto-merge is not enabled.

Open in Web Open in Cursor 

Remove copied root docs, removed-backend guides, and unreferenced
binaries. Keep the root policy originals and drop links that pointed
at the deleted copies.

Co-authored-by: KK <kk-agent@users.noreply.github.com>
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

⚠️ Repository reconciliation: this PR does not reference exactly one canonical issue.

Please add a Closes #<issue> reference in the PR description so it can be tracked against the delivery plan.

See governance: #898

@vercel

vercel Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
v0-uvai Ready Ready Preview, v0 Nov 4, 2026 6:56am UTC

@coderabbitai

coderabbitai Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T16:07:54.014278Z 68a4574 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Nov 3, 2026
@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

🔍 PR Validation

⚠️ Large PR detected (14799 lines changed)

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 68a4574409

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines -19 to -21
The original `.zip` also contains `conversation-current-thread.json`, `manifest.json`,
and `manifest.sha256.txt`. The original download's `assets/WWDC26 gRPC with Swift.txt`
(WWDC transcript) is preserved inside the zip.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Preserve the original conversation source archive

Deleting this directory removes source material, not just stale implementation documentation: the ZIP contains the original WWDC transcript, structured conversation, and integrity manifests. I inspected the archive and searched the target commit's tracked tree; no replacement export or transcript remains. Lack of inbound links does not establish that these source records are disposable. docs/AGENTS.md explicitly requires preserving source fixtures and audit evidence unless a verified cleanup reason requires removal. Retain the original archive, or migrate its source files and integrity metadata to a preserved location before deleting this directory.

AGENTS.md reference: docs/AGENTS.md:L9-L9

Useful? React with 👍 / 👎.

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

  • docs/guides/requirements.txt

Keep docs/external/chatgpt-exports as the source archive on main.
Put the Cloud rate-limiting link back on the architecture path.

Co-authored-by: KK <kk-agent@users.noreply.github.com>
@groupthinking
groupthinking merged commit 6c7bf29 into main Nov 4, 2026
30 checks passed
@groupthinking
groupthinking deleted the cursor/delete-unreferenced-docs-3b04 branch November 4, 2026 07:08

This branch was successfully deployed

1 active deployment
Preview — fecbccb4 Deployed Nov 4, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove dead archives, backend stubs, and obsolete docs

3 participants