package cli import ( "github.com/spf13/cobra" ) var statusCmd = &cobra.Command{ Use: "status", Short: "Show orca daemon status (deprecated)", Long: `Display the current status of the local orca daemon, including version, uptime, and connection info. **Deprecated (v0.13):** This command is a v0.1 stub that reports a hardcoded "daemon stopped" status. The daemon model was replaced by SSH-push in v0.9 (R-001) and the dual-write window closed in v0.12 (REQ-138). Use the canonical commands instead: orca node list # node registry + state orca metrics /healthz # liveness/health probe (daemon-mode only) This command will be removed in a future release.`, RunE: func(cmd *cobra.Command, args []string) error { warnDeprecated("orca status is deprecated (v0.1 stub): use 'orca node list' for node state and 'orca metrics /healthz' for health probes") status := map[string]any{ "version": version, "daemon": "stopped", "uptime": "0s", "api_addr": "https://localhost:8443", "health": "unknown", "phase": "1-cli-skeleton", "milestone": "v0.1", } if jsonOutput { return printJSON(status) } printText("orca daemon status\n") printText(" version: %s\n", version) printText(" daemon: %s\n", "stopped (deprecated v0.1 stub; use 'orca node list' + 'orca metrics /healthz')") printText(" api_addr: %s\n", "https://localhost:8443") printText(" phase: %s\n", "1-cli-skeleton") printText(" milestone: %s\n", "v0.1") return nil }, } func init() { rootCmd.AddCommand(statusCmd) }