Appearance
Development Log - Server-Manager Updates
2026-06-05/06: VPS Infrastructure Audit, Cleanup & Documentation Synchronization
🚀 Major Changes
- VPS Stack Audit & Obsolete Service Purge: Decommissioned legacy services (
n8nandevolution_api) and removed their definitions from the VPS Docker Compose stack and related files. - Redis Cache Restoration: Successfully restored and re-provisioned the
redis-cachecontainer to thecfs-infrastack on the VPS. - VPS Cleanup Hardening: Modified
vps-cleanup.shto explicitly prevent the deletion of stopped containers, utilizing safe image and network pruning instead of a global system prune. - Documentation Alignment: Synchronized all architecture and infrastructure documents (
vps-status-report.md,vps-backup-overall-concept.md,server-cleanup-and-optimization.md,backup-lifecycle.md,recovery-procedure.md, anddata-flow.md) to reflect the actual split-stack layout (cfs-infravs.cfs-platform) and standardized database technology (MariaDB 10.11 instead of PostgreSQL). - ADR Organization: Renamed duplicate ADR
0003to0008-antigravity-persistence-strategy.mdand integrated it into the VitePress sidebar.
🛠️ Technical Details
- Safe Prune Pattern: Replaced
docker system prune -fwith explicit, safe commands:docker image prune -fanddocker network prune -f. - Database Standardization: Converted database schema logs, tech stack tables, and environment connection variables from PostgreSQL to MariaDB 10.11 dialect/structure.
- VitePress Build Integrity: Verified all internal markdown cross-references and build compilation with VitePress build checks.
✅ Verification
- [x] VitePress build compiles successfully without errors or broken links.
- [x] Custom sidebar correctly displays the newly integrated ADR-0008.
- [x] Obsolete container configurations removed and safe cleanup active.
2026-05-17/18: Ultimate Local SSH Documentation Sync (Phase 3)
🚀 Major Changes
- Ultimate Local-to-Remote SSH Sync: Re-engineered
platform/linux/sync-vps-docs-manually.shas a local script. It transfers only new/updated Markdown files directly to the VPS in seconds, surgically purges obsolete pages, sanitizes links, and injects custom styles. - Surgical Sidebar Merge: Implemented
scripts/sync-sidebar.pyto copy the localsidebarconfig array and inject it directly into the VPSconfig.mtswithout overwriting vital portal routing, dark mode logos, or custom redirects. - Paused GitHub Actions Pipeline: Commented out the push trigger in
.github/workflows/sync-docs.ymlto pause the automatic GHA runs on GitHub, saving Action minutes and eliminating parallel sync conflicts. - Redesigned Agent Workflow: Upgraded
.agent/workflows/documentation-workflow.mdto establish the exact 5-step agent execution protocol (Commit -> Validate -> VPS Sync -> Push -> Verify). - Get Started Button Fix: Modified
index.mdto resolve the 404 error on the home page by mapping the Get Started button directly to/01_Strategy/gemini-protocol.
🛠️ Technical Details
- rsync over SSH Integration: Integrated
rsync -avz -e "ssh -i $IDENTITY_FILE"for instant, secure delta updates. - Dynamic Next.js Static Serving: Verified that VitePress HTML/JS updates are picked up by Next.js's public binder dynamically on the fly, completely eliminating the need for container rebuilds or portal service restarts.
✅ Verification
- [x] Zero 404 links on Get Started home page.
- [x] Manual GHA pipeline successfully paused on GitHub.
- [x] Fast, direct SSH sync script completes in less than 7 seconds.
- [x] VitePress sidebar on the live platform is in perfect harmony.
2026-05-16: Infrastructure Documentation & Sync Stabilization (Phase 2)
🚀 Major Changes
- Unified Hierarchy & Cleanup: Finalized the 01-05 layered architecture and purged all obsolete legacy directories (
adrs,infrastructure, etc.) on both local and VPS environments. - Workflow Centralization: Moved all operative workflows to
.agent/workflows/and established symlinks indocs/05_Dev_Experience/to maintain the VitePress build while ensuring a Single Source of Truth (SSoT). - Sync Pipeline Stabilization: Fixed the
sync-docs.ymlGitHub Action to correctly mirror the new structure and trigger the automated VitePress build on thecfs-platform. - Workflow Healing: Modernized
documentation-workflow.mdandgit-sync.mdto reflect the new automated standards.
🛠️ Technical Details
- Symlink Logic: Implemented
ln -sbased linking for05_Dev_Experienceto bridge operative and documentation needs. - Cross-Repo Sync: Established a clean sync path to
cfs-platform/workspaces/infrastructure/apps/server-management/docs/. - TSConfig Fix: Updated
tsconfig.jsonto include hidden directories (like.vitepress) to resolve TypeScript diagnostic errors.
✅ Verification
- [x] All 01-05 layers are populated and navigable.
- [x] Operative workflows are executable from
.agent/workflows/. - [x] Automatic documentation build triggers on GitHub push.
- [x] Legacy "data trash" has been removed from VPS.