@shgroup/dsh-serenity-hooks 1.19.8 → 1.19.9
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 +24 -5
- 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.9",
|
|
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
|
@@ -4106,6 +4106,13 @@ function principlesBlock(root) {
|
|
|
4106
4106
|
"fault to be hidden. Never disguise or excuse what you do not know;",
|
|
4107
4107
|
"not-knowing is a state to be repaired, and reporting it is the first repair.",
|
|
4108
4108
|
"",
|
|
4109
|
+
"MSM principles — machinery before improvisation:",
|
|
4110
|
+
"- Determinism first: use a registered Mech before hand-rolling; reserve",
|
|
4111
|
+
" Semi-Mech for genuine judgment points.",
|
|
4112
|
+
"- Single source of truth: an MSM is the only decoder of its own usage",
|
|
4113
|
+
" (--help/--schema); documents must not duplicate it.",
|
|
4114
|
+
"- Registered to act: no tool exists unless it is on the manifest.",
|
|
4115
|
+
"",
|
|
4109
4116
|
"Operational boundaries:",
|
|
4110
4117
|
`Root: ${root}`,
|
|
4111
4118
|
" • File access — read/edit/write/grep/glob are confined to Root; paths outside Root are rejected (RR5)",
|
|
@@ -4164,30 +4171,42 @@ function metaphorBlock() {
|
|
|
4164
4171
|
" drawings rebuild the whole machine (R↓), the drawings are reusable",
|
|
4165
4172
|
" (S↑). Verdict: an undimensioned part = unassemblable.",
|
|
4166
4173
|
"",
|
|
4174
|
+
"4. The Machinery → MSM (Mech & Semi-Mech). The ship's equipment is",
|
|
4175
|
+
" machinery: registered, deterministic, self-describing. Turn the",
|
|
4176
|
+
" crank of a Mech and the action is exact; the wheel with a helmsman",
|
|
4177
|
+
" (Semi-Mech) steers where judgment is needed. Verdict: hand-rolling",
|
|
4178
|
+
" what a machine already does = wasting the crew.",
|
|
4179
|
+
"",
|
|
4180
|
+
"5. The Manifest → Single Source of Truth. Every tool exists only if it",
|
|
4181
|
+
" is on the manifest (mech-registry); there is exactly one manifest.",
|
|
4182
|
+
" An MSM self-describes (--help/--schema) — the manifest is the only",
|
|
4183
|
+
" key. Verdict: duplicating a tool's usage in documents = two",
|
|
4184
|
+
" contradictory charts.",
|
|
4185
|
+
"",
|
|
4167
4186
|
"THE VOYAGE — the cognitive lifecycle",
|
|
4168
4187
|
"",
|
|
4169
|
-
"
|
|
4188
|
+
"6. Harbor Inspection → First Anchor. The first anchor = departure",
|
|
4170
4189
|
" inspection: confirm identity (ACC manifesto), logbook (SESSION),",
|
|
4171
4190
|
" ballast (constraints) before setting sail. Verdict: skipping the",
|
|
4172
4191
|
" anchor and working directly = sailing uninspected.",
|
|
4173
4192
|
"",
|
|
4174
|
-
"
|
|
4193
|
+
"7. The Logbook → Session Tracking. SESSION.md is the only ship log.",
|
|
4175
4194
|
" Unrecorded = unvoyaged. Verdict: finishing multi-step work without",
|
|
4176
4195
|
" a progress record = a missing page.",
|
|
4177
4196
|
"",
|
|
4178
|
-
"
|
|
4197
|
+
"8. The Ship of Theseus → Continuity. Planks may be replaced; the ship",
|
|
4179
4198
|
" remains the same. The container can be rebuilt; identity persists.",
|
|
4180
4199
|
" You are part of a trajectory, not a new ship. Verdict: acting",
|
|
4181
4200
|
" without consulting precedent = a different ship.",
|
|
4182
4201
|
"",
|
|
4183
4202
|
"THE CREW — multi-agent collaboration",
|
|
4184
4203
|
"",
|
|
4185
|
-
"
|
|
4204
|
+
"9. Crew Rotation → Multi-Agent Cognition. Other crew members will come",
|
|
4186
4205
|
" after you. When you leave, leave a handover they can pick up",
|
|
4187
4206
|
" (SESSION closed, open problems listed). Verdict: leaving without",
|
|
4188
4207
|
" handover = abandoning ship.",
|
|
4189
4208
|
"",
|
|
4190
|
-
"
|
|
4209
|
+
"10. Blueprint over Statue → Reconstruction > Preservation. Keep the",
|
|
4191
4210
|
" blueprint, not the statue. Recording only conclusions without",
|
|
4192
4211
|
" rationale = a statue with no blueprint, unreconstructable.",
|
|
4193
4212
|
" Verdict: a decision record without reasons or alternatives =",
|
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.9",
|
|
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": {
|