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
@@ -216,3 +216,79 @@ docker compose logs -f hxops-backend
|
||||
| 文件检核 | [docs/features/file-check/technical.md](docs/features/file-check/technical.md) |
|
||||
| Agent 应用管理(设计) | [docs/platform/agent_application_management.md](platform/agent_application_management.md) |
|
||||
| Agent 应用管理(实现) | [docs/platform/agent_application_management_implementation.md](platform/agent_application_management_implementation.md) |
|
||||
|
||||
<!-- BEGIN ENGRAMORY CODEX -->
|
||||
## Memory (Engramory)
|
||||
|
||||
You have one canonical, curated, file-based memory at `.engramory-memory/` (index:
|
||||
`MEMORY.md`). Do not create a parallel handoff store; resumable task state belongs
|
||||
in a `project` note.
|
||||
|
||||
- **At the start of a task**, read `MEMORY.md` (one line per memory) and open only
|
||||
the detail files whose hooks look relevant **and that resolve inside
|
||||
`.engramory-memory`** — a pointer that escapes the store (symlink, `..`, absolute
|
||||
path, `file://`) is a broken pointer to report, never a file to open.
|
||||
(On a host with native auto-memory —
|
||||
e.g. Claude Code — `MEMORY.md` is already loaded every session, so you don't need to
|
||||
re-read it; just apply this discipline.) Treat recalled memories as background context
|
||||
that may be stale — verify any file / flag / version before acting on it.
|
||||
- **When you learn something durable** worth a future session: confirm it isn't
|
||||
already in the repo / git / `CLAUDE.md` (don't duplicate the source of truth) and
|
||||
isn't a secret *value*; search the index and **update an existing note** rather
|
||||
than duplicate; otherwise write one atomic markdown file (one fact) with frontmatter
|
||||
`name` / `description` (a sharp one-line hook) / `type`
|
||||
(`user | feedback | project | reference`) / `created` + `updated` (`YYYY-MM-DD`) /
|
||||
optional `scope` (`global | repo` — how far the fact reaches; label it only when
|
||||
you know). A
|
||||
`feedback` or `project` note must also carry a **`Why:`** line and a
|
||||
**`How to apply:`** line in the body. Add one pointer line to `MEMORY.md`.
|
||||
**Delete** memories that turn out wrong.
|
||||
- `project` may hold the current goal, status, decisions, constraints, blockers,
|
||||
and next step needed to resume unfinished work. `feedback` is only for a
|
||||
reusable correction/workflow. Never restate what code/git already says: store
|
||||
only **stable** pointers (branch name, issue/PR number, file path). A *settled
|
||||
fact* ("2.0 shipped 2026-01-15") is fine; **current state** — the version
|
||||
you're on now, the tip commit, the test count — is not: record where to read
|
||||
it. Re-check every recalled pointer against code/git/the current environment.
|
||||
- **Before a deliberate compact, clear, or new thread**, sync once: scan the task;
|
||||
dedup/update; refresh `project`; promote only reusable `feedback`; save durable
|
||||
`reference` pointers; archive/delete stale or completed transient state; run
|
||||
`engramory_check.py` and `engramory_doctor.py`; then confirm a cold-started
|
||||
agent could continue from the repo plus memory alone.
|
||||
- After writing/syncing, report `added`, `updated`, `archived`, and `skipped`
|
||||
(with reasons; identify any deletion under `archived`), plus index lines/bytes
|
||||
and the check result. Hooks may remind or gate; they do not perform this
|
||||
semantic sync automatically.
|
||||
- **Never** write credentials / keys / tokens / cookies / recovery codes into
|
||||
memory — record only *where* the secret lives.
|
||||
- Keep `MEMORY.md` small. Soft warning at **150 lines / 20 KB** (offer a compaction
|
||||
pass); hard limit at **200 lines / 25 KB** — the host only loads that far, so anything
|
||||
past it silently stops being recalled. Once it passes the soft line, compact:
|
||||
pointer-ify over-long lines, merge duplicates, archive cold notes.
|
||||
|
||||
Full protocol & rationale: the engramory `SKILL.md`.
|
||||
|
||||
Codex-specific wiring:
|
||||
|
||||
- Keep this Engramory store separate from Codex native Memories; Codex native
|
||||
Memories are generated state, while Engramory is a user-auditable plain folder.
|
||||
- Capture mode is `explicit`: `explicit` syncs on request or at a continuity
|
||||
boundary; `assisted` also asks Codex to sync proactively at meaningful
|
||||
milestones. Neither mode silently invents a semantic summary.
|
||||
- If you edit `.engramory-memory/MEMORY.md` and no pre-write hook is installed, run
|
||||
`python .agents/skills/engramory/tools/engramory_check.py .engramory-memory/MEMORY.md` after the write; compact immediately
|
||||
if it reports `OVER`.
|
||||
- Codex lifecycle hooks were not installed. Before compact, clear, or a fresh
|
||||
thread, explicitly run the Engramory sync workflow from the protocol.
|
||||
- Full protocol reference: `.agents/skills/engramory/SKILL.md`.
|
||||
- Asked to check, repair, or upgrade this Engramory install itself? Follow
|
||||
`.agents/skills/engramory/AGENT-SETUP.md` — it is the procedure for that, and it is not optional
|
||||
guidance: it exists because agents reliably get this wrong unprompted.
|
||||
|
||||
### Language
|
||||
|
||||
Write new or updated Engramory index entries and memory bodies in Simplified Chinese by
|
||||
default. Keep filenames, frontmatter keys (`name`, `type`, `created`, `updated`), memory
|
||||
types (`user`, `feedback`, `project`, `reference`), and required validator labels
|
||||
(`Why:`, `How to apply:`) in English.
|
||||
<!-- END ENGRAMORY CODEX -->
|
||||
Reference in new issue
Block a user