Skip to content

[audit] Grouping: notify workspace-* flat-hyphenated verbs should be a workspace subgroup #305

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 2 — rename (design)

Evidence

  • cmd/bot.go:505 workspace-add, :583 workspace-remove, :614 workspace-list, :678 workspace-destroy; init 1006-1009 wires them flat under notify
  • no notify workspace parent exists; no aliases

Recommendation
Regroup to notify workspace add|remove|list|destroy; keep flat hyphenated names as hidden aliases. Preserve workspace-destroy's --confirm (test-whitelisted). This also makes the leaf Name() remove/destroy so the --yes safety gate matches cleanly.

User-facing / SemVer: User-facing — aliases + CHANGELOG + MINOR.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    audit:2026-07enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions