Skip to content

docs: add software module view to the design guide - #44

Merged
Zhoujie628 merged 4 commits into
project-openan:mainfrom
Zhoujie628:main
Sep 4, 2026
Merged

Zhoujie628 merged 4 commits into
project-openan:mainfrom
Zhoujie628:main

Conversation

@Zhoujie628

Copy link
Copy Markdown
Contributor

Closes #43

Summary

Adds a software module view to chapter 3 of the design guide (Chinese and English, aligned), directly after the existing four-layer diagram. The view covers:

  • Host agent: northbound intake, workflow selection, the four business callbacks, and host-side content generation via a2a-t-client.
  • Scheduling kernel: WorkflowExecutor, ContextBuilder, failure/result adaptation, the ControlPoint contract, and the model layer - annotated as zero-A2A-T dependency, guarded by ContentDependencyBoundaryTest.
  • Client adaptation layer: the two single-responsibility facades (workflow dispatch / independent authorization and notification channels) over the shared A2ATransport base, wire-level observation, registry clients, and the thin A2A-T conversion helpers (the only a2a-t-core reference site inside the engine).
  • Optional spring-boot-starter: server-side assembly only.
  • External SDKs (a2a-java-sdk, a2a-t-core) and external systems (orchestration center, registry center).

Verification

Documentation only; mermaid renders and all stated boundaries match the architecture tests and package imports.

Expand the chapter-3 layer diagram into a module view covering Maven modules, package responsibilities, and dependency boundaries: host callbacks, the zero-A2A-T scheduling kernel guarded by the architecture test, the client adaptation layer as the only a2a-t-core reference site, the optional starter server assembly, and external SDKs and systems.

Signed-off-by: Zhoujie628 <zhoujie628@users.noreply.github.com>
@Zhoujie628
Zhoujie628 requested a review from a team as a code owner September 4, 2026 06:11
Drop the starter from the module view per review: the diagram now highlights the engine's relationships top-down - host agent (starts the engine and implements the callbacks), the scheduling kernel and protocol adaptation inside the engine, the two SDK layers (a2a-java-sdk transports, a2a-t-sdk types), and the external systems: orchestration center, registry center, and dispatched agents (OMC) with the four A2A-T interaction types.

Signed-off-by: Zhoujie628 <zhoujie628@users.noreply.github.com>
The edge label 'late-result interception' mixed a relationship with an implementation guard. The edge now states only 'task dispatch'; the guarantee is stated precisely in prose: a result completing after the callback budget expires or the run is cancelled is ignored and never sent.

Signed-off-by: Zhoujie628 <zhoujie628@users.noreply.github.com>
The transport base now detects the standard A2A error envelope, so the
module view gains that responsibility on the transport node, the key
properties state the pre-creation / post-creation failure split (stable
a2a.<reason> error codes versus HTTP 200 with TASK_STATE_FAILED), and
the design-decisions summary records the same distinction. Chinese and
English versions updated symmetrically.

Signed-off-by: Zhoujie628 <zhoujie628@users.noreply.github.com>
@Zhoujie628
Zhoujie628 merged commit dbaa8d3 into project-openan:main Sep 4, 2026
3 checks passed
Zhoujie628 added a commit to Zhoujie628/workflow-engine-sdk-java that referenced this pull request Sep 4, 2026
Bring over the software module view and its refinements from PR project-openan#44,
including the standard-error-contract alignment, and resolve the
chapter-2 surrounding-systems diagram drift that predates the module
view. Chinese and English versions are now byte-identical to main.

Signed-off-by: Zhoujie628 <zhoujie628@users.noreply.github.com>
Zhoujie628 added a commit to Zhoujie628/workflow-engine-sdk-java that referenced this pull request Sep 4, 2026
Bring dev up to the merged main baseline (error-envelope PR project-openan#46 and the
module-view docs PR project-openan#44) while preserving the Eastcom Order overlay.
Resolution policy: workflow-engine and spring-boot-starter take main
verbatim; samples and root files keep main's newer common content plus
dev's Eastcom additions (gateway runtime factory, order transport mode,
mock gateway, Eastcom CI gate and docs); parallel-evolved tests take
main's canonical versions.

Signed-off-by: Zhoujie628 <zhoujie628@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: add software module view to the design guide

1 participant