internal/

directory
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2026 License: MIT

Directories

Path Synopsis
Package action resolves a GitHub Actions reference — owner/action, optionally constrained to a major ("v3") or major.minor ("v3.1") version — to the latest matching release tag and the immutable commit SHA it points to, so a workflow `uses:` line can be pinned to a SHA.
Package action resolves a GitHub Actions reference — owner/action, optionally constrained to a major ("v3") or major.minor ("v3.1") version — to the latest matching release tag and the immutable commit SHA it points to, so a workflow `uses:` line can be pinned to a SHA.
Package cache persists a PR's last inspection under ~/.cache/shuck so repeat runs can skip redundant log downloads.
Package cache persists a PR's last inspection under ~/.cache/shuck so repeat runs can skip redundant log downloads.
Package classify assigns a coarse, heuristic FailureClass to a failed CI step from its command and extracted error excerpt.
Package classify assigns a coarse, heuristic FailureClass to a failed CI step from its command and extracted error excerpt.
Package cli wires shuck's pipeline together: parse args, resolve the PR, read checks from GitHub (using the cache to avoid redundant log downloads), and render the failures.
Package cli wires shuck's pipeline together: parse args, resolve the PR, read checks from GitHub (using the cache to avoid redundant log downloads), and render the failures.
Package distil turns a raw GitHub Actions job log plus the job's step metadata into the distilled failure detail shuck reports: which steps failed, what they ran, the high-signal error excerpt, and a heuristic failure class.
Package distil turns a raw GitHub Actions job log plus the job's step metadata into the distilled failure detail shuck reports: which steps failed, what they ran, the high-signal error excerpt, and a heuristic failure class.
Package gh wraps go-github with the narrow set of calls shuck needs: resolving a PR, listing its Actions runs/jobs, downloading a job's logs, and enumerating non-Actions checks.
Package gh wraps go-github with the narrow set of calls shuck needs: resolving a PR, listing its Actions runs/jobs, downloading a job's logs, and enumerating non-Actions checks.
Package jsonout renders an inspection Report as machine-readable JSON with a stable, versioned schema.
Package jsonout renders an inspection Report as machine-readable JSON with a stable, versioned schema.
Package logs parses GitHub Actions job logs into per-step sections and extracts the high-signal error excerpt from a section's output.
Package logs parses GitHub Actions job logs into per-step sections and extracts the high-signal error excerpt from a section's output.
Package model holds the domain types shared across shuck's packages: the GitHub data we collect, the failure detail we render, and the shape we persist to the cache.
Package model holds the domain types shared across shuck's packages: the GitHub data we collect, the failure detail we render, and the shape we persist to the cache.
Package monitor is shuck's local background monitor: a long-lived process that keeps track of the pull requests you are actually working on and turns what changes on GitHub into a stream of events an agent can consume.
Package monitor is shuck's local background monitor: a long-lived process that keeps track of the pull requests you are actually working on and turns what changes on GitHub into a stream of events an agent can consume.
Package pins finds the GitHub Actions `uses:` references in a repository's workflow files and reports which of them are not pinned to an immutable commit SHA — the supply-chain control a mutable tag like `@v4` silently gives up, because whoever can move that tag can change what runs in CI.
Package pins finds the GitHub Actions `uses:` references in a repository's workflow files and reports which of them are not pinned to an immutable commit SHA — the supply-chain control a mutable tag like `@v4` silently gives up, because whoever can move that tag can change what runs in CI.
Package release discovers, downloads, and verifies shuck's own GitHub releases, and replaces the running binary in place.
Package release discovers, downloads, and verifies shuck's own GitHub releases, and replaces the running binary in place.
Package render formats an inspection Report into shuck's high-signal text output.
Package render formats an inspection Report into shuck's high-signal text output.
Package security assembles, sorts, and renders a repository's GitHub security alerts (code scanning, secret scanning, and Dependabot) into shuck's text and JSON output.
Package security assembles, sorts, and renders a repository's GitHub security alerts (code scanning, secret scanning, and Dependabot) into shuck's text and JSON output.
Package semver provides the small slice of semantic-version handling shuck needs to pick the "latest" tag from a list: parsing MAJOR[.MINOR[.PATCH]] tags (with an optional v prefix and prerelease suffix), filtering by a version constraint, and ordering versions so the highest stable release wins.
Package semver provides the small slice of semantic-version handling shuck needs to pick the "latest" tag from a list: parsing MAJOR[.MINOR[.PATCH]] tags (with an optional v prefix and prerelease suffix), filtering by a version constraint, and ordering versions so the highest stable release wins.
Package setup installs shuck's Claude Code integration for users who do not use the plugin marketplace.
Package setup installs shuck's Claude Code integration for users who do not use the plugin marketplace.
Package target resolves which PR shuck should inspect from the command-line arguments and, when needed, the local git repository (via go-git).
Package target resolves which PR shuck should inspect from the command-line arguments and, when needed, the local git repository (via go-git).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL