Skip to content

Implement config layering and override resolution #34

@wauputr4

Description

@wauputr4

Goal

Make configuration adjustable without hardcoding environment-specific values.

Scope

  • Resolve config in this order: profile defaults, .wasila/config.toml, environment variables, CLI flags.
  • Keep provider secrets in env vars only.
  • Support OpenAI-compatible provider fields: base_url, model, api_key_env.
  • Keep customer gateway and owner gateway config independent.

References

  • docs/11-configuration.md
  • docs/15-provider-configuration.md
  • docs/22-architecture-boundaries.md

Acceptance Criteria

  • CLI flags can override local config where supported.
  • Env vars supply secret values without writing them into config.
  • Provider config is swappable without changing profile files.
  • Customer and owner gateway config remain independent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliWasila cli workmvpWasila mvp work

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions