Skip to main content

Eliminate the 3-day re-entry cost of any codebase.

Project description

context-collapse

Eliminate the 3-day re-entry cost of returning to any codebase.

Run it on any git repo and get a Cold Start Pack — everything your brain needs to re-enter a codebase in 30 minutes instead of 3 days.

Usage

\
python cc.py path/to/repo python cc.py path/to/repo --no-ai python cc.py path/to/repo -o report.html \\

What it generates

  • Re-entry reading sequence (which files to read first)
  • File churn heatmap (what changes most)
  • Implicit coupling map (what breaks when X changes)
  • Key architectural decisions (why the code is shaped this way)
  • Danger zones (where to be careful)
  • Full commit timeline with intent classification

AI layer

Set your Gemini API key for AI-powered analysis (free at aistudio.google.com):

\
set GEMINI_API_KEY=your_key_here \\

Zero dependencies

Pure Python standard library. No installs needed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

context_collapse-0.1.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

context_collapse-0.1.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file context_collapse-0.1.0.tar.gz.

File metadata

  • Download URL: context_collapse-0.1.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for context_collapse-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6c11dff5e61477eaa4472d03ea29ff4b1a0f657033c19c9b0d562b60a75d4711
MD5 2a7938bb02e5da69862fd49a7237f6c3
BLAKE2b-256 fce70386f0fc4eeb8e4e869ce0ed4a1a42b5ac179fef273cc0def89ca0891b6f

See more details on using hashes here.

File details

Details for the file context_collapse-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for context_collapse-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 016867a286bcc2d01b5f71a4aab66f6536373ff3a14bced56e1d6a14a8cabbdc
MD5 09d4b56f1e8ddcdb5d8bf057c37b67eb
BLAKE2b-256 b515f28be7035b0576ae7a7d8054c23b3eedb1f1bdf03bef5b4be5802c3e0cb8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page