Simplify Athena operator architecture

This commit is contained in:
Mikei386
2026-08-25 21:53:12 +02:00
parent c25e57af57
commit 0a640e76ea
22 changed files with 577 additions and 1522 deletions
+2 -1
View File
@@ -78,6 +78,7 @@ def recovery_status() -> dict[str, object]:
def main() -> None:
generated = int(time.time())
active = [item["name"].removeprefix("mike-ai-llama-") for item in containers() if item["name"].startswith("mike-ai-llama-")]
git_commit = command("git", "-C", str(STACK), "rev-parse", "HEAD")
commit_file = STACK / ".mike-ai-source-commit"
data = {
"generated_unix": generated,
@@ -91,7 +92,7 @@ def main() -> None:
"gpus": gpus(),
"containers": containers(),
"active_inference_profiles": active,
"source_commit": commit_file.read_text().strip() if commit_file.is_file() else None,
"source_commit": git_commit or (commit_file.read_text().strip() if commit_file.is_file() else None),
"documentation_tree_sha256": docs_hash(),
"recovery_kit": recovery_status(),
"privacy_scope": "No logs, prompts, chats, container environment values, file contents outside versioned docs, or secrets are collected.",