13 lines
419 B
Python
13 lines
419 B
Python
"""Lightweight habitat module adapter stub for NovaPlan MVP."""
|
|
from __future__ import annotations
|
|
|
|
class HabitatAdapter:
|
|
def __init__(self, module_id: str):
|
|
self.module_id = module_id
|
|
|
|
def get_status(self) -> dict:
|
|
return {"module_id": self.module_id, "status": "ready"}
|
|
|
|
def plan_task(self, task: dict) -> dict:
|
|
return {"module_id": self.module_id, "accepted": True, "task": task}
|