EveGoodEvening/dsh-autoresearch ↗★ 1

dsh-autoresearch

提供有界指标驱动的自动研究与实验管理 适合需要运行多候选实验、进行自动化研究任务的用户。

套件
dsh-autoresearch
相容性
待驗證
Harness 依賴範圍
^0.1.1-rc.2
Cordis 依賴範圍
^4.0.1
版本
0.1.6
授權
MIT
最近更新
2026年9月3日

同名套件的其他儲存庫

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:EveGoodEvening/dsh-autoresearch

Configuration

The Config schema (src/config.ts) is loaded at deploy time. Defaults (also in cordis.patch.yml):

KeyDefaultMeaning
gitExecutablegitGit binary.
stateRootdsh-autoresearchTracker + worktree state directory.
branchPrefixautoresearch/Run branch prefix (must end in /).
defaultMaxExperiments20Default candidate cap; baseline is separate.
maxExperiments100Configured deployment maximum candidate cap (the shipped default, not a universal code constant).
maxHandoffChars16384Maximum serialized bounded research-memory handoff.
defaultTimeoutMs90000015 min wall-clock watchdog per attempt.
maxTimeoutMs3600000Configured maximum watchdog per attempt.
terminationGraceMs5000Grace period before killing the evaluator tree.
maxActiveRunsPerRepository1Concurrent run cap per repo.
maxStdoutBytes / maxStderrBytes1048576Evaluator output capture limits.
maxResultChars16384Rendered tool and background-job presentation limit; canonical run results are unaffected.
artifactRetentionDays30Artifact-byte retention window, enforced lazily for safe terminal runs.
retainFailedArtifactstrueIf false, prune failed-attempt bytes at safe terminal settlement.
retainWorktreestrueKeep terminal worktrees; false enables terminal cleanup.
cleanupWorktreesOnSuccessfalseWith retainWorktrees: false, limit cleanup to target-reached / budget-limited.
exportTsvtrueExport a TSV summary per run.
evaluatorRegistrations[]Host-owned evaluator, metric, environment, frozen-file, and dataset contracts selectable by evaluator_id.
tsvRetentionDays30TSV retention window, measured from the export mtime.

Runs are bounded. The shipped default is 20 candidate experiments and the shipped deployment maximum is 100; each candidate failure that is safe to continue consumes one ordinal. The baseline is separate, and a target, cancellation, blocking condition, or exhausted candidate cap can stop earlier. There is no indefinite mode or automatic run chaining; an operator may explicitly start another run.

Retention is repository-local and lazy: each controller startup sweeps safely terminal runs without a live controller owner, and each safe terminal settlement applies the same policy to the current run. Pruning removes artifact bytes but preserves SQLite artifact identity, size, hash, and outcome metadata so terminal replay remains deterministic. retainWorktrees: false removes every safely terminal worktree unless cleanupWorktreesOnSuccess: true narrows removal to successful terminal statuses.