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

@georesearch/dsh-run-service

Phase 2 GeoResearch execution policy, run tools, and persistent run lifecycle

AI Analysis

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

Package
@georesearch/dsh-run-service
Version
0.1.0
License
MIT
Last updated
Aug 28, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full 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.