Understand the Q2 2026 Architectural Rewrite Plan
mainThe asc CLI is undergoing an incremental rewrite (April 1, 2026 – June 30, 2026) to replace its execution foundation. The goal is to move away from process-wide shared state (found in the monolithic shared package) toward an explicit runtime object that manages cross-cutting concerns like authentication, client creation, output resolution, and timeouts.
Key Architectural Changes:
- Runtime Object: A new
internal/cli/runtimepackage will own CLI behavior. - Command Construction: Commands will be rebuilt to accept a
*runtime.Runtimeobject instead of relying on global state. - Vertical Migration: Migration is organized by command families (e.g.,
status,submit,release) rather than individual helper functions.