git-auto-sync-pipelines
Design a scheduled commit/push pipeline for a repo the owner edits by hand: ordered preflight gates, a scope allowlist and size cap, a staged secret scan, rebase-then-push, heartbeat and deduped alerts. Use when a notes or research repo must sync on a schedule, or when an existing auto-sync needs a safety review. Not for a repo with a review/PR workflow, and not for a one-off commit you can make yourself.
Target: Software development & testing. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- Git auto-sync pipelines
- When to Use
- Gate order (never reorder)
- Rules that matter more than the happy path
- Secret scan specifics
- Repo-specific validation stays in the repo
- Pitfalls
- Configuration
A repo is edited by hand (notes vault, research repo) and must be committed and pushed on a schedule. An existing auto-sync needs a safety review: branch guard, secret scan, alert noise, silent stalls. Someone asks to "sync these two repos every N hours" without a PR workflow. Scheduled "validate → commit → rebase → push the target branch" for a repo the owner edits by hand. Reference implementation shape: one shared library ( /lib/git-sync-common.sh) plus one wrapper per repo, run by a single scheduler entry that loops the wrappers and prints only what they printed. A separate watchdog is usually retired into the daily health sweep: "has not succeeded recently" is one step of that sweep, because a periodic watchdog cannot outlive the scheduler it is watching. 1. flock — one run at a time; silent skip on contention. 2. pre-staged index → refuse. Staging is the human's signal, not the automation's. 3. no-op check → exit silently (still stamp the success heartbeat). 4. branch must equal the target branch. git push origin HEAD: from a feature branch publishes that branch's commits to the target — this is the single highest-severity failure mode. 5. in-progress git operation markers (r
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- wxxb789/hoa
- Source file
- skills/git-auto-sync-pipelines/SKILL.md
- Fixed revision
- beb1eca66d8fed7c3942dc3ef50990bf37837706
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: wxxb789/hoa · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T20:02:15.363Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.