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.0.0.tar.gz (67.5 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.0.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wraith_cli-1.0.0.tar.gz
  • Upload date:
  • Size: 67.5 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.0.0.tar.gz
Algorithm Hash digest
SHA256 73487eebbe515aeb45574517e8dd751b2c36492c1a4f2688b34be85ff0cd7e3a
MD5 b0782f78b0670ea353c7d4765a13451d
BLAKE2b-256 f9ae81abda578cac92eebae3c7715277c8ac1e2b096b4432b6734b885389dd26

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wraith_cli-1.0.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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf8799f6877cab1de19109f3339a1cc1e91a8811f36b835289b251915f99d015
MD5 c5eeb22b76016ed14305f9fc88b65ee7
BLAKE2b-256 0780c9db4f3514e3008795ebc6c3231757b1e5585bbe7d144b76585aeb7e09e4

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