git-auto-sync-pipelines
Skill2 starsChanged 10 days agoMITView on GitHub
Automate unattended Git commits and pushes for a hand-edited notes vault or research repo. When an auto-sync job faces upstream edits or oversized binaries, enforce branch guard, path allowlist, size cap and staged secret scan before rebase and push; add a heartbeat and deduplicated alerts. Not for gdd.
In this repository48 other files it gives its agents.
- AGENTS.mdAGENTS.md
- delegated-work-acceptanceSkill
- dotnet-repo-workflowSkill
- gdd-route-ccSkill
- gdd-route-codexSkill
- gdd-route-copilotSkill
- gdd-route-dshSkill
- gdd-route-omoSkill
- gdd-route-ompSkill
- gdd-route-opencodeSkill
- gdd-route-piSkill
- gddSkill
- harness-engineeringSkill
- measurement-campaign-evidenceSkill
- package-release-verificationSkill
- privileged-host-handoffSkill
- tmux-agent-controlSkill
- hermes-context-file-loadingSkill
- hermes-kanbanSkill
- hermes-models-cutoverSkill
- hermes-modelsSkill
- hermes-ops-claim-verificationSkill
- hermes-runtime-repairsSkill
- hermes-updatesSkill
- agent-harness-settings-paritySkill
- agent-operating-contract-evolutionSkill
- contract-bound-deliverablesSkill
- define-goalSkill
- review-revision-candidatesSkill
- rubric-judgeSkill
- rubric-tuneSkill
- spec-convergenceSkill
- spin-breakerSkill
- evidence-backed-analytical-writingSkill
- evidence-boundary-disciplineSkill
- ghc-searchSkill
- official-document-verificationSkill
- report-claim-auditSkill
- research-stream-consolidationSkill
- writingSkill
- hoa-practice-mineSkill
- hoa-practice-retroSkill
- hoa-repo-reckoningSkill
- hoa-skill-createSkill
- hoa-skill-curateSkill
- hoa-skill-portSkill
- hoa-skill-reviewSkill
- hoa-skill-set-auditSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 41
Commit, rebase on the fetched target, and push without force.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Design a scheduled Git sync
Require explicit unattended commit/push authority for the repository, branch, remote and paths. Keep one publisher. An automation lock serializes its own jobs, not human or other automated writers; require an isolated checkout or coordinate all writers before changing the index.
Gate Order
- Lock this repo's job. Contention is a skip, not a healthy heartbeat.
- Refuse an index with staged work. Verify the configured branch and reject detached HEAD and in-progress Git operations (including rebase, merge, cherry-pick or bisect) before any healthy no-op result.
- Fetch and check divergence. A clean worktree is not a no-op if local commits still need pushing or the target moved. Only record a healthy no-op after confirming the configured mode's success criteria. Before pushing, verify the scope and gate evidence for every unpublished commit; stop rather than publishing an unapproved commit from another writer.
- Bound tracked and untracked changes to explicitly approved paths. New files need an allowed root; tracked status alone is not consent to publish a change in a mixed-writer repo. Enforce size caps, validate per repo, then stage only eligible paths. Recheck the staged paths and blob sizes and scan the staged diff with a redacting scanner. A missing or failed scanner blocks the commit. Undo only this run's staging under exclusive ownership.
- Commit, rebase on the fetched target, and push without force. On conflict, capture diagnostics, abort only this run's rebase, and retain the commit for resolution. Re-fetch and verify exact remote HEAD after push. In authorized commit-only mode do not claim remote convergence.
Report Truthfully
Record success or clean no-op, skip, and failure distinctly. Failures must remain failures in the job result and never advance the success heartbeat. Deduplicate notification by failure signature and time window; suppress duplicate delivery in the scheduler adapter, not by returning success. Monitor heartbeat age independently and check scheduler, lock and last-success evidence before diagnosing a stall.
Resolve operator configuration and use the adapter settings and fixtures before enabling writes. Do not test on a live remote.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

