Skip to content

T3: AppSession composition root and AppState #16

Description

@Jon-Gear

Parent

Restructure spec: #13 (RESTRUCTURE_PLAN.md)

What to build

The session autoload that owns configuration resolution, the AppState bundle (game session, brothers, wave, flow, and a case-insensitive flags sub-state), construction of every service, and build/reset semantics. A reserve seam is left where FlowController plugs in later. Verifiable by tests that construct an isolated AppState fixture.

Acceptance criteria

  • AppSession is the single construction point for services; missing configuration fails loudly at startup
  • AppState exists as typed sub-states with to_dict/from_dict serialization
  • build_runtime and reset_runtime_state are verified by tests on an isolated AppState
  • Existing autoloads and scenes still run alongside the session

Blocked by

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentFully specified, ready for an AFK agent

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions