georesearch-dsh/georesearch-dsh--packages-run-service1

@georesearch/dsh-run-service

GeoResearch 第 2 阶段的执行策略、运行工具及持久化运行生命周期管理

AI 分析

核心用途是管理测试规范验证、运行状态转换及沙箱策略解析。适合需要执行科学计划验证、启动 Supervisor 并处理超时与重启协调的运行管理任务。

包名
@georesearch/dsh-run-service
版本
0.1.0
许可证
MIT
最近更新
2026年8月28日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

@georesearch/dsh-run-service

The Phase 2 Run Service owns the role check, registered TestSpec allowlist, scientific plan validation, persistent Project transitions, Supervisor launch, cancellation, timeout, collection, and restart reconciliation boundaries.

Formal and local runs resolve the effective Harness sandbox policy from the exact live Agent Session. read-only and workspace-write use the Harness sandbox provider; danger-full-access executes the original argv without a sandbox wrapper. GeoResearch never writes or switches permission/preset, sandbox/mode, or approval/policy, and adds no run-specific permission or approval gate. Scientific input validation still applies in every mode.

Formal runs are Host-owned after submission and do not retain an Agent, Tool, or tool-call cancellation signal. Model-facing tools never accept projectId or cwd; authority comes from the exact live Agent Session.

In Phase 4, the Repository Provider binds a source-tree inspector into this service. Dynamic TestSpecs fail closed when that inspector is unavailable or the workspace differs from their selected RepositoryAudit. Formal runs whose ExperimentSpec digest is a ReproductionPlan are checked before sandbox resolution and immediately before their RunRecord is committed.