feat(shipping-notice,receipt-report): 新增收料报表功能并优化发货通知流程
清理废弃的shipping xfa ocr automark相关代码和job配置 新增收料报表管理的前端页面、路由和侧边栏入口 新增后端收料报表配置接口、数据库模型和RPA脚本 优化发货通知流程的重试策略,将shipping相关job默认不自动重试 移除废弃的库存源确认相关逻辑,更新流程门禁规则 重构订单模板的值适配器模块,新增坐标OCR值适配器 清理前端shipping菜单和action的废弃选项 更新相关文档和测试用例,调整.gitignore忽略规则
This commit is contained in:
1 parent
260465b72d
commit
1b6483a4ea
466 files changed
+32115
-33796
No files matched your search
@@ -0,0 +1,29 @@
|
||||
# Memory Index
|
||||
|
||||
> Pointers only — the actual content lives in the linked files, never here.
|
||||
> Soft cap 150 lines / 20 KB (warn). Hard cap 200 lines / 25 KB (compact first).
|
||||
> One line per memory: `- [<title>](<slug>.md) — <one-line hook>`
|
||||
> Plain-text & unencrypted: never store secret *values* here (only where they
|
||||
> live); keep this store git-ignored and out of cloud-synced / backed-up folders.
|
||||
<!-- Optional — delete this line if you keep no knowledge base (SKILL.md §6.1).
|
||||
Point it at yours; articles are for the user to read and are NOT indexed here.
|
||||
> 📚 Knowledge base `<path>/` — written for the HUMAN, not memory; its articles are
|
||||
> not indexed here. Worked out a mechanism / discarded a wrong assumption to get there /
|
||||
> wrote a long explanation → read `<path>/README.md` and decide whether to PROPOSE an
|
||||
> article (propose only, never write unasked).
|
||||
-->
|
||||
|
||||
## user
|
||||
<!-- who the user is: identity, role, expertise, durable preferences ABOUT THEM.
|
||||
A preference about how YOU work ("reply in Chinese") is feedback, not user. -->
|
||||
|
||||
## feedback
|
||||
<!-- reusable corrections/workflows only (not task-local state). Why: / How to apply: -->
|
||||
|
||||
## project
|
||||
<!-- goals/status/decisions/constraints/blockers/next step needed to resume.
|
||||
Re-verify code/git/test pointers; retire completed transient state.
|
||||
Absolute dates. Why: / How to apply: -->
|
||||
|
||||
## reference
|
||||
<!-- pointers to external resources: URLs, dashboards, tickets, log paths -->
|
||||
@@ -0,0 +1,19 @@
|
||||
---
|
||||
name: verify-before-done
|
||||
description: Grep to confirm a change before reporting it done
|
||||
type: feedback
|
||||
scope: global
|
||||
created: 2026-06-13
|
||||
updated: 2026-06-13
|
||||
---
|
||||
|
||||
Before telling the user a code change is complete, run a quick search to confirm
|
||||
the change actually landed where intended.
|
||||
|
||||
**Why:** the user has been burned before by "done" reports for edits that silently
|
||||
failed to apply, so an unverified "done" costs their trust.
|
||||
|
||||
**How to apply:** after any edit, grep for the changed symbol/string and show the
|
||||
matching line(s) in the report, or run the relevant test and quote the result.
|
||||
|
||||
Related: [[code-change-hygiene]]
|
||||
@@ -0,0 +1,23 @@
|
||||
---
|
||||
name: api-gateway-v2-status
|
||||
description: API gateway v2 migration shipped — release 2.0
|
||||
type: project
|
||||
scope: repo
|
||||
created: 2026-01-15
|
||||
updated: 2026-01-15
|
||||
---
|
||||
|
||||
The API gateway v2 migration reached final rollout and shipped on 2026-01-15 as
|
||||
release 2.0. The original 2.0 roadmap item (request-level rate limiting) was
|
||||
deferred to 2.1.
|
||||
|
||||
**Why:** the deferral was a deliberate scope decision, and neither the code nor
|
||||
the git history records *why* rate limiting is absent from 2.0 — without this,
|
||||
someone re-litigates it or files it as a bug.
|
||||
|
||||
**How to apply:** when rate limiting comes up, know it was deliberately deferred
|
||||
out of 2.0 rather than forgotten. For the version to target now, ask the project's
|
||||
version tool — this note deliberately does not carry that number, because it is
|
||||
current state and would rot here (SKILL.md §2).
|
||||
|
||||
Related: [[deploy-runbook]] · [[release-versioning]]
|
||||
@@ -0,0 +1,100 @@
|
||||
# Knowledge base
|
||||
|
||||
Articles written to be **read by a person**. Explaining something properly is the point —
|
||||
not preparing material for some later use.
|
||||
|
||||
Content is organised around the **subject**, not around whoever ran into it. Problems you
|
||||
hit belong here as *evidence* for why a mechanism behaves the way it does; they are not
|
||||
the narrative spine.
|
||||
|
||||
## Relation to the memory store
|
||||
|
||||
The memory store (see the Engramory `SKILL.md`) is written for the agent: one fact per
|
||||
file, compressed, conclusion-only, and its index is loaded every single session — which
|
||||
is exactly why it has to stay small.
|
||||
|
||||
This is written for a human: one topic per article, mechanism and cause, structured so it
|
||||
can be looked up. Read only when someone opens it.
|
||||
|
||||
Memories are raw material, but this is **not a stockpile for some downstream purpose**.
|
||||
|
||||
### Why this does not live next to the store
|
||||
|
||||
Keeping the two together looks tidier and is a trap:
|
||||
|
||||
- This wants **version control** — articles get revised and the history matters. A memory
|
||||
store usually wants the opposite: personal detail, churning every session, git-ignored.
|
||||
- Obsidian **does not index paths beginning with a dot**. If the store lives at
|
||||
`.something/`, articles placed beside it drop out of search, links and the graph.
|
||||
- Placing them *inside* the store is worse: the doctor validates every note it finds, and
|
||||
articles have no frontmatter, so each one raises issues that bury the real ones.
|
||||
|
||||
A tracked directory in the repository root satisfies all three.
|
||||
|
||||
## Writing standard
|
||||
|
||||
- **Open with the fact or the mechanism, not a story.** State what a thing is and why it
|
||||
behaves that way, then how that shows up in practice.
|
||||
- **Define a term the first time it appears.** The reader may be new to the area.
|
||||
- **Put incidents in blockquotes** as supporting evidence. They do not carry the main
|
||||
line.
|
||||
- **Make it navigable**: sections, tables, checklists. Readers usually arrive with one
|
||||
specific question rather than starting at the top.
|
||||
- **Cover the whole rule, not only the part you hit.** Memory records where you stumbled;
|
||||
an article has to fill in the surrounding shape. If one kind of file cannot be renamed,
|
||||
say which kind can, and why.
|
||||
- **Cite the source memories at the end** so a claim can be traced back.
|
||||
- **The filename must name the subject.** There is no index here — the directory listing
|
||||
is how both you and the agent find things, so `packaging/windows-packaging-and-delivery.md`
|
||||
works and `notes-3.md` does not.
|
||||
|
||||
## When to write
|
||||
|
||||
**When you have actually worked something out.** It does not need a future use.
|
||||
|
||||
The other signal: **you notice yourself looking the same thing up a second time.**
|
||||
|
||||
Do not try to drain the memory store. Most memories are operational detail that only the
|
||||
agent needs; they do not belong here.
|
||||
|
||||
## For the agent: when to propose an article
|
||||
|
||||
Propose — **never write unasked**. Angle and depth are opinionated choices and they belong
|
||||
to the user.
|
||||
|
||||
**First, list this directory.** There is deliberately no topic list to consult: a
|
||||
hand-maintained one drifts, and a stale list is worse than none because it makes you
|
||||
propose things that already exist. The filesystem is the record. If a filename looks
|
||||
adjacent to your subject, open that article's headings before deciding — extending it is
|
||||
usually the right move.
|
||||
|
||||
**Test:** three months from now, facing the same class of problem, would someone have to
|
||||
work it out again from scratch, or would a quick look be enough? If they would have to
|
||||
redo the work, it is worth an article.
|
||||
|
||||
**Signals** (any one):
|
||||
|
||||
- You worked out a **mechanism or cause**, not just steps that happened to work
|
||||
- Getting there required **discarding at least one wrong assumption** — so it is not
|
||||
obvious, and the next person will trip on it too
|
||||
- You wrote a **long explanation in conversation**. That is already the draft
|
||||
|
||||
**Do not propose** when: it only holds for this project right now (that is a memory); the
|
||||
official documentation answers it directly; or the directory you just listed already
|
||||
covers the topic.
|
||||
|
||||
## Finding things
|
||||
|
||||
There is no index. Browse the directory, or use search — filenames name their subjects,
|
||||
which is the whole reason that rule exists. Obsidian's file tree, backlinks and graph give
|
||||
you more than a list would, and none of it can go stale.
|
||||
|
||||
## If you open this in Obsidian
|
||||
|
||||
Turn off plugins that reformat frontmatter. If the same vault also contains the memory
|
||||
store, automatic YAML formatting **will corrupt it** — that store uses a restricted
|
||||
`key: value` grammar, not full YAML.
|
||||
|
||||
Editing here also makes you a second writer. Engramory assumes a single writer and has no
|
||||
locking; the agent and a human editor can overwrite each other silently. In practice they
|
||||
rarely collide, but it is worth knowing.
|
||||
Reference in new issue
Block a user