georesearch-dsh/georesearch-dsh--packages-policy-service1

@georesearch/dsh-policy

Role-aware GeoResearch tool catalog, execution guard, and managed child leases

AI Analysis

核心用途是实现多层策略控制。适合需要对 Agent 目录进行限制、执行单调保护、物化子工具过滤以及管理单次引导租约的安全管控任务。

Package
@georesearch/dsh-policy
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-policy

Implements the three GeoResearch policy layers:

  • per-agent catalog restriction;
  • a monotonic execution guard;
  • exact toolFilter.allow materialization for managed children;
  • Host-observed specialist Skill readiness.

The full contractual allowlists are retained in @georesearch/dsh-contracts. The shipped capabilityStage: phase6 and strictCatalog: true configuration fails closed unless every implemented role capability is present. Each managed delegation also carries a role-specific task type and required Skill set. The dynamic contract is held in a one-use bootstrap lease. Before delegation_bootstrap, every other specialist tool is denied. After bootstrap, specialists may load only Skills approved for their role, and role tools remain blocked until every required Skill call has completed successfully.

Specialist roles may call the scope-local structured_output tool injected by the one-shot output schema. It is the only additional return channel and is not part of the Coordinator allowlist. The execution guard authorizes it, while the global catalog restriction omits the scope-local name as required by rc.5.