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,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