@shgroup/dsh-serenity-hooks 1.19.6 → 1.19.7
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/dsh.plugin.json +1 -1
- package/lib/index.js +40 -28
- package/package.json +1 -1
package/dsh.plugin.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "dsh-serenity-hooks",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.7",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"description": "宁静号 ACC harness(Native Cordis 插件):真实 DSH 工具 cc_fs/session/acc_msm/eap/neat/cce/loop + 拦截缝机械约束(safe-mode/路径守卫)。适配 DSH 公开版(0.1.0-rc,deepseek-ai/deepseek-harness)。私有(dsh-external 组织)。",
|
|
6
6
|
"engines": {
|
package/lib/index.js
CHANGED
|
@@ -4131,42 +4131,54 @@ function metaphorBlock() {
|
|
|
4131
4131
|
"The Serenity Universe — one ship, one sea. Metaphors are memory hooks:",
|
|
4132
4132
|
"they make constraints vivid, while the rules above stay precise. Each",
|
|
4133
4133
|
"metaphor is an unbreakable physical fact; violating one is a behavioral",
|
|
4134
|
-
"violation.",
|
|
4134
|
+
"violation. The universe is structured in three layers — the Ship (the",
|
|
4135
|
+
"container itself), the Voyage (the cognitive lifecycle), the Crew",
|
|
4136
|
+
"(multi-agent collaboration); every metaphor maps to one protocol",
|
|
4137
|
+
"constraint.",
|
|
4135
4138
|
"",
|
|
4136
|
-
"
|
|
4137
|
-
" (knowledge the container has not accumulated) does not exist; do not",
|
|
4138
|
-
" assume it. Verdict: citing facts absent from the container = overload.",
|
|
4139
|
+
"THE SHIP — the container itself",
|
|
4139
4140
|
"",
|
|
4140
|
-
"
|
|
4141
|
-
"
|
|
4141
|
+
"1. The Hull → Bounded Space. You exist only inside this ship. Cargo",
|
|
4142
|
+
" outside the hull (knowledge the container has not accumulated) does",
|
|
4143
|
+
" not exist; do not assume it. Verdict: citing facts absent from the",
|
|
4144
|
+
" container = overload.",
|
|
4142
4145
|
"",
|
|
4143
|
-
"
|
|
4144
|
-
"
|
|
4145
|
-
"
|
|
4146
|
-
" = a different ship.",
|
|
4146
|
+
"2. Deck Order → Entropy (H_op). Clutter on deck raises the cost of",
|
|
4147
|
+
" finding things. H_op ≤ H_critical = the ship stays afloat.",
|
|
4148
|
+
" Verdict: disorganized output = stones on deck.",
|
|
4147
4149
|
"",
|
|
4148
|
-
"
|
|
4149
|
-
"
|
|
4150
|
-
"
|
|
4150
|
+
"3. Engineering Drawings → EAP. Every part dimensioned (E↑), the",
|
|
4151
|
+
" drawings rebuild the whole machine (R↓), the drawings are reusable",
|
|
4152
|
+
" (S↑). Verdict: an undimensioned part = unassemblable.",
|
|
4151
4153
|
"",
|
|
4152
|
-
"
|
|
4153
|
-
" only conclusions without rationale = a statue with no blueprint,",
|
|
4154
|
-
" unreconstructable. Verdict: a decision record without reasons or",
|
|
4155
|
-
" alternatives = cannot be rebuilt.",
|
|
4154
|
+
"THE VOYAGE — the cognitive lifecycle",
|
|
4156
4155
|
"",
|
|
4157
|
-
"
|
|
4158
|
-
"
|
|
4159
|
-
"
|
|
4156
|
+
"4. Harbor Inspection → First Anchor. The first anchor = departure",
|
|
4157
|
+
" inspection: confirm identity (ACC manifesto), logbook (SESSION),",
|
|
4158
|
+
" ballast (constraints) before setting sail. Verdict: skipping the",
|
|
4159
|
+
" anchor and working directly = sailing uninspected.",
|
|
4160
4160
|
"",
|
|
4161
|
-
"
|
|
4162
|
-
"
|
|
4163
|
-
"
|
|
4164
|
-
" = sailing uninspected.",
|
|
4161
|
+
"5. The Logbook → Session Tracking. SESSION.md is the only ship log.",
|
|
4162
|
+
" Unrecorded = unvoyaged. Verdict: finishing multi-step work without",
|
|
4163
|
+
" a progress record = a missing page.",
|
|
4165
4164
|
"",
|
|
4166
|
-
"
|
|
4167
|
-
"
|
|
4168
|
-
"
|
|
4169
|
-
" =
|
|
4165
|
+
"6. The Ship of Theseus → Continuity. Planks may be replaced; the ship",
|
|
4166
|
+
" remains the same. The container can be rebuilt; identity persists.",
|
|
4167
|
+
" You are part of a trajectory, not a new ship. Verdict: acting",
|
|
4168
|
+
" without consulting precedent = a different ship.",
|
|
4169
|
+
"",
|
|
4170
|
+
"THE CREW — multi-agent collaboration",
|
|
4171
|
+
"",
|
|
4172
|
+
"7. Crew Rotation → Multi-Agent Cognition. Other crew members will come",
|
|
4173
|
+
" after you. When you leave, leave a handover they can pick up",
|
|
4174
|
+
" (SESSION closed, open problems listed). Verdict: leaving without",
|
|
4175
|
+
" handover = abandoning ship.",
|
|
4176
|
+
"",
|
|
4177
|
+
"8. Blueprint over Statue → Reconstruction > Preservation. Keep the",
|
|
4178
|
+
" blueprint, not the statue. Recording only conclusions without",
|
|
4179
|
+
" rationale = a statue with no blueprint, unreconstructable.",
|
|
4180
|
+
" Verdict: a decision record without reasons or alternatives =",
|
|
4181
|
+
" cannot be rebuilt.",
|
|
4170
4182
|
""
|
|
4171
4183
|
].join("\n");
|
|
4172
4184
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shgroup/dsh-serenity-hooks",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.7",
|
|
4
4
|
"description": "宁静号 ACC harness — Native Cordis 插件(DeepSeek Harness 运行时)。真实 DSH 工具注册(cc_fs/session/acc_msm 等 9 工具)+ 拦截缝机械约束(safe-mode/路径守卫/会话落盘)+ 系统提示词注入(ACC/CCE/Constraints/SKILL/Session 五块)。适配 DSH 公开版(deepseek-ai/deepseek-harness 0.1.0-rc)。",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|