From 40bd2dc1cfdb6f7fd18db108ac5721863578c598 Mon Sep 17 00:00:00 2001 From: Yige Date: Tue, 29 Sep 2026 07:21:27 -0400 Subject: [PATCH] =?UTF-8?q?chore(invoice-organizer):=201.0.6=20=E2=80=94?= =?UTF-8?q?=E2=80=94=20pin=20=E5=88=B0=E5=86=85=E5=AE=B9=E4=BB=93=E5=BA=93?= =?UTF-8?q?=E5=90=88=E5=B9=B6=E6=8F=90=E4=BA=A4=20(#196)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 改动 / Changes - `entry.json` 与 `catalog-metadata.v1.json` 的三处 ref pin 到 [desirecore-agent/invoice-organizer#3](https://github.com/desirecore-agent/invoice-organizer/pull/3) 的合并提交 `53b8a745bd008ab8be4833e28724db6b0801976f` - `latestVersion` / `release.version` 1.0.5 → 1.0.6 Pins the invoice-organizer pointer entry to content commit `53b8a74` (1.0.6). ## 1.0.6 内容 / What's in 1.0.6 1.0.5 在开发实例从零整理真实邮箱只入账 51 张(应约 67 张),逐封对照本地缓存后定位到:列候选直接拿 `messages/fetch` 的翻页结果(按序号窗口取会漏一类发票邮件)、按信头日期停翻、下载前按文件名预筛掉航空电子行程单、每封只下一个载体。1.0.6: - 列候选改为两步:先把本地缓存补齐到覆盖整个时间段(Gmail 用放宽一天的服务端日期查询翻到底;IMAP 收件箱 / Outlook 每页后重数「晚于起始日期的邮件数」G,`offset` 达到 G 之后连续两页不增长才停;IMAP 自定义文件夹不走缓存),再按日期搜缓存、按 `total` 翻到底 - 候选邮件的附件全部下载,不按文件名预判、不挑载体;判定阶梯新增否定条挡住行程明细 - 旧客户端(列表响应只剩「省略 1 行」)逐级降 `limit`,读不了的记入待处理;失败计数与「判为非发票」分开 - 内容仓库 PR 经独立子代理五轮审查(高 5 / 中 12 / 低若干,全部处理),第五轮结论可合并 ## 验证 / Verification - `validate_catalog_metadata.py --require-complete`:0 error - `agent.json` 用 dev 的 `validateAgentConfig` 实跑 `success: true` 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- agents/invoice-organizer/catalog-metadata.v1.json | 6 +++--- agents/invoice-organizer/entry.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/agents/invoice-organizer/catalog-metadata.v1.json b/agents/invoice-organizer/catalog-metadata.v1.json index fdb5ea7..81b1728 100644 --- a/agents/invoice-organizer/catalog-metadata.v1.json +++ b/agents/invoice-organizer/catalog-metadata.v1.json @@ -30,7 +30,7 @@ }, "release": { "state": "known", - "version": "1.0.5", + "version": "1.0.6", "versionScheme": "semver" }, "timestamps": { @@ -59,7 +59,7 @@ "content": { "kind": "git", "url": "https://github.com/desirecore-agent/invoice-organizer.git", - "ref": "b2e6d69f0df2345e282ceea424afce0b9345d97f" + "ref": "53b8a745bd008ab8be4833e28724db6b0801976f" } }, "governance": { @@ -77,7 +77,7 @@ }, "compliance": { "licenseEvidencePath": "LICENSE", - "reviewedRef": "b2e6d69f0df2345e282ceea424afce0b9345d97f", + "reviewedRef": "53b8a745bd008ab8be4833e28724db6b0801976f", "reviewedAt": "2026-09-29", "reviewedBy": "yi-ge", "upstreamEndorsed": true diff --git a/agents/invoice-organizer/entry.json b/agents/invoice-organizer/entry.json index ee0df7f..83e24c3 100644 --- a/agents/invoice-organizer/entry.json +++ b/agents/invoice-organizer/entry.json @@ -19,7 +19,7 @@ "shortDesc": "Turns the invoices buried in a mailbox into a reconcilable ledger: collects attachments over a stated range, extracts fields from PDF, OFD and scanned images, deduplicates, archives, and produces a spreadsheet ledger plus a monthly report. Requires a one-time mailbox authorization inside DesireCore; it performs format and arithmetic checks only, never tax-authority invoice verification." } }, - "latestVersion": "1.0.5", + "latestVersion": "1.0.6", "maintainer": { "name": "DesireCore Official", "verified": true @@ -38,6 +38,6 @@ "kind": "git", "repoUrl": "https://github.com/desirecore-agent/invoice-organizer.git", "repoBranch": "main", - "ref": "b2e6d69f0df2345e282ceea424afce0b9345d97f" + "ref": "53b8a745bd008ab8be4833e28724db6b0801976f" } }