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.
InitializeWorkspaceCommandTyped first-run facts passed into the setup service.
InitializeWorkspaceResultUUID 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¶
- aeat.application.setup._contracts module
InitializeWorkspaceCommandInitializeWorkspaceCommand.profile_nameInitializeWorkspaceCommand.tax_idInitializeWorkspaceCommand.activityInitializeWorkspaceCommand.iva_regimeInitializeWorkspaceCommand.tax_residence_ccaaInitializeWorkspaceCommand.auth_providerInitializeWorkspaceCommand.certificate_pathInitializeWorkspaceCommand.certificate_password_envInitializeWorkspaceCommand.output_languageInitializeWorkspaceCommand.drafts_dirInitializeWorkspaceCommand.submissions_dirInitializeWorkspaceCommand.manuals_root
InitializeWorkspaceResult
- aeat.application.setup._service module