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:
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 likegrep,awk,cut, orxargs.rich: Colorized ANSI dashboards with status icons and panels.json: Structured JSON payload for CI integration or agent tooling.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 check-extras-parity |
Audits subpackage optional extras forwarding into umbrella packaging. |
uv run deps-audit |
Unified dependency runner (deptry + extras parity audit across workspace). |
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
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 hexastack_tools-0.3.0.tar.gz.
File metadata
- Download URL: hexastack_tools-0.3.0.tar.gz
- Upload date:
- Size: 39.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63b6cf286b2286b36a98992d74dbcd69c4e1a8a01b8a528ed72890e585049c29
|
|
| MD5 |
00dc977029519312a6ec9c79d8622b23
|
|
| BLAKE2b-256 |
6c47c3fbb602bc69dbb6c82941beaff72eae849135db2f1eb1ce09bb27e44322
|
File details
Details for the file hexastack_tools-0.3.0-py3-none-any.whl.
File metadata
- Download URL: hexastack_tools-0.3.0-py3-none-any.whl
- Upload date:
- Size: 59.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4484381e91c674447bc817f43bc9472b513234a09f591648aa2332553133481
|
|
| MD5 |
f0806341fe955f0198096beee88bc690
|
|
| BLAKE2b-256 |
4b80d3daa6e8561b77212305d716d7c982c505df1cc4dc773da60d8a3615b6d7
|