Core Components: - uniswap_manager.py: V3 concentrated liquidity position manager - clp_hedger.py: Hyperliquid perpetuals hedging bot - requirements.txt: Python dependencies - .gitignore: Security exclusions for sensitive data - doc/: Project documentation - tools/: Utility scripts and Git agent Features: - Automated liquidity provision on Uniswap V3 (WETH/USDC) - Delta-neutral hedging using Hyperliquid perpetuals - Position lifecycle management (open/close/rebalance) - Automated backup and version control system Security: - Private keys and tokens excluded from version control - Environment variables properly handled - Automated security validation for backups Git Agent: - Hourly automated backups to separate branches - Keep last 100 backups (~4 days coverage) - Detailed change tracking and parameter monitoring - Push to Gitea server automatically - Manual main branch control preserved - No performance tracking for privacy - No notifications for simplicity Files Added: - git_agent.py: Main automation script - agent_config.json: Configuration with Gitea settings - git_utils.py: Git operations wrapper - backup_manager.py: Backup branch management - change_detector.py: File change analysis - cleanup_manager.py: 100-backup rotation - commit_formatter.py: Detailed commit messages - README_GIT_AGENT.md: Complete usage documentation
35 lines
821 B
JSON
35 lines
821 B
JSON
{
|
|
"gitea": {
|
|
"server_url": "https://git.kapuscinski.pl",
|
|
"username": "ditus",
|
|
"repository": "uniswap_auto_clp",
|
|
"token": "b24fc3203597b2bdcb2f2da6634c618"
|
|
},
|
|
"backup": {
|
|
"enabled": true,
|
|
"frequency_hours": 1,
|
|
"branch_prefix": "backup-",
|
|
"push_to_remote": true,
|
|
"keep_max_count": 100,
|
|
"cleanup_with_backup": true,
|
|
"detailed_commit_messages": true
|
|
},
|
|
"main_branch": {
|
|
"manual_pushes_only": true,
|
|
"auto_commits": false,
|
|
"protect_from_agent": true,
|
|
"name": "main"
|
|
},
|
|
"change_tracking": {
|
|
"method": "commit_message",
|
|
"include_file_diffs": true,
|
|
"track_parameter_changes": true,
|
|
"format": "detailed",
|
|
"security_validation": false
|
|
},
|
|
"logging": {
|
|
"enabled": true,
|
|
"log_file": "git_agent.log",
|
|
"log_level": "INFO"
|
|
}
|
|
} |