An AI software development lifecycle for any repository, open source or your own. It hunts for bugs and security vulnerabilities, fixes them, or builds the feature you ask for. Then it proves the change and hands it to you.
triageunclaimed: 9 GitHub searches, no competing PR or claim
bugcopy.deepcopy(dotdict(...)) raises TypeError: 'dotdict' object is not callable
forgePGsmith writes a test and a fix in an isolated worktree
forge2 files changed, 51.3 s, $0.24
checkcontrol: lfx schema tests on base, exit 0
checkbefore: the new test on base, exit 1. The bug is real.
checkafter: schema and custom template tests, exit 0
checkruff exit 0, ruff format exit 0
reviewPGrumble, blind: no blocking finding, $0.11
forgepolish round: attempt 1 done, 17.2 s, $0.15
checkfails before, passes after, lint clean, again
reviewPGrumble, blind: no blocking finding, $0.11
writePGquill writes the pull request, $0.11
holddraft ready for a person to review. Nothing goes upstream on its own.
A real run on langflow, replayed from its log at ten times speed. Times in seconds.
The loop
Every stage is a gate that leaves evidence on disk. A patch that fails verification or review goes back to the forge, with the reason.
01
Discover
PGnosis
Hunts for bugs and security vulnerabilities, or takes the feature you ask for.
02
Triage
PGrapevine
Is it real, in scope and unclaimed? Reads the issue thread and linked pull requests.
03
Reproduce
PGhost
A minimal failing test on a pinned base commit.
04
Forge
PGsmith
Writes the patch in an isolated worktree.
05
Verify
PGauntlet, PGlass
The test fails before the fix and passes after it. The project's own tests and linters pass.
06
Review
PGrumble
A second agent reviews the diff and the evidence. It never sees the author's reasoning.
07
Draft
PGquill, PGraft
Writes the pull request to the project's template and rules, and stages it as a draft in your fork.
08
Maintain
PGuardian
Watches CI, reviews and a moving main branch, and comes back with follow-ups.
Fails or rejected: back to Forge with the evidence.
One run, every span
Each stage, agent session, tool call and check is a span with its time, tokens and cost, exported as an OpenTelemetry trace. This is the trace of the run in the console above.
langflow-dotdict-deepcopy/base ef80323f8ea3
wall clock
272 s
agent cost
$0.72
blind review
approved
prompts
forge-12, skeptic-7
0 s60120180240
Before: the new test on the unpatched base
start
82.7 s
duration
about 17.8 s
detail
exit 1. The test fails without the fix, so the bug is real
agent sessionproject checkstool callsA ~ marks a time read from logs, not a timer.
langflow-ai/langflow
272 s$0.72
The run above. Deep-copying a dotdict in langflow's lfx package raised a TypeError. It checked nobody had claimed it, wrote a test that fails on the base and passes with the fix, passed the blind review, and left a draft for a person to review.
pandas-dev/pandas
under 2 min$0.33
It made no change. The main branch had already settled the issue, so there was nothing to fix, and it said so.
langflow-ai/langflow#16682
131 s$0.44
A dry run of /pgremlin run on an open PR. One repair round, the checks passed, then the blind review raised two blocking findings, so it stopped and waited for a person.
/pgremlin run
Comment it on an open pull request. pgremlin reads what the PR still needs, fixes it on the PR's head, runs the same gates, and pushes one more commit.
Failing CI: it reads the job logs and tells an infrastructure flake from a real failure.
Reviewers and review bots: CodeRabbit, Copilot, Gemini, Sourcery, CodeQL and others. Each bot comment is judged before it is acted on.
Your own request, written in the comment.
you commented
/pgremlin run
How it sorts what it reads
fixA job log with real failure lines from pytest, a compiler or a linter. The excerpt goes to the forge.
re-runA job that died because the runner shut down or a registry was down. Not the PR's fault, so it is left for a maintainer to re-run.
skipAn aggregate check that only failed because the others did.
judgeAn inline comment from a review bot. One short agent call decides whether it is worth acting on.
fixA reviewer's comment, or your own request.
pgremlin[bot] authored, you committed
One follow-up commit on the PR's branch, through the same checks as the first.
How a /pgremlin run reads a pull request.
The crew
Each stage is a goblin with a name, so you can tell from a trace who did what. The names stay in your terminal and reports, never in anything published.
Goblin
Job
Motto
Gob
runs the crew and the state machine
Herds goblins. Never lets a task wander off.
PGnosis
finds leads
Understand before you change.
PGrapevine
checks nobody has claimed it
Hears who's already on it.
PGhost
reproduces the bug
Raises the bug from the dead. On demand.
PGsmith
writes the patch
Forge. Test. Verify.
PGlass
diffs two implementations
Asks both sides the same question and spots the liar.
PGauntlet
proves the fix
Fails before, passes after, or it didn't happen.
PGrumble
reviews blind
Reads the diff, not your excuses.
PGquill
writes the bundle
Your voice, your name. Not mine.
PGraft
stages drafts in your fork
Grafts approved work into your fork. Never upstream.
PGsift
sorts red checks and bot reviews
Reads the logs, not the label. Flakes go back to the maintainers.
PGmend
fixes what an open PR still needs
Say /pgremlin run and it picks the thread back up.
PGuardian
watches open PRs
Keeps a lantern on your PRs while you sleep.
PGladiator
replays past fixes
Old bugs, hidden answers, no peeking.
Required checks
What holds for every change pgremlin makes, and every run it does.
Proved by tests
A test that fails before the fix and passes after it, plus the project's own tests and linters.
Sandboxed on your Mac
Agent sessions and agent-written code run in the macOS sandbox. Sandboxes never hold credentials.
Nothing merges without you
pgremlin never merges. Drafts land in your fork, and you open the pull request yourself.
A person on every commit
Commits are authored by pgremlin[bot] and committed by you, so every change traces to a person.
Disclosure by project policy
Where a project asks for AI assistance to be declared, the pull request declares it. That cannot be turned off.
Every run measured
Cost, time, tokens and the prompt versions behind each result, exported as OpenTelemetry traces.
Untrusted text stays data
Issues, comments, logs and source files are read as data. They never become instructions to an agent.