skills/_retired/ARCHIVE-dupe-2026-07-12/root_.agents_skills/ASI-drift-response/SKILL.md
Legacy 5-step drift response protocol. Superseded by service-health-triage.
npx skillsauth add ariffazil/openclaw-workspace ASI-drift-responseInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
DEPRECATED — This skill has been superseded by
service-health-triage. Use that skill instead.
Before using this skill on any mutating, irreversible, or high-blast-radius task:
DEPRECATED — This skill has been superseded by
service-health-triage. Use that skill instead.
Skill ID: drift-response
Agent: OpenClaw (AGI — Operational Gateway)
Priority: P0
Forged: 2026-06-14
DITEMPA BUKAN DIBERI
Standard 5-step procedure for detecting and responding to runtime drift in the arifOS federation. Replaces ad-hoc "something feels wrong" with a structured, auditable protocol.
federation_health_scan returns drift: DRIFTINGdrift = true/root/arifOS and /opt/arifos/app# Run health scan to confirm drift signal
bash /root/AAA/skills/federation-health-scan/federation_health_scan.sh --json
# Check specific files for divergence
diff -q /root/arifOS/arifosmcp/server.py /opt/arifos/app/arifosmcp/server.py
diff -q /root/arifOS/arifosmcp/runtime/governance_pipeline.py /opt/arifos/app/arifosmcp/runtime/governance_pipeline.py
# Also check service versions
curl -s http://127.0.0.1:8088/health | python3 -c "import sys,json; d=json.load(sys.stdin); print(f'Live: {d.get(\"git_commit\",\"?\")}')"
cd /root/arifOS && git rev-parse --short HEAD
# Verify with nocache health check (bypasses any cached state)
curl -s "http://127.0.0.1:8088/health?nocache=1" | python3 -c "
import sys,json
d = json.load(sys.stdin)
print(f'Status: {d.get(\"status\")}')
print(f'Commit: {d.get(\"git_commit\")}')
print(f'Tools: {d.get(\"tools_loaded\")}')
print(f'Drift: {d.get(\"contract_drift\", \"unknown\")}')
"
# Check governance events for recent anomalies
# (via nat CLI or stream view)
| Severity | Criteria | Response | |----------|----------|----------| | NUISANCE | Minor file difference (whitespace, comments), no functional impact. All services healthy. | Log. No action needed. | | IMPORTANT | Code logic divergence, different git commits between live and repo. Services still healthy. | Propose sync. 888_HOLD if restart needed. | | CRITICAL | Service running different code path. Governance pipeline affected. Floors may not be enforced correctly. | IMMEDIATE 888_HOLD. Do not proceed with any MUTATE/ATOMIC actions. |
Based on classification, output structured proposal:
{
"drift_id": "drift-20260614-001",
"classification": "IMPORTANT",
"affected_files": ["server.py", "governance_pipeline.py"],
"impact": "Governance pipeline has NATS wiring in /root but not deployed to /opt",
"proposed_action": "rsync updated files from /root/arifOS to /opt/arifos/app and restart arifos.service",
"reversibility": "REVERSIBLE — keep backups of /opt files before sync",
"requires_888": true,
"888_reason": "arifos.service restart required"
}
/root/AAA/wiki/scars/ for record. No escalation.# Complete drift response in one invocation
bash /root/AAA/skills/drift-response/respond.sh
/root/AAA/wiki/scars/scar-drift-YYYY-MM-DD.md.testing
OpenClaw edge agent bridge — operational triage, doctor, restart, and A2A bridge routing for the federation edge (Telegram surface). USE WHEN: "openclaw unhealthy", "gateway down", "edge bot not responding", "a2a bridge disconnected", "watchdog tripped", "openclaw doctor", "openclaw restart". NOT for token/security audit — use FORGE-telegram-audit.
tools
Generate images, videos, TTS, voice clone, and music via MiniMax MCP server. Use when user asks to "draw", "generate image", "create picture", "make a photo", "text to image", "image generation".
testing
Single load-bearing constitutional-judgment skill. Routes all F1–F13, verdict, hold, seal, scope, authority and floor-check calls through the live arif_judge surface. Replaces 7 overlapping predecessors (arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge).
development
MANDATORY LSP grounding gate BEFORE any code mutation on .ts, .py, .js, .tsx, .jsx files. Forces the agent to read real-time compiler diagnostics and structural project context before editing — eliminating blind guesses and anchoring every mutation in F2 (TRUTH). Routes through arifOS kernel (:8088) for centralized gate logic.