mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-09-09 04:02: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.5 KiB
2.5 KiB
description, kind
| description | kind |
|---|---|
| context 组地图:不定义工具、为每次请求添加持久且模型可见上下文的插件,供浏览本组的用户与维护者阅读。 | package-group |
context/ — 请求上下文插件
English | 中文
概述
context 组提供不定义任何工具、为每次请求添加模型可见上下文的插件:工作区指令文件成为指引,@file mention 提供路径补全,其他会话可以作为有界快照被引用,模型还能看到当前时间与 agent 的 tmux 位置。除 agent-instructions(dsh-base 默认包含它,profile patch 可以禁用)外,其余全部需主动启用。上下文是持久的:注入的指令与引用以 user 角色消息进入会话历史,因此与其他对话内容一样持久、可回放、可压缩。本页是组的映射;包级约定由各包 README 负责。
目录
包
| 包 | 职责 | ctx key |
|---|---|---|
agent-instructions/ |
将 AGENTS.md/CLAUDE.md 工作区指令加载到上下文,并在文件编辑后刷新 |
— |
session-reference/ |
引用其他会话:提及一个会话,其有界只读快照即成为上下文 | ctx.sessionReferenceResolver |
file-reference/ |
@file mention 发现与供宿主驱动 UI 使用的共享 mention 语法 |
ctx.fileReferences |
file-reference-local/ |
@file mention 的本地工作区补全提供方 |
— |
time-context/ |
每个步骤的当前时间、浏览器时区与经过时长 | — |
tmux-context/ |
agent 所在的 tmux session、window 与 pane 位置 | — |
相关文档
- 会话引用子系统——规范 mention URI、快照语义与稳定的错误分类。
- 工作区上下文决策记录——指令上下文为何按 agent/会话隔离并持久记录。
- 生成的配置目录——本组各包接受的全部配置字段。
开发备注
维护者的工作上下文——点击展开
无。