Skip to main content

CLI utility for locally auditing AI-generated repositories and generating REBRIEF.md handoff reports

Project description

rebrief

Instantly turn any unfamiliar repository into a clean developer handoff dossier.

A local CLI that scans any codebase and produces a structured REBRIEF.md report in ~30 seconds - stack, context, history, risks, and a where-to-start checklist.


The Pain

You join a new project - after an outsourcing handoff, a freelancer exit, or years of legacy development. Your first week disappears into onboarding archaeology: manually mapping the tech stack, hunting buried TODOs, sorting through a noisy Git history, and trying to spot security and test gaps before you can ship anything. The knowledge is in the repo; nobody assembled it.

Before vs. After

Before After
A week manually digging through code A 30-second local scan
Guessing project boundaries and setup context Harvested context from rules files and README
Noisy git history hiding real decisions Filtered timeline + churn hotspots
Unknown security and test gaps Prioritized risk map + developer checklist
rebrief scan .
# → REBRIEF.md

Demo

Demo coming soon - GIF or Asciinema recording of rebrief scan . showing Rich terminal spinners (stack, rules, git, risks) and the green "Scan complete" summary panel.

<!-- Replace with demo.gif or asciinema link -->


Key Features

  • Deep Stack & Manifest Detection - Recursive scan for package.json, pyproject.toml, go.mod, Cargo.toml, and more. Detects languages and frameworks (Django, React, Next.js, Go, and others) across mono-repos and nested layouts.
  • Context & Rules Harvesting - Extracts local project context from .cursorrules, CLAUDE.md, README.md, and related instruction files so the next developer knows how the project was meant to be built.
  • Noise-Filtered Git Archaeology - Filters low-value commits (wip, fix typo, minor updates) to surface a cleaner timeline of meaningful changes and 30-day change-density hotspots.
  • Local-First Risk Mapping - Static analysis for hardcoded secrets, unresolved technical debt (TODO/FIXME), missing test directories, and dependency conflicts. No cloud upload, no API keys.

Installation & Quick Start

pip install rebrief
rebrief scan .
rebrief scan /path/to/repo -o REBRIEF.md

Scan the current directory (default) or any local path. Output defaults to REBRIEF.md in the target repo.


Example Output

# REBRIEF REPORT: my-app

## 1. Project Overview (Executive Summary)
- This repository uses 1 language(s) and has 4 risk item(s) that need developer attention.
- AI instruction files found: 2 (.cursorrules, CLAUDE.md).
  - `.cursorrules`: 12 lines
  - `CLAUDE.md`: 5 lines

## 2. Technology Stack and Dependencies
- **Languages:** Python
- **Frameworks:** Django
- **Manifests:** pyproject.toml
- **Key dependencies:**
  - `click>=8.1`
  - `django==4.2`

## 3. Solution Timeline (Git History)
- `a1b2c3d` (2026-01-15) Add authentication module — Alice

### Hotspots (Change Density)
- src/app.py: 8 changes

## 4. Risk Map (AI Debt & Security)
### [CRITICAL]
- Hard-coded secret in config.py:3

### [WARNING]
- Missing tests directory (`tests/`, `test/`, or `__tests__/`).
- Duplicate dependency `django` with conflicting versions: ==3.2, ==4.2.

### [INFO]
- TODO in app.py:10

## 5. Developer Checklist ("Where to Start")
1. Review and rotate hard-coded credentials in config.py (line 3).
2. Add a `tests/` directory and cover critical paths.
3. Resolve version conflict for `django`: ==3.2, ==4.2.
4. Set up the development environment for Django.
5. Review frequently changed file: src/app.py (8 edits in 30 days).

License

MIT

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

rebrief-0.1.1.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

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

rebrief-0.1.1-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file rebrief-0.1.1.tar.gz.

File metadata

  • Download URL: rebrief-0.1.1.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for rebrief-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bed8f52a47f08afc98b0a607eac31bd55683c0326f0d0916655a20f1645b7d9f
MD5 d3243d0acadf78eaea71d87fd2288b79
BLAKE2b-256 f4b76d699e4efb6c955e9f4ffe1b0db36a5dcd739109a3799cc6ec8df766e3b3

See more details on using hashes here.

File details

Details for the file rebrief-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: rebrief-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for rebrief-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9a011e23015d100d4a567bc59d7456eb1831dc5e2afdfc27489d947a8c34ead7
MD5 a69001a9b880aecd9576abbc07949265
BLAKE2b-256 20a4b4fe0cc86387a9ea708f51c79022a62043b4ee7c8a680ee94b0fe7ec3421

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