⚡ git-oops v1.0.3.post1 (The Final Legend Edition)
The Zero-Step Autonomous AI Agent Safety Harness & Terminal Crash Interceptor.
Human Mode: Roasted by a Staff Engineer │ Agent Mode: The Headless Shield for Coding Agents
😤 Why git-oops?
For Humans:
Your script crashes with a 50-line traceback. You're exhausted, and ChatGPT gives you a polite 6-paragraph email instead of a 2-line fix.
git-oops roasts your sloppy code with razor-sharp wit and applies a surgical 1-click git patch directly in your terminal.
For All Autonomous AI Coding Agents (Antigravity, Claude, Cursor, Windsurf, Qoder, Codex, Devin, and any Agent):
Modern autonomous coding agents face catastrophic failure modes:
- Context Bloat: Multi-thousand line terminal dumps overflow agent context windows.
- Infinite Thrashing: Agents get trapped in loops editing and reverting the same code.
- Ghost Hallucinations: Agents import non-existent libraries or fall into typosquatted package traps.
- Blast-Radius Disasters: Agents accidentally execute
rm -rfor destructive force-pushes.
git-oops provides the missing runtime safety harness that shields your repository, your sanity, and your wallet.
⚡ The Dual-Mode Architecture
[ Terminal Crash / Agent Execution ]
│
┌──────────────────────┴──────────────────────┐
▼ ▼
[ 🧑💻 HUMAN MODE ] [ 🤖 AGENT MODE ]
• High-Fidelity Rounded Cards • Clean Machine-Readable JSON
• Caustic Critic Roasts (Staff/Chef) • 90% Context Log Squeezer & Redactor
• Interactive [y/N] Patch Confirmation • Blast-Radius Firewall & AST Linter
• Instant `--undo` Reversion • Anti-Thrashing Watchdog & Mutex
│ │
└──────────────────────┬──────────────────────┘
▼
[ 🛡️ SHA-256 Cache & Circuit Breaker ]
[ 🔌 Native Model Context Protocol (MCP) ]
🌟 The 20 Super-Capabilities
| # | Capability | Module | What It Does | Why It Matters |
|---|---|---|---|---|
| 1 | 🧑💻 Dual-Mode Engine | src/cli.py |
Human visual mode or --agent / --json headless mode. |
Works equally well for human engineers and autonomous agents. |
| 2 | 🔌 Native MCP Server | src/mcp_server.py |
Exposes tools over stdio (git-oops --mcp). |
Instantly attaches to Antigravity, Claude Desktop, Cursor, Windsurf, Qoder, and all MCP-compatible clients. |
| 3 | 🛑 Anti-Thrashing Watchdog | src/watchdog.py |
Detects repeated edit-revert oscillations (> 3 times). | Halts runaway agent loops before burning through credits. |
| 4 | 🛡️ Blast-Radius Firewall | src/firewall.py |
Intercepts rm -rf, force-push, and wildcard deletions. |
Prevents rogue agents from wiping out the filesystem. |
| 5 | 🕵️ Supply-Chain Shield | src/firewall.py |
Blocks hallucinated/typosquatted package installs. | Protects against AI package hallucination attacks. |
| 6 | 🚨 Egress Sniffer Probe | src/sentinel.py |
Scans patches for unauthorized phone-home connections. | Blocks trojans and telemetry data exfiltration in patches. |
| 7 | 🔒 Multi-Agent Mutex | src/watchdog.py |
Cooperative file lease locks across multiple agent sub-workers. | Stops concurrent agents from overwriting each other. |
| 8 | 🪞 Shadow Workspace | src/shadow.py |
Dry-runs patches inside an ephemeral clone directory. | Zero-risk experimentation; commits only after full validation. |
| 9 | 👻 Polyglot Ghost Import Linter | src/guardian.py |
0 ms AST/heuristic check across Python, JS/TS, Go, Rust, Java/Kotlin, C/C++, PHP, Ruby, C#, Swift, Dart, Lua, Shell & exotic scripts. | Blocks patches containing non-existent hallucinated packages in any language. |
| 10 | 🧪 Regression Guard | src/guardian.py |
Runs project tests in sandbox before modifying files. | Prevents agents from breaking existing features. |
| 11 | ⚖️ Cross-Model Consensus | src/consensus.py |
Requires 2 independent models to agree on the root cause. | Eliminates single-model hallucination single-points-of-failure. |
| 12 | ✂️ Anti-Bloat Complexity | src/sentinel.py |
Monitors cyclomatic complexity to prevent code bloat. | Stops agents from writing 8-layer nested spaghetti code. |
| 13 | 📜 License Taint Shield | src/sentinel.py |
Blocks patches containing viral GPL/AGPL copy-paste headers. | Protects commercial projects from open-source license lawsuits. |
| 14 | 📉 Context Log Squeezer | src/squeezer.py |
Compresses 5,000-line stacks to 20 focused lines. | Saves 90% of token context window costs. |
| 15 | 🔒 Secret Redactor | src/squeezer.py |
Automatically masks API keys and tokens (<REDACTED_SECRET>). |
Prevents credential leakage across external LLMs. |
| 16 | 🧭 Intent Prefetch Engine | src/sentinel.py |
Markov-chain prediction prefetching next-step responses. | Speeds up multi-turn agent tool execution chains to 0 ms. |
| 17 | ✈️ Flight Recorder | src/blackbox.py |
Logs every action, motivation, and takes file snapshots. | Full auditability of what your agent did overnight. |
| 18 | ⏪ Time-Machine Rewind | src/blackbox.py |
--rewind <step_id> restores snapshot state. |
1-second recovery if an agent takes a wrong path. |
| 19 | 🧬 Antibody Immunity DB | src/blackbox.py |
Saves verified solutions to a local pathology ledger. | Next time the same error occurs, resolution is instant. |
| 20 | 🔄 Anti-Bit-Rot Evolution | src/updater.py |
Auto-detects runtime shifts and model deprecations. | Code never rots or breaks across future Python releases. |
| 21 | 🪝 Zero-Step Global Hooks | src/hooks.py |
Universal machine-wide git interception via core.hooksPath. |
Zero manual configuration; protects every repository on the machine. |
| 22 | ⚡ Sub-Second L3 Pre-Flight | src/hooks.py |
Replicates full GitHub CI/CD locally in <0.3s before commit/push. | Blocks secrets, SQLi, command injection, and test failures instantly. |
| 23 | 📡 Dynamic OTA Security Feed | src/rules.py |
Silent background auto-sync of latest CVEs & malicious package rules. | Rules update automatically whenever connected; zero code changes needed. |
| 24 | 🎛️ Obsidian Glassmorphism HUD | src/hud.py |
Live web dashboard (git-oops --hud) with dark frosted glass design. |
Real-time monitoring of spend, locks, hardware telemetry, and panic salvage. |
| 25 | ⚡ 1ms Deterministic AST Solver | src/solver.py |
Zero-AI / Zero-LLM symbolic compiler deductions for fatal errors. | Fixes NoneType, KeyError, and ZeroDivision in 1ms with 0 tokens and $0.00 cost. |
| 26 | 🦙 Pure-Offline Local LLM | src/local_llm.py |
Sub-second native connector for Ollama & vLLM (--local). |
100% private and air-gapped bug fixing without internet or cloud APIs. |
| 27 | 🔍 Supply-Chain Phishing Guard | src/supply_chain.py |
Levenshtein distance check + Google OSV live database audit. | Intercepts typosquatted dependency decoy attacks like reqeusts and colorma. |
| 28 | 🌡️ Hardware Sentinel & Throttling | src/hardware.py |
Monitors battery (<15%) and thermal limits; pins agents to E-Cores. | Prevents rogue AI agent loops from frying your laptop or draining battery. |
| 29 | 🛡️ Pre-PR Staff Gatekeeper | src/reviewer.py |
Pre-flight audit comparing branch changes against main (--review-pr). |
Instant staff-level review of security, complexity drift, and test parity. |
| 30 | 🩹 Reflog Autopsy & Crash Replay | src/salvage.py |
Rescues lost commits (--salvage) and replays variable snapshots (--replay). |
1-click disaster recovery even after destructive git reset --hard or fatal crashes. |
🚀 Beginner Quickstart (1-Minute Guide)
1. Install Globally:
pip install git-oops
Zero Configuration Required:
git-oopsautomatically registers machine-wide hooks in the background. Everygit commitandgit pushacross your repositories is immediately shielded with sub-second L3 security.
2. Live Obsidian Web HUD:
Launch the real-time glassmorphism dashboard in one command:
git-oops --hud
3. Connect to Any AI Tool (MCP or Subshell):
Option A: For Antigravity, Claude Desktop, Cursor, Windsurf, Qoder & All MCP Agents:
Add this to your MCP configuration:
{
"mcpServers": {
"git-oops": {
"command": "git-oops",
"args": ["--mcp"]
}
}
}
Option B: For Any Subshell / CLI AI Agent (Codex, Devin, Copilot, Aider, Roo Code, Cline, etc.):
Simply tell your agent in prompt or rule:
"Always diagnose and apply patches safely via:
git-oops --agent --file <file> --error \"<error>\" --yes" It outputs clean machine-readable JSON without ANSI codes.
4. Interactive Terminal Commands:
# Human mode (roasts you & shows visual diff)
git-oops --file broken.py --error "KeyError: 'user_id'"
# 1ms Zero-AI Symbolic AST repair ($0.00 cost)
git-oops --file broken.py --error "AttributeError: 'NoneType' object has no attribute 'x'" --solver --yes
# Run full L3 security pre-flight manually
git-oops --pre-commit
# Pre-PR Staff Gatekeeper audit
git-oops --review-pr
# Resurrect lost work after an agent wipeout
git-oops --salvage
🧪 Comprehensive Test Suite
All 34 test suites run in under 4.0 seconds with 100% pass rate:
pytest tests -v
============================= 34 passed in 3.97s ==============================
🔒 100% Local & Privacy-First (Zero Telemetry)
We believe developer tools should never spy on you or your AI agents:
- Zero Telemetry: No tracking pixels, no user analytics, and zero remote logging.
- Air-Gapped Safety: All firewalls, anti-thrashing heuristics, AST parsing, and secret redactors run 100% locally on your machine.
- Data Sovereignty: The blackbox flight recorder, antibody memory DB, and shadow sandboxes live strictly in
~/.git_oops/in your local home directory. - Credential Masking: High-entropy strings, tokens, and keys are automatically sanitized before reaching any AI model.
🤝 Documentation & Community
- Check out the Help & Beginner's Manual for full MCP step-by-step screenshots and command references.
- Review our Legal Terms & Disclaimer for licensing, privacy, and autonomous agent safety notices.
- Read our Contributing Guidelines to set up your environment.
- Review our Code of Conduct.
- To report security vulnerabilities privately, please review SECURITY.md.
Metadata
Release files for git-oops 1.0.3.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| git_oops-1.0.3.post1.tar.gz | 131.4 kB | With provenance | Details for git_oops-1.0.3.post1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| git_oops-1.0.3.post1-py3-none-any.whl | Python 3 | none | any | Details for git_oops-1.0.3.post1-py3-none-any.whl |
Total release size: 269.8 kB
Release files / git_oops-1.0.3.post1.tar.gz
| Download URL | git_oops-1.0.3.post1.tar.gz |
|---|---|
| Size | 131.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4bc23c4a70333cc617e2f3839713905358cf726ea709ca4330eb4778cdd09ac2
|
|
BLAKE2b-256 checksum How to use checksums |
90452efe2a82563c11448ecd324cad2d4fb0fa22fea3528ed5d97b3a338d878a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Transparency logRelease files / git_oops-1.0.3.post1-py3-none-any.whl
| Download URL | git_oops-1.0.3.post1-py3-none-any.whl |
|---|---|
| Size | 138.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
896fa260224c1f3a57d81583b7d298fba5bb123141e9efc6d2fc9f882ad35041
|
|
BLAKE2b-256 checksum How to use checksums |
8893642cb2e9bccdf3a0130f54b95bbfe878b1e79acd41a57d78c2241ce61e9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Transparency logSecurity for git-oops 1.0.3.post1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for git_oops-1.0.3.post1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.