nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:warrenop/open-preset-harness
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Project memory for multi-role AI agents — one knowledge base, every preset reads.
English | 中文
DSH Profile Bundle:
dsh-tool-project-memory· Category: Memory · Install · DSH1024 checklist
Agents forget between sessions. Teams don't.
open-preset-harness adds a project-scoped organizational memory layer on top of DeepSeek Harness: any role (preset) can contribute experience; any role can recall it when needed.
DeepSeek Harness separates preset (who the agent is — tools, persona, prompts) from session log (what happened in one conversation). That split is right for engineering — but team knowledge lives at the project level, not inside a single preset or session.
Without shared memory:
open-preset-harness makes project experience compound over time — like a team wiki that agents actually use, wired into the harness session log.
| Is | Open-source project organizational memory for Harness presets |
| Is | Domain-organized, recall-on-demand, auditable contributions |
| Is not | A replacement for DeepSeek Harness (we extend it) |
| Is not | Per-preset silos or a generic vector DB demo |
| Is not | Claiming to invent "AI memory" — we integrate it correctly for multi-role teams |
DeepSeek Harness (upstream, MIT)
│
├── preset = role shell (tools + persona)
├── session = episodic log (one conversation)
│
└── open-preset-harness (this project)
└── project memory = shared team experience (cross-preset, cross-session)
We upstream-friendly fixes when possible; project-memory features live here until (if ever) they graduate upstream.
See docs/architecture.md and docs/phase-0-memory-api.md.
┌─────────────────────────────────────────────────────────┐
│ Project Memory (shared) │
│ index · domains · decisions · distilled learnings │
└────────────────────────▲────────────────────────────────┘
│ write (distill) / read (recall)
┌───────────────────┼───────────────────┐
│ │ │
Preset A Preset B Preset C
(any role) (any role) (any role)
│ │ │
Session 1 Session 2 Session N
(episodic log) (episodic log) (episodic log)
Design rules
security, api, onboarding)Default layout:
<projectRoot>/.dsh/memory/
├── index.md
├── domains/
│ ├── engineering.md
│ ├── product.md
│ └── …
└── decisions/
└── YYYY-MM-slug.md
| Scenario | Who writes | Who reads | Value |
|---|---|---|---|
| Cross-functional delivery | Any function | Any other preset | Decisions don't die in someone else's session |
| Engineering ↔ QA | Dev preset after API change | QA preset before test plan | Fewer alignment loops |
| Product ↔ Engineering | PM preset after scope call | Eng preset during implementation | "Why we chose B" stays attached |
| Security / compliance | Review preset after audit | All presets | Constraints propagate |
| Onboarding | Senior presets over time | New hire's preset day one | Context without senior interrupt |
| Open-source maintainers | Triage preset | Release preset | Known issues and release norms |
| Agency / client work | Account preset | Delivery preset | Client preferences travel with the repo |
| Research → writing | Literature preset | Drafting preset | Findings become citable facts |
| SRE / incidents | Postmortem preset | Debug preset | Incident learnings reduce repeats |
| Design systems | Design preset | Frontend preset | Tokens and exceptions stay aligned |
| Localization | Translator preset | Dev preset | Terminology stays consistent |
| Data / ML pipelines | EDA preset | Modeling preset | Data quirks persist |
More in docs/scenarios.md.
v1.0.0 — Full roadmap shipped (Phase 0–3, Distill 1–3, LLM assist); dual-preset demo deferred (#3).
| Milestone | Status |
|---|---|
| Memory API spec | ✅ phase-0-memory-api.md |
.dsh/memory/ on-disk convention |
✅ |
dsh-tool-project-memory bundle |
✅ packages/tool-project-memory |
| Supersede governance (Phase 1) | ✅ phase-1-supersede.md · #4 |
| Session distill hook (Phase 1) | ✅ phase-1-distill.md · #5 #6 |
| Recall ranking (Phase 2) | ✅ phase-2-recall.md · #7 #9 |
| Write governance (Phase 3) | ✅ phase-3-governance.md · #8 #10 |
| Distill + LLM assist | ✅ phase-1-distill.md · #11 |
| Config reference | ✅ config-reference.md |
| Dual-preset demo | 📝 deferred · #3 · walkthrough |
Capability-oriented, demand-driven from Issues and scenario feedback — no fixed dates.
distillAutoLlm, vectorEmbedModel: llm-keywords-v1 via Harness ctx.llmdistillAuto promotes heuristic candidates to remember under Phase 3 governancewriteApprovalDomains triggers Harness approval before remembervectorSidecar + recall ranking: 'vector' (local-fhash-v1, no network)writeAllowDomains, writeAllowPresets, writeDenyPresets on rememberranking: 'legacy' restores Phase 0 substring modesuggest_memory_candidates tool — heuristic session scan, model still calls remembercompaction/end, with optional summary excerptagent/turn-stopping inject to call remember — default off, no auto-writeremember(supersedes) back-patches old entries; recall/index show active entries onlyexpires_at / recall expired warningsscripts/smoke.sh)dsh plugin addrecall, remember, memory_statusindex.md inject (bounded).dsh/memory/See docs/scenarios.md and Scenario Issues to influence priorities.
DSH Memory plugin: packages/tool-project-memory ·
npm run checkpassing
dsh plugin --profile web add "github:warrenop/open-preset-harness#main&path:packages/tool-project-memory"
dsh --profile web --dump-config | grep dsh-tool-project-memory
Headless / CI:
dsh plugin --profile headless add "github:warrenop/open-preset-harness#main&path:packages/tool-project-memory"
From a local clone:
dsh plugin --profile web add ./packages/tool-project-memory
standard writes, code readsen-scenario or cn-scenariochmod +x scripts/link-harness.sh
./scripts/link-harness.sh /path/to/deepseek-harness-master
| Field | Value |
|---|---|
| Category | Memory |
| Package | dsh-tool-project-memory |
| Install | dsh plugin --profile web add "github:warrenop/open-preset-harness#main&path:packages/tool-project-memory" |
| Listing | DSH1024 (discovery via GitHub topic dsh-plugin) |
See CONTRIBUTING.md.
High-impact contributions right now:
[cn-scenario] or [en-scenario] to help us track market signalsMIT — see LICENSE and NOTICE.
DeepSeek Harness is © DeepSeek; modifications © contributors.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: memory。