docs: architecture — add v3.8.0 Server Implementation milestone plan section #8014

Closed
HAL9000 wants to merge 1 commit from spec/architecture-v380-milestone-plan into master
Owner

Summary

The spec's ## Milestone Plan section ended at ### v3.7.0. The server architecture is extensively documented (ADR-047, ADR-048, ## Server and Client Architecture section — ~15,000 characters), but the milestone delivery format — deliverables table, architectural constraints, and definition of done — was absent for v3.8.0.

This PR adds the missing ### v3.8.0 — Server Implementation milestone plan section, following the exact same structure used for v3.2.0–v3.7.0.

Changes

New: ### v3.8.0 — Server Implementation section

  • 20 verifiable deliverables covering:

    • A2A JSON-RPC 2.0 endpoint (standard methods + _cleveragents/ extensions)
    • Entity sync (_cleveragents/sync/*)
    • A2A stdio transport (local mode) and HTTP transport (server mode)
    • TransportSelector client-side routing
    • LangGraph Platform RemoteGraph actor execution
    • PostgreSQL backend with Alembic migrations
    • Server-specific schema tables (team, namespace, API token, sync log)
    • Authentication (Bearer token / API key)
    • Authorization (namespace-scoped RBAC)
    • Multi-user namespace isolation
    • Agent Card at /.well-known/agent.json
    • Multi-turn client callbacks (streaming)
    • Docker image build and run
    • Kubernetes Helm chart deployment
    • HTTPS enforcement
    • Test coverage ≥ 97%
  • 7 key architectural constraints (non-negotiable):

    • A2A exclusivity (no REST, no GraphQL — ADR-047)
    • Layer sharing (Domain + Application identical between client and server)
    • PostgreSQL only (no SQLite on server)
    • RemoteGraph actors (no in-process LangGraph on server)
    • Namespace isolation (enforced at authorization layer)
    • HTTPS required in production
    • No client-side server code (clean separation via TransportSelector)
  • Definition of Done: end-to-end server test, Docker/Helm deployment verification, security integration tests (no mocking of auth layer)

Updated: Milestone Plan header

  • Coverage line updated: through v3.7.0through v3.8.0 — the production-ready target
  • Status snapshot date refreshed: 2026-04-082026-04-12
  • Milestone status block: v3.7.0 counts refreshed; v3.8.0 line added (🔄 IN PROGRESS — Server Implementation (357 open / 132 closed))

Rationale

The v3.8.0 Forgejo milestone (#131) has 357 open issues and 132 closed issues — it is actively being worked on. Without a spec milestone plan section, implementers lack:

  • A canonical list of what "done" means for v3.8.0
  • Verifiable checks they can write tests against
  • Architectural constraints that constrain their implementation choices

The server architecture itself is already fully specified (ADR-047, ADR-048, ## Server and Client Architecture). This PR adds only the milestone delivery format — no new architectural decisions are introduced.

Alternatives Considered

  1. Leave as-is — Rejected. The Forgejo milestone description covers acceptance criteria, but it is not in the spec's canonical format and lacks the architectural constraints section that implementers rely on.
  2. Add a new ADR — Rejected. No new architectural decisions are being made; this is purely a milestone plan entry for already-decided architecture.
  3. Add v3.9.0 as well — Rejected. v3.9.0 is intentionally a documentation/housekeeping milestone with no new features requiring spec entries.

Open Questions

  1. Cloud resource types: v3.6.0 stubs cloud resource types (cloud-*) with NotImplementedError, deferring to v3.8.0+. Should deliverable #21 be added for cloud SDK integration, or should this remain deferred to a future milestone?
  2. LangGraph Platform dependency: Is LangGraph Platform a hard requirement for v3.8.0, or should the spec allow an alternative RemoteGraph backend? Currently specified as a hard requirement per ADR-048.
  3. Redis: The deployment section mentions Redis as optional. Should the Helm chart deliverable explicitly call out Redis as optional vs. required?

Impact

  • No code changes — spec only
  • No breaking changes — additive only
  • Downstream agents: product-builder and implementers will gain a canonical v3.8.0 definition of done

Created by: CleverAgents Architecture Supervisor (AUTO-ARCH)
Tracking Issue: #7983
Change Scope: Major (new milestone plan section for active milestone)

## Summary The spec's `## Milestone Plan` section ended at `### v3.7.0`. The server architecture is extensively documented (ADR-047, ADR-048, `## Server and Client Architecture` section — ~15,000 characters), but the **milestone delivery format** — deliverables table, architectural constraints, and definition of done — was absent for v3.8.0. This PR adds the missing `### v3.8.0 — Server Implementation` milestone plan section, following the exact same structure used for v3.2.0–v3.7.0. ## Changes ### New: `### v3.8.0 — Server Implementation` section - **20 verifiable deliverables** covering: - A2A JSON-RPC 2.0 endpoint (standard methods + `_cleveragents/` extensions) - Entity sync (`_cleveragents/sync/*`) - A2A stdio transport (local mode) and HTTP transport (server mode) - `TransportSelector` client-side routing - LangGraph Platform RemoteGraph actor execution - PostgreSQL backend with Alembic migrations - Server-specific schema tables (team, namespace, API token, sync log) - Authentication (Bearer token / API key) - Authorization (namespace-scoped RBAC) - Multi-user namespace isolation - Agent Card at `/.well-known/agent.json` - Multi-turn client callbacks (streaming) - Docker image build and run - Kubernetes Helm chart deployment - HTTPS enforcement - Test coverage ≥ 97% - **7 key architectural constraints** (non-negotiable): - A2A exclusivity (no REST, no GraphQL — ADR-047) - Layer sharing (Domain + Application identical between client and server) - PostgreSQL only (no SQLite on server) - RemoteGraph actors (no in-process LangGraph on server) - Namespace isolation (enforced at authorization layer) - HTTPS required in production - No client-side server code (clean separation via `TransportSelector`) - **Definition of Done**: end-to-end server test, Docker/Helm deployment verification, security integration tests (no mocking of auth layer) ### Updated: Milestone Plan header - Coverage line updated: `through v3.7.0` → `through v3.8.0 — the production-ready target` - Status snapshot date refreshed: `2026-04-08` → `2026-04-12` - Milestone status block: v3.7.0 counts refreshed; v3.8.0 line added (`🔄 IN PROGRESS — Server Implementation (357 open / 132 closed)`) ## Rationale The v3.8.0 Forgejo milestone (#131) has 357 open issues and 132 closed issues — it is actively being worked on. Without a spec milestone plan section, implementers lack: - A canonical list of what "done" means for v3.8.0 - Verifiable checks they can write tests against - Architectural constraints that constrain their implementation choices The server architecture itself is already fully specified (ADR-047, ADR-048, `## Server and Client Architecture`). This PR adds only the **milestone delivery format** — no new architectural decisions are introduced. ## Alternatives Considered 1. **Leave as-is** — Rejected. The Forgejo milestone description covers acceptance criteria, but it is not in the spec's canonical format and lacks the architectural constraints section that implementers rely on. 2. **Add a new ADR** — Rejected. No new architectural decisions are being made; this is purely a milestone plan entry for already-decided architecture. 3. **Add v3.9.0 as well** — Rejected. v3.9.0 is intentionally a documentation/housekeeping milestone with no new features requiring spec entries. ## Open Questions 1. **Cloud resource types**: v3.6.0 stubs cloud resource types (`cloud-*`) with `NotImplementedError`, deferring to v3.8.0+. Should deliverable #21 be added for cloud SDK integration, or should this remain deferred to a future milestone? 2. **LangGraph Platform dependency**: Is LangGraph Platform a hard requirement for v3.8.0, or should the spec allow an alternative RemoteGraph backend? Currently specified as a hard requirement per ADR-048. 3. **Redis**: The deployment section mentions Redis as optional. Should the Helm chart deliverable explicitly call out Redis as optional vs. required? ## Impact - **No code changes** — spec only - **No breaking changes** — additive only - **Downstream agents**: product-builder and implementers will gain a canonical v3.8.0 definition of done --- **Created by**: CleverAgents Architecture Supervisor (AUTO-ARCH) **Tracking Issue**: #7983 **Change Scope**: Major (new milestone plan section for active milestone)
docs(spec): add v3.8.0 Server Implementation milestone plan section
All checks were successful
CI / push-validation (pull_request) Successful in 19s
CI / build (pull_request) Successful in 22s
CI / helm (pull_request) Successful in 25s
CI / quality (pull_request) Successful in 34s
CI / typecheck (pull_request) Successful in 55s
CI / lint (pull_request) Successful in 3m20s
CI / security (pull_request) Successful in 4m6s
CI / e2e_tests (pull_request) Successful in 4m13s
CI / integration_tests (pull_request) Successful in 4m25s
CI / unit_tests (pull_request) Successful in 9m22s
CI / docker (pull_request) Successful in 10s
CI / coverage (pull_request) Successful in 10m43s
CI / status-check (pull_request) Successful in 2s
CI / benchmark-publish (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Successful in 57m16s
6142c47ed3
The spec's Milestone Plan section ended at v3.7.0. The server architecture
is fully documented (ADR-047, ADR-048, Server and Client Architecture section)
but the milestone delivery format — deliverables table, architectural
constraints, and definition of done — was absent.

This commit adds the `### v3.8.0 — Server Implementation` section following
the same structure as v3.2.0–v3.7.0, covering:
- 20 verifiable deliverables (A2A endpoint, extension methods, transports,
  LangGraph Platform RemoteGraph, PostgreSQL, auth/authz, Docker/Helm)
- Key architectural constraints (A2A exclusivity, layer sharing, PostgreSQL
  only, RemoteGraph actors, namespace isolation, HTTPS required)
- Definition of done (end-to-end server test, Docker/Helm deployment,
  security integration tests)

Also updates the milestone plan header to reflect v3.8.0 coverage and
refreshes the milestone status snapshot to 2026-04-12 counts.
Author
Owner

AUTO-ARCH Cycle 1 — Closing as Superseded

This PR (#8014) is a duplicate of PR #7701, which was created by an earlier AUTO-ARCH session and covers the same v3.8.0 milestone plan section.

Status of PR #7701:

  • Created: 2026-04-11
  • Reviewed: Two COMMENT reviews by pr-reviewer (self-review platform restriction noted)
  • Metadata: Type/Task label applied, v3.8.0 milestone assigned
  • Reviewer assessment: "WOULD APPROVE — All Clear " — all acceptance criteria met
  • Awaiting: Formal APPROVED event from a second reviewer (different account)

Why this PR should be closed:

  • PR #7701 covers the same gap (v3.8.0 milestone plan section missing from spec)
  • PR #7701 has been reviewed and is ready for approval
  • Having two competing PRs for the same spec section creates confusion and merge conflicts
  • PR #8014 was created by a new AUTO-ARCH session that did not detect the existing PR #7701

Recommendation:

  • Close this PR (#8014) as superseded by #7701
  • Merge PR #7701 once a human reviewer provides formal approval

Closing this PR now.


Automated by CleverAgents Bot
Supervisor: Architecture | Agent: architecture-pool-supervisor

## AUTO-ARCH Cycle 1 — Closing as Superseded This PR (#8014) is a **duplicate** of PR #7701, which was created by an earlier AUTO-ARCH session and covers the same v3.8.0 milestone plan section. **Status of PR #7701:** - Created: 2026-04-11 - Reviewed: Two COMMENT reviews by pr-reviewer (self-review platform restriction noted) - Metadata: `Type/Task` label applied, v3.8.0 milestone assigned - Reviewer assessment: "WOULD APPROVE — All Clear ✅" — all acceptance criteria met - Awaiting: Formal APPROVED event from a second reviewer (different account) **Why this PR should be closed:** - PR #7701 covers the same gap (v3.8.0 milestone plan section missing from spec) - PR #7701 has been reviewed and is ready for approval - Having two competing PRs for the same spec section creates confusion and merge conflicts - PR #8014 was created by a new AUTO-ARCH session that did not detect the existing PR #7701 **Recommendation:** - Close this PR (#8014) as superseded by #7701 - Merge PR #7701 once a human reviewer provides formal approval Closing this PR now. --- **Automated by CleverAgents Bot** Supervisor: Architecture | Agent: architecture-pool-supervisor
HAL9000 closed this pull request 2026-04-13 00:24:58 +00:00
All checks were successful
CI / push-validation (pull_request) Successful in 19s
CI / build (pull_request) Successful in 22s
Required
Details
CI / helm (pull_request) Successful in 25s
CI / quality (pull_request) Successful in 34s
Required
Details
CI / typecheck (pull_request) Successful in 55s
Required
Details
CI / lint (pull_request) Successful in 3m20s
Required
Details
CI / security (pull_request) Successful in 4m6s
Required
Details
CI / e2e_tests (pull_request) Successful in 4m13s
CI / integration_tests (pull_request) Successful in 4m25s
Required
Details
CI / unit_tests (pull_request) Successful in 9m22s
Required
Details
CI / docker (pull_request) Successful in 10s
Required
Details
CI / coverage (pull_request) Successful in 10m43s
Required
Details
CI / status-check (pull_request) Successful in 2s
CI / benchmark-publish (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Successful in 57m16s

Pull request closed

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.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core!8014
No description provided.