Skip to content

feat: config.local.yml override for deploy-safe config#17

Merged
avrabe merged 1 commit intomainfrom
feat/config-local-override
Mar 2, 2026
Merged

feat: config.local.yml override for deploy-safe config#17
avrabe merged 1 commit intomainfrom
feat/config-local-override

Conversation

@avrabe
Copy link
Contributor

@avrabe avrabe commented Mar 2, 2026

Summary

  • Adds gitignored config.local.yml that deep-merges on top of config.yml at startup
  • Adds ai_review section to base config (disabled by default)
  • Production server only needs config.local.yml with ai_review.enabled: true to survive git reset --hard deploys

Test plan

  • deepMerge unit tests: top-level merge, primitive override, recursive nested, array replacement, null override
  • All 641 tests pass, eslint clean
  • After merge: create /opt/temper/config.local.yml on server, pm2 restart, verify ai_review enabled

🤖 Generated with Claude Code

A gitignored config.local.yml is deep-merged on top of config.yml at
startup, so production-specific settings (like ai_review.enabled)
survive git reset --hard deploys without modifying the update binary.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@avrabe avrabe merged commit 3fe3ada into main Mar 2, 2026
5 checks passed
@avrabe avrabe deleted the feat/config-local-override branch March 2, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant