governed-outbound
Gather an external source, scrub personal data before it crosses the boundary, plan a human-approved notification, and seal the run to the ledger.
- License 许可
- MIT
- 所属仓库
- ZachDreamZ/runx
- 最近更新
- 2026-07-17
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- governed-outbound
- runx
- { "category": "ops" }
- description
- Gather an external source, scrub personal data before it crosses the boundary, plan a human-approved notification, and seal the run to the ledger.
02 资源文件 1
- 参考文档X.yaml7.6 KB
03 SKILL.md 正文
Governed Outbound
Take something from outside, make it safe to send, authorize the exact outbound
plan, and leave proof. governed-outbound prepares the boundary crossing; it
does not claim the configured provider delivered anything.
It composes four catalog skills into one governed run:
web-fetchgathers the source within an explicit host allowlist.redact-piiscrubs personal data and returns a pass/hold verdict before any of it can leave the boundary.- an approval gate holds the plan for a human, who sees the redaction verdict and the residual risk, not the raw content.
send-asbinds the scrubbed content, principal, audience, and provider lane into an authorized plan.sign-receiptseals the gather, scrub, approval, and plan. A separate provider host must execute the plan, record delivery evidence, and read it back before any caller may call the notification delivered.
The point of the chain is the order. The scrub runs before authorization and the
human gate runs before send-as. This receipt proves preparation and authority,
not provider delivery.
What this skill does
governed-outbound is a graph, not a single agent step. Each hop is a real
catalog skill with its own scope, and authority narrows at every branch:
web-fetch may only reach the allowlisted host, redact-pii may only read the
fetched content, the approval gate authorizes the plan, and sign-receipt may
only append to the ledger. Personal data never reaches the channel or the
receipt; the content travels by digest, and the redaction report carries class
and span offsets, never the values it found.
When to use this skill
- An agent needs to prepare external information (an incident page, a changelog, a status update, a thread) for a provider channel, and that information may carry personal data.
- A workflow must prove that the proposed outbound content was scrubbed and the exact plan was approved before provider execution.
- You want one receipt that links the source, the scrub verdict, the approval, and the send plan.
When not to use this skill
- To post content that was authored in-house and carries no external data. Call
send-asdirectly, then use the configured provider host. - To gather a source with no intent to send it onward. Call
web-fetch. - To deliver without a human in the loop. The approval gate is the point; a send that needs no review does not need this chain.
- To move money, change a repository, or unseal a secret. Those are other governed lanes with their own gates.
How the chain is wired
fetch-sourcereadsurlandallowlistfrom the run inputs and returnsfetch_resultwith the content digest and extracted text.scrub-contenttakesfetch-source's extracted text ascontent, runs inredactmode, and returnsredaction_reportwith theready/needs_review/blockedverdict, the detected spans, andredacted_digest.approve-sendshows the approver the redactiondecision, theresidual_risk, and theredacted_digest, then records an approval decision.plan-noticeruns only when the approval istrueand the redaction verdict isready; it plans the send of the scrubbed content tochannelasprincipal, naming the provider action a connector lane would run.seal-runattests the run, binding the source digest and the redacted digest as evidence, and appends the receipt to the ledger.
Edge cases and stop conditions
- No
urlorallowlist: the run returnsneeds_agent; there is nothing to gather and no boundary to respect. - Host not allowlisted:
web-fetchreturnspolicy_deniedand the chain stops before anything is read. - Redaction not
ready: aneeds_revieworblockedverdict fails the send transition, soplan-noticenever runs. Nothing leaves the boundary on a hold verdict. - Approval denied or absent: the send transition is not satisfied and the chain stops at the gate, scrubbed but unsent.
- Provider delivery fails downstream: preserve this planning receipt, record the provider failure in the executing host, and do not produce delivery evidence or mark the action complete.
Output
The run seals to runx.receipt.v1, linking each step's packet:
fetch_result (source + digest), redaction_report (verdict + spans + redacted
digest), approval_decision (the gate), send_plan (the authorization), and the
attestation (the seal). send_plan is authorization, not delivery evidence.
The receipt proves the preparation path without reconstructing the personal data
that was removed along the way.
Inputs
url(required): source to gather before preparing the notification.allowlist(required): hostsweb-fetchis permitted to reach.channel(required): destination channel for the notification.principal(required): principal the notification is sent as.claim(optional): what the sealed attestation should assert about the run.operator_context(optional): boundary, audience, or compliance context.
04 同仓库更多 Skills
zapier-handoff
Validate a runx execution context and hand off a governed payload to a Zapier Catch Hook with scoped auth, idempotency, and receipt expectations.
x402-pay
Execute a governed x402 payment by delegating to the canonical spend flow with the x402 runtime path selected.
work-plan
Decompose a build objective into governed runx execution steps.
web-fetch
Fetch and extract one web source within an explicit allowlist, returning the content by digest with full provenance.
weather-forecast
Normalize provider weather evidence into an action-safe forecast packet with provenance, uncertainty, and stop conditions for downstream agents.
vuln-triage
Triage dependency or ecosystem vulnerability risk into remediation and advisory packets, grounding on verified CVE evidence when it is supplied.