aeat.application.setup package

Reusable first-run profile and bucket initialization.

This package exposes initialize_workspace(), a provisioner that accepts an InitializeWorkspaceCommand, mints the active core.identity.ProfileId, provisions the matching storage core.identity.BucketId, and returns an InitializeWorkspaceResult. The operator-supplied profile name remains the display label; it is not used as the storage identity.

The live config CLI currently owns its command registration and shares the same profile-create primitives rather than importing this facade directly. Keep this module as the small application service boundary for callers that need atomic workspace creation without rebuilding user-profile orchestration.

See also

initialize_workspace()

Service that writes profile facts, creates the active bucket, and reports whether the requested auth provider was configured.

InitializeWorkspaceCommand

Typed first-run facts passed into the setup service.

InitializeWorkspaceResult

UUID profile/bucket identity returned by successful setup.

application.user_profile.profile_create_storage_span()

Storage span that provisions the profile bucket before profile facts are committed.

application.user_profile.register_active_profile()

Workflow-state mutation used by both setup and config-profile create paths.

application.auth.configure_operator_auth()

Optional auth-provider configuration step invoked after bucket creation.

Submodules