Sovereign Command Centre for a Ghost Stack
Project description
👻 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
- Distributed Sovereignty: Available on PyPI for the world, but optimised for local-first, private-registry mirrors
- Atomic Execution: Use uv run to ensure consistency.
- 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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a91485f0aed4a4d954c2849ec2921df2363db03251fa18ae24bc225ff6471fa
|
|
| MD5 |
fe1a61385c29936db9b4c33f3d9b711c
|
|
| BLAKE2b-256 |
777c88307c72189f23c4a9d07f90f2bc213a011bf7c00ae2a90c63106eaa5bb4
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d6cf2570491a16a5f68e44fed57d47125f719ad769a11a5d61fb634a51e80d8
|
|
| MD5 |
438cc8c1137eb9c206717204ac7e0222
|
|
| BLAKE2b-256 |
9e41201940c260c75adb8ceb2df23b9abddf2ae69b8b393aacfcc51c0f8c8157
|