EveGoodEvening/dsh-autoresearch ↗★ 1
dsh-autoresearch
提供有界指标驱动的自动研究与实验管理 适合需要运行多候选实验、进行自动化研究任务的用户。
同名套件的其他儲存庫
安裝
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:EveGoodEvening/dsh-autoresearch說明文件
閱讀完整 README ↗Configuration
The Config schema (src/config.ts) is loaded at deploy time. Defaults (also in cordis.patch.yml):
| Key | Default | Meaning |
|---|---|---|
gitExecutable | git | Git binary. |
stateRoot | dsh-autoresearch | Tracker + worktree state directory. |
branchPrefix | autoresearch/ | Run branch prefix (must end in /). |
defaultMaxExperiments | 20 | Default candidate cap; baseline is separate. |
maxExperiments | 100 | Configured deployment maximum candidate cap (the shipped default, not a universal code constant). |
maxHandoffChars | 16384 | Maximum serialized bounded research-memory handoff. |
defaultTimeoutMs | 900000 | 15 min wall-clock watchdog per attempt. |
maxTimeoutMs | 3600000 | Configured maximum watchdog per attempt. |
terminationGraceMs | 5000 | Grace period before killing the evaluator tree. |
maxActiveRunsPerRepository | 1 | Concurrent run cap per repo. |
maxStdoutBytes / maxStderrBytes | 1048576 | Evaluator output capture limits. |
maxResultChars | 16384 | Rendered tool and background-job presentation limit; canonical run results are unaffected. |
artifactRetentionDays | 30 | Artifact-byte retention window, enforced lazily for safe terminal runs. |
retainFailedArtifacts | true | If false, prune failed-attempt bytes at safe terminal settlement. |
retainWorktrees | true | Keep terminal worktrees; false enables terminal cleanup. |
cleanupWorktreesOnSuccess | false | With retainWorktrees: false, limit cleanup to target-reached / budget-limited. |
exportTsv | true | Export a TSV summary per run. |
evaluatorRegistrations | [] | Host-owned evaluator, metric, environment, frozen-file, and dataset contracts selectable by evaluator_id. |
tsvRetentionDays | 30 | TSV 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.