0_SCRIPTS Documentation

Personal infrastructure scripts — sync, backup, maintenance, automation

Hardlink System

How environment files are hardlinked between ~/0_SCRIPTS/ and $HOME. Covers what breaks links, repair mechanisms (ensure_hardlinks, update_hardlinks, PostToolUse hook), mtime preservation, and the stale-file-propagation problem.

custom-env.sh restore_hardlinks.sh

hardlink_system.md

Sync Architecture

Multi-host file synchronization using rsync over SSH. Script inventory, coordination rules, conflict resolution, PID locking.

0_SYNC/

SYNC_architecture.html  |  0_SYNC/CLAUDE.md

Project CLAUDE.md

Rules, conventions, and instructions for Claude Code when working on this repository. Git workflow, bash style, debugging methodology, intercom protocol.

CLAUDE.md

0_SCRIPTS/CLAUDE.md