👻 Wraith-CLI
Sovereign Orchestration & NAS Management for the Ghost Stack
Wraith-CLI is the nervous system of the Ghost Stack. It bridges the gap between high-level container orchestration and bare-metal reality — instant project scaffolding, container operations, and a full NAS management suite in one binary.
🗄️ NAS Management Suite
| Command | Purpose |
|---|---|
wraith disks |
Physical disk inventory — model, serial, capacity, HDD/SSD, bus |
wraith storage |
Filesystem usage with configurable warn/crit thresholds |
wraith raid |
mdraid array and ZFS pool health |
wraith smart /dev/sda |
SMART verdict + failure-predicting attributes per drive |
wraith shares |
NFS exports and Samba shares, guest access flagged |
wraith snap |
ZFS/btrfs snapshot create / list / prune (safe by design) |
wraith doctor |
Full health check suite — cron-friendly exit codes, webhook/ntfy alerts |
wraith report |
Timestamped markdown/JSON audit reports |
Every read-only command takes --json — pipe Wraith straight into dashboards,
monitoring stacks, or fleet tooling. Unattended monitoring is one cron line:
*/30 * * * * wraith doctor --notify
See the NAS Management docs for full coverage.
🚀 Installation & Updates
Wraith-CLI is managed via uv for hermetic stability.
# Initial Installation
uv tool install wraith-cli
# Sovereign Update
wraith update
🔐 Environment Configuration
Defined in your .env or system environment. HTTPS is required for automated
Gitea provisioning.
| Variable | Purpose | Required For |
|---|---|---|
GITEA_API_URL |
Base URL (e.g., https://git.domain.com) |
spawn |
GITEA_TOKEN |
Personal Access Token (PAT) | spawn |
GITEA_TEMPLATE_URL |
HTTPS URL of your base ghost-template |
spawn |
GITEA_COMPOSE_PATH |
Path to Gitea Docker directory | runner-reset |
VIKING_BASE_URL |
API endpoint for heartbeat checks | status |
WRAITH_COMPOSE_PATH |
Default path for stack logs/ps | tail, ps |
🧪 Developer Quality Gate
We use uv for hermetic environment management and maintain a strict >80% coverage
requirement.
# Initialise the Environment
uv sync --all-extras
uv run pre-commit install
# The Quality Gate
uv run pytest --cov=src
📜 Sovereign Principles
- Distributed Sovereignty: Available on PyPI for the world, but optimised for local-first, private-registry mirrors.
- Atomic Execution: Use
uv runto ensure consistency across the stack. - Hardware First: Prioritise bare-metal health and container stability over abstraction.
Metadata
Release files for wraith-cli 1.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wraith_cli-1.8.1.tar.gz | 118.7 kB | Without provenance | Details for wraith_cli-1.8.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wraith_cli-1.8.1-py3-none-any.whl | Python 3 | none | any | Details for wraith_cli-1.8.1-py3-none-any.whl |
Total release size: 148.1 kB
Release files / wraith_cli-1.8.1.tar.gz
| Download URL | wraith_cli-1.8.1.tar.gz |
|---|---|
| Size | 118.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da5323b540a5365cf62197538ca1e5ab3c30d3a23352aa2618a1b5f4e7e1dad3
|
|
BLAKE2b-256 checksum How to use checksums |
bd5e1b6f384463664dc925e1ac36596ab874dffa121c277af339a220db8bca5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / wraith_cli-1.8.1-py3-none-any.whl
| Download URL | wraith_cli-1.8.1-py3-none-any.whl |
|---|---|
| Size | 29.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
747da44a0f251861a58690cbff63e1e3a615f79f2bf63ede9a7a1b206d216949
|
|
BLAKE2b-256 checksum How to use checksums |
08493ba358a3785b1dae9338626a1c22206f4095aa07a62213170f7fb050c89a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for wraith-cli 1.8.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.