rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:ruaibeite/dsh-agent-ci
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Freeze a real session into a regression case, replay it in a throwaway git worktree, and check
deterministic assertions: the test command, the changed files, the step count and the token budget.
Everything runs locally; results are kept as a comparable history.
Status: v0.1.0. Requires DeepSeek Harness 0.2.x and a
gitbinary onPATH.

Screenshots are taken from a demo profile seeded with synthetic cases and runs; no user data is shown.
From the plugin market — install「Agent CI」from the DSH plugin market and restart the app.
From GitHub
git clone https://github.com/ruaibeite/dsh-agent-ci
# link it into the active profile and add "@ruaibeite/dsh-agent-ci" to
# profiles/<profile>/package.json -> dsh.profile.bundles, then restart DSH
The plugin registers a settings.section page («Agent CI») and one host route,
/dsh-agent-ci/api.
HEAD, starts a fresh DSH agent
inside it with the same prompt, waits for the agent to go idle, and then checks:testCommand exits 0,forbiddenPaths prefix,expectFiles (when set),steps <= maxSteps and input+output tokens <= maxTokens (when set).passed / failed / error, a reason
(ok, test-failed, forbidden-path, expect-file-missing, max-steps, max-tokens,
agent-error, no-git, service-unavailable), steps, tokens, changed files and the tail of the
test output. The last 50 runs are kept; each case shows its most recent result.The page also offers export JSON for every case so a case definition can be fed into your own CI.
$DSH_HOME/cache/agent-ci/cases.json (max 100), runs in
$DSH_HOME/cache/agent-ci/runs.json (last 50). Both are written atomically (temp file + rename).$DSH_HOME/storages/session_projcache/sessions/*.json (title, first prompt, cwd, model, steps,
last activity). The scan is incremental (path + size + mtime).os.tmpdir()/dsh-agent-ci/case-* worktree created with
git -C <repo> worktree add --detach <dir> HEAD; it is removed after the run. Only if removal
fails is the path kept in the result for debugging.sessionQuery.readSession(...) events (step/start
count and assistant/message.data.usage), before the temporary agent session is disposed.runCase({ case, deps })), so it is covered by
fake-service unit tests without a Harness process or a model call..credentials.yaml.$DSH_HOME/cache/agent-ci/*.json.error/no-git. git must be on PATH.run-in-progress / HTTP 409.cd dsh-agent-ci
npm test # node test/host.mjs && node test/render.mjs
The tests are offline, need no browser and no real DSH process: host tests use mkdtemp homes and
fake agents/subprocess/sessionQuery services, browser tests run client.js in a node:vm
mini-React harness.
MIT — see LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。