# Agent Decision Context Normalizer
Normalize a redacted agent decision into a stable evidence contract before any policy review.
Input JSON must contain run_id, agent_id, event_time, policy_version, policy_snapshot, decision_input, permissions, action, result_state and evidence_refs.
Output JSON contains READY or BLOCKED, decision_id, context_hash, policy_hash, normalized fields and explicit reasons.
python scripts/normalize_agent_decision.py --input examples/input.json --output examples/output.json.READY output to the policy binding step.Missing fields, secret-like values, invalid JSON or empty evidence references produce BLOCKED. Fix the redacted source event and rerun; do not bypass the block or infer missing context.
The script never calls an agent, policy engine or external service. It hashes the supplied snapshot; it does not prove that the snapshot was authentic.
The included sample must produce status=READY, a stable decision_id, a non-empty context_hash and policy_hash. Changing the policy snapshot must change policy_hash.
以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:
帮我安装 SkillHub 和 agent-decision-context-normalizer 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 agent-decision-context-normalizer 技能
skillhub install agent-decision-context-normalizer
文件大小: 7.29 KB | 发布时间: 2026-8-21 02:33