Skip to content

audit(crm): forensic audit of discovery to campaign enrollment cardinality and company outreach saturation #25

Description

@kjxcodez

Phase 5 — Forensic Audit Item B

Problem

When a discovery run finishes, multiple contacts belonging to the same company can be imported, resolved into an audience segment, and enrolled into an outbound campaign simultaneously. This results in multiple decision-makers at the exact same organization receiving concurrent cold emails, causing brand embarrassment, internal complaints, and increased spam flagging.

Requirements (per Phase 5 Audit Protocol)

  1. Repository inspection and runtime/code-path tracing through:
    • Discovery run result processing and contact creation
    • Audience resolution (
      esolveAudienceLocally\ in SQLite)
    • Campaign enrollment (\campaigns:enroll\ in \campaigns-ipc.ts)
    • Sequence execution dispatch (\�utomation:workflow)
  2. Investigate absence of:
    • Per-company concurrency limits or caps (e.g. max 1 contact per company in active sequence)
    • Domain-level cooldown or pacing rules
  3. Deliver audit findings report with:
    • Repository inspection & runtime tracing
    • Reproduction where possible
    • Root-cause identification
    • Exact affected files & symbols
    • Current vs. expected behavior
    • Severity & safety/data-integrity implications
    • Finding classifications (\CONFIRMED, \STRONGLY INDICATED, \HYPOTHESIS)
    • Recommended implementation boundary for Phase 7

Scope Note

This is an AUDIT ONLY issue. Do NOT implement remediation code under this issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions