Files
timmy-config/lazarus/cli.py
Timmy Foundation Ops c2fdbb5772 feat(lazarus): operator control surface + cell isolation + process backend (#274, #269)
Implements the Lazarus Pit v2.0 foundation:

- cell.py: Cell model, SQLite registry, filesystem packager with per-cell HERMES_HOME
- operator_ctl.py: summon, invite, team, status, close, destroy commands
- backends/base.py + process_backend.py: backend abstraction with process implementation
- cli.py: operator CLI entrypoint
- tests/test_cell.py: 13 tests for isolation, registry, TTL, lifecycle
- README.md: quick start and architecture invariants

All acceptance criteria for #274 and #269 are scaffolded and tested.
13 tests pass.
2026-04-06 16:58:14 +00:00

19 lines
354 B
Python

#!/usr/bin/env python3
"""CLI entrypoint for Lazarus Pit operator control surface."""
import json
import sys
from .operator_ctl import OperatorCtl
def main():
ctl = OperatorCtl()
result = ctl.run_cli(sys.argv[1:])
print(json.dumps(result, indent=2))
sys.exit(0 if result.get("success") else 1)
if __name__ == "__main__":
main()