Source: factory.core/ObjEnvironment.py
Secure host-environment operations helper.
Security model:
| Method | Signature | Description |
|---|---|---|
| is_mutating_action | is_mutating_action(cls, action: str) -> bool |
|
| debug | debug(*parts) -> None |
|
| execute_api | execute_api(payload: dict[str, Any]) -> dict[str, Any] |
Secure API execution path: token auth + optional ACL + allowlist dispatch. |
| execute_local | execute_local(action: str, params: dict[str, Any] | None = None) -> dict[str, Any] |
Local trusted execution path. |
List available actions.
Execute a local trusted action (no API token validation).
Execute API-style payload (token validation enabled).