skills/ASI-drift-watch/SKILL.md
Detect drift between federation source and runtime. Reads organ topology from /root/AAA/federation/organs.yaml (canonical SOT), probes live health endpoints, and compares git SHAs. No hardcoded paths or ports — everything derived from live registry.
npx skillsauth add ariffazil/openclaw-workspace ASI-drift-watchInstall 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.
A service running is not the same as a service running what you think. This skill surfaces that gap using LIVE organ registry data — zero hardcoded paths or ports.
The organ registry at /root/AAA/federation/organs.yaml is the single source of truth for organ names, source paths, runtime locations, ports, and health endpoints. Read it FIRST.
# Discover all organs
python3 -c "
import yaml, json
with open('/root/AAA/federation/organs.yaml') as f:
reg = yaml.safe_load(f)
for o in reg.get('organs', []):
print(f'{o[\"id\"]} src={o.get(\"source_path\",\"?\")} runtime={o.get(\"runtime_path\",\"?\")} port={o.get(\"port\",\"?\")}')
"
Read organ registry — cat /root/AAA/federation/organs.yaml or use the python snippet above. This gives you source_path, runtime_path, and port for every organ.
For each organ with a source_path:
git -C <source_path> rev-parse HEAD → source SHAcat <runtime_path>/.git_commit 2>/dev/null → runtime SHA (if file exists)For each organ with a port:
curl -sf --max-time 2 http://localhost:<port>/health → probe live healthIf DRIFT detected:
make deploy-local candidate (per-organ).git_commit missing → warn, treat source as truthAlso check (from registry, not hardcoded):
/etc/caddy/Caddyfile (sovereign-locked)systemctl list-units --type=service | grep -E 'arifos|aforge|geox|wealth|well|aaa|arifflow'/root/.secrets/kunci-mas.env (mode 600)| Organ | Source discovery | Runtime discovery | Health probe |
|-------|-----------------|-------------------|-------------|
| arifOS | registry source_path | registry runtime_path | curl :8088/health |
| A-FORGE | registry source_path | registry runtime_path | curl :7071/health |
| GEOX | registry source_path | registry runtime_path | curl :8081/health |
| WEALTH | registry source_path | registry runtime_path | curl :18082/health |
| WELL | registry source_path | registry runtime_path | curl :18083/health |
| AAA | registry source_path | registry runtime_path | curl :3001/health |
| arifFlow | registry source_path | registry runtime_path | curl :7073/health |
Rule: The table above is illustrative. The organ registry is authoritative. If they differ, the registry wins. Fix this SKILL.md.
.git_commit missing on runtime → log warning, treat source as truth.git_commit only (cosmetic) → warn, don't HOLDmain → flag, ask if intentional/root/AAA/federation/organs.yaml livetesting
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.