[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74Q0R8QXF54SPJRTJB1R7XS":3,"skill-same:01M74Q0R8QXF54SPJRTJB1R7XS":54},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M74Q0R8QXF54SPJRTJB1R7XS","fleet-deploy",null,"Deploy or restart only explicitly requested mono-agent consumers and prove their bounded health. Use when asked to deploy, restart named agents, or get a change live. Do not infer a full-fleet rollout from a release or merge.","robertsreberski\u002Fmono-agent","robertsreberski","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F8419292?v=4","01M74PZ37AVTNF0C6ATE0G6HV3","Robert Sreberski","01M74PZ37Y74736M79A4FTQ5AW",2,"GPL-3.0","https:\u002F\u002Fgithub.com\u002Frobertsreberski\u002Fmono-agent\u002Fblob\u002Fmain\u002Fskills\u002Ffleet-deploy\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: fleet-deploy\ndescription: Deploy or restart only explicitly requested mono-agent consumers and prove their bounded health. Use when asked to deploy, restart named agents, or get a change live. Do not infer a full-fleet rollout from a release or merge.\n---\n\n# Exact-target deployment\n\nDeployment is consumer adoption, not release aftercare. Resolve the user's named\ntargets before changing anything and leave every other agent, service, and web\nconsole untouched.\n\n## Runtime topology\n\n- The normal mono-agent `main` checkout is the adoption source for the global\n  local CLI and the primary managed instance. That serving process uses the same\n  immutable managed-runtime installation as other `com.mono-agent.*` instances.\n- Every `com.mono-agent.*` serving process and instance wrapper must agree with\n  its managed snapshot.\n- A separate product with its own package graph, lifecycle manager, and runbook\n  is never part of an inferred mono-agent fleet deployment.\n\n## Instances with their own runtime or credential layout\n\nSome instances are excluded from any fleet-wide restart, including one the user\nasked for as \"all\". Restarting them with the global CLI silently overrides a\ndeliberate contract.\n\n- **Pinned-runtime instances** (`\u003Cinstance-dir>`, label\n  `com.mono-agent.\u003Cinstance>-\u003Chash>`) pin their runtime in\n  `host-versions.json` and install that exact version from npm into\n  `.host\u002Fruntime` via `.\u002Fbin\u002Fbootstrap`. `.\u002Fbin\u002Fmono-agent` refuses any\n  background lifecycle command whose installed version disagrees with the pin.\n  The global `mono-agent restart` never consults that guard, so a fleet restart\n  pushes such an instance off its pin and its next bootstrap pulls it back.\n  To move its version: edit `host-versions.json`, run `.\u002Fbin\u002Fbootstrap --profile writer\n  --skip-provider-login --skip-start`, then `.\u002Fbin\u002Fmono-agent restart` from\n  `\u003Cinstance-dir>`. Never the global CLI.\n- **External-credential instances** (`\u003Cinstance-dir>`) keep their chat token one\n  level above the sandbox and need `--env-file \u003Ccredential-path>` on every\n  lifecycle command. A bare restart mutes such an instance silently while its\n  scheduler keeps recording success.\n\nDevelopment still happens in worktrees. The live `main` checkout stays clean,\nand is advanced only to an already-reviewed commit when deployment is requested.\n\n## 1. Classify the request\n\nUse the narrowest operation:\n\n| Request | Operation |\n|---|---|\n| Restart an unchanged target | Restart only that target; do not rebuild |\n| Adopt a reviewed mono-agent commit in the primary instance | Fast-forward clean `main`, install\u002Fbuild, restart that instance |\n| Adopt a reviewed commit in another named mono-agent | Prepare clean `main`, then restart only the named instance so it installs its managed runtime |\n| Adopt a published version in a separate product | Use that product's own dependency-upgrade runbook |\n\nA release does not imply any row in this table.\n\n## 2. Prepare checkout code only when needed\n\n```bash\nMONO_DEPLOY_REPO=\u002FUsers\u002Fexample\u002FPersonal_Repositories\u002Fmono-agent\ntest -z \"$(git -C \"$MONO_DEPLOY_REPO\" status --porcelain)\"\ngit -C \"$MONO_DEPLOY_REPO\" fetch origin main\ngit -C \"$MONO_DEPLOY_REPO\" pull --ff-only origin main\ngit -C \"$MONO_DEPLOY_REPO\" rev-parse HEAD\ncd \"$MONO_DEPLOY_REPO\"\npnpm install --frozen-lockfile\npnpm run build\n```\n\nRun this block once per adopted commit, not once per consumer. Never edit, stash,\nreset, or test a feature branch in the live checkout. If it is dirty or cannot\nfast-forward, stop and preserve the state.\n\n## 3. Primary managed instance\n\nThe primary managed instance adopts the clean local `main` checkout through the\nnormal managed-runtime restart path. Resolve its exact config directory and\nservice label first, then operate from that directory:\n\n```bash\nINSTANCE_LABEL=com.mono-agent.\u003Cinstance>-\u003Chash>\ncd \"\u003Cinstance-dir>\"\nmono-agent restart\nlaunchctl print \"gui\u002F$(id -u)\u002F$INSTANCE_LABEL\" | grep -E 'state =|pid =|last exit code'\nmono-agent --version\nmono-agent validate\nmono-agent status\n```\n\nDo not substitute a raw LaunchAgent kickstart for `mono-agent restart`. A raw\nkickstart only relaunches the snapshot already recorded in the plist and can\nsilently keep the process on the prior version.\n\nThen prove the running command resolves into the newly installed managed\nruntime, not merely that the checkout CLI reports the desired version:\n\n```bash\nINSTANCE_PID=$(launchctl print \"gui\u002F$(id -u)\u002F$INSTANCE_LABEL\" | awk '\u002Fpid =\u002F{print $3; exit}')\ntest -n \"$INSTANCE_PID\"\nINSTANCE_COMMAND=$(ps -p \"$INSTANCE_PID\" -o command=)\nprintf '%s\\n' \"$INSTANCE_COMMAND\"\nprintf '%s\\n' \"$INSTANCE_COMMAND\" | grep -F '\u002F.mono-agent\u002Fruntimes\u002Fagent-app\u002F'\ngit -C \"$MONO_DEPLOY_REPO\" rev-parse HEAD\n```\n\nUse a bounded error tail only; do not launch a full log or fleet audit:\n\n```bash\ntail -n 25 \"$HOME\u002F.mono-agent\u002Flogs\u002F$INSTANCE_LABEL.err.log\"\n```\n\n## 4. Other named mono-agent instances\n\nFor each explicitly named instance, resolve its config directory and service\nlabel, then operate from that directory:\n\n```bash\ncd \u003Cexact-instance-directory>\nmono-agent restart\nmono-agent validate\nmono-agent status\ntail -n 25 \"$HOME\u002F.mono-agent\u002Flogs\u002F\u003Cexact-label>.err.log\"\n```\n\nVerify the PID and command path from the exact plist\u002Flaunchd label. Do not\nrestart the primary instance last, enumerate every matching plist, or add historical\ninstances unless the user requested a full fleet rollout.\n\n## 5. Separate-product adoption is separate\n\nWhen a separate product was explicitly named, follow that product's own runbook\nfrom its own checkout:\n\n```bash\ncd \"\u003Cother-product-checkout>\"\npnpm install --frozen-lockfile\npnpm build\npnpm typecheck\npnpm test\n.\u002Fbin\u002Fagents restart\n.\u002Fbin\u002Fagents status\n.\u002Fbin\u002Fagents versions\n```\n\n`restart` already runs that product's core preflight. Do not duplicate it with\n`validate`, `core-preflight`, `preflight`, or `doctor` during routine\ndependency adoption. Leave proactive intake stopped. Run live verification only\nwhen the user explicitly requests its real provider-backed capture proof.\n\n## Legacy tracker boundary\n\nDo not invoke or post from `scripts\u002Ffleet-green-check.mjs` as part of current\ndevelopment, release, or deployment work. The implementation remains for\nhistorical compatibility, but it is not an active workflow authority and does\nnot describe the primary instance's managed serving runtime.\n\n## Completion evidence\n\nFor each requested target, report its exact version, source commit or installed\npackage proof, PID\u002Fcommand provenance, lifecycle status, and bounded error-tail\nresult. Name any target that failed. Do not call unrelated consumers healthy or\ndeployed when they were not inspected.\n","# Exact-target deployment\n\nDeployment is consumer adoption, not release aftercare. Resolve the user's named\ntargets before changing anything and leave every other agent, service, and web\nconsole untouched.\n\n## Runtime topology\n\n- The normal mono-agent `main` checkout is the adoption source for the global\n  local CLI and the primary managed instance. That serving process uses the same\n  immutable managed-runtime installation as other `com.mono-agent.*` instances.\n- Every `com.mono-agent.*` serving process and instance wrapper must agree with\n  its managed snapshot.\n- A separate product with its own package graph, lifecycle manager, and runbook\n  is never part of an inferred mono-agent fleet deployment.\n\n## Instances with their own runtime or credential layout\n\nSome instances are excluded from any fleet-wide restart, including one the user\nasked for as \"all\". Restarting them with the global CLI silently overrides a\ndeliberate contract.\n\n- **Pinned-runtime instances** (`\u003Cinstance-dir>`, label\n  `com.mono-agent.\u003Cinstance>-\u003Chash>`) pin their runtime in\n  `host-versions.json` and install that exact version from npm into\n  `.host\u002Fruntime` via `.\u002Fbin\u002Fbootstrap`. `.\u002Fbin\u002Fmono-agent` refuses any\n  background lifecycle command whose installed version disagrees with the pin.\n  The global `mono-agent restart` never consults that guard, so a fleet restart\n  pushes such an instance off its pin and its next bootstrap pulls it back.\n  To move its version: edit `host-versions.json`, run `.\u002Fbin\u002Fbootstrap --profile writer\n  --skip-provider-login --skip-start`, then `.\u002Fbin\u002Fmono-agent restart` from\n  `\u003Cinstance-dir>`. Never the global CLI.\n- **External-credential instances** (`\u003Cinstance-dir>`) keep their chat token one\n  level above the sandbox and need `--env-file \u003Ccredential-path>` on every\n  lifecycle command. A bare restart mutes such an instance silently while its\n  scheduler keeps recording success.\n\nDevelopment still happens in worktrees. The live `main` checkout stays clean,\nand is advanced only to an already-reviewed commit when deployment is requested.\n\n## 1. Classify the request\n\nUse the narrowest operation:\n\n| Request | Operation |\n|---|---|\n| Restart an unchanged target | Restart only that target; do not rebuild |\n| Adopt a reviewed mono-agent commit in the primary instance | Fast-forward clean `main`, install\u002Fbuild, restart that instance |\n| Adopt a reviewed commit in another named mono-agent | Prepare clean `main`, then restart only the named instance so it installs its managed runtime |\n| Adopt a published version in a separate product | Use that product's own dependency-upgrade runbook |\n\nA release does not imply any row in this table.\n\n## 2. Prepare checkout code only when needed\n\n```bash\nMONO_DEPLOY_REPO=\u002FUsers\u002Fexample\u002FPersonal_Repositories\u002Fmono-agent\ntest -z \"$(git -C \"$MONO_DEPLOY_REPO\" status --porcelain)\"\ngit -C \"$MONO_DEPLOY_REPO\" fetch origin main\ngit -C \"$MONO_DEPLOY_REPO\" pull --ff-only origin main\ngit -C \"$MONO_DEPLOY_REPO\" rev-parse HEAD\ncd \"$MONO_DEPLOY_REPO\"\npnpm install --frozen-lockfile\npnpm run build\n```\n\nRun this block once per adopted commit, not once per consumer. Never edit, stash,\nreset, or test a feature branch in the live checkout. If it is dirty or cannot\nfast-forward, stop and preserve the state.\n\n## 3. Primary managed instance\n\nThe primary managed instance adopts the clean local `main` checkout through the\nnormal managed-runtime restart path. Resolve its exact config directory and\nservice label first, then operate from that directory:\n\n```bash\nINSTANCE_LABEL=com.mono-agent.\u003Cinstance>-\u003Chash>\ncd \"\u003Cinstance-dir>\"\nmono-agent restart\nlaunchctl print \"gui\u002F$(id -u)\u002F$INSTANCE_LABEL\" | grep -E 'state =|pid =|last exit code'\nmono-agent --version\nmono-agent validate\nmono-agent status\n```\n\nDo not substitute a raw LaunchAgent kickstart for `mono-agent restart`. A raw\nkickstart only relaunches the snapshot already recorded in the plist and can\nsilently keep the process on the prior version.\n\nThen prove the running command resolves into the newly installed managed\nruntime, not merely that the checkout CLI reports the desired version:\n\n```bash\nINSTANCE_PID=$(launchctl print \"gui\u002F$(id -u)\u002F$INSTANCE_LABEL\" | awk '\u002Fpid =\u002F{print $3; exit}')\ntest -n \"$INSTANCE_PID\"\nINSTANCE_COMMAND=$(ps -p \"$INSTANCE_PID\" -o command=)\nprintf '%s\\n' \"$INSTANCE_COMMAND\"\nprintf '%s\\n' \"$INSTANCE_COMMAND\" | grep -F '\u002F.mono-agent\u002Fruntimes\u002Fagent-app\u002F'\ngit -C \"$MONO_DEPLOY_REPO\" rev-parse HEAD\n```\n\nUse a bounded error tail only; do not launch a full log or fleet audit:\n\n```bash\ntail -n 25 \"$HOME\u002F.mono-agent\u002Flogs\u002F$INSTANCE_LABEL.err.log\"\n```\n\n## 4. Other named mono-agent instances\n\nFor each explicitly named instance, resolve its config directory and service\nlabel, then operate from that directory:\n\n```bash\ncd \u003Cexact-instance-directory>\nmono-agent restart\nmono-agent validate\nmono-agent status\ntail -n 25 \"$HOME\u002F.mono-agent\u002Flogs\u002F\u003Cexact-label>.err.log\"\n```\n\nVerify the PID and command path from the exact plist\u002Flaunchd label. Do not\nrestart the primary instance last, enumerate every matching plist, or add historical\ninstances unless the user requested a full fleet rollout.\n\n## 5. Separate-product adoption is separate\n\nWhen a separate product was explicitly named, follow that product's own runbook\nfrom its own checkout:\n\n```bash\ncd \"\u003Cother-product-checkout>\"\npnpm install --frozen-lockfile\npnpm build\npnpm typecheck\npnpm test\n.\u002Fbin\u002Fagents restart\n.\u002Fbin\u002Fagents status\n.\u002Fbin\u002Fagents versions\n```\n\n`restart` already runs that product's core preflight. Do not duplicate it with\n`validate`, `core-preflight`, `preflight`, or `doctor` during routine\ndependency adoption. Leave proactive intake stopped. Run live verification only\nwhen the user explicitly requests its real provider-backed capture proof.\n\n## Legacy tracker boundary\n\nDo not invoke or post from `scripts\u002Ffleet-green-check.mjs` as part of current\ndevelopment, release, or deployment work. The implementation remains for\nhistorical compatibility, but it is not an active workflow authority and does\nnot describe the primary instance's managed serving runtime.\n\n## Completion evidence\n\nFor each requested target, report its exact version, source commit or installed\npackage proof, PID\u002Fcommand provenance, lifecycle status, and bounded error-tail\nresult. Name any target that failed. Do not call unrelated consumers healthy or\ndeployed when they were not inspected.\n",{"name":5,"description":7},"main","fd0e4fa8a7f708a6e2a9c9546a5d2ca04956b06b","skills\u002Ffleet-deploy",1,"https:\u002F\u002Fgithub.com\u002Frobertsreberski\u002Fmono-agent","https:\u002F\u002Fmono-agent.dev","https:\u002F\u002Fgithub.com\u002Frobertsreberski","linkedin.com\u002Fin\u002Frobert-sreberski","Sr. Growth Engineer @ Jetpack Marketing","2026-11-15 04:01:38",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add robertsreberski\u002Fmono-agent --skill fleet-deploy",{"tool":40,"command":41},"bunx","bunx skills add robertsreberski\u002Fmono-agent --skill fleet-deploy",{"tool":43,"command":44},"pnpm","pnpm dlx skills add robertsreberski\u002Fmono-agent --skill fleet-deploy","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Frobertsreberski\u002Fmono-agent\u002Fblob\u002Fmain\u002Fskills\u002Ffleet-deploy\u002FSKILL.md",true,[48],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"agents\u002Fopenai.yaml","REFERENCE","参考文档",244,"https:\u002F\u002Fgithub.com\u002Frobertsreberski\u002Fmono-agent\u002Fblob\u002Fmain\u002Fskills\u002Ffleet-deploy\u002Fagents\u002Fopenai.yaml",[55,62,69,76,83,90],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M74Q1JPF65A401Q1E0XE06VZ","worktree-feature","Start isolated mono-agent work with diff-aware setup, keep only required dist fresh, and ship through a PR with safe cleanup. Use for tracked repository changes, multi-commit work, or before executing an implementation plan.","https:\u002F\u002Fgithub.com\u002Frobertsreberski\u002Fmono-agent\u002Fblob\u002Fmain\u002Fskills\u002Fworktree-feature\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M74Q1FDMBVYDVSJCDEWKT6B2","verify-green","Select and run the smallest risk-based verification lane that proves a mono-agent change. Use before claiming a change works, before committing or opening a PR, or when asked to verify, run the gate, make it green, or check architecture.","https:\u002F\u002Fgithub.com\u002Frobertsreberski\u002Fmono-agent\u002Fblob\u002Fmain\u002Fskills\u002Fverify-green\u002FSKILL.md",[],[],{"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":19},"01M74Q1BY5KYZX3390MBVQYJTT","repo-hygiene-gc","Explicit bulk branch\u002Fworktree garbage collection using API-bound deletion proof. Use when asked to clean up the repository or run a deliberate maintenance sweep; ordinary PR cleanup belongs to worktree-feature.","https:\u002F\u002Fgithub.com\u002Frobertsreberski\u002Fmono-agent\u002Fblob\u002Fmain\u002Fskills\u002Frepo-hygiene-gc\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":19},"01M74Q19BRFX77BH3H8FT7YQD2","release-lockstep","Cut and registry-verify a lockstep npm release of all @mono-agent packages. Use when asked to release, publish to npm, cut vX.Y.Z, or bump the version. A release never implies consumer deployment.","https:\u002F\u002Fgithub.com\u002Frobertsreberski\u002Fmono-agent\u002Fblob\u002Fmain\u002Fskills\u002Frelease-lockstep\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":19},"01M74Q15Q68EJN55ZEMHTKKX8G","pi-upstream-recon","Investigate the vendored pi packages' real API surface (pi-ai and pi-agent-core) before hand-rolling anything, and run pi version bumps safely. Use before implementing runtime\u002Fprovider\u002Fsession behavior, when pi behavior is surprising, or when asked to \"bump pi\".","https:\u002F\u002Fgithub.com\u002Frobertsreberski\u002Fmono-agent\u002Fblob\u002Fmain\u002Fskills\u002Fpi-upstream-recon\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":19},"01M74Q13CYXZP9MASJ7ANWQ725","ops-log-hygiene","Check bounded logs for explicitly restarted services, or run a full log-health audit when requested or when symptoms justify it. Use for crash-loop diagnosis, oversized logs, restart churn, or an explicit live-fleet log audit.","https:\u002F\u002Fgithub.com\u002Frobertsreberski\u002Fmono-agent\u002Fblob\u002Fmain\u002Fskills\u002Fops-log-hygiene\u002FSKILL.md",[],[]]