Skip to content

[audit] Dead code (cross-repo): plan coordinated removal of pkg/sms — it is a PUBLIC API imported by spore-host/lambda/rest-api #293

Closed

Description

@scttfrdmn

Filed from the 2026-07-11 spawn audit. Full report: docs/spawn-audit-2026-07-11.md. Assessment-only — no code changed yet.

Phase: Phase 0.3 — track separately (NOT bundled)

Evidence

  • pkg/sms/sms.go — 6 funcs, 0 importers WITHIN spawn
  • BUT spore-host/spore-host/lambda/rest-api imports it (PendingKey/PendingNotification/PendingTable), pinned to spawn v0.36.1
  • The initial 'delete' recommendation was WRONG — verified live cross-repo use

Recommendation
Do NOT delete in the Phase 0 dead-code batch. Treat as a coordinated public-API removal: migrate/inline the consumer in spore-host/lambda/rest-api first, then remove here with a CHANGELOG Removed + SemVer note.

User-facing / SemVer: Public Go API surface — coordinate + CHANGELOG/SemVer.

Adversarially verified during the audit (62/62 findings survived verification; severities/scope adjusted where the first pass was wrong).

Activity

  1. added
    audit:2026-07
    on Jul 11, 2026
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

    audit:2026-07

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions