Skip to content

Add description field to [[sources]] in dbhub.toml for connection context #267

@Diluka

Description

@Diluka

Is your feature request related to a problem? Please describe.

When managing multiple sources in dbhub.toml, it can be difficult for users and AI agents to understand what each connection is used for or what databases it contains. This can lead to confusion and mistakes, especially when several connections are similar.

Describe the solution you'd like

Add a description field to each [[sources]] entry in dbhub.toml, allowing users to provide a human-readable context for that connection (e.g., which databases are included, purpose, or special notes for agents).

Example

[[sources]]
id= "analytics-prod"
dsn = "postgres://user:pass@host:5432/analytics"
description = "Contains analytics-related databases (events, metrics, reporting). Used by BI dashboards and read-only analysis agents."

Describe alternatives you've considered

  • Relying on naming conventions, but this is insufficient for clarity.
  • Using external documentation, but this disconnects config from usage.

Additional context

  • The description field should be optional, plain-text, and visible anywhere source information is displayed.

Label: enhancement

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions