更新Trellis适配、任务归属与归档失败恢复,精简技能入口和知识读取规则。 保留权限、证据、事务及独立复核合同;纳入对应任务及已完成复核记录。 仅本地提交,不启用新平台适配,不推送或部署。
36 行
2.0 KiB
Markdown
36 行
2.0 KiB
Markdown
# hyb-oa Project Specs
|
|
|
|
Stable development contracts live here; current requirements and status live in
|
|
the Trellis task, while `docs/` remains the business fact source.
|
|
|
|
## Read Order
|
|
|
|
1. Start with the current PRD and latest implementation status. Resolve a stale/missing pointer with `task.py current --source`; inspect related tasks before creating one.
|
|
2. Reuse governance already loaded from AGENTS/workflow; consult `project-governance.md` for the relevant operation.
|
|
3. Select the affected domain below. Use `docs/文档索引.md` only to locate unresolved business facts.
|
|
|
|
## Domain Specs
|
|
|
|
| Spec | Read when touching |
|
|
| --- | --- |
|
|
| `project-governance.md` | Task/approval rules; Trellis Project Upgrade Compatibility; Codex Inline Context Manifests |
|
|
| `backend-fastify-prisma.md` | Server APIs, transactions, migrations and data contracts |
|
|
| `frontend-react-vite-design.md` | React behavior, page permissions and design-source rules |
|
|
| `approval-workflow.md` | Approval states, self-approval and payment handoffs |
|
|
| `reimbursement-invoice-ocr.md` | Reimbursement, invoice, OCR and attachment handling |
|
|
| `wecom-boundary.md` | Enterprise WeChat ownership, APIs and write gates |
|
|
| `deployment-trialrun.md` | The specific candidate gate, deployment or recovery operation |
|
|
| `docs-and-evidence.md` | Evidence integrity, reporting and closeout |
|
|
| `security-privacy.md` | Authentication, sensitive-data access and privacy boundaries |
|
|
|
|
## Large Specs And Reusable Lessons
|
|
|
|
Locate sections with `rg -n '^#{1,3} ' .trellis/spec/hyb-oa/<file>.md`, then read
|
|
general rules, complete applicable scenarios and required references. Expand
|
|
for shared/cross-layer contracts; no search hit does not prove no rule applies.
|
|
Reuse unchanged sections already loaded instead of reading all domains.
|
|
|
|
For maintaining lessons and distinguishing evidence states, use
|
|
[Docs And Evidence rules](./docs-and-evidence.md#rules). A model upgrade does
|
|
not waive authorization, privacy, validation or independent review.
|