knolo-core
knolo-core copied to clipboard
`knolo-box init` overwrites an existing config; `knolo setup` cannot update one without `--reset`
Tested at 19de1b8 with @knolo/[email protected] and @knolo/[email protected].
#151 correctly keeps an existing box config when you re-run a plain knolo setup with no flags (agentId, autoRebuild, and roots are preserved). The other update paths are still unsafe or unusable.
Evidence
knolo-box init --config <existing>silently overwrites the file. In a retest it droppedagentId,autoRebuild, and a Hub skills root, with no prompt and no--forcerequirement.knolo setupwith any flag against an existing config errors out (Config already exists: … Pass --reset to replace it.).--resetreplaces the config instead of merging, so there is no way to set--agentor--auto-rebuildon an existing install without wiping roots.
Expected
initshould refuse to overwrite an existing config unless--force(or equivalent) is passed.setupshould have a merge path, or aconfig setcommand, so callers can addagentIdorautoRebuildwithout--reset.