chore(invoice-organizer): 1.0.1 —— 重新 pin 到已合并 commit / repin to merged commit (#121)

## 背景 / Background

接 [#120](https://github.com/desirecore/market/pull/120)。那个 PR
只改了技能内容,**刻意没动版本号与 pin**——`contentSource.ref` 必须指向**已合并的 commit**,而那个
SHA 在合并前并不存在。先 bump 版本会让目录声称 1.0.1、却仍按指向 1.0.0 内容的 pin 去取文件,比不 bump
更糟。这是 #117/#118 那次两步发布的同一条约束。

Follow-up to #120, which deliberately left the version and pin
untouched: `contentSource.ref` must point at an already-merged commit,
which did not exist until #120 landed.

## 改动 / Changes

- `agent.json#contentSource.ref`、sidecar 的 `provenance.content.ref` 与
`governance.compliance.reviewedRef` **三处同步** pin 到 `7560a58`
- 版本 `1.0.0` → `1.0.1`(`agent.json` 与 sidecar `release.version` 两处一致)
- 补 1.0.1 changelog(中英双语)

## 1.0.1 修了什么 / What 1.0.1 fixes

三条都是真机整理实测撞出来的 Agent 侧规格洞,不是模型不听话:

| 缺陷 | 实测现象 | 根因 |
| --- | --- | --- |
| 归档路径 | 五轮里有两轮归成 `<工作目录>/2022/11/增值税电子普通发票/2022-11-18_….pdf`——同时违反「缺
`归档/` 首层」「多插一层 `<发票类型>/`」「日期用 `YYYY-MM-DD` 而非八位连写」三条 |
原文只用一句散文说了路径,上下文压缩后凭印象重建就会漂 |
| 报告文件名 | 三轮全部写出 `报告/整理报告-<运行日期>.md` | 技能只定义了 `报告/<YYYY-MM>.md`,多月场景无从填写
|
| 台账表数量 | 只有 1 张发票时产出三张表(省了「按销售方汇总」) | 技能写了「四张表,顺序固定」但没说「即使为空也必须存在」 |

前两条的共同点:**只跑一遍、或只跑成功的那遍,都看不见**。归档路径在早期几轮全对,是在同一会话被压缩之后才走样的。

All three are spec gaps found by repeated real-machine runs, not model
disobedience — and the first two are only visible across multiple runs
in the same (compacted) conversation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
This commit is contained in:
2026-09-04 12:22:39 -04:00
committed by GitHub
parent 7560a58642
commit 1f9e0b0a03
2 changed files with 21 additions and 5 deletions

View File

@@ -17,7 +17,7 @@
"finance", "finance",
"email" "email"
], ],
"version": "1.0.0", "version": "1.0.1",
"updatedAt": "2026-09-04", "updatedAt": "2026-09-04",
"maintainer": { "maintainer": {
"name": "DesireCore Official", "name": "DesireCore Official",
@@ -124,6 +124,22 @@
"tools": [] "tools": []
}, },
"changelog": [ "changelog": [
{
"version": "1.0.1",
"date": "2026-09-04",
"changes": {
"zh-CN": [
"归档路径改成四条可逐项对照的硬规则(归档/年/月 + YYYYMMDD 八位日期),并写入实测踩到的错误形态",
"报告文件名按「本次入账发票的开票月份落在几个 YYYY-MM」决定同月写 <YYYY-MM>.md跨月写 <最早>_<最晚>.md禁止用运行日期命名",
"台账四张表必须全建:即使某张表零行也要建出表头,不许因为数据少而省略「按销售方汇总」"
],
"en-US": [
"Archive path pinned to four checkable rules (归档/year/month + 8-digit YYYYMMDD date), with the observed wrong forms written into the skill",
"Report filename now keyed on how many distinct YYYY-MM the run's invoice issue dates span; run-date filenames are forbidden",
"All four ledger sheets must always be created with their header row, even when a sheet would be empty"
]
}
},
{ {
"version": "1.0.0", "version": "1.0.0",
"date": "2026-09-04", "date": "2026-09-04",
@@ -145,6 +161,6 @@
"kind": "git", "kind": "git",
"repoUrl": "https://github.com/desirecore/market.git", "repoUrl": "https://github.com/desirecore/market.git",
"path": "agents/invoice-organizer", "path": "agents/invoice-organizer",
"ref": "42a29e99a06b0387250b31d4bbe1515c7406694f" "ref": "7560a586426f5575eb86b0de0498f9b5cebe1751"
} }
} }

View File

@@ -30,7 +30,7 @@
}, },
"release": { "release": {
"state": "known", "state": "known",
"version": "1.0.0", "version": "1.0.1",
"versionScheme": "semver" "versionScheme": "semver"
}, },
"timestamps": { "timestamps": {
@@ -58,7 +58,7 @@
"kind": "git", "kind": "git",
"url": "https://github.com/desirecore/market.git", "url": "https://github.com/desirecore/market.git",
"path": "agents/invoice-organizer", "path": "agents/invoice-organizer",
"ref": "42a29e99a06b0387250b31d4bbe1515c7406694f" "ref": "7560a586426f5575eb86b0de0498f9b5cebe1751"
} }
}, },
"governance": { "governance": {
@@ -75,7 +75,7 @@
}, },
"compliance": { "compliance": {
"licenseEvidencePath": "LICENSE", "licenseEvidencePath": "LICENSE",
"reviewedRef": "42a29e99a06b0387250b31d4bbe1515c7406694f", "reviewedRef": "7560a586426f5575eb86b0de0498f9b5cebe1751",
"reviewedAt": "2026-09-04", "reviewedAt": "2026-09-04",
"reviewedBy": "yi-ge", "reviewedBy": "yi-ge",
"upstreamEndorsed": true "upstreamEndorsed": true