[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M758DQAF6Q1WVG8HCJ5QVSGW":3,"skill-same:01M758DQAF6Q1WVG8HCJ5QVSGW":59},{"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":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":41,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":43,"updatedAt":44,"install":45,"resources":58},"01M758DQAF6Q1WVG8HCJ5QVSGW","one-owner-migrations",null,"Use when moving a job to a new owner system.","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\u002Fone-owner-migrations\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: one-owner-migrations\nversion: 1.0.0\ndescription: \"Use when moving a job to a new owner system.\"\ntriggers:\n  - \"migrate crons\"\n  - \"move off the scheduler\"\n  - \"hand over ownership\"\n  - \"standalone service migration\"\n  - \"double-running jobs\"\n  - \"jobs stopped running\"\ncategory: devops\nplatforms: [linux, macos]\n---\n\n# One-Owner Migrations\n\nMoving a scheduled or triggered responsibility from one owner system to another:\na scheduler to systemd\u002Flaunchd timers, an in-process plugin to a standalone\nservice or MCP server, a daemon's job to an external queue, one host to another.\n\n**The whole game is ownership.** A responsibility must have exactly one owner at\nall times — during the migration too.\n\n## Why this needs a discipline (two opposite failures)\n\n| Failure | Mechanism | What reports it |\n|---|---|---|\n| **Double-run** | the old owner was never removed, so both fire | sometimes — the duplicate is visible in output |\n| **Orphaned work** | the old owner was removed but the new owner never took it, or took it only for some items | **nothing** — no scheduler is left looking, so nothing flags it |\n\nThe second is the dangerous one, and it is the failure a naive \"count the owners\nand confirm they are active\" check cannot see. Completion is a THREE-way check,\nnot a boolean.\n\nState matters too: *pausing* the old owner is not removal. A paused entry is an\nowner-in-waiting — a reinstall, an `enable`, or a resume hands it the job back,\nand it leaves two sources of truth for one responsibility. Treat pause as an\nintermediate step, removal as the endpoint.\n\n## Procedure\n\n1. **Name both owner sets and the marker that distinguishes them.** Before\ntouching anything, write down how to enumerate \"owned by A\" and \"owned by B\"\nin one command each. Prefer a marker needing no session\u002FDBus\u002Fdaemon — a symlink,\na state file, a row — because the check must also run from contexts that have\nnone (cron, installer, health check). Verify the marker distinguishes ENABLED\nfrom merely-INSTALLED: an artifact present but not enabled is not an owner.\n2. **Guard the CREATE path BEFORE you remove anything.** This is what makes\nremoval safe, and it is the step most often skipped. Anything that recreates a\nmissing item — an installer that \"ensures\" a job exists, a reconcile loop, a\nbootstrap — resurrects the old owner the moment you delete it, and then the work\nruns twice. Teach the creator to skip items the new owner already holds, then\nremove. Prove the guard by re-running the creator, not by reading it.\n3. **Sweep every EXPECTATION-holder in the same change.** Anything declaring\n\"what should exist\" is an expectation: a manifest, an expected-list the health\ncheck parses, a registry of deployed files, a documentation index, a schema.\nThey fail the moment the item is gone. The REMOVAL is usually correct and the\nstale EXPECTATION is the bug — teach the check the new owner (skip items owned\nelsewhere) rather than restoring the item, which re-creates the duplicate. Then\nsweep REFERENCES to the moved thing: docs, runbooks, skills, test paths, and any\nlive record storing its name or path.\n4. **Hand over, then remove — per item, not wholesale.** Enable the new owner\nfor the item, verify it holds it, and only then remove the old owner's entry. A\nwholesale \"enable everything, then delete everything\" sweep leaves no coherent\npoint to stop at if one item fails partway.\n5. **Audit all three failure modes and report COUNTS, never a boolean.** A\n\"looks right\" answer hides the orphan class.\n6. **Prove the guard held.** Re-run the creator (installer\u002Freconciler\u002Fbootstrap)\nend-to-end and assert the total did not grow. This is the only proof the removal\nsurvives the next automated pass.\n\n## The three-way audit\n\nBuild the two name sets from the two markers, then assert:\n\n1. **`overlap == 0`** — no item in both sets (double-run).\n2. **No intended item is in neither set** — walk the intended list item-by-item;\n   an item in neither set is silently stopped. Detect by name-set difference\n   (**never by counting** — counts can match while the items differ).\n3. **No owner exists for a dead item** — an owner-artifact whose item no longer\n   exists anywhere (leaked by a partial rollback).\n\nThen the standing check: re-run the creator and assert the count is unchanged.\n\n## Pitfalls\n\n- **Counting instead of diffing.** \"N owners, N items\" passes while a completely\ndifferent item is orphaned. Compare name sets.\n- **Reading the raw store's field name from the CLI's vocabulary.** A management\nCLI and its state file often use DIFFERENT keys for the same id (the CLI takes\n`job_id`, the file stores `id`). A mass loop reading the wrong key gets `None`\nfor every row, removes nothing, and still logs one success-shaped line per item\n— a silent no-op that looks exactly like success. Print one row's keys first.\n- **Deleting at the same time as moving a whole directory.** If the old copy has\ntracked-but-deleted entries, a directory-level move refuses (`bad source`)\nbecause it cannot resolve a path that no longer exists. Stage the deletions\nfirst, then move.\n- **Being too strict about \"considered\" items.** Deliberately excluded items\n(paused for a reason, opted out, not applicable on this host) must still LOOK\nconsidered — give them the marker in its disabled\u002Fnot-enabled state — or the\ncheck false-positives on them forever. Only a genuinely absent marker means the\nitem was never handled.\n- **A check for a host-specific mechanism must be gated on that mechanism.** An\naudit for systemd\u002Flaunchd\u002FWindows-only machinery that warns where the mechanism\ndoes not exist warns forever and trains the reader to ignore it. Report\ninformational there instead.\n- **Not moving the validation probe with the responsibility.** After a migration\nthe OLD probing path may still work while the new one does not — validate\nthrough the new owner's real invocation, not by re-running the old entry point.\n\n## Fleet instances — where the concrete commands live\n\nThis skill is the PATTERN; the fleet's instances of it:\n\n- **Cron\u002Fscheduler → systemd user timers**: the `systemd-cron-bridge` skill (unit\ngeneration, the `--deliver` routing decision, the ownership marker) plus\n`docs\u002Frunbooks\u002Fcron-bridge-migration.md` (per-host procedure and verification).\n- **The push-gate symptoms of a half-done handover** — `❌ Deploy sync`,\n`❌ Cron manifest missing (\u003Cname>)`, `❌ Checksum: \u003Cfile>` — are covered in\n`shared-repo-push-gates`, including the rule that the removal is correct and the\nstale expectation is the bug.\n- **Skill-library instance** (a pipeline writing the deployed copy while the repo\nis the source of truth, so a deploy overwrites the lesson): `skill-curation`\nrule 6.\n- **In-process plugin → standalone MCP server**: the design in\n`docs\u002Fdesign\u002Ffleet-memory-session-mcp.md` — same shape, the host-coupled\nregistration is replaced by a process-independent surface.\n\n- **Hermes Agent → fleet\u002Fsteadfaste (framework-level, in flight)**: the framework\nitself is being retired, so every Hermes-side extension point is an\n**owner-in-waiting** — a Hermes plugin under `plugins\u002F`, a harness extension under\n`ops\u002Finstall\u002Fharnesses\u002F`, a core file re-patched on every `hermes update`. Fix them\nonly when they block production; do not add new ones, do not offer upstream PRs, and\nsurface an existing core patch to the user as a migration blocker instead of quietly\nmaintaining it. When a Hermes component is removed, revert the key that SELECTED it\n(e.g. `cron.provider`, its sub-blocks) in the same change: the framework then falls\nback to its own default but logs a fallback warning on every tick, which reads to the\nuser as the removed thing still causing issues.\n\n## Reporting\n\nReport the counts, the marker used for each set, and the two proofs (the audit\nresult and the creator-rerun count unchanged). \"All migrated\" without those\nnumbers is an assertion, not evidence.\n","# One-Owner Migrations\n\nMoving a scheduled or triggered responsibility from one owner system to another:\na scheduler to systemd\u002Flaunchd timers, an in-process plugin to a standalone\nservice or MCP server, a daemon's job to an external queue, one host to another.\n\n**The whole game is ownership.** A responsibility must have exactly one owner at\nall times — during the migration too.\n\n## Why this needs a discipline (two opposite failures)\n\n| Failure | Mechanism | What reports it |\n|---|---|---|\n| **Double-run** | the old owner was never removed, so both fire | sometimes — the duplicate is visible in output |\n| **Orphaned work** | the old owner was removed but the new owner never took it, or took it only for some items | **nothing** — no scheduler is left looking, so nothing flags it |\n\nThe second is the dangerous one, and it is the failure a naive \"count the owners\nand confirm they are active\" check cannot see. Completion is a THREE-way check,\nnot a boolean.\n\nState matters too: *pausing* the old owner is not removal. A paused entry is an\nowner-in-waiting — a reinstall, an `enable`, or a resume hands it the job back,\nand it leaves two sources of truth for one responsibility. Treat pause as an\nintermediate step, removal as the endpoint.\n\n## Procedure\n\n1. **Name both owner sets and the marker that distinguishes them.** Before\ntouching anything, write down how to enumerate \"owned by A\" and \"owned by B\"\nin one command each. Prefer a marker needing no session\u002FDBus\u002Fdaemon — a symlink,\na state file, a row — because the check must also run from contexts that have\nnone (cron, installer, health check). Verify the marker distinguishes ENABLED\nfrom merely-INSTALLED: an artifact present but not enabled is not an owner.\n2. **Guard the CREATE path BEFORE you remove anything.** This is what makes\nremoval safe, and it is the step most often skipped. Anything that recreates a\nmissing item — an installer that \"ensures\" a job exists, a reconcile loop, a\nbootstrap — resurrects the old owner the moment you delete it, and then the work\nruns twice. Teach the creator to skip items the new owner already holds, then\nremove. Prove the guard by re-running the creator, not by reading it.\n3. **Sweep every EXPECTATION-holder in the same change.** Anything declaring\n\"what should exist\" is an expectation: a manifest, an expected-list the health\ncheck parses, a registry of deployed files, a documentation index, a schema.\nThey fail the moment the item is gone. The REMOVAL is usually correct and the\nstale EXPECTATION is the bug — teach the check the new owner (skip items owned\nelsewhere) rather than restoring the item, which re-creates the duplicate. Then\nsweep REFERENCES to the moved thing: docs, runbooks, skills, test paths, and any\nlive record storing its name or path.\n4. **Hand over, then remove — per item, not wholesale.** Enable the new owner\nfor the item, verify it holds it, and only then remove the old owner's entry. A\nwholesale \"enable everything, then delete everything\" sweep leaves no coherent\npoint to stop at if one item fails partway.\n5. **Audit all three failure modes and report COUNTS, never a boolean.** A\n\"looks right\" answer hides the orphan class.\n6. **Prove the guard held.** Re-run the creator (installer\u002Freconciler\u002Fbootstrap)\nend-to-end and assert the total did not grow. This is the only proof the removal\nsurvives the next automated pass.\n\n## The three-way audit\n\nBuild the two name sets from the two markers, then assert:\n\n1. **`overlap == 0`** — no item in both sets (double-run).\n2. **No intended item is in neither set** — walk the intended list item-by-item;\n   an item in neither set is silently stopped. Detect by name-set difference\n   (**never by counting** — counts can match while the items differ).\n3. **No owner exists for a dead item** — an owner-artifact whose item no longer\n   exists anywhere (leaked by a partial rollback).\n\nThen the standing check: re-run the creator and assert the count is unchanged.\n\n## Pitfalls\n\n- **Counting instead of diffing.** \"N owners, N items\" passes while a completely\ndifferent item is orphaned. Compare name sets.\n- **Reading the raw store's field name from the CLI's vocabulary.** A management\nCLI and its state file often use DIFFERENT keys for the same id (the CLI takes\n`job_id`, the file stores `id`). A mass loop reading the wrong key gets `None`\nfor every row, removes nothing, and still logs one success-shaped line per item\n— a silent no-op that looks exactly like success. Print one row's keys first.\n- **Deleting at the same time as moving a whole directory.** If the old copy has\ntracked-but-deleted entries, a directory-level move refuses (`bad source`)\nbecause it cannot resolve a path that no longer exists. Stage the deletions\nfirst, then move.\n- **Being too strict about \"considered\" items.** Deliberately excluded items\n(paused for a reason, opted out, not applicable on this host) must still LOOK\nconsidered — give them the marker in its disabled\u002Fnot-enabled state — or the\ncheck false-positives on them forever. Only a genuinely absent marker means the\nitem was never handled.\n- **A check for a host-specific mechanism must be gated on that mechanism.** An\naudit for systemd\u002Flaunchd\u002FWindows-only machinery that warns where the mechanism\ndoes not exist warns forever and trains the reader to ignore it. Report\ninformational there instead.\n- **Not moving the validation probe with the responsibility.** After a migration\nthe OLD probing path may still work while the new one does not — validate\nthrough the new owner's real invocation, not by re-running the old entry point.\n\n## Fleet instances — where the concrete commands live\n\nThis skill is the PATTERN; the fleet's instances of it:\n\n- **Cron\u002Fscheduler → systemd user timers**: the `systemd-cron-bridge` skill (unit\ngeneration, the `--deliver` routing decision, the ownership marker) plus\n`docs\u002Frunbooks\u002Fcron-bridge-migration.md` (per-host procedure and verification).\n- **The push-gate symptoms of a half-done handover** — `❌ Deploy sync`,\n`❌ Cron manifest missing (\u003Cname>)`, `❌ Checksum: \u003Cfile>` — are covered in\n`shared-repo-push-gates`, including the rule that the removal is correct and the\nstale expectation is the bug.\n- **Skill-library instance** (a pipeline writing the deployed copy while the repo\nis the source of truth, so a deploy overwrites the lesson): `skill-curation`\nrule 6.\n- **In-process plugin → standalone MCP server**: the design in\n`docs\u002Fdesign\u002Ffleet-memory-session-mcp.md` — same shape, the host-coupled\nregistration is replaced by a process-independent surface.\n\n- **Hermes Agent → fleet\u002Fsteadfaste (framework-level, in flight)**: the framework\nitself is being retired, so every Hermes-side extension point is an\n**owner-in-waiting** — a Hermes plugin under `plugins\u002F`, a harness extension under\n`ops\u002Finstall\u002Fharnesses\u002F`, a core file re-patched on every `hermes update`. Fix them\nonly when they block production; do not add new ones, do not offer upstream PRs, and\nsurface an existing core patch to the user as a migration blocker instead of quietly\nmaintaining it. When a Hermes component is removed, revert the key that SELECTED it\n(e.g. `cron.provider`, its sub-blocks) in the same change: the framework then falls\nback to its own default but logs a fallback warning on every tick, which reads to the\nuser as the removed thing still causing issues.\n\n## Reporting\n\nReport the counts, the marker used for each set, and the two proofs (the audit\nresult and the creator-rerun count unchanged). \"All migrated\" without those\nnumbers is an assertion, not evidence.\n",{"name":5,"version":24,"category":25,"triggers":26,"platforms":33,"description":7},"1.0.0","devops",[27,28,29,30,31,32],"migrate crons","move off the scheduler","hand over ownership","standalone service migration","double-running jobs","jobs stopped running",[34,35],"linux","macos","main","9dc0e92c5fa81d4db5292b205716e8ea0c00d10e","skills\u002Fdevops\u002Fone-owner-migrations",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":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add lukemcqueen\u002Fsteadfaste-fleet --skill one-owner-migrations",{"tool":51,"command":52},"bunx","bunx skills add lukemcqueen\u002Fsteadfaste-fleet --skill one-owner-migrations",{"tool":54,"command":55},"pnpm","pnpm dlx skills add lukemcqueen\u002Fsteadfaste-fleet --skill one-owner-migrations","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fone-owner-migrations\u002FSKILL.md",true,[],[60,68,75,82,89,96],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":67},"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":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":67},"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":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":67},"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":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":67},"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":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":67},"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":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":67},"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",[],[]]