تخطَّ إلى المحتوى
إضافةمستورديحتوي سكربتاتترخيص مشاركة بالمثل

patching-bugs

Agent-orchestrated workflow to reproduce, patch, prove and regression-check one known bug.

وصف مستورد لم يراجعه محرر بعد

جاء هذا العنصر من مستودعه الأصلي وفحصناه آلياً فقط، ولم يكتب له محرر وصفاً عربياً بعد. اقرأ محتواه بنفسك قبل أن تعتمد عليه. ولا تُفهرس هذه الصفحة في محركات البحث حتى تُراجَع.

التنزيل

اقرأ هذا قبل أن تنزّل

لا يشغّل تلقين أي شيء من هذا العنصر. لكن ما تنزّله يعمل على جهازك إن شغّلته أنت أو سمحت لكلود كود بتشغيله، فاقرأ الملفات أولاً.

  • في العنصر ملفات سكربت.

الملفات: 82 · الحجم: 302 ك.ب

نزّل ملف ZIP

يحمل الملف ترخيص المصدر الأصلي.

التثبيت

تُثبَّت الإضافات من سوق الإضافات في كلود كود، لا بنسخ الملفات. نزّل الحزمة لتقرأ محتواها وترخيصها.

التعليمات

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

SkillResponsibility
patching-bugsCoordinate one claim, repair attempts, regression check, and reports
reproduce-bugExercise the unchanged baseline and retain the PoC and raw receipts
validate-bugIndependently rerun the unchanged PoC and judge the claim
implement-patchFix the scoped invariant, test variants, and create one local commit
prove-patchIndependently 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.

الملفات

  • مجلد.claude-plugin255 بايت
    • plugin.json255 بايت
  • مجلدassets8.4 ك.ب
    • maintainer-report.html2 ك.ب
    • report.css3.5 ك.ب
    • report.html2.9 ك.ب
  • مجلدreferences13 ك.ب
    • records.md13 ك.ب
  • مجلدschemas20 ك.ب
    • finding.schema.json3 ك.ب
    • patch.schema.json2.7 ك.ب
    • prove.schema.json7.1 ك.ب
    • regression.schema.json1.2 ك.ب
    • report-input.schema.json2 ك.ب
    • reproduce.schema.json1.3 ك.ب
    • run.schema.json1.9 ك.ب
    • validate.schema.json510 بايت
  • مجلدscripts97 ك.بسكربت
    • arms.py9.3 ك.بسكربت
    • native_proof.py12 ك.بسكربت
    • records.py13 ك.بسكربت
    • render.py10 ك.بسكربت
    • repair_scope.py2.1 ك.بسكربت
    • report_sections.py29 ك.بسكربت
    • report_views.py9.8 ك.بسكربت
    • terminal.py8 ك.بسكربت
    • verdict.py4 ك.بسكربت
  • مجلدskills19 ك.ب
    • مجلدimplement-patch3 ك.ب
      • SKILL.md3 ك.ب
    • مجلدpatching-bugs7.1 ك.ب
      • SKILL.md7.1 ك.ب
    • مجلدprove-patch4.4 ك.ب
      • SKILL.md4.4 ك.ب
    • مجلدreproduce-bug2.8 ك.ب
      • SKILL.md2.8 ك.ب
    • مجلدvalidate-bug1.9 ك.ب
      • SKILL.md1.9 ك.ب
  • مجلدtests106 ك.بسكربت
    • مجلدfixtures9.4 ك.بسكربت
      • مجلدplanted-bug883 بايتسكربت
        • app.py166 بايتسكربت
        • build.py115 بايتسكربت
        • poc.py602 بايتسكربت
      • مجلدrun-ready8.6 ك.بسكربت
        • مجلدpatch820 بايت
          • مجلدattempt-1820 بايت
            • fix.patch22 بايت
            • manifest.json301 بايت
            • patch.json475 بايت
            • tests.patch22 بايت
        • مجلدprove5 ك.بسكربت
          • مجلدattempt-15 ك.بسكربت
            • مجلدreceipts1 ك.بسكربت
              • مجلدarms14 بايت
                • poc.txt14 بايت
              • interior-baseline.stderr0 بايت
              • interior-baseline.stdout76 بايت
              • interior-patched.stderr0 بايت
              • interior-patched.stdout77 بايت
              • ordinary-baseline.stderr0 بايت
              • ordinary-baseline.stdout67 بايت
              • ordinary-patched.stderr0 بايت
              • ordinary-patched.stdout67 بايت
              • project-patched.stderr0 بايت
              • project-patched.stdout10 بايت
              • proof-case.py277 بايتسكربت
              • repeated-baseline.stderr0 بايت
              • repeated-baseline.stdout74 بايت
              • repeated-patched.stderr0 بايت
              • repeated-patched.stdout73 بايت
              • source.json302 بايت
            • manifest.json1.9 ك.ب
            • prove.json2.1 ك.ب
        • مجلدregression351 بايت
          • مجلدreceipts15 بايت
            • decision.txt15 بايت
          • manifest.json231 بايت
          • regression.json105 بايت
        • مجلدreproduce787 بايتسكربت
          • مجلدpoc23 بايتسكربت
            • poc.py23 بايتسكربت
          • مجلدreceipts31 بايت
            • build.txt9 بايت
            • poc.txt22 بايت
          • manifest.json405 بايت
          • reproduce.json328 بايت
        • مجلدvalidate366 بايت
          • مجلدreceipts22 بايت
            • poc.txt22 بايت
          • manifest.json224 بايت
          • validate.json120 بايت
        • finding.json876 بايت
        • report-input.json177 بايت
        • run.json266 بايت
    • cold-run.md1.5 ك.ب
    • test_arms.py4 ك.بسكربت
    • test_native_proof.py12 ك.بسكربت
    • test_proof_types.py12 ك.بسكربت
    • test_records.py11 ك.بسكربت
    • test_render.py15 ك.بسكربت
    • test_repair_scope.py4 ك.بسكربت
    • test_report_outputs.py7.4 ك.بسكربت
    • test_s0_report.py15 ك.بسكربت
    • test_skill_examples.py2 ك.بسكربت
    • test_terminal_reports.py10 ك.بسكربت
    • test_verdict.py3.7 ك.بسكربت
  • LICENSE20 ك.ب
  • README.md2.5 ك.ب
  • pyproject.toml699 بايت
  • uv.lock16 ك.ب

ما وجده الفحص الآلي

فحصنا الملفات آلياً وقت الاستيراد. هذا ما نبّه إليه الفحص، ولا يعني أن العنصر ضار ولا أنه سليم: اقرأه بنفسك.

  • يحتاج مراجعةملف سكربت

    في الملف plugins/patching-bugs/scripts/arms.py

التعليقات (0)

لا تعليقات بعد. كن أول من يعلّق.

سجّل الدخول لتعلّق. التعليق من المستوى 1 (عضو).

أبلغ