Thaliris-dsh: Integrating Cognitive Orchestration and Task Evidence on DeepSeek Harness

Preface

When doing long-horizon refactoring or cross-module changes in DeepSeek Harness (DSH), the common practice is to pile more context into the same Agent conversation: compression, retrieval, memory. Thaliris takes a different starting point: it believes the greater loss often comes from too many goals within the same inference trajectory—investigation, implementation, debugging, self-review, and “previous failures” crammed together, diluting the strong model’s attention with noise; after subagents hand back “locally completed” work, the counter-evidence from the review stage can also be quietly masked by test passing over several repair rounds.

Thaliris-dsh (npm package name @thaliris/dsh-plugin) is a workflow-class plugin for DSH provided by maintainer Iris0fTheValley: it doesn’t build another Agent Runtime, but instead connects Thaliris’s task records and Controller tools to DSH’s native Workspace, persistent Sessions, Agent/subagent, Settings, and shared Web/Desktop client extensions, and calls the separately installed Thaliris Core via a Python bridge. The following describes what problems it solves, what it can do, and how to install and enable it according to the official documentation.

What Is This

Thaliris is positioned overall as a cognitive orchestration layer for AI programming agents (project status: Beta). Thaliris-dsh only handles the Adapter on the DeepSeek Harness side: integrating Workspace/Session/Agent, optional Memory, and roles and model routing in the policy page; Core capabilities such as task ID, observation, evidence, and freshness are provided by the shared Thaliris Core, and this repository does not copy Core or the Codex adapter.

Community catalog page: https://www.skillhub.cn/plugins/Iris0fTheValley/Thaliris-dsh (independent site, no official affiliation with DeepSeek/High-Flyer). Source code and documentation: https://github.com/Iris0fTheValley/Thaliris-dsh. Current plugin version see package.json: 0.2.0, license MIT.

Core Capabilities (DSH-related parts)

Cognitive Isolation and Roles

The long-term Controller holds the user’s goals, hard constraints, and acceptance criteria; short-term roles such as Investigator, Implementer, Focused Implementer, and Reviewer do local work in fresh contexts, not inheriting the parent conversation, and only hand back conclusions, sources, verification results, and unknown items that would change decisions. Roles are chosen on demand, not as a fixed pipeline; different roles can be configured with different models, and routing modes in DSH policy are inherit, fixed, or allowed. Initial role templates use inherit without a fixed model; template changes do not overwrite saved user role records.

Evidence Continuity

Counter-evidence discovered by sub-roles that would change conclusions or acceptance is registered as observation; until the Controller explicitly disposes of it (satisfied / unknown / needs fixing / no longer relevant), the relevant evidence will keep appearing in subsequent handoffs; test PASS, subagent Completed, etc. cannot automatically make “needs fixing” go away. When the Adapter hands subagent results to the Controller, it re-presents the still-undisposed key evidence. Task state is saved in structured files within the repository; conversation transcripts are not saved; persistence and “stuffing into every role” are two independent things.

DSH Policy Page and Workspace

The DSH policy page can configure role prompts, model routing, tools, Workspace, and Memory. Exact Workspace binding and persistent root Session are part of task association: repository path alone will not restore old tasks. Before enabling, you need to register the canonical Git root as a native Workspace in DSH, create or restore a persistent root Session, and bind the exact Workspace ID and root in the policy.

Memory (Optional)

Memory is off by default; you can separately install the memory capability and a local text provider; task routing and close do not require enabling Memory or client UI. The documentation makes clear: there are no embeddings/vector RAG or automatic retrieval; reads are authorization-controlled, and writes follow user permission and Core task checks. See CAPABILITIES.md and CLIENT-CONTRACT.md in the repository for boundaries.

What Thaliris Is Not

Not an Agent runtime, workflow engine, fixed multi-agent pipeline, vector database or RAG, full-repo automatic summarizer; it also cannot replace source code, tests, and compilers. After removing Thaliris, the underlying development process should still stand independently.

Installation and Enablement

Environment

  • To build the plugin: Node.js 22.19+ or 24+ (see engines in package.json).
  • To run Thaliris Core: Python 3.11+.
  • You need to build the local archive from a version paired with the current DSH/Core; see the repository’s CORE-BASELINE.md for pairing instructions.

Installing Thaliris Core (multi-agent and task records depend on it)

Initialize Core in the target repository root (independent of whether the DSH plugin is installed, but the plugin calls Core via the bridge):

uv tool install git+https://github.com/Iris0fTheValley/Thaliris
cd your-repository
thaliris-core --root . init
TASK_ID=$(thaliris-core --root . task-start "example task" | python -c 'import json,sys; print(json.load(sys.stdin)["task_id"])')
thaliris-core --root . --task-id "$TASK_ID" task-status

Each task has an independent Task ID; subsequent CLI operations need an explicit --task-id. Installing Core alone does not enable DSH-side multi-agent orchestration; you still need to install the plugin according to the Thaliris-dsh guide.

Typical directory after initialization (excerpt from official documentation):

.agent-memory/   # selected, cross-task reusable project knowledge (can be version controlled)
.milestones/     # long-term progress: scope / decisions / progress / verification
.context/tasks/<task-id>/state.json   # single task state and evidence (Git-ignored by default)

Building and Installing the DSH Plugin

In the Thaliris-dsh source directory, build the bundle and client, then package:

npm run build:bundle
DSH_SOURCE="/path/to/pinned-dsh-checkout" npm run build:client
npm pack

Install the main plugin archive via the DSH Plugin Manager. Only when using Memory, also install the two optional archives:

PROFILE="your-profile"
ARTIFACT_DIR="/path/to/artifact-directory"
dsh plugin --profile "$PROFILE" add "$ARTIFACT_DIR/thaliris-dsh-plugin-0.2.0.tgz" "$ARTIFACT_DIR/thaliris-dsh-memory-0.1.0.tgz" "$ARTIFACT_DIR/thaliris-dsh-memory-local-0.1.0.tgz"

The generated bundle disables runtime/API by default. Before enabling, set the absolute-path pythonExecutable, corePath, and authorityDirectory in the plugin configuration: corePath must point to the same Core installation as the Python environment above; authorityDirectory should be placed outside the governed Workspace. Do not store credentials in the plugin configuration.

Peer dependencies in package.json include @deepseek-ai/cordis 4.0.4, @deepseek-ai/dsh-agent, and other 0.2.0-rc.2 series packages; the actual installation must match the DSH checkout pinned in CORE-BASELINE.md.

Typical Usage (Process Level)

  1. Within the repository, use thaliris-core to complete init, and if needed run task-start to get task_id.
  2. In DSH, register the repository as a native Workspace, and create or restore a persistent root Session bound to the task.
  3. In the Thaliris policy page, configure prompts, model routing (inherit / fixed / allowed), and tools for the Controller and each role; bind the correct Workspace ID and root.
  4. The Controller delegates to Investigator / Implementer / Reviewer etc. as the task requires; subagents work in isolated contexts, and results along with undisposed observations are returned to the Controller through the Adapter.
  5. The Controller makes explicit judgments on requirements and counter-evidence, then decides whether to continue implementation, fix, or close the task; optional Memory is used only when explicitly enabled and authorized per the documentation.

For finer routing, handoff, and acceptance rules, see the Thaliris main repository’s routing protocol and Thaliris-dsh’s PROMPT-CONTRACT.md.

Use Cases and Notes

For whom: Teams already using native Agent/subagent on DSH who want role isolation, independent review in long-horizon tasks, and counter-evidence kept visible through handoffs until disposed of by the Controller; willing to simultaneously maintain Thaliris Core and a pinned DSH build pairing.

Status and expectations: The official README marks Beta and records multi-agent vs single-agent comparison samples in a complex refactoring benchmark (ABCD); the sample size is small, so it cannot yet prove general quality or cost advantages, and the persistence chain of Evidence Continuity is still being refined. When reading results, focus on whether the original requirements keep constraining the solution and whether counter-evidence drives fixes, rather than only looking at whether local tests pass.

Security and permissions: The plugin runs under the current DSH process’s permissions and will read/write the repository and authorityDirectory you specify through the configured Python and Core. Before installing, read the source code, LICENSE (MIT), and CAPABILITIES.md to confirm paths and Workspace governance policies match your environment; do not store secrets in the configuration.

Conclusion

Thaliris-dsh connects Thaliris’s cognitive isolation and evidence continuity onto DSH’s native capabilities: the strong model stays at critical judgment points, noise is handled in sub-contexts, and local “completion” does not automatically wipe out undisposed counter-evidence. If you want to try workflow-class orchestration within the Harness rather than simply lengthening context, you can start with Core initialization and plugin archive installation, and complete the enablement against the Core baseline and capability documentation.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye