User Guide
This guide explains day-to-day usage of git-project-sync for operators and developers.
Typical Workflow
- Install and register services (
docs/getting-started/installation-and-service-registration.md). - Complete first-run onboarding (
docs/getting-started/first-run-onboarding.md). - Monitor health and event history.
- Use TUI/CLI actions for triage and manual interventions.
Core Commands
Check service health:
bash
syncctl doctor
syncctl stats show
syncctl events list --limit 50Inspect one run:
bash
syncctl trace show <trace-id>Run sync manually:
bash
syncctl sync all --dry-run
syncctl sync allSafety Model in Practice
- Dirty repositories are skipped instead of mutated.
- Non-fast-forward and unsafe branch states are skipped with reason codes.
- Concurrent operations on the same repository are lock-protected.
TUI Usage
synctui: runtime dashboard for status, repos, cache, logs, and triage.
Dashboard Controls
h/left,l/right: switch tabs.tab: switch focused status panel (overview vs recent errors).r: refresh now.s: runsync all.c: runcache refresh all.t: run trace drill-down for latest trace./: open command palette.!: re-run the last palette command.
Command Palette
- The palette is searchable and supports:
up/down(orj/k) to select suggestions.tabto autocomplete the selected suggestion.enterto execute.
- Palette parity with CLI top-level groups is tracked in
docs/reference/cli-tui-parity-matrix.yaml.
State and Recovery
Back up local state DB:
bash
syncctl state backup --output /path/to/backup.dbIntegrity check:
bash
syncctl state checkRestore backup:
bash
syncctl state restore --input /path/to/backup.dbWhere to Go Next
- Operational procedures:
docs/operations/service-operations-guide.md - Incident handling:
docs/operations/incident-response-playbook.md - SLOs and reliability targets:
docs/operations/reliability-slos-and-error-budgets.md