Reset this session
reset_sessionRestore a session's FSM to its entrypoint by rebuilding the Application via its factory, clearing spawned sub-runs, and recording the reset in the audit trail for traceability.
Instructions
Reset this session's FSM to its entrypoint.
Rebuilds the session's Application via the factory, clears any
sub-runs the session spawned, and appends a ``reset_session``
marker entry to ``theodosia://history``. Prior history entries are
preserved, so the audit trail records the reset rather than
wiping it: ``ran A -> ran B -> reset -> ran A again``.
Refuses in shared-app mode (servers mounted with an
``Application`` instance rather than a factory) because
resetting would affect every connected client at once. Use
per-session isolation (factory mode) for servers where reset
matters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||