patching-bugs
Agent-orchestrated workflow to reproduce, patch, prove and regression-check one known bug.
Imported description, not reviewed yet
This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.
Download
Read this before you download
Talqeen never runs anything from this item. But what you download runs on your machine if you run it or let Claude Code run it, so read the files first.
- The item has script files.
Install
Plugins are installed from a plugin marketplace in Claude Code, not by copying files. Download the package to read its content and its license.
Instructions
Patching Bugs
An agent coordinates focused skills to repair one supplied bug or falsifiable hypothesis in a local Git repository. Fresh agents reproduce and validate the claim, make a scoped repair, and prove the patch against the baseline, patched, and completely reverted trees.
Start with patching-bugs. Supply a clean target checkout with a
working project build and a run directory outside its tracked tree. The workflow handles runtime
and compiler failures and requires the regression-hunt plugin for the final regression check.
It never pushes or opens a PR.
The coordinator and standalone skills use any root AGENTS.md,
PATCHING_GUIDELINES.md, and THREAT_MODEL.md as described in the
project guidance.
Skills
| Skill | Responsibility |
|---|---|
| patching-bugs | Coordinate one claim, repair attempts, regression check, and reports |
| reproduce-bug | Exercise the unchanged baseline and retain the PoC and raw receipts |
| validate-bug | Independently rerun the unchanged PoC and judge the claim |
| implement-patch | Fix the scoped invariant, test variants, and create one local commit |
| prove-patch | Independently run scoped checks and three-arm proof |
The record contract defines the run records, numbered attempts, and
receipt manifests. A reportable run produces report.html for the auditor, including failed and
inconclusive runs. Only a verified patch with a READY verdict produces
maintainer-report.html for the local handoff.
Deterministic helpers
The standard-library scripts require Python 3.13+; invoke them with uv run --no-project.
They do not dispatch agents or replace independent review.
- records.py: validate records and repair scope, and write or check receipt manifests.
- arms.py: build and exercise baseline, patched, and completely reverted trees in isolated worktrees.
- render.py: validate retained evidence and render the auditor report and, when ready, the maintainer handoff.
Development
Run make check from the repository root for repository checks and behavioral tests. For the
plugin's type check, run uv sync --frozen and uv run --frozen ty check scripts tests from this
directory.
Files
- folder.claude-plugin255 B
- plugin.json255 B
- folderassets8.4 KB
- maintainer-report.html2 KB
- report.css3.5 KB
- report.html2.9 KB
- folderreferences13 KB
- records.md13 KB
- folderschemas20 KB
- finding.schema.json3 KB
- patch.schema.json2.7 KB
- prove.schema.json7.1 KB
- regression.schema.json1.2 KB
- report-input.schema.json2 KB
- reproduce.schema.json1.3 KB
- run.schema.json1.9 KB
- validate.schema.json510 B
- folderscripts97 KBscript
- arms.py9.3 KBscript
- native_proof.py12 KBscript
- records.py13 KBscript
- render.py10 KBscript
- repair_scope.py2.1 KBscript
- report_sections.py29 KBscript
- report_views.py9.8 KBscript
- terminal.py8 KBscript
- verdict.py4 KBscript
- folderskills19 KB
- folderimplement-patch3 KB
- SKILL.md3 KB
- folderpatching-bugs7.1 KB
- SKILL.md7.1 KB
- folderprove-patch4.4 KB
- SKILL.md4.4 KB
- folderreproduce-bug2.8 KB
- SKILL.md2.8 KB
- foldervalidate-bug1.9 KB
- SKILL.md1.9 KB
- foldertests106 KBscript
- folderfixtures9.4 KBscript
- folderplanted-bug883 Bscript
- app.py166 Bscript
- build.py115 Bscript
- poc.py602 Bscript
- folderrun-ready8.6 KBscript
- folderpatch820 B
- folderattempt-1820 B
- fix.patch22 B
- manifest.json301 B
- patch.json475 B
- tests.patch22 B
- folderprove5 KBscript
- folderattempt-15 KBscript
- folderreceipts1 KBscript
- folderarms14 B
- poc.txt14 B
- interior-baseline.stderr0 B
- interior-baseline.stdout76 B
- interior-patched.stderr0 B
- interior-patched.stdout77 B
- ordinary-baseline.stderr0 B
- ordinary-baseline.stdout67 B
- ordinary-patched.stderr0 B
- ordinary-patched.stdout67 B
- project-patched.stderr0 B
- project-patched.stdout10 B
- proof-case.py277 Bscript
- repeated-baseline.stderr0 B
- repeated-baseline.stdout74 B
- repeated-patched.stderr0 B
- repeated-patched.stdout73 B
- source.json302 B
- manifest.json1.9 KB
- prove.json2.1 KB
- folderregression351 B
- folderreceipts15 B
- decision.txt15 B
- manifest.json231 B
- regression.json105 B
- folderreproduce787 Bscript
- folderpoc23 Bscript
- poc.py23 Bscript
- folderreceipts31 B
- build.txt9 B
- poc.txt22 B
- manifest.json405 B
- reproduce.json328 B
- foldervalidate366 B
- folderreceipts22 B
- poc.txt22 B
- manifest.json224 B
- validate.json120 B
- finding.json876 B
- report-input.json177 B
- run.json266 B
- cold-run.md1.5 KB
- test_arms.py4 KBscript
- test_native_proof.py12 KBscript
- test_proof_types.py12 KBscript
- test_records.py11 KBscript
- test_render.py15 KBscript
- test_repair_scope.py4 KBscript
- test_report_outputs.py7.4 KBscript
- test_s0_report.py15 KBscript
- test_skill_examples.py2 KBscript
- test_terminal_reports.py10 KBscript
- test_verdict.py3.7 KBscript
- LICENSE20 KB
- README.md2.5 KB
- pyproject.toml699 B
- uv.lock16 KB
What the automatic scan found
We scanned the files automatically when they were imported. This is what the scan pointed at. It does not mean the item is harmful, and it does not mean it is safe: read it yourself.
- Needs a lookA script file
In file plugins/patching-bugs/scripts/arms.py
Comments (0)
No comments yet. Be the first.
Sign in to comment. Commenting comes at level 1 (Member).