Skip to content

docs: fix 18 doc-code gaps, convert all diagrams to Mermaid - #21

Merged
Zhoujie628 merged 1 commit into
project-openan:mainfrom
Zhoujie628:main
Aug 17, 2026
Merged

Zhoujie628 merged 1 commit into
project-openan:mainfrom
Zhoujie628:main

Conversation

@Zhoujie628

Copy link
Copy Markdown
Contributor

Summary

Deep analysis of the Java execution engine repository identified 18 gaps between documentation and actual code implementation. This PR fixes all of them and converts every ASCII art diagram to Mermaid.

HIGH Priority Fixes

# Gap Fix
1 README listed LlmHelper under client package — actually in samples module Moved to samples, added note
2 core package (WorkflowExecutor, ContextBuilder) missing from API_REFERENCE and README Added package overview, section, and README table
3 API_REFERENCE + DEVELOPER_GUIDE listed 20 EventType constants — code has 22 Added TASK_STATUS_CHANGED and WORKFLOW_COMPLETE
4 CHANGELOG v1.0.0 referenced ExtensionCallback that no longer exists Replaced with ExtensionSender
5 pom.xml SCM URL pointed to personal fork Fixed to project-openan/workflow-engine-sdk-java

MEDIUM Priority Fixes

  • DESIGN.md duplicate Section 4 + missing Section 8 → fixed
  • DEVELOPER_GUIDE checklist inconsistency (3→2 required methods) → fixed
  • ConversationScopedA2AJavaClientRuntime, TaskStatus, AgentCardJacksonModule/Normalizer → added to API_REFERENCE
  • spring-boot-starter module (3 classes) → full documentation added
  • notification-t-design-analysis.md → 5 broken Mermaid blocks fixed, stale paths corrected
  • DEVELOPER_GUIDE section 7.2 → broken code formatting fixed

LOW Priority Fixes

  • README missing 4 Chinese doc links → added
  • DESIGN.md asyncio.gather (Python) → CompletableFuture (Java)
  • README + DESIGN architecture layer descriptions → aligned

Mermaid Conversion

All ASCII art diagrams converted to mermaid format:

  • README.md (architecture + package structure)
  • docs/zh/DESIGN.md (layered architecture)
  • docs/zh/工作台AgentScope结合方案.md (architecture flow)

Files Changed (12 files, +393/-102)

pom.xml, CHANGELOG.md, README.md, docs/en/{API_REFERENCE,DESIGN,DEVELOPER_GUIDE,notification-t-design-analysis}.md, docs/zh/{API_REFERENCE,DESIGN,DEVELOPER_GUIDE,notification-t-design-analysis,工作台AgentScope结合方案}.md

Verification

  • mvn compile BUILD SUCCESS
  • mvn test 10/10 tests pass

Closes #20

Fix documentation-vs-code gaps identified in deep analysis:

HIGH:
- README: move LlmHelper to samples module (was listed under client)
- API_REFERENCE (en+zh): add missing core package section
- API_REFERENCE + DEVELOPER_GUIDE (en+zh): add TASK_STATUS_CHANGED and
  WORKFLOW_COMPLETE EventType constants (code has 22, docs had 20)
- CHANGELOG: replace stale ExtensionCallback reference with ExtensionSender
- pom.xml: fix SCM URL from personal fork to project-openan upstream

MEDIUM:
- DESIGN (en+zh): remove duplicate Section 4, fix numbering 7->8->9
- DEVELOPER_GUIDE (en+zh): fix checklist (3 required -> 2 required + 2 defaults)
- DEVELOPER_GUIDE (en+zh): fix broken code formatting in AuthProvider section
- API_REFERENCE (en+zh): add ConversationScopedA2AJavaClientRuntime
- API_REFERENCE (en+zh): add TaskStatus enum (PENDING/RUNNING/SUCCESS/FAILED)
- API_REFERENCE (en+zh): add AgentCardJacksonModule and AgentCardNormalizer
- API_REFERENCE (en+zh): add spring-boot-starter module documentation
- notification-t-design-analysis (en+zh): fix 5 broken Mermaid blocks,
  fix stale file paths

LOW:
- README: add missing Chinese doc links
- DESIGN: replace asyncio.gather (Python) with CompletableFuture (Java)
- README + DESIGN: align architecture layer descriptions (add Foundation layer)

Diagrams:
- Convert all ASCII art diagrams to Mermaid format across:
  README.md, docs/zh/DESIGN.md, docs/zh/工作台AgentScope结合方案.md

Signed-off-by: Zhoujie628 <zhoujie628@users.noreply.github.com>
@Zhoujie628
Zhoujie628 requested a review from a team as a code owner August 17, 2026 09:07
@Zhoujie628
Zhoujie628 merged commit 0f268ed into project-openan:main Aug 17, 2026
3 checks passed
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: fix 18 doc-code gaps, convert all diagrams to Mermaid

1 participant