Skip to content

[audit] Flags: --hibernate-on-idle boolean vs --on-complete enum — consider --on-idle enum #316

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, low)

Evidence

  • launch.go:254 --hibernate-on-idle (bool) vs launch.go:260 --on-complete (enum)

Recommendation
Optional: add --on-idle=stop|hibernate (NOT terminate — the daemon only stops/hibernates on idle); keep the boolean as a deprecated alias.

User-facing / SemVer: User-facing (if changed) — alias + CHANGELOG + MINOR.

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

Activity

  1. added
    enhancement
    area:lifecycle
    audit:2026-07
    on Jul 11, 2026
  2. scttfrdmn commented on Jul 15, 2026

    @scttfrdmn
    ContributorAuthor

    Fixed in PR #361 (Wave 2 CLI consistency), merged to main.

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

    area:lifecycleaudit:2026-07enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions