From b84db8983d63a9a981083ebce1a139860c6bdf25 Mon Sep 17 00:00:00 2001
From: chunhualin1 <chunhualin1@lenovo.com>
Date: 星期五, 14 八月 2026 15:35:21 +0800
Subject: [PATCH] commit

---
 .ai/workflows/dev-workflow.md |   40 +++++++++++++++++++++++++++++++++++-----
 1 files changed, 35 insertions(+), 5 deletions(-)

diff --git a/.ai/workflows/dev-workflow.md b/.ai/workflows/dev-workflow.md
index be4f7f3..1196650 100644
--- a/.ai/workflows/dev-workflow.md
+++ b/.ai/workflows/dev-workflow.md
@@ -15,16 +15,19 @@
   Product["Product\nproduct-agent + prd-skill"]
   Architect["Architect\narchitect-agent + arch-skill + plugin-skill"]
   Dev["Dev\ndev-agent + codegen-skill + plugin-skill + debug-skill"]
+  Docs["Manual Update\ndev-agent + product-agent"]
   QA["QA\nqa-agent + test-skill + debug-skill"]
   Review["Review\nall agents"]
 
   Product --> Architect
   Architect --> Dev
-  Dev --> QA
+  Dev --> Docs
+  Docs --> QA
   QA --> Review
   Review --> Product
   Review --> Architect
   Review --> Dev
+  Review --> Docs
 ```
 
 ## steps
@@ -44,6 +47,7 @@
   - PRD
   - user stories
   - acceptance criteria
+  - user manual impact scope when the change affects user-visible flows
   - open questions
 - next:
   - send PRD to `architect-agent`
@@ -84,9 +88,28 @@
   - local verification results
   - implementation notes
 - next:
-  - send completed implementation and verification notes to `qa-agent`
+  - send completed implementation and verification notes to Manual Update
 
-### 4. QA
+### 4. Manual Update
+
+- agent:
+  - `dev-agent` for implementation-aligned operation steps
+  - `product-agent` when the wording, user scenario, or product boundary needs clarification
+- skills:
+  - `plugin-skill` when updating plugin operation docs
+  - `prd-skill` when user-facing behavior or positioning needs product confirmation
+- input:
+  - completed code, configuration, script, or plugin changes from `dev-agent`
+  - PRD acceptance criteria and user scenarios from `product-agent`
+  - existing user manual files under `docs/product/user-manual.md` and `docs/product/user-manual/`
+- output:
+  - updated user operation manual for new or changed functionality
+  - updated plugin operation manual when plugin behavior, configuration, startup, interaction, or troubleshooting changes
+  - documentation notes covering unchanged-manual decisions when no user-facing behavior changed
+- next:
+  - send implementation notes, verification notes, and manual changes to `qa-agent`
+
+### 5. QA
 
 - agent: `qa-agent`
 - skills:
@@ -96,18 +119,21 @@
   - PRD acceptance criteria
   - architecture risk points
   - Dev Agent implementation notes
+  - user operation manual changes or unchanged-manual rationale
   - changed files and build output
 - output:
   - test plan
   - test cases
   - defect report
   - regression result
+  - manual consistency result
   - release recommendation
 - next:
   - send pass or fail result to Review
   - route defects back to `dev-agent`
+  - route missing or inaccurate operation manual content back to Manual Update
 
-### 5. Review
+### 6. Review
 
 - agent:
   - `product-agent`
@@ -126,6 +152,7 @@
   - PRD
   - architecture design
   - implementation summary
+  - user operation manual changes
   - test results
   - known risks
 - output:
@@ -139,6 +166,8 @@
 - If the requirement is unclear, return to `product-agent`.
 - If module boundaries, runtime model, or technical risks change, return to `architect-agent`.
 - If implementation fails or defects are confirmed, return to `dev-agent`.
+- If a completed feature or plugin change affects user-visible operation, configuration, startup, interaction, troubleshooting, or known limitations, update the operation manual before QA.
+- If manual content is missing, outdated, or inconsistent with actual behavior, return to Manual Update.
 - If persistence schema, migration, default values, or compatibility is involved, call `dba-agent`.
 - If release confidence is low, return to `qa-agent` for expanded verification.
 
@@ -153,10 +182,11 @@
 
 ## Development Output
 
+## Manual Update Output
+
 ## QA Output
 
 ## Review Decision
 
 ## Follow Up Tasks
 ```
-

--
Gitblit v1.9.1