快速了解
它能做什么
用于归档 agent 笔记的指导。
本站提供的是中文说明,不代表该项目或 Plugin 自身提供中文界面;语言支持请以上游文档为准。
选择前先看
该技能提供用于归档 agent 笔记的指导
适合谁
需要documentation能力的 DSH 用户。
常见任务
- 用于归档代理笔记相关的documentation工作流。
- 决定是否适合你的 Profile 前先查看固定版本的仓库证据。
权限与数据
本次未测试运行时行为;宿主访问范围取决于 DSH 集成方式和声明的依赖项。
权限- 将技能加入宿主技能集合。
- 本次未测试运行时数据处理。
- 可能使用固定仓库声明的依赖项或服务。
- 现有证据没有确认凭据要求。
局限
- 本次未测试运行时安装和执行。
- 描述基于固定版本的仓库证据。
DSHub 已核对
- 证据中固定了源码仓库 commit。
DSHub 未核对
- 本次未测试运行时安装、执行和兼容性。
- 不表示任何安全认证。
固定版本安装
主要操作
这个独立 Skill没有 DSH Plugin 安装操作,请根据源码文档使用真实交付方式。
维护者原文
Skill 使用说明
name: dsh-archive-agent-notes description: Use when adding, auditing, pruning, archiving, restoring, or reviewing Agent Notes in deepseek-harness; checks every new note for superseded active records, classifies implemented notes by future decision value, deletes rejected notes that no longer prevent a tempting fallacy, and applies the frozen archived/{kind} triplet and manifest rules.
Archive DeepSeek Harness Agent Notes
Reduce the active decision corpus without erasing history that can still guide work. Judge every note semantically; word count and age are discovery aids, never archive criteria.
Read the contracts
Read the Agent Note rules, the archive instructions, and the applicable active lifecycle instructions before classifying. Use current code, configuration, package docs, generated catalogs, newer Agent Notes, and inbound links to establish whether a rationale still owns or constrains anything.
Check supersession when adding a note
Every new Agent Note triggers a scoped audit of active notes covering the same decision, mechanism, or rejected alternative. Classify each full or partial supersession while writing the new note: archive qualifying implemented triplets in the same PR, retain and cross-link partial supersessions or independently useful rationale, reject obsolete proposals, and delete rejected notes that no longer prevent a plausible mistake. Apply the Agent Note consolidation rule when the new owner absorbs every unique proposition; do not defer a known match to a later corpus audit.
Classify by future value
Apply these lifecycle-specific outcomes:
- Implemented — keep active: retain a note when its rationale, alternatives, negative guarantees, durable/wire semantics, ownership boundary, security rule, or reintroduction condition is likely to guide a future change. Length does not matter.
- Implemented — archive: archive a note when the shipped decision is complete and its body is unlikely to guide future work, such as one-off UI chrome, a narrow adapter, a minor closed bug, superseded implementation detail, or process history whose current behavior is obvious elsewhere.
- Proposed — never archive: keep a live proposal active; if it is no longer worth pursuing, reject it with an honest reason and satisfy the rejected lifecycle format.
- Rejected — keep only as a guardrail: retain a rejection only when the losing proposal remains a tempting, meaningful mistake and the note explains why it loses.
- Rejected — delete: delete the whole triplet when the rejected idea is obsolete, superseded, no longer plausible, or unlikely to prevent re-litigation. Repair or delete inbound links.
Do not archive toward a quota. Inspect every note in scope, classify analogous groups under one principle, use best judgment for close cases, and record genuinely borderline decisions for the handoff.
Calibrated examples
These examples set the bar; the word counts demonstrate that size is not the test.
Archive implemented notes such as:
- collapsed sidebar control rail — 533 words: closed, minor UI behavior;
- Commander argument adapter — 1,498 words: substantial implementation detail with little future design leverage;
- documentation graph atlas — 920 words: completed documentation machinery whose current generators are authoritative.
Keep implemented notes such as:
- event-sourced sessions — 248 words: foundational authority and durability boundary;
- single Harness-home resolver — 596 words: cross-product ownership rule;
- project session directories — 628 words: durable storage and identity policy;
- parallel pre-push gates — 400 words: borderline, but still guides gate scheduling and resource tuning;
- dropped image content block — 334 words: keep until multimodal support lands, because it states the coordinated reintroduction condition.
For rejected notes:
- keep folding the compaction package split — 426 words: the temptation to merge the packages remains meaningful;
- delete streaming workflow progress through tool calls — 972 words: its ACP/UI premise is obsolete;
- delete dropping ACP terminal metadata — 362 words: the later automation-only ACP decision resolved the question.
Archive one implemented triplet
- Move the complete
foo.md,foo.zh.md, andfoo.i18n.yamltriplet fromimplemented/<kind>/toarchived/<kind>/;implementedis deliberately absent from the archive path. - Make no body edits. Insert only
Archived: YYYY-MM-DDimmediately belowStatus: implementedin both language files, using the archival date and the same value on both sides. - Re-record the sidecar hashes mechanically for the two metadata-only edits. Do not translate, reformat, update facts, or repair links inside the note.
- Search for inbound links from active prose. Redirect them to current authority, retarget them to the archived path only when the historical snapshot is intentionally cited, or delete them. Never verify or repair links out of the archived note.
- Run
pnpm run verify-archived-agent-notes --write. Its append-only mode first proves every existing seal still matches, then adds only the new triplet hashes. Run the normal verifier afterward.
After the triplet is sealed, never edit, move, translate, reformat, or delete it. Archived notes remain valid inbound-link targets but are historical snapshots, not authority for current behavior.
Validate and report
Run the archive verifier's focused test, pnpm run verify-archived-agent-notes, pnpm run doc-sync, pnpm run lint, and git diff --check; select any additional evidence through dsh-pre-push-checks.
Report active implemented notes kept, implemented notes archived, rejected notes kept/deleted, proposed notes rejected if any, and every genuinely borderline case with its word count and chosen outcome. Do not claim archived outbound links are valid: the archive verifier intentionally never checks them.
有意识地管理
安装与管理
前置条件与目标 Profile
目标: 没有原生 DSH Profile 目标。
交付方式: Skill 文件 — https://github.com/hust-open-atom-club/oh-dsh。
兼容性与访问范围
not_runtime_tested: not tested。
风险事实
A destructive recursive-delete pattern was detected in the installer script; do not run it without human review.
证据 ↗A destructive recursive-delete pattern was detected in the installer script; do not run it without human review.
证据 ↗A destructive recursive-delete pattern was detected in the installer script; do not run it without human review.
证据 ↗The npm distribution signal is incomplete or differs from the pinned source; review it before use.
证据 ↗The npm distribution signal is incomplete or differs from the pinned source; review it before use.
证据 ↗The npm distribution signal is incomplete or differs from the pinned source; review it before use.
证据 ↗证据与编辑审查Manifest、Bundle patch、分发与新鲜度
不可变证据
审查状态与源码活动
在核对来源内容和不可变发布记录后,已由人工批准发布。AI 参与了内容草稿生成,最终发布决定由人工完成。
人工审查于 2026/8/29 UTC 15:26。GitHub 事实核对日期: 2026/8/29 UTC 15:11。
自当前证据基线以来,没有记录到重要源码变化。