aurora
pushed to main at aurora/vmess-domain-rotator
0c14d80c65 refactor: 物理分层解耦、配置收敛至 configs/ 并完善全生命周期自动化测试
- 目录结构优化:脚本拆分为 scripts/server 与 scripts/router,彻底移除门面包装脚本
- 配置集中管理:根目录配置软链接清理完毕,统一收敛至 configs/ (SSOT)
- 路径防漂移修复:自适应向上锚定基准路径,确保运行时产物严格落盘至 runtime/ 根目录
- 文档全面升级:README 重构优化,独立出 Git 自动推送与凭据认证章节,嵌入 Mermaid 流程图
- 测试套件扩充:新增 Server 模式与 cfst_local 模式端到端全生命周期测试(全量 32 项用例 100% PASS)
8f0443da2c chore: reorganize project structure and centralize documentation into docs/
- Centralize documentation: moved review reports into docs/reviews/ and workflow.md into docs/.
- Documentation hub: added docs/README.md indexing all architectural and design docs.
- Clean workspace: fortified .gitignore with .DS_Store and Python caches, removed untracked artifacts.
- Synchronized references: updated file maps and navigation in CLAUDE.md and README.md.
95990857b9 refactor: implement Plan B architecture modernization and rolling history pruning
- Git Rolling Pruning (Mode A): run_update_and_commit.sh automatically retains
the latest 50 commits on the runtime branch with graceful fallback to append-only.
- Router SSOT Synchronization: build_router_package.sh supports --sync-from-config
to automatically project CFST and output parameters into config_router.conf.
- Modular Decoupling: domain_updater.py refactored into high-cohesion rotator/
sub-packages (config, filter, sources, scoring, storage, notify, main) with
100% backward-compatible Facade entry point.
- Quality Assurance: expanded test suite to 21 automated regression tests, 100% passing.
eab5bdbd9a fix: complete architecture refactoring for P0/P1/P2 issues and add comprehensive test suite
- Fix P0 yd_score polarity inversion in config.server.json and domain_updater.py
- Fix P0 command injection, stdout pollution, and missing timeout in run_notify()
- Fix P0 destructive rm -rf /var/lib/ vulnerability in uninstall_debian.sh
- Fix P0 premature trap cleanup in build_router_package.sh
- Fix P1 token exposure via argv in run_update_and_commit.sh (use GIT_CONFIG_*)
- Fix P1 git ls-remote error code conflation (exit code 2 vs 128)
- Fix P1 fallback commit churn via fallback silence mechanism
- Fix P1 substore type guard, host regex validation, and staleness fallback
- Fix P1 atomic file writing in router_local_update.sh
- Fix P2 cfst zero speed filtering and strict validate_config()
- Fix P2 macOS packaging pollution (.DS_Store/AppleDouble) and BusyBox static check
- Add tests/ test suite covering all four technology stacks (18 tests, 100% pass)
- Update ARCHITECTURE_REVIEW_UNIFIED.md, README.md, workflow.md, and CLAUDE.md
- View comparison for these 4 commits »
3 weeks ago