fix(agent-skill): the migration's log line says it switched the setting on

It stores true rather than clearing the key, so the line now says what happened.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Codeman maintainer committed 2026-11-08 10:11:36 +01:00
1 parent cda4184e42
commit 235db69c1e
1 file changed
+1 -1
+1 -1
View File
@@ -65,7 +65,7 @@ export type AgentSkillDefaultMigration = 'switched-on' | 'nothing-to-change' | '
/** The log line of a migration that switched the skill on. */
export const AGENT_SKILL_DEFAULT_MIGRATED_LOG =
'[agent-skill] cleared the stored off from before 1.50.0 so the new default applies (turn it off again under App Settings, Agents & CLIs, Codeman Agent Skill; that choice is kept)';
'[agent-skill] switched on the off stored before 1.50.0, so the new default applies (turn it off again under App Settings, Agents & CLIs, Codeman Agent Skill; that choice is kept)';
export async function migrateAgentSkillDefault(
markerPath: string = dataPath(AGENT_SKILL_DEFAULT_MARKER)