@dsh-ray/assistant-verifier 0.3.4 → 0.3.5

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/README.md CHANGED
@@ -13,9 +13,9 @@ dsh plugin --profile web add @dsh-ray/assistant-verifier
13
13
  dsh --profile web --dump-config
14
14
  ```
15
15
 
16
- 程序化 `AssistantVerifierService.Config` schema 与随包发布的 `cordis.patch.yml` 均默认启用 `requireAcceptance: true`(保持 fail-closed:已支持的 Host 入口必须在提交任务前取得匹配的验收契约,缺少 owner 身份或匹配 profile 会阻止该次提交,除非部署显式配置 `requireAcceptance: false`);`sourceReviews` / `memoryReviews` / `creationReviews` / `revisionReviews` / `revisionRegressions` 评审套件与显式目标契约同样继续强制独立验收。显式设置 `requireAcceptance: false` 时,没有匹配 profile 的任务继续原有执行路径,其结果不会由本插件授予可信成功。它不拦截第三方绕过 Host 入口的任意代码。
16
+ 程序化 `AssistantVerifierService.Config` schema 默认启用 `requireAcceptance: true`(代码直接实例化且未传入覆盖值时保持 fail-closed:已支持的 Host 入口必须在提交任务前取得匹配的验收契约,缺少 owner 身份或匹配 profile 会阻止该次提交)。随包发布的 `cordis.patch.yml` 默认携带 `profiles: []` 与 `requireAcceptance: false`,因为尚未配置静态 `foreground-turn` profile 时,普通日常对话不应被预置任务场景阻塞;`sourceReviews` / `memoryReviews` / `creationReviews` / `revisionReviews` / `revisionRegressions` 评审套件与显式目标契约仍继续强制独立验收。显式设置 `requireAcceptance: false` 时,没有匹配 profile 的任务继续原有执行路径,其结果不会由本插件授予可信成功。它不拦截第三方绕过 Host 入口的任意代码。
17
17
 
18
- > **注意**:`Config` 与 `cordis.patch.yml` 默认均开启 `requireAcceptance: true`。在代码或部署 fixture 中若同容器挂载了 `assistantDelivery` / `assistantAutomations` / `assistantGoals` 且 `profiles: []`,未匹配的任务会在 `prepare()` 阶段 fail-closed 拒绝提交;仅在明确需要跳过普通任务强制验收的受控测试或显式退出的配置中传递 `requireAcceptance: false`。
18
+ > **注意**:在代码中直接实例化 `AssistantVerifierService` 仅用于 `memoryReviews` 或尚未配置匹配 Host-approved `profiles`(如 `profiles: []`)的部署与测试 fixture,若同容器挂载了 `assistantDelivery` / `assistantAutomations` / `assistantGoals`,程序化 `Config` 默认 `requireAcceptance: true` 仍会在 `prepare()` 阶段 fail-closed 拒绝任务提交;此类场景须显式传递 `requireAcceptance: false` 或配置匹配的 `profiles`。
19
19
 
20
20
  本包接入 Delivery 的普通前台 AgentLoop 任务,以及 Automations 的 production AgentLoop 任务,原始目标分别来自入站文字与已批准 definition 的 prompt。`/stop` 等控制命令、preview 和独立的 Host runbook executor 不在这个入口范围;它们继续使用各自的执行协议。Host runbook 没有原始用户 prompt,不能用生成的文字冒充其目标契约;该类执行也不能作为行为学习的目标样本。
21
21
 
package/cordis.patch.yml CHANGED
@@ -5,5 +5,5 @@
5
5
  tickIntervalMs: 5000
6
6
  authorities: []
7
7
  profiles: []
8
- # Mandatory ordinary-task acceptance by default (fail-closed unless explicitly opted out via requireAcceptance: false).
9
- requireAcceptance: true
8
+ # Bundled patch ships profiles: [] (no static foreground-turn profiles); ordinary chat must not be blocked on preconfigured task scenarios.
9
+ requireAcceptance: false
package/lib/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const version = "0.3.4";
1
+ export declare const version = "0.3.5";
2
2
  //# sourceMappingURL=version.d.ts.map
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const version = '0.3.4';
1
+ export const version = '0.3.5';
2
2
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dsh-ray/assistant-verifier",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "Independent, bounded task acceptance verification with durable contracts and receipts.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -128,16 +128,16 @@
128
128
  "@types/node": "22.20.0",
129
129
  "typescript": "6.0.3",
130
130
  "vitest": "4.1.8",
131
- "@dsh-ray/assistant-automations": "0.3.4",
132
- "@dsh-ray/assistant-evaluation": "0.3.4",
133
- "@dsh-ray/assistant-delivery": "0.3.4",
134
- "@dsh-ray/assistant-policy": "0.3.4"
131
+ "@dsh-ray/assistant-automations": "0.3.5",
132
+ "@dsh-ray/assistant-evaluation": "0.3.5",
133
+ "@dsh-ray/assistant-delivery": "0.3.5",
134
+ "@dsh-ray/assistant-policy": "0.3.5"
135
135
  },
136
136
  "dependencies": {
137
137
  "@deepseek-ai/schemastery": "3.19.0",
138
- "@dsh-ray/assistant-isolation": "0.3.4",
139
- "@dsh-ray/assistant-growth-contract": "0.3.4",
140
- "@dsh-ray/task-acceptance-contract": "0.3.4"
138
+ "@dsh-ray/assistant-growth-contract": "0.3.5",
139
+ "@dsh-ray/task-acceptance-contract": "0.3.5",
140
+ "@dsh-ray/assistant-isolation": "0.3.5"
141
141
  },
142
142
  "scripts": {
143
143
  "build": "tsc -p tsconfig.build.json",