Skip to main content

Sovereign Command Centre for a Ghost Stack

Project description

Documentation PyPI - Version PyPI - License PyPI - Python Version

👻 Wraith-CLI

Sovereign Orchestration for the Ghost Stack

Wraith-CLI is the nervous system of the Ghost Stack. It bridges the gap between high-level containers and bare-metal reality.


🚀 Installation

Wraith-CLI can be installed via uv (recommended) or pip:

# Recommended for CLI tools
uv tool install wraith-cli

# Standard pip
pip install wraith-cli

Note: Ensure ~/.local/bin is in your $PATH.


🛠️ Operational Manual

Command Description
wraith ps Shows all Docker processes in a neat table
wraith status Heartbeat check for OpenViking (Port 1933).
wraith runner-reset Wipes and re-registers the Gitea Action Runner.
wraith --help View the full manifest of available commands.

🏗️ Developer Workspace

We use uv for hermetic environment management.

### 1. Initialise the Environment
uv sync --all-extras
uv run pre-commit install

### 2. The Quality Gate
uv run pytest

### 3. Sovereign Deployment
chmod +x bin/build.sh
./bin/build.sh

🔐 Environment Configuration

Defined in ~/.bashrc or .env.private:

Variable Purpose Default
VIKING_BASE_URL The API endpoint for the heartbeat check. http://127.0.0.1:1933/api/v1
GITEA_COMPOSE_PATH Path to your Gitea Docker Compose directory. Required for runner-reset

📜 Sovereign Principles

  1. Distributed Sovereignty: Available on PyPI for the world, but optimised for local-first, private-registry mirrors
  2. Atomic Execution: Use uv run to ensure consistency.
  3. Hardware First: Prioritise bare-metal health and container stability.

Project details


Download files

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

Source Distribution

wraith_cli-1.1.0.tar.gz (67.6 kB view details)

Uploaded Source

Built Distribution

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

wraith_cli-1.1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file wraith_cli-1.1.0.tar.gz.

File metadata

  • Download URL: wraith_cli-1.1.0.tar.gz
  • Upload date:
  • Size: 67.6 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for wraith_cli-1.1.0.tar.gz
Algorithm Hash digest
SHA256 8a91485f0aed4a4d954c2849ec2921df2363db03251fa18ae24bc225ff6471fa
MD5 fe1a61385c29936db9b4c33f3d9b711c
BLAKE2b-256 777c88307c72189f23c4a9d07f90f2bc213a011bf7c00ae2a90c63106eaa5bb4

See more details on using hashes here.

File details

Details for the file wraith_cli-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: wraith_cli-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for wraith_cli-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d6cf2570491a16a5f68e44fed57d47125f719ad769a11a5d61fb634a51e80d8
MD5 438cc8c1137eb9c206717204ac7e0222
BLAKE2b-256 9e41201940c260c75adb8ceb2df23b9abddf2ae69b8b393aacfcc51c0f8c8157

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page