skills/FORGE-agentic-web-builder/SKILL.md
Build, deploy, audit, and repair arif-fazil.com constellation sites autonomously. Class-level umbrella: DEPLOY (canonical script + orphan detection), AUDIT (full-crawl methodology), REPAIR (source/live convergence doctrine), SEAL (evidence + VAULT999). Load the op you need. USE WHEN: "deploy site", "site down", "audit all pages", "404 on arif-fazil.com", "deploy-vps.sh", "makcikgpt broken", "static file missing", "rsync --delete", "site audit". DO NOT USE FOR: Caddy SSL/DNS/ tunnel checks (FORGE-infra-guardian), LLM-content optimization of pages (AGI-web-optimization), generic CI/CD pipelines (FORGE-cicd-docker-deploy).
npx skillsauth add ariffazil/openclaw-workspace FORGE-agentic-web-builderInstall 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.
One night, three identical failures:
organ_proxy.py(code),999/index.html(doctrine),static/wealth.html(renderer output) — all lived ONLY in the deployed tree, all destroyed or nearly destroyed by deploys. This skill is the metabolized scar. Nothing generated lives only in the deployed tree.
VERSION CONTROL FIRST. LIVE TREE SECOND.
If a file must exist on a public site, it must exist in git first.
rsync --delete is an executioner — anything not in source is sentenced.
Canonical source: /root/arif-sites/sites/ → built/synced to /var/www/html/<site>/
Canonical script: /var/www/html/deploy-vps.sh (mirrored in repo root)
Pre-deploy checklist (mandatory):
cp -a /var/www/html /root/backups/www-html-$(date +%Y%m%d)-pre-<reason> — snapshot BEFORE mutation. Tonight this snapshot saved two restores.rsync --delete, list what will die:
rsync -avzn --delete SRC/ DEST/ | grep '^deleting' | head -50
Any file you don't recognize = HOLD. Either seed it into source or quarantine it.grep <site> deploy-vps.sh).Host → source map: | Host | Live root | Source | |---|---|---| | arif-fazil.com | /var/www/html/arif | sites/arif-fazil.com (build → dist → rsync) | | aaa | /var/www/html/aaa | sites/aaa.arif-fazil.com | | arifos / geox / wealth | /var/www/html/<organ> | sites/<organ>.arif-fazil.com | | mcp | /var/www/html/mcp | sites/mcp.arif-fazil.com (rsync, no --delete — .well-known live assets) | | well | /var/www/html/well | sites/well.arif-fazil.com (llms.txt only) | | /oil /gas /gold (apex paths) | /var/www/html/{oil,gas,gold} | dist/{oil,gas,gold} — exclude live api/ + vendor/ |
74-URL method, proven 2026-07-23. Evidence dir pattern:
/root/A-FORGE/forge_work/<date>/site-audit/
grep -oE "^[a-z0-9.-]+\.arif-fazil\.com \{" /etc/caddy/Caddyfile | sort -u<loc> entries + Caddy @spa_routes path list + every handle target + static handles (@root_static).curl -s -o body -w "%{http_code}|%{size_download}" -L url. 0-byte 404 = catch-all respond; 17-byte 404 = explicit respond directive. Both are failures for content pages.GPTBot/1.0, curl/x) AND browser UA (Mozilla + Accept: text/html). Bot lane serves .md/.html from makcikgpt-md/; browser lane gets SPA. Both must 200.@root_static list)? file never built (pre-existing gap — label it, don't fake-fix)?The drift detector for deployed content:
diff -rq <snapshot-or-source>/ <live>/ | grep "^Only in"
public/ (survives build) → commit → redeploy. Never hand-edit live-only.999/index.html vs public/999/index.html): converge to one canonical, sync, commit. Both copies must carry both truths.cp -a src dst when dst exists → dst/src): verify with ls dst after every restore; flatten with cp -a dst/src/. dst/ then mv dst/src quarantine/.rm -rf — F1 tripwire will (correctly) block. Quarantine: mkdir -p /root/backups/quarantine-<date> && mv target quarantine-<date>/.caddy validate → systemctl reload → verify affected URLs. Backup exists at /etc/caddy/Caddyfile.bak.*. Reload is T3-class: only under sovereign directive or incident repair with immediate verification.results.tsv), URL list, truth-check output → forge_work/<date>/site-audit/AUDIT-REPORT.md.forge_vault(mode="seal") with: scope, pass count, content-truth table, gaps closed, commits, queue. Cross-reference related seals (incident → audit → skill).rsync --delete without orphan preview — destroyed 36 files 2026-07-23rm -rf for cleanup — tripwire blocks; quarantine insteadDITEMPA BUKAN DIBERI.
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.