mirror of
https://github.com/yexi-by/dsh-unrestricted.git
synced 2026-11-28 10:30:23 +08:00
dsh-unrestricted: toggleable unrestricted-mode prompt fusion plugin
Fuses the unrestricted execution mode into each preset's original system prompt at assembly time (standard/code/cordis via the system-prompt/assemble waterfall, minimal via an agent-scoped complete persona shadow), covering subagents, plan state, code-mode transport and structured-output delivery. Anchored rewrites verify the installed DSH prompts before every fusion; mismatches fall back to the stock prompt per mode and surface in the settings card. Toggle persists in the unrestricted settings namespace. Baseline: DSH 0.1.1-rc.1 (528c682e). docs/diff-rc.1.md itemizes every kept/extended/inserted rule; tests replay fixtures captured from the installed harness (tools/dump-prompts.mjs); tools/verify-live.mjs and tools/verify-server.mjs carry the acceptance runs.
This commit is contained in:
commit
aceb93ccd4
48 files changed
+9847
No files matched your search
Vendored
+339
@@ -0,0 +1,339 @@
|
||||
{
|
||||
"repo": "D:\\work\\dsh\\deepseek-harness",
|
||||
"commit": "528c682e061696f5a160f363f236ecbf53cbd006",
|
||||
"capturedAt": "2026-08-21T20:06:14.315Z",
|
||||
"dumps": {
|
||||
"standard": {
|
||||
"sections": [
|
||||
"harness:identity",
|
||||
"deployment:persona",
|
||||
"plan:policy",
|
||||
"context:file-reference",
|
||||
"tool:read",
|
||||
"tool:write",
|
||||
"tool:edit",
|
||||
"tool:glob",
|
||||
"tool:grep",
|
||||
"tool:pwsh",
|
||||
"tool:jobs",
|
||||
"tool:web_search",
|
||||
"tool:goal",
|
||||
"tool:workflow",
|
||||
"tool:ralph",
|
||||
"tool:subagent",
|
||||
"tool:subagent_fork",
|
||||
"ui:deliverable-file-references"
|
||||
],
|
||||
"tools": [
|
||||
"ask_user_question",
|
||||
"create_goal",
|
||||
"edit",
|
||||
"exit_plan_mode",
|
||||
"get_goal",
|
||||
"glob",
|
||||
"grep",
|
||||
"interrupt_agent",
|
||||
"job_kill",
|
||||
"job_list",
|
||||
"job_output",
|
||||
"list_agents",
|
||||
"pwsh",
|
||||
"ralph",
|
||||
"read",
|
||||
"read_image",
|
||||
"send_message",
|
||||
"skill",
|
||||
"subagent",
|
||||
"subagent_fork",
|
||||
"todo_write",
|
||||
"update_goal",
|
||||
"web_search",
|
||||
"workflow",
|
||||
"write"
|
||||
],
|
||||
"promptBytes": 5150
|
||||
},
|
||||
"standard-plan": {
|
||||
"sections": [
|
||||
"harness:identity",
|
||||
"deployment:persona",
|
||||
"plan:policy",
|
||||
"context:file-reference",
|
||||
"tool:read",
|
||||
"tool:write",
|
||||
"tool:edit",
|
||||
"tool:glob",
|
||||
"tool:grep",
|
||||
"tool:pwsh",
|
||||
"tool:jobs",
|
||||
"tool:web_search",
|
||||
"tool:goal",
|
||||
"tool:workflow",
|
||||
"tool:ralph",
|
||||
"tool:subagent",
|
||||
"tool:subagent_fork",
|
||||
"ui:deliverable-file-references"
|
||||
],
|
||||
"tools": [
|
||||
"ask_user_question",
|
||||
"create_goal",
|
||||
"edit",
|
||||
"exit_plan_mode",
|
||||
"get_goal",
|
||||
"glob",
|
||||
"grep",
|
||||
"interrupt_agent",
|
||||
"job_kill",
|
||||
"job_list",
|
||||
"job_output",
|
||||
"list_agents",
|
||||
"pwsh",
|
||||
"ralph",
|
||||
"read",
|
||||
"read_image",
|
||||
"send_message",
|
||||
"skill",
|
||||
"subagent",
|
||||
"subagent_fork",
|
||||
"todo_write",
|
||||
"update_goal",
|
||||
"web_search",
|
||||
"workflow",
|
||||
"write"
|
||||
],
|
||||
"promptBytes": 7496
|
||||
},
|
||||
"code": {
|
||||
"sections": [
|
||||
"harness:identity",
|
||||
"deployment:persona",
|
||||
"plan:policy",
|
||||
"tools:code-only",
|
||||
"context:file-reference",
|
||||
"tool:read",
|
||||
"tool:write",
|
||||
"tool:edit",
|
||||
"tool:glob",
|
||||
"tool:grep",
|
||||
"tool:pwsh",
|
||||
"tool:jobs",
|
||||
"tool:web_search",
|
||||
"tool:goal",
|
||||
"tool:workflow",
|
||||
"tool:ralph",
|
||||
"tool:subagent",
|
||||
"tool:subagent_fork",
|
||||
"tools:sdk",
|
||||
"ui:deliverable-file-references"
|
||||
],
|
||||
"tools": [
|
||||
"run_code"
|
||||
],
|
||||
"promptBytes": 36192
|
||||
},
|
||||
"code-plan": {
|
||||
"sections": [
|
||||
"harness:identity",
|
||||
"deployment:persona",
|
||||
"plan:policy",
|
||||
"tools:code-only",
|
||||
"context:file-reference",
|
||||
"tool:read",
|
||||
"tool:write",
|
||||
"tool:edit",
|
||||
"tool:glob",
|
||||
"tool:grep",
|
||||
"tool:pwsh",
|
||||
"tool:jobs",
|
||||
"tool:web_search",
|
||||
"tool:goal",
|
||||
"tool:workflow",
|
||||
"tool:ralph",
|
||||
"tool:subagent",
|
||||
"tool:subagent_fork",
|
||||
"tools:sdk",
|
||||
"ui:deliverable-file-references"
|
||||
],
|
||||
"tools": [
|
||||
"run_code"
|
||||
],
|
||||
"promptBytes": 38538
|
||||
},
|
||||
"cordis": {
|
||||
"sections": [
|
||||
"harness:identity",
|
||||
"deployment:persona",
|
||||
"plan:policy",
|
||||
"context:file-reference",
|
||||
"tool:read",
|
||||
"tool:write",
|
||||
"tool:edit",
|
||||
"tool:glob",
|
||||
"tool:grep",
|
||||
"tool:pwsh",
|
||||
"tool:jobs",
|
||||
"tool:web_search",
|
||||
"tool:goal",
|
||||
"tool:workflow",
|
||||
"tool:cordis",
|
||||
"tool:ralph",
|
||||
"tool:subagent",
|
||||
"tool:subagent_fork",
|
||||
"ui:deliverable-file-references"
|
||||
],
|
||||
"tools": [
|
||||
"ask_user_question",
|
||||
"cordis_define",
|
||||
"cordis_inspect_list",
|
||||
"cordis_inspect_query",
|
||||
"cordis_inspect_self",
|
||||
"cordis_run",
|
||||
"cordis_stop",
|
||||
"cordis_undefine",
|
||||
"create_goal",
|
||||
"edit",
|
||||
"exit_plan_mode",
|
||||
"get_goal",
|
||||
"glob",
|
||||
"grep",
|
||||
"interrupt_agent",
|
||||
"job_kill",
|
||||
"job_list",
|
||||
"job_output",
|
||||
"list_agents",
|
||||
"pwsh",
|
||||
"ralph",
|
||||
"read",
|
||||
"read_image",
|
||||
"send_message",
|
||||
"skill",
|
||||
"subagent",
|
||||
"subagent_fork",
|
||||
"todo_write",
|
||||
"update_goal",
|
||||
"web_search",
|
||||
"workflow",
|
||||
"write"
|
||||
],
|
||||
"promptBytes": 16721
|
||||
},
|
||||
"cordis-plan": {
|
||||
"sections": [
|
||||
"harness:identity",
|
||||
"deployment:persona",
|
||||
"plan:policy",
|
||||
"context:file-reference",
|
||||
"tool:read",
|
||||
"tool:write",
|
||||
"tool:edit",
|
||||
"tool:glob",
|
||||
"tool:grep",
|
||||
"tool:pwsh",
|
||||
"tool:jobs",
|
||||
"tool:web_search",
|
||||
"tool:goal",
|
||||
"tool:workflow",
|
||||
"tool:cordis",
|
||||
"tool:ralph",
|
||||
"tool:subagent",
|
||||
"tool:subagent_fork",
|
||||
"ui:deliverable-file-references"
|
||||
],
|
||||
"tools": [
|
||||
"ask_user_question",
|
||||
"cordis_define",
|
||||
"cordis_inspect_list",
|
||||
"cordis_inspect_query",
|
||||
"cordis_inspect_self",
|
||||
"cordis_run",
|
||||
"cordis_stop",
|
||||
"cordis_undefine",
|
||||
"create_goal",
|
||||
"edit",
|
||||
"exit_plan_mode",
|
||||
"get_goal",
|
||||
"glob",
|
||||
"grep",
|
||||
"interrupt_agent",
|
||||
"job_kill",
|
||||
"job_list",
|
||||
"job_output",
|
||||
"list_agents",
|
||||
"pwsh",
|
||||
"ralph",
|
||||
"read",
|
||||
"read_image",
|
||||
"send_message",
|
||||
"skill",
|
||||
"subagent",
|
||||
"subagent_fork",
|
||||
"todo_write",
|
||||
"update_goal",
|
||||
"web_search",
|
||||
"workflow",
|
||||
"write"
|
||||
],
|
||||
"promptBytes": 19067
|
||||
},
|
||||
"minimal": {
|
||||
"sections": [
|
||||
"deployment:persona"
|
||||
],
|
||||
"tools": [
|
||||
"pwsh",
|
||||
"str_replace_editor"
|
||||
],
|
||||
"promptBytes": 46
|
||||
},
|
||||
"subagent-standard": {
|
||||
"sections": [
|
||||
"harness:identity",
|
||||
"deployment:persona",
|
||||
"plan:policy",
|
||||
"context:file-reference",
|
||||
"tool:read",
|
||||
"tool:write",
|
||||
"tool:edit",
|
||||
"tool:glob",
|
||||
"tool:grep",
|
||||
"tool:pwsh",
|
||||
"tool:jobs",
|
||||
"tool:web_search",
|
||||
"tool:goal",
|
||||
"tool:workflow",
|
||||
"tool:ralph",
|
||||
"tool:subagent",
|
||||
"tool:subagent_fork",
|
||||
"ui:deliverable-file-references"
|
||||
],
|
||||
"tools": [
|
||||
"ask_user_question",
|
||||
"create_goal",
|
||||
"edit",
|
||||
"exit_plan_mode",
|
||||
"get_goal",
|
||||
"glob",
|
||||
"grep",
|
||||
"interrupt_agent",
|
||||
"job_kill",
|
||||
"job_list",
|
||||
"job_output",
|
||||
"list_agents",
|
||||
"pwsh",
|
||||
"ralph",
|
||||
"read",
|
||||
"read_image",
|
||||
"send_message",
|
||||
"skill",
|
||||
"subagent",
|
||||
"subagent_fork",
|
||||
"todo_write",
|
||||
"update_goal",
|
||||
"web_search",
|
||||
"workflow",
|
||||
"write"
|
||||
],
|
||||
"promptBytes": 5150
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user