Protocol
August 31, 2026 · View on GitHub
This is an Agent knowledge OS, not a search plugin.
- Self-evolution is the product (seal → distill → two-step promotion). Timer is on by default. API key first: lock that provider's flagship model and run distill + promotion. No key: the user's own Claudian-class CLI subscription (
grok/ official Codex /claude/ …) does the same work.lamp: unused= you turned the timer off. - Promotion is two-step: five gates pass → write
provisionalthe same day, no ask. Next similar task → ask (matcher inskill/krouter-obsidian/scripts/ask_product.py; at most one). Host adopts →record. This task accepted →promotewritesactive. Do not writeactiveonrecord. - Correction-first: current instruction and latest
supersedesbeat old logs. - Retrieval is the lock: short noun, dual SHA-256 receipt, no vector store. A neighbor cite is a protocol violation.
Architecture: docs/ARCHITECTURE.md.
- Five zones:
01 项目in progress;02 经验与方法verified reusable methods;03 资料与证据inputs and evidence;04 已完成与复盘finished results;05 时间日志what happened that day. - Four maturity layers: full logs → distillation → promotion → retrieval. Formal
02requires the two-step gates above. Candidates stay in projects or materials until the five gates pass. - On conflict: the current user instruction and the latest
supersedesbeat old logs. - Clippings originals are copied only. Do not move them.
- Routing: match
canonical_sources.psvwith a short noun (exact > alias in query > query in alias; same score and same file → lowest id; otherwise no hit). Open that page. On a miss, print alias suggestions (hints only) and literal-search the route’s scope. No vector store. Evidence is three layers — implementation, comparison, self-report:docs/VERIFY.md. Neighbor cite is a failure:docs/LOCK_VS_NEIGHBOR.md. - Every route prints a receipt: time, source path, source SHA-256, map SHA-256.
- Two lanes, same job (distill + two-step promotion). API key first: read
90 系统文件/自动化/自进化钥匙.md, lock the provider's flagship model (/modelscatalog; skip mini/haiku), runapi_writer.py. No key: spawn a logged-in Claudian-class CLI (grok, official Codex,claude, opencode, kimi, pi, vibe, antigravity) with that harness's flagship. Do not use a PATH-levelagent. Chat/IDE login is not a spawnable harness. No extra env file. Mounted agents must runstatusand tell the host ifhost_actionis present. Do not print secrets. Do not commit a live key. - One product: DSH-KRouter. Cursor, Codex, Claude Code, and DeepSeek Harness are sockets on one vault. Sharing is the vault and the alias map, not a second protocol.
extras/dshis the DSH socket (read-only tools).extras/host-daily-evolutionis the writer. They are not two projects. Uninstalling the DSH socket does not delete notes.dsh plugin adddoes not start the timer.