@kyo-so/cli 0.5.0 → 0.6.0
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/CHANGELOG.md +29 -0
- package/README.ja.md +42 -23
- package/README.md +42 -23
- package/README.zh-CN.md +42 -23
- package/dist/bin/kyoso.js +1565 -204
- package/dist/cli/doctor.d.ts +1 -0
- package/dist/config/loadConfig.d.ts +8 -0
- package/dist/config/projectScope.d.ts +15 -0
- package/dist/config/schema.d.ts +3 -0
- package/dist/config/tomlConfigLoader.d.ts +1 -0
- package/dist/core/constants.d.ts +1 -1
- package/dist/index.js +1449 -121
- package/examples/claude-only.toml +2 -0
- package/examples/codex-only.toml +2 -0
- package/examples/kyoso.toml +11 -0
- package/package.json +2 -1
- package/examples/claude-only.config.ts +0 -9
- package/examples/codex-only.config.ts +0 -9
- package/examples/kyoso.config.ts +0 -22
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.6.0] - 2026-07-08
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- TOML config loading with XDG user-global layering:
|
|
15
|
+
`$XDG_CONFIG_HOME/kyoso/config.toml` or `~/.config/kyoso/config.toml`, then
|
|
16
|
+
project `kyoso.toml`.
|
|
17
|
+
- Unknown-key detection for user-global `config.toml`; security-sensitive
|
|
18
|
+
unknown settings fail closed by default, with `--allow-unknown-config` as an
|
|
19
|
+
explicit opt-out.
|
|
20
|
+
- Project TOML scope validation for repository-owned settings, including
|
|
21
|
+
additive `workspace.deny` and tightening-only security/network keys.
|
|
22
|
+
- `kyoso doctor` now reports global, project TOML, and legacy TypeScript config
|
|
23
|
+
layers.
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- `kyoso init` now writes `kyoso.toml`.
|
|
28
|
+
- `--config` now fails when the specified file does not exist.
|
|
29
|
+
- Default Claude agent timeout raised from 240s to 300s; dogfooding traces
|
|
30
|
+
showed frequent reviews truncated at the previous limit.
|
|
31
|
+
- Repository dogfooding config and examples now use TOML.
|
|
32
|
+
|
|
33
|
+
### Deprecated
|
|
34
|
+
|
|
35
|
+
- `kyoso.config.ts` remains supported through the existing trust flow, but emits
|
|
36
|
+
a deprecation warning. When both `kyoso.toml` and `kyoso.config.ts` exist,
|
|
37
|
+
TOML takes precedence.
|
|
38
|
+
|
|
10
39
|
## [0.5.0] - 2026-07-08
|
|
11
40
|
|
|
12
41
|
### Added
|
package/README.ja.md
CHANGED
|
@@ -10,6 +10,10 @@ Kyo-so (Kyoso / 協奏) は、AI coding workflow 向けの MCP-native、ACP-powe
|
|
|
10
10
|
|
|
11
11
|
「協奏」という名前には、複数の独立した奏者がそれぞれの役割を保ちながら、ひとつの成果をつくるという意味を込めています。
|
|
12
12
|
|
|
13
|
+
<p align="center">
|
|
14
|
+
<img src="https://raw.githubusercontent.com/hokupod/kyoso/main/docs/assets/kyoso-ensemble.png" alt="指揮者がドラマー・バイオリニスト・ピアニストをまとめる様子" width="480">
|
|
15
|
+
</p>
|
|
16
|
+
|
|
13
17
|
Kyo-so は Codex と Claude の reviewer を連携させ、次のレビューを行います。
|
|
14
18
|
|
|
15
19
|
- implementation plan review
|
|
@@ -24,7 +28,7 @@ Kyoso はコード変更を適用しません。
|
|
|
24
28
|
|
|
25
29
|
### Claude Only / Codex Only
|
|
26
30
|
|
|
27
|
-
Kyoso は Claude だけ、または Codex だけでも実行できます。利用できない backend は `kyoso.
|
|
31
|
+
Kyoso は Claude だけ、または Codex だけでも実行できます。利用できない backend は `kyoso.toml` で無効化してください。例は `examples/claude-only.toml` と `examples/codex-only.toml` にあります。
|
|
28
32
|
|
|
29
33
|
single-agent mode では、残った backend が `combined_reviewer` として 1 回だけ実行され、implementation と architecture/security の両方を確認します。JSON output には `reviewMode: "single_agent"` と `agentsUsed` が入り、Markdown output には cross-model verification が行われていないことと disagreements が N/A であることを表示します。
|
|
30
34
|
|
|
@@ -229,17 +233,14 @@ Kyoso は subprocesses の起動に必要な最小限の runtime env も forward
|
|
|
229
233
|
|
|
230
234
|
`agents.<name>.model` を省略すると、各 agent 独自の default を使用します。Codex は `~/.codex/config.toml` などの local Codex config を使用し、Claude は adapter default を使用します。
|
|
231
235
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
},
|
|
241
|
-
},
|
|
242
|
-
});
|
|
236
|
+
指定できる model 名は [Claude models overview](https://platform.claude.com/docs/en/about-claude/models/overview) と [Codex models](https://developers.openai.com/codex/models) を参照してください。
|
|
237
|
+
|
|
238
|
+
```toml
|
|
239
|
+
[agents.codex]
|
|
240
|
+
model = "gpt-5.5"
|
|
241
|
+
|
|
242
|
+
[agents.claude]
|
|
243
|
+
model = "claude-sonnet-5"
|
|
243
244
|
```
|
|
244
245
|
|
|
245
246
|
Kyoso は model pins を adapter-supported configuration に mapping します。
|
|
@@ -261,21 +262,39 @@ Raw agent output と raw file contents は既定で無効です。
|
|
|
261
262
|
|
|
262
263
|
## Config
|
|
263
264
|
|
|
264
|
-
|
|
265
|
+
Kyoso は次の順に config を load します。
|
|
266
|
+
|
|
267
|
+
- built-in defaults
|
|
268
|
+
- user global TOML: `$XDG_CONFIG_HOME/kyoso/config.toml`、または `~/.config/kyoso/config.toml`
|
|
269
|
+
- project TOML: `<cwd>/kyoso.toml`
|
|
270
|
+
- `--network` などの CLI flags
|
|
271
|
+
|
|
272
|
+
Project `kyoso.toml` は declarative で、trust approval は不要です。tools toggles、agent `enabled` / `model` / `role` / `timeoutMs`、workspace byte limits と additive `workspace.deny`、verification settings、advisory judge settings、tightening-only security/network settings を設定できます。
|
|
265
273
|
|
|
266
|
-
|
|
274
|
+
Global TOML は command 実行や env forwarding を含む user-owned settings 用です。
|
|
275
|
+
|
|
276
|
+
```toml
|
|
277
|
+
[agents.codex]
|
|
278
|
+
command = "bunx"
|
|
279
|
+
args = ["@agentclientprotocol/codex-acp"]
|
|
280
|
+
|
|
281
|
+
[agents.codex.env]
|
|
282
|
+
CODEX_CONFIG = '{"model":"gpt-5.5"}'
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
`kyoso.config.ts` は deprecated ですが、互換性のため引き続き supported です。trust-on-first-use approval の後にのみ load され、trusted hashes は `~/.kyoso/trusted-configs.json` に保存されます。`kyoso.toml` と `kyoso.config.ts` が両方ある場合、Kyoso は TOML を使用し TypeScript config を無視します。
|
|
267
286
|
|
|
268
287
|
Default agent timeouts は Codex 120 秒、Claude 240 秒です。MCP clients は tool calls に少なくとも 360 秒を許可してください。`verification.enabled` が true の場合、Kyoso は追加の cross-agent verification round を実行することがあるため、少なくとも 480 秒を許可してください。
|
|
269
288
|
|
|
270
289
|
Optional finding verification は default で disabled です:
|
|
271
290
|
|
|
272
|
-
```
|
|
273
|
-
verification
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
291
|
+
```toml
|
|
292
|
+
[verification]
|
|
293
|
+
enabled = false
|
|
294
|
+
maxFindings = 5
|
|
295
|
+
timeoutMs = 90000
|
|
296
|
+
# global config only; project kyoso.toml cannot set this
|
|
297
|
+
allowDemotion = false
|
|
279
298
|
```
|
|
280
299
|
|
|
281
300
|
Enabled の場合、Kyoso は high/critical かつ single-source の各 finding について、その finding を報告していない agent に反証を試みさせます。Phase 1 は annotate-only です。verification は finding confidence と notes を更新できますが、severity や final decision は変更しません。`allowDemotion` は future opt-in phase 用に予約されており、現時点では no-op です。
|
|
@@ -293,7 +312,7 @@ Subscription-only setup:
|
|
|
293
312
|
- Codex: local `codex` login を使用
|
|
294
313
|
- Claude: `claude setup-token` を実行し、`CLAUDE_CODE_OAUTH_TOKEN` を設定
|
|
295
314
|
- Judge: API keys を設定しないことで、Kyoso は `deterministic_fallback` を使用
|
|
296
|
-
- `OPENAI_API_KEY` が存在するときに OpenAI judge calls を避けるには、`
|
|
315
|
+
- `OPENAI_API_KEY` が存在するときに OpenAI judge calls を避けるには、`judge.provider = "none"` を設定
|
|
297
316
|
|
|
298
317
|
Team admins は organization Usage credits も確認してください。Credits が有効な場合、subscription limits を超える billing behavior は Kyoso の外側で制御されます。
|
|
299
318
|
|
|
@@ -301,7 +320,7 @@ Team admins は organization Usage credits も確認してください。Credits
|
|
|
301
320
|
|
|
302
321
|
- MCP timeout: client tool timeouts を少なくとも 360 秒、`verification.enabled` が true の場合は少なくとも 480 秒に設定してください。Kyoso defaults は Codex 120 秒、Claude 240 秒、verification 90 秒です。
|
|
303
322
|
- Fresh npm release: safe-chain などの minimum-package-age protection により、publish 直後は `npx @kyo-so/cli` の解決が一時的に block される場合があります。
|
|
304
|
-
-
|
|
323
|
+
- Deprecated TypeScript config: `--trust-config` を渡さない限り、untrusted `kyoso.config.ts` は skip されます。新規設定は `kyoso.toml` を使ってください。
|
|
305
324
|
|
|
306
325
|
## Development
|
|
307
326
|
|
package/README.md
CHANGED
|
@@ -8,6 +8,10 @@ Kyo-so (Kyoso / 協奏) is an MCP-native, ACP-powered multi-agent review gate fo
|
|
|
8
8
|
|
|
9
9
|
The Japanese word 協奏 translates to concerto in English: multiple independent players performing one coordinated piece.
|
|
10
10
|
|
|
11
|
+
<p align="center">
|
|
12
|
+
<img src="https://raw.githubusercontent.com/hokupod/kyoso/main/docs/assets/kyoso-ensemble.png" alt="A conductor coordinating a drummer, a violinist, and a pianist" width="480">
|
|
13
|
+
</p>
|
|
14
|
+
|
|
11
15
|
It coordinates Codex and Claude reviewers for:
|
|
12
16
|
|
|
13
17
|
- implementation plan review
|
|
@@ -22,7 +26,7 @@ No global install is required. Run Kyoso through `npx` or `bunx`.
|
|
|
22
26
|
|
|
23
27
|
### Claude Only / Codex Only
|
|
24
28
|
|
|
25
|
-
Kyoso can run when only Claude or only Codex is available. Disable the missing backend in `kyoso.
|
|
29
|
+
Kyoso can run when only Claude or only Codex is available. Disable the missing backend in `kyoso.toml` using `examples/claude-only.toml` or `examples/codex-only.toml`.
|
|
26
30
|
|
|
27
31
|
In single-agent mode, the remaining backend runs once as `combined_reviewer` and covers both implementation and architecture/security focus areas. JSON output includes `reviewMode: "single_agent"` and `agentsUsed`; Markdown output states that cross-model verification was not performed and marks disagreements as N/A.
|
|
28
32
|
|
|
@@ -230,17 +234,14 @@ Kyoso also forwards minimal runtime env needed to launch subprocesses: `PATH`, `
|
|
|
230
234
|
|
|
231
235
|
Omit `agents.<name>.model` to use each agent's own default. Codex uses the local Codex config, such as `~/.codex/config.toml`; Claude uses the adapter default.
|
|
232
236
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
},
|
|
242
|
-
},
|
|
243
|
-
});
|
|
237
|
+
For available model names, see the [Claude models overview](https://platform.claude.com/docs/en/about-claude/models/overview) and the [Codex models list](https://developers.openai.com/codex/models).
|
|
238
|
+
|
|
239
|
+
```toml
|
|
240
|
+
[agents.codex]
|
|
241
|
+
model = "gpt-5.5"
|
|
242
|
+
|
|
243
|
+
[agents.claude]
|
|
244
|
+
model = "claude-sonnet-5"
|
|
244
245
|
```
|
|
245
246
|
|
|
246
247
|
Kyoso maps model pins to adapter-supported configuration:
|
|
@@ -262,21 +263,39 @@ Keep `.kyoso/traces/` out of Git. `kyoso init` adds `.kyoso/` to `.gitignore`, a
|
|
|
262
263
|
|
|
263
264
|
## Config
|
|
264
265
|
|
|
265
|
-
|
|
266
|
+
Kyoso loads config in this order:
|
|
267
|
+
|
|
268
|
+
- built-in defaults
|
|
269
|
+
- user global TOML: `$XDG_CONFIG_HOME/kyoso/config.toml`, or `~/.config/kyoso/config.toml`
|
|
270
|
+
- project TOML: `<cwd>/kyoso.toml`
|
|
271
|
+
- CLI flags such as `--network`
|
|
272
|
+
|
|
273
|
+
Project `kyoso.toml` is declarative and does not require trust approval. It can set safe project-scoped keys such as tool toggles, agent `enabled` / `model` / `role` / `timeoutMs`, workspace byte limits and additive `workspace.deny`, verification settings, advisory judge settings, and tightening-only security/network settings.
|
|
266
274
|
|
|
267
|
-
|
|
275
|
+
Global TOML is for user-owned settings that can launch commands or forward environment variables:
|
|
276
|
+
|
|
277
|
+
```toml
|
|
278
|
+
[agents.codex]
|
|
279
|
+
command = "bunx"
|
|
280
|
+
args = ["@agentclientprotocol/codex-acp"]
|
|
281
|
+
|
|
282
|
+
[agents.codex.env]
|
|
283
|
+
CODEX_CONFIG = '{"model":"gpt-5.5"}'
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
`kyoso.config.ts` is deprecated but still supported for compatibility. It is loaded only after trust-on-first-use approval; trusted hashes are stored in `~/.kyoso/trusted-configs.json`. If both `kyoso.toml` and `kyoso.config.ts` exist, Kyoso uses TOML and ignores the TypeScript config.
|
|
268
287
|
|
|
269
288
|
Default agent timeouts are Codex 120 seconds and Claude 240 seconds. MCP clients should allow at least 360 seconds for tool calls. If `verification.enabled` is true, allow at least 480 seconds because Kyoso may run an additional cross-agent verification round.
|
|
270
289
|
|
|
271
290
|
Optional finding verification is disabled by default:
|
|
272
291
|
|
|
273
|
-
```
|
|
274
|
-
verification
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
292
|
+
```toml
|
|
293
|
+
[verification]
|
|
294
|
+
enabled = false
|
|
295
|
+
maxFindings = 5
|
|
296
|
+
timeoutMs = 90000
|
|
297
|
+
# global config only; project kyoso.toml cannot set this
|
|
298
|
+
allowDemotion = false
|
|
280
299
|
```
|
|
281
300
|
|
|
282
301
|
When enabled, Kyoso asks the agent that did not report each high/critical single-source finding to try to refute it. Phase 1 is annotate-only: verification can update finding confidence and notes, but it does not change severity or the final decision. `allowDemotion` is reserved for a future opt-in phase and is currently a no-op.
|
|
@@ -294,7 +313,7 @@ Subscription-only setup:
|
|
|
294
313
|
- Codex: use local `codex` login
|
|
295
314
|
- Claude: run `claude setup-token`, then set `CLAUDE_CODE_OAUTH_TOKEN`
|
|
296
315
|
- Judge: set no API keys, so Kyoso uses `deterministic_fallback`
|
|
297
|
-
- To avoid OpenAI judge calls when `OPENAI_API_KEY` is present, set `
|
|
316
|
+
- To avoid OpenAI judge calls when `OPENAI_API_KEY` is present, set `judge.provider = "none"`
|
|
298
317
|
|
|
299
318
|
Team admins should also check organization Usage credits. If credits are enabled, billing behavior beyond subscription limits is controlled outside Kyoso.
|
|
300
319
|
|
|
@@ -302,7 +321,7 @@ Team admins should also check organization Usage credits. If credits are enabled
|
|
|
302
321
|
|
|
303
322
|
- MCP timeout: set client tool timeouts to at least 360 seconds, or at least 480 seconds when `verification.enabled` is true. Kyoso defaults are Codex 120 seconds, Claude 240 seconds, and verification 90 seconds.
|
|
304
323
|
- Fresh npm release: minimum-package-age protection in tools such as safe-chain may briefly block `npx @kyo-so/cli` resolution after publish.
|
|
305
|
-
-
|
|
324
|
+
- Deprecated TypeScript config: untrusted `kyoso.config.ts` is skipped unless you pass `--trust-config`; prefer `kyoso.toml`.
|
|
306
325
|
|
|
307
326
|
## Development
|
|
308
327
|
|
package/README.zh-CN.md
CHANGED
|
@@ -10,6 +10,10 @@ Kyo-so (Kyoso / 協奏) 是面向 AI coding workflows 的 MCP-native、ACP-power
|
|
|
10
10
|
|
|
11
11
|
日语词「協奏」在英语中可译为 concerto:多个独立演奏者各司其职,共同完成一部协调的作品。
|
|
12
12
|
|
|
13
|
+
<p align="center">
|
|
14
|
+
<img src="https://raw.githubusercontent.com/hokupod/kyoso/main/docs/assets/kyoso-ensemble.png" alt="指挥家协调鼓手、小提琴手和钢琴家" width="480">
|
|
15
|
+
</p>
|
|
16
|
+
|
|
13
17
|
它会协调 Codex 和 Claude reviewers,用于:
|
|
14
18
|
|
|
15
19
|
- implementation plan review
|
|
@@ -24,7 +28,7 @@ Kyoso 不会应用代码更改。
|
|
|
24
28
|
|
|
25
29
|
### Claude Only / Codex Only
|
|
26
30
|
|
|
27
|
-
Kyoso 可以在只有 Claude 或只有 Codex 可用时运行。请在 `kyoso.
|
|
31
|
+
Kyoso 可以在只有 Claude 或只有 Codex 可用时运行。请在 `kyoso.toml` 中禁用缺失的 backend;示例见 `examples/claude-only.toml` 和 `examples/codex-only.toml`。
|
|
28
32
|
|
|
29
33
|
在 single-agent mode 中,剩余 backend 会以 `combined_reviewer` 运行一次,同时覆盖 implementation 和 architecture/security 两类关注点。JSON output 会包含 `reviewMode: "single_agent"` 和 `agentsUsed`;Markdown output 会说明未执行 cross-model verification,并将 disagreements 标记为 N/A。
|
|
30
34
|
|
|
@@ -229,17 +233,14 @@ Kyoso 还会 forward 启动 subprocesses 所需的最小 runtime env:`PATH`, `
|
|
|
229
233
|
|
|
230
234
|
省略 `agents.<name>.model` 时,会使用各 agent 自身的 default。Codex 使用 local Codex config,例如 `~/.codex/config.toml`;Claude 使用 adapter default。
|
|
231
235
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
},
|
|
241
|
-
},
|
|
242
|
-
});
|
|
236
|
+
可指定的 model 名称请参阅 [Claude models overview](https://platform.claude.com/docs/en/about-claude/models/overview) 与 [Codex models](https://developers.openai.com/codex/models)。
|
|
237
|
+
|
|
238
|
+
```toml
|
|
239
|
+
[agents.codex]
|
|
240
|
+
model = "gpt-5.5"
|
|
241
|
+
|
|
242
|
+
[agents.claude]
|
|
243
|
+
model = "claude-sonnet-5"
|
|
243
244
|
```
|
|
244
245
|
|
|
245
246
|
Kyoso 会将 model pins 映射到 adapter-supported configuration:
|
|
@@ -261,21 +262,39 @@ Raw agent output 和 raw file contents 默认禁用。
|
|
|
261
262
|
|
|
262
263
|
## Config
|
|
263
264
|
|
|
264
|
-
|
|
265
|
+
Kyoso 按以下顺序 load config:
|
|
266
|
+
|
|
267
|
+
- built-in defaults
|
|
268
|
+
- user global TOML: `$XDG_CONFIG_HOME/kyoso/config.toml`,或 `~/.config/kyoso/config.toml`
|
|
269
|
+
- project TOML: `<cwd>/kyoso.toml`
|
|
270
|
+
- `--network` 等 CLI flags
|
|
271
|
+
|
|
272
|
+
Project `kyoso.toml` 是 declarative config,不需要 trust approval。它可以设置 tools toggles、agent `enabled` / `model` / `role` / `timeoutMs`、workspace byte limits 和 additive `workspace.deny`、verification settings、advisory judge settings,以及 tightening-only security/network settings。
|
|
265
273
|
|
|
266
|
-
|
|
274
|
+
Global TOML 用于 user-owned settings,包括 command 启动和 env forwarding。
|
|
275
|
+
|
|
276
|
+
```toml
|
|
277
|
+
[agents.codex]
|
|
278
|
+
command = "bunx"
|
|
279
|
+
args = ["@agentclientprotocol/codex-acp"]
|
|
280
|
+
|
|
281
|
+
[agents.codex.env]
|
|
282
|
+
CODEX_CONFIG = '{"model":"gpt-5.5"}'
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
`kyoso.config.ts` 已 deprecated,但为了兼容仍然 supported。它只会在 trust-on-first-use approval 之后 load;trusted hashes 保存在 `~/.kyoso/trusted-configs.json`。如果 `kyoso.toml` 和 `kyoso.config.ts` 同时存在,Kyoso 使用 TOML 并忽略 TypeScript config。
|
|
267
286
|
|
|
268
287
|
Default agent timeouts 是 Codex 120 秒、Claude 240 秒。MCP clients 应允许 tool calls 至少运行 360 秒。如果 `verification.enabled` 为 true,Kyoso 可能会运行额外的 cross-agent verification round,因此建议至少允许 480 秒。
|
|
269
288
|
|
|
270
289
|
Optional finding verification 默认 disabled:
|
|
271
290
|
|
|
272
|
-
```
|
|
273
|
-
verification
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
291
|
+
```toml
|
|
292
|
+
[verification]
|
|
293
|
+
enabled = false
|
|
294
|
+
maxFindings = 5
|
|
295
|
+
timeoutMs = 90000
|
|
296
|
+
# global config only; project kyoso.toml cannot set this
|
|
297
|
+
allowDemotion = false
|
|
279
298
|
```
|
|
280
299
|
|
|
281
300
|
启用后,Kyoso 会让没有报告该 finding 的 agent 对 high/critical 且 single-source 的 finding 尝试反驳。Phase 1 是 annotate-only:verification 可以更新 finding confidence 和 notes,但不会改变 severity 或 final decision。`allowDemotion` 为未来的 opt-in phase 保留,目前是 no-op。
|
|
@@ -293,7 +312,7 @@ Subscription-only setup:
|
|
|
293
312
|
- Codex: 使用 local `codex` login
|
|
294
313
|
- Claude: 运行 `claude setup-token`,然后设置 `CLAUDE_CODE_OAUTH_TOKEN`
|
|
295
314
|
- Judge: 不设置 API keys,因此 Kyoso 使用 `deterministic_fallback`
|
|
296
|
-
- 当存在 `OPENAI_API_KEY` 时,如需避免 OpenAI judge calls,请设置 `
|
|
315
|
+
- 当存在 `OPENAI_API_KEY` 时,如需避免 OpenAI judge calls,请设置 `judge.provider = "none"`
|
|
297
316
|
|
|
298
317
|
Team admins 还应检查 organization Usage credits。如果启用了 credits,超出 subscription limits 的 billing behavior 由 Kyoso 外部控制。
|
|
299
318
|
|
|
@@ -301,7 +320,7 @@ Team admins 还应检查 organization Usage credits。如果启用了 credits,
|
|
|
301
320
|
|
|
302
321
|
- MCP timeout: 将 client tool timeouts 设置为至少 360 秒;当 `verification.enabled` 为 true 时,设置为至少 480 秒。Kyoso defaults 是 Codex 120 秒、Claude 240 秒、verification 90 秒。
|
|
303
322
|
- Fresh npm release: safe-chain 等 minimum-package-age protection 可能会在 publish 后短时间内 block `npx @kyo-so/cli` resolution。
|
|
304
|
-
-
|
|
323
|
+
- Deprecated TypeScript config: 除非传入 `--trust-config`,否则 untrusted `kyoso.config.ts` 会被 skip;新配置请使用 `kyoso.toml`。
|
|
305
324
|
|
|
306
325
|
## Development
|
|
307
326
|
|