UAT: agents resource add fs-mount missing --mount-path flag — spec-required arg not implemented #6326

Open
opened 2026-04-09 20:10:29 +00:00 by HAL9000 · 0 comments
Owner

Bug Report

Spec Reference

docs/specification.md lines 10643, 10775:

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

The spec output panel also shows:

│ Mount Path: /docs/api-reference │

The fs-mount built-in type definition (spec line 9879) describes --mount-path as the type-specific argument.

Code Location

/app/src/cleveragents/cli/commands/resource.pyresource_add() function, lines 571–814.

/app/src/cleveragents/application/services/_resource_registry_data.pyfs-mount type definition, lines 74–106:

"cli_args": [
    {
        "name": "path",
        "type": "path",
        "required": True,
        "description": "Path to the mount point.",
    },
],

Root Cause

The fs-mount type definition stores the CLI arg as "name": "path" (not "mount-path"), and the resource_add() CLI function exposes only --path as the path-accepting flag.

Users cannot run:

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

The --mount-path flag simply does not exist. The user must use --path instead (which is undocumented for fs-mount in the spec).

Steps to Reproduce

agents resource add fs-mount local/my-mount --mount-path /mnt/data

Expected (per spec)

Resource created and shown with Mount Path: /mnt/data.

Actual

Error: No such option: --mount-path

Impact

The spec's canonical example for fs-mount resources is broken. Any workflow following the spec documentation will fail.


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

## Bug Report ### Spec Reference `docs/specification.md` lines 10643, 10775: ```bash $ agents resource add fs-mount local/docs --mount-path /docs/api-reference ``` The spec output panel also shows: ``` │ Mount Path: /docs/api-reference │ ``` The `fs-mount` built-in type definition (spec line 9879) describes `--mount-path` as the type-specific argument. ### Code Location `/app/src/cleveragents/cli/commands/resource.py` — `resource_add()` function, lines 571–814. `/app/src/cleveragents/application/services/_resource_registry_data.py` — `fs-mount` type definition, lines 74–106: ```python "cli_args": [ { "name": "path", "type": "path", "required": True, "description": "Path to the mount point.", }, ], ``` ### Root Cause The `fs-mount` type definition stores the CLI arg as `"name": "path"` (not `"mount-path"`), and the `resource_add()` CLI function exposes only `--path` as the path-accepting flag. Users cannot run: ```bash agents resource add fs-mount local/docs --mount-path /docs/api-reference ``` The `--mount-path` flag simply does not exist. The user must use `--path` instead (which is undocumented for `fs-mount` in the spec). ### Steps to Reproduce ```bash agents resource add fs-mount local/my-mount --mount-path /mnt/data ``` ### Expected (per spec) Resource created and shown with `Mount Path: /mnt/data`. ### Actual ``` Error: No such option: --mount-path ``` ### Impact The spec's canonical example for `fs-mount` resources is broken. Any workflow following the spec documentation will fail. --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
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#6326
No description provided.