Files
one-pipe-system/CONTEXT.md
break 0c3065f970
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 7m52s
让凭证数组与套餐作废任务进入可联调状态
Constraint: 后端订单套餐作废接口使用 /api/admin/order-package-invalidate-tasks,上传
  purpose 只能使用 attachment。
  Rejected: 继续提交逗号拼接凭证字符串 | 新提交路径必须使用 string[],历史字符串只做读取归一化。
  Confidence: high
  Scope-risk: broad
  Directive: 新增订单套餐作废权限时需同时配置菜单 URL 与
  order_package_invalidate_task:create/detail 按钮权限。
  Tested: bun run build;development 真实后端联调上传、创建、列表、详情通过;复机接口未触发。
  Not-tested: 未逐一手工覆盖所有历史凭证数据、全部角色权限组合和所有文件扩展名预览
2026-06-23 09:50:12 +08:00

1.4 KiB

One Pipe System

This context captures the business language used by the admin system for orders, assets, finance operations, and operational batch tasks.

Language

Voucher attachment: A user-provided proof file attached to an order, refund, recharge, or operational task. Voucher attachments may contain any file type and a business record may hold multiple voucher attachment keys. Avoid: Voucher image, comma-separated voucher string

Voucher key list: The canonical representation of voucher attachment object-storage keys at the frontend and API submission boundary. Legacy single-key strings or comma-separated strings may be read and normalized for display, but new submissions use key lists. Avoid: Comma-separated voucher string

Batch import file: The structured data file that drives an asynchronous operational batch task. Unlike voucher attachments, a batch import file is constrained by the task's required template format. Avoid: Voucher, attachment

Operational batch task: An asynchronous admin task created from an uploaded batch import file and tracked through task status, counts, operator identity, and failure details. Avoid: Inline order operation, synchronous import

Operational remark: A note captured when an admin creates a financial or operational record. Operational remarks are retained for later review and are not edited after creation. Avoid: Editable comment, processing note