mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-09-14 04:01:35 +00:00
Run the dsh-archive-agent-notes audit over every active Agent Note on current master, judging each record by whether its rationale still guides work rather than by size or age. - Archive 453 implemented bilingual triplets (417,882 English words): completed UI chrome, narrow adapters, closed bug fixes, implementation walkthroughs whose package READMEs, docs pages, generators, or successor notes now carry the useful behavior, and 51 records fully superseded by a later active note. Keep 201 implemented notes whose ownership rules, negative guarantees, durable or wire semantics, security rules, reintroduction conditions, or still-tempting rejected alternatives remain useful. - Reject 7 proposals whose premise is gone or whose work shipped in amended form under other records; delete 2 rejected notes that no longer prevent a plausible mistake. - Retarget every remaining inbound link to the archived path, and repair active prose that named an archived record as the owner of a live fact: parenthetical citations drop, ownership sentences redirect to the README, docs page, or active note that states the fact, and history citations say so. Chinese files link the English archived path because the pairing gate treats the frozen tree as outside the bilingual corpus. - Seal 1,359 new frozen artifacts; existing seals are unchanged and outbound links from archived notes are neither inspected nor repaired. - Regenerate docs/config-catalog.md after the hook-bridge comment edits shifted two source line numbers.
2.1 KiB
2.1 KiB
description, kind
| description | kind |
|---|---|
| hooks 组地图:在 agent 运行期间使用现有的 Claude Code 与 Codex shell 钩子配置,供浏览本组的用户与维护者阅读。 | package-group |
packages/hooks
English | 中文
概述
hooks 组让 agent(智能体)运行可以使用你为 Claude Code 或 Codex 写好的 shell 钩子:挂载对应的桥接、把它指向你现有的 hooks.json,这些钩子就会在 agent 运行中的对应时刻触发——会话开始时、提示词提交时、工具运行前后,或运行即将停止时。钩子可以带一条模型可见的消息阻塞提示词或工具调用、向对话附加额外上下文,或强制运行继续。当你希望现有钩子配置无需改写成原生插件就能继续工作时,选择本组;每个桥接覆盖其参考工具文档中的 command hook 子集。hook-protocol 是两个桥接共享的钩子引擎,因此两种方言在协议一致之处行为相同。
目录
包
| 包 | 职责 | 形态 |
|---|---|---|
hook-protocol |
两个桥接共享的钩子引擎;无需直接配置 | 库 |
hooks-claude-code |
在 agent 运行期间运行你现有的 Claude Code hooks.json 钩子 |
插件 |
hooks-codex |
在 agent 运行期间运行你现有的 Codex hooks.json 钩子 |
插件 |
相关文档
- 拦截扩展点 Agent Note——桥接所面向的类型化 Decision 接口面。
- 钩子桥接 Agent Note——桥接设计及其决策映射。
- 钩子协议库 Agent Note——共享库负责的内容及其原因。
开发备注
维护者的工作上下文——点击展开
无。