refactor(ax): Pass 1 AX compliance sweep — banned imports, naming, tests
- Remove banned imports (fmt, log, errors, os, strings, path/filepath,
encoding/json) from all cmd/ packages; replace with core.* primitives
and cli.* wrappers
- Rename abbreviated variables (cfg→configuration, reg→registry,
cmd→proc, c→toolCheck/checkBuilder, sb→builder, out→output,
r→repo/reason, b→branchName) across config, doctor, pkgcmd, help
- Add usage-example comments to all exported functions in pkg/cli
(strings.go, log.go, i18n.go)
- Add complete Good/Bad/Ugly test triads to all pkg/cli test files:
new files for command, errors, frame_components, i18n, log, render,
runtime, strings, utils; updated existing check, daemon, glyph,
layout, output, ansi, commands, frame, prompt, stream, styles,
tracker, tree
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>