← knowledge.oriz.in

Oriz-SyncAgentConfigs Scheduled Task disabled

decision agent-toolingsession-2026-07-06

Oriz-SyncAgentConfigs Scheduled Task disabled

Root cause

Scheduled Task ran at logon + 09:00 daily, executed scripts/sync-agent-configs.ps1, which overwrote ~/.claude/settings.json from canonical source in repos/own/infra/agent-configs/claude/settings.json. That canonical file contained the okf-prompt-lookup hook definition. Every login re-added the failing hook.

Decision

Disabled the Scheduled Task. Hook stays gone.

Future work

Canonical source file in agent-configs still has the hook. Two options:

  1. Leave task disabled (current state)
  2. Edit canonical → commit → future sync would not re-add

When private chirag127/agent-configs repo migration completes (see cc-configs-private-repo-2026-07-06), option 2 becomes automatic.