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
ghCLI 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6da7b32ed00a49be040489bd1be282f7f55031760a45b61435ab8d1327a019af
|
|
| MD5 |
2f14c47a13d2b3f61fab4aaee5dd94f4
|
|
| BLAKE2b-256 |
31b6eeb5f1e59e7d39ea0ac468af11a4cd24885cdb398742aac3fe8e1374e0e1
|
Provenance
The following attestation bundles were made for cgh_bugreport-0.1.0.tar.gz:
Publisher:
release.yml on altikva/cgh
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cgh_bugreport-0.1.0.tar.gz -
Subject digest:
6da7b32ed00a49be040489bd1be282f7f55031760a45b61435ab8d1327a019af - Sigstore transparency entry: 2281103416
- Sigstore integration time:
-
Permalink:
altikva/cgh@698596ad3d9f2b47385b05c1425fb949ec83a6b7 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/altikva
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@698596ad3d9f2b47385b05c1425fb949ec83a6b7 -
Trigger Event:
workflow_dispatch
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6322b324349f72b816fc913f3a80fce05b4ae4ee5b056e806e7ca1b138be522
|
|
| MD5 |
e8120d087dfbfd3e5f504a4179b47797
|
|
| BLAKE2b-256 |
94fecfbbc2de1dab697aaa2c76e264e47e50eb96331921f58222c3a446fbe58a
|
Provenance
The following attestation bundles were made for cgh_bugreport-0.1.0-py3-none-any.whl:
Publisher:
release.yml on altikva/cgh
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cgh_bugreport-0.1.0-py3-none-any.whl -
Subject digest:
d6322b324349f72b816fc913f3a80fce05b4ae4ee5b056e806e7ca1b138be522 - Sigstore transparency entry: 2281103425
- Sigstore integration time:
-
Permalink:
altikva/cgh@698596ad3d9f2b47385b05c1425fb949ec83a6b7 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/altikva
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@698596ad3d9f2b47385b05c1425fb949ec83a6b7 -
Trigger Event:
workflow_dispatch
-
Statement type: