Agent Skills › See-Sol-Lab/DeepSeekGUI › dsh-archive-agent-notes

dsh-archive-agent-notes

GitHub

用于管理 DeepSeek Harness 中的 Agent Notes,执行添加、审计、归档和清理操作。根据语义判断笔记价值,区分实施、提议或拒绝状态,确保保留具有未来指导意义的决策记录,删除过时或机械性内容,维护知识库的准确性与有效性。

.agents/skills/dsh-archive-agent-notes/SKILL.md See-Sol-Lab/DeepSeekGUI

Trigger Scenarios

需要归档或清理 Agent Notes 添加新笔记前需检查替代关系 审计现有笔记的生命周期状态

Install

npx skills add See-Sol-Lab/DeepSeekGUI --skill dsh-archive-agent-notes -g -y
More Options

Non-standard path

npx skills add https://github.com/See-Sol-Lab/DeepSeekGUI/tree/main/.agents/skills/dsh-archive-agent-notes -g -y

Use without installing

npx skills use See-Sol-Lab/DeepSeekGUI@dsh-archive-agent-notes

指定 Agent (Claude Code)

npx skills add See-Sol-Lab/DeepSeekGUI --skill dsh-archive-agent-notes -a claude-code -g -y

安装 repo 全部 skill

npx skills add See-Sol-Lab/DeepSeekGUI --all -g -y

预览 repo 内 skill

npx skills add See-Sol-Lab/DeepSeekGUI --list

SKILL.md

Frontmatter
{
    "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, deletes small UI and purely mechanical records, classifies other 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

Before drafting, apply the creation criteria. 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 — delete: delete complete triplets that only describe small UI adjustments or purely mechanical changes, and repair or remove inbound links. Local bug fixes, performance changes, new capabilities, and substantive behavior or ownership decisions do not qualify merely because they are implemented. Apply this criterion before keep/archive classification.
  • 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. Classify the decision, not the mechanics of its implementation: a mechanical rename or type extraction can still record lasting naming, compatibility, or ownership rules. Length does not matter.
  • Implemented — archive: archive a substantive historical decision when it is complete and unlikely to guide future work, but its historical rationale still warrants preservation. Do not archive records that meet the direct-deletion criterion.
  • 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.

Delete implemented notes such as:

  • collapsed sidebar control rail — 533 words: closed, minor UI behavior;
  • issue-policy module ownership — completed function relocation and import rewiring with unchanged behavior.

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

  1. Move the complete foo.md, foo.zh.md, and foo.i18n.yaml triplet from implemented/<kind>/ to archived/<kind>/; implemented is deliberately absent from the archive path.
  2. Make no body edits. Insert only Archived: YYYY-MM-DD immediately below Status: implemented in both language files, using the archival date and the same value on both sides.
  3. Re-record the sidecar hashes mechanically for the two metadata-only edits. Do not translate, reformat, update facts, or repair links inside the note. Existing title punctuation, blank-line layout, and language-switcher wording are preserved, not prerequisites for archival.
  4. 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.
  5. 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 deleted or 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.

Version History

  • d508a1d Current 2026-09-27 10:40

    增加了在添加笔记时检查替代关系的逻辑;细化了已实施笔记的分类标准,明确小UI调整或纯机械变更应直接删除而非归档;强调基于语义价值而非字数或年龄进行判断。

  • f8fae74 2026-09-21 23:54

Same Skill Collection

.agents/skills/agent-experience/SKILL.md
.agents/skills/dsh-ci-test-reliability/SKILL.md
.agents/skills/dsh-client-ui-ux/SKILL.md
.agents/skills/dsh-code-review/SKILL.md
.agents/skills/dsh-find-simplifications/SKILL.md
.agents/skills/dsh-merging-stacked-prs/SKILL.md
.agents/skills/dsh-pre-push-checks/SKILL.md
.agents/skills/dsh-prose-standard/SKILL.md
.agents/skills/dsh-speed-up-perf/SKILL.md
.agents/skills/dsh-translate-docs/SKILL.md
.agents/skills/dsh-trim-cot-leakage/SKILL.md
packages/preset/agent-preset/skills/cordis-composition-reference/SKILL.md
packages/preset/agent-preset/skills/cordis-plugin-development/SKILL.md
packages/preset/agent-preset/skills/editing-cordis-compositions/SKILL.md
packages/skill/skill-office/assets/office-docx/SKILL.md
packages/skill/skill-office/assets/office-pptx/SKILL.md
packages/skill/skill-office/assets/office-xlsx/SKILL.md
.agents/skills/dsh-doc/SKILL.md
.agents/skills/record-browser-gif/SKILL.md

Metadata

Files
0
Version
d508a1d
Hash
298e9562
Indexed
2026-09-21 23:54

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-29 01:28
浙ICP备14020137号-1