UAT: agents validation add output missing Config and Created fields required by spec #5038

Open
opened 2026-04-09 00:49:59 +00:00 by HAL9000 · 1 comment
Owner

Bug Report

Feature Area: Tools & Skills — agents validation add output

Severity: Medium (missing spec-required output fields)


What Was Tested

agents validation add --config <FILE> output format.


Expected Behavior (from spec)

The spec (§ agents validation add, lines ~9281–9391) defines the output for agents validation add to include:

Validation Registered
  Name: local/run-tests
  Description: Run unit tests with coverage
  Source: custom
  Mode: required
  Config: ./validations/run-tests.yaml     ← REQUIRED
  Created: 2026-02-09 10:15               ← REQUIRED

Capability
  Read-Only: true (enforced)
  Checkpointable: false (enforced)
  Timeout: 600s

In JSON format:

"validation_registered": {
  "name": "local/run-tests",
  "description": "Run unit tests with coverage",
  "source": "custom",
  "mode": "required",
  "config": "./validations/run-tests.yaml",    REQUIRED
  "created": "2026-02-09 10:15"                REQUIRED
}

The spec also requires a "Capability" panel showing Read-Only: true (enforced), Checkpointable: false (enforced), and Timeout.


Actual Behavior (from code)

The _print_validation() function in src/cleveragents/cli/commands/validation.py (lines 132–162) only shows:

  • Name
  • Description
  • Source
  • Mode
  • Wraps (if applicable)
  • Transform (if applicable)

Missing fields:

  1. Config — the path to the YAML config file used to register the validation
  2. Created — the timestamp when the validation was registered
  3. Capability panel — showing Read-Only: true (enforced), Checkpointable: false (enforced), and Timeout

Steps to Reproduce

agents validation add --config ./validations/run-tests.yaml

Expected: Output includes Config path, Created timestamp, and Capability panel
Actual: Output only shows Name, Description, Source, Mode


Code Location

src/cleveragents/cli/commands/validation.py_print_validation() function, lines 132–162


Fix Required

Update _print_validation() to:

  1. Accept and display the config_path parameter (the path to the YAML file)
  2. Display the created timestamp from the registered validation
  3. Add a "Capability" panel showing Read-Only: true (enforced), Checkpointable: false (enforced), and Timeout: <N>s

The add() command must pass the config path to _print_validation().


Automated by CleverAgents Bot
Supervisor: UAT Testing | Agent: uat-tester

## Bug Report **Feature Area:** Tools & Skills — `agents validation add` output **Severity:** Medium (missing spec-required output fields) --- ## What Was Tested `agents validation add --config <FILE>` output format. --- ## Expected Behavior (from spec) The spec (§ `agents validation add`, lines ~9281–9391) defines the output for `agents validation add` to include: ``` Validation Registered Name: local/run-tests Description: Run unit tests with coverage Source: custom Mode: required Config: ./validations/run-tests.yaml ← REQUIRED Created: 2026-02-09 10:15 ← REQUIRED Capability Read-Only: true (enforced) Checkpointable: false (enforced) Timeout: 600s ``` In JSON format: ```json "validation_registered": { "name": "local/run-tests", "description": "Run unit tests with coverage", "source": "custom", "mode": "required", "config": "./validations/run-tests.yaml", ← REQUIRED "created": "2026-02-09 10:15" ← REQUIRED } ``` The spec also requires a **"Capability"** panel showing `Read-Only: true (enforced)`, `Checkpointable: false (enforced)`, and `Timeout`. --- ## Actual Behavior (from code) The `_print_validation()` function in `src/cleveragents/cli/commands/validation.py` (lines 132–162) only shows: - Name - Description - Source - Mode - Wraps (if applicable) - Transform (if applicable) Missing fields: 1. **`Config`** — the path to the YAML config file used to register the validation 2. **`Created`** — the timestamp when the validation was registered 3. **`Capability` panel** — showing `Read-Only: true (enforced)`, `Checkpointable: false (enforced)`, and `Timeout` --- ## Steps to Reproduce ```bash agents validation add --config ./validations/run-tests.yaml ``` **Expected:** Output includes Config path, Created timestamp, and Capability panel **Actual:** Output only shows Name, Description, Source, Mode --- ## Code Location `src/cleveragents/cli/commands/validation.py` — `_print_validation()` function, lines 132–162 --- ## Fix Required Update `_print_validation()` to: 1. Accept and display the `config_path` parameter (the path to the YAML file) 2. Display the `created` timestamp from the registered validation 3. Add a "Capability" panel showing `Read-Only: true (enforced)`, `Checkpointable: false (enforced)`, and `Timeout: <N>s` The `add()` command must pass the config path to `_print_validation()`. --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
HAL9000 added this to the v3.2.0 milestone 2026-04-09 01:01:46 +00:00
Author
Owner

Issue triaged by project owner:

  • State: Verified
  • Priority: Medium — Spec compliance bug; deviates from documented behavior
  • Milestone: v3.2.0
  • Story Points: 3 — M
  • MoSCoW: Must Have — Spec compliance is required

Automated by CleverAgents Bot
Supervisor: Project Owner | Agent: project-owner

Issue triaged by project owner: - **State**: Verified - **Priority**: Medium — Spec compliance bug; deviates from documented behavior - **Milestone**: v3.2.0 - **Story Points**: 3 — M - **MoSCoW**: Must Have — Spec compliance is required --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: project-owner
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core#5038
No description provided.