بنقرة واحدة
git-sync
Git operations on VPS repos — status, commit, push, pull, diff, branch management
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Git operations on VPS repos — status, commit, push, pull, diff, branch management
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
The mandatory operational guide and metabolic flow for agents interacting with arifOS. Ditempa Bukan Diberi.
Governed intelligence skill for AAA as the abstraction, attestation, and abduction control plane across arifOS, APEX, A-FORGE, GEOX, WEALTH, WELL, and the ariffazil profile repository. Use when the user asks to explain or design AAA, route agentic work, reduce chaos/entropy in an arifOS federation task, create AREP/task declarations, classify risk, plan multi-repo changes, review governance boundaries, or translate human intent into evidence-backed, authority-safe, recursively agentic workflows. Provides deterministic F1-F13 floor checking, bounded abduction, and FederationReceipt composition.
Instrument arifOS constitutional AI kernel with Langfuse LLM tracing. Use when (1) adding Langfuse tracing to arifOS tool calls, (2) wiring arifOS telemetry to Langfuse cloud or self-hosted, (3) querying arifOS trace data from Langfuse, (4) migrating arifOS mind_reason/heart_critique calls to Langfuse spans. DITEMPA BUKAN DIBERI — Forged, Not Given.
GitHub operations — issues, PRs, commits, code search, CI/CD via gh CLI
AGI-level autonomous controller — self-healing, self-optimizing, constitutionally governed by arifOS F1-F13
Invoke arifOS constitutional MCP tools (000-999 pipeline, F1-F13 enforced)
| name | git-sync |
| description | Git operations on VPS repos — status, commit, push, pull, diff, branch management |
| user-invocable | true |
Triggers: "git", "git sync", "commit", "push", "pull", "diff", "branch", "git status", "sync repo", "backup workspace", "gitclaw"
| Alias | Path | Remote | Push Protocol |
|---|---|---|---|
arifos | /mnt/arifos | github.com/ariffazil/arifOS | HTTPS + GH_TOKEN |
workspace | ~/.openclaw/workspace | github.com/ariffazil/openclaw-workspace | HTTPS + GH_TOKEN |
apex | /mnt/apex | github.com/ariffazil/APEX-THEORY | HTTPS + GH_TOKEN |
# arifOS repo
git -C /mnt/arifos status --short
git -C /mnt/arifos log --oneline -5
# Workspace
git -C ~/.openclaw/workspace status --short
git -C ~/.openclaw/workspace log --oneline -3
# 1. See what changed
git -C /mnt/arifos diff --stat
# 2. Stage specific files (never stage .env or secrets)
git -C /mnt/arifos add core/ aaa_mcp/ aclip_cai/ tests/
# 3. Commit
git -C /mnt/arifos commit -m "feat/fix/docs: description
Co-authored-by: arifOS_bot <arifos_bot@arif-fazil.com>"
# 4. Push via HTTPS with GH_TOKEN
git -C /mnt/arifos remote set-url origin "https://${GH_TOKEN}@github.com/ariffazil/arifOS.git"
git -C /mnt/arifos push origin main
git -C /mnt/arifos remote set-url origin "https://github.com/ariffazil/arifOS.git"
# arifOS — rebase style (clean history)
git -C /mnt/arifos fetch origin
git -C /mnt/arifos pull --rebase origin main
# Workspace
git -C ~/.openclaw/workspace pull --rebase origin main
# Both at once
for REPO in /mnt/arifos /mnt/apex; do
echo "=== Syncing $REPO ==="
git -C "$REPO" pull --rebase origin main 2>&1 || echo "FAILED: $REPO"
done
# Full backup to GitHub (same as nightly cron)
bash ~/.openclaw/workspace/scripts/backup-to-github.sh
# Quick backup — just workspace docs + skills
cd ~/.openclaw/workspace
git add SPEC.md AGENTS.md DR_RUNBOOK.md skills/ memory/
git commit -m "chore: manual workspace sync $(date -u +%Y-%m-%dT%H:%M:%SZ)"
git remote set-url origin "https://${GH_TOKEN}@github.com/ariffazil/openclaw-workspace.git"
git push origin main
git remote set-url origin "https://github.com/ariffazil/openclaw-workspace.git"
# Create feature branch
git -C /mnt/arifos checkout -b feature/my-feature
# List branches
git -C /mnt/arifos branch -a
# Switch branch
git -C /mnt/arifos checkout main
# Delete merged branch (F1: safe, branch exists on remote)
git -C /mnt/arifos branch -d feature/my-feature
# 888_HOLD: Force delete unmerged branch
# git branch -D → requires F13 confirmation
# What changed since last commit
git -C /mnt/arifos diff HEAD
# What's staged
git -C /mnt/arifos diff --cached
# Recent history (pretty)
git -C /mnt/arifos log --oneline --graph --decorate -10
# Who changed a file
git -C /mnt/arifos log --follow --oneline -- aaa_mcp/server.py
# Compare with remote
git -C /mnt/arifos fetch origin
git -C /mnt/arifos log --oneline HEAD..origin/main
# Check merge conflicts
git -C /mnt/arifos status | grep "both modified"
# Accept incoming (remote wins) — use with care
git -C /mnt/arifos checkout --theirs <file>
git -C /mnt/arifos add <file>
# Accept local (our wins)
git -C /mnt/arifos checkout --ours <file>
git -C /mnt/arifos add <file>
# Abort rebase if wrong
git -C /mnt/arifos rebase --abort
# vault999.jsonl is force-tracked — use -f to add
git -C /mnt/arifos add -f VAULT999/vault999.jsonl
git -C /mnt/arifos commit -m "vault: seal $(date +%Y%m%d)"
git pull --rebase before push (avoids diverged history)git push --force to main → 888_HOLDgit reset --hard with uncommitted changes → 888_HOLD.env, openclaw.json, model weights, *.safetensors/mnt/arifos is set: git config --global --add safe.directory /mnt/arifosarifOS_bot — git-sync skill