feat(acms): context assembly CLI functional (context list/add/show/clear) #1138
No reviewers
Labels
No labels
auto/needs-reevaluation
controller-managed
auto/blocked-by-deps
auto/ci-timeout
auto/claimed-implementer
auto/claimed-merge
auto/claimed-reviewer
auto/driver-down
auto/invariant-violation
auto/last-attempt-tier-0
auto/last-attempt-tier-1
auto/last-attempt-tier-2
auto/last-attempt-tier-min
Automation Tracking
auto/needs-conflict-resolution
auto/needs-implementer
auto/postmortem
auto/ready-to-merge
auto/restart-throttled
auto/revert
auto/sentinel
auto/stale-inactivity
auto/unstable
Blocked
Bounty
$100
Bounty
$1000
Bounty
$10000
Bounty
$20
Bounty
$2000
Bounty
$250
Bounty
$50
Bounty
$500
Bounty
$5000
Bounty
$750
MoSCoW
Could have
MoSCoW
Must have
MoSCoW
Should have
Needs Feedback
Points
1
Points
13
Points
2
Points
21
Points
3
Points
34
Points
5
Points
55
Points
8
Points
88
Priority
Backlog
Priority
CI Blocker
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Signed-off: Owner
Signed-off: Scrum Master
Signed-off: Tech Lead
Spike
State
Completed
State
Duplicate
State
In Progress
State
In Review
State
Paused
State
Unverified
State
Verified
State
Wont Do
Type
Automation
Type
Bug
Type
Discussion
Type
Documentation
Type
Epic
Type
Feature
Type
Legendary
Type
Refactor
Type
Support
Type
Task
Type
Testing
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
cleveragents/cleveragents-core!1138
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/m5-context-cli"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Verified and tested the context assembly CLI commands (
context list,context add,context show,context clear) for full functionality with the ACMS context pipeline. Added missing unit test coverage for the required patterns.Changes
Verified CLI Commands
agents context list— lists all context resources for the current plan/project viaContextServiceagents context add— attaches file/directory resources to the current plan's contextagents context show— displays assembled context content (single file detail or multi-file summary)agents context clear— clears all context state, enabling inheritance fallback to parent viewsNew Behave Test Scenarios (5 added to
features/m5_acms_smoke.feature)M5 smoke context list with multiple resources— verifies list with 3 entriesM5 smoke context add multiple files to project— verifies multi-file addM5 smoke context show with multiple resources shows summary— verifies summary displayM5 smoke context clear then re-add restores entries— verifies clear + re-add patternM5 smoke context clear on empty project succeeds— verifies clear on empty contextE2E Acceptance Tests Passing
ACMS Scoped Context Output Per Phase— phase-specific views with narrowing size limits + persistence round-tripContext Policy Clear And Inheritance Fallback— view clearing with inheritance fallback + persistence round-tripTest Results
Files Changed
features/m5_acms_smoke.feature— added 5 new scenarios (multiple resources, clear+re-add)features/steps/m5_acms_smoke_steps.py— added corresponding step definitionsCloses #848
Review: APPROVED
Clean test-only PR adding 5 BDD scenarios for context CLI operations. Step implementations use proper mocking with the
_mock_container()pattern consistent with existing steps. Multi-file add test patchesPath.existsappropriately. Assertions are flexible to handle format variations. No concerns.adb4b55fee57bccbdbe4rebased with master, already approved, merging
New commits pushed, approval review dismissed automatically according to repository settings
54f4ca1b71f258aacc5df258aacc5d2aa2bb6a43