Tracking issue for findings from an internal code audit of the CLI (2026-07). Grouped by priority; each item links a discrete issue that a PR will close.
P0 — correctness blockers (managed flow)
P1 — crashes & correctness
P2 — robustness
P3 — consistency & docs
P4 — cleanup & hardening
Tracking issue for findings from an internal code audit of the CLI (2026-07). Grouped by priority; each item links a discrete issue that a PR will close.
P0 — correctness blockers (managed flow)
seamless checkis not managed-aware (crashes on managed projects) #78seamless checkis not managed-aware (crashes on managed projects)initsilently scaffolds a local project when the session is expired or unreachable #79 Managedinitsilently scaffolds local when the session is expired/unreachable.envwriter emits unquoted values — special characters corrupt generated .env #81.envwriter emits unquoted valuesP1 — crashes & correctness
adminMode: "source"scaffolds a broken stack —admin/is never created #82adminMode: "source"scaffolds a broken stack (noadmin/)initleaves a partial/orphaned project directory on error #84initleaves a partial project dir on errorusers list --limit/--offsetare never sent to the server (paging broken) #87users list --limit/--offsetnever sent to the serverP2 — robustness
config setJSON-coerces string values and skips the WRITABLE_KEYS filter #90config setJSON-coerces string valuesP3 — consistency & docs
--jsontowhoamiandsessions listisLocalInstanceUrlmisses 0.0.0.0 / LAN hostsP4 — cleanup & hardening