Skip to content

Releases

dsh-kb-curator v0.1.2

Choose a tag to compare

@Mark-mph Mark-mph released this 09 Oct 07:52

dsh-kb-curator v0.1.2

Documentation-only release. The plugin code and the bundled engine are unchanged from v0.1.1.

What changed

The published package now ships an honest README (both languages):

  • removed the invented .github/workflows/ci.yml from the repository layout — this repository has no CI workflow;
  • removed the hard-coded line count for kb.ps1 (it had already gone stale);
  • added an explicit note that the self-check is local-only, and why: adding .github/workflows/ needs a token with the workflow scope.

Why

The v0.1.1 tarball was built before those README fixes, so the artifact told new users about automation that does not exist. This release realigns the artifact with the repository.

Install

dsh plugin --profile desktop add https://github.com/Mark-mph/dsh-kb-curator/releases/download/v0.1.2/dsh-kb-curator-0.1.2.tgz

or paste that URL into the plugin manager UI.

Not changed

Skill body, references, engine (kb.ps1 is byte-identical to v0.1.1), lib/index.js, cordis.patch.yml.

dsh-kb-curator v0.1.1

Choose a tag to compare

@Mark-mph Mark-mph released this 09 Oct 06:51

dsh-kb-curator v0.1.1

Engine fixes. Same skill, same layout; the PowerShell engine stops producing
scaffold text that looks like knowledge, and rejecting a proposal no longer
leaves an orphan behind.

Fixes

1. Knowledge pages no longer contain placeholder garbage

kb.cmd page <category> -Create (and init) build the page from
_templates/knowledge-page.md, substituting the category name for a placeholder.
The template's own explanatory comment contained that placeholder, so every
generated page ended up with a nonsense sentence reading
<category> 占位符由 kb.ps1 init 替换成大类名。. The comment now describes the
placeholder without spelling it out, so substitution only touches the frontmatter
line it was meant to touch.

2. search no longer reports the template's own examples as hits

The template carried bare example lines — including a fabricated fact with a
[src:...] citation. Those lines are copied verbatim into every generated page,
so a literal search matched eight knowledge pages and reported them as knowledge.

Two changes:

  • the template's example lines were rewritten as neutral angle-bracket
    placeholders, with a comment warning that anything left in the scaffold is
    searchable;
  • search now skips lines that sit inside an HTML comment or that are a bare
    scaffold placeholder, and tells you how many it skipped:
    (已忽略 8 处知识页脚手架 / 模板注释命中). Skipped counts are recorded in
    _system/log.jsonl as scaffold_skipped=N.

If you already have pages generated by 0.1.0, replace the stray sentence on the
template-comment line with the 0.1.1 wording; nothing else in them is wrong.

3. reject no longer leaves an orphan metadata file

add writes two files into _inbox/: the content copy and a .meta.md sidecar.
reject moved only the content copy into _inbox/_rejected/, leaving the
sidecar pointing at a file that was no longer there. Both move together now, and
the log line records meta=.

4. status counts only real staged material

The L0 暂存 counter included *.meta.md sidecars, so it reported double the
actual number of unprocessed sources. Sidecars are excluded now.

Not changed

reject's archiving logic itself was correct and is untouched — it was simply
never exercised. All four paths are covered by the test run behind this release:
missing -Reason, unknown id, a normal rejection, and a repeated rejection.

Install

dsh plugin add dsh-kb-curator

First use copies engine/ to wherever you want your knowledge base and runs
kb.cmd init. After that the engine is self-locating: move the folder and nothing
needs rewiring.

Requirements

  • Windows with Windows PowerShell 5.1. The engine is invoked through kb.cmd;
    it does not run on POSIX shells in this release.
  • Optional: @kenz1117/dsh-engram, for the L2 memory layer. Without it the skill
    degrades to L1 originals plus L3 topic pages.

Verify the download

npm test

runs scripts/check-assets.mjs, which checks the skill frontmatter against the
plugin constants, asserts every asset is present, and fails if a machine-specific
path or a BOM ever reaches a shipped file. It needs no install step.

dsh-kb-curator v0.1.0

Choose a tag to compare

@Mark-mph Mark-mph released this 09 Oct 06:25

dsh-kb-curator v0.1.0

First release. Ships one DeepSeek Harness skill and the knowledge-base engine it drives.

What is in the box

Path What it is
lib/index.js the Cordis plugin; registers one bundled skill provider
assets/kb-curator/SKILL.md the skill body the model loads
assets/kb-curator/references/ seven reference documents the body points at
assets/kb-curator/engine/ the knowledge-base engine: PowerShell script, ASCII wrapper, taxonomy, priority table, templates

Install

dsh plugin add dsh-kb-curator

First use copies engine/ to wherever you want your knowledge base and runs
kb.cmd init. After that the engine is self-locating: move the folder and nothing
needs rewiring.

The review gate

The agent is allowed to write to three places only: _inbox/, _review/queue/,
and _system/log.jsonl. Everything in library/ and pages/ is written by the
engine, and only after you run an explicit approve command. Nothing enters the L2
memory layer before that.

Requirements

  • Windows with Windows PowerShell 5.1. The engine is invoked through kb.cmd;
    it does not run on POSIX shells in this release.
  • Optional: @kenz1117/dsh-engram, for the L2 memory layer. Without it the skill
    degrades to L1 originals plus L3 topic pages.

Verify the download

npm test

runs scripts/check-assets.mjs, which checks the skill frontmatter against the
plugin constants, asserts every asset is present, and fails if a machine-specific
path or a BOM ever reaches a shipped file. It needs no install step.