skills/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.development
Federation-wide gold (XAUUSD) trading capability. Python stack, OANDA broker, backtesting, macro signals, RSI strategy. Every organ has a role.
development
Capital claim state management — tracks claim lifecycle across WEALTH organ.
development
Archived constitutional warga placeholder retained only for audit provenance. Do not use for active work; use the live arifOS governance and constitutional skills instead.
testing
Warga (citizen) agent skills for AAA federation members. See subdirectories for specialized warga skills.