mirror of
https://github.com/boshu2/agentops.git
synced 2026-09-14 15:08:13 +08:00
4fd2512c87
Remove 5 namespace parent commands (know, work, quality, settings, start) and register all 49 leaf commands directly on rootCmd. Flat namespace is simpler for users; GroupID-based help provides visual grouping without requiring namespace tokens. Namespace flattening (184 files): - Delete know.go, work.go, quality.go, settings.go, start.go - Invert deprecatedCommands map (old namespace paths → flat paths) - Update 127 consumer files (hooks, skills, docs, scripts, tests) Debt liquidation (7 items from post-mortem): - Fix 62 broken smoke test invocations - Delete 118 LOC dead deprecatedAlias code - Widen doctor scan to docs/, scripts/, and subdirectories - Expand expectedCmds test to all 49 commands (floor 45) - Add bidirectional expectedCmds sync check - Create sweep-namespace-references.sh automation - Fix EXPECTED_COMMANDS array to list flat commands - Escape sed variables in sweep script All Go tests pass (36s). All conformance checks pass.