mirror of
https://ghproxy.cflmy.top/https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-12-01 01:29:35 +08:00
The editor had one write, `edit()`, which replaces the config of a row whose plugin is running. Nothing added a row to the profile patch or removed one, and `edit()` rejects a row that is switched off or failed, so a config that makes a row fail could not be corrected through the editor. `insert()` appends a row to the profile patch and starts it. `remove()` deletes a row that the profile patch inserted, together with the patch's override items for that row, and `configuration()` marks such a row as `inserted`. `editRow()` replaces a row's config as `edit()` does and also accepts a row that is switched off or failed: that row stores the config as given, and its plugin validates it at the next start. A written row that is switched on must be active after the reconciliation. Otherwise the file gets its prior content back, and the call rejects with the activation diagnostic. The four writes share the lock, the higher-layer check, the atomic write, and the restore. `edit()` keeps its checks and changes in two cases. When an edit resets an override to the inherited config and deletes the emptied patch item, the comment above that item stays in the file; for the first item it is the file header. When the reconciliation with the prior patches rejects after a rejected write, the caller receives the rejection of its own write, and the second rejection is logged as a warning. The editor reads the root context in one place, so its entry in the root-read baseline drops from 3 to 1. Refs #9155
84 lines
3.6 KiB
JSON
84 lines
3.6 KiB
JSON
{
|
|
"apps/cli/tests/profiles/headless/tests/fixtures/subagent-settlement-fence.ts": {
|
|
"3755d2978651498c26c74bf7d3552cae5dd33d7f28e3c405cd282098e40a7c58": 2
|
|
},
|
|
"apps/web/tests/default-product-isolation.e2e.ts": {
|
|
"d0b9e422bcad4455b7450e6bef2d6fa774afc3f44cdc75bc1d480c11b9fd0214": 1
|
|
},
|
|
"packages/api/gateway/tests/browser-credentials.ts": {
|
|
"3755d2978651498c26c74bf7d3552cae5dd33d7f28e3c405cd282098e40a7c58": 1
|
|
},
|
|
"packages/api/gateway/tests/gateway.host.spec.ts": {
|
|
"3755d2978651498c26c74bf7d3552cae5dd33d7f28e3c405cd282098e40a7c58": 1
|
|
},
|
|
"packages/api/gateway/tests/operator-connect.host.spec.ts": {
|
|
"a024beae6117bcaeaded2d59d0be04db10eae40e0d4b8ade0eb88fee7dfb9973": 1
|
|
},
|
|
"packages/api/gateway/tests/peer.ts": {
|
|
"3755d2978651498c26c74bf7d3552cae5dd33d7f28e3c405cd282098e40a7c58": 4
|
|
},
|
|
"packages/api/session-controller/tests/transport.host.spec.ts": {
|
|
"3755d2978651498c26c74bf7d3552cae5dd33d7f28e3c405cd282098e40a7c58": 1
|
|
},
|
|
"packages/boot/app-boot/tests/config-reload.spec.ts": {
|
|
"3755d2978651498c26c74bf7d3552cae5dd33d7f28e3c405cd282098e40a7c58": 1
|
|
},
|
|
"packages/boot/config-editor/src/index.ts": {
|
|
"2ef15140c5ddf0d1c87a5c80055760aaae1fd5ed86c986c69115c27cfa13ee51": 1
|
|
},
|
|
"packages/boot/hmr/src/index.ts": {
|
|
"2ef15140c5ddf0d1c87a5c80055760aaae1fd5ed86c986c69115c27cfa13ee51": 1
|
|
},
|
|
"packages/boot/hmr/tests/package-reload.spec.ts": {
|
|
"08185f8ef80468685cfa5affb086454f655c61ab83ecb9f8cde15c9a573bd1be": 1
|
|
},
|
|
"packages/bundle/web-app/src/index.ts": {
|
|
"3755d2978651498c26c74bf7d3552cae5dd33d7f28e3c405cd282098e40a7c58": 3
|
|
},
|
|
"packages/bundle/web-app/tests/browser-open.host.spec.ts": {
|
|
"3755d2978651498c26c74bf7d3552cae5dd33d7f28e3c405cd282098e40a7c58": 1
|
|
},
|
|
"packages/client/connection/tests/node-half.host.spec.ts": {
|
|
"3755d2978651498c26c74bf7d3552cae5dd33d7f28e3c405cd282098e40a7c58": 2
|
|
},
|
|
"packages/experimental/auto-review/src/index.ts": {
|
|
"3755d2978651498c26c74bf7d3552cae5dd33d7f28e3c405cd282098e40a7c58": 1
|
|
},
|
|
"packages/experimental/auto-review/tests/auto-review.spec.ts": {
|
|
"3755d2978651498c26c74bf7d3552cae5dd33d7f28e3c405cd282098e40a7c58": 2
|
|
},
|
|
"packages/experimental/inspector/src/shared/cordis/observer.ts": {
|
|
"3755d2978651498c26c74bf7d3552cae5dd33d7f28e3c405cd282098e40a7c58": 1
|
|
},
|
|
"packages/host/authentication-token/src/index.ts": {
|
|
"3755d2978651498c26c74bf7d3552cae5dd33d7f28e3c405cd282098e40a7c58": 1
|
|
},
|
|
"packages/host/authentication-token/tests/loader.host.spec.ts": {
|
|
"3755d2978651498c26c74bf7d3552cae5dd33d7f28e3c405cd282098e40a7c58": 2
|
|
},
|
|
"packages/host/authentication-token/tests/plugin.host.spec.ts": {
|
|
"3755d2978651498c26c74bf7d3552cae5dd33d7f28e3c405cd282098e40a7c58": 1
|
|
},
|
|
"packages/host/frontend-static/tests/frontend-static.spec.ts": {
|
|
"e9ced37d23b7f2f7af77caaa3c4ace319974f275186f14c1d32093f0658f73af": 1
|
|
},
|
|
"packages/mcp/mcp-client/src/index.ts": {
|
|
"3755d2978651498c26c74bf7d3552cae5dd33d7f28e3c405cd282098e40a7c58": 1
|
|
},
|
|
"packages/preset/agent-preset-registry/src/mount.ts": {
|
|
"3755d2978651498c26c74bf7d3552cae5dd33d7f28e3c405cd282098e40a7c58": 1
|
|
},
|
|
"packages/sdk/server/src/index.ts": {
|
|
"3755d2978651498c26c74bf7d3552cae5dd33d7f28e3c405cd282098e40a7c58": 1
|
|
},
|
|
"packages/settings/settings/src/index.ts": {
|
|
"3755d2978651498c26c74bf7d3552cae5dd33d7f28e3c405cd282098e40a7c58": 1
|
|
},
|
|
"packages/test-support/session-snapshot/tests/fixtures/subagent-send-message-fence.ts": {
|
|
"3755d2978651498c26c74bf7d3552cae5dd33d7f28e3c405cd282098e40a7c58": 4
|
|
},
|
|
"packages/typert/protocol/src/index.ts": {
|
|
"3755d2978651498c26c74bf7d3552cae5dd33d7f28e3c405cd282098e40a7c58": 2
|
|
}
|
|
}
|