universal-dev-standards 6.3.2 → 6.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/uds.js CHANGED
@@ -247,7 +247,7 @@ program
247
247
 
248
248
  program
249
249
  .command('deps')
250
- .description('Compare what you test against what your users install (published packages ship no lockfile)')
250
+ .description('Compare the versions you test against the versions your declared ranges resolve to')
251
251
  .option('--path <dir>', 'Directory containing package.json (default: cwd)')
252
252
  .option('--json', 'Output raw JSON')
253
253
  .option('--concurrency <n>', 'Parallel registry lookups (default: 8)')
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  source: ../../CHANGELOG.md
3
- source_version: 6.3.2
4
- translation_version: 6.3.2
5
- last_synced: 2026-08-06
3
+ source_version: 6.3.3
4
+ translation_version: 6.3.3
5
+ last_synced: 2026-08-07
6
6
  status: current
7
7
  ---
8
8
 
@@ -17,6 +17,13 @@ status: current
17
17
 
18
18
  ## [Unreleased]
19
19
 
20
+ ## [6.3.3] - 2026-08-07
21
+
22
+ ### Fixed
23
+
24
+ - **6.3.2 改好了说明,却把说明刚刚撤回的那个主张留在它上方的标题里。** 漂移区段的标题是 `N shipped ≠ tested`——黄色,就在那段说明「出货的与测到的是否不同,取决于项目怎么出货」的 dim 文字上一行。对随产物出货 lockfile 的产物而言,出货的**就是**测到的,因此那个标题在整份报告最醒目的位置说了与事实相反的话。这正是 1.1.0 改写 Lock Strategy 条目所要根除的形状:一句误导的话,下面附一句限定。标题现在改为指出两个不一致的字段——`N tested ≠ resolves`——这是对测量结果的陈述,不是对「谁收到了它」的结论。已加测试钉住。
25
+ - **另有两处在说同一件事,其中一处是采用者最先读到的。** `uds deps --help` 把这个命令描述为「Compare what you test against what your users install (published packages ship no lockfile)」,模块自身的摘要行则写「does what you test match what your users install?」。两者现在都改以「声明范围会解析到什么」表述。发现方式是修完标题后对整个 repo grep 已撤回的措辞——那是我自己那一轮修正漏掉的两处。
26
+
20
27
  ## [6.3.2] - 2026-08-06
21
28
 
22
29
  ### 修复
@@ -15,7 +15,7 @@ status: current
15
15
 
16
16
  > **语言**: [English](../../README.md) | [繁體中文](../zh-TW/README.md) | 简体中文
17
17
 
18
- **版本**: 6.3.2 | **发布日期**: 2026-07-31 | **授权**: [双重授权](../../LICENSE) (CC BY 4.0 + MIT)
18
+ **版本**: 6.3.3 | **发布日期**: 2026-07-31 | **授权**: [双重授权](../../LICENSE) (CC BY 4.0 + MIT)
19
19
 
20
20
  语言无关、框架无关的软件项目文档标准。通过 AI 原生工作流,确保不同技术栈之间的一致性、质量和可维护性。
21
21
 
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  source: ../../CHANGELOG.md
3
- source_version: 6.3.2
4
- translation_version: 6.3.2
5
- last_synced: 2026-08-06
3
+ source_version: 6.3.3
4
+ translation_version: 6.3.3
5
+ last_synced: 2026-08-07
6
6
  status: current
7
7
  ---
8
8
 
@@ -17,6 +17,13 @@ status: current
17
17
 
18
18
  ## [Unreleased]
19
19
 
20
+ ## [6.3.3] - 2026-08-07
21
+
22
+ ### Fixed
23
+
24
+ - **6.3.2 改好了說明,卻把說明剛剛撤回的那個主張留在它上方的標題裡。** 漂移區段的標題是 `N shipped ≠ tested`——黃色,就在那段說明「出貨的與測到的是否不同,取決於專案怎麼出貨」的 dim 文字上一行。對隨產物出貨 lockfile 的產物而言,出貨的**就是**測到的,因此那個標題在整份報告最醒目的位置說了與事實相反的話。這正是 1.1.0 改寫 Lock Strategy 條目所要根除的形狀:一句誤導的話,下面附一句限定。標題現在改為指出兩個不一致的欄位——`N tested ≠ resolves`——這是對量測結果的陳述,不是對「誰收到了它」的結論。已加測試釘住。
25
+ - **另有兩處在說同一件事,其中一處是採用者最先讀到的。** `uds deps --help` 把這個指令描述為「Compare what you test against what your users install (published packages ship no lockfile)」,模組自身的摘要行則寫「does what you test match what your users install?」。兩者現在都改以「宣告範圍會解析到什麼」表述。發現方式是修完標題後對整個 repo grep 已撤回的措辭——那是我自己那一輪修正漏掉的兩處。
26
+
20
27
  ## [6.3.2] - 2026-08-06
21
28
 
22
29
  ### 修復
@@ -15,7 +15,7 @@ status: current
15
15
 
16
16
  > **語言**: [English](../../README.md) | 繁體中文 | [简体中文](../zh-CN/README.md)
17
17
 
18
- **版本**: 6.3.2 | **發布日期**: 2026-07-31 | **授權**: [雙重授權](../../LICENSE) (CC BY 4.0 + MIT)
18
+ **版本**: 6.3.3 | **發布日期**: 2026-07-31 | **授權**: [雙重授權](../../LICENSE) (CC BY 4.0 + MIT)
19
19
 
20
20
  語言無關、框架無關的軟體專案文件標準。透過 AI 原生工作流,確保不同技術堆疊之間的一致性、品質和可維護性。
21
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "universal-dev-standards",
3
- "version": "6.3.2",
3
+ "version": "6.3.3",
4
4
  "description": "CLI tool for adopting Universal Development Standards",
5
5
  "keywords": [
6
6
  "documentation",
@@ -1,10 +1,17 @@
1
1
  /**
2
- * `uds deps` — does what you test match what your users install?
2
+ * `uds deps` — does what you test match what your ranges resolve to?
3
3
  * // implements XSPEC-366 R1
4
4
  *
5
- * A published npm package does not carry its lockfile. This compares, per
6
- * runtime dependency, the declared range, the version the lockfile pins, and
7
- * the version a consumer's install would actually resolve to.
5
+ * Compares, per runtime dependency, the declared range, the version the
6
+ * lockfile pins, and the version a fresh install would resolve that range to.
7
+ *
8
+ * It deliberately stops there. Whether a gap between the second and third
9
+ * numbers is already in a user's hands depends on how the project ships —
10
+ * a published npm package carries no lockfile, so consumers resolve the
11
+ * ranges themselves; an artifact that ships its lockfile (a container image,
12
+ * a deployed service) hands users the pinned column and meets the third one
13
+ * at its next lockfile regeneration. This module cannot know which applies,
14
+ * so it never phrases the gap as something users already have.
8
15
  *
9
16
  * See `utils/dependency-resolution.js` for why resolution goes through
10
17
  * `npm view` and why a failed lookup is never reported as agreement.
@@ -36,7 +43,14 @@ export function render(result) {
36
43
 
37
44
  if (result.drifted.length > 0) {
38
45
  lines.push('');
39
- lines.push(chalk.yellow(` ${result.drifted.length} shipped ≠ tested:`));
46
+ // Named after the two columns that disagree, not after a conclusion about
47
+ // who receives them. `shipped ≠ tested` — the wording this replaced — is
48
+ // false for an artifact that ships its own lockfile, where shipped IS
49
+ // tested. 6.3.2 rewrote the explanation below to state both readings but
50
+ // left this heading asserting one of them, in yellow, one line above the
51
+ // dim correction. That is the "misleading line with a qualification
52
+ // underneath it" shape that R4 rewrote the supply-chain standard to stop.
53
+ lines.push(chalk.yellow(` ${result.drifted.length} tested ≠ resolves:`));
40
54
  for (const d of result.drifted) {
41
55
  lines.push(
42
56
  ` ${chalk.bold(d.name)} ${chalk.dim(d.range)}` +
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "6.3.2",
3
+ "version": "6.3.3",
4
4
  "lastUpdated": "2026-05-13",
5
5
  "description": "Standards registry for universal-dev-standards with integrated skills and AI-optimized formats",
6
6
  "formats": {
@@ -58,14 +58,14 @@
58
58
  "standards": {
59
59
  "name": "universal-dev-standards",
60
60
  "url": "https://github.com/AsiaOstrich/universal-dev-standards",
61
- "version": "6.3.2"
61
+ "version": "6.3.3"
62
62
  },
63
63
  "skills": {
64
64
  "name": "universal-dev-standards",
65
65
  "url": "https://github.com/AsiaOstrich/universal-dev-standards",
66
66
  "localPath": "skills",
67
67
  "rawUrl": "https://raw.githubusercontent.com/AsiaOstrich/universal-dev-standards/main/skills",
68
- "version": "6.3.2",
68
+ "version": "6.3.3",
69
69
  "note": "Skills are now included in the main repository under skills/"
70
70
  }
71
71
  },
@@ -2236,7 +2236,7 @@
2236
2236
  "id": "license-compliance",
2237
2237
  "name": "License Compliance Standards",
2238
2238
  "nameZh": "授權合規標準",
2239
- "version": "6.3.2",
2239
+ "version": "6.3.3",
2240
2240
  "source": {
2241
2241
  "human": "core/license-compliance.md",
2242
2242
  "ai": "ai/standards/license-compliance.ai.yaml"
@@ -2248,7 +2248,7 @@
2248
2248
  "id": "verification-oracle",
2249
2249
  "name": "Verification Oracle Standards",
2250
2250
  "nameZh": "驗證 Oracle 標準",
2251
- "version": "6.3.2",
2251
+ "version": "6.3.3",
2252
2252
  "source": {
2253
2253
  "human": "core/verification-oracle.md",
2254
2254
  "ai": "ai/standards/verification-oracle.ai.yaml"
@@ -2260,7 +2260,7 @@
2260
2260
  "id": "model-provenance",
2261
2261
  "name": "Model Provenance Policy Standards",
2262
2262
  "nameZh": "模型來源政策標準",
2263
- "version": "6.3.2",
2263
+ "version": "6.3.3",
2264
2264
  "source": {
2265
2265
  "human": "core/model-provenance.md",
2266
2266
  "ai": "ai/standards/model-provenance.ai.yaml"
@@ -2272,7 +2272,7 @@
2272
2272
  "id": "resource-cost-boundary",
2273
2273
  "name": "Resource / Cost Boundary Declaration Standards",
2274
2274
  "nameZh": "資源/成本邊界宣告標準",
2275
- "version": "6.3.2",
2275
+ "version": "6.3.3",
2276
2276
  "source": {
2277
2277
  "human": "core/resource-cost-boundary.md",
2278
2278
  "ai": "ai/standards/resource-cost-boundary.ai.yaml"