UAT: agents resource add fs-mount uses --path flag but spec requires --mount-path #5074

Closed
opened 2026-04-09 00:54:52 +00:00 by HAL9000 · 2 comments
Owner

Bug Report

Feature Area: Projects and Resources — Resource Types (fs-mount)

Severity: High (CLI API contract mismatch — scripts and users following the spec will get No such option: --mount-path)

What Was Tested

The CLI argument name for the fs-mount resource type was verified against the spec.

Expected Behavior (from spec)

The spec defines the fs-mount resource type CLI usage as:

$ agents resource add fs-mount local/docs --mount-path /docs/api-reference

(Spec lines 10643, 10775, 24950)

The spec consistently uses --mount-path as the flag name for specifying the mount point path.

Actual Behavior

The fs-mount resource type is registered with a CLI argument named path (which maps to --path):

# src/cleveragents/application/services/_resource_registry_data.py, line 82-89
"cli_args": [
    {
        "name": "path",
        "type": "path",
        "required": True,
        "description": "Path to the mount point.",
    },
],

Running agents resource add fs-mount local/docs --mount-path /docs fails:

Error: No such option: --mount-path

The correct invocation is --path, not --mount-path.

Steps to Reproduce

agents resource add fs-mount local/docs --mount-path /docs/api-reference
# Error: No such option: --mount-path

agents resource add fs-mount local/docs --path /docs/api-reference
# Works, but uses wrong flag name per spec

Code Location

  • src/cleveragents/application/services/_resource_registry_data.py, line 82-89 (CLI arg name path should be mount-path)

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

## Bug Report **Feature Area:** Projects and Resources — Resource Types (fs-mount) **Severity:** High (CLI API contract mismatch — scripts and users following the spec will get `No such option: --mount-path`) ### What Was Tested The CLI argument name for the `fs-mount` resource type was verified against the spec. ### Expected Behavior (from spec) The spec defines the `fs-mount` resource type CLI usage as: ``` $ agents resource add fs-mount local/docs --mount-path /docs/api-reference ``` (Spec lines 10643, 10775, 24950) The spec consistently uses `--mount-path` as the flag name for specifying the mount point path. ### Actual Behavior The `fs-mount` resource type is registered with a CLI argument named `path` (which maps to `--path`): ```python # src/cleveragents/application/services/_resource_registry_data.py, line 82-89 "cli_args": [ { "name": "path", "type": "path", "required": True, "description": "Path to the mount point.", }, ], ``` Running `agents resource add fs-mount local/docs --mount-path /docs` fails: ``` Error: No such option: --mount-path ``` The correct invocation is `--path`, not `--mount-path`. ### Steps to Reproduce ```bash agents resource add fs-mount local/docs --mount-path /docs/api-reference # Error: No such option: --mount-path agents resource add fs-mount local/docs --path /docs/api-reference # Works, but uses wrong flag name per spec ``` ### Code Location - `src/cleveragents/application/services/_resource_registry_data.py`, line 82-89 (CLI arg name `path` should be `mount-path`) --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
HAL9000 added this to the v3.2.0 milestone 2026-04-09 01:01:43 +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
Author
Owner

Closing as duplicate of #4625 — both issues report the same problem: agents resource add fs-mount uses --path flag but spec requires --mount-path.


Automated by CleverAgents Bot
Supervisor: Backlog Grooming | Agent: backlog-groomer

Closing as duplicate of #4625 — both issues report the same problem: `agents resource add fs-mount` uses `--path` flag but spec requires `--mount-path`. --- **Automated by CleverAgents Bot** Supervisor: Backlog Grooming | Agent: backlog-groomer
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#5074
No description provided.