[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M722K9G5RK82MPFHHEM1GTX4":3,"skill-same:01M722K9G5RK82MPFHHEM1GTX4":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":28,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M722K9G5RK82MPFHHEM1GTX4","coherence-graduate",null,"HUMBLEF0OL\u002Fcoherence","HUMBLEF0OL","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F69069897?v=4","01M722JFPKDTWN60TH4NDCQQE9","AMIT RANA","01M722JFQ8TYAH6SVW21RTTM1S",1,"MIT","https:\u002F\u002Fgithub.com\u002FHUMBLEF0OL\u002Fcoherence\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fcoherence-graduate\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"# Skill: coherence:graduate\nTrigger: `\u002Fcoherence:graduate`\nBRD: FR-COMMANDS-6 · DD-048\n\n## Purpose\nToggle the operating mode between `observe` (default, read-only — no auto-writes) and `graduated` (additive patches auto-apply at Stop without per-patch prompts). The `--revert` flag switches back to `observe`.\n\n## Flags\n- _(no flags)_ — switch from `observe` → `graduated`\n- `--revert` — switch from `graduated` → `observe`\n\n## Steps\n\n### 1. Read current mode\nLoad `.claude\u002Fcoherence\u002Fconfig.yaml`. Extract `mode`.\n\n### 2. Determine target mode\n| Current mode | Flag     | Target mode  |\n|---|---|---|\n| observe      | (none)   | graduated    |\n| graduated    | (none)   | graduated *(already — print notice and exit)* |\n| graduated    | --revert | observe      |\n| observe      | --revert | observe *(already — print notice and exit)* |\n\nIf already in the target mode, print:\n```\nAlready in \u003Cmode> mode. No change made.\n```\nAnd exit.\n\n### 3. Explain the implications\nBefore applying the change, print the mode description:\n\n**Switching to `graduated`:**\n```\n─── Switching to Graduated mode ─────────────────────────\nIn Graduated mode, Coherence will:\n  ✓ Automatically apply ADDITIVE patches at Stop (no per-patch prompts)\n  ✓ Still surface UPDATE and DELETION patches for your review\n  ✓ Log all auto-applied patches to metrics.jsonl\n  ✓ Git-commit each auto-applied patch with [coherence] prefix\n\nAdditive = new content only (lines_removed == 0).\nPatches that remove or change existing lines always require approval.\n\nConfirm switch to Graduated mode? [y\u002Fn]\n```\n\n**Switching to `observe` (--revert):**\n```\n─── Reverting to Observe mode ───────────────────────────\nIn Observe mode, Coherence will:\n  ✓ Continue passive drift detection during sessions\n  ✓ Accumulate signals in the drift buffer\n  ✗ NOT auto-apply any patches at Stop — all patches require explicit approval\n\nConfirm revert to Observe mode? [y\u002Fn]\n```\n\nAbort if user answers `n`.\n\n### 4. Apply mode change\n- Read config, update `mode` field, write back atomically (temp + rename). (NFR-RELIABILITY-1)\n- Update `state.json`: set `mode_changed_at: \u003CISO-8601 UTC>`, `previous_mode: \u003Cold mode>`.\n\n### 5. Confirm\n```\n─── Mode changed ─────────────────────────────────────────\nPrevious mode:  \u003Cold>\nCurrent mode:   \u003Cnew>\nConfig saved:   .claude\u002Fcoherence\u002Fconfig.yaml\n─────────────────────────────────────────────────────────\n```\n\nIf switching to `graduated` and `frontmatter_preserves_unknown_keys: false` in host-caps, append:\n```\nℹ  Note: frontmatter key preservation is unavailable. Auto-apply will use\n   sidecar files. Run \u002Fcoherence:enable-sidecars if not already done.\n```\n\n## Constraints\n- Config write must be atomic (temp + rename). (NFR-RELIABILITY-1)\n- Do not invoke LLM subagents. (DD-008)\n- Annotate\u002FAuthor mode transitions (v0.2 features) are NOT implemented here — only observe ↔ graduated. (FR-COMMANDS-6, BRD note)\n- Mode change persists across sessions (stored in config.yaml, not session state).\n",{},"master","b84555715a3ada8f330fce8f140d9a6152553120",".claude\u002Fskills\u002Fcoherence-graduate",0,"https:\u002F\u002Fgithub.com\u002FHUMBLEF0OL\u002Fcoherence","https:\u002F\u002Fgithub.com\u002FHUMBLEF0OL","https:\u002F\u002Fhumblefool.vercel.app","Full-stack developer & problem solver. React\u002FNext + Node, plus developer tooling and AI-assisted workflows. Maintainer of Hookpilot.","2026-07-20 11:58:26",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add HUMBLEF0OL\u002Fcoherence --skill coherence-graduate",{"tool":37,"command":38},"bunx","bunx skills add HUMBLEF0OL\u002Fcoherence --skill coherence-graduate",{"tool":40,"command":41},"pnpm","pnpm dlx skills add HUMBLEF0OL\u002Fcoherence --skill coherence-graduate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHUMBLEF0OL\u002Fcoherence\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fcoherence-graduate\u002FSKILL.md",true,[],[46,53,60,66,72,78],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M722M3P5V2VG6598NW55B8CX","mcp-sentry-grader","Helper for invoking the mcp-sentry CLI and interpreting its A–F grade output. Use when the user asks about MCP security posture, OWASP MCP Top 10 scan results, or wants to fail a CI gate on a minimum grade threshold.","https:\u002F\u002Fgithub.com\u002FHUMBLEF0OL\u002Fcoherence\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fmcp-sentry\u002F.claude\u002Fskills\u002Fmcp-sentry-grader\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"01M722M2VHBCPWTG1FYKTY577X","foo-skill","A test skill","https:\u002F\u002Fgithub.com\u002FHUMBLEF0OL\u002Fcoherence\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fcodebases\u002Fsmall\u002F.claude\u002Fskills\u002Ffoo\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M722M1NJJZA0YN23MEHT768M","author","https:\u002F\u002Fgithub.com\u002FHUMBLEF0OL\u002Fcoherence\u002Fblob\u002Fmaster\u002Fprompts\u002Fv2\u002Fauthor\u002Fskill.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M722KZFTXFT1EC89XP89SCC1","coherence-status","https:\u002F\u002Fgithub.com\u002FHUMBLEF0OL\u002Fcoherence\u002Fblob\u002Fmaster\u002F.skill-workspace\u002Fiteration-0-snapshot\u002Fskills\u002Fcoherence-status\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M722KXYH6XCN7W8FHEVJSK1A","coherence-review","https:\u002F\u002Fgithub.com\u002FHUMBLEF0OL\u002Fcoherence\u002Fblob\u002Fmaster\u002F.skill-workspace\u002Fiteration-0-snapshot\u002Fskills\u002Fcoherence-review\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M722KW1628Z2S53SAJ32DJP6","coherence-repair","https:\u002F\u002Fgithub.com\u002FHUMBLEF0OL\u002Fcoherence\u002Fblob\u002Fmaster\u002F.skill-workspace\u002Fiteration-0-snapshot\u002Fskills\u002Fcoherence-repair\u002FSKILL.md",[],[]]