bailinghub 0.9.0 → 0.9.1

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.
Files changed (89) hide show
  1. package/.dockerignore +6 -0
  2. package/.npmignore +6 -0
  3. package/CONTRIBUTING.md +4 -0
  4. package/GOVERNANCE.md +9 -0
  5. package/README.en.md +7 -6
  6. package/README.md +7 -6
  7. package/SECURITY.md +8 -2
  8. package/THIRD_PARTY_NOTICES.md +17 -17
  9. package/docker-compose.images.yml +2 -2
  10. package/docs/CHANGELOG.en.md +11 -1
  11. package/docs/CHANGELOG.md +11 -1
  12. package/docs/COMPATIBILITY.en.md +4 -0
  13. package/docs/IMPLEMENTATION_STATUS.en.md +73 -0
  14. package/docs/IMPLEMENTATION_STATUS.md +73 -0
  15. package/docs/INDEPENDENT_VALIDATION.en.md +4 -4
  16. package/docs/INDEPENDENT_VALIDATION.md +4 -4
  17. package/docs/KERNEL_HOST_API.en.md +18 -0
  18. package/docs/KERNEL_HOST_API.md +18 -0
  19. package/docs/README.en.md +3 -0
  20. package/docs/README.md +3 -0
  21. package/docs/RELEASE_NOTES_NEXT.en.md +3 -3
  22. package/docs/RELEASE_NOTES_NEXT.md +3 -3
  23. package/docs/RELEASE_NOTES_v0.9.1.en.md +38 -0
  24. package/docs/RELEASE_NOTES_v0.9.1.md +38 -0
  25. package/docs/UPGRADE_v0.9.1.en.md +39 -0
  26. package/docs/UPGRADE_v0.9.1.md +39 -0
  27. package/docs//345/205/274/345/256/271/346/200/247/344/270/216/345/215/207/347/272/247.md +4 -0
  28. package/package.json +5 -4
  29. package/scripts/check-doc-links.mjs +2 -0
  30. package/scripts/check-image-tags.sh +1 -1
  31. package/scripts/check-release-consistency.test.mjs +2 -2
  32. package/scripts/dependency-audit.mjs +134 -0
  33. package/scripts/dependency-audit.test.mjs +125 -0
  34. package/scripts/install.sh +1 -1
  35. package/scripts/osps-results.py +114 -0
  36. package/scripts/publish-images.sh +1 -1
  37. package/scripts/release-audit.mjs +1 -0
  38. package/scripts/verify-github-repo.mjs +1 -0
  39. package/security/dependency-audit-exceptions.json +192 -0
  40. package/src/app/kernel-usage-lifecycle.mysql.test.ts +325 -0
  41. package/src/app/kernel.ts +10 -0
  42. package/src/modules/usage/background-work.test.ts +144 -0
  43. package/src/modules/usage/background-work.ts +50 -0
  44. package/src/modules/usage/billing-repository.ts +6 -4
  45. package/src/modules/usage/model-gateway.ts +10 -3
  46. package/src/modules/usage/model-tool-gateway.mysql.test.ts +1 -1
  47. package/src/modules/usage/pricing.ts +3 -2
  48. package/src/modules/usage/repository.ts +2 -0
  49. package/src/modules/usage/test-harness.ts +2 -1
  50. package/web/console/assets/{Accounts-DnddhY6t.js → Accounts-DKhw_QLr.js} +1 -1
  51. package/web/console/assets/{AgentClients-VInbD7JS.js → AgentClients-CM4_5HaA.js} +1 -1
  52. package/web/console/assets/{AgentTasks-B-1XklBg.js → AgentTasks-CkQgZTU5.js} +1 -1
  53. package/web/console/assets/{Approvals-34qUPHf0.js → Approvals-B9O9TkbO.js} +1 -1
  54. package/web/console/assets/{Audit-BbVgkSm2.js → Audit-2vDC1SPu.js} +1 -1
  55. package/web/console/assets/{BrandLockup-DgscF28e.js → BrandLockup-BgASiRSE.js} +1 -1
  56. package/web/console/assets/{Channels-Bp-yuk8d.js → Channels-A-GvkNBt.js} +1 -1
  57. package/web/console/assets/{ChatEntries-C9Ft60TS.js → ChatEntries-BLxymI67.js} +1 -1
  58. package/web/console/assets/{Clients-NPldD-DD.js → Clients-DeNlmvS6.js} +1 -1
  59. package/web/console/assets/{Cost-DZcuB-EB.js → Cost-CBq_L4Kz.js} +1 -1
  60. package/web/console/assets/{Credentials-RTT7N6zl.js → Credentials-DmtbctNj.js} +1 -1
  61. package/web/console/assets/{Diagnostics-_LeK8cce.js → Diagnostics-BbcRDiA-.js} +1 -1
  62. package/web/console/assets/{Executors-Bi7H8rIm.js → Executors-gGgmQrDt.js} +1 -1
  63. package/web/console/assets/{HelpTip-BfyWrxCE.js → HelpTip-Dtdt2tKR.js} +1 -1
  64. package/web/console/assets/{Kb-BHamz8NP.js → Kb-lgY6OXUz.js} +2 -2
  65. package/web/console/assets/{Login-C1rJR-6w.js → Login-DA6BASZd.js} +1 -1
  66. package/web/console/assets/{Projects-BRA4a48v.js → Projects-DEbmB_sT.js} +1 -1
  67. package/web/console/assets/{Routes-CTC7U-fQ.js → Routes-qS6LLoyS.js} +1 -1
  68. package/web/console/assets/{Runs-B_fa_BlD.js → Runs-DG-VLRSc.js} +1 -1
  69. package/web/console/assets/{Setup-C1_d0mFy.js → Setup-DEpVF5uw.js} +1 -1
  70. package/web/console/assets/{Shell-CHEV6RGC.js → Shell-DgoPgK1E.js} +1 -1
  71. package/web/console/assets/{StorageBuckets-DlG3ojhA.js → StorageBuckets-DJtNN769.js} +1 -1
  72. package/web/console/assets/{SystemSettings-DYo2gg6d.js → SystemSettings-0DEUgeTR.js} +1 -1
  73. package/web/console/assets/{SystemStatus-DKCoUZlq.js → SystemStatus-CR1phiPE.js} +1 -1
  74. package/web/console/assets/{Targets-CdkG6BPR.js → Targets-D65l-IMB.js} +1 -1
  75. package/web/console/assets/{Tools-DVpCt0ox.js → Tools-DqtrINrN.js} +1 -1
  76. package/web/console/assets/{Usage-DWCpLugC.js → Usage-B5njXNjx.js} +1 -1
  77. package/web/console/assets/{UsageAccess-B_Xq7ARW.js → UsageAccess-ChnB4pjb.js} +1 -1
  78. package/web/console/assets/{UsageHelp-t5ZG_f-e.js → UsageHelp-BBKIvbQ5.js} +1 -1
  79. package/web/console/assets/{index-C6W4LWVV.js → index-65JiiUr4.js} +1 -1
  80. package/web/console/assets/{index-H1kfa0Mj.js → index-sLKrJd_p.js} +2 -2
  81. package/web/console/assets/{request-DLsP1_ot.js → request-BpaimqEb.js} +1 -1
  82. package/web/console/assets/{schema-BLOHvAJQ.js → schema-D0Z4kFCZ.js} +1 -1
  83. package/web/console/assets/{util-CGVh2Jvr.js → util-DZYfJ5Zo.js} +1 -1
  84. package/web/console/assets/{vendor-element-BD089KxE.js → vendor-element-8cVcdt5T.js} +1 -1
  85. package/web/console/assets/{vendor-mammoth-Bv-CZhmH.js → vendor-mammoth-CnDA23N0.js} +1 -1
  86. package/web/console/assets/vendor-vue-Co7x2FW6.js +29 -0
  87. package/web/console/index.html +3 -3
  88. package/web-admin/package-lock.json +83 -85
  89. package/web/console/assets/vendor-vue-B2uhHUfE.js +0 -29
package/.dockerignore CHANGED
@@ -40,3 +40,9 @@ web-admin/src/private/
40
40
  web-admin/src/platform/
41
41
  *.private.*
42
42
  *.enterprise.*
43
+
44
+ # Repository governance metadata; excluded from runtime distributions.
45
+ security-insights.yml
46
+ SECURITY_SELF_ASSESSMENT*.md
47
+ docs/security-assessment*
48
+ docs/security/self-assessment*
package/.npmignore CHANGED
@@ -54,3 +54,9 @@ web-admin/src/private/
54
54
  web-admin/src/platform/
55
55
  *.private.*
56
56
  *.enterprise.*
57
+
58
+ # Repository governance metadata; excluded from runtime distributions.
59
+ security-insights.yml
60
+ SECURITY_SELF_ASSESSMENT*.md
61
+ docs/security-assessment*
62
+ docs/security/self-assessment*
package/CONTRIBUTING.md CHANGED
@@ -69,6 +69,10 @@ Reusable improvements are welcome as Issues, Discussions, or Pull Requests. Stro
69
69
 
70
70
  See [Community Derivatives And Ecosystem Collaboration](docs/ECOSYSTEM.en.md) for the complete policy and [中文说明](docs/ECOSYSTEM.md) for the Chinese version.
71
71
 
72
+ ## Automation-assisted contributions
73
+
74
+ Automation-assisted pull requests are welcome when an accountable human submitter reviews the complete change, explains its purpose, provides relevant validation, and follows the same contribution and security requirements as other contributions. Unattended changes do not bypass maintainer review.
75
+
72
76
  ## License
73
77
 
74
78
  By contributing, you agree that your contributions are licensed under the Apache License 2.0.
package/GOVERNANCE.md ADDED
@@ -0,0 +1,9 @@
1
+ # Governance
2
+
3
+ ## Current repository responsibility
4
+
5
+ Jingchuan Nie ([@niejingchuan](https://github.com/niejingchuan)) is the current repository administrator and maintainer for [bailinghub/bailinghub](https://github.com/bailinghub/bailinghub). Repository administration includes configuration of repository access, branch and workflow settings, and maintenance of the project's contribution and security-reporting processes.
6
+
7
+ Proposed changes should follow CONTRIBUTING.md. Security-sensitive findings should use the private reporting channel in SECURITY.md. Maintainers review changes for the project's scope and compatibility before acceptance.
8
+
9
+ The repository member list should be reviewed when maintainers or sensitive-resource access change. Maintainers should record a role's scope before granting elevated access and remove access that is no longer required.
package/README.en.md CHANGED
@@ -29,13 +29,13 @@ You choose which business APIs become available. BailingHub connects the convers
29
29
  <img src="assets/readme-product-overview.en.svg" width="100%" alt="BailingHub connects conversational entry points to governed business capabilities while the business system remains the authority">
30
30
  </picture>
31
31
 
32
- ## v0.9.0: model services and shared plan allowances
32
+ ## v0.9.1: asynchronous shutdown and public capability evidence
33
33
 
34
- Optionally enable a lightweight model billing gateway for an assistant's conversation models and text-to-image tools. Services share a USD allowance and one plan multiplier. Periodic allowance is separate from sale price; customers see Credits or remaining percentage. The local host continues orchestration, with existing business authority and approvals intact.
34
+ Core shutdown now waits within its original deadline for model completion, settlement, and related usage background work. Usage-drain timeouts retain the original instance for retry without redispatch. This patch also provides a public capability/evidence index and general security-governance updates.
35
35
 
36
- Release pairing: **Core 0.9.0 + MCP / Agent Client SDK 0.7.0 + DSH 0.7.0**. Reference prices are not provider invoices; generation and settlement have separate states. Verify versions, Tags and artifact digests when upgrading.
36
+ Release pairing: **Core 0.9.1 + MCP / Agent Client SDK 0.7.0 + DSH 0.7.0**. Independent client packages are not bumped for this patch. Shared USD allowances, the uniform multiplier, periodic price/allowance, and business authority remain unchanged, with no new APIs, SQL, or plan rules. Verify versions, Tags, and artifact digests when upgrading.
37
37
 
38
- [Release notes](docs/RELEASE_NOTES_v0.9.0.en.md) · [Upgrade guide](docs/UPGRADE_v0.9.0.en.md) · [Model billing](docs/MODEL_BILLING.en.md) · [Previous release](docs/RELEASE_NOTES_v0.8.0.en.md)
38
+ [Release notes](docs/RELEASE_NOTES_v0.9.1.en.md) · [Upgrade guide](docs/UPGRADE_v0.9.1.en.md) · [Model billing](docs/MODEL_BILLING.en.md) · [Previous release](docs/RELEASE_NOTES_v0.9.0.en.md)
39
39
 
40
40
  ## Operate the System by Conversation
41
41
 
@@ -125,7 +125,7 @@ To explore before installing, use the [online experience](https://trial.bailingh
125
125
  To run the complete disposable loop locally:
126
126
 
127
127
  ```bash
128
- git clone --branch v0.6.1 --depth 1 https://github.com/bailinghub/bailinghub.git
128
+ git clone --branch v0.9.1 --depth 1 https://github.com/bailinghub/bailinghub.git
129
129
  cd bailinghub
130
130
  export BAILING_TOKEN="${BAILING_TOKEN:-$(openssl rand -hex 32)}"
131
131
  docker compose up --build
@@ -201,6 +201,7 @@ Run separate BailingHub deployments for mutually isolated organizations. A `clie
201
201
 
202
202
  ## Documentation
203
203
 
204
+ - [Capabilities and Public Evidence](docs/IMPLEMENTATION_STATUS.en.md) — separate release availability, validation scope, and limitations.
204
205
  - [Quickstart](docs/QUICKSTART.en.md) — deploy and run the first route.
205
206
  - [Docker Demo](docs/DEMO.en.md) — complete the sample business-operation loop.
206
207
  - [Integration Guide](docs/INTEGRATION.en.md) — connect an existing application.
@@ -213,7 +214,7 @@ Run separate BailingHub deployments for mutually isolated organizations. A `clie
213
214
  - [HTTP Contract](docs/CONTRACT.en.md) — stable network and identity boundaries.
214
215
  - [Architecture](docs/ARCHITECTURE.en.md) — runtime layers and dependency direction.
215
216
  - [English Documentation Map](docs/README.en.md) — the complete public documentation index.
216
- - [Changelog](docs/CHANGELOG.en.md) and [v0.9.0](docs/RELEASE_NOTES_v0.9.0.en.md) — current release changes and upgrade notes.
217
+ - [Changelog](docs/CHANGELOG.en.md) and [v0.9.1](docs/RELEASE_NOTES_v0.9.1.en.md) — current release changes and upgrade notes.
217
218
 
218
219
  ## Feedback and Ecosystem
219
220
 
package/README.md CHANGED
@@ -27,13 +27,13 @@
27
27
 
28
28
  在线体验环境只用于了解产品和配置方式。请勿上传生产凭据、敏感数据或接入真实业务;正式使用请自行部署开源版。
29
29
 
30
- ## v0.9.0:模型服务与统一套餐额度
30
+ ## v0.9.1:异步工作关闭与公开能力证据
31
31
 
32
- 按需启用微型模型计费网关,为业务助手的对话模型与文生图工具配置共享 USD 额度。套餐统一倍率,周期额度与售价分开;客户看到 Credits 或剩余百分比。本地宿主继续编排任务,原业务授权和审批保持。
32
+ 关闭 Core 时,在原时限内等待模型完成、结算及相关 usage 后台工作;usage 排空超时保留原实例供重试,不重派原请求。本版同时提供公开能力与证据索引,纳入通用安全治理。
33
33
 
34
- 配套为 **Core 0.9.0 + MCP / Agent Client SDK 0.7.0 + DSH 0.7.0**。参考报价不等于供应商实付费用,生成结果与计费分别处理。升级时核对版本、Tag 与制品摘要。
34
+ 配套为 **Core 0.9.1 + MCP / Agent Client SDK 0.7.0 + DSH 0.7.0**,独立客户端包不因本补丁升版。已有共享 USD 额度、统一倍率、周期售价/额度与业务权限保持;没有新增 API、SQL 或套餐规则。升级时核对版本、Tag 与制品摘要。
35
35
 
36
- [版本说明](docs/RELEASE_NOTES_v0.9.0.md) · [升级指南](docs/UPGRADE_v0.9.0.md) · [模型计费](docs/MODEL_BILLING.md) · [上一版本](docs/RELEASE_NOTES_v0.8.0.md)
36
+ [版本说明](docs/RELEASE_NOTES_v0.9.1.md) · [升级指南](docs/UPGRADE_v0.9.1.md) · [模型计费](docs/MODEL_BILLING.md) · [上一版本](docs/RELEASE_NOTES_v0.9.0.md)
37
37
 
38
38
  ## 适合哪些团队
39
39
 
@@ -115,7 +115,7 @@
115
115
  在本机启动中枢、MySQL、Demo 业务系统、工具源、路由和接入方:
116
116
 
117
117
  ```bash
118
- git clone --branch v0.6.1 --depth 1 https://github.com/bailinghub/bailinghub.git
118
+ git clone --branch v0.9.1 --depth 1 https://github.com/bailinghub/bailinghub.git
119
119
  cd bailinghub
120
120
  export BAILING_TOKEN="${BAILING_TOKEN:-$(openssl rand -hex 32)}"
121
121
  docker compose up --build
@@ -188,6 +188,7 @@ BailingHub Core 是独立服务,只通过稳定网络契约与业务系统协
188
188
 
189
189
  | 我想做什么 | 从这里开始 |
190
190
  |---|---|
191
+ | 区分已发行能力、公开验证与限制 | [能力与证据索引](docs/IMPLEMENTATION_STATUS.md) |
191
192
  | 看懂产品和控制台 | [用户指南](docs/user-guide/README.md) |
192
193
  | 部署完整开源版 | [快速开始](docs/QUICKSTART.md) |
193
194
  | 跑通公开 Demo | [Docker Demo](docs/DEMO.md) |
@@ -198,7 +199,7 @@ BailingHub Core 是独立服务,只通过稳定网络契约与业务系统协
198
199
  | 集中开启本地智能体与工具 | [四步配置指南](docs/LOCAL_AGENT_SETUP.md) · [系统说明](docs/AGENT_SYSTEM_INFO.md) |
199
200
  | 查 API 与边界契约 | [HTTP 契约](docs/CONTRACT.md) · [Client API](docs/CLIENT_API.md) |
200
201
  | 理解架构与长期取舍 | [架构](docs/ARCHITECTURE.md) · [项目愿景](VISION.md) |
201
- | 查看版本变化 | [CHANGELOG](docs/CHANGELOG.md) · [v0.9.0](docs/RELEASE_NOTES_v0.9.0.md) |
202
+ | 查看版本变化 | [CHANGELOG](docs/CHANGELOG.md) · [v0.9.1](docs/RELEASE_NOTES_v0.9.1.md) |
202
203
 
203
204
  完整中英文文档地图见 [docs/README.md](docs/README.md)。公共 API、SDK、Schema、Docker Demo 与代码标识保持语言中立。
204
205
 
package/SECURITY.md CHANGED
@@ -8,7 +8,7 @@ Security fixes are provided for the latest public release line.
8
8
 
9
9
  Please do not open a public issue for suspected vulnerabilities.
10
10
 
11
- Use GitHub private vulnerability reporting if it is enabled for the repository. If it is not available, contact the maintainers through a private channel and mark the report as security-sensitive.
11
+ Use the repository's [private vulnerability reporting](https://github.com/bailinghub/bailinghub/security/advisories/new) channel. Security-sensitive reports should remain private while they are triaged and a fix or coordinated disclosure is prepared. Maintainers will coordinate disclosure with the reporter after triage; reporter credit is preserved unless anonymity is requested.
12
12
 
13
13
  Include:
14
14
 
@@ -18,7 +18,7 @@ Include:
18
18
  - impact assessment;
19
19
  - any relevant logs with secrets removed.
20
20
 
21
- We aim to acknowledge reports within 3 business days.
21
+ We aim to acknowledge reports within 3 business days. This project does not currently operate a paid bug bounty program.
22
22
 
23
23
  ## Security Baseline
24
24
 
@@ -39,3 +39,9 @@ Maintainers can supply deployment-specific markers at audit time through either:
39
39
  - `BAILING_PUBLIC_DENYLIST_FILE`: an absolute path to a JSON array stored outside the repository, preferred for local release rehearsals.
40
40
 
41
41
  For example, a protected test environment may set `BAILING_PUBLIC_DENYLIST_JSON='["DEPLOYMENT_ONLY_MARKER_ALPHA_42"]'`. Audit failures report only the marker index and never echo its value. The external file path is rejected when it resolves inside the repository.
42
+
43
+ ## Time-limited dependency exception
44
+
45
+ [GHSA-hp3w-g68c-fv3c](https://github.com/advisories/GHSA-hp3w-g68c-fv3c) remains open in `sprintf-js`, introduced by the Mammoth command-line dependency chain. No patched release is currently available. The runtime and console use Mammoth library APIs; reviewed DOCX extraction and HTML conversion do not load `argparse` or `sprintf-js`, including when document text contains the reported precision payloads.
46
+
47
+ The [audit policy](security/dependency-audit-exceptions.json) records the exact advisory, dependency versions and paths, reviewed source hashes, owner and expiry of 2026-11-09. `npm run audit:deps` retains the raw findings and blocks new findings, changed dependency or source usage, and expired exceptions. This exception is not a vulnerability fix and does not apply to using Mammoth's command-line interface. Re-review the exception when modifying the DOCX adapters or their dependency chain; remove it when an appropriate upstream fix is available.
@@ -21,8 +21,8 @@ The package license texts and copyright notices remain in the installed package
21
21
  |---|---|---:|---|---|
22
22
  | Console | [@babel/helper-string-parser](https://www.npmjs.com/package/@babel/helper-string-parser) | 7.29.7 | MIT | runtime |
23
23
  | Console | [@babel/helper-validator-identifier](https://www.npmjs.com/package/@babel/helper-validator-identifier) | 7.29.7 | MIT | runtime |
24
- | Console | [@babel/parser](https://www.npmjs.com/package/@babel/parser) | 7.29.7 | MIT | runtime |
25
- | Console | [@babel/types](https://www.npmjs.com/package/@babel/types) | 7.29.7 | MIT | runtime |
24
+ | Console | [@babel/parser](https://www.npmjs.com/package/@babel/parser) | 7.29.9 | MIT | runtime |
25
+ | Console | [@babel/types](https://www.npmjs.com/package/@babel/types) | 7.29.8 | MIT | runtime |
26
26
  | Console | [@ctrl/tinycolor](https://www.npmjs.com/package/@ctrl/tinycolor) | 4.2.0 | MIT | runtime |
27
27
  | Console | [@element-plus/icons-vue](https://www.npmjs.com/package/@element-plus/icons-vue) | 2.3.2 | MIT | runtime |
28
28
  | Console | [@esbuild/aix-ppc64](https://www.npmjs.com/package/@esbuild/aix-ppc64) | 0.25.12 | MIT | build/test |
@@ -54,7 +54,7 @@ The package license texts and copyright notices remain in the installed package
54
54
  | Console | [@floating-ui/core](https://www.npmjs.com/package/@floating-ui/core) | 1.7.5 | MIT | runtime |
55
55
  | Console | [@floating-ui/dom](https://www.npmjs.com/package/@floating-ui/dom) | 1.7.6 | MIT | runtime |
56
56
  | Console | [@floating-ui/utils](https://www.npmjs.com/package/@floating-ui/utils) | 0.2.11 | MIT | runtime |
57
- | Console | [@jridgewell/sourcemap-codec](https://www.npmjs.com/package/@jridgewell/sourcemap-codec) | 1.5.5 | MIT | runtime |
57
+ | Console | [@jridgewell/sourcemap-codec](https://www.npmjs.com/package/@jridgewell/sourcemap-codec) | 1.6.0 | MIT | runtime |
58
58
  | Console | [@mixmark-io/domino](https://www.npmjs.com/package/@mixmark-io/domino) | 2.2.0 | BSD-2-Clause | runtime |
59
59
  | Console | [@popperjs/core](https://www.npmjs.com/package/@popperjs/core) | 2.11.8 | MIT | runtime |
60
60
  | Console | [@rollup/rollup-android-arm-eabi](https://www.npmjs.com/package/@rollup/rollup-android-arm-eabi) | 4.61.1 | MIT | build/test |
@@ -87,16 +87,16 @@ The package license texts and copyright notices remain in the installed package
87
87
  | Console | [@types/lodash-es](https://www.npmjs.com/package/@types/lodash-es) | 4.17.12 | MIT | runtime |
88
88
  | Console | [@types/web-bluetooth](https://www.npmjs.com/package/@types/web-bluetooth) | 0.0.21 | MIT | runtime |
89
89
  | Console | [@vitejs/plugin-vue](https://www.npmjs.com/package/@vitejs/plugin-vue) | 5.2.4 | MIT | build/test |
90
- | Console | [@vue/compiler-core](https://www.npmjs.com/package/@vue/compiler-core) | 3.5.35 | MIT | runtime |
91
- | Console | [@vue/compiler-dom](https://www.npmjs.com/package/@vue/compiler-dom) | 3.5.35 | MIT | runtime |
92
- | Console | [@vue/compiler-sfc](https://www.npmjs.com/package/@vue/compiler-sfc) | 3.5.35 | MIT | runtime |
93
- | Console | [@vue/compiler-ssr](https://www.npmjs.com/package/@vue/compiler-ssr) | 3.5.35 | MIT | runtime |
90
+ | Console | [@vue/compiler-core](https://www.npmjs.com/package/@vue/compiler-core) | 3.5.43 | MIT | runtime |
91
+ | Console | [@vue/compiler-dom](https://www.npmjs.com/package/@vue/compiler-dom) | 3.5.43 | MIT | runtime |
92
+ | Console | [@vue/compiler-sfc](https://www.npmjs.com/package/@vue/compiler-sfc) | 3.5.43 | MIT | runtime |
93
+ | Console | [@vue/compiler-ssr](https://www.npmjs.com/package/@vue/compiler-ssr) | 3.5.43 | MIT | runtime |
94
94
  | Console | [@vue/devtools-api](https://www.npmjs.com/package/@vue/devtools-api) | 6.6.4 | MIT | runtime |
95
- | Console | [@vue/reactivity](https://www.npmjs.com/package/@vue/reactivity) | 3.5.35 | MIT | runtime |
96
- | Console | [@vue/runtime-core](https://www.npmjs.com/package/@vue/runtime-core) | 3.5.35 | MIT | runtime |
97
- | Console | [@vue/runtime-dom](https://www.npmjs.com/package/@vue/runtime-dom) | 3.5.35 | MIT | runtime |
98
- | Console | [@vue/server-renderer](https://www.npmjs.com/package/@vue/server-renderer) | 3.5.35 | MIT | runtime |
99
- | Console | [@vue/shared](https://www.npmjs.com/package/@vue/shared) | 3.5.35 | MIT | runtime |
95
+ | Console | [@vue/reactivity](https://www.npmjs.com/package/@vue/reactivity) | 3.5.43 | MIT | runtime |
96
+ | Console | [@vue/runtime-core](https://www.npmjs.com/package/@vue/runtime-core) | 3.5.43 | MIT | runtime |
97
+ | Console | [@vue/runtime-dom](https://www.npmjs.com/package/@vue/runtime-dom) | 3.5.43 | MIT | runtime |
98
+ | Console | [@vue/server-renderer](https://www.npmjs.com/package/@vue/server-renderer) | 3.5.43 | MIT | runtime |
99
+ | Console | [@vue/shared](https://www.npmjs.com/package/@vue/shared) | 3.5.43 | MIT | runtime |
100
100
  | Console | [@vueuse/core](https://www.npmjs.com/package/@vueuse/core) | 14.3.0 | MIT | runtime |
101
101
  | Console | [@vueuse/metadata](https://www.npmjs.com/package/@vueuse/metadata) | 14.3.0 | MIT | runtime |
102
102
  | Console | [@vueuse/shared](https://www.npmjs.com/package/@vueuse/shared) | 14.3.0 | MIT | runtime |
@@ -128,7 +128,7 @@ The package license texts and copyright notices remain in the installed package
128
128
  | Console | [magic-string](https://www.npmjs.com/package/magic-string) | 0.30.21 | MIT | runtime |
129
129
  | Console | [mammoth](https://www.npmjs.com/package/mammoth) | 1.12.0 | BSD-2-Clause | runtime |
130
130
  | Console | [memoize-one](https://www.npmjs.com/package/memoize-one) | 6.0.0 | MIT | runtime |
131
- | Console | [nanoid](https://www.npmjs.com/package/nanoid) | 3.3.18 | MIT | runtime |
131
+ | Console | [nanoid](https://www.npmjs.com/package/nanoid) | 3.3.20 | MIT | runtime |
132
132
  | Console | [normalize-wheel-es](https://www.npmjs.com/package/normalize-wheel-es) | 1.2.0 | BSD-3-Clause | runtime |
133
133
  | Console | [option](https://www.npmjs.com/package/option) | 0.2.4 | BSD-2-Clause | runtime |
134
134
  | Console | [pako](https://www.npmjs.com/package/pako) | 1.0.11 | (MIT AND Zlib) | runtime |
@@ -136,13 +136,13 @@ The package license texts and copyright notices remain in the installed package
136
136
  | Console | [picocolors](https://www.npmjs.com/package/picocolors) | 1.1.1 | ISC | runtime |
137
137
  | Console | [picomatch](https://www.npmjs.com/package/picomatch) | 4.0.4 | MIT | build/test |
138
138
  | Console | [pinia](https://www.npmjs.com/package/pinia) | 2.3.1 | MIT | runtime |
139
- | Console | [postcss](https://www.npmjs.com/package/postcss) | 8.5.23 | MIT | runtime |
139
+ | Console | [postcss](https://www.npmjs.com/package/postcss) | 8.5.29 | MIT | runtime |
140
140
  | Console | [process-nextick-args](https://www.npmjs.com/package/process-nextick-args) | 2.0.1 | MIT | runtime |
141
141
  | Console | [readable-stream](https://www.npmjs.com/package/readable-stream) | 2.3.8 | MIT | runtime |
142
142
  | Console | [rollup](https://www.npmjs.com/package/rollup) | 4.61.1 | MIT | build/test |
143
143
  | Console | [safe-buffer](https://www.npmjs.com/package/safe-buffer) | 5.1.2 | MIT | runtime |
144
144
  | Console | [setimmediate](https://www.npmjs.com/package/setimmediate) | 1.0.5 | MIT | runtime |
145
- | Console | [source-map-js](https://www.npmjs.com/package/source-map-js) | 1.2.1 | BSD-3-Clause | runtime |
145
+ | Console | [source-map-js](https://www.npmjs.com/package/source-map-js) | 1.2.2 | BSD-3-Clause | runtime |
146
146
  | Console | [sprintf-js](https://www.npmjs.com/package/sprintf-js) | 1.0.3 | BSD-3-Clause | runtime |
147
147
  | Console | [string_decoder](https://www.npmjs.com/package/string_decoder) | 1.1.1 | MIT | runtime |
148
148
  | Console | [tinyglobby](https://www.npmjs.com/package/tinyglobby) | 0.2.17 | MIT | build/test |
@@ -151,7 +151,7 @@ The package license texts and copyright notices remain in the installed package
151
151
  | Console | [underscore](https://www.npmjs.com/package/underscore) | 1.13.8 | MIT | runtime |
152
152
  | Console | [util-deprecate](https://www.npmjs.com/package/util-deprecate) | 1.0.2 | MIT | runtime |
153
153
  | Console | [vite](https://www.npmjs.com/package/vite) | 6.4.3 | MIT | build/test |
154
- | Console | [vue](https://www.npmjs.com/package/vue) | 3.5.35 | MIT | runtime |
154
+ | Console | [vue](https://www.npmjs.com/package/vue) | 3.5.43 | MIT | runtime |
155
155
  | Console | [vue-component-type-helpers](https://www.npmjs.com/package/vue-component-type-helpers) | 3.3.4 | MIT | runtime |
156
156
  | Console | [vue-demi](https://www.npmjs.com/package/vue-demi) | 0.14.10 | MIT | runtime |
157
157
  | Console | [vue-router](https://www.npmjs.com/package/vue-router) | 4.6.4 | MIT | runtime |
@@ -207,7 +207,7 @@ The package license texts and copyright notices remain in the installed package
207
207
  | Hub | [duck](https://www.npmjs.com/package/duck) | 0.1.12 | BSD | runtime |
208
208
  | Hub | [esbuild](https://www.npmjs.com/package/esbuild) | 0.28.1 | MIT | runtime |
209
209
  | Hub | [fast-deep-equal](https://www.npmjs.com/package/fast-deep-equal) | 3.1.3 | MIT | build/test |
210
- | Hub | [fast-uri](https://www.npmjs.com/package/fast-uri) | 3.1.7 | BSD-3-Clause | build/test |
210
+ | Hub | [fast-uri](https://www.npmjs.com/package/fast-uri) | 3.1.8 | BSD-3-Clause | build/test |
211
211
  | Hub | [fsevents](https://www.npmjs.com/package/fsevents) | 2.3.2 | MIT | build/test |
212
212
  | Hub | [fsevents](https://www.npmjs.com/package/fsevents) | 2.3.3 | MIT | runtime |
213
213
  | Hub | [generate-function](https://www.npmjs.com/package/generate-function) | 2.3.1 | MIT | runtime |
@@ -18,7 +18,7 @@ services:
18
18
  retries: 30
19
19
 
20
20
  demo-business:
21
- image: ${BAILING_DEMO_BUSINESS_IMAGE:-crpi-xm97pbcjrmf5in3s.cn-shanghai.personal.cr.aliyuncs.com/bailinghub/bailing-demo-business:0.9.0}
21
+ image: ${BAILING_DEMO_BUSINESS_IMAGE:-crpi-xm97pbcjrmf5in3s.cn-shanghai.personal.cr.aliyuncs.com/bailinghub/bailing-demo-business:0.9.1}
22
22
  environment:
23
23
  DEMO_HOST: 0.0.0.0
24
24
  DEMO_PORT: 19080
@@ -29,7 +29,7 @@ services:
29
29
  - "${BAILING_DEMO_PUBLIC_PORT:-19080}:19080"
30
30
 
31
31
  bailinghub:
32
- image: ${BAILINGHUB_IMAGE:-crpi-xm97pbcjrmf5in3s.cn-shanghai.personal.cr.aliyuncs.com/bailinghub/bailinghub:0.9.0}
32
+ image: ${BAILINGHUB_IMAGE:-crpi-xm97pbcjrmf5in3s.cn-shanghai.personal.cr.aliyuncs.com/bailinghub/bailinghub:0.9.1}
33
33
  depends_on:
34
34
  mysql:
35
35
  condition: service_healthy
@@ -12,7 +12,7 @@ For the current integration contract, use:
12
12
 
13
13
  ## Recording Rules
14
14
 
15
- Lead each release with a familiar business-assistant or enterprise-service scenario: the previous problem, changed behavior, affected users and developers, upgrade steps, observable checks and limits. Keep English and Chinese facts aligned and distinguish additions, fixes and existing features. See [the release scenario notes](RELEASE_NOTES_v0.9.0.en.md).
15
+ Lead each release with a familiar business-assistant or enterprise-service scenario: the previous problem, changed behavior, affected users and developers, upgrade steps, observable checks and limits. Keep English and Chinese facts aligned and distinguish additions, fixes and existing features. See [the release scenario notes](RELEASE_NOTES_v0.9.1.en.md).
16
16
 
17
17
  Each public version should describe:
18
18
 
@@ -22,6 +22,16 @@ Each public version should describe:
22
22
  - validation commands;
23
23
  - related docs.
24
24
 
25
+ ## v0.9.1 - Asynchronous model shutdown and public capability evidence
26
+
27
+ Version date: 2026-10-12. Core patch release; MCP / Agent Client SDK 0.7.0 and DSH 0.7.0 remain unchanged. See [release notes](RELEASE_NOTES_v0.9.1.en.md) and the [upgrade guide](UPGRADE_v0.9.1.en.md).
28
+
29
+ - Fix model-tool completion, late settlement, and other usage background work not being explicitly included in Kernel shutdown drain. Original HTTP 202, request IDs, result/billing states, and business authority remain unchanged.
30
+ - Usage drain shares the original close deadline. A timeout at that stage retains original dependencies and the closing state for same-instance retry without redispatch. Failed settlement can retain durable pending evidence.
31
+ - Add a Chinese/English public capability/evidence index separating releases, source, test scope, independent-component responsibilities, and uncovered cases.
32
+ - Include existing main-branch dependency auditing, pinned Actions sources/minimal permissions, recurring scanning, assessments, and security metadata. Repository governance material is excluded from runtime packages/images; no all-controls-passing claim is made.
33
+ - No new APIs, SQL migrations, plan rules, or client features relative to 0.9.0. Public unit and actual Kernel/MySQL synthetic-provider regressions expose shutdown checks, without replacing live-provider or deployment acceptance.
34
+
25
35
  ## v0.9.0 - Model services, shared allowances and image tools
26
36
 
27
37
  Version date: 2026-09-23. Release pairing: Core 0.9.0 / SDK 0.7.0 / DSH 0.7.0. See [release notes](RELEASE_NOTES_v0.9.0.en.md) and the [upgrade guide](UPGRADE_v0.9.0.en.md).
package/docs/CHANGELOG.md CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  ## 记录规则
7
7
 
8
- 每次先用业务助手、企业服务等通用场景说明原问题与本版行为,再按使用者、业务后端与客户端开发者交代升级影响。中英文使用同一事实,新增能力、修复和已有能力分别标明;参考[本版场景说明](RELEASE_NOTES_v0.9.0.md)。
8
+ 每次先用业务助手、企业服务等通用场景说明原问题与本版行为,再按使用者、业务后端与客户端开发者交代升级影响。中英文使用同一事实,新增能力、修复和已有能力分别标明;参考[本版场景说明](RELEASE_NOTES_v0.9.1.md)。
9
9
 
10
10
  每个公开版本至少说明:
11
11
 
@@ -15,6 +15,16 @@
15
15
  - **验证方式**:部署方如何确认该版本运行正常;
16
16
  - **相关文档**:对应的契约、指南或示例。
17
17
 
18
+ ## v0.9.1 - 异步模型工作关闭与公开能力证据
19
+
20
+ 版本日期:2026-10-12。Core 补丁版本,MCP / Agent Client SDK 0.7.0、DSH 0.7.0 不变。[版本说明](RELEASE_NOTES_v0.9.1.md)、[升级指南](UPGRADE_v0.9.1.md)。
21
+
22
+ - 修复模型工具完成、晚登记结算及其他 usage 后台工作没有显式纳入 Kernel 关闭等待的边界;保持原 HTTP 202、请求标识、结果/计费状态与业务权限。
23
+ - usage 排空与原关闭阶段共用时限;该阶段超时保留原实例依赖和 closing 状态,供同实例重试,不重新派发。失败结算仍可保留 durable pending。
24
+ - 新增公开中英能力/证据索引,区分发行、源码、测试范围、独立组件责任及未覆盖项。
25
+ - 纳入已有主分支的依赖审计、固定 Actions 来源/最小权限、定期扫描、自评与安全元数据;仓库治理材料排除在运行包/镜像之外,不声明全部控制通过。
26
+ - 相对 0.9.0 无新增 API、SQL 迁移、套餐或客户端功能。公开单测及实际 Kernel/MySQL 合成供应商回归提供关闭检查入口,不能代替真实供应商与部署验收。
27
+
18
28
  ## v0.9.0 - 模型服务、统一套餐额度与文生图工具
19
29
 
20
30
  版本日期:2026-09-23。配套 Core 0.9.0 / SDK 0.7.0 / DSH 0.7.0。[版本说明](RELEASE_NOTES_v0.9.0.md)、[升级指南](UPGRADE_v0.9.0.md)。
@@ -1,5 +1,9 @@
1
1
  # Compatibility And Upgrade Policy
2
2
 
3
+ ## Core 0.9.1 patch upgrade
4
+
5
+ Relative to 0.9.0, this patch fixes asynchronous usage shutdown and updates public documentation/general security governance. There are no new APIs, SQL, plan rules, or client features. SDK 0.7.0 / DSH 0.7.0 remain unchanged. Old-version close returning does not establish that usage work has finished. Reconcile original requests before replacing artifacts; retry a new-version usage-drain timeout on the original instance. See the [0.9.1 upgrade guide](UPGRADE_v0.9.1.en.md).
6
+
3
7
  ## Core 0.9.0 release pairing
4
8
 
5
9
  Pair Core 0.9.0 with SDK 0.7.0 / DSH 0.7.0 for the optional model billing gateway. Hosts retain orchestration, existing business authority, approvals and original-call recovery. Public 0.8.0 upgrades apply outstanding 063/064 migrations and retain real data, with no test-schema purge. Periodic sale price and allowance are separate; original grant snapshots and ledger remain. Hosts opt into model plans explicitly; existing business-tool-only hosts need not enable billing. See the [0.9.0 upgrade guide](UPGRADE_v0.9.0.en.md).
@@ -0,0 +1,73 @@
1
+ # Core Capabilities and Public Evidence
2
+
3
+ [中文版](IMPLEMENTATION_STATUS.md)
4
+
5
+ This index separates **ownership, release availability, public evidence, and limitations** for BailingHub Core. Source implementation, test coverage, a formal release, and real business adoption are distinct facts, not a progression of maturity labels. This page is not a third-party certification, a complete security guarantee, or evidence of production adoption.
6
+
7
+ ## Version and evidence conventions
8
+
9
+ - Formal release baseline: [v0.9.1](https://github.com/bailinghub/bailinghub/releases/tag/v0.9.1), with the [v0.9.1 source Tag](https://github.com/bailinghub/bailinghub/tree/v0.9.1). The existing mechanisms below and the shutdown fix described later belong to this version. This does not mean that every optional feature is enabled by a default installation.
10
+ - Historical baseline: [v0.9.0](https://github.com/bailinghub/bailinghub/releases/tag/v0.9.0), commit [`dae5260ede6565080d21e94ae63d52f3a7d23556`](https://github.com/bailinghub/bailinghub/tree/dae5260ede6565080d21e94ae63d52f3a7d23556). Its asynchronous shutdown gap remains documented below. Verify source, npm, images, and deployments separately; updated documentation does not fix old artifacts.
11
+ - Test links identify **public test source and the conditions it checks**, not passing runs newly produced by this page. Unit tests, simulated provider responses, MySQL integration tests, and the complete demo have different scopes. Skipped or unexecuted tests are not passing evidence, and do not make an existing mechanism a planned feature.
12
+ - Use the [v0.9.1 release notes](RELEASE_NOTES_v0.9.1.en.md) and [upgrade guide](UPGRADE_v0.9.1.en.md) for release contents and prerequisites. Compatible clients, application migrations, provider credentials, storage, and business authorization still require their own configuration and acceptance.
13
+
14
+ ## Ownership and release availability
15
+
16
+ Core defaults to one organization's management and audit domain. Clients, routes, and tool providers are not organization isolation boundaries. ACC is an independent capability-declaration specification; the business system retains final identity, permission, and business-rule checks. See [Architecture](ARCHITECTURE.en.md), the [wire contract](CONTRACT.en.md), and the [ACC specification repository](https://github.com/agent-capability/agent-capability-contract).
17
+
18
+ | Capability and owner | Release availability | Public implementation and evidence | Scope and limitations |
19
+ |---|---|---|---|
20
+ | Declarations, tool discovery, and governed calls: Core parses/governs; the business system executes | Included in Core v0.9.1 | [Tool model](TOOLS_MODEL.en.md); [tool-index source](../src/services/tools-index.ts) / [tests](../src/services/tools-index.test.ts); [execution governance tests](../src/core/runtime/execution-runtime.test.ts) | Discoverability is not permission to call. The receiving API must verify the signature and recheck the subject, tenant, permissions, and business state. A declaration cannot create authority the caller did not have. |
21
+ | Agent Auth: Core binds client sessions; the business authorization page supplies trusted identity | Included in Core v0.9.1 | [Agent Auth contract](AGENT_AUTH_API.en.md); [route source](../src/routes/agent-auth.ts); [lifecycle HTTP tests](../src/routes/agent-auth-lifecycle-http.test.ts) / [race tests](../src/infrastructure/config/config-agent-auth-lifecycle-race.test.ts) | PKCE, authorization binding, refresh, and revocation are implemented. They do not replace business login, role management, or final authorization, or let the model choose a trusted principal through text. |
22
+ | Agent Client Runtime: Core exposes workspaces, turns, discovery, and tool invocation | Included in Core v0.9.1 | [Runtime API](AGENT_CLIENT_RUNTIME_API.en.md); [runtime source](../src/app/agent-client-runtime.ts) / [tests](../src/app/agent-client-runtime.test.ts); [invocation tests](../src/app/agent-tool-invocations.test.ts) | The local Agent host owns model selection, its reasoning loop, and tool orchestration. Core's existing `/run` pipeline is a separate public integration path; the two must not be presented as one client execution mode. |
23
+ | Approvals, original invocation snapshots, and read-only receipts: Core governs; the business system owns the outcome | Included in Core v0.9.1 | [Receipts versus recovery](INVOCATION_RECEIPTS.md); [invocation source](../src/app/agent-tool-invocations.ts) / [tests](../src/app/agent-tool-invocations.test.ts); [approval-ledger tests](../src/infrastructure/config/config-approval-ledger.test.ts) | Reading an original receipt differs from resume, which may continue execution. Unknown outcomes do not permit replaying a write, and missing historical arguments must not be invented. Approval does not prove business success or guarantee rollback of a distributed business transaction. |
24
+ | Cross-turn task controls: Core persists original members, write-call allowance, and concurrency occupancy | Included in Core v0.9.1 (introduced in v0.8.0) | [Task control contract](AGENT_TASK_CONTROL.en.md); [runtime source](../src/core/runtime/agent-task-control.ts) / [tests](../src/core/runtime/agent-task-control.test.ts); [MySQL journal integration tests](../src/infrastructure/config/config-agent-task-control-journal-mysql.test.ts) | These controls govern business invocations, not model-turn subscriptions. Write-call counts are not refund amounts, successful transactions, or Tokens. Pause/cancel cannot undo a permitted or completed business effect. |
25
+ | Visible conversation audit: the client explicitly uploads; Core validates members and persists events | Included in Core v0.9.1 | [Conversation audit contract](AGENT_CONVERSATION_AUDIT.en.md); [runtime tests](../src/core/runtime/agent-conversation-audit.test.ts) | Hidden reasoning is not collected. Membership confirmation and a write API do not prove all history was uploaded. Audit archives do not merge authorization, sessions, or runtime memory. Cross-binding use retains the same-Hub and individual-identity boundaries. |
26
+ | Current-thread context and optional rolling summaries: Core route/thread mechanisms | Included in Core v0.9.1 | [Memory configuration/rendering](../src/core/runtime/memory.ts); [thread injection source](../src/core/runtime/memory-runtime.ts) / [tests](../src/core/runtime/memory-runtime.test.ts); [summary tests](../src/core/runtime/summary-runtime.test.ts) | Summaries are disabled by default and still read from the original thread when enabled. This is not a complete user-level memory system across new conversations. Visible audit archives do not automatically enter model context. |
27
+ | Attachment space: the host supplies approved images; Core uploads and returns usable URLs | Included in Core v0.9.1 (introduced in v0.8.0) | [Image attachment contract](GENERATED_ARTIFACTS.en.md); [artifact source](../src/app/agent-artifacts.ts) / [tests](../src/app/agent-artifacts.test.ts) | The first increment accepts PNG/JPEG/WebP, not documents or video. Operators configure storage and retention. Core cannot read the client's filesystem. Uploading an image and changing a business record with its URL are separate actions. |
28
+ | Optional model gateway and USD allowance settlement: Core connects/meters; the client host orchestrates | Included in Core v0.9.1 | [Model billing contract](MODEL_BILLING.en.md); [gateway source](../src/modules/usage/model-gateway.ts); [model-gateway MySQL tests](../src/modules/usage/model-gateway.mysql.test.ts); [ledger unit tests](../src/modules/usage/billing-ledger.test.ts) | Shared USD allowances use a uniform multiplier and separate periodic price from allowance. They do not restore turn/step billing. Reference prices are not provider invoices; raw Tokens are not the allowance denominator. Missing authoritative usage does not permit inventing Tokens or fees. |
29
+ | Model-tool directory, text-to-image, and original-request lookup: optional Core gateway extensions | Included in Core v0.9.1 | [Tool-description source](../src/modules/usage/model-tools.ts) / [tests](../src/modules/usage/model-tools.test.ts); [provider adapter tests](../src/modules/usage/model-tool-provider.test.ts); [asynchronous-image MySQL tests](../src/modules/usage/model-tool-gateway.mysql.test.ts) | Executable adapters include Alibaba-compatible Images, native DashScope, and OpenRouter Images. A video, voice, or custom-service directory declaration does not provide an execution adapter. The completion/shutdown boundary is described below. |
30
+ | Kernel Host API, explicit migrations, and managed lifecycle: Core provides an embedding entry point; the Host manages processes and isolation | Included in Core v0.9.1 | [Kernel Host API](KERNEL_HOST_API.en.md); [Kernel source](../src/app/kernel.ts) / [tests](../src/app/kernel.test.ts); [artifact-manifest tests](../src/kernel-api/v1/artifact.test.ts); [migration tests](../src/infrastructure/schema/core-schema-migrator.test.ts) | Separate MySQL schemas/runtimeRoots, trusted instanceKeys, explicit migrations, and Host-owned tick/close calls are prerequisites. The API does not provide tenant signup, platform plans, cluster directories, or multi-replica upgrade orchestration. The optional usage gateway is not the Host's platform billing product. |
31
+ | Installation, smoke checks, and optional operational metrics: Core provides entry points; operators configure and accept deployments | Included in Core v0.9.1 | [Quickstart](QUICKSTART.en.md); [installer](../scripts/install.sh); [smoke script](../scripts/smoke.ts); [OpenMetrics tests](../src/core/observability/openmetrics.test.ts); [independent reproduction task](INDEPENDENT_VALIDATION.en.md) | A health response does not establish that all business operations/providers are available. Metrics require explicit enablement and access protection. Installation/diagnostic entry points do not establish continuous monitoring, staffed alerts, or acceptance of a particular deployment. |
32
+
33
+ ## What the public validation paths establish
34
+
35
+ ### Unit, simulated-provider, and database tests
36
+
37
+ The linked tests check mechanisms such as authorization, frozen arguments, idempotency, unknown outcomes, allowances, and lifecycle behavior. Database integration tests require their public fixtures' dedicated test configuration. For example, usage MySQL tests explicitly require `BAILING_USAGE_TEST_MYSQL=1`. A default test run that skips them does not establish database acceptance.
38
+
39
+ Simulated provider responses establish adapter/protocol behavior for the specified inputs, not live-provider availability, pricing, model quality, or production performance. Tests using real MySQL are still not acceptance of a real business integration.
40
+
41
+ ### Public demo and independent reproduction task
42
+
43
+ The [Docker demo](DEMO.en.md) and [independent validation task](INDEPENDENT_VALIDATION.en.md) provide a public path from installing v0.9.1 through smoke checks and `npm run demo:e2e`. Orders, tickets, refunds, and failure tools use repository demo data. Real model keys, customer APIs, and production credentials are unnecessary.
44
+
45
+ The task requires concrete results for service startup, console access, anonymous-preview boundaries, smoke checks, and the complete business loop. The README's images and animation show that same public fixture, not customer adoption. Publishing a task card does not establish that an external developer completed it. Reports should retain the actual version, environment, checks, and failure scope.
46
+
47
+ ### Asynchronous model-tool shutdown limitation in formal v0.9.0
48
+
49
+ The v0.9.0 [model-tool gateway source](https://github.com/bailinghub/bailinghub/blob/dae5260ede6565080d21e94ae63d52f3a7d23556/src/modules/usage/model-gateway.ts) persists provider dispatch, starts background completion/settlement through `void complete().then(...)`, and promptly returns the original request state. The [Kernel close implementation](https://github.com/bailinghub/bailinghub/blob/dae5260ede6565080d21e94ae63d52f3a7d23556/src/app/kernel.ts) explicitly waits for initialization, managed maintenance, HTTP, InHub, execution queues, and resource closure, but does not explicitly register this usage model-tool continuation as a separate drain participant.
50
+
51
+ Asynchronous-image/original-ID recovery tests in v0.9.0 therefore do not establish that every provider completion is covered by Kernel shutdown acceptance. The public main commit before the fix, [`728899e`](https://github.com/bailinghub/bailinghub/tree/728899e88d89f0ec333684a56640c12154970327), retains the same boundary. This page does not infer observed data loss or duplicate business effects.
52
+
53
+ ### Core v0.9.1 shutdown fix and evidence scope
54
+
55
+ Core v0.9.1 adds a [background-work tracker](../src/modules/usage/background-work.ts) owned separately by each `UsageRepository`, and drains it before resource closure in the [Kernel close path](../src/app/kernel.ts). Actual registration covers model-tool completion and its late settlement child, settlement after ordinary model responses, traffic-triggered response cleanup/usage reconciliation, and reference-price refresh through persistence. See the [Kernel Host API](KERNEL_HOST_API.en.md) for stopped admission, the shared deadline, and same-instance retry after a timeout. Original HTTP 202 delivery and recovery identifiers remain unchanged. Waiting for close does not issue a new provider request or alter business approval authority.
56
+
57
+ The new [tracker unit tests](../src/modules/usage/background-work.test.ts) check registration before execution, dynamic children, stopped maintenance, timeout/retry, owner isolation, and failure-diagnostic boundaries. Owner unit tests are not actual multi-Kernel acceptance. The public [Kernel + MySQL lifecycle tests](../src/app/kernel-usage-lifecycle.mysql.test.ts) use actual Kernels, separate test schemas, and synthetic providers to assert delayed completion/late settlement, SQL-lock waits, resource preservation and same-instance retry after timeouts, original-ID/resource isolation between two Kernels, settlement blocking close after ordinary text-model delivery, and standalone shutdown draining before exit. Separate cases cover cleanup and usage reconciliation independently blocking close; reference-price refresh is checked through persistence and stopped new maintenance. Further assertions cover failed settlement retaining the original result/durable pending, later reconciliation without redispatch, diagnostics excluding raw errors, one original dispatch, and one settlement-ledger record. The database tests explicitly require `BAILING_USAGE_TEST_MYSQL=1`. Source/assertions do not substitute for actual results or establish live-provider, process-crash recovery, or production-deployment acceptance.
58
+
59
+ This fix is available from **Core v0.9.1**, without rewriting the historical guarantees of the v0.9.0 Tag or establishing that a host has been upgraded or deployed. Failed background work may retain durable pending/unknown evidence. Completed drain does not mean every billing record is settled, or provide complete failure-recovery or security assurance.
60
+
61
+ ## General security governance included in v0.9.1
62
+
63
+ Compared with v0.9.0, v0.9.1 includes prior main-branch additions/updates to the [security self-assessment](https://github.com/bailinghub/bailinghub/blob/v0.9.1/SECURITY_SELF_ASSESSMENT.md), its [Chinese companion](https://github.com/bailinghub/bailinghub/blob/v0.9.1/SECURITY_SELF_ASSESSMENT.zh-CN.md), [Security Insights metadata](https://github.com/bailinghub/bailinghub/blob/v0.9.1/security-insights.yml), the [dependency audit script](../scripts/dependency-audit.mjs) and [tests](../scripts/dependency-audit.test.mjs), plus CI, dependency-update, and package/image exclusion settings. These are public repository governance evidence, not new business-runtime features or a claim that every control passes. Assessments/security metadata are excluded from npm runtime packages and Docker build contents; the assessments retain their stated evaluation baselines.
64
+
65
+ A version field or this page does not substitute for artifact checks. Evaluate npm, images, and source Tags against their own commit, artifact, and validation evidence. A Core version also does not establish an independent adapter's or host's release status.
66
+
67
+ ## Independent components and non-Core responsibilities
68
+
69
+ - The [MCP Server and Agent Client SDK](https://github.com/bailinghub/bailinghub-mcp-server), [DeepSeek Harness community plugin](https://github.com/bailinghub/bailinghub-dsh-plugin), [n8n community node](https://github.com/bailinghub/bailinghub-n8n-node), and [executor/OpenClaw adapter](https://github.com/bailinghub/bailinghub-openclaw-skill) are independent projects or adapters consuming public Core interfaces. They have their own versions, configuration, and validation, are excluded from Core artifacts, and do not imply upstream certification, endorsement, or adoption.
70
+ - A local host owns its model loop, client credential storage, UI, and approved file sources. Business systems own real execution, permissions, and business invariants. An independent Host owns its platform identity, tenant directory/isolation, and process/upgrade orchestration. Use the [Agent Client guide](AGENT_CLIENT_QUICKSTART.en.md) and [Kernel Host API](KERNEL_HOST_API.en.md) to assess interface responsibilities; Core tests do not prove these external implementations are complete or deployed.
71
+ - Complete user-level long-term memory, media tools without executable adapters, and real providers/business systems not accepted through the public paths listed here are not validated capabilities of this index. This page creates no new product timetable for them.
72
+
73
+ Keep this page and its Chinese companion aligned. Retain the distinction between formal Tags and main, and update a capability's availability or validation scope only when its corresponding public evidence changes.
@@ -0,0 +1,73 @@
1
+ # Core 能力与公开证据索引
2
+
3
+ [English](IMPLEMENTATION_STATUS.en.md)
4
+
5
+ 本页把 **BailingHub Core 的能力归属、发行状态、公开证据和限制分别列出**,便于评估和复现。源码实现、测试覆盖、正式发行和真实业务采用是不同事实;它们不构成一套从低到高的等级,也不互相替代。本页不是第三方认证、完整安全保证或生产采用证明。
6
+
7
+ ## 版本与阅读口径
8
+
9
+ - 正式发行基线:[v0.9.1](https://github.com/bailinghub/bailinghub/releases/tag/v0.9.1),对应 [v0.9.1 源码 Tag](https://github.com/bailinghub/bailinghub/tree/v0.9.1)。下表已有机制及后文的关闭修复属于该版本;不代表默认安装后已启用所有可选功能。
10
+ - 历史基线:[v0.9.0](https://github.com/bailinghub/bailinghub/releases/tag/v0.9.0),对应提交 [`dae5260ede6565080d21e94ae63d52f3a7d23556`](https://github.com/bailinghub/bailinghub/tree/dae5260ede6565080d21e94ae63d52f3a7d23556)。原 Tag 的异步关闭缺口在后文保留;源码、npm、镜像和具体部署应分别核验,不能从新版文档推导旧制品已修复。
11
+ - 表中的测试链接是**公开测试代码及其检查范围**,不是本页重新执行所得的通过记录。单元测试、模拟供应商响应、MySQL 集成测试和完整 demo 验证分别说明各自覆盖的条件。未执行或跳过的测试不能写成已通过,也不能据此把已有机制写成“计划实现”。
12
+ - 版本发行内容与升级前提以 [v0.9.1 说明](RELEASE_NOTES_v0.9.1.md) 和 [升级指南](UPGRADE_v0.9.1.md) 为准。适配客户端、应用迁移、模型凭据、存储和具体业务授权仍需各自配置、验证。
13
+
14
+ ## 能力归属与发行状态
15
+
16
+ Core 默认是一个组织的管理与审计域。不同 Client、route 或工具源不是组织隔离边界。ACC 是独立的能力声明规范;业务系统保留最终身份、权限和业务规则判断。参见 [架构](ARCHITECTURE.md)、[网络契约](CONTRACT.md) 和 [ACC 规范仓库](https://github.com/agent-capability/agent-capability-contract)。
17
+
18
+ | 能力与责任方 | 发行状态 | 公开实现与证据入口 | 范围与限制 |
19
+ |---|---|---|---|
20
+ | 能力声明、工具发现、受控调用:Core 解析和治理,业务系统执行 | Core v0.9.1 已包含 | [工具模型](TOOLS_MODEL.md);[工具索引源码](../src/services/tools-index.ts) / [测试](../src/services/tools-index.test.ts);[执行治理测试](../src/core/runtime/execution-runtime.test.ts) | 工具可发现不等于当前调用获准。业务接口还需验签,并重新检查主体、租户、权限和业务状态;声明不能赋予调用方原本没有的权力。 |
21
+ | Agent Auth:Core 绑定客户端会话,业务授权页提供可信身份 | Core v0.9.1 已包含 | [Agent Auth 契约](AGENT_AUTH_API.md);[路由源码](../src/routes/agent-auth.ts);[生命周期 HTTP 测试](../src/routes/agent-auth-lifecycle-http.test.ts) / [竞态测试](../src/infrastructure/config/config-agent-auth-lifecycle-race.test.ts) | PKCE、授权绑定、刷新和撤销有公开实现;不接管业务系统的登录、角色管理或最终授权,也不允许模型从文本指定可信主体。 |
22
+ | Agent Client Runtime:Core 提供工作区、turn、搜索和工具调用接口 | Core v0.9.1 已包含 | [Runtime API](AGENT_CLIENT_RUNTIME_API.md);[运行面源码](../src/app/agent-client-runtime.ts) / [测试](../src/app/agent-client-runtime.test.ts);[调用测试](../src/app/agent-tool-invocations.test.ts) | 本地 Agent 的模型选择、推理循环和工具编排由客户端宿主负责。Core 的原有 `/run` 管线是另一种公开接入路径,不能把两者混为同一客户端执行模式。 |
23
+ | 审批、原调用快照和只读回执:Core 治理,业务系统保留执行结果 | Core v0.9.1 已包含 | [只读回执与恢复](INVOCATION_RECEIPTS.md);[调用源码](../src/app/agent-tool-invocations.ts) / [测试](../src/app/agent-tool-invocations.test.ts);[审批账本测试](../src/infrastructure/config/config-approval-ledger.test.ts) | 原调用回执读取与可能继续业务的 resume 分开。未知结果不构成重发写操作的许可;没有历史参数时不能补造。审批本身不证明业务已成功,也不是分布式业务事务的回滚保证。 |
24
+ | 跨轮任务控制:Core 持久化原成员、写调用预算与并发占用 | Core v0.9.1 已包含(v0.8.0 引入) | [任务控制契约](AGENT_TASK_CONTROL.md);[运行面源码](../src/core/runtime/agent-task-control.ts) / [测试](../src/core/runtime/agent-task-control.test.ts);[MySQL 日志集成测试](../src/infrastructure/config/config-agent-task-control-journal-mysql.test.ts) | 这是受治理业务调用的控制,不是模型轮次套餐。写调用次数不等于退款金额、成功业务数或 Token 数;暂停/取消不能撤回已放行或已完成的业务效果。 |
25
+ | 可见对话审计:客户端显式上传,Core 校验成员和保存事件 | Core v0.9.1 已包含 | [对话审计契约](AGENT_CONVERSATION_AUDIT.md);[运行面测试](../src/core/runtime/agent-conversation-audit.test.ts) | 不采集隐藏推理。确认成员和具备写接口不证明宿主已上传全部历史;审计归档不合并业务授权、会话或运行时记忆。跨绑定仍受同一中枢及各自身份边界约束。 |
26
+ | 当前线程上下文和可选滚动摘要:Core 的路由/线程机制 | Core v0.9.1 已包含 | [记忆配置与渲染](../src/core/runtime/memory.ts);[线程注入源码](../src/core/runtime/memory-runtime.ts) / [测试](../src/core/runtime/memory-runtime.test.ts);[摘要测试](../src/core/runtime/summary-runtime.test.ts) | 摘要默认关闭,启用后仍按原线程读取。它不是完整的用户级跨新会话长期记忆模块;公开的可见对话审计也不会自动变成模型上下文。 |
27
+ | 附件空间:宿主提供获准图片,Core 上传并返回可用 URL | Core v0.9.1 已包含(v0.8.0 引入) | [图片附件契约](GENERATED_ARTIFACTS.md);[附件源码](../src/app/agent-artifacts.ts) / [测试](../src/app/agent-artifacts.test.ts) | 首期 PNG/JPEG/WebP,不接受文档或视频。存储和保留策略需运营者配置;Core 不能读取客户端文件系统。上传图片与使用 URL 改变业务是两个独立动作。 |
28
+ | 可选模型网关与美元额度结算:Core 接入、计量,客户端宿主编排 | Core v0.9.1 已包含 | [模型计费契约](MODEL_BILLING.md);[网关源码](../src/modules/usage/model-gateway.ts);[模型网关 MySQL 测试](../src/modules/usage/model-gateway.mysql.test.ts);[账本单元测试](../src/modules/usage/billing-ledger.test.ts) | 共享 USD 额度、统一倍率、周期售价与额度分离;不恢复按轮次/任务步数收费。参考价格不是供应商实际账单,原始 Token 不是额度分母。未取得权威 usage 的结果不能编造 Token 或费用。 |
29
+ | 模型工具目录、文生图和原请求核对:Core 的可选网关扩展 | Core v0.9.1 已包含 | [工具描述源码](../src/modules/usage/model-tools.ts) / [测试](../src/modules/usage/model-tools.test.ts);[供应商适配测试](../src/modules/usage/model-tool-provider.test.ts);[异步图片 MySQL 测试](../src/modules/usage/model-tool-gateway.mysql.test.ts) | 公开可执行适配器包括阿里云兼容 Images、原生 DashScope 与 OpenRouter Images。视频、语音或自定义服务的目录声明不等于存在可执行适配器;异步完成与关闭边界见下文。 |
30
+ | Kernel Host API、显式迁移和托管生命周期:Core 提供稳定嵌入入口,Host 管理进程与隔离 | Core v0.9.1 已包含 | [Kernel Host API](KERNEL_HOST_API.md);[Kernel 源码](../src/app/kernel.ts) / [测试](../src/app/kernel.test.ts);[制品清单测试](../src/kernel-api/v1/artifact.test.ts);[迁移测试](../src/infrastructure/schema/core-schema-migrator.test.ts) | 独立 MySQL schema 与 runtimeRoot、可信 instanceKey、显式迁移和 Host 的 tick/close 都是前提。此 API 不提供租户注册、平台套餐、集群目录或多副本升级编排;可选 usage 网关也不等于 Host 的平台计费产品。 |
31
+ | 安装、体检与可选运维指标:Core 提供入口,部署者配置和验收 | Core v0.9.1 已包含 | [快速开始](QUICKSTART.md);[安装脚本](../scripts/install.sh);[体检脚本](../scripts/smoke.ts);[OpenMetrics 测试](../src/core/observability/openmetrics.test.ts);[独立复现任务卡](INDEPENDENT_VALIDATION.md) | 健康响应不证明全部业务或供应商可用。指标端点需显式启用并保护访问;有安装/诊断入口不等于已建立持续监控、告警值守或完成特定部署验收。 |
32
+
33
+ ## 公开验证能说明什么
34
+
35
+ ### 单元、模拟与数据库测试
36
+
37
+ 上述测试可用于检查授权、冻结参数、幂等、未知结果、配额和生命周期等机制。带数据库的集成测试需要其公开 fixture 要求的专用测试配置;例如 usage MySQL 测试由 `BAILING_USAGE_TEST_MYSQL=1` 显式启用。只运行默认测试命令而出现 skip,不能据此声称已完成数据库验证。
38
+
39
+ 模拟供应商响应证明适配和协议处理在给定输入下的行为,不证明真实供应商的可用性、价格、模型质量或生产服务表现。包含真实 MySQL 的测试也不自动变成真实业务接入验收。
40
+
41
+ ### 公开 demo 与独立复现任务卡
42
+
43
+ [Docker Demo](DEMO.md) 与 [独立验证任务卡](INDEPENDENT_VALIDATION.md) 提供从 v0.9.1 安装、基础体检到 `npm run demo:e2e` 的公开路径。其订单、工单、退款和故障工具均为仓库 demo 数据;不需要真实模型 Key、客户接口或生产凭据。
44
+
45
+ 任务卡要求记录服务、控制台、匿名预览边界、基础体检和完整业务闭环的具体结果。README 的 demo 图像与动画展示同一公开样例,不能当作客户采用证据。任务卡存在也不意味着已有外部开发者完成验证;报告结果应保留验证者实际版本、环境、检查项和失败范围。
46
+
47
+ ### 正式 v0.9.0 的异步模型工具关闭限制
48
+
49
+ v0.9.0 的 [模型工具网关源码](https://github.com/bailinghub/bailinghub/blob/dae5260ede6565080d21e94ae63d52f3a7d23556/src/modules/usage/model-gateway.ts) 先持久化 provider 派发记录,再通过 `void complete().then(...)` 启动后台完成与结算,立即返回原请求状态。[Kernel 的关闭源码](https://github.com/bailinghub/bailinghub/blob/dae5260ede6565080d21e94ae63d52f3a7d23556/src/app/kernel.ts) 显式等待初始化、托管维护、HTTP、InHub、执行队列及资源关闭,但没有把这段 usage 模型工具 continuation 显式登记为独立的 drain 对象。
50
+
51
+ 因此,v0.9.0 中的异步图片请求/原标识恢复测试不能被扩展为“所有 provider 完成都已经纳入 Kernel 关闭验收”。修复之前的公开主分支 [`728899e`](https://github.com/bailinghub/bailinghub/tree/728899e88d89f0ec333684a56640c12154970327) 也有同一源码边界。本页不据此断言已发生数据丢失或重复业务效果。
52
+
53
+ ### Core v0.9.1 的关闭修复与证据范围
54
+
55
+ Core v0.9.1 增加了每个 `UsageRepository` 独立拥有的 [后台工作登记器](../src/modules/usage/background-work.ts),并在 [Kernel 关闭路径](../src/app/kernel.ts) 的资源关闭前排空。模型工具完成及其晚登记的结算子工作、普通模型响应后的结算、按流量触发的响应清理/usage 核对,以及参考价格刷新到持久化结束,均有实际登记接线。停止新工作、共享关闭时限和超时后同实例重试语义见 [Kernel Host API](KERNEL_HOST_API.md)。原请求的 HTTP 202 与恢复标识不变;关闭等待不发起新的供应商请求,也不改变业务审批权限。
56
+
57
+ 新增 [登记器单元测试](../src/modules/usage/background-work.test.ts) 检查先登记后启动、动态子工作、维护停止、超时重试、owner 隔离和失败诊断边界;owner 单测不等于实际多 Kernel 验证。[Kernel + MySQL 生命周期测试](../src/app/kernel-usage-lifecycle.mysql.test.ts) 使用实际 Kernel、独立测试 schema 和合成供应商,公开断言覆盖延迟完成/晚登记结算、SQL 锁等待、超时保留资源与同实例重试、两个 Kernel 的原标识/资源隔离、普通文本结果交付后结算仍阻挡关闭,以及 standalone shutdown 排空后退出。响应清理与 usage 核对分别有单独阻挡关闭的用例,参考价格刷新覆盖到持久化及新维护停止;结算失败保留原结果/durable pending、后续核对不重派、诊断不带原错误,以及原请求单次派发/单条结算记录也有断言。数据库入口显式依赖 `BAILING_USAGE_TEST_MYSQL=1`;源码与断言不能代替实际测试结果,也不证明真实供应商、进程崩溃恢复或生产部署已验收。
58
+
59
+ 这项修复从 **Core v0.9.1** 提供,不回写 v0.9.0 Tag 的历史保证,也不证明某个宿主已升级或部署。后台工作失败后可能留下 durable pending/unknown 证据;排空完成不等于每条计费记录必然 settled,更不是完整故障恢复或安全保证。
60
+
61
+ ## v0.9.1 纳入的通用安全治理
62
+
63
+ 与 v0.9.0 相比,v0.9.1 纳入此前主分支新增或调整的 [安全自评](https://github.com/bailinghub/bailinghub/blob/v0.9.1/SECURITY_SELF_ASSESSMENT.md)、[中文安全自评](https://github.com/bailinghub/bailinghub/blob/v0.9.1/SECURITY_SELF_ASSESSMENT.zh-CN.md)、[Security Insights 元数据](https://github.com/bailinghub/bailinghub/blob/v0.9.1/security-insights.yml)、[依赖审计脚本](../scripts/dependency-audit.mjs) 及其 [测试](../scripts/dependency-audit.test.mjs),以及 CI、依赖更新和包/镜像排除配置。这些是公开仓治理证据,不是新的业务运行面功能,也不是对全部控制通过的声明。自评与安全元数据不进入 npm 运行包和 Docker 构建内容;自评所注明的评估基线保持原样。
64
+
65
+ 版本字段和本页不能替代具体制品校验。评价 npm、镜像或源码 Tag 时,应核验各自提交、制品和验证结果;从 Core 版本也不能推导独立适配层或宿主的发布状态。
66
+
67
+ ## 独立组件与非 Core 范围
68
+
69
+ - [MCP Server 与 Agent Client SDK](https://github.com/bailinghub/bailinghub-mcp-server)、[DeepSeek Harness 社区插件](https://github.com/bailinghub/bailinghub-dsh-plugin)、[n8n 社区节点](https://github.com/bailinghub/bailinghub-n8n-node) 和 [执行器/OpenClaw 适配](https://github.com/bailinghub/bailinghub-openclaw-skill) 是独立项目或适配层,消费 Core 公共接口。它们有自己的版本、配置和验证,不进入 Core 发行包,也不代表上游认证、背书或采用。
70
+ - 本地宿主负责模型循环、客户端凭据保存、界面与获准文件来源;业务系统负责真实执行、权限与业务不变量;独立 Host 负责其平台身份、租户目录、隔离和进程/升级编排。只按 [Agent Client 接入指南](AGENT_CLIENT_QUICKSTART.md) 和 [Kernel Host API](KERNEL_HOST_API.md) 判断接口责任,不从 Core 的测试推导这些外部实现已完成或已部署。
71
+ - 完整用户级长期记忆、未具备执行适配器的媒体工具、未经本页所列公开路径验证的真实供应商/业务系统,均不能写成这里的已验证能力。本索引没有为这些范围建立新的产品时间表。
72
+
73
+ 后续修改应同步本页与英文版,保留正式 Tag 与主分支的区别;只有对应的公开证据改变后,才更新具体能力的发行状态或验证范围。
@@ -7,7 +7,7 @@ It is not certification, a benchmark, or evidence of production adoption. Passin
7
7
  ## Scope
8
8
 
9
9
  - Target: the open-source BailingHub Docker demo;
10
- - Stable baseline: `v0.9.0`;
10
+ - Stable baseline: `v0.9.1`;
11
11
  - Data: the bundled demo orders, tickets, refunds, and failure probe;
12
12
  - Expected time: about 20 minutes after images and dependencies are available;
13
13
  - Not required: a real model key, production API, production credential, or real business data.
@@ -32,7 +32,7 @@ curl -fsSL https://www.bailinghub.com/install.sh | sh
32
32
  cd "$HOME/bailinghub"
33
33
  ```
34
34
 
35
- The installer pulls the official `v0.9.0` images by default, generates random tokens and an admin password, starts the services, and runs the smoke test. The initial administrator is created only when the administrator table is empty; restarting, upgrading, recreating containers, or reinstalling against the same persistent database does not overwrite a changed password. The optional `/metrics` endpoint remains disabled and does not affect core validation. Keep the reported version, install mode, elapsed time, and the commands printed under `常用命令`, but never include passwords or tokens in your report. After Docker is installed, the current non-root login usually still needs the printed `sudo docker compose ...` commands; Docker group membership may not take effect until the next login.
35
+ The installer pulls the official `v0.9.1` images by default, generates random tokens and an admin password, starts the services, and runs the smoke test. The initial administrator is created only when the administrator table is empty; restarting, upgrading, recreating containers, or reinstalling against the same persistent database does not overwrite a changed password. The optional `/metrics` endpoint remains disabled and does not affect core validation. Keep the reported version, install mode, elapsed time, and the commands printed under `常用命令`, but never include passwords or tokens in your report. After Docker is installed, the current non-root login usually still needs the printed `sudo docker compose ...` commands; Docker group membership may not take effect until the next login.
36
36
 
37
37
  If the default directory is already in use, choose a new empty directory instead of overwriting an existing deployment:
38
38
 
@@ -46,7 +46,7 @@ cd "$HOME/bailinghub-validation"
46
46
  ### Path B: local source reproduction
47
47
 
48
48
  ```bash
49
- git clone --depth 1 --branch v0.9.0 https://github.com/bailinghub/bailinghub.git
49
+ git clone --depth 1 --branch v0.9.1 https://github.com/bailinghub/bailinghub.git
50
50
  cd bailinghub
51
51
  git rev-parse HEAD
52
52
  export BAILING_TOKEN="$(openssl rand -hex 32)"
@@ -167,7 +167,7 @@ After the core task passes, you may continue with:
167
167
  - [Trusted rich rendering and chat reliability](RELEASE_NOTES_v0.1.15.en.md).
168
168
  - [Bounded tool runtime and resilient semantic retrieval](RELEASE_NOTES_v0.1.16.en.md).
169
169
  - [Composable Core and Kernel Host API v1](RELEASE_NOTES_v0.3.0.en.md).
170
- - [Current stable release notes](RELEASE_NOTES_v0.9.0.en.md).
170
+ - [Current stable release notes](RELEASE_NOTES_v0.9.1.en.md).
171
171
 
172
172
  Select the relevant track in the same Issue form and disclose whether you received direct maintainer assistance.
173
173