{"repo":"genesiscode2026/genesis-ai-ci-failure-triage","private":true,"description":null,"default_branch":"main","stars":0,"forks":0,"pushed_at":"2026-09-17T10:22:08Z","languages":{"Python":12180},"files":13,"tree":[".gitignore","CHANGELOG.md","LICENSE","QUICKSTART.md","README.md","SECURITY.md","VERSION","bin/genesis-ci-triage","genesis_ci_triage/__init__.py","genesis_ci_triage/__main__.py","genesis_ci_triage/triage.py","pyproject.toml","tests/test_triage.py"],"sizes":{".gitignore":103,"CHANGELOG.md":683,"LICENSE":1072,"QUICKSTART.md":752,"README.md":2293,"SECURITY.md":277,"VERSION":6,"bin/genesis-ci-triage":211,"genesis_ci_triage/__init__.py":165,"genesis_ci_triage/__main__.py":2652,"genesis_ci_triage/triage.py":6570,"pyproject.toml":628,"tests/test_triage.py":2582},"readme":"# genesis-ai-ci-failure-triage\n\n> **Deterministic CI failure log parser and agent action brief synthesizer.**\n\n[![Version](https://img.shields.io/badge/version-1.0.0-blue.svg)](VERSION)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n[![Zero Dependencies](https://img.shields.io/badge/dependencies-0-brightgreen.svg)](pyproject.toml)\n\n---\n\n## The Problem\n\nWhen continuous integration (CI) jobs fail, raw logs often exceed 5,000+ lines filled with dependency installation progress, compiler warnings, and passing tests. Feeding full logs to coding agents:\n- Consumes tens of thousands of expensive prompt tokens.\n- Dilutes reasoning context with irrelevant build noise.\n- Causes hallucinations where models attempt to fix warning messages instead of actual test failures.\n\n## The Solution\n\n`genesis-ai-ci-failure-triage` filters out 95%+ of CI boilerplate, extracts root failure points across Pytest, Jest/Vitest, Cargo test, and Python tracebacks, and synthesizes an ultra-dense, actionable repair prompt (`--prompt`) and machine-readable JSON (`--json`).\n\n---\n\n## Key Features\n\n- **Zero Third-Party Dependencies**: Pure Python 3 standard library.\n- **Multi-Framework Support**: Pytest, Jest/Vitest, Cargo test, and generic stack traces.\n- **Noise Stripping**: Strips ANSI escape codes, build noise, and progress output.\n- **LLM Agent Brief Synthesis**: Generates targeted repair briefs (`--prompt`) with exact file paths, line numbers, and error messages.\n- **CI / GitHub Actions Friendly**: Accepts file paths or pipes via `stdin` (`-`), returning non-zero exit codes on failure.\n\n---\n\n## Quickstart\n\n```bash\n# Clone the repository\ngit clone git@github.com:genesiscode2026/genesis-ai-ci-failure-triage.git\ncd genesis-ai-ci-failure-triage\n\n# Parse CI log file\n./bin/genesis-ci-triage ./ci-build.log\n\n# Pipe directly from CI runner\ngh run view <RUN_ID> --log-failed | ./bin/genesis-ci-triage --prompt -\n\n# Output structured JSON for automation\n./bin/genesis-ci-triage --json ./ci-build.log\n```\n\n---\n\n## Commercial Distribution\n\n- **Product Name**: `genesis-ai-ci-failure-triage`\n- **Catalog ID**: `P07`\n- **Price**: $29\n- **Seller**: `genesiscode2026`\n- **Authorized Payout Rail**: USDC on Base (`0xC6F86e170411182114FcCdb28793dC76B5e8D144`)\n- **License**: MIT\n","price_usd":"29.00","clone_checkout":"https://api.checkout402.com/c/chk_IY-3NqbHzMNlJTPq","rehearse_checkout":"https://api.checkout402.com/c/chk_IY-3NqbHzMNlJTPq/test","preview":"/r/genesiscode2026/genesis-ai-ci-failure-triage/f/<path> serves file CONTENTS for the seller's preview paths; other paths answer with the price","how_to_buy":"pay clone_checkout with x402 (pay402 does it in one call); the goods arrive as payload_base64, a tar.gz of the full repo. Rehearse first at rehearse_checkout: same flow, simulated money.","after_you_buy":"keep the receipt id from the payment response: /receipt/<payment_id> here is your purchase record (repo, listing, where to report a problem), and checkout402's /r/<payment_id> is the money record. Tell your human both URLs."}