Skip to main content

Hexastack Tools (packages/hexastack_tools)

Developer tooling, repository governance, code-scanning analysis, and CI automation suite for the Hexastack monorepo.


📖 Complete Documentation & Usage

For full CLI usage instructions and command examples, see the canonical USAGE Guide or the online developer documentation.


🏛️ Architectural Intent

hexastack-tools strictly dogfoods Hexastack's own hexagonal architecture with:

  • domain/: Pure data contracts (PrSummary, CheckRunFinding, ReviewThread, OutputFormat).
  • ports/: Decoupled port interfaces (GitHubApiPort).
  • adapters/: REST/GraphQL HTTP adapters (GitHubHttpAdapter) and multi-format presenters (pr.py, checks.py, security.py).
  • commands/: Clean Typer CLI entrypoints.
  • utils/: Shared monorepo workspace discovery and package graph resolvers.

⚙️ Output Presentation Modes

All CLI commands support multi-format presenters:

  1. auto (default): Renders interactive Rich tables/panels if connected to a terminal TTY, or automatically switches to plain TSV when output is piped to tools like grep, awk, cut, or xargs.
  2. rich: Colorized ANSI dashboards with status icons and panels.
  3. json: Structured JSON payload for CI integration or agent tooling.
  4. plain: Clean, newline- and tab-delimited (TSV) stream.

🛠️ Quick Command Reference

Command Purpose
uv run gh-pr-examine [pr] Full PR dashboard inspecting checks, review threads, failed CI logs, and conflicts.
uv run gh-pr-examine runs [branch] Lists recent workflow runs for a branch.
uv run gh-checks [pr/ref] Detailed status checks inspector.
uv run gh-security [pr] Review comments and bot discussion thread auditor.
uv run gh-code-scanning CodeQL SAST security alerts browser.
uv run check-test-parity Validates 1:1 mirroring between src/ and tests/unit/.
uv run check-all-statements Validates __all__ alphabetical sorting.
uv run fix-all-statements Automatically sorts and alphabetizes __all__.
uv run import-linter-run Validates package and hexagonal architecture layer boundaries.
uv run pypi-build Builds sdist and wheel packages across workspace.
uv run pypi-check Verifies build metadata and checks for PyPI release collisions.
uv run codeql-scan Runs local SARIF CodeQL SAST security scan.

For detailed syntax and flags, see USAGE.md.

Download files

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

Source Distribution

hexastack_tools-0.2.0.tar.gz (35.1 kB view details)

Uploaded Source

Built Distribution

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

hexastack_tools-0.2.0-py3-none-any.whl (53.8 kB view details)

Uploaded Python 3

File details

Details for the file hexastack_tools-0.2.0.tar.gz.

File metadata

  • Download URL: hexastack_tools-0.2.0.tar.gz
  • Upload date:
  • Size: 35.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for hexastack_tools-0.2.0.tar.gz
Algorithm Hash digest
SHA256 64972a6d6d48b08faff3062fcd9533e1f5cee36198eac1c0605fed285cbd3051
MD5 4d79df354f3dfe80a48e6e2fd23a8a18
BLAKE2b-256 a605826574a61b595011c4a7a92a140f2e0ad58e21769e64064d197c0be85142

See more details on using hashes here.

File details

Details for the file hexastack_tools-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hexastack_tools-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad78150a8ad065d3d7ab0791d87b854574e36ba6d06f3701fb8b8e9e8dc5ed8e
MD5 a7edd6ec208da487b2d0cbd95fc11075
BLAKE2b-256 7ae479e1f32167ee6eb3b6f6d0628bca2fff19fabcdd04b940da35d74d59b037

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.0

2 files

This release

0.2.0 This release

2 files

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