Align versions first, then run the five stages
This runbook answers four questions: where the file goes, which action to run, what to check, and where to return when it fails. A tool status is never technical approval.
Start here: the four matches
- Project root is not the
mapsfolder. - The authoritative map resolves every topic reference.
- The review Word comes from this map, not a lookalike.
- Old maps, old Word files and old outputs are out of the automatic path.
00–05: what to do and what “done” means
01 Convert the Word draft
Folder 01_ProduceSampleDITA. Keep only this round's draft; select explicitly when several exist. Complex tables, formulas and unknown styles go to human review. Done when structure parses, references resolve and every manual-review item has a conclusion — not when the converter exits with 0.
02 Generate the review Word
Folder 02_DITAtoDocsforReview. Choose the authoritative map and standard (A) or corporate (B) appearance; stop if a required B path is missing. Open the output: cover, header/footer, TOC, images and body must be intact. Update TOC with Ctrl+A → F9 if page numbers show 0. Record map, source version, time and file fingerprint. File names are not version evidence.
03 Review and write back
Folder 03_DocsReviewed. Reviewers copy the same version, name it *_REVIEWED.docx, replace whole paragraphs rather than half sentences, and use comments for captions, figure numbers, table numbers and list numbering. AI extracts the comments and syncs them into a working copy without overwriting the source. Done when real review evidence exists, at least one change was written back (not just a report), and no unresolved change or blocking comment remains.
04 Read the result
Folder 04_MergeReviewedSampleDITA. Read the latest result and change list; judge pass or rework. Stage 04 never merges automatically and never creates a new version. Reading a result is not the same as passing.
05 Pending approval
Folder 05_PublishDocsforApproval. Confirm the output belongs to the latest valid run, contains the new wording, and keeps layout and images intact. “Pending approval” is not a signature and not a release.
Human approval and release
A person signs; the documentation team commits and tags the release. Tools never sign and never create approval records.
When it fails: retry here or go back?
| Failure | Symptom | Retry in place? | Go back to | Owner |
|---|---|---|---|---|
| Half-sentence edits | Partial word changes, several separate edits | Yes | 03: replace the whole paragraph again | Reviewer |
| Whole-paragraph edit still fails | Word splits the inserted text into fragments; match fails or is ambiguous | No — the cause is Word revision structure, not the reviewer | 02: rebuild the review Word; merge fragments if needed | Doc engineering + tooling |
| Auto numbering / figure numbers | Deleting a pure number, caption or list number | No — it is not source text | 03: use a comment; fix at source or theme level | Reviewer + doc engineering |
| Empty review | 0 changes, 0 comments, yet status says ready | No — nothing to sync | 03: ask for a real review on the right version | Reviewer + doc lead |
Beyond tool status: real evidence
| Check | Question | Evidence |
|---|---|---|
| Authenticity | Who commented on which file and when? | Real tracked changes/comments, author, time, file fingerprint |
| Consistency | Do Word, map, topic tree, source and run belong together? | Preflight record, target list, latest run ID |
| Sync | Were comments actually written back? | At least one change written back; zero unresolved; non-empty change list |
| Completeness | Does the candidate contain the right changes and intact layout? | Old/new text check, XML/link validation, Word open and appearance check |
| Approval | Who approved which version and where is the release point? | Approver, time, version, signature record, Git commit/tag |
Word appearance: A or B
A — standard Word: recommended for first use; no corporate template required, but the build program and Java paths must be valid. B — corporate template: requires theme folder, template, style files, build program and Java; missing items stop the run — never substitute a similar template. In both cases open the real output and record its fingerprint.
Risk controls
| Risk | Control |
|---|---|
| Wrong map or Word | Align versions; keep one authoritative map; move old files out of the path |
| Auto numbering cannot be written back | Use comments; fix at source/theme level |
| Empty review marked ready | Require real review evidence before stage 04 |
| Manual exception presented as a clean loop | Keep the blocked state; record authorisation, independent review and candidate source |
| Old output taken as new | Check time, fingerprint, build log and body content |
| Environment or path failures | Run preflight on every new machine; do not hand-build commands |
Troubleshooting
| Symptom | Check first | Next step |
|---|---|---|
| Stage not recognised | File inside a stage folder? Project root not maps? | Open the project file and the stage file, then run the stage |
| Word or map not found | Wrong folder, duplicates, stale path | Keep one input; fix the path; record the change |
| No changes or comments | Is this the clean review copy or a release file? | Ask for a real review; never fabricate comments |
| Source text cannot be located | Same version? Source already edited? Half sentences or generated text? | Wrong version → 02; edit style → 03; never edit the source first and re-sync the old file |
| Match is ambiguous | Pure numbers, figure or list numbering | Use comments; fix at source/theme; rebuild |
| Comment unresolved | Empty anchor, table, reused content | Human confirmation and record; do not proceed as a clean pass |
| No valid result in 04/05 | Was 03 blocked, empty, or was an old run read? | Return to 03; never edit the state file |
| Word says “content problem” | Opening an intermediate file, or XML error | Fix the source and rebuild through stage 02 |
Acceptance checklist
- Review Word opens; body complete; cover, header, TOC and images correct.
- Real reviewer, real changes/comments, review time and file fingerprint exist.
- Latest run matches the current Word, authoritative map and source version.
- At least one change written back; unresolved items zero; change list reviewable.
- 04 records pass or rework explicitly; 05 stays “pending approval”.
- Approval has a person, time and version; release has a Git commit/tag.
- Manual exceptions keep the blocked state, authorisation, independent review and candidate source.