feat(hashline): change hashline_edit default from true to false

Hashline edit tool and companion hooks now require explicit opt-in
via `"hashline_edit": true` in config. Previously enabled by default.

- tool-registry: hashline edit tool not registered unless opted in
- create-tool-guard-hooks: hashline-read-enhancer disabled by default
- Updated config schema comment and documentation
- Added TDD tests for default behavior
This commit is contained in:
YeonGyu-Kim
2026-03-02 15:20:02 +09:00
parent 0dd9ac43ea
commit 3db46a58a7
5 changed files with 57 additions and 6 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ export function createToolGuardHooks(args: {
: null
const hashlineReadEnhancer = isHookEnabled("hashline-read-enhancer")
? safeHook("hashline-read-enhancer", () => createHashlineReadEnhancerHook(ctx, { hashline_edit: { enabled: pluginConfig.hashline_edit ?? true } }))
? safeHook("hashline-read-enhancer", () => createHashlineReadEnhancerHook(ctx, { hashline_edit: { enabled: pluginConfig.hashline_edit ?? false } }))
: null
const jsonErrorRecovery = isHookEnabled("json-error-recovery")