[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6N9EHVQ7P81EB338X996TY0":3,"skill-same:01M6N9EHVQ7P81EB338X996TY0":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":49,"install":50,"resources":63},"01M6N9EHVQ7P81EB338X996TY0","bubbles-upkeep-cadence",null,"How to schedule, dispatch, and record recurring operational upkeep tasks (backup, restore-drill, BCDR-drill, patch-cycle, secret-rotation, flag-cleanup, compliance-sweep). Use when authoring or modifying `config\u002Fupkeep-calendar.yaml`, when investigating a missed task, when reading the upkeep ledger, or when adding a new task type.","pkirsanov\u002Fsmackerel","pkirsanov","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F138962?v=4","01M6N8NAPD2KXMVC17X6GJ0WZ5","01M6N8NATQ9SAZ00H9D61R0TPV",1,"MIT","https:\u002F\u002Fgithub.com\u002Fpkirsanov\u002Fsmackerel\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fbubbles-upkeep-cadence\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"bubbles upkeep cadence","cadence","cycle","rotation","new task","how to","drill","type","missed","record","tasks","task","restore","patch","use","recurring","schedule","sweep","backup","cleanup","2026-11-10 10:12:30",false,"---\ndescription: How to schedule, dispatch, and record recurring operational upkeep tasks (backup, restore-drill, BCDR-drill, patch-cycle, secret-rotation, flag-cleanup, compliance-sweep). Use when authoring or modifying `config\u002Fupkeep-calendar.yaml`, when investigating a missed task, when reading the upkeep ledger, or when adding a new task type.\n---\n\n# Upkeep Cadence\n\n## Mental Model\n\n**Upkeep = the recurring, scheduled, *preventive* work that keeps a deployed product from rotting.** Distinct from `stabilize` (diagnoses reliability problems after they appear) and `devops` (executes ops mechanics on demand).\n\nOwned by `bubbles.upkeep` (Treena Lahey).\n\n## The Seven Task Types\n\n| Task | Default cadence | Mode | What it does |\n|---|---|---|---|\n| `backup` | daily | `upkeep-backup-verify` | T1 (ZFS snapshot) + T2 (host-local restic). Conditionally T3 (USB) + T4 (cloud) based on `OFFSITE_BACKEND` env. Writes ledger entry. |\n| `restore-test` | weekly | `upkeep-restore-drill` | Restores latest T2 into isolated namespace, runs product smoke, tears down. Failure blocks next promote. |\n| `bcdr-drill` | quarterly | `upkeep-bcdr-drill` | Full DR exercise. Restores entire stack into isolated namespace. Records RTO\u002FRPO actuals. Warns when offsite=local-only. |\n| `patch-cycle` | monthly | `upkeep-patch-cycle` | Base-image refresh + dependency audit. Produces candidate via `release-train-cut`. |\n| `secret-rotation` | quarterly | `upkeep-secret-rotation` | Rotates managed secrets. Records old\u002Fnew key-id HASHES (never values, G119). |\n| `flag-cleanup-audit` | monthly | `upkeep-flag-cleanup` | Lists flags whose train graduated > 1 cycle. Packets cleanup to `bubbles.train`. |\n| `compliance-sweep` | quarterly | `upkeep-compliance-sweep` | Generates `docs\u002FCompliance_Report.md` (G117-G120 evidence). Packets to `bubbles.audit` for cert. |\n\n## `config\u002Fupkeep-calendar.yaml` Schema\n\n```yaml\n# Per-repo upkeep calendar. Owned by bubbles.upkeep.\nversion: 1\ntasks:\n  - id: backup\n    cadence: daily              # daily | weekly | monthly | quarterly\n    at: \"04:30\"                 # optional time-of-day hint for scheduler\n    retention: \"14d\"            # how long to keep ledger entries for this task\n  - id: restore-test\n    cadence: weekly\n    at: \"sun 05:00\"\n    blocks_on_failure: [release-train-promote]   # what this task blocks if it fails\n  - id: bcdr-drill\n    cadence: quarterly\n    requires_offsite_backend: true                # WARN if OFFSITE_BACKEND=local-only\n  - id: patch-cycle\n    cadence: monthly\n    at: \"first-sun 06:00\"\n  - id: secret-rotation\n    cadence: quarterly\n  - id: flag-cleanup-audit\n    cadence: monthly\n  - id: compliance-sweep\n    cadence: quarterly\n```\n\n## Ledger Format\n\n`\u002Fsrv\u002Fbackups\u002Fupkeep-ledger.jsonl` is **append-only** (G117). One JSON object per line:\n\n```json\n{\n  \"task\": \"backup\",\n  \"repo\": \"\u003Cproduct>\",\n  \"train\": \"mvp\",\n  \"sha\": \"abc12345\",\n  \"tier\": \"T2\",\n  \"started_at\": \"2026-06-02T04:30:00Z\",\n  \"finished_at\": \"2026-06-02T04:32:14Z\",\n  \"outcome\": \"success\",\n  \"evidence_path\": \"\u002Fsrv\u002Fbackups\u002Frestic\u002F\u003Cproduct>\u002Fsnapshot-abc12345.json\"\n}\n```\n\n`outcome` ∈ `{success, failure, skipped, warning}`.\n\n## Calendar Dispatch (`upkeep-calendar.sh`)\n\n```bash\nbash .github\u002Fbubbles\u002Fscripts\u002Fupkeep-calendar.sh \u002Fpath\u002Fto\u002Frepo\n```\n\nOutput: table of tasks with last-run, status (`DUE` or `ok`), next-due ISO timestamp.\n\nThe dispatcher reads `upkeep-calendar.yaml` for cadence + `upkeep-ledger.jsonl` for last successful run. Tasks past their cadence window appear as `DUE`. **Run the highest-priority DUE task first**: failure of `backup` blocks `restore-test`; failure of `restore-test` blocks next `release-train-promote`.\n\n## Failure Routing (no in-line fixing)\n\n| Failure type | Packet to | Why |\n|---|---|---|\n| Backup failed (restic check ≠ 0) | `bubbles.devops` | Operational mechanics |\n| Restore-test failed | `bubbles.stabilize` (diagnose) + `bubbles.train` (block promote) | Root cause + safety lock |\n| BCDR-drill failed | `bubbles.stabilize` + `bubbles.train` | Full RCA before next promote |\n| Secret rotation failed | `bubbles.security` | Possible compromise risk |\n| Flag-cleanup overdue | `bubbles.train` | Owner of flag lifecycle |\n| Compliance evidence gap | `bubbles.audit` | Certifier owns sign-off |\n\n## Cross-Domain Cooperative Reads (B2 boundary)\n\n`bubbles.upkeep` **MAY** read `config\u002Frelease-trains.yaml` and knb-side `\u003Cproduct>\u002F\u003Ctarget>\u002Fmanifest.yaml` to scope `restore-test` and `bcdr-drill` correctly — must restore the train+digest actually deployed, not trunk HEAD.\n\n`bubbles.upkeep` **NEVER** writes to train config or manifest. Writes go through packet to `bubbles.train` or `bubbles.devops`.\n\n## Anti-Patterns\n\n| ❌ Wrong | ✅ Right |\n|---|---|\n| Running unscheduled \"safety drills\" | Calendar-driven only; unscheduled runs are ledger noise |\n| Storing secret values in the ledger | Only key-id HASHES (G119) |\n| Backup destination overlapping with test stack write paths | Strict separation (G115) |\n| Restoring into the live prod namespace \"to save time\" | NEVER. Ephemeral `restore-test` namespace, torn down on exit |\n| Treena editing knb manifest directly | Packet to `bubbles.devops` instead |\n\n## See Also\n\n- Skill: `bubbles-backup-bcdr-doctrine` (RTO\u002FRPO, offsite tiers)\n- Skill: `bubbles-env-pollution-isolation` (G115 enforcement)\n- Instructions: `bubbles-upkeep-operations.instructions.md`\n- Agent: `bubbles.upkeep` (Treena Lahey)\n- Gates: G112, G113, G114, G115, G116, G117, G118, G119, G120\n","# Upkeep Cadence\n\n## Mental Model\n\n**Upkeep = the recurring, scheduled, *preventive* work that keeps a deployed product from rotting.** Distinct from `stabilize` (diagnoses reliability problems after they appear) and `devops` (executes ops mechanics on demand).\n\nOwned by `bubbles.upkeep` (Treena Lahey).\n\n## The Seven Task Types\n\n| Task | Default cadence | Mode | What it does |\n|---|---|---|---|\n| `backup` | daily | `upkeep-backup-verify` | T1 (ZFS snapshot) + T2 (host-local restic). Conditionally T3 (USB) + T4 (cloud) based on `OFFSITE_BACKEND` env. Writes ledger entry. |\n| `restore-test` | weekly | `upkeep-restore-drill` | Restores latest T2 into isolated namespace, runs product smoke, tears down. Failure blocks next promote. |\n| `bcdr-drill` | quarterly | `upkeep-bcdr-drill` | Full DR exercise. Restores entire stack into isolated namespace. Records RTO\u002FRPO actuals. Warns when offsite=local-only. |\n| `patch-cycle` | monthly | `upkeep-patch-cycle` | Base-image refresh + dependency audit. Produces candidate via `release-train-cut`. |\n| `secret-rotation` | quarterly | `upkeep-secret-rotation` | Rotates managed secrets. Records old\u002Fnew key-id HASHES (never values, G119). |\n| `flag-cleanup-audit` | monthly | `upkeep-flag-cleanup` | Lists flags whose train graduated > 1 cycle. Packets cleanup to `bubbles.train`. |\n| `compliance-sweep` | quarterly | `upkeep-compliance-sweep` | Generates `docs\u002FCompliance_Report.md` (G117-G120 evidence). Packets to `bubbles.audit` for cert. |\n\n## `config\u002Fupkeep-calendar.yaml` Schema\n\n```yaml\n# Per-repo upkeep calendar. Owned by bubbles.upkeep.\nversion: 1\ntasks:\n  - id: backup\n    cadence: daily              # daily | weekly | monthly | quarterly\n    at: \"04:30\"                 # optional time-of-day hint for scheduler\n    retention: \"14d\"            # how long to keep ledger entries for this task\n  - id: restore-test\n    cadence: weekly\n    at: \"sun 05:00\"\n    blocks_on_failure: [release-train-promote]   # what this task blocks if it fails\n  - id: bcdr-drill\n    cadence: quarterly\n    requires_offsite_backend: true                # WARN if OFFSITE_BACKEND=local-only\n  - id: patch-cycle\n    cadence: monthly\n    at: \"first-sun 06:00\"\n  - id: secret-rotation\n    cadence: quarterly\n  - id: flag-cleanup-audit\n    cadence: monthly\n  - id: compliance-sweep\n    cadence: quarterly\n```\n\n## Ledger Format\n\n`\u002Fsrv\u002Fbackups\u002Fupkeep-ledger.jsonl` is **append-only** (G117). One JSON object per line:\n\n```json\n{\n  \"task\": \"backup\",\n  \"repo\": \"\u003Cproduct>\",\n  \"train\": \"mvp\",\n  \"sha\": \"abc12345\",\n  \"tier\": \"T2\",\n  \"started_at\": \"2026-06-02T04:30:00Z\",\n  \"finished_at\": \"2026-06-02T04:32:14Z\",\n  \"outcome\": \"success\",\n  \"evidence_path\": \"\u002Fsrv\u002Fbackups\u002Frestic\u002F\u003Cproduct>\u002Fsnapshot-abc12345.json\"\n}\n```\n\n`outcome` ∈ `{success, failure, skipped, warning}`.\n\n## Calendar Dispatch (`upkeep-calendar.sh`)\n\n```bash\nbash .github\u002Fbubbles\u002Fscripts\u002Fupkeep-calendar.sh \u002Fpath\u002Fto\u002Frepo\n```\n\nOutput: table of tasks with last-run, status (`DUE` or `ok`), next-due ISO timestamp.\n\nThe dispatcher reads `upkeep-calendar.yaml` for cadence + `upkeep-ledger.jsonl` for last successful run. Tasks past their cadence window appear as `DUE`. **Run the highest-priority DUE task first**: failure of `backup` blocks `restore-test`; failure of `restore-test` blocks next `release-train-promote`.\n\n## Failure Routing (no in-line fixing)\n\n| Failure type | Packet to | Why |\n|---|---|---|\n| Backup failed (restic check ≠ 0) | `bubbles.devops` | Operational mechanics |\n| Restore-test failed | `bubbles.stabilize` (diagnose) + `bubbles.train` (block promote) | Root cause + safety lock |\n| BCDR-drill failed | `bubbles.stabilize` + `bubbles.train` | Full RCA before next promote |\n| Secret rotation failed | `bubbles.security` | Possible compromise risk |\n| Flag-cleanup overdue | `bubbles.train` | Owner of flag lifecycle |\n| Compliance evidence gap | `bubbles.audit` | Certifier owns sign-off |\n\n## Cross-Domain Cooperative Reads (B2 boundary)\n\n`bubbles.upkeep` **MAY** read `config\u002Frelease-trains.yaml` and knb-side `\u003Cproduct>\u002F\u003Ctarget>\u002Fmanifest.yaml` to scope `restore-test` and `bcdr-drill` correctly — must restore the train+digest actually deployed, not trunk HEAD.\n\n`bubbles.upkeep` **NEVER** writes to train config or manifest. Writes go through packet to `bubbles.train` or `bubbles.devops`.\n\n## Anti-Patterns\n\n| ❌ Wrong | ✅ Right |\n|---|---|\n| Running unscheduled \"safety drills\" | Calendar-driven only; unscheduled runs are ledger noise |\n| Storing secret values in the ledger | Only key-id HASHES (G119) |\n| Backup destination overlapping with test stack write paths | Strict separation (G115) |\n| Restoring into the live prod namespace \"to save time\" | NEVER. Ephemeral `restore-test` namespace, torn down on exit |\n| Treena editing knb manifest directly | Packet to `bubbles.devops` instead |\n\n## See Also\n\n- Skill: `bubbles-backup-bcdr-doctrine` (RTO\u002FRPO, offsite tiers)\n- Skill: `bubbles-env-pollution-isolation` (G115 enforcement)\n- Instructions: `bubbles-upkeep-operations.instructions.md`\n- Agent: `bubbles.upkeep` (Treena Lahey)\n- Gates: G112, G113, G114, G115, G116, G117, G118, G119, G120\n",{"description":7},"main","ed893cc338281a0bb9bb9ecf3415716cb242bb3f",".claude\u002Fskills\u002Fbubbles-upkeep-cadence",0,"https:\u002F\u002Fgithub.com\u002Fpkirsanov\u002Fsmackerel","https:\u002F\u002Fgithub.com\u002Fpkirsanov","2026-11-07 02:54:37",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add pkirsanov\u002Fsmackerel --skill bubbles-upkeep-cadence",{"tool":56,"command":57},"bunx","bunx skills add pkirsanov\u002Fsmackerel --skill bubbles-upkeep-cadence",{"tool":59,"command":60},"pnpm","pnpm dlx skills add pkirsanov\u002Fsmackerel --skill bubbles-upkeep-cadence","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpkirsanov\u002Fsmackerel\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fbubbles-upkeep-cadence\u002FSKILL.md",true,[],[65,91,116,141,161,185],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":38},"01M6N9V5TBHQT20V5SCCJ1VRBC","smackerel-trace-capture","Wire Smackerel's concrete validate-plane stack into the framework trace-driven defect-discovery method. Use when running live-category tests (integration\u002Fe2e\u002Fe2e-ui\u002Fstress) against the ephemeral test stack; capturing SLO or trace evidence; hunting latency\u002Ferror\u002Fperf bugs from spans; querying the test-stack Jaeger or Prometheus; or touching `.specify\u002Fruntime\u002Fobservability`. Concrete smackerel endpoints + the exact `capture-slo.sh` command; do NOT duplicate `bubbles-observability-adapter` — this only adds the wiring.","https:\u002F\u002Fgithub.com\u002Fpkirsanov\u002Fsmackerel\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fsmackerel-trace-capture\u002FSKILL.md",[],[72,73,74,75,76,77,78,79,80,32,81,82,83,84,85,86,87,88,89,90],"trace","capture","smackerel trace capture","perf","observability","prometheus","specify","e2e","discovery","slo","only","evidence","do","latency","runtime","tests","adapter","error","bugs",{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":38},"01M6N9TZDEV26RZ7W34HEFPQE9","smackerel-no-defaults","Enforce Smackerel's NO-DEFAULTS \u002F fail-loud SST policy. Use when editing config, Docker Compose, deploy adapters, docs, instructions, skills, env handling, host bind addresses, or any runtime value that could be hidden by fallback syntax.","https:\u002F\u002Fgithub.com\u002Fpkirsanov\u002Fsmackerel\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fsmackerel-no-defaults\u002FSKILL.md",[],[98,99,100,101,102,103,104,105,106,32,107,108,86,109,110,111,112,113,114,115],"smackerel no defaults","docker","policy","config","deploy","docker compose","syntax","editing","instructions","compose","enforce","bind","env","host","Adapters","sst","addresses","value",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":38},"01M6N9TJRS5PF83JH2W4614D4W","bubbles-workflow-mode-resolution","Resolve a Bubbles workflow mode against `bubbles\u002Fworkflows.yaml`, including template inheritance, status ceilings, gate wiring, and decision policy. Use when picking a mode for a request, when a guard reports a mode-related failure, or when extending workflows.yaml with a new mode or template. Covers natural-language intent routing and the workflow registry consistency rules.","https:\u002F\u002Fgithub.com\u002Fpkirsanov\u002Fsmackerel\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fbubbles-workflow-mode-resolution\u002FSKILL.md",[],[123,124,125,126,100,127,128,129,130,131,132,32,133,134,135,136,137,138,139,140],"workflow","resolution","mode","bubbles workflow mode resolution","workflows","routing","guard","template","decision","Rules","reports","intent","inheritance","with","consistency","natural-language","for","wiring",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":38},"01M6N9TC98D6DJR0D64SSN0SN3","bubbles-workflow-execution-loops","Run per-round synchronous workflow execution loops correctly. Use when orchestrating a multi-round workflow, dispatching specialist subagents, handling round-based remediation, or interpreting a workflow mode's execution policy. Covers authorized direct execution, dispatch-and-wait, batch-then-summarize prohibition, and mapped-mode execution.","https:\u002F\u002Fgithub.com\u002Fpkirsanov\u002Fsmackerel\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fbubbles-workflow-execution-loops\u002FSKILL.md",[],[123,148,149,150,151,100,152,153,154,155,156,32,157,158,159,160,125],"execution","loops","bubbles workflow execution loops","summarize","run","batch","remediation","direct","subagents","dispatch","wait","multi","multi-round",{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":167,"publishedAt":38},"01M6N9SYXQNJDQ1T1YT81JH2BG","bubbles-vscode-agent-constraints","Design agents that fit the VS Code Copilot Chat runtime instead of fighting it. Use when authoring or editing any `*.agent.md`; when adding `tools:`, `agents:`, `handoffs:`, `model:`, `user-invocable:`, or `disable-model-invocation:` frontmatter; when designing an orchestrator that dispatches specialists; when a design implies agent-calls-agent-calls-agent chaining; when a subagent dispatch silently no-ops or an agent cannot be selected in the dropdown; or when writing a governance rule about delegation that the runtime cannot actually enforce. Prevents multi-level-subagent designs, prose-only dispatch laws, and frontmatter\u002Fbody contradictions.","https:\u002F\u002Fgithub.com\u002Fpkirsanov\u002Fsmackerel\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fbubbles-vscode-agent-constraints\u002FSKILL.md",[],[168,169,170,171,172,173,174,175,176,177,178,179,105,180,82,86,181,182,183,184],"vscode","constraints","bubbles vscode agent constraints","design","writing","copilot","code","delegation","Tools","subagent","model","chaining","orchestrator","authoring","fit","subagent dispatch","frontmatter",{"skillNo":186,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":187,"categories":188,"keywords":189,"publishedAt":38},"01M6N9SD78SK12PRT9KBRZ6TB3","https:\u002F\u002Fgithub.com\u002Fpkirsanov\u002Fsmackerel\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fbubbles-upkeep-cadence\u002FSKILL.md",[],[19,18,28,37,36,35,34,33,32,31,30,29,20,27,26,25,24,23,22,21]]