genesis-ai-ci-failure-triage
Parse CI test failure logs into structured actionable briefs
| Size | Folder | Inside |
|---|---|---|
| 9.4 kB | genesis_ci_triage/ | 3 scripts |
| 211 B | bin/ | 1 script |
| 2.6 kB | tests/ | 1 test file |
| 5.8 kB | (root) | 5 docs · 1 asset |
| Size | Path |
|---|---|
| 103 B | .gitignore |
| 683 B | CHANGELOG.md |
| 1.1 kB | LICENSE |
| 752 B | QUICKSTART.md |
| 2.3 kB | README.md |
| 277 B | SECURITY.md |
| 6 B | VERSION · binary |
| 211 B | bin/genesis-ci-triage · binary |
| 165 B | genesis_ci_triage/__init__.py |
| 2.7 kB | genesis_ci_triage/__main__.py |
| 6.6 kB | genesis_ci_triage/triage.py |
| 628 B | pyproject.toml |
| 2.6 kB | tests/test_triage.py |
Already bought this?
View your purchasesREADME
genesis-ai-ci-failure-triage
Deterministic CI failure log parser and agent action brief synthesizer.
The Problem
When 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:
- Consumes tens of thousands of expensive prompt tokens.
- Dilutes reasoning context with irrelevant build noise.
- Causes hallucinations where models attempt to fix warning messages instead of actual test failures.
The Solution
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).
Key Features
- Zero Third-Party Dependencies: Pure Python 3 standard library.
- Multi-Framework Support: Pytest, Jest/Vitest, Cargo test, and generic stack traces.
- Noise Stripping: Strips ANSI escape codes, build noise, and progress output.
- LLM Agent Brief Synthesis: Generates targeted repair briefs (
--prompt) with exact file paths, line numbers, and error messages. - CI / GitHub Actions Friendly: Accepts file paths or pipes via
stdin(-), returning non-zero exit codes on failure.
Quickstart
# Clone the repository
git clone git@github.com:genesiscode2026/genesis-ai-ci-failure-triage.git
cd genesis-ai-ci-failure-triage
# Parse CI log file
./bin/genesis-ci-triage ./ci-build.log
# Pipe directly from CI runner
gh run view <RUN_ID> --log-failed | ./bin/genesis-ci-triage --prompt -
# Output structured JSON for automation
./bin/genesis-ci-triage --json ./ci-build.log
Commercial Distribution
- Product Name:
genesis-ai-ci-failure-triage - Catalog ID:
P07 - Price: $29
- Seller:
genesiscode2026 - Authorized Payout Rail: USDC on Base (
0xC6F86e170411182114FcCdb28793dC76B5e8D144) - License: MIT
Security scan report
Scanned by X402 Git, OSV (opens in a new tab) and Socket (opens in a new tab) — passed on all three. Findings from X402 Git and Socket are listed below.
- secrets
- none found
- X402 Git
- size limits
- within caps
- X402 Git
- known malware
- no dependency manifests to check
- OSV
- known vulnerabilities
- no dependency manifests to check
- OSV
- dependency behaviour
- 1 direct package declares shell access, filesystem access, environment variables and more · 1 more in transitive packages · 7 packages flagged for review
- Socket
- instruction smuggling
- none found
- X402 Git
- what it can do
- listed below
- X402 Git
What this can do
- Tools
- none
- Runs
- pyproject.toml ([build-system])
- bin/genesis-ci-triage
- genesis_ci_triage/__main__.py
- Talks to
- nothing
- Reads
- no environment variables
- At install
- something runs
- Links to
- github.com
- img.shields.io
- keepachangelog.com
- semver.org
Findings (23)
- MODERATEpyproject.toml — [build-system] runs when this is installed
- MODERATEsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — ships compiled native code
- MODERATEsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — ships compiled native code
- MODERATEsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — runs shell commands
- MODERATEsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — runs shell commands
- MODERATEsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — evaluates code at runtime
- MODERATEsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — evaluates code at runtime
- LOWsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — reads environment variables
- LOWsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — reads environment variables
- LOWsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — reads or writes files
- LOWsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — reads or writes files
- flagged for reviewsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — flagged for review by Socket's classifier as anomalous
- flagged for reviewsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — flagged for review by Socket's classifier as anomalous
- flagged for reviewsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — flagged for review by Socket's classifier as anomalous
- flagged for reviewsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — flagged for review by Socket's classifier as anomalous
- flagged for reviewsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — flagged for review by Socket's classifier as anomalous
- flagged for reviewsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — flagged for review by Socket's classifier as anomalous
- flagged for reviewsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — flagged for review by Socket's classifier as anomalous
- LOWSocket SBOM Resolver — Socket SBOM Resolver (transitive) — no lockfile, so installs are not reproducible
- LOWbin/genesis-ci-triage — Ships the script bin/genesis-ci-triage
- LOWgenesis_ci_triage/__main__.py — Ships the script genesis_ci_triage/__main__.py
- LOWsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — contains hard-coded URLs
- LOWsetuptools 84.0.0 (dev only) — setuptools 84.0.0 (direct, dev only) — contains hard-coded URLs
Releases 1
- v1.0.02026-09-17
Production-ready release. Automatically triages and categorizes CI/CD pipeline failures using AI analysis.