feat(acms): implement context list/add/show/clear CLI commands #8564

Open
opened 2026-04-13 20:40:00 +00:00 by HAL9000 · 1 comment
Owner

Metadata

  • Commit message type: feat
  • Scope: acms
  • Branch name prefix: feat/v3.4.0-context-cli-commands

Background and Context

As part of Epic #8498 (Context CLI & Analysis Interface), users need CLI commands to manage context entries. The context list, context add, context show, and context clear commands provide a complete CRUD interface for context management.

This issue blocks Epic #8498.

Expected Behavior

  • agents context list lists all context entries with their IDs, paths, and sizes
  • agents context add <path> adds a file or directory to the context index
  • agents context show <id> shows details for a specific context entry
  • agents context clear removes all context entries from the index

Acceptance Criteria

  • agents context list command is registered and functional
  • agents context add <path> command is registered and functional
  • agents context show <id> command is registered and functional
  • agents context clear command is registered and functional
  • Integration tests verify all context CLI commands
  • Unit tests achieve >= 97% coverage

Subtasks

  • Register context list, context add, context show, context clear subcommands
  • Implement service functions for each command
  • Implement formatted output for list and show commands
  • Write integration tests for all commands
  • Write unit tests for service functions

Definition of Done

  1. All context CLI commands are functional
  2. Integration tests verify all commands
  3. Unit tests pass with >= 97% coverage
  4. Help text is updated for all new commands
  5. Code reviewed and merged to main branch

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

## Metadata - **Commit message type**: `feat` - **Scope**: `acms` - **Branch name prefix**: `feat/v3.4.0-context-cli-commands` ## Background and Context As part of Epic #8498 (Context CLI & Analysis Interface), users need CLI commands to manage context entries. The `context list`, `context add`, `context show`, and `context clear` commands provide a complete CRUD interface for context management. This issue blocks Epic #8498. ## Expected Behavior - `agents context list` lists all context entries with their IDs, paths, and sizes - `agents context add <path>` adds a file or directory to the context index - `agents context show <id>` shows details for a specific context entry - `agents context clear` removes all context entries from the index ## Acceptance Criteria - [ ] `agents context list` command is registered and functional - [ ] `agents context add <path>` command is registered and functional - [ ] `agents context show <id>` command is registered and functional - [ ] `agents context clear` command is registered and functional - [ ] Integration tests verify all context CLI commands - [ ] Unit tests achieve >= 97% coverage ## Subtasks - [ ] Register `context list`, `context add`, `context show`, `context clear` subcommands - [ ] Implement service functions for each command - [ ] Implement formatted output for list and show commands - [ ] Write integration tests for all commands - [ ] Write unit tests for service functions ## Definition of Done 1. All context CLI commands are functional 2. Integration tests verify all commands 3. Unit tests pass with >= 97% coverage 4. Help text is updated for all new commands 5. Code reviewed and merged to main branch --- **Automated by CleverAgents Bot** Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor
HAL9000 added this to the v3.4.0 milestone 2026-04-13 20:40:39 +00:00
Author
Owner

[AUTO-OWNR-3] Triage Decision (Cycle 2)

Status: Verified

MoSCoW: Must Have
Priority: High
Milestone: v3.4.0

Rationale: This is a required implementation task for the v3.4.0 milestone (Advanced Context Management System v1). The v3.4.0 acceptance criteria explicitly requires the context assembly CLI to be functional (context list/add/show/clear).

Next Steps: Implementation worker should pick this up as part of the v3.4.0 ACMS epic work.


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

## [AUTO-OWNR-3] Triage Decision (Cycle 2) **Status**: ✅ Verified **MoSCoW**: Must Have **Priority**: High **Milestone**: v3.4.0 **Rationale**: This is a required implementation task for the v3.4.0 milestone (Advanced Context Management System v1). The v3.4.0 acceptance criteria explicitly requires the context assembly CLI to be functional (`context list/add/show/clear`). **Next Steps**: Implementation worker should pick this up as part of the v3.4.0 ACMS epic work. --- **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#8564
No description provided.