knolo-core icon indicating copy to clipboard operation
knolo-core copied to clipboard

`knolo-box init` overwrites an existing config; `knolo setup` cannot update one without `--reset`

Open HiveForensicsAI opened this issue 3 weeks ago • 0 comments

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 dropped agentId, autoRebuild, and a Hub skills root, with no prompt and no --force requirement.
  • knolo setup with any flag against an existing config errors out (Config already exists: … Pass --reset to replace it.).
  • --reset replaces the config instead of merging, so there is no way to set --agent or --auto-rebuild on an existing install without wiping roots.

Expected

  • init should refuse to overwrite an existing config unless --force (or equivalent) is passed.
  • setup should have a merge path, or a config set command, so callers can add agentId or autoRebuild without --reset.

HiveForensicsAI avatar Nov 11 '26 11:11 HiveForensicsAI