GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - copley/PySherlock

BranchesTags
Open more actions menu

Latest commit

 

History

28 Commits
28 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
demo
demo
 
 
src/pysherlock
src/pysherlock
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
app_runner.py
app_runner.py
 
 
pyproject.toml
pyproject.toml
 
 
test_connection.py
test_connection.py
 
 
test_gpt_models.py
test_gpt_models.py
 
 
test_gpt_models2.py
test_gpt_models2.py
 
 
test_gpt_models3.py
test_gpt_models3.py
 
 
todo.text
todo.text
 
 

Repository files navigation

PySherlock

An evidence-first debugging control plane for Codex and other coding agents.

For debugging case studies and paid repo-rescue enquiries, see Paid Debugging Lab.

Why PySherlock exists

Codex and other coding agents can inspect code, run commands, and propose fixes. PySherlock does not try to replace them.

PySherlock provides the controlled workflow around an agent:

failure → reproduce → collect evidence → diagnose → propose patch → verify → review → human decision

Its job is to make AI-assisted debugging repeatable, auditable, and safe—not merely plausible.

Milestone 1: evidence capture

The current CLI runs an allow-listed command in a local repository and produces a versioned JSON evidence report containing:

  • command and working directory;
  • stdout and stderr;
  • exit status, duration, and timeout state;
  • heuristic redaction of common token-like values;
  • an explicit outcome and limitations.

It does not call an AI model, modify the target repository, or automatically push code. Those capabilities require later milestones and explicit approval boundaries.

Quick start

python -m venv .venv
source .venv/bin/activate
pip install -e . pytest

pysherlock --repo ./demo -- python failing_command.py

The demo intentionally fails. PySherlock writes its evidence report to:

demo/.pysherlock/evidence.json

Use --output to choose another report path and --timeout to set the command timeout.

Safety boundary

  • Shell execution is not used.
  • Only python, python3, pytest, pip, and pip3 are allowed in v1.
  • Outputs are redacted heuristically before persistence.
  • No AI call, code modification, merge, push, or external side effect occurs.
  • A human remains responsible for accepting any later diagnosis or patch.

Roadmap

Future milestones will add:

  1. repository inspection and reproducible failure capture;
  2. AI-assisted, evidence-backed hypotheses;
  3. minimal patch proposals in isolated worktrees;
  4. targeted verification and adversarial review;
  5. cost budgets, approval gates, and a durable decision record.

Development

pip install -e . pytest ruff
pytest -q
ruff check src tests

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.