适配 DSH 新版 persona 与 Web RPC 组合

This commit is contained in:
yexi committed 2026-09-08 19:53:22 +08:00
1 parent 254d403259
commit d0ef3f2536
26 files changed
+135 -74

No files matched your search

+31 -24
View File
@@ -1,12 +1,12 @@
{
"fixtureCwd": "/workspace/dsh-unrestricted",
"commit": "d347e703908d0406b7a7ef80e3a0e594d86b2215",
"capturedAt": "2026-09-04T22:20:48.655Z",
"commit": "c389f96bf3a9b6807cb71ed6bdad5849be0df6d8",
"capturedAt": "2026-09-08T11:27:43.522Z",
"dumps": {
"standard": {
"sections": [
"harness:identity",
"deployment:persona",
"deployment:persona-prefix",
"plan:policy",
"context:file-reference",
"tool:pwsh",
@@ -23,7 +23,8 @@
"tool:ralph",
"tool:subagent",
"tool:subagent_fork",
"ui:deliverable-file-references"
"ui:deliverable-file-references",
"deployment:persona-suffix"
],
"tools": [
"ask_user_question",
@@ -53,12 +54,12 @@
"workflow",
"write"
],
"promptBytes": 5700
"promptBytes": 5701
},
"standard-plan": {
"sections": [
"harness:identity",
"deployment:persona",
"deployment:persona-prefix",
"plan:policy",
"context:file-reference",
"tool:pwsh",
@@ -75,7 +76,8 @@
"tool:ralph",
"tool:subagent",
"tool:subagent_fork",
"ui:deliverable-file-references"
"ui:deliverable-file-references",
"deployment:persona-suffix"
],
"tools": [
"ask_user_question",
@@ -105,12 +107,12 @@
"workflow",
"write"
],
"promptBytes": 8046
"promptBytes": 8047
},
"ptc": {
"sections": [
"harness:identity",
"deployment:persona",
"deployment:persona-prefix",
"plan:policy",
"tools:ptc-only",
"context:file-reference",
@@ -128,17 +130,18 @@
"tool:subagent",
"tool:subagent_fork",
"tools:sdk",
"ui:deliverable-file-references"
"ui:deliverable-file-references",
"deployment:persona-suffix"
],
"tools": [
"run_code"
],
"promptBytes": 33808
"promptBytes": 33809
},
"ptc-plan": {
"sections": [
"harness:identity",
"deployment:persona",
"deployment:persona-prefix",
"plan:policy",
"tools:ptc-only",
"context:file-reference",
@@ -156,17 +159,18 @@
"tool:subagent",
"tool:subagent_fork",
"tools:sdk",
"ui:deliverable-file-references"
"ui:deliverable-file-references",
"deployment:persona-suffix"
],
"tools": [
"run_code"
],
"promptBytes": 36154
"promptBytes": 36155
},
"cordis": {
"sections": [
"harness:identity",
"deployment:persona",
"deployment:persona-prefix",
"plan:policy",
"context:file-reference",
"tool:pwsh",
@@ -184,7 +188,8 @@
"tool:ralph",
"tool:subagent",
"tool:subagent_fork",
"ui:deliverable-file-references"
"ui:deliverable-file-references",
"deployment:persona-suffix"
],
"tools": [
"ask_user_question",
@@ -221,12 +226,12 @@
"workflow",
"write"
],
"promptBytes": 17271
"promptBytes": 17272
},
"cordis-plan": {
"sections": [
"harness:identity",
"deployment:persona",
"deployment:persona-prefix",
"plan:policy",
"context:file-reference",
"tool:pwsh",
@@ -244,7 +249,8 @@
"tool:ralph",
"tool:subagent",
"tool:subagent_fork",
"ui:deliverable-file-references"
"ui:deliverable-file-references",
"deployment:persona-suffix"
],
"tools": [
"ask_user_question",
@@ -281,11 +287,11 @@
"workflow",
"write"
],
"promptBytes": 19617
"promptBytes": 19618
},
"minimal": {
"sections": [
"deployment:persona"
"deployment:persona-prefix"
],
"tools": [
"pwsh",
@@ -296,7 +302,7 @@
"subagent-standard": {
"sections": [
"harness:identity",
"deployment:persona",
"deployment:persona-prefix",
"plan:policy",
"context:file-reference",
"tool:pwsh",
@@ -313,7 +319,8 @@
"tool:ralph",
"tool:subagent",
"tool:subagent_fork",
"ui:deliverable-file-references"
"ui:deliverable-file-references",
"deployment:persona-suffix"
],
"tools": [
"ask_user_question",
@@ -343,7 +350,7 @@
"workflow",
"write"
],
"promptBytes": 5700
"promptBytes": 5701
}
}
}
+4 -2
View File
@@ -1,6 +1,6 @@
You are an AI agent powered by DeepSeek Harness.
You are a coding agent powered by the deepseek-chat model, running on the DeepSeek Harness. Your working directory is /workspace/dsh-unrestricted.
You are a coding agent powered by the deepseek-chat model, running on the DeepSeek Harness.
You can read and modify the harness you run on. Its composition is Cordis: every capability is a plugin row in a `cordis.yml`, and an agent preset is one such file mounted for a single session.
@@ -159,4 +159,6 @@ Use subagent in the background by default. Start independent delegations togethe
Use subagent_fork in the background by default. Start independent delegations together in one assistant message and continue useful work while they run. Set `run_in_background: false` only when your next action depends on that subagent's result. When a background run settles, the runtime sends you a notice containing its outcome and any final assistant message.
When you successfully create or modify files, mention the primary outputs in your final response. To make those and any other changed-file references clickable in Web, format them as Markdown inline code using the exact file-tool path, or a basename when unique among the files changed in that turn.
When you successfully create or modify files, mention the primary outputs in your final response. To make those and any other changed-file references clickable in Web, format them as Markdown inline code using the exact file-tool path, or a basename when unique among the files changed in that turn.
Your working directory is /workspace/dsh-unrestricted.
+4 -2
View File
@@ -1,6 +1,6 @@
You are an AI agent powered by DeepSeek Harness.
You are a coding agent powered by the deepseek-chat model, running on the DeepSeek Harness. Your working directory is /workspace/dsh-unrestricted.
You are a coding agent powered by the deepseek-chat model, running on the DeepSeek Harness.
You can read and modify the harness you run on. Its composition is Cordis: every capability is a plugin row in a `cordis.yml`, and an agent preset is one such file mounted for a single session.
@@ -146,4 +146,6 @@ Use subagent in the background by default. Start independent delegations togethe
Use subagent_fork in the background by default. Start independent delegations together in one assistant message and continue useful work while they run. Set `run_in_background: false` only when your next action depends on that subagent's result. When a background run settles, the runtime sends you a notice containing its outcome and any final assistant message.
When you successfully create or modify files, mention the primary outputs in your final response. To make those and any other changed-file references clickable in Web, format them as Markdown inline code using the exact file-tool path, or a basename when unique among the files changed in that turn.
When you successfully create or modify files, mention the primary outputs in your final response. To make those and any other changed-file references clickable in Web, format them as Markdown inline code using the exact file-tool path, or a basename when unique among the files changed in that turn.
Your working directory is /workspace/dsh-unrestricted.
+4 -2
View File
@@ -1,6 +1,6 @@
You are an AI agent powered by DeepSeek Harness.
You are a coding agent powered by the deepseek-chat model. Your working directory is /workspace/dsh-unrestricted.
You are a coding agent powered by the deepseek-chat model.
You are in plan mode. Stay in plan mode until exit_plan_mode succeeds or the user switches the session mode. Imperative language to implement changes means plan the implementation, not execute it. A user's conversational agreement — including an answer confirming something you asked — approves nothing and does not end plan mode; fold the confirmed decision into the plan and submit it through exit_plan_mode.
@@ -549,4 +549,6 @@ declare const tools: {
}
```
When you successfully create or modify files, mention the primary outputs in your final response. To make those and any other changed-file references clickable in Web, format them as Markdown inline code using the exact file-tool path, or a basename when unique among the files changed in that turn.
When you successfully create or modify files, mention the primary outputs in your final response. To make those and any other changed-file references clickable in Web, format them as Markdown inline code using the exact file-tool path, or a basename when unique among the files changed in that turn.
Your working directory is /workspace/dsh-unrestricted.
+4 -2
View File
@@ -1,6 +1,6 @@
You are an AI agent powered by DeepSeek Harness.
You are a coding agent powered by the deepseek-chat model. Your working directory is /workspace/dsh-unrestricted.
You are a coding agent powered by the deepseek-chat model.
`run_code` is the only tool you can call directly — a tool call naming any other tool fails. Reach every tool the SDK declares below from inside the program.
@@ -536,4 +536,6 @@ declare const tools: {
}
```
When you successfully create or modify files, mention the primary outputs in your final response. To make those and any other changed-file references clickable in Web, format them as Markdown inline code using the exact file-tool path, or a basename when unique among the files changed in that turn.
When you successfully create or modify files, mention the primary outputs in your final response. To make those and any other changed-file references clickable in Web, format them as Markdown inline code using the exact file-tool path, or a basename when unique among the files changed in that turn.
Your working directory is /workspace/dsh-unrestricted.
+4 -2
View File
@@ -1,6 +1,6 @@
You are an AI agent powered by DeepSeek Harness.
You are a coding agent powered by the deepseek-chat model. Your working directory is /workspace/dsh-unrestricted.
You are a coding agent powered by the deepseek-chat model.
You are in plan mode. Stay in plan mode until exit_plan_mode succeeds or the user switches the session mode. Imperative language to implement changes means plan the implementation, not execute it. A user's conversational agreement — including an answer confirming something you asked — approves nothing and does not end plan mode; fold the confirmed decision into the plan and submit it through exit_plan_mode.
@@ -45,4 +45,6 @@ Use subagent in the background by default. Start independent delegations togethe
Use subagent_fork in the background by default. Start independent delegations together in one assistant message and continue useful work while they run. Set `run_in_background: false` only when your next action depends on that subagent's result. When a background run settles, the runtime sends you a notice containing its outcome and any final assistant message.
When you successfully create or modify files, mention the primary outputs in your final response. To make those and any other changed-file references clickable in Web, format them as Markdown inline code using the exact file-tool path, or a basename when unique among the files changed in that turn.
When you successfully create or modify files, mention the primary outputs in your final response. To make those and any other changed-file references clickable in Web, format them as Markdown inline code using the exact file-tool path, or a basename when unique among the files changed in that turn.
Your working directory is /workspace/dsh-unrestricted.
+4 -2
View File
@@ -1,6 +1,6 @@
You are an AI agent powered by DeepSeek Harness.
You are a coding agent powered by the deepseek-chat model. Your working directory is /workspace/dsh-unrestricted.
You are a coding agent powered by the deepseek-chat model.
Tokens prefixed with @ are workspace paths the user explicitly referenced, relative to the workspace root. A trailing slash marks a directory: list it when its contents matter. Anything else is a file: use the read tool when its contents are needed, and do not claim to have inspected it before reading. @"..." quotes a path containing spaces.
@@ -32,4 +32,6 @@ Use subagent in the background by default. Start independent delegations togethe
Use subagent_fork in the background by default. Start independent delegations together in one assistant message and continue useful work while they run. Set `run_in_background: false` only when your next action depends on that subagent's result. When a background run settles, the runtime sends you a notice containing its outcome and any final assistant message.
When you successfully create or modify files, mention the primary outputs in your final response. To make those and any other changed-file references clickable in Web, format them as Markdown inline code using the exact file-tool path, or a basename when unique among the files changed in that turn.
When you successfully create or modify files, mention the primary outputs in your final response. To make those and any other changed-file references clickable in Web, format them as Markdown inline code using the exact file-tool path, or a basename when unique among the files changed in that turn.
Your working directory is /workspace/dsh-unrestricted.
+4 -2
View File
@@ -1,6 +1,6 @@
You are an AI agent powered by DeepSeek Harness.
You are a coding agent powered by the deepseek-chat model. Your working directory is /workspace/dsh-unrestricted.
You are a coding agent powered by the deepseek-chat model.
Tokens prefixed with @ are workspace paths the user explicitly referenced, relative to the workspace root. A trailing slash marks a directory: list it when its contents matter. Anything else is a file: use the read tool when its contents are needed, and do not claim to have inspected it before reading. @"..." quotes a path containing spaces.
@@ -32,4 +32,6 @@ Use subagent in the background by default. Start independent delegations togethe
Use subagent_fork in the background by default. Start independent delegations together in one assistant message and continue useful work while they run. Set `run_in_background: false` only when your next action depends on that subagent's result. When a background run settles, the runtime sends you a notice containing its outcome and any final assistant message.
When you successfully create or modify files, mention the primary outputs in your final response. To make those and any other changed-file references clickable in Web, format them as Markdown inline code using the exact file-tool path, or a basename when unique among the files changed in that turn.
When you successfully create or modify files, mention the primary outputs in your final response. To make those and any other changed-file references clickable in Web, format them as Markdown inline code using the exact file-tool path, or a basename when unique among the files changed in that turn.
Your working directory is /workspace/dsh-unrestricted.
+6 -2
View File
@@ -4,8 +4,8 @@
"text": "You are an AI agent powered by DeepSeek Harness."
},
{
"name": "deployment:persona",
"text": "You are a coding agent powered by the {{model}} model, running on the DeepSeek Harness. Your working directory is {{cwd}}.\n\nYou can read and modify the harness you run on. Its composition is Cordis: every capability is a plugin row in a `cordis.yml`, and an agent preset is one such file mounted for a single session.\n\nTwo planes decide where an edit belongs. The HOST composition holds the registries and anything shared across sessions — persistence, the sandbox and approval stack, the model route, the subagent registry and its backends. An AGENT PRESET holds what one session contributes to those registries: its tools, its persona, its prompt sections. A row that publishes a service belongs in the host composition, or inside an `isolate` realm if the preset genuinely owns that service and nothing outside one agent reads it.\n\nPresets you author live one directory per preset under `${DSH_HOME:-$HOME/.dsh}/.agent-presets/<id>/`; the roster reports each preset's real path, so take the one you edit from there. NEVER edit or delete the shipped preset install (the `agent-presets` directory beside the deployment's own config): it belongs to the deployment, an upgrade overwrites it, and corrupting the `cordis` preset would disable this very mode. To change what a shipped preset does, copy its composition into a new preset directory and edit the copy.\n\nLoad the `editing-cordis-compositions` skill before writing or changing a composition."
"name": "deployment:persona-prefix",
"text": "You are a coding agent powered by the {{model}} model, running on the DeepSeek Harness.\n\nYou can read and modify the harness you run on. Its composition is Cordis: every capability is a plugin row in a `cordis.yml`, and an agent preset is one such file mounted for a single session.\n\nTwo planes decide where an edit belongs. The HOST composition holds the registries and anything shared across sessions — persistence, the sandbox and approval stack, the model route, the subagent registry and its backends. An AGENT PRESET holds what one session contributes to those registries: its tools, its persona, its prompt sections. A row that publishes a service belongs in the host composition, or inside an `isolate` realm if the preset genuinely owns that service and nothing outside one agent reads it.\n\nPresets you author live one directory per preset under `${DSH_HOME:-$HOME/.dsh}/.agent-presets/<id>/`; the roster reports each preset's real path, so take the one you edit from there. NEVER edit or delete the shipped preset install (the `agent-presets` directory beside the deployment's own config): it belongs to the deployment, an upgrade overwrites it, and corrupting the `cordis` preset would disable this very mode. To change what a shipped preset does, copy its composition into a new preset directory and edit the copy.\n\nLoad the `editing-cordis-compositions` skill before writing or changing a composition."
},
{
"name": "plan:policy",
@@ -78,5 +78,9 @@
{
"name": "ui:deliverable-file-references",
"text": "When you successfully create or modify files, mention the primary outputs in your final response. To make those and any other changed-file references clickable in Web, format them as Markdown inline code using the exact file-tool path, or a basename when unique among the files changed in that turn."
},
{
"name": "deployment:persona-suffix",
"text": "Your working directory is {{cwd}}."
}
]
+6 -2
View File
@@ -4,8 +4,8 @@
"text": "You are an AI agent powered by DeepSeek Harness."
},
{
"name": "deployment:persona",
"text": "You are a coding agent powered by the {{model}} model, running on the DeepSeek Harness. Your working directory is {{cwd}}.\n\nYou can read and modify the harness you run on. Its composition is Cordis: every capability is a plugin row in a `cordis.yml`, and an agent preset is one such file mounted for a single session.\n\nTwo planes decide where an edit belongs. The HOST composition holds the registries and anything shared across sessions — persistence, the sandbox and approval stack, the model route, the subagent registry and its backends. An AGENT PRESET holds what one session contributes to those registries: its tools, its persona, its prompt sections. A row that publishes a service belongs in the host composition, or inside an `isolate` realm if the preset genuinely owns that service and nothing outside one agent reads it.\n\nPresets you author live one directory per preset under `${DSH_HOME:-$HOME/.dsh}/.agent-presets/<id>/`; the roster reports each preset's real path, so take the one you edit from there. NEVER edit or delete the shipped preset install (the `agent-presets` directory beside the deployment's own config): it belongs to the deployment, an upgrade overwrites it, and corrupting the `cordis` preset would disable this very mode. To change what a shipped preset does, copy its composition into a new preset directory and edit the copy.\n\nLoad the `editing-cordis-compositions` skill before writing or changing a composition."
"name": "deployment:persona-prefix",
"text": "You are a coding agent powered by the {{model}} model, running on the DeepSeek Harness.\n\nYou can read and modify the harness you run on. Its composition is Cordis: every capability is a plugin row in a `cordis.yml`, and an agent preset is one such file mounted for a single session.\n\nTwo planes decide where an edit belongs. The HOST composition holds the registries and anything shared across sessions — persistence, the sandbox and approval stack, the model route, the subagent registry and its backends. An AGENT PRESET holds what one session contributes to those registries: its tools, its persona, its prompt sections. A row that publishes a service belongs in the host composition, or inside an `isolate` realm if the preset genuinely owns that service and nothing outside one agent reads it.\n\nPresets you author live one directory per preset under `${DSH_HOME:-$HOME/.dsh}/.agent-presets/<id>/`; the roster reports each preset's real path, so take the one you edit from there. NEVER edit or delete the shipped preset install (the `agent-presets` directory beside the deployment's own config): it belongs to the deployment, an upgrade overwrites it, and corrupting the `cordis` preset would disable this very mode. To change what a shipped preset does, copy its composition into a new preset directory and edit the copy.\n\nLoad the `editing-cordis-compositions` skill before writing or changing a composition."
},
{
"name": "plan:policy",
@@ -78,5 +78,9 @@
{
"name": "ui:deliverable-file-references",
"text": "When you successfully create or modify files, mention the primary outputs in your final response. To make those and any other changed-file references clickable in Web, format them as Markdown inline code using the exact file-tool path, or a basename when unique among the files changed in that turn."
},
{
"name": "deployment:persona-suffix",
"text": "Your working directory is {{cwd}}."
}
]
+1 -1
View File
@@ -1,6 +1,6 @@
[
{
"name": "deployment:persona",
"name": "deployment:persona-prefix",
"text": "You are a helpful software engineer assistant."
}
]
+6 -2
View File
@@ -4,8 +4,8 @@
"text": "You are an AI agent powered by DeepSeek Harness."
},
{
"name": "deployment:persona",
"text": "You are a coding agent powered by the {{model}} model. Your working directory is {{cwd}}."
"name": "deployment:persona-prefix",
"text": "You are a coding agent powered by the {{model}} model."
},
{
"name": "plan:policy",
@@ -78,5 +78,9 @@
{
"name": "ui:deliverable-file-references",
"text": "When you successfully create or modify files, mention the primary outputs in your final response. To make those and any other changed-file references clickable in Web, format them as Markdown inline code using the exact file-tool path, or a basename when unique among the files changed in that turn."
},
{
"name": "deployment:persona-suffix",
"text": "Your working directory is {{cwd}}."
}
]
+6 -2
View File
@@ -4,8 +4,8 @@
"text": "You are an AI agent powered by DeepSeek Harness."
},
{
"name": "deployment:persona",
"text": "You are a coding agent powered by the {{model}} model. Your working directory is {{cwd}}."
"name": "deployment:persona-prefix",
"text": "You are a coding agent powered by the {{model}} model."
},
{
"name": "plan:policy",
@@ -78,5 +78,9 @@
{
"name": "ui:deliverable-file-references",
"text": "When you successfully create or modify files, mention the primary outputs in your final response. To make those and any other changed-file references clickable in Web, format them as Markdown inline code using the exact file-tool path, or a basename when unique among the files changed in that turn."
},
{
"name": "deployment:persona-suffix",
"text": "Your working directory is {{cwd}}."
}
]
+6 -2
View File
@@ -4,8 +4,8 @@
"text": "You are an AI agent powered by DeepSeek Harness."
},
{
"name": "deployment:persona",
"text": "You are a coding agent powered by the {{model}} model. Your working directory is {{cwd}}."
"name": "deployment:persona-prefix",
"text": "You are a coding agent powered by the {{model}} model."
},
{
"name": "plan:policy",
@@ -74,5 +74,9 @@
{
"name": "ui:deliverable-file-references",
"text": "When you successfully create or modify files, mention the primary outputs in your final response. To make those and any other changed-file references clickable in Web, format them as Markdown inline code using the exact file-tool path, or a basename when unique among the files changed in that turn."
},
{
"name": "deployment:persona-suffix",
"text": "Your working directory is {{cwd}}."
}
]
+6 -2
View File
@@ -4,8 +4,8 @@
"text": "You are an AI agent powered by DeepSeek Harness."
},
{
"name": "deployment:persona",
"text": "You are a coding agent powered by the {{model}} model. Your working directory is {{cwd}}."
"name": "deployment:persona-prefix",
"text": "You are a coding agent powered by the {{model}} model."
},
{
"name": "plan:policy",
@@ -74,5 +74,9 @@
{
"name": "ui:deliverable-file-references",
"text": "When you successfully create or modify files, mention the primary outputs in your final response. To make those and any other changed-file references clickable in Web, format them as Markdown inline code using the exact file-tool path, or a basename when unique among the files changed in that turn."
},
{
"name": "deployment:persona-suffix",
"text": "Your working directory is {{cwd}}."
}
]
+6 -2
View File
@@ -4,8 +4,8 @@
"text": "You are an AI agent powered by DeepSeek Harness."
},
{
"name": "deployment:persona",
"text": "You are a coding agent powered by the {{model}} model. Your working directory is {{cwd}}."
"name": "deployment:persona-prefix",
"text": "You are a coding agent powered by the {{model}} model."
},
{
"name": "plan:policy",
@@ -74,5 +74,9 @@
{
"name": "ui:deliverable-file-references",
"text": "When you successfully create or modify files, mention the primary outputs in your final response. To make those and any other changed-file references clickable in Web, format them as Markdown inline code using the exact file-tool path, or a basename when unique among the files changed in that turn."
},
{
"name": "deployment:persona-suffix",
"text": "Your working directory is {{cwd}}."
}
]
+5 -3
View File
@@ -75,7 +75,7 @@ for (const { label, preset, isSubagent } of CASES) {
assert.equal(fusedNames.filter(name => name === BLOCK_SECTION).length, 1)
// The block sits directly behind the persona.
assert.equal(fusedNames.indexOf(BLOCK_SECTION), fusedNames.indexOf('deployment:persona') + 1)
assert.equal(fusedNames.indexOf(BLOCK_SECTION), fusedNames.indexOf('deployment:persona-prefix') + 1)
assert.equal(fused.find(section => section.name === BLOCK_SECTION).text, EXECUTION_MODE_BLOCK)
// Every changed section keeps its original text as a strict prefix.
@@ -87,7 +87,7 @@ for (const { label, preset, isSubagent } of CASES) {
fusedSection.text.startsWith(original.text),
`section "${original.name}" was rewritten instead of appended`,
)
assert.ok(['deployment:persona', 'plan:policy', 'tools:ptc-only', 'tool:structured_output']
assert.ok(['deployment:persona-prefix', 'plan:policy', 'tools:ptc-only', 'tool:structured_output']
.includes(original.name), `section "${original.name}" must not change`)
}
}
@@ -126,9 +126,11 @@ test('tampered anchors refuse to fuse and name the failing rule', async () => {
assert.ok(fuseSections(identity, 'standard').issues.some(issue => issue.includes('identity')))
const persona = sections.map(section =>
section.name === 'deployment:persona' ? { ...section, text: 'You are someone else.' } : section)
section.name === 'deployment:persona-prefix' ? { ...section, text: 'You are someone else.' } : section)
const personaResult = fuseSections(persona, 'standard')
assert.ok(personaResult.issues.some(issue => issue.includes('persona')))
const missingPersona = sections.filter(section => section.name !== 'deployment:persona-prefix')
assert.ok(fuseSections(missingPersona, 'standard').issues.some(issue => issue.includes('persona')))
// A delegated child may carry its own persona: tolerated, still fused.
const tolerated = fuseSections(persona, 'standard', { isSubagent: true })
assert.equal(tolerated.issues, undefined)