nemocity / engine /__init__.py
AndresCarreon's picture
NEMOCITY v0 — mock backend, gradio 6.16.0 (pre-SSR)
d72231c verified
Raw
History Blame Contribute Delete
1.08 kB
"""NEMOCITY deterministic city engine.
The engine owns ALL facts ("her" pattern): city state, the 4-event surface,
placement geometry, traffic facts, moderation, the serialized petition queue,
and the prompt summary. The LLM only interprets petitions into tiny JSON —
it never owns state and never outputs coordinates.
"""
from .city import CityState
from .genesis import GENESIS_FEATURES, genesis_features, genesis_world
from .moderation import Moderator, Verdict
from .queue_worker import (
AlreadyPending,
QueueError,
QueueFull,
QueueWorker,
TrafficSmooth,
)
from .summary import summarize
from .tools import TOOL_NAMES, resolve_kind, sanitize_name, validate_call
from .world import Feature, World
__all__ = [
"CityState",
"GENESIS_FEATURES",
"genesis_features",
"genesis_world",
"Moderator",
"Verdict",
"AlreadyPending",
"QueueError",
"QueueFull",
"QueueWorker",
"TrafficSmooth",
"summarize",
"TOOL_NAMES",
"resolve_kind",
"sanitize_name",
"validate_call",
"Feature",
"World",
]