UAT: _cleveragents/context/show, plan/rollback, plan/correct, plan/explain return stub responses — not wired to services #6139

Open
opened 2026-04-09 15:27:35 +00:00 by HAL9000 · 0 comments
Owner

Bug Report

Feature Area: A2A Facade — Plan and Context Operations
Severity: Medium (backlog)
Spec Reference: §Plan Lifecycle, §Context Assembly Pipeline, v3.2.0-v3.4.0 Deliverables


What Was Tested

Code-level analysis of src/cleveragents/a2a/facade.py plan and context operation handlers.

Expected Behavior (from spec)

The following operations should be fully wired to application services:

  1. _cleveragents/context/show — should return assembled context from the ACMS ContextAssemblyPipeline (v3.4.0 Deliverable 3)
  2. _cleveragents/plan/rollback — should restore plan state to a checkpoint (v3.3.0 Deliverable 8)
  3. _cleveragents/plan/correct — should perform correction with selective subtree recomputation (v3.2.0 Deliverable 7, v3.5.0 Deliverable 8)
  4. _cleveragents/plan/explain — should show decision details including alternatives, confidence_score, rationale (v3.2.0 Deliverable 4)

Actual Behavior

All four operations return stub responses with stub: true:

# facade.py _handle_context_get():
return {
    "context": {},
    "stub": True,
    "message": "ACMS ContextAssemblyPipeline not yet wired",
}

# facade.py _handle_plan_rollback():
return {"plan_id": plan_id, "status": "rolled_back", "stub": True}

# facade.py _handle_plan_correct():
return {"plan_id": plan_id, "status": "corrected", "stub": True}

# facade.py _handle_plan_explain():
return {
    "plan_id": plan_id,
    "decision_id": decision_id,
    "explanation": "Not yet implemented",
    "stub": True,
}

Code Location

  • src/cleveragents/a2a/facade.py_handle_context_get() (line ~310)
  • src/cleveragents/a2a/facade.py_handle_plan_rollback() (line ~430)
  • src/cleveragents/a2a/facade.py_handle_plan_correct() (line ~420)
  • src/cleveragents/a2a/facade.py_handle_plan_explain() (line ~410)

Impact

  1. context/show: agents project context show cannot display real context policy (v3.4.0 Deliverable 3 gap)
  2. plan/rollback: agents plan rollback silently returns success without actually rolling back (v3.3.0 Deliverable 8 gap)
  3. plan/correct: agents plan correct silently returns success without performing correction (v3.2.0 Deliverable 7 gap)
  4. plan/explain: agents plan explain returns "Not yet implemented" instead of decision details (v3.2.0 Deliverable 4 gap)

These stubs mask failures — the CLI reports success when no actual operation occurred.


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

## Bug Report **Feature Area**: A2A Facade — Plan and Context Operations **Severity**: Medium (backlog) **Spec Reference**: §Plan Lifecycle, §Context Assembly Pipeline, v3.2.0-v3.4.0 Deliverables --- ## What Was Tested Code-level analysis of `src/cleveragents/a2a/facade.py` plan and context operation handlers. ## Expected Behavior (from spec) The following operations should be fully wired to application services: 1. **`_cleveragents/context/show`** — should return assembled context from the ACMS ContextAssemblyPipeline (v3.4.0 Deliverable 3) 2. **`_cleveragents/plan/rollback`** — should restore plan state to a checkpoint (v3.3.0 Deliverable 8) 3. **`_cleveragents/plan/correct`** — should perform correction with selective subtree recomputation (v3.2.0 Deliverable 7, v3.5.0 Deliverable 8) 4. **`_cleveragents/plan/explain`** — should show decision details including alternatives, confidence_score, rationale (v3.2.0 Deliverable 4) ## Actual Behavior All four operations return stub responses with `stub: true`: ```python # facade.py _handle_context_get(): return { "context": {}, "stub": True, "message": "ACMS ContextAssemblyPipeline not yet wired", } # facade.py _handle_plan_rollback(): return {"plan_id": plan_id, "status": "rolled_back", "stub": True} # facade.py _handle_plan_correct(): return {"plan_id": plan_id, "status": "corrected", "stub": True} # facade.py _handle_plan_explain(): return { "plan_id": plan_id, "decision_id": decision_id, "explanation": "Not yet implemented", "stub": True, } ``` ## Code Location - `src/cleveragents/a2a/facade.py` — `_handle_context_get()` (line ~310) - `src/cleveragents/a2a/facade.py` — `_handle_plan_rollback()` (line ~430) - `src/cleveragents/a2a/facade.py` — `_handle_plan_correct()` (line ~420) - `src/cleveragents/a2a/facade.py` — `_handle_plan_explain()` (line ~410) ## Impact 1. **`context/show`**: `agents project context show` cannot display real context policy (v3.4.0 Deliverable 3 gap) 2. **`plan/rollback`**: `agents plan rollback` silently returns success without actually rolling back (v3.3.0 Deliverable 8 gap) 3. **`plan/correct`**: `agents plan correct` silently returns success without performing correction (v3.2.0 Deliverable 7 gap) 4. **`plan/explain`**: `agents plan explain` returns "Not yet implemented" instead of decision details (v3.2.0 Deliverable 4 gap) These stubs mask failures — the CLI reports success when no actual operation occurred. --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
HAL9000 added this to the v3.3.0 milestone 2026-04-09 21:18:58 +00:00
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.

Reference
cleveragents/cleveragents-core#6139
No description provided.