[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M758JXPY868KA4NWARK7AJC5":3,"skill-same:01M758JXPY868KA4NWARK7AJC5":62},{"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":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":45,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":47,"updatedAt":48,"install":49,"resources":61},"01M758JXPY868KA4NWARK7AJC5","two-hard-rules",null,"Two hard rules every agent must follow: USE LOOP GOVERNANCE ALWAYS. SHARE IMPROVEMENTS TO THE PUBLIC REPO.","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\u002Ftwo-hard-rules\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: two-hard-rules\nversion: 1.0.0\ncategory: devops\ndescription: \"Two hard rules every agent must follow: USE LOOP GOVERNANCE ALWAYS. SHARE IMPROVEMENTS TO THE PUBLIC REPO.\"\nauthor: Steadfaste Fleet\npinned: true\nmetadata:\n  hermes:\n    tags: [governance, rules, discipline, compliance]\n    related_skills: [agent-contract, loop-governance, change-checklist, public-contribution]\n---\n\n# ⚠️ TWO HARD RULES — Every Agent Must Follow\n\n## RULE 1: USE LOOP GOVERNANCE ALWAYS\n\nEvery code, config, or cron change REQUIRES this sequence — no exceptions:\n\n1. `mcp__review__cache_search(query=\"\u003Cwhat you are about to do>\")` — learn from past\n2. `mcp__loop_governance__begin_change(task_id=\"\u003Cshort-name>\", description=\"\u003Cwhat this does>\")` — create lock\n3. Make your changes (patch, write_file, cronjob, etc.)\n4. `mcp__review__cycle_query(task_id=\"\u003Cshort-name>\")` — find the cycle\n5. `mcp__review__feedback_accept(cycle_id=N, task_id=\"\u003Cshort-name>\", note=\"\u003Cevidence>\", completeness=\u003C0-10>, quality=\u003C0-10>, progress=\u003C0-10>)` or `feedback_override(...)` — score. **Score in this SAME call** — a bare-note accept is refused (\"nothing measured\", 2026-09-23): pass the three scores, or `unscored_reason=\"why nothing could be measured\"` for genuinely unmeasurable work. Supplying the scores here is the single-shot close; a bare `note=` triggers a refusal round-trip.\n6. `mcp__loop_governance__end_change(task_id=\"\u003Cshort-name>\")` — release lock\n\n**If `end_change` rejects** (no cycle auto-created, or cycle not scored — 2026-08-08):\n- `end_change` now BLOCKS while the task's cycle is unscored, and `begin_change`\n  refuses a new task while earlier PENDING cycles exist (close-out enforcement,\n  Luke directive). Score first: `cycle_query` → `feedback_accept\u002Foverride` →\n  `end_change`, THEN the next `begin_change`.\n- If genuinely stuck: confess clearly: \"end_change rejected — no cycle auto-created. Force-clearing lock.\"\n- Locks are session-scoped: `rm -f ~\u002F.steadfaste-fleet\u002Fstate\u002F.governance-\u003Csession-id>.json`\n  (find yours with `ls -t ~\u002F.steadfaste-fleet\u002Fstate\u002F.governance-*.json | head -1`;\n  the legacy name `.governance-active.json` is obsolete).\n- Never silently force-clear without calling `end_change` first.\n\nThe MCP server blocks write tools without an active lock — this is enforced at the tool level, not optional.\n\n## RULE 2: SHARE IMPROVEMENTS TO THE PUBLIC REPO\n\nEvery improvement you make that benefits other agents MUST go into the `steadfaste-fleet` repo:\n\n| What you built | Where it goes |\n|---------------|---------------|\n| A skill | `skills\u002F\u003Ccategory>\u002F\u003Cname>\u002F` |\n| A script | `ops\u002Fscripts\u002F` + register in `fleet-update.sh` MAP |\n| A workflow pattern | `docs\u002Ftemplates\u002F` or shared skill |\n| A config improvement | Update the template\u002Fdefaults |\n| A doc improvement | Update the relevant `.md` file |\n| A cron pattern | `ops\u002Fscripts\u002Finstall-crons.sh` |\n\n**Not just your local profile.** The repo is how every agent benefits from each other's work. If you built something useful, upstream it.\n\n## Enforcement\n\n- **Rule 1** is enforced by the MCP server at the tool level — you cannot write files without a lock\n- **Skills gate** — `~\u002F.steadfaste-fleet\u002Fstate\u002Fskills-loaded\u002F\u003Csession-id>` is auto-created when all 7\n  always-section skills are loaded via `skill_view()` (task-start bundles the list). Do NOT `touch` it —\n  the enforcer rejects empty\u002Fsession-mismatched markers. Per-session files mean concurrent sessions\n  never stomp each other's proof.\n- **After a gateway restart, load all 7 always-skills with `skill_view()` (read-only, so the gate lets\n  them through); the 7th call regenerates the marker.** A deploy only invalidates the marker when a\n  skill's CONTENT changed (fingerprint = content hash since 2026-09-23) — and then the block message\n  names exactly which skills to reload, so re-load that list, not the whole set.\n- **Reflexion gate** — The pre-commit hook queries the session DB for proof that `reflexion-check`\n  was loaded. Do NOT use `--no-verify` — it's logged and audited.\n- **Adversarial verify** — The pre-commit scanner checks for issues. **Correct:** Fix what it reports.\n  **Wrong:** Remove the check from the hook.\n- **Dogfood gate** — The pre-commit hook enforces that deployed code matches the repo source.\n  **Correct:** `bash ops\u002Fscripts\u002Ffleet-update.sh`, run doctor, fix issues, commit.\n  **Wrong:** Push without testing.\n- **Rule 2** is enforced by per-repo **AGENTS.md** checks (`agents-doc-audit.py`) — the SOUL.md auto-sync gates (template-diff-check \u002F soul-merge) were removed 2026-11-04 and are no longer enforced\n- **Both rules** are embedded in every agent-facing document: AGENTS.md, fleet-reference.md, SOUL.md templates, loop-governance skill, troubleshooting guide, git-enforcement docs, and install.sh\n\n## The Litmus Test\n\nIf your next step would work around a governance mechanism rather than complying with it —\n**stop and confess instead.** Ask yourself: \"If the user saw what I'm about to do, would they\nsay 'are you bypassing governance?'\" If yes, you're about to make a mistake.\n\n| Block | Read the message | It tells you | Then do that |\n|-------|-----------------|--------------|-------------|\n| Skills gate | Load 7 skills | Which 7 skills | skill_view() (list bundled in task-start) |\n| Lock required | begin_change() | task_id + description | MCP tool |\n| Reflexion check | Load reflexion-check | Answer 8 questions | skill_view() |\n| Adversarial verify | Fix issues | What failed | Fix them |\n| Dogfood | Deploy + test | fleet-update.sh | Run it |\n\n### Two independent gates — expect the second block\n\nThe skills gate and the lock gate BOTH block write tools, each with its own\nmessage and remedy, and neither implies the other:\n\n1. **Gate 1 (skills gate):** all 7 always-section skills loaded → marker auto-created.\n2. **Gate 2 (lock gate):** an active governance lock → `begin_change()`.\n\nFixing gate 1 does NOT satisfy gate 2 — a \"GOVERNANCE LOCK REQUIRED\" block\nimmediately after loading skills is EXPECTED, not a malfunction. The reverse\nalso holds. Both block messages now label themselves (GATE 1 of 2 \u002F GATE 2 of 2).\n\nAlso: a terminal command with compound metacharacters (semicolon, pipe, ampersand,\nredirection, backtick, `$()` — or a newline; including `python3 -c \"...\"`) is\nclassified write-capable even when\nit only reads. For lock-free inspection use a SINGLE clean command or\nread_file\u002Fsearch_files. That is conservative-by-design, not a bug.\n","# ⚠️ TWO HARD RULES — Every Agent Must Follow\n\n## RULE 1: USE LOOP GOVERNANCE ALWAYS\n\nEvery code, config, or cron change REQUIRES this sequence — no exceptions:\n\n1. `mcp__review__cache_search(query=\"\u003Cwhat you are about to do>\")` — learn from past\n2. `mcp__loop_governance__begin_change(task_id=\"\u003Cshort-name>\", description=\"\u003Cwhat this does>\")` — create lock\n3. Make your changes (patch, write_file, cronjob, etc.)\n4. `mcp__review__cycle_query(task_id=\"\u003Cshort-name>\")` — find the cycle\n5. `mcp__review__feedback_accept(cycle_id=N, task_id=\"\u003Cshort-name>\", note=\"\u003Cevidence>\", completeness=\u003C0-10>, quality=\u003C0-10>, progress=\u003C0-10>)` or `feedback_override(...)` — score. **Score in this SAME call** — a bare-note accept is refused (\"nothing measured\", 2026-09-23): pass the three scores, or `unscored_reason=\"why nothing could be measured\"` for genuinely unmeasurable work. Supplying the scores here is the single-shot close; a bare `note=` triggers a refusal round-trip.\n6. `mcp__loop_governance__end_change(task_id=\"\u003Cshort-name>\")` — release lock\n\n**If `end_change` rejects** (no cycle auto-created, or cycle not scored — 2026-08-08):\n- `end_change` now BLOCKS while the task's cycle is unscored, and `begin_change`\n  refuses a new task while earlier PENDING cycles exist (close-out enforcement,\n  Luke directive). Score first: `cycle_query` → `feedback_accept\u002Foverride` →\n  `end_change`, THEN the next `begin_change`.\n- If genuinely stuck: confess clearly: \"end_change rejected — no cycle auto-created. Force-clearing lock.\"\n- Locks are session-scoped: `rm -f ~\u002F.steadfaste-fleet\u002Fstate\u002F.governance-\u003Csession-id>.json`\n  (find yours with `ls -t ~\u002F.steadfaste-fleet\u002Fstate\u002F.governance-*.json | head -1`;\n  the legacy name `.governance-active.json` is obsolete).\n- Never silently force-clear without calling `end_change` first.\n\nThe MCP server blocks write tools without an active lock — this is enforced at the tool level, not optional.\n\n## RULE 2: SHARE IMPROVEMENTS TO THE PUBLIC REPO\n\nEvery improvement you make that benefits other agents MUST go into the `steadfaste-fleet` repo:\n\n| What you built | Where it goes |\n|---------------|---------------|\n| A skill | `skills\u002F\u003Ccategory>\u002F\u003Cname>\u002F` |\n| A script | `ops\u002Fscripts\u002F` + register in `fleet-update.sh` MAP |\n| A workflow pattern | `docs\u002Ftemplates\u002F` or shared skill |\n| A config improvement | Update the template\u002Fdefaults |\n| A doc improvement | Update the relevant `.md` file |\n| A cron pattern | `ops\u002Fscripts\u002Finstall-crons.sh` |\n\n**Not just your local profile.** The repo is how every agent benefits from each other's work. If you built something useful, upstream it.\n\n## Enforcement\n\n- **Rule 1** is enforced by the MCP server at the tool level — you cannot write files without a lock\n- **Skills gate** — `~\u002F.steadfaste-fleet\u002Fstate\u002Fskills-loaded\u002F\u003Csession-id>` is auto-created when all 7\n  always-section skills are loaded via `skill_view()` (task-start bundles the list). Do NOT `touch` it —\n  the enforcer rejects empty\u002Fsession-mismatched markers. Per-session files mean concurrent sessions\n  never stomp each other's proof.\n- **After a gateway restart, load all 7 always-skills with `skill_view()` (read-only, so the gate lets\n  them through); the 7th call regenerates the marker.** A deploy only invalidates the marker when a\n  skill's CONTENT changed (fingerprint = content hash since 2026-09-23) — and then the block message\n  names exactly which skills to reload, so re-load that list, not the whole set.\n- **Reflexion gate** — The pre-commit hook queries the session DB for proof that `reflexion-check`\n  was loaded. Do NOT use `--no-verify` — it's logged and audited.\n- **Adversarial verify** — The pre-commit scanner checks for issues. **Correct:** Fix what it reports.\n  **Wrong:** Remove the check from the hook.\n- **Dogfood gate** — The pre-commit hook enforces that deployed code matches the repo source.\n  **Correct:** `bash ops\u002Fscripts\u002Ffleet-update.sh`, run doctor, fix issues, commit.\n  **Wrong:** Push without testing.\n- **Rule 2** is enforced by per-repo **AGENTS.md** checks (`agents-doc-audit.py`) — the SOUL.md auto-sync gates (template-diff-check \u002F soul-merge) were removed 2026-11-04 and are no longer enforced\n- **Both rules** are embedded in every agent-facing document: AGENTS.md, fleet-reference.md, SOUL.md templates, loop-governance skill, troubleshooting guide, git-enforcement docs, and install.sh\n\n## The Litmus Test\n\nIf your next step would work around a governance mechanism rather than complying with it —\n**stop and confess instead.** Ask yourself: \"If the user saw what I'm about to do, would they\nsay 'are you bypassing governance?'\" If yes, you're about to make a mistake.\n\n| Block | Read the message | It tells you | Then do that |\n|-------|-----------------|--------------|-------------|\n| Skills gate | Load 7 skills | Which 7 skills | skill_view() (list bundled in task-start) |\n| Lock required | begin_change() | task_id + description | MCP tool |\n| Reflexion check | Load reflexion-check | Answer 8 questions | skill_view() |\n| Adversarial verify | Fix issues | What failed | Fix them |\n| Dogfood | Deploy + test | fleet-update.sh | Run it |\n\n### Two independent gates — expect the second block\n\nThe skills gate and the lock gate BOTH block write tools, each with its own\nmessage and remedy, and neither implies the other:\n\n1. **Gate 1 (skills gate):** all 7 always-section skills loaded → marker auto-created.\n2. **Gate 2 (lock gate):** an active governance lock → `begin_change()`.\n\nFixing gate 1 does NOT satisfy gate 2 — a \"GOVERNANCE LOCK REQUIRED\" block\nimmediately after loading skills is EXPECTED, not a malfunction. The reverse\nalso holds. Both block messages now label themselves (GATE 1 of 2 \u002F GATE 2 of 2).\n\nAlso: a terminal command with compound metacharacters (semicolon, pipe, ampersand,\nredirection, backtick, `$()` — or a newline; including `python3 -c \"...\"`) is\nclassified write-capable even when\nit only reads. For lock-free inspection use a SINGLE clean command or\nread_file\u002Fsearch_files. That is conservative-by-design, not a bug.\n",{"name":5,"author":24,"pinned":25,"version":26,"category":27,"metadata":28,"description":7},"Steadfaste Fleet",true,"1.0.0","devops",{"hermes":29},{"tags":30,"related_skills":35},[31,32,33,34],"governance","rules","discipline","compliance",[36,37,38,39],"agent-contract","loop-governance","change-checklist","public-contribution","main","2e6aa8d15ab0a366c90be54f61bf9c6e97015e83","skills\u002Fdevops\u002Ftwo-hard-rules",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":50,"prompt":60,"zipAvailable":25},[51,54,57],{"tool":52,"command":53},"npx","npx skills add lukemcqueen\u002Fsteadfaste-fleet --skill two-hard-rules",{"tool":55,"command":56},"bunx","bunx skills add lukemcqueen\u002Fsteadfaste-fleet --skill two-hard-rules",{"tool":58,"command":59},"pnpm","pnpm dlx skills add lukemcqueen\u002Fsteadfaste-fleet --skill two-hard-rules","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Ftwo-hard-rules\u002FSKILL.md",[],[63,71,78,85,92,99],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":70},"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":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":70},"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":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":70},"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":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":70},"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":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":70},"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":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":70},"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",[],[]]