PiliLily opened a new issue, #547: URL: https://github.com/apache/rocketmq-dashboard/issues/547
## Background RIP-3 needs a cross-platform CLI that stays aligned with the catalog-driven Studio Tool Gateway merged in #514. This issue tracks the next independently reviewable slice: a safe local CLI foundation with no remote RocketMQ execution yet. Competition context: https://www.taiyi.top/competition-details?id=2f410866-6fa3-11f1-b193-02420a000011 ## Proposed scope - Add a Go module under `tools/rmq` for small cross-platform binaries. - Deterministically generate the embedded Go catalog and CLI reference from the canonical server YAML, with a source digest and drift checks. - Add local-only `rmqctl` commands: - `config init|get|set|use-context|current-context` - `explain` - `version` - `completion` - Add stable table, JSON, and YAML output primitives; Markdown output will follow with the diagnostic read slice. - Store only credential environment-variable references, never bearer-token values. - Validate server URLs, custom-CA paths, file permissions, symlinks, and atomic concurrent configuration publication. - Add an independent Go CI job and prove darwin/linux/windows builds on amd64 and arm64. ## Non-goals - No remote Tool Gateway calls or RocketMQ operations. - No direct Broker or NameServer connection. - No MCP transport or embedded LLM changes. - No L2/L3 mutation, approval-token, or break-glass behavior. Remote reads, Markdown diagnostic rendering, mutations, and MCP will be submitted as separate follow-up issues and small PRs. ## Safety and compatibility - The server YAML remains the only hand-maintained tool source. - Generated output records the canonical catalog SHA-256 and fails CI on drift. - Configuration uses `~/.rmqctl/config.yaml`, strict file modes, atomic replacement, and environment-based credential references. - Plain HTTP is accepted only for loopback development endpoints; TLS verification is never disabled. - The command tree contains only local commands in this slice. ## Validation - `go test -race ./...` - `go vet ./...` - generated catalog drift check - six-target `CGO_ENABLED=0` builds - full Maven verification - frontend lint/build and focused AI API tests -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
