Skip to main content

cgh-bugreport

Crash reports for cgh, the context graph hub, that keep the promise the rest of the product makes: nothing leaves the machine without a gate, and you see exactly what would.

pip install cgh-bugreport     # capture only: reports spool locally
cgh bug status                # the ledger: spooled, sent, where, when
cgh bug preview last          # the exact raw payload, byte for byte
cgh bug send                  # explicit, always; to a PRIVATE repo only
cgh bug purge                 # drop spooled reports

Two properties carry the design:

  • The core never phones home. All reporting lives in this plugin. A cgh install without it provably has no reporting code at all, and even with it, the plugin itself has no network code: sending goes through your own gh CLI and its credentials.
  • Payloads are built by allowlist, never by scrubbing. A report contains versions, OS name, the failing command name, the exception TYPE, and stack frames normalized to cgh's own modules (anything outside reduces to <external>). Exception messages, file paths, arguments and log lines are not fields, so they structurally cannot leave. The PII scanner runs over the finished payload as a tripwire and fails the build loudly if it ever matches.

Sending is always manual (auto_send does not exist), refuses public repositories, dedups by fingerprint (new occurrences comment on the existing issue), and every send lands in .cgh/activity.log. The payload is shown and confirmed before anything leaves; --yes skips the question. Spool: capped at 20 reports, purged after 30 days, never indexed by cgh itself.

[plugin.bugreport]
# github_repo = "your-org/cgh-crash-reports"   # must be private

Known tradeoff, stated: sending through your gh credentials links the report to your GitHub identity. The private repo bounds the audience; the preview shows there is nothing sensitive to link.

Metadata

Release files for cgh-bugreport 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cgh-bugreport 0.2.0
File Size Uploaded Provenance Actions
cgh_bugreport-0.2.0.tar.gz 15.9 kB With provenance Details for cgh_bugreport-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cgh-bugreport 0.2.0
File Interpreter ABI Platform Actions
cgh_bugreport-0.2.0-py3-none-any.whl Python 3 none any Details for cgh_bugreport-0.2.0-py3-none-any.whl

Total release size: 30.6 kB

Release files / cgh_bugreport-0.2.0.tar.gz

Download URL cgh_bugreport-0.2.0.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d6bac4c2baa0c17d836415d8378932d150e7a06d993eafddc6576580884e0c2e
BLAKE2b-256 checksum
How to use checksums
b55529080663d17c18859bdcd19f97e6b2884c12f85bdacc22e730f4cc5e54ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Release files / cgh_bugreport-0.2.0-py3-none-any.whl

Download URL cgh_bugreport-0.2.0-py3-none-any.whl
Size 14.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
59617165f94bfdd9e71f61ecf7d9e23ebae2d8b63558321eaa2e6fdc95e28b15
BLAKE2b-256 checksum
How to use checksums
ed21a561395e5f54ae8e87a756bee652a8e54e7b7344865a2662f91702ed8fb4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Security for cgh-bugreport 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for cgh_bugreport-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page