The knowledge-base command family was registered in the help surface (group + subcommands) but had NO leaf entries in internal/help/leaf.go, so `hf knowledge-base add-fact --help` (and every other kb subcommand) printed no usage. Weak agents then guessed flags (e.g. `add-fact --kb --topic-id --title` instead of `--topic <id> --fact <text>`). Add leaf help for all 18 kb subcommands (list/get/tree/topics/create/update/ delete/link/unlink/add-topic/update-topic/delete-topic/add-category/ update-category/delete-category/add-fact/update-fact/delete-fact), with the authoritative usage strings copied from internal/commands/knowledge_base.go. Now `hf knowledge-base <sub> --help` renders proper usage. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
22 KiB
22 KiB