[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75Z18V5CE1JMGRX7XB7XKVV":3,"skill-same:01M75Z18V5CE1JMGRX7XB7XKVV":53},{"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":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M75Z18V5CE1JMGRX7XB7XKVV","sprint-resume",null,"Use when re-entering a sprint that may already be running — a new or restarted driver session, a \u002Floop heartbeat waking into a fresh context, after a crash \u002F laptop sleep \u002F context reset, or any time you're unsure which waves are already in flight and firing again could double-fire pods. Reconstructs authoritative wave state from GitHub labels + open PRs + live pods BEFORE any new fire, then hands off to `sprint run N`. Read it before resuming; skip it inside one continuous, uninterrupted run loop.","anupam-io\u002Fhive","anupam-io","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F56300182?v=4","01M75Z12MQN0Q1P96EPH6FWM0V","anupam","01M75Z12NC03SNQES4CWTCNXFF",0,"MIT","https:\u002F\u002Fgithub.com\u002Fanupam-io\u002Fhive\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsprint-resume\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: sprint-resume\ndescription: Use when re-entering a sprint that may already be running — a new or restarted driver session, a \u002Floop heartbeat waking into a fresh context, after a crash \u002F laptop sleep \u002F context reset, or any time you're unsure which waves are already in flight and firing again could double-fire pods. Reconstructs authoritative wave state from GitHub labels + open PRs + live pods BEFORE any new fire, then hands off to `sprint run N`. Read it before resuming; skip it inside one continuous, uninterrupted run loop.\n---\n\n# sprint-resume\n\nThe safety gate the runner is missing. The overnight loop's only live memory is\nthe chat session; the moment it dies (crash, sleep, context exhaustion, a `\u002Floop`\nheartbeat firing into a fresh context), the next driver has no reliable record of\nwhich waves are already in flight — and AUTO mode will happily re-fire a wave\nwhose pods are still running, burning budget and opening duplicate PRs.\n\nThis skill rebuilds the true state from the three **durable** sources and emits\nexactly one safe next action.\n\n## The Iron Law\n\n**Never `hivectl fire` an issue that has a live pod OR an open PR — regardless of its\n`status:*` label.** Labels lag reality: a worker flips `status:ready →\nin-progress` only *after* its pod starts, so an issue can read `ready` while a pod\nis already on it. Pods and PRs are the truth; labels are a hint.\n\n## When to use \u002F when NOT\n\n- **Use it** when you're entering an active sprint and didn't just fire the\n  current wave yourself: fresh `hivectl driver` session, heartbeat wake, post-crash,\n  \"I'm not sure what's running.\"\n- **Skip it** inside one continuous `sprint run N` loop where you fired the live\n  wave this session and the watcher is what woke you — you already know the state.\n\n## 1. Reconstruct (the read)\n\nRun the bundled reconciler — it's deterministic, so you don't hand-correlate 30\nissues across three sources:\n\n```bash\nAPP=\"$(hivectl config get app)\" bash \"$HIVE_ROOT\u002F.claude\u002Fskills\u002Fsprint-resume\u002Freconcile.sh\" sprint-N\n```\n\nIt joins, per issue: the `status:*` label, whether a non-terminal pod exists\n(`agents` ns, `issue_id` label), and the `agent\u002Fissue-N` PR's state + review\ndecision — and prints a verdict per issue. The three sources and how each one\n*lies*:\n\n| Source | Tells you | How it can mislead |\n|---|---|---|\n| issue `status:*` label | intended state | lags the pod (ready while a pod runs); set by the worker, not at fire time |\n| `agent\u002Fissue-N` PR | work landed \u002F under review | merged-but-issue-still-`ready` if Action A hasn't flipped it yet |\n| live pod (`issue_id`) | work in flight right now | `shutdownPolicy: Delete` removes it the instant it exits — gone ≠ succeeded |\n\nAlso load `promise.md` for the wave schedule + per-issue `deps`.\n\n## 2. Classify\n\nThe reconciler emits one verdict per issue (Iron Law baked in):\n\n| Verdict | Means | Safe action |\n|---|---|---|\n| `DONE` | PR merged or `status:done` | none |\n| `SHIP` | open PR, APPROVED | driver Action A merges it |\n| `REVIEW` | open PR, not approved | fire a reviewer (Action B) |\n| `IN-FLIGHT` | live pod, no PR yet | **wait — do not re-fire** |\n| `BLOCKED` | `status:needs-human` | driver NEEDS_HUMAN play, or surface to human |\n| `REFIRE` | no pod, no PR, status not `ready` | pod died mid-flight — safe to re-fire |\n| `FIREABLE` | no pod, no PR, `status:ready` | fire when its wave's deps are `DONE` |\n\nA wave is **complete** when all its issues are `DONE`; **drainable** when none are\n`IN-FLIGHT`; otherwise still running.\n\n## 3. Decide ONE next action\n\nMap the reconciled board to a single handoff, in priority order (mirrors the\ndriver's per-fire priority, but never fires already-in-flight work):\n\n1. any `SHIP` → driver ships approved PRs.\n2. any `REVIEW` → fire reviewers for those PRs.\n3. any `IN-FLIGHT` → **wait** (re-arm the watcher; don't fire anything new).\n4. else next wave whose every dep issue is `DONE` and whose own issues are\n   `FIREABLE`\u002F`REFIRE` → fire that wave.\n5. all impl `DONE` → check QA fold-in before closing: any open `sprint-N` +\n   `type:qa-feedback` issue is still in-flight sprint work, not a reason to close.\n   `FIREABLE`\u002F`REFIRE` ones fire (driver drafts their DoD+Plan); only when none\n   remain OR the round\u002Fbudget cap is hit → hand to `sprint close N`.\n6. only `BLOCKED` left with no other progress → surface the blocked issues + their\n   non-done deps; do not spin.\n\n**Rebuild the cross-session counters** (they live outside context, so a fresh\nsession must reconstruct them, never reset them):\n- Sprint spend + fire count — `hivectl metrics --label sprint-N` (sum `cost_usd`;\n  count rows). Compare against `HIVE_SPRINT_BUDGET_USD` \u002F `HIVE_SPRINT_MAX_AGENTS`\n  and the overrun ceiling before handing off — a restart must not blow the cap.\n- `qa_round` — read it from `.hive\u002Fhandoff\u002Fsprint-N.md`; if the file is missing,\n  infer it from how many QA→fix cycles the merged `type:qa-feedback` PRs show.\n  Never reset it to 0, or the fold-in loop never terminates.\n\n## 4. Reconcile labels (optional repair only)\n\nIf a PR is `MERGED` but its issue isn't `status:done`, repair it — respecting the\nmutex (`gh issue edit \u003CN> --add-label status:done --remove-label status:in-review\n--remove-label status:ready`). **Repairs only — never advance work in this step.**\n\n## 5. Hand off\n\nWrite the reconciled board (one line per wave: complete \u002F running \u002F blocked) into\n`.hive\u002Fhandoff\u002Fsprint-N.md` so the next session inherits it, then invoke\n`sprint run N` with the decided action. End with\n`RESULT: SPRINT_RESUMED N \u003Cnext-action>`.\n\n## Red flags — stop and re-check\n\n| Thought | Reality |\n|---|---|\n| \"the label says `ready`, so I'll fire it\" | check pods + PRs first — the label lags the pod |\n| \"the watcher woke me, so the wave drained\" | could be a 90-min **timeout** (exit 1), not a drain — re-reconcile |\n| \"no handoff file, so nothing's running\" | pods and PRs are the truth, not the file — run the reconciler |\n| \"a pod is gone, so that issue is done\" | `shutdownPolicy: Delete` removes pods on *any* exit — gone could mean it errored; check for a PR |\n\n## Bundled script\n\n- `reconcile.sh` — read-only reconciler. `APP=\u003Capp> reconcile.sh sprint-N` →\n  per-issue `status \u002F pod \u002F pr \u002F verdict` table. Needs `gh`, `kubectl`, `jq`.\n  Exits non-zero only on missing `APP`\u002Farg.\n\n## Result line\n\n- `RESULT: SPRINT_RESUMED N \u003Cnext-action>` — reconciled, handed off to `run N`\n- `RESULT: SPRINT_STATUS N` — reconciled to report only, no action taken\n- `RESULT: IDLE` — nothing to resume (no such active sprint)\n","# sprint-resume\n\nThe safety gate the runner is missing. The overnight loop's only live memory is\nthe chat session; the moment it dies (crash, sleep, context exhaustion, a `\u002Floop`\nheartbeat firing into a fresh context), the next driver has no reliable record of\nwhich waves are already in flight — and AUTO mode will happily re-fire a wave\nwhose pods are still running, burning budget and opening duplicate PRs.\n\nThis skill rebuilds the true state from the three **durable** sources and emits\nexactly one safe next action.\n\n## The Iron Law\n\n**Never `hivectl fire` an issue that has a live pod OR an open PR — regardless of its\n`status:*` label.** Labels lag reality: a worker flips `status:ready →\nin-progress` only *after* its pod starts, so an issue can read `ready` while a pod\nis already on it. Pods and PRs are the truth; labels are a hint.\n\n## When to use \u002F when NOT\n\n- **Use it** when you're entering an active sprint and didn't just fire the\n  current wave yourself: fresh `hivectl driver` session, heartbeat wake, post-crash,\n  \"I'm not sure what's running.\"\n- **Skip it** inside one continuous `sprint run N` loop where you fired the live\n  wave this session and the watcher is what woke you — you already know the state.\n\n## 1. Reconstruct (the read)\n\nRun the bundled reconciler — it's deterministic, so you don't hand-correlate 30\nissues across three sources:\n\n```bash\nAPP=\"$(hivectl config get app)\" bash \"$HIVE_ROOT\u002F.claude\u002Fskills\u002Fsprint-resume\u002Freconcile.sh\" sprint-N\n```\n\nIt joins, per issue: the `status:*` label, whether a non-terminal pod exists\n(`agents` ns, `issue_id` label), and the `agent\u002Fissue-N` PR's state + review\ndecision — and prints a verdict per issue. The three sources and how each one\n*lies*:\n\n| Source | Tells you | How it can mislead |\n|---|---|---|\n| issue `status:*` label | intended state | lags the pod (ready while a pod runs); set by the worker, not at fire time |\n| `agent\u002Fissue-N` PR | work landed \u002F under review | merged-but-issue-still-`ready` if Action A hasn't flipped it yet |\n| live pod (`issue_id`) | work in flight right now | `shutdownPolicy: Delete` removes it the instant it exits — gone ≠ succeeded |\n\nAlso load `promise.md` for the wave schedule + per-issue `deps`.\n\n## 2. Classify\n\nThe reconciler emits one verdict per issue (Iron Law baked in):\n\n| Verdict | Means | Safe action |\n|---|---|---|\n| `DONE` | PR merged or `status:done` | none |\n| `SHIP` | open PR, APPROVED | driver Action A merges it |\n| `REVIEW` | open PR, not approved | fire a reviewer (Action B) |\n| `IN-FLIGHT` | live pod, no PR yet | **wait — do not re-fire** |\n| `BLOCKED` | `status:needs-human` | driver NEEDS_HUMAN play, or surface to human |\n| `REFIRE` | no pod, no PR, status not `ready` | pod died mid-flight — safe to re-fire |\n| `FIREABLE` | no pod, no PR, `status:ready` | fire when its wave's deps are `DONE` |\n\nA wave is **complete** when all its issues are `DONE`; **drainable** when none are\n`IN-FLIGHT`; otherwise still running.\n\n## 3. Decide ONE next action\n\nMap the reconciled board to a single handoff, in priority order (mirrors the\ndriver's per-fire priority, but never fires already-in-flight work):\n\n1. any `SHIP` → driver ships approved PRs.\n2. any `REVIEW` → fire reviewers for those PRs.\n3. any `IN-FLIGHT` → **wait** (re-arm the watcher; don't fire anything new).\n4. else next wave whose every dep issue is `DONE` and whose own issues are\n   `FIREABLE`\u002F`REFIRE` → fire that wave.\n5. all impl `DONE` → check QA fold-in before closing: any open `sprint-N` +\n   `type:qa-feedback` issue is still in-flight sprint work, not a reason to close.\n   `FIREABLE`\u002F`REFIRE` ones fire (driver drafts their DoD+Plan); only when none\n   remain OR the round\u002Fbudget cap is hit → hand to `sprint close N`.\n6. only `BLOCKED` left with no other progress → surface the blocked issues + their\n   non-done deps; do not spin.\n\n**Rebuild the cross-session counters** (they live outside context, so a fresh\nsession must reconstruct them, never reset them):\n- Sprint spend + fire count — `hivectl metrics --label sprint-N` (sum `cost_usd`;\n  count rows). Compare against `HIVE_SPRINT_BUDGET_USD` \u002F `HIVE_SPRINT_MAX_AGENTS`\n  and the overrun ceiling before handing off — a restart must not blow the cap.\n- `qa_round` — read it from `.hive\u002Fhandoff\u002Fsprint-N.md`; if the file is missing,\n  infer it from how many QA→fix cycles the merged `type:qa-feedback` PRs show.\n  Never reset it to 0, or the fold-in loop never terminates.\n\n## 4. Reconcile labels (optional repair only)\n\nIf a PR is `MERGED` but its issue isn't `status:done`, repair it — respecting the\nmutex (`gh issue edit \u003CN> --add-label status:done --remove-label status:in-review\n--remove-label status:ready`). **Repairs only — never advance work in this step.**\n\n## 5. Hand off\n\nWrite the reconciled board (one line per wave: complete \u002F running \u002F blocked) into\n`.hive\u002Fhandoff\u002Fsprint-N.md` so the next session inherits it, then invoke\n`sprint run N` with the decided action. End with\n`RESULT: SPRINT_RESUMED N \u003Cnext-action>`.\n\n## Red flags — stop and re-check\n\n| Thought | Reality |\n|---|---|\n| \"the label says `ready`, so I'll fire it\" | check pods + PRs first — the label lags the pod |\n| \"the watcher woke me, so the wave drained\" | could be a 90-min **timeout** (exit 1), not a drain — re-reconcile |\n| \"no handoff file, so nothing's running\" | pods and PRs are the truth, not the file — run the reconciler |\n| \"a pod is gone, so that issue is done\" | `shutdownPolicy: Delete` removes pods on *any* exit — gone could mean it errored; check for a PR |\n\n## Bundled script\n\n- `reconcile.sh` — read-only reconciler. `APP=\u003Capp> reconcile.sh sprint-N` →\n  per-issue `status \u002F pod \u002F pr \u002F verdict` table. Needs `gh`, `kubectl`, `jq`.\n  Exits non-zero only on missing `APP`\u002Farg.\n\n## Result line\n\n- `RESULT: SPRINT_RESUMED N \u003Cnext-action>` — reconciled, handed off to `run N`\n- `RESULT: SPRINT_STATUS N` — reconciled to report only, no action taken\n- `RESULT: IDLE` — nothing to resume (no such active sprint)\n",{"name":5,"description":7},"main","4bcdcf476f67633d1771ef8cd5b4dd2089aa9ee3",".claude\u002Fskills\u002Fsprint-resume","https:\u002F\u002Fgithub.com\u002Fanupam-io\u002Fhive","https:\u002F\u002Fanupam-io.github.io\u002Fhive\u002F","https:\u002F\u002Fgithub.com\u002Fanupam-io","anupam.io","Building @rangesecurity ","2026-06-26 00:09:09",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add anupam-io\u002Fhive --skill sprint-resume",{"tool":39,"command":40},"bunx","bunx skills add anupam-io\u002Fhive --skill sprint-resume",{"tool":42,"command":43},"pnpm","pnpm dlx skills add anupam-io\u002Fhive --skill sprint-resume","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fanupam-io\u002Fhive\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsprint-resume\u002FSKILL.md",true,[47],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"reconcile.sh","SCRIPT","脚本",3617,"https:\u002F\u002Fgithub.com\u002Fanupam-io\u002Fhive\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsprint-resume\u002Freconcile.sh",[54,61,68,75,82,89],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M75Z1Z3ED8FY0AVJXWDD2BX4","hive-research","hive's systematic stages for a research fire on a GitHub issue — assess feasibility, map integrations, pin down data formats and APIs, separate what's proven from what's theoretical, and produce a findings document (not code). Follow these stages for any research fire, alongside any app-specific research skill this repo ships.","https:\u002F\u002Fgithub.com\u002Fanupam-io\u002Fhive\u002Fblob\u002Fmain\u002Fk8s-sandbox\u002Fimage\u002Fskills\u002Fhive-research\u002FSKILL.md",[],[],{"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":19},"01M75Z1VXAP9BBK63SJRQR3TZJ","hive-qa","hive's systematic method for a QA fire — verify a running app from the OUTSIDE (you cannot see source code), grounding every claim in observed evidence (baseline capture + live Playwright MCP), then report what's broken, what's working, and what to improve. Follow this for any QA fire.","https:\u002F\u002Fgithub.com\u002Fanupam-io\u002Fhive\u002Fblob\u002Fmain\u002Fk8s-sandbox\u002Fimage\u002Fskills\u002Fhive-qa\u002FSKILL.md",[],[],{"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":19},"01M75Z1QZ4HPYPAHKZGWGJ1RA3","hive-improvement","Systematic stages for an improvement on a GitHub issue — explore, understand the code, follow conventions, make the targeted improvement without scope creep, test that behaviour is preserved, then leave the tree compiling and lint-clean. Follow these stages in order for any improvement fire.","https:\u002F\u002Fgithub.com\u002Fanupam-io\u002Fhive\u002Fblob\u002Fmain\u002Fk8s-sandbox\u002Fimage\u002Fskills\u002Fhive-improvement\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":19},"01M75Z1M323T1CK3XZE9NH56RP","hive-feature-implementation","Systematic stages for implementing a feature on a GitHub issue — explore, understand the existing code, follow conventions, implement, test, then leave the tree compiling and lint-clean. Follow these stages in order for any feature-implementation fire.","https:\u002F\u002Fgithub.com\u002Fanupam-io\u002Fhive\u002Fblob\u002Fmain\u002Fk8s-sandbox\u002Fimage\u002Fskills\u002Fhive-feature-implementation\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":19},"01M75Z1HAG3X884NB0VS5CRM3D","hive-bug-fix","Systematic stages for fixing a bug on a GitHub issue — explore, understand the code, reproduce and confirm the bug, fix the root cause (not the symptom), test, then leave the tree compiling and lint-clean. Follow these stages in order for any bug-fix fire.","https:\u002F\u002Fgithub.com\u002Fanupam-io\u002Fhive\u002Fblob\u002Fmain\u002Fk8s-sandbox\u002Fimage\u002Fskills\u002Fhive-bug-fix\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":19},"01M75Z1CV08ZXQP4EKRC03YY9F","sprint","Run and report on a sprint — fire its waves to completion, check state, close it out. A sprint is a dependency-ordered batch of GitHub issues planned by the `sprint-plan` skill and tagged `sprint-N`. Use when the user says \"fire sprint-N\", \"run sprint-N overnight\", \"what's the state of sprint-N\", \"close sprint-N\", or \"we're on sprint-N\". To PLAN a sprint (decompose + DAG), use `sprint-plan` instead — this skill executes a plan that already exists.","https:\u002F\u002Fgithub.com\u002Fanupam-io\u002Fhive\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsprint\u002FSKILL.md",[],[]]