dsh-superagent-ptc 0.1.2 → 0.1.3

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.
Files changed (3) hide show
  1. package/NOTICE.md +7 -0
  2. package/README.md +13 -0
  3. package/package.json +1 -1
package/NOTICE.md CHANGED
@@ -45,3 +45,10 @@ The upstream MIT notice is preserved below:
45
45
  - Local `dsh-codeflow` (MIT): reference for narrowing the slots interface structurally instead of importing the unrelated hoisted pre-rc.3 slots declarations. `scripts/build-client.mjs` adapts its MIT esbuild CJS + `window.__ModuleLoader__.load` recipe for this package. No CodeGraph implementation is copied.
46
46
 
47
47
  No implementation is copied from the UNLICENSED dsh-task-supervisor reference.
48
+
49
+
50
+ ## Community references (no code redistributed)
51
+
52
+ - `dsh-plugin-antidrift` plugin source shared by community member **CC** in a 2026-11-17 group chat; reviewed read-only for design inspiration. Not installed, not executed, not copied.
53
+ - Group discussion on long-running supervision in the same chat (桉, Electron, CC, KOLA 2) informed the work-item, audit cadence, and evidence-gate design.
54
+ - Upstream `zouyuanqing/dsh-super-ptc-mode` (MIT) is credited above.
package/README.md CHANGED
@@ -223,6 +223,19 @@ pnpm typecheck && pnpm build && pnpm test
223
223
  - 提交前请保持 `typecheck`、`build`、`test` 全绿;核心状态机改动需补正反例。
224
224
  - 欢迎 Issue / PR:https://github.com/BioAIEvolu/dsh-superagent-ptc/issues
225
225
 
226
+ ## 致谢
227
+
228
+ 这个插件的方向不是凭空想出来的,来自 2026-11-17 一次真实的群聊讨论与源码分享:
229
+
230
+ - **群友 CC**:分享了 `dsh-plugin-antidrift` 插件源码,并给出真实的长任务经验——用 `/goal` 设置长期目标、单次跑过 30+ 小时、一次开 10 个 agent 并行写。本项目对其源码只做取证阅读(未安装、未运行、未复制代码),其“锚点 + 委派 + 审计”的思路是重要的早期启发。
231
+ - **桉**:提出“一次性部署多条指令、每几条插入一次小审计、不紧急就继续”的节奏,直接对应本项目“工作项 + 证据门 + 失败预算”的取舍。
232
+ - **Electron**:在讨论中把这种形态认作 PTC 模式的延伸,促使我们确认“PTC 只有 `run_code`,监管必须建立在其原生事件链之上”。
233
+ - **KOLA 2**:提出“定时轮询检查进度、完成就释放下一条命令与审计”,以及“主 router 控制 worker 干活”的 SuperAgent 思路,这两点分别影响了 Mandate 的解锁语义与 Lead/Worker/Reviewer 的角色划分。
234
+
235
+ 另外感谢上游参考 `zouyuanqing/dsh-super-ptc-mode`(MIT):本项目参考了其轻量 preset 组合方式与 Lead 委派理念,persona 与组合已按当前 DSH 契约重写,许可与出处保留在 [NOTICE.md](NOTICE.md)。
236
+
237
+ 以及所有在群里继续讨论、提问和纠正的人——这些对话让“证据放行”从一句口号变成了可验证的状态机。
238
+
226
239
  ## 许可
227
240
 
228
241
  MIT License,见 [LICENSE](LICENSE)。上游 DSH 组件版权与来源见 [NOTICE.md](NOTICE.md)。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-superagent-ptc",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "SuperAgent PTC: long-task supervision for DeepSeek Harness. Versioned goal anchors, bounded delegation (Mandate), independent read-only Reviewer acceptance, typed evidence gates and crash-safe proof/recovery. Native PTC execution, preset-first, no second agent loop. 中文:为 DSH 长任务提供目标锚点、有界委派、独立验收与证据放行的监督层。",
5
5
  "type": "module",
6
6
  "license": "MIT",