Files
LWLT-AIBOT/.project-docs/30-worklog/tasks/20260911-arrangement-instruction-docs-01a0858b.md
T
2026-09-14 12:47:15 +08:00

24 lines
3.0 KiB
Markdown

# Clarify arrangement update instructions
## Scope and gate
- Feature continuation on `main`, worktree `/Users/andy/IdeaProjects/LWLT-AIBOT`, base `e06afc8c33b27bd9150dbe67e97772ab2420c8db`; one worktree. Source is clean; existing untracked .idea and extension 0.5.177 ZIP are preserved. No overlapping activity visible. Overlap: Clear.
- User accepted the preceding review and requests fixing the instruction document: five complete templates, explicit original-date selectors and optional replacement filters, legacy hotel syntax separated from current guidance.
- Main-thread work only per user constraints. No changes to ERP execution behavior, no production operations, no external sending. Feature writes stay in this task record; canonical memory remains unchanged.
## Plan
1. Rewrite section 16 and clarify the global date rule, retaining legacy hotel syntax only in a separate compatibility note.
2. Adapt the existing catalog tests to verify five template/example pairs against actual Program routes, required/optional fields and date semantics.
3. Rebuild/version the DOCX with Documents skill, inspect every page, synchronize release metadata and archive the prior DOCX with its manifest.
## Validation and result
- Completed: section 16 has five complete marked template/example pairs. Required and optional fields, original-date selectors, replacement filters and unique original-record selection are explicit. Legacy hotel syntax is isolated with its date-mutation and default-first-row limitations.
- Delivery DOCX/input-contract metadata: 0.5.132. Parser remains v1.0.11 and plugin remains 0.5.177; no execution behavior or migration changed. Prior DOCX 0.5.131 plus manifest archived with exact hashes.
- Existing catalog tests adapted and passed 16/16. Direct Program parser validation: 33 checks across five directives, including filled templates, concrete examples, optional omissions, required-field omissions and date-selector assertions.
- `node --run check`, `node --run test:control-plane` (223/223) and `node --run build`: PASS. Original `check:repo` is 8/10 and `test:legacy` is 311/313, with only the existing `.idea` and `.DS_Store` hygiene failures. A 2574-file SHA-256 verified source copy passes `check:repo` 10/10 and `test:legacy` 313/313. Existing user files preserved.
- Documents render gate: 16/16 pages opened and inspected; PASS for Chinese glyphs, complete code blocks, headings and layout. Only document.xml and core.xml differ from retained template; styles, margins and other package parts preserved.
- Main-thread final read-only review: PASS. Scope and release hashes verified; no subagents, real ERP writes, deployment, restart or external sending.
- Evidence: [validation record](../../../archive/evidence/2026-09-11/20260911-arrangement-instruction-docs-01a0858b/README.md).
## Promotion candidates
- Operator instructions use five explicit arrangement-update directives; legacy generic hotel update is documented separately because it can modify the departure date and defaults to the first hotel row.