Skip to content

feat: configuration file (uteke.toml) #48

Closed

Description

@ajianaz

Problem

All configuration is hardcoded or passed via flags:

  • Store path: hardcoded ~/.uteke
  • Embedding model: hardcoded
  • No per-project or per-namespace settings
  • No global user preferences

Proposed Solution

# ~/.uteke.toml (global config)

[store]
path = "~/.uteke"

[embedding]
model = "embeddinggemma-q4"
model_path = "~/.local/share/uteke/models/"

[aging]
hot_days = 7
warm_days = 30
auto_cleanup = false
preserve_tags = ["important"]

[defaults]
namespace = "default"
json_output = false

[hooks]
enabled = true
shell = "bash"

# Per-namespace overrides
[namespaces.cto]
aging.hot_days = 3          # CTO memories age faster
aging.preserve_tags = ["architecture", "decision"]

[namespaces.nova]
aging.auto_cleanup = true
# Config file locations (searched in order)
~/.uteke.toml              # Global
./.uteke.toml              # Project (overrides global)
UTEKE_CONFIG=/path/to.toml # Env override

Priority

P3 — DX

Impact

Without a config file, every customization requires flag juggling. Config file is the foundation for namespace defaults (#45), aging policy (#44), and shell hooks (#47). Many features depend on this existing first.

Activity

  1. added a commit that references this issue on Aug 13, 2026
    0ae6be9
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions