Skip to main content

cgh-bugreport

Crash reports for cgh 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 .codegraph/activity.log. With mode = "secure" the payload is shown and confirmed before anything leaves. 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cgh_bugreport-0.1.0.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cgh_bugreport-0.1.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file cgh_bugreport-0.1.0.tar.gz.

File metadata

  • Download URL: cgh_bugreport-0.1.0.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for cgh_bugreport-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6da7b32ed00a49be040489bd1be282f7f55031760a45b61435ab8d1327a019af
MD5 2f14c47a13d2b3f61fab4aaee5dd94f4
BLAKE2b-256 31b6eeb5f1e59e7d39ea0ac468af11a4cd24885cdb398742aac3fe8e1374e0e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for cgh_bugreport-0.1.0.tar.gz:

Publisher: release.yml on altikva/cgh

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cgh_bugreport-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cgh_bugreport-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for cgh_bugreport-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6322b324349f72b816fc913f3a80fce05b4ae4ee5b056e806e7ca1b138be522
MD5 e8120d087dfbfd3e5f504a4179b47797
BLAKE2b-256 94fecfbbc2de1dab697aaa2c76e264e47e50eb96331921f58222c3a446fbe58a

See more details on using hashes here.

Provenance

The following attestation bundles were made for cgh_bugreport-0.1.0-py3-none-any.whl:

Publisher: release.yml on altikva/cgh

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.1

2 files

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page