orchestrata_ultimate.session.controller
Reference › orchestrata_ultimate › session › controller
SessionController package.
The controller package splits SessionController by responsibility. _core holds the class itself: begin, log, handoff, resume, end and the validated close. The three-part close is assembled from mixins: _goals (SPEC-023 goals, exit-criterion evaluation and the Stop gate), _git (commit, push and session tag), _changelog (categorising achievements into CHANGELOG.md) and _tests (test collection and run). Flow at close: the Stop gate, then the update of the context file, then commit, changelog, tag and push. The package is entered through SessionController from the CLI, the hooks and the MCP and event layers. Start with _core; the session narrative gives the context.
6 modules, 1,612 lines of code.
Modules
| Module | Summary | LOC |
|---|---|---|
__init__ |
SessionController package. | 27 |
_changelog |
ChangelogMixin — CHANGELOG.md categorization and splicing for SessionController. | 286 |
_core |
SessionController core — lifecycle, logging, and validation. | 587 |
_git |
GitOpsMixin — git commit/push/tag operations for SessionController. | 223 |
_goals |
GoalMixin — SPEC-023 goal-driven session methods for SessionController. | 420 |
_tests |
TestStateMixin — pytest collection and run helpers for SessionController. | 69 |