fix(test): update facade operation count from 11 to 42

The A2A facade now exposes 42 operations (31 extension + 11 legacy)
after the spec-aligned _cleveragents/ extension methods were added.
Update the BDD assertion and docs to match the actual count.
This commit is contained in:
2026-03-22 03:23:42 +00:00
parent 24aad463a1
commit 0c301ac581
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1479,7 +1479,7 @@ The M6 acceptance suite validates the autonomy hardening layer:
### Behave Suite: `features/m6_autonomy_acceptance.feature`
- **Fixture loading** — 3 scenarios verifying JSON structure
- **A2A facade dispatch** — 10 scenarios covering all 11 operations
- **A2A facade dispatch** — 10 scenarios covering all 42 operations
- **A2A error handling** — 2 scenarios (unknown operation, invalid request type)
- **Service registration** — 2 scenarios (register + list operations)
- **Event queue** — 5 scenarios (publish, subscribe, unsubscribe, close, remote reject)
+1 -1
View File
@@ -6,7 +6,7 @@ Feature: A2A CLI facade integration
Scenario: CLI bootstrap creates a wired facade
Given a facade created via the CLI bootstrap
Then the facade should support all 11 operations
Then the facade should support all 42 operations
And the facade should be cached on subsequent calls
Scenario: Session create routes through facade
@@ -121,10 +121,10 @@ def step_call_notify_facade(context: Any, operation: str) -> None:
# ---------------------------------------------------------------------------
@then("the facade should support all 11 operations")
def step_check_11_operations(context: Any) -> None:
@then("the facade should support all 42 operations")
def step_check_42_operations(context: Any) -> None:
ops = context.facade.list_operations()
assert len(ops) == 11, f"Expected 11 operations, got {len(ops)}: {ops}"
assert len(ops) == 42, f"Expected 42 operations, got {len(ops)}: {ops}"
@then("the facade should be cached on subsequent calls")