Skip to content

chore: remove committed bytecode and unused Next.js template assets#47

Draft
macanderson wants to merge 1 commit into
mainfrom
chore/cleanup-stale-files
Draft

chore: remove committed bytecode and unused Next.js template assets#47
macanderson wants to merge 1 commit into
mainfrom
chore/cleanup-stale-files

Conversation

@macanderson

Copy link
Copy Markdown
Owner

Summary

Cleanup of stale/out-of-place tracked files, surveyed across the whole repo:

  • tests/__pycache__/docs_site_witness_test.cpython-314.pyc — committed Python bytecode (the .py source remains). Root .gitignore only had /target, so bytecode could slip in; added __pycache__/ + *.pyc to it.
  • site/public/{file,globe,next,vercel,window}.svg — verbatim create-next-app starter assets (incl. third-party Next.js/Vercel logos), unreferenced anywhere in the repo. The site's own og.png and contextgraph-logo.svg are referenced and untouched.

Verification

  • rg across the repo (incl. .github, site config, SDKs) finds zero references to any removed file.
  • tests/docs_site_witness_test.py passes after the deletions.
  • Survey also confirmed the OCP→Context Graph rename left no tracked cruft (no ocp-* leftovers outside the intentional MIGRATION.md), no .DS_Store/editor junk, no tracked-but-ignored files.

Considered but left in place

docs/future/context-receipt-impact-trace/context-receipt-impact-trace-plan.md — a completed agentic implementation plan (its feature shipped as ContextReceiptDemo, and it names a stack that doesn't match the actual site). Left alone since it lives in the deliberate docs/future/ area and its sibling design.md is referenced; delete here too if you don't want completed plans kept for provenance.

https://claude.ai/code/session_01Dntx9eZ8zQRLb1MuNabrCp

- Delete tests/__pycache__/docs_site_witness_test.cpython-314.pyc (committed
  Python bytecode; the .py source remains) and add __pycache__/ + *.pyc to
  the root .gitignore so it can't slip back in.
- Delete five verbatim create-next-app starter SVGs from site/public/
  (file/globe/next/vercel/window.svg) — none are referenced anywhere in the
  repo; the site's own og.png and contextgraph-logo.svg are untouched.

Verified: rg finds no references to any removed file; docs-site witness
test still passes.

Claude-Session: https://claude.ai/code/session_01Dntx9eZ8zQRLb1MuNabrCp
@vercel

vercel Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
context-graph-protocol Ready Ready Preview, Comment Jul 23, 2026 8:58pm

@sourcery-ai sourcery-ai 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.

Sorry @macanderson, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

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