Skip to content

feat(config): devops config unset removes a key, and an unknown key's error names the line and that command #2201

Description

@dan-petty

What happened

Since #2168 (e447c76) the ai settings refuse unknown keys. The owner's config.yaml still holds ai.vllm_url, a key that v0.2.34 removed. On current main every command that loads settings fails with:

ai Value error, Unknown configuration key 'vllm_url'. [type=value_error]

The message does not say how to fix it, and devops config has no command that removes a key (set only), so the owner must edit config.yaml by hand. Found on 2026-10-24 by #2187's live run.

What should happen

Acceptance criteria

  • A test shows that devops config unset ai.vllm_url removes the key from a config that fails to load because of it, keeps the other lines and comments, and writes a backup.
  • A test shows the error message with the key, the line and the unset command.

Activity

  1. added
    source/agent
    type/feature
    on Oct 24, 2026
  2. dan-petty commented on Oct 24, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.

    • Type: type/feature. The candidate proposes a new feature to add a config unset command and improve error messages.
    • Priority: P2-Medium. This change improves usability but is not critical for immediate project needs.
    • Value: Medium. Users will benefit from easier configuration management and clearer error messages.
    • Effort: Medium. Implementing the unset command and enhancing error reporting requires moderate development effort.
    • Related: fix(config): a config file that does not parse never prints its line from any command that loads settings #1468, which asks for a different change. Both items deal with configuration file errors, but the candidate adds a new unset command while item 1468 focuses on improving error message clarity without adding new functionality.
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

    source/agenttype/feature

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions