Skip to content

Implement or hide 'agentops config validate' (currently a stub) #115

@Dongbumlee

Description

@Dongbumlee

Source

Discovered during E2E validation of #78.

Problem

agentops config validate --help advertises:

Validate configuration files (planned).

…with no flags. The command appears in the top-level help (agentops config) and looks usable, but invoking it with any argument returns:

No such option: -c

This is a poor user experience: users discover the command, attempt to validate their run.yaml, and get a confusing error.

Two options

Option A — implement it properly (recommended, small change)
Add -c/--config <path> and exercise the existing core/config_loader.py Pydantic models. Print pass/fail and any validation errors. Example:

$ agentops config validate -c .agentops/run.yaml
✅ run.yaml is valid (version=1, target.type=agent, bundle=conversational_agent_baseline, dataset=smoke-conversational)

Option B — hide it
Remove from the CLI surface until implemented.

Per CONTRIBUTING.md ("Do not add CLI commands or flags unless intentionally expanding the product contract"), the contract already advertises this command as planned, so Option A is preferable.

Severity

Low (UX)

Metadata

Metadata

Assignees

No one assigned

    Labels

    sprint3Sprint 3 test scenarios

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions