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:hujiajunyu-lab/dsh-wanxiang-hall
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
One person's company, five people's output. A delivery org inside DeepSeek Harness: intake → architect → review → dispatch → build → accept → deliver, with hard gates and a receipt for every hand-off.

Wanxiang Hall turns the workflow of a small software agency into agents that check each other's work, a set of gates that cannot be bypassed, and a panel that shows who is actually working and where it is stuck.
Made by Huanzhan (company) / Wanxiang Huanrong (team).
0% on the panel — because progress is self-reported by the agent instead of derived from what it did.| Layer | Mechanism |
|---|---|
| Facts | Heartbeat derived from session-log mtime (activity.js: working / quiet / stale / stuck / dead / unassigned). All six states are computed, never stored. "Running" is not the same as "alive": an agent stuck inside one tool call for two days used to look perfectly healthy. |
| Rules | Transitions come from PIPELINES[shape] — plain data, per-stage requires checks and a rejectCap. Missing output, edits outside the declared files, or starting work before the scope is signed are all refused. |
| Surface | The panel shows derived facts only: stage, health, work packages, time box, priority quadrant, and the things waiting on you. |
| Shape | Seats | Good for | Reject cap | Time box |
|---|---|---|---|---|
squad light |
architect + delivery engineer | one module, a batch of bugs, a new endpoint | 1 round | 8h |
crew project |
architect → reviewer → PM → engineer | several modules, cross-platform, packages that need integration | 2 rounds | 40h |
line pipeline |
architect → PM → engineer (many packages) | homogeneous bulk work | 1 round | none |
The light shape has no reviewer seat on purpose: whoever builds the thing reviews the plan (they own the deadline), and code acceptance is automated verification plus a spot-check diff. An independent reviewer only appears in the project shape, where "did we drift from the requirement" cannot be verified by a command.
| id | Title | Job |
|---|---|---|
secretary |
Delivery secretary | intake, project setup, answering, proxy signature, spot checks, closing |
zhongshu |
Architect | requirement → contract / plan / package breakdown |
menxia |
Reviewer (project shape only) | structured rejection (mustFix ≤ 3) or approval |
shangshu |
PM (called delivery engineer in light, dispatcher in pipeline) | split packages, dispatch, integrate, quote and settle |
executor |
Engineer | change only the files its package declares |
You are the client. The signatures only a human can give — scope, extension, closing — are the one thing no agent may fill in for itself.
court_handoff, and only along edges PIPELINES allows.requires: the document that stage must produce is missing → no hand-off.fixes:[1,2], and must not grow longer.BRIEF_TOO_LONG.court_read_brief.court_confirm_scope), and the scope cannot be signed before a plan exists.pathsConflict); overlapping packages must declare dependsOn.env, encoding) is refused on the spot.Full list: docs/gates.md (30 rules).
Package name dsh-wanxiang-hall, zero host-side dependencies (Node built-ins only).
A. From npm (one line, easiest)
npm i dsh-wanxiang-hall --prefix <DSH_HOME>/profiles/<profile>
B. Straight from GitHub (no npm publish needed — npm fetches the repo as a tarball)
// <DSH_HOME>/profiles/<profile>/package.json
{
"dependencies": { "dsh-wanxiang-hall": "github:hujiajunyu-lab/dsh-wanxiang-hall" }
}
C. Local checkout (edit and restart; no reinstall)
git clone https://github.com/hujiajunyu-lab/dsh-wanxiang-hall.git ~/wanxiang-hall
// <DSH_HOME>/profiles/<profile>/package.json
{
"dependencies": { "dsh-wanxiang-hall": "link:~/wanxiang-hall" }
}
Why local works: DSH resolves a plugin from the profile's
node_modules.link:creates a directory junction there pointing at the repo. npm is not a runtime requirement — only one way to get the package intonode_modules.
The package ships cordis.patch.yml and presets/court.patch.yml, which register:
/court (panel data, knowledge base, backups);court_* tool set (33 tools);| What | Where | Note |
|---|---|---|
| Project state | <DSH_HOME>/court/court.json |
projects only, no memory |
| Knowledge base | <DSH_HOME>/court/kb.json |
kept separate: an 8K body inside court.json would rewrite the whole file on every hit counter |
| Baselines, verification logs | <DSH_HOME>/court/baselines/, verifications/ |
|
| Backup | $COURT_BACKUP_DIR or ~/.dsh/court-backups |
plugin source + profile config + state, rolling 10 copies |
| Knowledge export target (optional) | you set it | no default; unset only disables "export to the wiki" |
Environment: COURT_STATE_DIR (state dir, for tests), COURT_BACKUP_DIR, COURT_SESSIONS_ROOT (session-log root used by the heartbeat).
node --check index.js # syntax
node --test # 128 unit + regression tests (bare `node --test`, not `node --test test/`)
Conventions:
.js files with Get-Content / Set-Content: Windows PowerShell reads them as GBK and writes UTF-8, shredding every Chinese string irreversibly (we lost 214 bytes that way).npm / npm.ps1 may be blocked by execution policy; call node <npm-cli.js> or run node directly.process.env.COURT_STATE_DIR and never touch your real projects.revisions is already stored)client.js into modules (currently one bundle)MIT — see LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: knowledge-base。