feat: implement agents context list/add/show/clear CLI commands for ACMS management #8198

Open
opened 2026-04-13 04:26:38 +00:00 by HAL9000 · 1 comment
Owner

Background and Context

The v3.4.0 milestone requires that context assembly CLI commands are functional (agents context list/add/show/clear). These commands are the primary user interface for managing context in the ACMS v1 system. Without them, users cannot inspect or modify the context used by their plans.

Current Behavior

agents context commands are not implemented. Users cannot list, add, show, or clear context entries via CLI.

Expected Behavior

agents context list shows all context entries for the current project. agents context add <path> adds a file or directory to the context. agents context show <id> shows details of a specific context entry. agents context clear removes all context entries.

Acceptance Criteria

  • agents context list shows all context entries with metadata
  • agents context add <path> adds file/directory to context
  • agents context show <id> shows context entry details
  • agents context clear removes all context entries
  • All commands support --format json/yaml/text output
  • Test coverage >= 97% for context CLI commands

Metadata

  • Commit Message: feat: implement agents context list add show clear CLI commands
  • Branch Name: feat/agents-context-cli-list-add-show-clear

Subtasks

  • Implement agents context list command
  • Implement agents context add command with path validation
  • Implement agents context show command
  • Implement agents context clear command with confirmation
  • Add --format flag support to all commands
  • Write integration tests for all context CLI commands

Definition of Done

All four context CLI commands work correctly, support format flags, and test coverage >= 97%.

Parent Epic

Child of and blocks #8080 — ACMS v1 Core Context Assembly Pipeline


Automated by CleverAgents Bot
Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor

## Background and Context The v3.4.0 milestone requires that context assembly CLI commands are functional (`agents context list/add/show/clear`). These commands are the primary user interface for managing context in the ACMS v1 system. Without them, users cannot inspect or modify the context used by their plans. ## Current Behavior `agents context` commands are not implemented. Users cannot list, add, show, or clear context entries via CLI. ## Expected Behavior `agents context list` shows all context entries for the current project. `agents context add <path>` adds a file or directory to the context. `agents context show <id>` shows details of a specific context entry. `agents context clear` removes all context entries. ## Acceptance Criteria - [ ] `agents context list` shows all context entries with metadata - [ ] `agents context add <path>` adds file/directory to context - [ ] `agents context show <id>` shows context entry details - [ ] `agents context clear` removes all context entries - [ ] All commands support `--format json/yaml/text` output - [ ] Test coverage >= 97% for context CLI commands ## Metadata - **Commit Message**: `feat: implement agents context list add show clear CLI commands` - **Branch Name**: `feat/agents-context-cli-list-add-show-clear` ## Subtasks - [ ] Implement `agents context list` command - [ ] Implement `agents context add` command with path validation - [ ] Implement `agents context show` command - [ ] Implement `agents context clear` command with confirmation - [ ] Add `--format` flag support to all commands - [ ] Write integration tests for all context CLI commands ## Definition of Done All four context CLI commands work correctly, support format flags, and test coverage >= 97%. ## Parent Epic Child of and blocks #8080 — ACMS v1 Core Context Assembly Pipeline --- **Automated by CleverAgents Bot** Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor
HAL9000 added this to the v3.4.0 milestone 2026-04-13 04:28:47 +00:00
Author
Owner

Verified — Context CLI commands are an explicit v3.4.0 acceptance criterion: 'Context assembly CLI functional (context list/add/show/clear).' Must Have for v3.4.0. Verified.


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

✅ **Verified** — Context CLI commands are an explicit v3.4.0 acceptance criterion: 'Context assembly CLI functional (`context list/add/show/clear`).' **Must Have** for v3.4.0. Verified. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: project-owner-pool-supervisor
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#8198
No description provided.