WIP autoscaler agent

This commit is contained in:
Abel Luck 2026-02-27 11:59:16 +01:00
parent c610a3e284
commit 28059dcedf
34 changed files with 2409 additions and 35 deletions

View file

@ -0,0 +1,24 @@
"""Daemon entry point: python -m nix_builder_autoscaler — stub for Plan 04."""
from __future__ import annotations
import argparse
import sys
def main() -> None:
"""Parse arguments and start the daemon."""
parser = argparse.ArgumentParser(
prog="nix-builder-autoscaler",
description="Nix builder autoscaler daemon",
)
parser.add_argument("--config", required=True, help="Path to TOML config file")
args = parser.parse_args()
print(f"nix-builder-autoscaler: would start with config {args.config}")
print("Full daemon implementation in Plan 04.")
sys.exit(0)
if __name__ == "__main__":
main()