hyb-oa-delivery-trellis-only 移除项目交付 Skill 并统一 Trellis-only 治理

这个提交包含在:
2026-05-26 11:20:56 +08:00
父节点 1b5c7527b7
当前提交 fd4059d511
共修改 19 个文件,包含 207 行新增和 288 行删除
文件差异因一行或多行过长而隐藏
@@ -1,4 +0,0 @@
interface:
display_name: "hyb-oa交付"
short_description: "按hyb-oa自然语言派工、Issue合同和试运行规则推进交付"
default_prompt: "继续推进hyb-oa需求,先自动拆解自然语言输入,读取Issue CSV和项目事实源,尽量用自动化与视觉验证。"
@@ -1,35 +0,0 @@
# Reimbursement Reference
Primary fact source: `docs/报销发票附件规则.md`.
## Checks Before Editing
- PC and mobile must have the same business capability.
- Ordinary users should see "添加发票", not "绑定整单", "不绑定明细", "发票池", or "ERP 同步".
- Invoice constraints belong on the server; frontend restrictions are only convenience.
- Attachments are supporting materials and must not enter invoice OCR or invoice dedup.
## Backend Hotspots
- `server/src/routes/invoicePool.js`
- `server/src/routes/invoicePool/read.js`
- `server/src/jobs/ocrJob.js`
- `server/src/services/invoiceGovernance.js`
- `server/src/routes/reimbursements.js`
- `server/prisma/schema.prisma`
## Frontend Hotspots
- `client/src/pages/ReimbursementDetailPage.tsx`
- `client/src/pages/MobileReimbursementDetailPage.tsx`
- `client/src/pages/InvoicePoolPage.tsx`
- `client/src/api/invoicePool.ts`
- `client/src/api/reimbursements.ts`
## Minimum Tests
- Invoice upload/dedup tests.
- OCR job duplicate handling tests.
- Reimbursement invoice bind/unbind tests.
- Attachment upload/download/delete tests.
- PC and mobile Playwright flow.
@@ -1,43 +0,0 @@
# Trial-Run Reference
Primary fact source: `docs/试运行与自动化验证手册.md`.
## Automatic First
Use automation before asking the user to manually reproduce:
- Backend unit/regression commands.
- Frontend typecheck/build.
- Playwright PC/mobile/WeCom UA.
- Visual screenshots under `output/playwright/<issue-id>/`.
## Manual Stop Points
Ask the user to act or confirm for:
- Enterprise WeChat admin console changes.
- Phone Enterprise WeChat real login/authorization confirmation.
- Production Caddy/domain/systemd/database changes.
- Prisma migration drift resolution.
## Common WeCom Checks
- App homepage URL and callback URL.
- Trusted domain verification file.
- Visible range includes the user.
- OAuth returns `UserId`.
- Local OA account is bound to WeCom userId.
- Cookies survive Caddy reverse proxy.
## OCR Checks
When upload stays in "上传中" or "识别中", inspect:
1. Upload response.
2. Invoice DB status.
3. OCR provider mode.
4. OCR worker/job status.
5. Tencent credentials and network.
6. Dedup result.
7. Status polling endpoint.
8. Frontend cache invalidation.
@@ -1,38 +0,0 @@
# Visual QA Reference
Primary fact source: `docs/产品设计规则.md`.
## Brand Baseline
Use `www.hyinda.com` as the visual reference:
- Brand blue around `rgb(0,57,138)`.
- White, light gray-blue, slate text.
- Clean cards, restrained radius, no black-heavy mobile navigation.
- OA pages should feel like a workbench, not a marketing page.
## PC Checks
- Header has title, core filters, primary action only.
- Tables do not expose UUID as the main business number.
- Actions are consistent: view/edit/delete/withdraw use coherent variants.
- Destructive actions need confirmation.
## Mobile/WeCom Checks
- No desktop sidebar/topbar.
- No visible desktop table as primary layout.
- Bottom nav is compact and selected state is solid, not thin outline.
- Dialogs do not auto-focus search inputs unless it is clearly a search task.
- Text does not overflow buttons/cards.
- Common flows fit the viewport without incoherent blank/packed regions.
## Playwright Metrics
Collect or assert when relevant:
- `scrollWidth <= viewportWidth + 2`.
- visible table count is 0 on mobile workflow pages.
- bottom nav height is reasonable.
- active nav background is visible and not black/empty outline.
- body text excludes banned internal terms.