Files
LWLT-AIBOT/.project-docs/30-worklog/tasks/20260909-business-instruction-batch-child-7e3c1a94.md
T

4.6 KiB

Task: Update business instruction table for batch shared-child creation

Identity

  • Task ID: 20260909-business-instruction-batch-child-7e3c1a94
  • Mode: Integration
  • Branch: main
  • Worktree: /Users/inmanx/Documents/lwltAPI
  • Base commit: 75b9f2ede9
  • Owner: codex
  • Status: Completed

Scope

  • Add the integrated Program-only 散拼团多个新增子单 route to the canonical operations input template.
  • Bump the business-input contract and DOCX delivery version without changing any Skill or external-Agent route.
  • Rebuild the versioned DOCX, synchronize the release manifest and README, visually inspect every rendered page, and place the verified current copy on the user's Desktop.
  • Commit the verified release and push main to origin/main without force after confirming the remote remains at the selected base.

Worktree Safety

  • Existing changes in this worktree: none.
  • Relevant concurrent worktree: /Users/inmanx/Documents/lwltAPI-shared-child-batch-create-4e7c2a91, clean and already integrated into main.
  • Overlap result: Clear.

Constraints

  • Preserve shared_child_order_batch_create as Program-only.
  • Do not add it to the Agent prompt, external-Agent directive registry, or any Skill package.
  • Keep the Markdown template as the sole editable source and generate the DOCX only through tools/build_business_instruction_docx.py.
  • Use bundled workspace dependencies and complete render-to-PNG inspection before delivery.

Outcome

  • Advanced the canonical operator input catalog and generated DOCX from 0.5.126/18 items to 0.5.127/19 items.
  • Added section 5, 散拼团多个新增子单, with a directly copyable template and example while preserving shared_child_order_batch_create as Program-only and absent from the external Agent prompt, Agent/Skill registry table, and all Skill packages.
  • Synchronized the route contract constant, repository documentation, release gate, README, regression expectations, and dist/release-manifest.json.
  • Corrected the canonical architecture snapshot so it distinguishes the unchanged five Skills at 0.5.126 from the operator instruction DOCX at 0.5.127.
  • Archived the former 0.5.126 DOCX and its exact release-manifest snapshot under archive/releases/2026-09-09/, generated dist/老挝联泰AI指令表-0.5.127.docx, and copied the verified artifact to the user's Desktop. The superseded Desktop copy was moved to Trash and remains recoverable.
  • Pushed the verified 0.5.127 release commit to origin/main without force.

Verification

  • Rebuilt the DOCX from agent设计规范/templates/business-input-templates.md with the governed builder and bundled workspace dependencies.
  • Rendered the final DOCX to 13 PNG pages with the bundled LibreOffice/Poppler stack and configured Chinese fonts; visually inspected every page with no clipping, missing glyphs, orphaned explanatory text, or broken hierarchy.
  • Parsed the DOCX package to confirm all operation headings 1 through 19, the new template/example fields, version/scope text, and absence of unresolved document tokens.
  • Verified source SHA-256 652af8ef645ae56af2dd9990f74b8078de230cb9b87acd13c289d1f4dae0738a, builder SHA-256 c162884210da22e3b78368749b66f1f177df5e9fc6155f4fd9954bd516d187f1, and DOCX SHA-256 e1b8ae5a98d550ab0785692a01cf1c87b99e4edfaea39e4edbbab7341e585f29; the Desktop copy is byte-identical to dist.
  • node --test tools/business-input-templates.test.mjs — 16/16 passed.
  • node --run check:repo — 10/10 passed.
  • node --run check — passed.
  • node --run test:control-plane — 183/183 passed.
  • node --run test:legacy — 278/278 passed.
  • node --run build — passed.
  • A fresh release-push gate reran all required checks. The initial repository-hygiene pass found only two generated .DS_Store files; both were moved out of the repository, after which node --run check:repo passed 10/10 and node --run test:legacy passed 278/278.
  • git diff --check — passed after the final project-memory edits.
  • The release push advanced origin/main from 75b9f2ede991c3f8d37465f80d4856f771e54051 to c97bea3239a341f2b47647c92b9b4735b1c9f3ee without force. A fresh fetch and git ls-remote origin refs/heads/main both returned that exact release commit before this closing task-record commit.

Follow-ups

  • No documentation follow-up is required. Deployment, extension reload, route grants, and live ERP writes remain separate explicitly authorized runtime work.

Promotion Candidates

  • Promote the operator input catalog/DOCX 0.5.127 and its 19-item scope into the integrated current-state snapshot; no Agent/Skill behavior changes are promoted.