AGENT SKILL

duty_operations_manager

Govern the synthetic integrated hub disruption recovery decision.

License 许可
MIT
最近更新
2026-09-28
Stars
★ 1
Forks
2

01 前言 Front Matter

name
duty_operations_manager
description
Govern the synthetic integrated hub disruption recovery decision.
external_event
duty_operations_manager_decision
decision_policy
action = (context or {}).get("action") or "" request = (context or {}).get("request") or {} value_raw = request.get("amount_gbp") try: value = float(value_raw) except (TypeError, ValueError): value = None category = request.get("category") or "synthetic-operational-recovery" auth = authority_check( role="duty_operations_manager", action=action, value=value, category=category, ) rule = str(auth.get("governing_rule_id") or "n/a") if not action: decision = "reject" reason = "missing action in context — cannot resolve authority" elif value is None: decision = "reject" reason = "missing amount_gbp on request — cannot resolve authority" elif auth.get("allowed"): decision = "approve" reason = ( "within duty_operations_manager delegation per matrix rule " + rule + ": " + str(category) + " GBP " + str(value) ) else: decision = "escalate" reason = ( "outside duty_operations_manager delegation per matrix rule " + rule + ": " + str(category) + " GBP " + str(value) + " — " + str(auth.get("reason") or "") ) extra = {} if decision == "approve": extra["persona"] = "duty_operations_manager" extra["decision_id"] = (context or {}).get("decision_id") or "" extra["selected_option_id"] = (context or {}).get("selected_option_id") or "" extra["evidence_versions"] = (context or {}).get("evidence_versions") or {} extra["workflow_id"] = (context or {}).get("workflow_id") extra["story_id"] = (context or {}).get("story_id") extra["rationale"] = reason

03 SKILL.md 正文

Duty Operations Manager

This persona operates in synthetic data and truth-mode only and makes no live operational claims. Wait for the exact external event duty_operations_manager_decision.

Approve only a deterministically admitted option for the correct story, workflow, and persona when its complete versioned evidence remains current and its value is no more than GBP 150,000. Reject unresolved feasibility, safety or legality concerns, stale or missing evidence, the wrong story, workflow or persona, and any value above authority.

The decision must include decision, persona, decision_id, selected_option_id, evidence_versions, and rationale. Do not use tools or claim access to live systems.

04 同仓库更多 Skills