[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M758HA3ST49JXNJ186FYFV51":3,"skill-same:01M758HA3ST49JXNJ186FYFV51":60},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":42,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M758HA3ST49JXNJ186FYFV51","staging-server-operations",null,"Safe operational practices for Docker-based staging servers — volume management, change verification, and database recovery patterns.","lukemcqueen\u002Fsteadfaste-fleet","lukemcqueen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F405240?v=4","01M757MHPAGRXTJAT46SKZP98R","Luke McQueen","01M757MHPZ573KP8DT9GB8SBQ7",4,"MIT","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fstaging-server-operations\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: staging-server-operations\ndescription: \"Safe operational practices for Docker-based staging servers — volume management, change verification, and database recovery patterns.\"\nversion: 1.19.0\nauthor: Steadfaste Fleet\nlicense: MIT\nplatforms: [linux, macos]\nmetadata:\n  hermes:\n    tags: [docker, staging, recovery, volumes, operations]\n---\n\n# Staging Server Operations\n\nThis skill covers the recurring maintenance operations for the client staging\nserver: steadfaste-fleet pull-and-integrate, Docker volume management, cron\nauditing, database recovery, and change verification.\n\n## Principle: No Cutting Corners\n\nThe user has been emphatic: **implement everything from the repo — do not cut corners.**\nA checklist item that says \"skip if laborious\" is permission to fail. When a task has 9\nitems and you do 7, the 2 you skipped will surface as drift, then as debt, then as fire.\nImplement every step, verify every outcome. If a step can't be completed, escalate it —\ndon't silently skip it.\n\n## Core Operations\n\n### 1. Pull and integrate steadfaste-fleet\n\n```bash\ncd ~\u002Fsteadfaste-fleet\ngit pull --ff-only origin main\nbash ops\u002Fscripts\u002Ffleet-update.sh\npython3 ops\u002Fscripts\u002Fmanage\u002Ffleet-doctor.py --quiet\n```\n\n### 2. Docker volume management\n\nVolumes hold the only state that matters (databases, uploads). Rules:\n- **Never `docker volume rm` without checking what's inside** — `docker run\n  --rm -v \u003Cvol>:\u002Fv alpine ls \u002Fv` first.\n- **Name volumes explicitly** in compose — anonymous volumes drift on re-create.\n- **Backup before destructive ops** — `docker run --rm -v \u003Cvol>:\u002Fdata -v\n  $(pwd):\u002Fbackup alpine tar czf \u002Fbackup\u002F\u003Cvol>-$(date +%F).tgz \u002Fdata`.\n\n### 3. Cron auditing\n\n- List crons: `cronjob action=list`\n- Every cron must have a fleet prefix (`agent-` \u002F `orch-` \u002F `local-`) and be\n  present in its installer's uninstall array (the doctor's truth source).\n- A cron in the create section but missing from the uninstall array silently\n  escapes doctor validation — fix before it fails unnoticed.\n\n### 4. Database recovery\n\n```bash\n# Safe restore pattern (Postgres example)\n# 1. Stop the app container so it can't write during restore\ndocker compose stop app\n# 2. Restore from the latest backup\ndocker exec -i \u003Cdb-container> psql -U postgres \u003C backup.sql\n# 3. Verify row counts \u002F checksums BEFORE starting the app\ndocker exec -i \u003Cdb-container> psql -U postgres -c \"SELECT count(*) FROM ...\"\n# 4. Start the app and confirm health\ndocker compose start app && curl -sf http:\u002F\u002Flocalhost:PORT\u002Fhealth\n```\n\n## Change Verification\n\nEvery change ends with verification, not assumption:\n\n```bash\n# After a compose change\ndocker compose config --quiet && docker compose up -d && docker compose ps\n\n# After a config change\ncurl -sf \u003Chealth-endpoint> && echo OK\n\n# After a DB change\n\u003Cquery that exercises the changed path>\n```\n\n## Pitfalls\n\n- ❌ **Skipping \"laborious\" checklist items** — they surface as drift later.\n- ❌ **Anonymous volumes** — data is lost on `docker compose down -v`.\n- ❌ **Restoring over a live app** — the app writes during restore, corrupting it.\n- ❌ **Unverified claims** — \"should be fine\" is not a verification. Show output.\n\n## Related\n- `linux-server-hardening` — server hardening and the admin\u002Fhealth-check mindset\n- `postgres-docker` — Postgres-in-Docker specifics\n- `docker-management` — general Docker operations\n","# Staging Server Operations\n\nThis skill covers the recurring maintenance operations for the client staging\nserver: steadfaste-fleet pull-and-integrate, Docker volume management, cron\nauditing, database recovery, and change verification.\n\n## Principle: No Cutting Corners\n\nThe user has been emphatic: **implement everything from the repo — do not cut corners.**\nA checklist item that says \"skip if laborious\" is permission to fail. When a task has 9\nitems and you do 7, the 2 you skipped will surface as drift, then as debt, then as fire.\nImplement every step, verify every outcome. If a step can't be completed, escalate it —\ndon't silently skip it.\n\n## Core Operations\n\n### 1. Pull and integrate steadfaste-fleet\n\n```bash\ncd ~\u002Fsteadfaste-fleet\ngit pull --ff-only origin main\nbash ops\u002Fscripts\u002Ffleet-update.sh\npython3 ops\u002Fscripts\u002Fmanage\u002Ffleet-doctor.py --quiet\n```\n\n### 2. Docker volume management\n\nVolumes hold the only state that matters (databases, uploads). Rules:\n- **Never `docker volume rm` without checking what's inside** — `docker run\n  --rm -v \u003Cvol>:\u002Fv alpine ls \u002Fv` first.\n- **Name volumes explicitly** in compose — anonymous volumes drift on re-create.\n- **Backup before destructive ops** — `docker run --rm -v \u003Cvol>:\u002Fdata -v\n  $(pwd):\u002Fbackup alpine tar czf \u002Fbackup\u002F\u003Cvol>-$(date +%F).tgz \u002Fdata`.\n\n### 3. Cron auditing\n\n- List crons: `cronjob action=list`\n- Every cron must have a fleet prefix (`agent-` \u002F `orch-` \u002F `local-`) and be\n  present in its installer's uninstall array (the doctor's truth source).\n- A cron in the create section but missing from the uninstall array silently\n  escapes doctor validation — fix before it fails unnoticed.\n\n### 4. Database recovery\n\n```bash\n# Safe restore pattern (Postgres example)\n# 1. Stop the app container so it can't write during restore\ndocker compose stop app\n# 2. Restore from the latest backup\ndocker exec -i \u003Cdb-container> psql -U postgres \u003C backup.sql\n# 3. Verify row counts \u002F checksums BEFORE starting the app\ndocker exec -i \u003Cdb-container> psql -U postgres -c \"SELECT count(*) FROM ...\"\n# 4. Start the app and confirm health\ndocker compose start app && curl -sf http:\u002F\u002Flocalhost:PORT\u002Fhealth\n```\n\n## Change Verification\n\nEvery change ends with verification, not assumption:\n\n```bash\n# After a compose change\ndocker compose config --quiet && docker compose up -d && docker compose ps\n\n# After a config change\ncurl -sf \u003Chealth-endpoint> && echo OK\n\n# After a DB change\n\u003Cquery that exercises the changed path>\n```\n\n## Pitfalls\n\n- ❌ **Skipping \"laborious\" checklist items** — they surface as drift later.\n- ❌ **Anonymous volumes** — data is lost on `docker compose down -v`.\n- ❌ **Restoring over a live app** — the app writes during restore, corrupting it.\n- ❌ **Unverified claims** — \"should be fine\" is not a verification. Show output.\n\n## Related\n- `linux-server-hardening` — server hardening and the admin\u002Fhealth-check mindset\n- `postgres-docker` — Postgres-in-Docker specifics\n- `docker-management` — general Docker operations\n",{"name":5,"author":24,"license":15,"version":25,"metadata":26,"platforms":34,"description":7},"Steadfaste Fleet","1.19.0",{"hermes":27},{"tags":28},[29,30,31,32,33],"docker","staging","recovery","volumes","operations",[35,36],"linux","macos","main","2e6aa8d15ab0a366c90be54f61bf9c6e97015e83","skills\u002Fdevops\u002Fstaging-server-operations",1,"https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet","steadfaste.com","https:\u002F\u002Fgithub.com\u002Flukemcqueen","AI Architect | Building Hermes Cortex: governed multi-agent AI for autonomous software engineering | Enterprise Tech Consultant","2026-11-14 22:33:34",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add lukemcqueen\u002Fsteadfaste-fleet --skill staging-server-operations",{"tool":52,"command":53},"bunx","bunx skills add lukemcqueen\u002Fsteadfaste-fleet --skill staging-server-operations",{"tool":55,"command":56},"pnpm","pnpm dlx skills add lukemcqueen\u002Fsteadfaste-fleet --skill staging-server-operations","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fstaging-server-operations\u002FSKILL.md",true,[],[61,69,76,83,90,97],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":68},"01M7DXY4G8NSVB59K8B6S2AQNP","macbook-linux-maintenance","Legacy MacBook Linux fixes: GPU wedge, reboot hang, thermal.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fmacbook-linux-maintenance\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":68},"01M7DXXYJCXFJ3TGB84ZQ8KFE6","governance-regression-triage","Triage a host's governance issues: what changed.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fgovernance-regression-triage\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":68},"01M7DXXSAP1G8FDRJAMXQGBBMK","enforcement-immutability","Use when enforcement files lose their immutable flag.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fenforcement-immutability\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":68},"01M78SSDQVRYX64Y16X32TC0NS","steadfaste-fleet-repo-deploy","Use when committing to the steadfaste-fleet repo.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fsteadfaste-fleet-repo-deploy\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":68},"01M78SS928F3R2RJAYVW4E30CE","steadfaste-fleet-maintenance","Maintain an installed Steadfaste Fleet instance — update both the upstream Hermes Agent and the fleet repo layer, merge diverged histories, sync skills safely, and troubleshoot common issues. Covers the dual-update workflow (hermes update + fleet-update.sh), encrypted brain data backup, mycortex import, and recovery techniques.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fsteadfaste-fleet-maintenance\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":68},"01M78SP1CHW0T0BWE5ZT6JBPX8","fleet-preflight","DEPRECATED alias — merged into survey-before-action (2026-08-20). Load survey-before-action instead; its \"Repo-Specific Pre-Flight\" section covers git search, Hermes boundary, and deployment verification.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Ffleet-preflight\u002FSKILL.md",[],[]]