hermes-backup/daily/2026-04-28_203212/skills/devops/caddyfile-ro-bind-mount-patch/SKILL.md
How to patch a Caddyfile when it is bind-mounted read-only into the Caddy container
npx skillsauth add ariffazil/openclaw-workspace caddyfile-ro-bind-mount-patchInstall 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.
Patching /root/arifOS/Caddyfile (source) does NOT update what a running Caddy container sees when the file is bind-mounted as read-only (ro).
docker exec caddy cat /etc/caddy/Caddyfile shows OLD content after patch reports successdocker cp <file> caddy:/etc/caddy/Caddyfile fails with: unlinkat ... device or resource busydocker exec caddy caddy reloadro from host /root/arifOS/Caddyfile → container /etc/caddy/Caddyfile:roStep 1: Patch the source file as normal:
patch /root/arifOS/Caddyfile <old> <new>
Step 2: Restart the Caddy container so it re-reads the source mount:
docker restart caddy
Then verify:
sleep 3 && curl -s https://arifos.arif-fazil.com/health
Read-only bind mounts are enforced by the Linux kernel at the mount point. The container's view of the file is snapshot-at-start-time. A reload alone doesn't re-read the source — only a full container restart does.
Always confirm the container's actual config after patching:
docker exec caddy grep "reverse_proxy arifosmcp" /etc/caddy/Caddyfile
If it still shows old value → restart the container.
/root/arifOS/Caddyfile → /etc/caddy/Caddyfile:ro (Caddyfile, read-only mount)/root/sites/ → /var/www/html:ro (webroot, read-only mount)/root/volumes/caddy/data → /data (Caddy data dir)/root/volumes/caddy/config → /config (Caddy config dir)development
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.
development
Check every skill’s “use when” and “do not use when” clauses for collisions, missing negatives, and vague verbs like “help,” “assist,” or “improve.” Load when linting, reviewing, or validating trigger boundaries.
development
Bootstrap, design, and package new skills. Load when capturing user intent for a new skill or drafting its initial instruction framework.
content-media
Diagnose which federation services are up, down, or drifting. Produce a prioritized remediation plan.