Vendor risk review
Review vendor contract terms against a supplied policy, refuse hard risk violations, conditionally approve recoverable gaps, and emit a governed risk-record append_event packet.
You’re reading version sha-2bb5b871c881. Go to the current version
Overview
vendor-risk-review evaluates a vendor contract against an explicit vendor-risk
policy. It returns a typed decision and, whenever the vendor and policy packet
are complete, prepares a durable append_event risk record for
registry:runx/data-store@0.1.2.
The skill never sends stakeholder notifications, never reads receipt-ledger state, and never executes a downstream procurement action. Notification is a separate governed send-as run after human approval.
In the manual
Runner
decide
Declared by its execution profile. Read the profile
SKILL.md
Vendor Risk Review
vendor-risk-review evaluates a vendor contract against an explicit vendor-risk
policy. It returns a typed decision and, whenever the vendor and policy packet
are complete, prepares a durable append_event risk record for
registry:runx/data-store@0.1.2.
The skill never sends stakeholder notifications, never reads receipt-ledger state, and never executes a downstream procurement action. Notification is a separate governed send-as run after human approval.
Inputs
contract_text: vendor contract text.vendor_context: object withvendor_ref,history, andindustry.policy: object withrequired_sla_terms,max_liability,data_handling_floor,termination_window,policy_id, andcreated_at.data_source_ref: logical binding for the governed data-store dependency.store_id: pinned store id used for deterministic harness and dogfood runs.
Outputs
decision:{ approved, reason, conditions[], rejected }.risk_record: appendable event payload ornullwhen the skill must stop before write.data_store: the intendedread_projectionandappend_eventsequence, includingstore_id,aggregate_id,expected_version, andidempotency_key.escalation: human-review lane when the vendor is ambiguous, policy is incomplete, or the prior projection is unreadable.evidence: digests, rules applied, hard-blocking findings, recoverable conditions, and no-side-effect guarantees.
Decision rules
- Stop before write when
vendor_refis missing, the policy is incomplete, or prior state cannot be read fromvendor_context.history. - Reject when liability is unbounded, uncapped, unlimited, or materially above
policy.max_liability. - Reject when the contract's data-handling posture is below
policy.data_handling_floor. - Approve with conditions for recoverable SLA or termination gaps. Conditions name the missing policy term without inventing requirements.
- Append a risk-record event whenever the vendor and policy are complete, including rejection decisions. Missing-policy and ambiguous-vendor paths emit no write.
Data-store seam
The handoff seam is an ungated compare-and-set write:
read_projectionfor the vendor aggregate.- Decide against the supplied policy and contract text.
append_eventthroughregistry:runx/data-store@0.1.2withaggregate_id = vendor_context.vendor_ref,expected_versionfrom the prior projection, and anidempotency_keykeyed onvendor_ref + policy_id + decision.
The emitted event records vendor_ref, decision, conditions, policy_id,
and created_at, plus a contract digest and non-sensitive findings. It does not
contain secrets, raw credentials, or private customer data.
Example
A vendor with SOC2 data handling and capped liability but missing uptime-credit language is approved with conditions. A vendor asking for unlimited liability is rejected and still recorded as a durable risk decision. A request with an ambiguous vendor or incomplete policy stops before write and escalates to the human approval lane.
Published execution profile
The execution profile published with sha-2bb5b871c881, shown as its exact bytes.
| Runner |
|
|---|---|
| Profile digest | sha256:c400b44b089eaa8196eecf40372cd7cc64653c8aab773be35ef90539b415869e |
skill: vendor-risk-review
version: 0.1.0
catalog:
kind: skill
audience: operator
visibility: public
role: canonical
category: security
runners:
decide:
default: true
inputs:
contract_text:
type: string
required: true
description: Vendor contract text to review for liability, SLA, termination, and data-handling terms.
vendor_context:
type: json
required: true
description: Object containing vendor_ref, history, and industry.
policy:
type: json
required: true
description: Policy object with required_sla_terms, max_liability, data_handling_floor, termination_window, policy_id, and created_at.
data_source_ref:
type: string
required: true
description: Logical binding for registry:runx/data-store@0.1.2 read_projection and append_event evidence.
store_id:
type: string
required: true
description: Pinned store id for deterministic harness and receipt evidence.
steps:
- id: decide
tool:
command: node
args:
- run.mjs
inputs:
contract_text: $input.contract_text
vendor_context: $input.vendor_context
policy: $input.policy
data_source_ref: $input.data_source_ref
store_id: $input.store_id
artifacts:
wrap_as: vendor_risk_review
harness:
cases:
- name: approve-with-conditions-sla-gap
inputs:
contract_text: |
Acme Analytics will process only pseudonymized customer data under SOC2 controls.
Liability is capped at USD 50000. Termination for convenience is available on 30 days notice.
Support includes business-hours response but does not include the requested uptime credit language.
vendor_context:
vendor_ref: vendor:acme-analytics
industry: analytics
history:
prior_decision: approved
current_version: 2
notes:
- Prior low-risk analytics vendor record exists.
policy:
required_sla_terms:
- uptime credit
- incident response within 24 hours
max_liability: 100000
data_handling_floor: SOC2
termination_window: 30 days
policy_id: vrp-2026-06
created_at: 2026-06-29T05:00:00Z
data_source_ref: local://runx/vendor-risk-review
store_id: vendor-risk-review-fixture
expect:
status: sealed
receipt:
schema: runx.receipt.v1
operator_journeys:
- mode: standalone
confusors:
- contract-drafter
- policy-draft
request: Review this vendor's contract terms against our risk policy.
expected_outcome: Refuse hard violations, conditionally approve recoverable gaps and record the risk event.
- mode: composed
request: Continue this vendor-risk-review work from evidence already gathered upstream.
expected_outcome: Refuse hard violations, conditionally approve recoverable gaps and record the risk event.
prior_evidence:
- The vendor contract and risk policy already supplied.
must_not_repeat:
- Do not sign the contract.
- name: sealed-rejection-unbounded-liability
inputs:
contract_text: |
RiskBox may process customer data under SOC2 controls. The customer accepts unlimited liability
for all indirect losses and waives any liability cap. Termination requires 30 days notice.
vendor_context:
vendor_ref: vendor:riskbox
industry: procurement
history:
prior_decision: needs_review
current_version: 4
policy:
required_sla_terms:
- incident response within 24 hours
max_liability: 75000
data_handling_floor: SOC2
termination_window: 30 days
policy_id: vrp-2026-06
created_at: 2026-06-29T05:00:00Z
data_source_ref: local://runx/vendor-risk-review
store_id: vendor-risk-review-fixture
expect:
status: sealed
receipt:
schema: runx.receipt.v1
- name: stop-missing-policy-no-write
inputs:
contract_text: |
Vendor terms mention standard support and a liability cap, but the governing policy packet is incomplete.
vendor_context:
vendor_ref: ""
industry: hr
history:
current_version: 0
policy:
required_sla_terms:
- uptime credit
max_liability: 50000
data_handling_floor: ""
termination_window: 30 days
policy_id: ""
created_at: 2026-06-29T05:00:00Z
data_source_ref: local://runx/vendor-risk-review
store_id: vendor-risk-review-fixture
expect:
status: failure
receipt:
schema: runx.receipt.v1
Published package and test evidence.
This exact version passed its recorded harness run: 3 checks passed · 0 failed.
Test result
| Harness result | Passed |
|---|---|
| Tested version | sha-2bb5b871c881 |
| Recorded result | 3 checks passed · 0 failed |
| Result source | Reported by the publisher (runx_registry_publish) |
| Suite | runx-harness |
| Test recorded | |
| Declared cases | 3 |
| Test record | Open the recorded run |
Inspect receipt references
sha256:4785e12b386d93504deea2a991965db24602b8eccf65c0a57ce7f41ece6bb6d1sha256:704eaa54412903a66bff58a3cb1f4459e608911f399164df4e81606503609446sha256:5b8a6c80a5875349019ea5e9c7a012564b753b92c9ef1cb834653bcf7fa96f26Package identity
| Published revision | sha-2bb5b871c881 |
|---|---|
| Content digest | sha256:2bb5b871c8815dfb529c2761d602b4697306c4f044010b44ceae645f9dc6edbe |
| SKILL.md digest | sha256:6744364787f44abfdbf7ec880753cd47253ef6133369e14cac9e4bf6efe1085d |
| Execution profile digest | sha256:c400b44b089eaa8196eecf40372cd7cc64653c8aab773be35ef90539b415869e |
| Publisher identity | Unverified publisher · iwannabefree00 |
| Trust tier | CommunityPublished through the registry without publisher verification. This tier is not a code assessment. |
| Attestations |
|
| Source provenance | Not published with this version |
Version history
sha-7504a5e44fb5Content digest sha256:7504a5e44fb5e3624c937c85ff63610ba519efacfb41ed166051707f9fcc0ab0sha-baae72ab4de9Content digest sha256:baae72ab4de956659752a71f5d26b881d74515e2278fbf5881d7f41626e60375sha-2bb5b871c881ViewingContent digest sha256:2bb5b871c8815dfb529c2761d602b4697306c4f044010b44ceae645f9dc6edbesha-caed1c32a51fContent digest sha256:caed1c32a51f26f6100538abc2124b750b35f222e11b16c6acc1a12ed0014c3e