Open
Conversation
New vibereps_config.py provides load_config/save_config with secure file permissions (0o600), env var overrides for remote settings, and pause state management. Replaces 3 ad-hoc config.json reads in vibereps.py with a clean import (graceful fallback if module missing). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ack chmod - Fallback path now reads config.json for remote_sync credentials - Added AttributeError to is_paused() except clause for corrupted config - Fallback set_pause() now applies 0o600 permissions like the config module Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
vibereps_config.pywithload_config/save_config, secure file permissions (0o600), env var overrides for remote settings, and pause state managementvibereps.pyto use the config module (replaces 3 ad-hoc config.json reads)Based on ideas from #14 (now closed). Only the config module portion — server-dependent features deferred until deployment.
Test plan
vibereps --statusstill worksvibereps --pause/vibereps --resume/vibereps --togglestill workvibereps_config.pyfalls back to inline behaviorCo-Authored-By: Claude Opus 4.6 noreply@anthropic.com