OpenViking
volcengine
Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:libaie/onboard-dsh-projects
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A DeepSeek Harness skill that lets one AI session drive many code repositories — without their contexts bleeding into each other.
The scariest failure mode in AI-assisted coding isn't a weak model — it's crossed context. Debug a bug across three repos and repo A's instructions leak into repo B's code; you edit the wrong branch, or write somewhere you shouldn't. onboard-dsh-projects puts every repository in its own isolated entry agent, then adds an optional controller to orchestrate the whole effort.
| Pain | What this skill does |
|---|---|
| 😵 Context pollution | One isolated entry subagent per repo: instructions, index, evidence, and edits all stay in their own context |
| 🔀 Repo and baseline drift | Verifies root, branch, HEAD, and dirty state before every run; drift blocks, it never silently proceeds |
| 💸 Model and task mismatch | Three-tier model routing: routine work on v4-flash, engineering and high-stakes work on v4-pro |
| 🔁 Repeating the same mistakes | A bounded experience index: proven strategies are reused, deterministic failures reject the same mechanism |
| 🧠 Controller memory bloat | The controller keeps only cross-project contracts and dispatch state; the ledger is hash-chained and archived, never growing without bound |
In one line: when a feature, incident, or release spans multiple repositories with different instructions, branch rules, test commands, or write scopes — this is the skill for it.
| Dependency | Level | Notes |
|---|---|---|
| DeepSeek Harness (DSH) | Required | The skill only runs inside DSH sessions; it is built on DSH-native tools (subagent, workflow, session notifications, skill loading). |
| Windows PowerShell 5.1 | Required | Every script targets it; CI verifies it on every push. |
| DSH session-persistence backend | Required | Entry subagents are continuable children and require a session-persistence backend to be loaded. |
| Registered LLM models | Required | Tier models (defaults: deepseek-official / deepseek-v4-flash / deepseek-v4-pro) must resolve in the deployment's llm service; otherwise set the tiers to null (session default) with set-model-tier. |
| Git | Conditional | Only for Git sources (-RequireGit in preflight). |
| OpenSSH client | Conditional | Only for SSH-based sources (-RequireSsh). |
| Git LFS | Conditional | Only for full-LFS checkouts (-RequireLfs). |
| Node 18+ | Conditional | Controller dispatch via workflow and any Node scripts (-RequireNode). |
| codebase-memory | Optional | The cbm_* graph bridge; when absent, the skill falls back to its lightweight index. |
scripts/preflight.ps1 checks every dependency and fails closed on status=blocked.
register-goal / advance-goal / terminal-goal), linkable to a CHAINRead → Prepare → Apply → Read protocol — no hand edits, no driftflowchart LR
U[User] --> C[Controller agent]
C -->|dispatch balanced| E1[Repo A entry agent]
C -->|dispatch balanced| E2[Repo B entry agent]
C -->|dispatch frontier| E3[Contract freeze / high-stakes work]
E1 --> I1[(A snapshot index)]
E2 --> I2[(B snapshot index)]
C --> Q[(Dispatch queue + CHAIN hash ledger)]
Q --> M[Monthly archive]
E1 -->|result evidence| C
E2 -->|result evidence| C
Full walkthrough from a clean machine to a running controller session: docs/getting-started.md (简体中文).
In a DeepSeek Harness conversation, just say:
Use onboard-dsh-projects.
sources:
- source: C:\work\service-a
- source: C:\work\web-app
indexMode: full
For cross-project work, add the controller:
Use onboard-dsh-projects.
sources:
- source: C:\work\service-a
- source: C:\work\web-app
controllerRoot: <absolute path inside the workspace>
initializeController: true
createControllerAgent: true
Then hand the problem to the controller in plain language:
Trace the H5 login flow end-to-end across the H5 app, mall backend, and member service.
Read-only first, freeze the shared interface contracts, dispatch checks to each repo's
entry agent, and return end-to-end evidence.
economy → deepseek-v4-flash, balanced/frontier → deepseek-v4-pro; one command to change (set-model-tier)state/archive/YYYY-MM/; verifiable and traceable| Approach | Context and lifecycle | Best for |
|---|---|---|
| One long session | All repos share one ever-growing context | Quick, low-risk checks where rules don't differ |
| This skill | Per-repo entry agents + controller holds only cross-project facts | Cross-repo features, incidents, and releases |
Entry agents can still use subagents and workflows internally — the two compose.
~/.dsh/skills/onboard-dsh-projects/).powershell -NoProfile -ExecutionPolicy Bypass -File ./tests/run-all.ps1 (Windows PowerShell 5.1). CI runs the same command on every push and pull request.core.autocrlf=true.tools/control-state.ps1 with the CAS protocol; never hand-edit manifests or CHAIN files.If this project helps you, give it a Star ⭐ — or send it to a friend who is also fighting multi-repo context pollution. Feedback and PRs are always welcome.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: workflow-isolation。