Compliance pack

Build a read-only compliance evidence pack by mapping declared controls to supplied evidence refs and reporting gaps without inventing attestation.

You’re reading version sha-aa68af0206c3. Go to the current version

Overview

Compliance Pack turns a small control set and a caller-supplied evidence index into a reviewer-ready evidence packet. It maps each control to matching evidence refs, explains the fit, summarizes coverage, and reports missing, stale, or mismatched evidence as gaps.

This skill is a packaging and review aid. It does not file compliance reports, attest on behalf of a company, call external auditors, fetch private documents, or mark stale evidence as current. The caller remains responsible for reviewing the pack before it is used in any formal compliance workflow.

SKILL.md

Compliance Pack

Compliance Pack turns a small control set and a caller-supplied evidence index into a reviewer-ready evidence packet. It maps each control to matching evidence refs, explains the fit, summarizes coverage, and reports missing, stale, or mismatched evidence as gaps.

This skill is a packaging and review aid. It does not file compliance reports, attest on behalf of a company, call external auditors, fetch private documents, or mark stale evidence as current. The caller remains responsible for reviewing the pack before it is used in any formal compliance workflow.

What This Skill Does

  1. Validate pack inputs. Refuse when controls, evidence refs, or pack policy are missing or malformed.
  2. Evaluate evidence freshness. Compare each evidence ref with pack_policy.as_of_date and max_evidence_age_days when supplied.
  3. Match controls to evidence. A control maps only when an evidence ref explicitly lists the control id or a policy-defined tag match. The mapping cites the evidence ref and explains why it fits.
  4. Report gaps. Missing evidence, stale evidence, failed status, or mismatched scope becomes a gap. The skill refuses to produce an evidence_pack when any required control remains uncovered.
  5. Emit a read-only packet. A successful run emits evidence_pack, control_map, gaps, and summary. No source material is mutated.

Contract Boundaries

  • Typed inputs are required.
    • controls[]: control id, title, framework, requirement, and required flag.
    • evidence_refs[]: caller-supplied evidence refs with id, uri or digest, control ids or tags, status, collected date, owner, and summary.
    • pack_policy: as-of date, freshness window, framework, scope, and optional tag-to-control matching rules.
  • Typed output is deterministic. The output contains evidence_pack, control_map[], gaps[], and summary.
  • Read-only behavior. The skill performs no network calls, no provider writes, no filings, and no live attestations.
  • No invented evidence. Every positive mapping cites a supplied evidence ref. Stale, failed, out-of-scope, or absent evidence is reported as a gap.

Refusals And Stops

  • Missing controls, evidence refs, or pack policy returns a refused result.
  • A required control without current matching evidence returns a gap and no evidence_pack.
  • Evidence with a failed status, stale collected date, or nonmatching scope does not cover a required control.
  • Ambiguous matching is left as a gap for human review rather than inferred.

Quality Profile

  • Purpose: prepare a compact, auditable evidence pack for control review.
  • Audience: security, compliance, procurement, and operator review teams.
  • Artifact contract: evidence pack metadata, control-to-evidence map, gaps, and coverage summary.
  • Evidence bar: every mapped control cites an input evidence ref and a fit explanation.
  • Safety bar: no external filing, no live attestation, and no invented evidence.
  • Stop conditions: missing input, stale evidence, failed evidence, out-of-scope evidence, or uncovered required controls.

Output Schema

yaml
evidence_pack:
  pack_id: string
  framework: string
  scope: string
  as_of_date: string
  controls_total: number
  controls_mapped: number
  evidence_refs:
    - id: string
      uri: string
      digest: string
      owner: string
      collected_at: string
control_map:
  - control_id: string
    control_title: string
    status: mapped | gap
    evidence_ref: string | null
    fit: string
    freshness_days: number | null
gaps:
  - control_id: string
    reason: missing_evidence | stale_evidence | failed_evidence | scope_mismatch | needs_human
    detail: string
summary:
  decision: ready | refused
  mapped_controls: number
  gap_count: number
  required_gap_count: number
  notes:
    - string

Inputs

  • controls (required): array of declared controls to map.
  • evidence_refs (required): array of supplied evidence references.
  • pack_policy (required): freshness, framework, scope, and optional matching rules.

Published execution profile

The execution profile published with sha-aa68af0206c3, shown as its exact bytes.

Runner
  • pack
Profile digestsha256:64ca0f3210fdf7a5f9cf41f3d96b4bb4409dfe405cf19379de86cd43453e69e1
skill: compliance-pack
version: 0.1.1
catalog:
  kind: skill
  audience: operator
  visibility: public
  role: canonical
  category: security
runners:
  pack:
    default: true
    inputs:
      controls:
        type: json
        required: true
        description: Declared compliance controls with id, title, framework, requirement, and required flag.
      evidence_refs:
        type: json
        required: true
        description: Caller-supplied evidence references with ids, digests or URIs, control links, status, date, owner, and scope.
      pack_policy:
        type: json
        required: true
        description: Framework, scope, as-of date, freshness window, pack id, and optional tag matching rules.
    steps:
      - id: pack
        tool:
          command: node
          args:
            - run.mjs
        inputs:
          controls: $input.controls
          evidence_refs: $input.evidence_refs
          pack_policy: $input.pack_policy
        artifacts:
          wrap_as: compliance_evidence_packet
harness:
  cases:
    - name: sealed-maps-controls-to-current-evidence
      inputs:
        controls:
          - id: SOC2-CC6.1
            title: Logical access controls
            framework: SOC2
            requirement: Access to production systems is restricted and reviewed.
            required: true
          - id: SOC2-CC7.2
            title: Vulnerability remediation
            framework: SOC2
            requirement: Vulnerability findings are tracked through remediation.
            required: true
        evidence_refs:
          - id: ev-access-review-q2
            uri: evidence://access-review/q2-2026
            digest: sha256:access-review-q2
            control_ids:
              - SOC2-CC6.1
            tags:
              - access
            status: current
            collected_at: 2026-06-28
            owner: security
            scope: production
            summary: Quarterly access review approved by security lead.
          - id: ev-vuln-sla-june
            uri: evidence://vulnerability-sla/2026-06
            digest: sha256:vuln-sla-june
            control_ids:
              - SOC2-CC7.2
            tags:
              - vulnerability-management
            status: current
            collected_at: 2026-06-27
            owner: appsec
            scope: production
            summary: June vulnerability SLA report with zero overdue criticals.
        pack_policy:
          framework: SOC2
          scope: production
          as_of_date: 2026-07-05
          max_evidence_age_days: 45
          pack_id: soc2-production-july
      expect:
        status: sealed
        receipt:
          schema: runx.receipt.v1
      operator_journeys:
        - mode: standalone
          confusors:
            - policy-draft
            - receipt-audit
          request: Build a compliance evidence pack from our declared controls and evidence.
          expected_outcome: Return a read-only pack mapping controls to evidence and reporting gaps without inventing attestation.
        - mode: composed
          request: Continue this compliance-pack work from evidence already gathered upstream.
          expected_outcome: Return a read-only pack mapping controls to evidence and reporting gaps without inventing attestation.
          prior_evidence:
            - The control list and evidence references already supplied.
          must_not_repeat:
            - Do not attest a control without supplied evidence.
    - name: refuses-missing-or-stale-evidence
      inputs:
        controls:
          - id: SOC2-CC6.6
            title: Secrets management
            framework: SOC2
            requirement: Secrets are rotated and protected from unauthorized disclosure.
            required: true
          - id: SOC2-CC7.4
            title: Incident evidence
            framework: SOC2
            requirement: Security incidents are tracked with response evidence.
            required: true
        evidence_refs:
          - id: ev-secret-rotation-old
            uri: evidence://secret-rotation/2025-12
            digest: sha256:secret-rotation-old
            control_ids:
              - SOC2-CC6.6
            status: current
            collected_at: 2025-12-15
            owner: platform
            scope: production
            summary: Old rotation report outside the current evidence window.
          - id: ev-incident-template
            uri: evidence://incident/template-only
            digest: sha256:incident-template
            control_ids:
              - SOC2-CC7.4
            status: draft
            collected_at: 2026-06-25
            owner: security
            scope: production
            summary: Draft template, not approved incident response evidence.
        pack_policy:
          framework: SOC2
          scope: production
          as_of_date: 2026-07-05
          max_evidence_age_days: 45
          pack_id: soc2-gap-review
      expect:
        status: failure
        receipt:
          schema: runx.receipt.v1

Published package and test evidence.

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

Test result

Harness resultPassed
Tested versionsha-aa68af0206c3
Recorded result2 checks passed · 0 failed
Result sourceReported by the publisher (runx_registry_publish)
Suiterunx-harness
Test recorded
Declared cases2
Test recordOpen the recorded run
Inspect receipt referencessha256:4c259af48e018669b38de462b4855fa39190c9c427810b039e0dea3319419f63sha256:18e7b44790a7451c5fcb84836cc67e8965599deb4b02fde00a84962e09e479dd

Package identity

Published revisionsha-aa68af0206c3
Content digestsha256:aa68af0206c38391f3581885b1841cb4f628e01b85cf0641bd63eeb0e59aae08
SKILL.md digestsha256:b2596f2f34ec8900b21509dda0aa0bad383ec5858afa885dcdc28539232072ae
Execution profile digestsha256:64ca0f3210fdf7a5f9cf41f3d96b4bb4409dfe405cf19379de86cd43453e69e1
Publisher identityUnverified publisher · RYDE
Trust tierCommunityPublished through the registry without publisher verification. This tier is not a code assessment.
Attestations
  • Publisher · DeclaredRYDE · 17 Oct 2026
Source provenanceNot published with this version

Version history

  1. sha-aa68af0206c3ViewingContent digest sha256:aa68af0206c38391f3581885b1841cb4f628e01b85cf0641bd63eeb0e59aae08
  2. sha-271410759270Content digest sha256:2714107592704f6dae03e76aad0a82d2c03568a221c7b6f84e04158a6033e383
  3. sha-bb8585fcf5e3Content digest sha256:bb8585fcf5e34509ef15d82df7379518bf248a76baabe0ab95e1dad421b7b3bb
  4. sha-800000bbf098Content digest sha256:800000bbf09846a9a09175fe75faa14421e9ec766114ca641f0877bf7b7b6469