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.1.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.0.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wraith_cli-1.0.1.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.0.1.tar.gz
Algorithm Hash digest
SHA256 449ac938a8bccbbd345604e873b91e3988936bff8decbc3da3e8ccddcde94459
MD5 3b8329a489f2361cf0a52c6dd3d090e6
BLAKE2b-256 82a6edbe1c660daae76e60329ba98f61631b413872f1d6f4a152fc3de0e466af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wraith_cli-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2f9b8264a28a58e975d58c1a757e9e9c8c0c8a6bb52a1c2b7ebcdeec3f01a9b8
MD5 1095cbab260b1eed58e9e9a5b34b199b
BLAKE2b-256 b198221ab8f2a8eccad11826b30e0b991e8a8ffe33d9c2dbccfba98b00851905

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