You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[audit] Dead code (cross-repo): plan coordinated removal of pkg/sms — it is a PUBLIC API imported by spore-host/lambda/rest-api #293
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
refactor(sms): remove dead pkg/sms (#293) (#363)