Skip to content

🔧 [P1] Wire up config system or remove dead sections #127

Closed

Description

@ajianaz

Problem

The config system loads 5 sections (store, embedding, tier, logging, aging) but the runtime only reads config.store.path. This gives users a false sense of configurability.

What's Broken

Config Section Status Actual Behavior
[store] path ✅ Used Read at CLI startup
[store] namespace ❌ Ignored Hardcoded via CLI flag/env
[embedding] model, max_seq_length ❌ Ignored Hardcoded in engine.rs
[tier] hot_days, warm_days, hot_boost ❌ Ignored Hardcoded in lib.rs (7/30/0.1)
[logging] level, file ❌ Ignored Hardcoded in main.rs
[aging] enabled, max_age_days, max_cold_count ❌ Ignored Hardcoded in lib.rs

Also: --config flag documented but not implemented

README, CHANGELOG, and website docs reference --config <path> but the CLI struct has no such field.

Proposed Fix

Option A (recommended): Wire everything up

  1. Pass config values to Uteke constructor (tier thresholds, aging config)
  2. Pass embedding config to EmbeddingEngine::new()
  3. Pass logging config to logging initialization
  4. Add --config <path> CLI flag
  5. Add config validation (warn on unknown fields, validate paths)

Option B: Remove dead sections

  1. Remove embedding, tier, logging, aging from config schema
  2. Remove --config from all documentation
  3. Keep config minimal: only [store] path and namespace

Acceptance Criteria

  • All config sections are either functional or removed
  • uteke.toml example in README matches actual schema
  • If Option A: --config flag implemented and documented
  • Config validation warns on invalid values
  • Tests for config loading edge cases

Effort: ~1-2 days

Activity

  1. added a commit that references this issue on Jun 2, 2026
  2. ajianaz commented on Jun 2, 2026

    @ajianaz
    CollaboratorAuthor

    Fixed in #157 — TierConfig wired from CLI to core

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

    scope:cliscope:core

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions