knolo-core
knolo-core copied to clipboard
`knolo setup --root` must be the parent of `agent-data`, and a wrong path fails silently
Tested at 19de1b8 with @knolo/[email protected].
#151 fixed setup without a ~/.grok folder, but only if --root is set to the folder that contains agent-data, not agent-data itself. A close-but-wrong path finds nothing and gives no hint.
Evidence
On a computer laid out like Grok Bot (agent-data → sand-data, with workflows and managed-skills/skills underneath), and with no ~/.grok:
knolo setupwith no flags printsNo Grok skill folder was found.and builds nothing.knolo setup --root $HOMEfinds both skill folders and builds an index.knolo setup --root $HOME/agent-datasilently finds nothing, because--rootis documented/implemented as the parent ofagent-data.
Expected
- Accept
--rootpointing at either the parent ofagent-dataor atagent-dataitself (following the symlink). - If no skill folders are found, say what
--rootwas and that it needs to containagent-data(or the skill folders), instead of failing silently or only printing that no Grok skill folder was found.