refactor(a2a): rename ACP module and symbols to A2A standard #705

Merged
freemo merged 1 commit from refactor/m7-acp-to-a2a-rename into master 2026-03-12 14:45:06 +00:00
Owner

Summary

Renames the src/cleveragents/acp/ module to src/cleveragents/a2a/ per ADR-047 (A2A Standard Adoption), updating all class names, imports, structlog events, and field names across the codebase.

Closes #688

Changes

Module rename

  • Renamed directory src/cleveragents/acp/src/cleveragents/a2a/
  • Updated all 8 source files within the module

Symbol renames (13 classes)

Old New
AcpLocalFacade A2aLocalFacade
AcpHttpTransport A2aHttpTransport
AcpEventQueue A2aEventQueue
AcpVersionNegotiator A2aVersionNegotiator
AcpError A2aError
AcpNotAvailableError A2aNotAvailableError
AcpVersionMismatchError A2aVersionMismatchError
AcpOperationNotFoundError A2aOperationNotFoundError
AcpErrorDetail A2aErrorDetail
AcpRequest A2aRequest
AcpResponse A2aResponse
AcpEvent A2aEvent
AcpVersion A2aVersion

Other updates

  • All from cleveragents.acp.* imports updated to from cleveragents.a2a.* across 42 files
  • 11 structlog event names renamed (acp.*a2a.*)
  • acp_version field renamed to a2a_version in 2 locations
  • External consumers updated: lsp/server.py, cli/commands/server.py, cli/commands/lsp.py
  • Removed old src/cleveragents/acp/ directory

Quality Checks

  • nox -e typecheck — 0 Pyright errors
  • nox -e lint — all checks passed
  • nox -e format — all files unchanged
  • Zero references to acp remain in src/ (except historical comments noting the rename)
## Summary Renames the `src/cleveragents/acp/` module to `src/cleveragents/a2a/` per ADR-047 (A2A Standard Adoption), updating all class names, imports, structlog events, and field names across the codebase. Closes #688 ## Changes ### Module rename - Renamed directory `src/cleveragents/acp/` → `src/cleveragents/a2a/` - Updated all 8 source files within the module ### Symbol renames (13 classes) | Old | New | |-----|-----| | `AcpLocalFacade` | `A2aLocalFacade` | | `AcpHttpTransport` | `A2aHttpTransport` | | `AcpEventQueue` | `A2aEventQueue` | | `AcpVersionNegotiator` | `A2aVersionNegotiator` | | `AcpError` | `A2aError` | | `AcpNotAvailableError` | `A2aNotAvailableError` | | `AcpVersionMismatchError` | `A2aVersionMismatchError` | | `AcpOperationNotFoundError` | `A2aOperationNotFoundError` | | `AcpErrorDetail` | `A2aErrorDetail` | | `AcpRequest` | `A2aRequest` | | `AcpResponse` | `A2aResponse` | | `AcpEvent` | `A2aEvent` | | `AcpVersion` | `A2aVersion` | ### Other updates - All `from cleveragents.acp.*` imports updated to `from cleveragents.a2a.*` across 42 files - 11 structlog event names renamed (`acp.*` → `a2a.*`) - `acp_version` field renamed to `a2a_version` in 2 locations - External consumers updated: `lsp/server.py`, `cli/commands/server.py`, `cli/commands/lsp.py` - Removed old `src/cleveragents/acp/` directory ## Quality Checks - `nox -e typecheck` — 0 Pyright errors - `nox -e lint` — all checks passed - `nox -e format` — all files unchanged - Zero references to `acp` remain in `src/` (except historical comments noting the rename)
refactor(a2a): rename ACP module and symbols to A2A standard
All checks were successful
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 20s
CI / build (pull_request) Successful in 16s
CI / quality (pull_request) Successful in 35s
CI / security (pull_request) Successful in 47s
CI / typecheck (pull_request) Successful in 1m37s
CI / integration_tests (pull_request) Successful in 3m38s
CI / unit_tests (pull_request) Successful in 4m44s
CI / docker (pull_request) Successful in 1m6s
CI / coverage (pull_request) Successful in 5m30s
CI / benchmark-regression (pull_request) Successful in 35m37s
2fe95d1b38
Renamed src/cleveragents/acp/ to src/cleveragents/a2a/ and all 13
Acp* classes to A2a* per ADR-047 (A2A Standard Adoption). Updated
all imports, structlog event names (acp.* → a2a.*), field names
(acp_version → a2a_version), and test references across the entire
codebase. This is a cosmetic rename only — no behavioral changes.

ISSUES CLOSED: #688
freemo added this to the v3.6.0 milestone 2026-03-12 00:23:55 +00:00
freemo force-pushed refactor/m7-acp-to-a2a-rename from 2fe95d1b38
All checks were successful
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 20s
CI / build (pull_request) Successful in 16s
CI / quality (pull_request) Successful in 35s
CI / security (pull_request) Successful in 47s
CI / typecheck (pull_request) Successful in 1m37s
CI / integration_tests (pull_request) Successful in 3m38s
CI / unit_tests (pull_request) Successful in 4m44s
CI / docker (pull_request) Successful in 1m6s
CI / coverage (pull_request) Successful in 5m30s
CI / benchmark-regression (pull_request) Successful in 35m37s
to ec0b7631d0
Some checks failed
CI / lint (push) Successful in 12s
CI / build (push) Successful in 15s
CI / quality (push) Successful in 23s
CI / typecheck (push) Successful in 36s
CI / benchmark-regression (push) Has been skipped
CI / security (push) Successful in 46s
CI / unit_tests (push) Successful in 3m3s
CI / integration_tests (push) Successful in 3m31s
CI / docker (push) Successful in 40s
CI / coverage (push) Successful in 5m34s
CI / benchmark-publish (push) Successful in 19m15s
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 13s
CI / build (pull_request) Successful in 14s
CI / quality (pull_request) Successful in 17s
CI / security (pull_request) Successful in 34s
CI / typecheck (pull_request) Has been cancelled
CI / unit_tests (pull_request) Has been cancelled
CI / coverage (pull_request) Has been cancelled
CI / benchmark-regression (pull_request) Has been cancelled
CI / integration_tests (pull_request) Has been cancelled
CI / docker (pull_request) Has been cancelled
2026-03-12 14:38:59 +00:00
Compare
freemo scheduled this pull request to auto merge when all checks succeed 2026-03-12 14:39:09 +00:00
freemo merged commit ec0b7631d0 into master 2026-03-12 14:45:06 +00:00
freemo deleted branch refactor/m7-acp-to-a2a-rename 2026-03-12 14:45:06 +00:00
Sign in to join this conversation.
No reviewers
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!705
No description provided.