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

@georesearch/dsh-policy

具备角色感知能力的 GeoResearch 工具目录、执行保护及托管子租约服务

AI 分析

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

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

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 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.