CRM cleanup

Reconcile a call transcript against current CRM records and propose allowlisted field updates, each traced to a verbatim transcript quote, with the write left to a gated CRM operator.

You’re reading version 0.1.9. Go to the current version

Overview

Keep pipeline data from rotting after calls without letting an agent write to the CRM on vibes. The transcript and the current records are the only evidence; the reconciling agent proposes updates, and deterministic code enforces the update authority and the evidence trail. The skill never writes; the sealed proposal is what a gated CRM operator or human approver consumes.

In the manual

Runner

  • reconcile

Declared by its execution profile. Read the profile

SKILL.md

CRM Update Plan

Keep pipeline data from rotting after calls without letting an agent write to the CRM on vibes. The transcript and the current records are the only evidence; the reconciling agent proposes updates, and deterministic code enforces the update authority and the evidence trail. The skill never writes; the sealed proposal is what a gated CRM operator or human approver consumes.

Procedure

  1. Native data.digest binds the exact transcript and record set.
  2. The reconciling agent proposes field updates from the transcript, each with the target record, field, new value, and a supporting quote.
  3. Deterministic enforcement checks every proposal: the record must exist in the supplied set, the field must be inside crm_schema.allowed_fields (out-of-allowlist updates are rejected with a named reason, not silently dropped), the quote must appear verbatim in the transcript, and the value must be non-empty. An unknown record or an invented quote refuses the whole run; nothing partial escapes.
  4. The proposal packet carries each update's from value from the supplied records so the downstream write can detect drift before applying.

write_performed is always false and the packet names its gate (crm-operator-or-human-approver). A run with no supported updates seals no_action rather than inventing work.

Output

crm_update_proposal (runx/crm-update-plan.proposal.v1) carries decision (proposed, no_action, refused), updates with before and after values and evidence quotes, rejected_updates, validation, and both input digests.

Inputs are transcript, crm_records, and crm_schema.

Agent task contracts

crm-update-plan-reconcile

Read transcript, crm_records, and crm_schema from step inputs. Return update_draft with updates: an array of record_id, field, to, and evidence_quote entries. Only propose updates the transcript actually supports, quote the transcript verbatim, and only target fields inside the allowlist. Return an empty updates array when the call changes nothing. Never invent records, quotes, or values.

Published execution profile

The execution profile published with 0.1.9, shown as its exact bytes.

Runner
  • reconcile
Profile digestsha256:b64beceaceaefba99cd4c4e8207a875f6cad778d8ca783bd79f0b5231ced33df
skill: crm-update-plan
version: "0.1.9"

catalog:
  kind: graph
  audience: operator
  visibility: public
  category: growth
  role: canonical
  execution: plan
  completion: runtime_receipt
  approval: none

harness:
  files: [fixtures/support/composed.graph]
  cases:
    - name: crm-update-plan-proposes-traced-updates
      operator_journeys:
        - mode: standalone
          confusors: [lead-enrichment, lead-qualify]
          request: Reconcile this call transcript against the CRM records and propose the field updates.
          expected_outcome: Return allowlisted field updates, each traced to a verbatim transcript quote, with no CRM write performed.
        - mode: composed
          request: Continue from this sealed update proposal into the CRM write step.
          expected_outcome: Hand the sealed proposal to the gated CRM operator without re-deriving updates.
          prior_evidence:
            - The transcript, records, and sealed proposal supplied by the prior step.
          must_not_repeat:
            - Do not re-reconcile updates already sealed.
      inputs:
        transcript: "Call with Globex on renewal. Dana said the rollout stalled and they want an executive review before renewing. Next step agreed: send the Q3 usage report by Friday."
        crm_records:
          - id: acct-globex
            account_status: healthy
            next_action: none
        crm_schema:
          allowed_fields: [account_status, next_action, health_score]
      caller:
        answers:
          reconcile:
            update_draft:
              updates:
                - record_id: acct-globex
                  field: account_status
                  to: at_risk
                  evidence_quote: the rollout stalled and they want an executive review before renewing
                - record_id: acct-globex
                  field: next_action
                  to: send the Q3 usage report by Friday
                  evidence_quote: "send the Q3 usage report by Friday"
      expect:
        status: sealed
        steps: [digest-transcript, digest-records, reconcile, finalize]
        step_outputs:
          finalize:
            subset:
              crm_update_proposal:
                data:
                  schema: runx/crm-update-plan.proposal.v1
                  decision: proposed
                  write_performed: false
                  gate: crm-operator-or-human-approver
                  rejected_updates: []
                  validation: { status: pass, findings: [] }
        receipt: { schema: runx.receipt.v1 }

    - name: crm-update-plan-rejects-unlisted-field
      inputs:
        transcript: "Owner said move the account to Kim."
        crm_records:
          - id: acct-1
            owner: lee
        crm_schema:
          allowed_fields: [next_action]
      caller:
        answers:
          reconcile:
            update_draft:
              updates:
                - record_id: acct-1
                  field: owner
                  to: kim
                  evidence_quote: move the account to Kim
      expect:
        status: sealed
        steps: [digest-transcript, digest-records, reconcile, finalize]
        step_outputs:
          finalize:
            subset:
              crm_update_proposal:
                data:
                  decision: no_action
                  updates: []
                  rejected_updates:
                    - record_id: acct-1
                      field: owner
                      reason: field is outside the crm_schema allowlist
                  validation: { status: pass, findings: [] }
        receipt: { schema: runx.receipt.v1 }

    - name: crm-update-plan-refuses-invented-quote
      inputs:
        transcript: "Short call, no changes discussed."
        crm_records:
          - id: acct-1
            account_status: healthy
        crm_schema:
          allowed_fields: [account_status]
      caller:
        answers:
          reconcile:
            update_draft:
              updates:
                - record_id: acct-1
                  field: account_status
                  to: at_risk
                  evidence_quote: customer threatened to churn immediately
      expect:
        status: sealed
        steps: [digest-transcript, digest-records, reconcile, finalize]
        step_outputs:
          finalize:
            subset:
              crm_update_proposal:
                data:
                  decision: refused
                  updates: []
                  validation: { status: fail }
        receipt: { schema: runx.receipt.v1 }

    - name: crm-update-plan-needs-transcript
      inputs:
        crm_records:
          - id: acct-1
        crm_schema:
          allowed_fields: [next_action]
      expect:
        status: failure

runners:
  reconcile:
    default: true
    inputs:
      transcript:
        type: string
        required: true
        description: Call transcript that is the only evidence for proposed updates.
      crm_records:
        type: json
        required: true
        description: Current CRM records read from the caller's source of truth.
      crm_schema:
        type: object
        required: true
        description: Explicit update authority; fields outside allowed_fields are rejected.
        schema:
          additionalProperties: false
          properties:
            allowed_fields:
              type: array
              minItems: 1
              maxItems: 100
              items: { type: string, minLength: 1, maxLength: 200 }
    examples:
      - transcript: "Dana said the rollout stalled."
        crm_records:
          - id: acct-globex
            account_status: healthy
        crm_schema:
          allowed_fields: [account_status]
    result_from: [finalize]
    steps:
      - id: digest-transcript
        tool: data.digest
        inputs:
          value: $input.transcript
          encoding: utf8_text

      - id: digest-records
        tool: data.digest
        inputs:
          value: $input.crm_records

      - id: reconcile
        label: derive candidate field updates from the transcript
        agent: { role: reviewer, task: crm-update-plan-reconcile }
        outputs:
          update_draft: object
        inputs:
          transcript: $input.transcript
          crm_records: $input.crm_records
          crm_schema: $input.crm_schema
        artifacts:
          named_emits:
            update_draft: update_draft

      - id: finalize
        label: enforce allowlist and transcript traceability deterministically
        inputs:
          transcript: $input.transcript
          crm_records: $input.crm_records
          crm_schema: $input.crm_schema
          update_draft: $steps.reconcile.update_draft
          transcript_digest: $steps.digest-transcript.digest_result.digest
          records_digest: $steps.digest-records.digest_result.digest
        tool: { module: crm-update-plan.mjs, export: finalizeUpdates }
        outputs:
          crm_update_proposal:
            type: object
        artifacts:
          named_emits:
            crm_update_proposal: crm_update_proposal
          packets:
            crm_update_proposal: runx/crm-update-plan.proposal.v1

Published package and test evidence.

This exact version passed its recorded harness run: 5 checks passed · 0 failed.

Test result

Harness resultPassed
Tested version0.1.9
Recorded result5 checks passed · 0 failed
Result sourceRun by the Runx registry at publication
Suiterunx-harness
Test recorded
Declared cases4
Test recordOpen the recorded run
Inspect receipt referencessha256:8e74cefe6ac508a7c0554ec48ea6e3c51e2d0d150d0d9fb10a22f299ef0d5420sha256:1c40a0bbdff42f7e401cc53aceb95ade9f3e77ff9619c494fbd16a62378014fbsha256:d73cfdcd844606dc0f21157cb02b457842435086aa24eaf2f33774fa2df67699sha256:3b34d22a29219b18940ae39bdf22453bec0985d56463dabe6f3e8e96c3374633sha256:17b8925dde424d08b9996712881373831819592e5f89ff9a544d466bd834f03b

Package identity

Published revision0.1.9
Content digestsha256:55f9f7346f2c18a137b67a8a487e1e011e3650796c6be8cb5981dc346c4e0baa
SKILL.md digestsha256:6d14871275c28f695e55e996da090815902aa6cd7fc6472fb646262e92560dad
Execution profile digestsha256:b64beceaceaefba99cd4c4e8207a875f6cad778d8ca783bd79f0b5231ced33df
Publisher identityVerified publisher · runx
Trust tierVerified publisherRunx has verified this publisher. This tier is not a code assessment.
Attestations
  • Publisher · Verifiedrunx · 25 Oct 2026
Source provenanceNot published with this version

Version history

  1. 0.1.9ViewingContent digest sha256:55f9f7346f2c18a137b67a8a487e1e011e3650796c6be8cb5981dc346c4e0baa
  2. sha-403c20f03c10Content digest sha256:403c20f03c104239219f0dae67ea17e578933f1deb737900a582fdbfa407417b