Introduction¶
When performing data queries in DeepSeek Harness (DSH), agents frequently encounter unfamiliar columns: the column name suggests one meaning, but the actual semantics differ. The column pkgW might represent milliwatts in one dataset and watts in another; gpuPct could be a percentage in one context and a multiple relative to a baseline in another. Between two analysis sessions, nobody remembers these conventions, and the next agent is forced to guess from the column name again.
DSH’s philosophy is “everything is a plugin,” yet the native plugin layer lacks the ability to version, roll back, and reproduce semantic conventions. dsh-evoontology-noahversion is a native semantic-layer plugin that rewrites the EvoOntology philosophy into DSH-native tools, commands, and skills, turning the inference of column names and semantic conventions into diffable, revertible, and evidence-backed assets.
Core Capabilities¶
The semantic layer is composed of four types of nodes: terms, field mappings, constraints, and evidence. Each node is associated with a reproducible query (evidence), stored in a SQLite file that serves as the system’s “source of truth.”
The plugin exposes 11 tools, 1 command (/evo), 3 skills, and a one-line system prompt that lets the agent auto-load them at the appropriate time. The right-hand panel’s “+” provides an EvoOntology tab for viewing the active version, counts across the five categories, the version list, and task statistics. Diff comparisons are performed via the /evo diff command.
Installation & Activation¶
Run the install command inside DSH (not in a shell):
plugin_manager action=install_bundle target=D:\dsworkspace\dsh-evoontology-noahversion
Once application: applied is shown, it takes effect immediately: tools, the /evo command, and the three skills become available on the spot. A DSH restart is only needed when replacing the JS implementation of an already-installed package.
Uninstall & cleanup:
plugin_manager action=remove_bundle target=@noah/dsh-evoontology
remove_bundle does not delete the following directories; they must be cleaned up manually:
Remove-Item -Recurse -Force "$HOME\.dsh\profiles\desktop\node_modules\@noah\dsh-evoontology"
Remove-Item -Recurse -Force "$HOME\.dsh\evoontology"
Typical Usage¶
Building a Semantic Layer¶
For a given dataset, first probe the structure, then commit semantic nodes.
- Use host tools to probe the data (SELECT MIN/MAX/COUNT DISTINCT, read a few sample rows).
- Commit nodes:
evo_commit({
summary: "将 pkgW 换算为瓦,gpuPct 标记为相对基线的倍数",
nodes: {
upsert: [
{
id: "ev.pkgW",
kind: "evidence",
body: {
source: "mon_4b.csv",
probe: "SELECT AVG(pkgW) FROM mon_4b",
result: "27927 (单位不明,根据上下文推断为 mW)"
}
},
{
id: "t.package_power",
kind: "term",
body: {
definition: "Package power in watts",
unit: "W",
evidence: ["ev.pkgW"]
}
},
{
id: "m.mon_4b.pkgW",
kind: "mapping",
body: {
table: "mon_4b",
column: "pkgW",
term: "t.package_power",
transform: "value/1000 → W",
evidence: ["ev.pkgW"]
}
},
{
id: "c.gpuPct.ratio",
kind: "constraint",
body: {
kind: "ratio",
subject: "m.mon_4b.gpuPct",
value: "baseline multiple",
evidence: ["ev.gpuPct"]
}
}
]
}
})
- Inspect the version diff:
evo_history({ from: "v0", to: "v1" })
- After human confirmation, activate the version:
evo_publish()
Analyzing the Same Dataset Each Time¶
- Check the active version:
evo_status()
- Start a task, pinning the question to the currently active version:
evo_task_start({ question: "pkgW 换算成瓦后的均值是多少" })
- Resolve the intent to obtain mappings, constraints, and a query skeleton:
evo_resolve({ intent: "pkgW 换算成瓦后的均值" })
- Execute a read-only query:
evo_query({
source: "D:\\data\\mon_4b.csv",
sql: "SELECT AVG(pkgW)/1000 AS avg_w FROM mon_4b"
})
- Finish the task:
evo_task_finish({ answer: "平均 31.9 W(依赖 v1 的 c.unit.mW)" })
When Records Are Found to Be Incorrect¶
Commit a fix with new evidence + a correction patch to produce a draft version, then publish it after human confirmation; or simply revert to a previous version:
evo_commit({ /* 修正后的 nodes */ })
// 草稿 vN+1,等待人确认
// evo_publish() 激活新版本
// 或
evo_revert({ version: "vN-1" }) 一句话回退
Equivalent command-line invocations:
/evo status/evo versions/evo diff v0 v1/evo publish v1/evo revert v0/evo discard v2(delete a draft)/evo export/evo path
Use Cases & Caveats¶
Ideal for DSH users who need to maintain column semantics and measurement conventions over the long term: scenarios involving repeated analysis of the same data, volatile conventions, and the need for rollback and reproducibility. The plugin runs with the current DSH process’s privileges; it is advisable to review the source code and license before installing.
Summary¶
dsh-evoontology-noahversion turns the inference of column names and semantic conventions into versioned, diffable, and revertible assets, so agents no longer have to guess column meanings when faced with unfamiliar data. Through tools, commands, skills, and a system prompt, the plugin integrates the EvoOntology philosophy into the DSH ecosystem.
Links¶
- Directory page: https://www.skillhub.cn/plugins/NoahQiao/dsh-evoontology-noahversion
- GitHub: https://github.com/NoahQiao/dsh-evoontology-noahversion