List hygiene judge
Judge contact list hygiene from data-store evidence and record a consent-state transition without sending.
Overview
list-hygiene-judge sits between engagement decay and durable consent-state
transitions. It reads a contact projection from a declared data-store resource,
judges whether the contact should be re-permissioned, suppressed, verified, or
escalated, and emits the exact append event that records the transition.
The skill never sends a message. A downstream governed send-as run is the only
lane that may deliver a campaign, and it must read the recorded consent state at
send time.
In the manual
Runner
default
Declared by its execution profile. Read the profile
SKILL.md
List Hygiene Judge
list-hygiene-judge sits between engagement decay and durable consent-state
transitions. It reads a contact projection from a declared data-store resource,
judges whether the contact should be re-permissioned, suppressed, verified, or
escalated, and emits the exact append event that records the transition.
The skill never sends a message. A downstream governed send-as run is the only
lane that may deliver a campaign, and it must read the recorded consent state at
send time.
Contract
- Inputs are
data_source_ref,resource,aggregate_id,expected_version,idempotency_key,engagement_history,bounce_policy, andcurrent_consent_state. - Output is a
runx.list_hygiene_judgment.v1packet with:decision{state,reason}- a
data_store.read_projectionevidence block - one
data_store.append_eventevidence block when a transition is safe - a
recorded_transitionreadback projection when an append is emitted - a
stopblock and no append when evidence is missing, stale, ambiguous, or blocked by an active unsubscribe marker.
Decision rules
- Hard-bounce evidence (
hard_bounces > 0) suppresses the contact. - Engagement decay beyond
bounce_policy.decay_threshold_daysre-permissions a contact only when there is no active unsubscribe marker. - Contacts with fresh engagement remain in
verifystate. - Missing metrics, stale
expected_version, ambiguous bounce recovery, or an active unsubscribe marker stop before any append and escalate to a human lane.
State and authority boundary
The state transition is modeled as an ungated compare-and-set append through
registry:runx/data-store@0.1.2: read projection, decide, append with
idempotency_key and expected_version, then read back the recorded version.
The runner emits this data-store operation evidence as plain data for the
receipt; it does not send, mint, grant authority, or create an
operational_proposal envelope.
Verification
Run the local harness:
runx harness ./skills/list-hygiene-judgeRun a dogfood decision:
runx skill ./skills/list-hygiene-judge --json \
-i data_source_ref=local://runx/list-hygiene/demo \
-i resource=contact_consent_events \
-i aggregate_id=contact:demo-001 \
--input-json expected_version=3 \
-i idempotency_key=contact:demo-001:list-hygiene:2026-06-29 \
--input-json engagement_history='{"opens_count":0,"clicks_count":0,"hard_bounces":0,"recency_days":120}' \
--input-json bounce_policy='{"hard_bounce_action":"suppress","decay_threshold_days":90}' \
--input-json current_consent_state='{"state":"subscribed","version":3,"unsubscribe_marker":false}'Published execution profile
The execution profile published with sha-349ea0c8e079, shown as its exact bytes.
| Runner |
|
|---|---|
| Profile digest | sha256:eba02a89c4622c25b423d8b456c79184ecef213e3784bb6069d017b45cee71da |
skill: list-hygiene-judge
version: 0.1.1
catalog:
kind: skill
audience: public
visibility: public
role: canonical
category: growth
runners:
default:
default: true
inputs:
data_source_ref:
type: string
required: true
resource:
type: string
required: true
aggregate_id:
type: string
required: true
expected_version:
type: number
required: true
idempotency_key:
type: string
required: true
engagement_history:
type: json
required: true
bounce_policy:
type: json
required: true
current_consent_state:
type: json
required: true
steps:
- id: default
tool:
command: node
args:
- run.mjs
timeout_seconds: 30
inputs:
data_source_ref: $input.data_source_ref
resource: $input.resource
aggregate_id: $input.aggregate_id
expected_version: $input.expected_version
idempotency_key: $input.idempotency_key
engagement_history: $input.engagement_history
bounce_policy: $input.bounce_policy
current_consent_state: $input.current_consent_state
harness:
cases:
- name: sealed_decay_re_permission
runner: default
inputs:
data_source_ref: local://runx/list-hygiene/harness
resource: contact_consent_events
aggregate_id: contact:decayed-001
expected_version: 4
idempotency_key: contact:decayed-001:list-hygiene:repermission:v1
engagement_history:
opens_count: 0
clicks_count: 0
hard_bounces: 0
recency_days: 121
bounce_policy:
hard_bounce_action: suppress
decay_threshold_days: 90
current_consent_state:
state: subscribed
version: 4
unsubscribe_marker: false
expect:
status: sealed
receipt:
schema: runx.receipt.v1
operator_journeys:
- mode: standalone
confusors:
- send-as
- data-store
request: Decide whether to verify, suppress or re-permission this contact.
expected_outcome: Return the judgment and record the consent transition with one compare-and-set append, sending nothing.
- mode: composed
request: Continue this list-hygiene-judge work from evidence already gathered upstream.
expected_outcome: Return the judgment and record the consent transition with one compare-and-set append, sending nothing.
prior_evidence:
- The contact read from the data store already sealed.
must_not_repeat:
- Do not append the same transition twice.
- name: sealed_hard_bounce_suppress
runner: default
inputs:
data_source_ref: local://runx/list-hygiene/harness
resource: contact_consent_events
aggregate_id: contact:bounced-001
expected_version: 7
idempotency_key: contact:bounced-001:list-hygiene:suppress:v1
engagement_history:
opens_count: 2
clicks_count: 0
hard_bounces: 1
recency_days: 9
bounce_policy:
hard_bounce_action: suppress
decay_threshold_days: 90
current_consent_state:
state: subscribed
version: 7
unsubscribe_marker: false
expect:
status: sealed
receipt:
schema: runx.receipt.v1
- name: stop_missing_or_stale_evidence
runner: default
inputs:
data_source_ref: local://runx/list-hygiene/harness
resource: contact_consent_events
aggregate_id: contact:stale-001
expected_version: 2
idempotency_key: contact:stale-001:list-hygiene:stale:v1
engagement_history:
opens_count: 0
clicks_count: 0
hard_bounces: 0
recency_days: 120
bounce_policy:
hard_bounce_action: suppress
decay_threshold_days: 90
current_consent_state:
state: subscribed
version: 3
unsubscribe_marker: false
expect:
status: sealed
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-349ea0c8e079 |
| 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:1985543883e812498c6906d291a4b7073a3c061b671708f155af8293320e02besha256:4beda28b7137262f999e17baf9a00d6edebd64423c2ee5063e7cbaf4fba91c18sha256:52f5588190d912bbec43e3616283dab9fd1bd46ca23b08cf3b5a5cdad6c72feePackage identity
| Published revision | sha-349ea0c8e079 |
|---|---|
| Content digest | sha256:349ea0c8e0799148ae031cbb18b31da2a43f4c31ef96901da83efd2f4c27897c |
| SKILL.md digest | sha256:348cc7b4d23c3226eb5b06190b4dbdcba95bce9ab66834a74974be2b734b4d2d |
| Execution profile digest | sha256:eba02a89c4622c25b423d8b456c79184ecef213e3784bb6069d017b45cee71da |
| Publisher identity | Unverified publisher · Liyitong. |
| 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-349ea0c8e079ViewingContent digest sha256:349ea0c8e0799148ae031cbb18b31da2a43f4c31ef96901da83efd2f4c27897csha-ed24ee33da64Content digest sha256:ed24ee33da64d5ea1998c18e3561318141b004742506153c74f894b1bfcee90bsha-b7d854a75d91Content digest sha256:b7d854a75d91ca13cdc2b2a5dc13819f16ec197f11d283489aab095f6abb064asha-49e848814000Content digest sha256:49e8488140006bc7878f7987da5a36183d35bbb8ee1d63f913f3605517505608