oh-my-codex-cli 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/.agent/skills/agent-kb/HOW_TO_USE.md +428 -0
  2. package/.agent/skills/agent-kb/README.md +46 -0
  3. package/.agent/skills/agent-kb/SKILL.md +128 -0
  4. package/.agent/skills/agent-kb/references/intelligent-analysis-explained.md +333 -0
  5. package/.agent/skills/agent-kb/references/query-optimization.md +225 -0
  6. package/.agent/skills/aireview/SKILL.md +704 -0
  7. package/.agent/skills/analyze/SKILL.md +81 -0
  8. package/.agent/skills/architect-planner/HOW_TO_USE.md +238 -0
  9. package/.agent/skills/architect-planner/README.md +41 -0
  10. package/.agent/skills/architect-planner/SKILL.md +539 -0
  11. package/.agent/skills/auto-mbti/SKILL.md +291 -0
  12. package/.agent/skills/autopilot/SKILL.md +222 -0
  13. package/.agent/skills/backend-patterns/SKILL.md +602 -0
  14. package/.agent/skills/bdd-generator/README.md +78 -0
  15. package/.agent/skills/bdd-generator/SKILL.md +436 -0
  16. package/.agent/skills/brainstorming/HOW_TO_USE.md +289 -0
  17. package/.agent/skills/brainstorming/README.md +41 -0
  18. package/.agent/skills/brainstorming/SKILL.md +165 -0
  19. package/.agent/skills/build-fix/SKILL.md +190 -0
  20. package/.agent/skills/cancel/SKILL.md +658 -0
  21. package/.agent/skills/checkpoint/SKILL.md +94 -0
  22. package/.agent/skills/code-review/SKILL.md +273 -0
  23. package/.agent/skills/coding-standards/SKILL.md +535 -0
  24. package/.agent/skills/conductor/SKILL.md +128 -0
  25. package/.agent/skills/conductor/commands/conductor/implement.toml +358 -0
  26. package/.agent/skills/conductor/commands/conductor/newTrack.toml +142 -0
  27. package/.agent/skills/conductor/commands/conductor/revert.toml +123 -0
  28. package/.agent/skills/conductor/commands/conductor/setup.toml +429 -0
  29. package/.agent/skills/conductor/commands/conductor/status.toml +57 -0
  30. package/.agent/skills/conductor/scripts/install.sh +89 -0
  31. package/.agent/skills/conductor/templates/code_styleguides/csharp.md +115 -0
  32. package/.agent/skills/conductor/templates/code_styleguides/dart.md +238 -0
  33. package/.agent/skills/conductor/templates/code_styleguides/general.md +23 -0
  34. package/.agent/skills/conductor/templates/code_styleguides/go.md +48 -0
  35. package/.agent/skills/conductor/templates/code_styleguides/html-css.md +49 -0
  36. package/.agent/skills/conductor/templates/code_styleguides/javascript.md +51 -0
  37. package/.agent/skills/conductor/templates/code_styleguides/python.md +37 -0
  38. package/.agent/skills/conductor/templates/code_styleguides/typescript.md +43 -0
  39. package/.agent/skills/conductor/templates/rules/README.md +23 -0
  40. package/.agent/skills/conductor/templates/rules/agents.md +49 -0
  41. package/.agent/skills/conductor/templates/rules/coding-style.md +70 -0
  42. package/.agent/skills/conductor/templates/rules/dev.md +20 -0
  43. package/.agent/skills/conductor/templates/rules/git-workflow.md +45 -0
  44. package/.agent/skills/conductor/templates/rules/hooks.md +6 -0
  45. package/.agent/skills/conductor/templates/rules/patterns.md +55 -0
  46. package/.agent/skills/conductor/templates/rules/performance.md +47 -0
  47. package/.agent/skills/conductor/templates/rules/research.md +26 -0
  48. package/.agent/skills/conductor/templates/rules/review.md +22 -0
  49. package/.agent/skills/conductor/templates/rules/security.md +36 -0
  50. package/.agent/skills/conductor/templates/rules/testing.md +30 -0
  51. package/.agent/skills/conductor/templates/workflow.md +333 -0
  52. package/.agent/skills/consensus/HOW_TO_USE.md +191 -0
  53. package/.agent/skills/consensus/README.md +41 -0
  54. package/.agent/skills/consensus/SKILL.md +317 -0
  55. package/.agent/skills/content-research-writer/SKILL.md +537 -0
  56. package/.agent/skills/debug-analysis/SKILL.md +331 -0
  57. package/.agent/skills/deepinit/SKILL.md +347 -0
  58. package/.agent/skills/deepsearch/SKILL.md +56 -0
  59. package/.agent/skills/doctor/SKILL.md +158 -0
  60. package/.agent/skills/drawio/EXAMPLES.md +382 -0
  61. package/.agent/skills/drawio/QUICK_START.md +237 -0
  62. package/.agent/skills/drawio/README.md +315 -0
  63. package/.agent/skills/drawio/SETUP_GUIDE.md +254 -0
  64. package/.agent/skills/drawio/SKILL.md +1176 -0
  65. package/.agent/skills/e2e/SKILL.md +396 -0
  66. package/.agent/skills/ecomode/SKILL.md +160 -0
  67. package/.agent/skills/electron-driver/SKILL.md +144 -0
  68. package/.agent/skills/electron-driver/scripts/driver-template.js +71 -0
  69. package/.agent/skills/eval/SKILL.md +140 -0
  70. package/.agent/skills/eval-harness/SKILL.md +242 -0
  71. package/.agent/skills/evolve/SKILL.md +213 -0
  72. package/.agent/skills/frontend-design/SKILL.md +42 -0
  73. package/.agent/skills/frontend-patterns/SKILL.md +646 -0
  74. package/.agent/skills/frontend-ui-ux/SKILL.md +70 -0
  75. package/.agent/skills/git-master/SKILL.md +75 -0
  76. package/.agent/skills/help/SKILL.md +89 -0
  77. package/.agent/skills/iterative-retrieval/SKILL.md +217 -0
  78. package/.agent/skills/local-skills-setup/SKILL.md +483 -0
  79. package/.agent/skills/log-analyzer/SKILL.md +187 -0
  80. package/.agent/skills/mcp-setup/SKILL.md +226 -0
  81. package/.agent/skills/multi-model-research/HOW_TO_USE.md +614 -0
  82. package/.agent/skills/multi-model-research/README.md +233 -0
  83. package/.agent/skills/multi-model-research/SKILL.md +541 -0
  84. package/.agent/skills/multi-model-research/references/troubleshooting.md +415 -0
  85. package/.agent/skills/note/SKILL.md +80 -0
  86. package/.agent/skills/omc-setup/SKILL.md +219 -0
  87. package/.agent/skills/orchestrate/SKILL.md +620 -0
  88. package/.agent/skills/patent-workflow/IMPLEMENTATION_SUMMARY.md +500 -0
  89. package/.agent/skills/patent-workflow/README.md +455 -0
  90. package/.agent/skills/patent-workflow/SKILL.md +1036 -0
  91. package/.agent/skills/patent-workflow/tools/irr_checker.py +260 -0
  92. package/.agent/skills/patent-workflow/tools/sample_terminology.json +49 -0
  93. package/.agent/skills/patent-workflow/tools/term_checker.py +355 -0
  94. package/.agent/skills/pattern-recognition/SKILL.md +792 -0
  95. package/.agent/skills/pipeline/SKILL.md +448 -0
  96. package/.agent/skills/plan/SKILL.md +309 -0
  97. package/.agent/skills/planning-methodology/SKILL.md +370 -0
  98. package/.agent/skills/planning-with-files/SKILL.md +210 -0
  99. package/.agent/skills/planning-with-files/examples.md +202 -0
  100. package/.agent/skills/planning-with-files/reference.md +218 -0
  101. package/.agent/skills/planning-with-files/scripts/check-complete.ps1 +42 -0
  102. package/.agent/skills/planning-with-files/scripts/check-complete.sh +44 -0
  103. package/.agent/skills/planning-with-files/scripts/init-session.ps1 +120 -0
  104. package/.agent/skills/planning-with-files/scripts/init-session.sh +120 -0
  105. package/.agent/skills/planning-with-files/scripts/session-catchup.py +208 -0
  106. package/.agent/skills/planning-with-files/templates/findings.md +95 -0
  107. package/.agent/skills/planning-with-files/templates/progress.md +114 -0
  108. package/.agent/skills/planning-with-files/templates/task_plan.md +132 -0
  109. package/.agent/skills/project-analyze/CLAUDE.md +18 -0
  110. package/.agent/skills/project-analyze/HOW_TO_USE.md +145 -0
  111. package/.agent/skills/project-analyze/README.md +42 -0
  112. package/.agent/skills/project-analyze/SKILL.md +289 -0
  113. package/.agent/skills/project-analyze/SKILL.md.backup +287 -0
  114. package/.agent/skills/project-analyze/SKILL.md.backup_20260105_093646 +287 -0
  115. package/.agent/skills/project-analyze/assets/analysis-report-template.md +433 -0
  116. package/.agent/skills/project-analyze/references/analysis-patterns.md +422 -0
  117. package/.agent/skills/project-analyze/references/projectmind-explained.md +535 -0
  118. package/.agent/skills/project-session-manager/SKILL.md +428 -0
  119. package/.agent/skills/project-session-manager/lib/config.sh +86 -0
  120. package/.agent/skills/project-session-manager/lib/parse.sh +121 -0
  121. package/.agent/skills/project-session-manager/lib/session.sh +132 -0
  122. package/.agent/skills/project-session-manager/lib/tmux.sh +103 -0
  123. package/.agent/skills/project-session-manager/lib/worktree.sh +171 -0
  124. package/.agent/skills/project-session-manager/psm.sh +629 -0
  125. package/.agent/skills/project-session-manager/templates/feature.md +56 -0
  126. package/.agent/skills/project-session-manager/templates/issue-fix.md +57 -0
  127. package/.agent/skills/project-session-manager/templates/pr-review.md +65 -0
  128. package/.agent/skills/project-session-manager/templates/projects.json +19 -0
  129. package/.agent/skills/quality-check/HOW_TO_USE.md +171 -0
  130. package/.agent/skills/quality-check/README.md +50 -0
  131. package/.agent/skills/quality-check/SKILL.md +240 -0
  132. package/.agent/skills/quality-check/SKILL.md.backup +238 -0
  133. package/.agent/skills/quality-check/SKILL.md.backup_20260105_093646 +238 -0
  134. package/.agent/skills/quality-check/assets/quality-report-template.md +437 -0
  135. package/.agent/skills/quality-check/references/refactoring-patterns.md +550 -0
  136. package/.agent/skills/quality-check/references/scoring-criteria.md +454 -0
  137. package/.agent/skills/quality-validation/SKILL.md +519 -0
  138. package/.agent/skills/quality-validation/SKILL.md.backup +573 -0
  139. package/.agent/skills/quality-validation/SKILL.md.backup_20260105_093646 +573 -0
  140. package/.agent/skills/ralph/SKILL.md +236 -0
  141. package/.agent/skills/ralph-init/SKILL.md +78 -0
  142. package/.agent/skills/ralplan/SKILL.md +58 -0
  143. package/.agent/skills/refactor-clean/SKILL.md +49 -0
  144. package/.agent/skills/release/SKILL.md +84 -0
  145. package/.agent/skills/research/SKILL.md +526 -0
  146. package/.agent/skills/research-methodology/SKILL.md +268 -0
  147. package/.agent/skills/review/SKILL.md +53 -0
  148. package/.agent/skills/security-review/SKILL.md +509 -0
  149. package/.agent/skills/security-review/cloud-infrastructure-security.md +361 -0
  150. package/.agent/skills/setup-pm/SKILL.md +102 -0
  151. package/.agent/skills/skill/SKILL.md +424 -0
  152. package/.agent/skills/skill-create/SKILL.md +209 -0
  153. package/.agent/skills/skill-debugger/HOW_TO_USE.md +244 -0
  154. package/.agent/skills/skill-debugger/README.md +44 -0
  155. package/.agent/skills/skill-debugger/SKILL.md +326 -0
  156. package/.agent/skills/skill-debugger/diagnostic_checklist.md +115 -0
  157. package/.agent/skills/skill-development/SKILL.md +661 -0
  158. package/.agent/skills/skill-development/references/skill-creator-original.md +209 -0
  159. package/.agent/skills/skill-doc-generator/README.md +37 -0
  160. package/.agent/skills/skill-doc-generator/SKILL.md +331 -0
  161. package/.agent/skills/skill-quality-analyzer/HOW_TO_USE.md +243 -0
  162. package/.agent/skills/skill-quality-analyzer/README.md +61 -0
  163. package/.agent/skills/skill-quality-analyzer/SKILL.md +247 -0
  164. package/.agent/skills/skill-quality-analyzer/analyzer.py +209 -0
  165. package/.agent/skills/skill-quality-analyzer/expected_output.json +81 -0
  166. package/.agent/skills/skill-quality-analyzer/sample_input.json +9 -0
  167. package/.agent/skills/skill-tester/README.md +46 -0
  168. package/.agent/skills/skill-tester/SKILL.md +345 -0
  169. package/.agent/skills/start-dev/SKILL.md +701 -0
  170. package/.agent/skills/swarm/SKILL.md +691 -0
  171. package/.agent/skills/task-kb-lookup/SKILL.md +211 -0
  172. package/.agent/skills/task-kb-record/SKILL.md +417 -0
  173. package/.agent/skills/tdd/SKILL.md +446 -0
  174. package/.agent/skills/tdd-generator/DEMO.md +516 -0
  175. package/.agent/skills/tdd-generator/README.md +89 -0
  176. package/.agent/skills/tdd-generator/SKILL.md +278 -0
  177. package/.agent/skills/tdd-workflow/SKILL.md +424 -0
  178. package/.agent/skills/test-coverage/SKILL.md +48 -0
  179. package/.agent/skills/thinkdeep/HOW_TO_USE.md +183 -0
  180. package/.agent/skills/thinkdeep/README.md +41 -0
  181. package/.agent/skills/thinkdeep/SKILL.md +343 -0
  182. package/.agent/skills/ui-ux-pro-max/SKILL.md +228 -0
  183. package/.agent/skills/ui-ux-pro-max/data/charts.csv +26 -0
  184. package/.agent/skills/ui-ux-pro-max/data/colors.csv +97 -0
  185. package/.agent/skills/ui-ux-pro-max/data/landing.csv +31 -0
  186. package/.agent/skills/ui-ux-pro-max/data/products.csv +97 -0
  187. package/.agent/skills/ui-ux-pro-max/data/prompts.csv +24 -0
  188. package/.agent/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
  189. package/.agent/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
  190. package/.agent/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
  191. package/.agent/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
  192. package/.agent/skills/ui-ux-pro-max/data/stacks/react.csv +54 -0
  193. package/.agent/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
  194. package/.agent/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
  195. package/.agent/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -0
  196. package/.agent/skills/ui-ux-pro-max/data/styles.csv +59 -0
  197. package/.agent/skills/ui-ux-pro-max/data/typography.csv +58 -0
  198. package/.agent/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
  199. package/.agent/skills/ui-ux-pro-max/scripts/core.py +236 -0
  200. package/.agent/skills/ui-ux-pro-max/scripts/search.py +61 -0
  201. package/.agent/skills/ultrapilot/SKILL.md +647 -0
  202. package/.agent/skills/ultraqa/SKILL.md +152 -0
  203. package/.agent/skills/ultrawork/SKILL.md +123 -0
  204. package/.agent/skills/update-codemaps/SKILL.md +38 -0
  205. package/.agent/skills/update-docs/SKILL.md +52 -0
  206. package/.agent/skills/verification-loop/SKILL.md +140 -0
  207. package/.agent/skills/verify/SKILL.md +80 -0
  208. package/.agent/skills/writer-memory/SKILL.md +459 -0
  209. package/.agent/skills/writer-memory/lib/character-tracker.ts +338 -0
  210. package/.agent/skills/writer-memory/lib/memory-manager.ts +804 -0
  211. package/.agent/skills/writer-memory/lib/relationship-graph.ts +400 -0
  212. package/.agent/skills/writer-memory/lib/scene-organizer.ts +544 -0
  213. package/.agent/skills/writer-memory/lib/synopsis-builder.ts +339 -0
  214. package/.agent/skills/writer-memory/templates/synopsis-template.md +46 -0
  215. package/.governance/skill-lint.allowlist +4 -0
  216. package/.governance/skill-llm.allowlist +4 -0
  217. package/AGENTS.md +59 -0
  218. package/LICENSE +21 -0
  219. package/README.md +169 -0
  220. package/README.zh.md +145 -0
  221. package/bin/omcodex.js +8 -0
  222. package/commands/conductor/implement.toml +358 -0
  223. package/commands/conductor/newTrack.toml +142 -0
  224. package/commands/conductor/revert.toml +123 -0
  225. package/commands/conductor/setup.toml +429 -0
  226. package/commands/conductor/status.toml +57 -0
  227. package/docs/ALIGNMENT.md +40 -0
  228. package/docs/CODEX.md +133 -0
  229. package/docs/NOTIFY.md +81 -0
  230. package/docs/SKILL_GOVERNANCE.md +72 -0
  231. package/docs/SKILL_GOVERNANCE_FRAMEWORK.md +182 -0
  232. package/docs/SKILL_GOVERNANCE_FRAMEWORK.zh.md +170 -0
  233. package/package.json +50 -0
  234. package/prompts/architect.md +105 -0
  235. package/prompts/executor.md +134 -0
  236. package/prompts/planner.md +113 -0
  237. package/scripts/check-skill-governance.sh +84 -0
  238. package/scripts/check-skill-llm-governance.js +302 -0
  239. package/scripts/eval-skills.js +217 -0
  240. package/scripts/generate-catalog-docs.js +95 -0
  241. package/scripts/generate-codex-mcp-config.sh +22 -0
  242. package/scripts/install-codex-force.sh +5 -0
  243. package/scripts/install-codex-incremental.sh +5 -0
  244. package/scripts/install-codex.sh +79 -0
  245. package/scripts/notify-dispatch.js +15 -0
  246. package/scripts/setup-package-manager.js +137 -0
  247. package/src/catalog/generated/public-catalog.json +547 -0
  248. package/src/catalog/manifest.json +542 -0
  249. package/src/catalog/reader.js +43 -0
  250. package/src/catalog/schema.js +79 -0
  251. package/src/cli/doctor.js +62 -0
  252. package/src/cli/index.js +85 -0
  253. package/src/cli/notify.js +127 -0
  254. package/src/cli/route.js +43 -0
  255. package/src/cli/setup.js +155 -0
  256. package/src/cli/team.js +125 -0
  257. package/src/config/generator.js +119 -0
  258. package/src/mcp/memory-server.js +241 -0
  259. package/src/mcp/state-server.js +112 -0
  260. package/src/mcp/trace-server.js +168 -0
  261. package/src/notify/dispatch.js +74 -0
  262. package/src/notify/extensibility/dispatcher.js +113 -0
  263. package/src/notify/extensibility/events.js +15 -0
  264. package/src/notify/extensibility/loader.js +54 -0
  265. package/src/router/skill-router.js +90 -0
  266. package/src/team/auto-advance.js +72 -0
  267. package/src/team/orchestrator.js +82 -0
  268. package/src/team/state-store.js +33 -0
  269. package/src/utils/paths.js +33 -0
  270. package/templates/AGENTS.md +15 -0
  271. package/templates/catalog-manifest.json +542 -0
  272. package/templates/code_styleguides/csharp.md +115 -0
  273. package/templates/code_styleguides/dart.md +238 -0
  274. package/templates/code_styleguides/general.md +23 -0
  275. package/templates/code_styleguides/go.md +48 -0
  276. package/templates/code_styleguides/html-css.md +49 -0
  277. package/templates/code_styleguides/javascript.md +51 -0
  278. package/templates/code_styleguides/python.md +37 -0
  279. package/templates/code_styleguides/typescript.md +43 -0
  280. package/templates/rules/README.md +23 -0
  281. package/templates/rules/agents.md +49 -0
  282. package/templates/rules/coding-style.md +70 -0
  283. package/templates/rules/dev.md +20 -0
  284. package/templates/rules/git-workflow.md +45 -0
  285. package/templates/rules/notify.md +6 -0
  286. package/templates/rules/patterns.md +55 -0
  287. package/templates/rules/performance.md +47 -0
  288. package/templates/rules/research.md +26 -0
  289. package/templates/rules/review.md +22 -0
  290. package/templates/rules/security.md +36 -0
  291. package/templates/rules/testing.md +30 -0
  292. package/templates/workflow.md +333 -0
@@ -0,0 +1,40 @@
1
+ # Alignment Status: oh-my-codex vs oh-my-claudecode
2
+
3
+ This document tracks what is aligned, what is partially aligned, and what cannot be aligned due to Codex architecture limits.
4
+
5
+ ## ✅ Aligned (Implemented)
6
+
7
+ - **Skills system**: All workflows are in `.codex/skills/` and ready for Codex.
8
+ - **Native multi-agent orchestration**: Core skills use `spawn_agent`/`send_input`/`wait` patterns.
9
+ - **MCP configuration**: `omcodex setup` writes Codex MCP config blocks (`omcodex_state`, `omcodex_memory`, `omcodex_trace`).
10
+ - **Docs & entrypoints**: `README.md`, `docs/CODEX.md`, `AGENTS.md` are Codex-first.
11
+ - **Event-driven notify extension**: `omcodex notify` provides additive plugin-style extensions.
12
+ - **Role prompt install path**: `omcodex setup` installs prompt catalog into `.codex/prompts`.
13
+
14
+ ## ⚠️ Partially Aligned (Codex-Compatible Workarounds)
15
+
16
+ - **Slash command UX**: Replaced by `$skill` or `skill:` invocation.
17
+ - **MCP management UX**: Scripted config generation + Codex CLI MCP commands.
18
+
19
+ ## ❌ Not Alignable (Codex Architectural Limits)
20
+
21
+ - **Claude Code plugin system** (`/plugin`, plugin cache, plugin lifecycle)
22
+ - **Execution interception lifecycle** (PreToolUse/PostToolUse style interception)
23
+ - **HUD statusline** (Claude Code-specific terminal integration)
24
+ - **Native subagent spawning** (`Task(subagent_type=...)`)
25
+
26
+ ## ✅ Clarification
27
+
28
+ - Codex supports event notifications via `notify`.
29
+ - This can be extended with notify plugins, but it remains event-driven and cannot intercept tool execution.
30
+
31
+ ## Legacy/Claude-Only Areas
32
+
33
+ These remain in the repo for reference but are not used by Codex:
34
+ - `commands/` (Claude slash commands)
35
+ - `docs/CLAUDE.md` and other Claude-oriented docs
36
+
37
+ ## Recommended Usage (Codex)
38
+
39
+ - Use **skills**: `$autopilot`, `$ralph`, `$ultraqa`, or `autopilot:`
40
+ - Enable MCP with `scripts/generate-codex-mcp-config.sh`
package/docs/CODEX.md ADDED
@@ -0,0 +1,133 @@
1
+ # oh-my-codex for Codex CLI
2
+
3
+ This repo adapts the oh-my-claudecode workflows to **OpenAI Codex CLI** by packaging them as **Codex skills**.
4
+
5
+ ## Install
6
+
7
+ ### Option A: Global (recommended)
8
+ ```bash
9
+ ./scripts/install-codex.sh
10
+ ```
11
+
12
+ Force overwrite:
13
+ ```bash
14
+ ./scripts/install-codex-force.sh
15
+ ```
16
+
17
+ Incremental (skip existing files):
18
+ ```bash
19
+ ./scripts/install-codex-incremental.sh
20
+ ```
21
+
22
+ ### Option B: Repo-local
23
+ ```bash
24
+ cp -R .agent/skills /path/to/your/repo/.codex/
25
+ ```
26
+
27
+ Codex will automatically load skills from both locations.
28
+
29
+ Note: The installer prefers `.agent/skills` when present, and falls back to `.codex/skills`.
30
+
31
+ ## Enable Codex Plan Mode (0.9+)
32
+
33
+ Codex supports native plan mode when you enable collaboration modes in `config.toml`:
34
+ ```
35
+ [features]
36
+ collaboration_modes = true
37
+ ```
38
+
39
+ Use our script to set it automatically:
40
+ ```bash
41
+ ./scripts/generate-codex-mcp-config.sh --enable-collab
42
+ ```
43
+
44
+ ## MCP Setup (Codex)
45
+
46
+ Codex loads MCP servers from `~/.codex/config.toml` or a repo-local config.
47
+
48
+ Generate a starter config with common servers:
49
+ ```bash
50
+ ./scripts/generate-codex-mcp-config.sh
51
+ ```
52
+
53
+ To write a repo-local config:
54
+ ```bash
55
+ ./scripts/generate-codex-mcp-config.sh --project
56
+ ```
57
+
58
+ You can also manage MCP servers via the Codex CLI (recommended):
59
+ ```bash
60
+ codex mcp add
61
+ codex mcp list
62
+ ```
63
+
64
+ ## Supported vs Unsupported Features
65
+
66
+ ### Supported
67
+ - Execution modes: autopilot, ultrawork, ralph, ultrapilot, swarm, pipeline, ecomode
68
+ - Planning, review, QA, research, and code-quality workflows
69
+ - Skill learning and local skill management
70
+
71
+ ### Not Supported (Codex limitations)
72
+ - Claude Code marketplace plugin install
73
+ - Claude Code-style execution interception lifecycle (pre/post tool interception)
74
+ - Claude Code-specific CLI commands
75
+ - Claude Code plugin cache locations
76
+
77
+ Codex does support event notifications via `notify`. In this project, all extensibility is event-driven notify dispatch, not execution interception.
78
+
79
+ ## Notify Extension Workflow
80
+
81
+ ```bash
82
+ omcodex notify init
83
+ omcodex notify status
84
+ omcodex notify validate
85
+ OMX_NOTIFY_PLUGINS=1 omcodex notify test
86
+ ```
87
+
88
+ Plugins are discovered from:
89
+
90
+ - `.omcodex/notify/*.mjs` (primary)
91
+ - `.omcodex/notify-plugins/*.mjs` (legacy compatibility)
92
+
93
+ ## Skills Directory
94
+
95
+ Global:
96
+ ```
97
+ ~/.codex/skills/<skill-name>/SKILL.md
98
+ ```
99
+
100
+ Repo:
101
+ ```
102
+ <repo>/.agent/skills/<skill-name>/SKILL.md
103
+ ```
104
+
105
+ ## Prompts Directory
106
+
107
+ Global:
108
+ ```
109
+ ~/.codex/prompts/<prompt-name>.md
110
+ ```
111
+
112
+ Repo:
113
+ ```
114
+ <repo>/.codex/prompts/<prompt-name>.md
115
+ ```
116
+
117
+ ## Alignment Status
118
+
119
+ See `docs/ALIGNMENT.md` for a full checklist of what matches oh-my-claudecode and what cannot be aligned in Codex.
120
+
121
+ ## Troubleshooting
122
+
123
+ If a skill doesn’t seem to activate:
124
+ 1. Confirm `~/.codex/skills/<skill>/SKILL.md` exists.
125
+ 2. Try explicit invocation: `$skill-name ...`
126
+ 3. Make sure your Codex session is running in a repo with `.codex/skills` (if using repo-local install).
127
+
128
+ ## New Productivity Commands
129
+
130
+ - Route task to best-fit skills:
131
+ - `omcodex route "fix auth lint + tests"`
132
+ - Start team state with auto phase advancement:
133
+ - `omcodex team start "ship oauth login" --auto`
package/docs/NOTIFY.md ADDED
@@ -0,0 +1,81 @@
1
+ # Notify Extension (Custom Plugins)
2
+
3
+ `oh-my-codex` supports additive notify plugins under `.omcodex/notify/*.mjs`.
4
+
5
+ ## Quick Start
6
+
7
+ ```bash
8
+ omcodex notify init
9
+ omcodex notify status
10
+ omcodex notify validate
11
+ OMX_NOTIFY_PLUGINS=1 omcodex notify test
12
+ ```
13
+
14
+ Primary plugin directory:
15
+
16
+ - `.omcodex/notify/`
17
+
18
+ Legacy compatibility directory:
19
+
20
+ - `.omcodex/notify-plugins/`
21
+
22
+ ## Enablement Model
23
+
24
+ Plugins are disabled by default.
25
+
26
+ Enable dispatch explicitly:
27
+
28
+ ```bash
29
+ export OMX_NOTIFY_PLUGINS=1
30
+ ```
31
+
32
+ Optional timeout tuning (default `1500ms`):
33
+
34
+ ```bash
35
+ export OMX_NOTIFY_PLUGIN_TIMEOUT_MS=1500
36
+ ```
37
+
38
+ ## Supported Events
39
+
40
+ - `turn-complete`
41
+ - `session-start`
42
+ - `session-end`
43
+ - `session-idle`
44
+ - `needs-input`
45
+ - `pre-tool-use`
46
+ - `post-tool-use`
47
+
48
+ ## Team Auto-Advance Integration
49
+
50
+ When team state is started with auto mode:
51
+
52
+ ```bash
53
+ omcodex team start "your task" --auto
54
+ ```
55
+
56
+ notify events can advance team phases automatically:
57
+
58
+ - `turn-complete`: `team-plan -> team-prd -> team-exec`, and can complete `team-verify`
59
+ - `post-tool-use`: can move `team-exec -> team-verify`
60
+ - failure-like messages in notify context can trigger `team-fix`
61
+
62
+ ## Plugin Contract
63
+
64
+ Each plugin must export:
65
+
66
+ ```js
67
+ export async function onNotifyEvent(event, sdk) {
68
+ // handle event
69
+ }
70
+ ```
71
+
72
+ SDK surface includes:
73
+
74
+ - `sdk.log.info|warn|error(...)`
75
+ - `sdk.state.read|write|delete(...)`
76
+
77
+ ## Logs
78
+
79
+ Dispatch and plugin logs are written to:
80
+
81
+ - `.omcodex/logs/notify-YYYY-MM-DD.jsonl`
@@ -0,0 +1,72 @@
1
+ # Skill Governance
2
+
3
+ This document defines the governance baseline for skills in this repository.
4
+
5
+ ## Objectives
6
+
7
+ 1. Keep skill instructions executable in current Codex CLI behavior.
8
+ 2. Prevent legacy command drift from Claude-era syntax.
9
+ 3. Track technical debt explicitly when migration cannot be completed in one pass.
10
+
11
+ ## Governance Layers
12
+
13
+ 1. Admission: Require valid `SKILL.md` frontmatter (`name`, `description`) and clear trigger semantics.
14
+ 2. Execution safety: Block instructions that imply unavailable runtime features.
15
+ 3. Quality gates: Enforce pre-merge checks through repository scripts.
16
+ 4. Change control: Track exceptions in a reviewed allowlist.
17
+ 5. Continuous cleanup: Burn down allowlisted debt skill-by-skill.
18
+
19
+ ## Automated Checks
20
+
21
+ Run:
22
+
23
+ ```bash
24
+ npm run governance:skills
25
+ npm run governance:skills:llm
26
+ npm run eval:skills
27
+ ```
28
+
29
+ The checker currently enforces:
30
+
31
+ - Blockers:
32
+ - Legacy slash invocation (`Run: /verify`)
33
+ - Plugin-specific runtime command (`cc --plugin-dir`)
34
+ - Legacy task API syntax (`Task(...)` with agent/task parameters)
35
+ - Controlled debt:
36
+ - `Task(subagent_type=...)` references are allowed only when explicitly listed in `.governance/skill-lint.allowlist`
37
+ - Slash command references are allowed only for files explicitly listed in `.governance/skill-lint.allowlist`
38
+
39
+ ## LLM Governance Gate
40
+
41
+ `npm run governance:skills:llm` runs a second-pass governance audit:
42
+
43
+ - `--mode=auto` (default): uses OpenAI audit when `OPENAI_API_KEY` is set, otherwise uses heuristic fallback
44
+ - Flags high-severity blockers for non-Codex runtime instructions and execution ambiguity
45
+ - Writes report to `.omcodex/reports/skill-llm-governance-latest.json`
46
+ - Supports controlled debt via `.governance/skill-llm.allowlist` (`<rule_id>:<skill_name>`)
47
+
48
+ ## Skill Eval Harness
49
+
50
+ `npm run eval:skills` scores each skill document for execution quality:
51
+
52
+ - Frontmatter completeness
53
+ - Invocation clarity
54
+ - Workflow structure
55
+ - Codex compatibility checks
56
+
57
+ Reports are written to:
58
+
59
+ - `.omcodex/reports/skill-eval-latest.json`
60
+ - `.omcodex/reports/skill-eval-latest.md`
61
+
62
+ ## Debt Policy
63
+
64
+ - New debt is blocked by default.
65
+ - Existing debt is recorded in `.governance/skill-lint.allowlist`.
66
+ - Removing debt entries must happen in the same change that migrates the corresponding skill.
67
+
68
+ ## Migration Priority
69
+
70
+ 1. Remove runtime-invalid instructions (blockers).
71
+ 2. Replace pseudo-subagent API usage with Codex-compatible role protocols.
72
+ 3. Remove stale plugin-only wording when equivalent Codex-native guidance exists.
@@ -0,0 +1,182 @@
1
+ # Skill Governance Framework (Cross-Project)
2
+
3
+ This framework is designed for repositories like `oh-my-codex` and `oh-my-antigravity` that maintain skill packs for AI-assisted development.
4
+
5
+ ## 1. Governance Goals
6
+
7
+ 1. Keep every skill executable in the current runtime (no stale syntax, no unavailable APIs).
8
+ 2. Keep quality stable as skill count grows (consistent structure, clear boundaries, testable instructions).
9
+ 3. Keep maintenance cost under control (ownership, debt tracking, measurable cleanup velocity).
10
+ 4. Keep user trust high (safe defaults, explicit risk controls, predictable behavior).
11
+
12
+ ## 2. Scope and Object Model
13
+
14
+ Governance applies to:
15
+ - Skill definitions (`SKILL.md` and supporting assets)
16
+ - Installation/distribution scripts
17
+ - Governance scripts, allowlists, and policy docs
18
+
19
+ Skill classes:
20
+ - Core skills: high-frequency, cross-project foundation (planning, review, verify, tdd)
21
+ - Domain skills: project/platform specific (for example editor, electron, workflow)
22
+ - Experimental skills: incubating, low-trust, fast iteration
23
+ - Deprecated skills: retained only for migration windows
24
+
25
+ ## 3. Skill Contract (Minimum Standard)
26
+
27
+ Every skill must satisfy:
28
+ 1. Metadata contract: `name`, `description`, explicit trigger guidance.
29
+ 2. Runtime contract: examples runnable in target CLI/runtime only.
30
+ 3. Boundary contract: clear "when to use / when not to use".
31
+ 4. Dependency contract: external tools/paths declared.
32
+ 5. Output contract: expected output format and completion criteria.
33
+
34
+ ## 4. Lifecycle and Gates
35
+
36
+ ### 4.1 Lifecycle
37
+
38
+ 1. Proposal: problem statement + overlap check.
39
+ 2. Draft: create skill with contract sections.
40
+ 3. Validation: governance checks + dry-run examples.
41
+ 4. Release: installable and documented.
42
+ 5. Observe: usage, failures, confusion signals.
43
+ 6. Evolve or retire: merge, split, deprecate, archive.
44
+
45
+ ### 4.2 Quality Gates
46
+
47
+ Required pre-merge gates:
48
+ 1. `npm run governance:skills` passes.
49
+ 2. No new allowlist debt unless explicitly approved.
50
+ 3. Backward-compatibility note for renamed/retired skills.
51
+ 4. At least one runnable invocation example per skill.
52
+
53
+ Recommended gates:
54
+ 1. Duplicate-intent detection (same trigger intent across multiple skills).
55
+ 2. Link integrity check (paths/scripts in skill docs).
56
+ 3. Install smoke test (`install-codex*.sh` equivalent for target project).
57
+
58
+ ## 5. Debt and Compatibility Strategy
59
+
60
+ Debt types:
61
+ - Syntax debt: legacy command/task syntax no longer supported.
62
+ - Semantic debt: unclear role boundaries and overlapping responsibilities.
63
+ - Tooling debt: references to unavailable plugins/commands.
64
+
65
+ Policy:
66
+ 1. New debt blocked by default.
67
+ 2. Legacy debt recorded in allowlist with owner and target removal date.
68
+ 3. Removing debt and allowlist entries happens in the same change.
69
+ 4. High-risk debt (runtime-invalid instructions) is P0 and must be removed first.
70
+
71
+ ## 6. Topology and Duplication Control
72
+
73
+ Use a 4-layer topology to avoid skill sprawl:
74
+ 1. Foundation layer: universal skills (plan/review/verify/tdd).
75
+ 2. Domain layer: project-specific capabilities.
76
+ 3. Orchestration layer: sequencing/composition (pipeline/swarm-like skills).
77
+ 4. Governance layer: quality, checks, migration, release.
78
+
79
+ De-dup rules:
80
+ 1. One canonical skill per intent.
81
+ 2. Variants become playbooks inside canonical skill, not separate top-level skills.
82
+ 3. Keep aliases only during migration windows; set sunset date.
83
+
84
+ ## 7. Ownership Model (RACI)
85
+
86
+ - Maintainer (A): final decision on merge/retire.
87
+ - Skill owner (R): authoring, bugfixes, compatibility.
88
+ - Reviewer (R/C): quality and risk review.
89
+ - Consumers (C): feedback on usability and ambiguity.
90
+
91
+ Each skill should declare:
92
+ - Owner
93
+ - Last reviewed date
94
+ - Maturity (`core`, `domain`, `experimental`, `deprecated`)
95
+
96
+ ## 8. Metrics and SLOs
97
+
98
+ Track monthly:
99
+ 1. Governance pass rate (`governance:skills` success in PRs).
100
+ 2. Debt burndown (allowlist entries net change).
101
+ 3. Duplication ratio (skills mapped to same intent cluster).
102
+ 4. Time-to-fix for broken skills.
103
+ 5. Deprecation lead time and completion rate.
104
+
105
+ Suggested SLOs:
106
+ - P0 governance breakage fixed within 24h.
107
+ - No net-new unresolved allowlist debt for 2 consecutive cycles.
108
+ - Duplicate-intent skills reduced cycle over cycle.
109
+
110
+ ## 9. Release and Change Management
111
+
112
+ For every skill-facing release:
113
+ 1. Changelog section: added/changed/deprecated/removed skills.
114
+ 2. Migration notes: old -> new invocation mapping.
115
+ 3. Install verification: local and global install checks.
116
+ 4. Rollback path: previous known-good tag.
117
+
118
+ ## 10. Cross-Project Federation (Codex + Antigravity)
119
+
120
+ Recommended model:
121
+ 1. Shared governance baseline:
122
+ - `docs/SKILL_GOVERNANCE_FRAMEWORK.md` (this file)
123
+ - same governance checker philosophy
124
+ 2. Project overlays:
125
+ - `docs/SKILL_GOVERNANCE.<project>.md` for project-specific exceptions
126
+ 3. Shared taxonomy:
127
+ - same maturity labels and lifecycle states
128
+ 4. Shared migration language:
129
+ - consistent deprecation and replacement templates
130
+
131
+ ## 11. Implementation Blueprint (Practical)
132
+
133
+ For each project repository:
134
+ 1. Add governance docs:
135
+ - `docs/SKILL_GOVERNANCE.md` (project policy)
136
+ - `docs/SKILL_GOVERNANCE_FRAMEWORK.md` (shared framework)
137
+ 2. Add governance machinery:
138
+ - checker script (`scripts/check-skill-governance.sh`)
139
+ - allowlist (`.governance/skill-lint.allowlist`)
140
+ - package script (`governance:skills`)
141
+ 3. Add CI gate:
142
+ - run governance check on PRs touching skills.
143
+ 4. Add ownership metadata policy:
144
+ - owner + maturity + last-reviewed required in each skill.
145
+
146
+ ## 12. 30/60/90 Day Rollout Plan
147
+
148
+ ### Day 0-30
149
+
150
+ 1. Establish baseline checker and debt inventory.
151
+ 2. Freeze net-new debt.
152
+ 3. Classify all skills by maturity and owner.
153
+
154
+ ### Day 31-60
155
+
156
+ 1. Merge duplicate-intent skills into canonical tracks.
157
+ 2. Convert aliases to deprecation shims.
158
+ 3. Introduce monthly governance report.
159
+
160
+ ### Day 61-90
161
+
162
+ 1. Remove expired deprecated skills.
163
+ 2. Normalize cross-project taxonomy and templates.
164
+ 3. Enforce SLO-based review cadence.
165
+
166
+ ## 13. Definition of Done (Governance)
167
+
168
+ A repository is considered "governed" when:
169
+ 1. Governance checks are mandatory and passing.
170
+ 2. Debt is explicit, owned, and burning down.
171
+ 3. Every active skill has a clear owner and maturity.
172
+ 4. Duplicate-intent skills are consolidated.
173
+ 5. Release notes include skill migration guidance.
174
+
175
+ ## 14. Quick Import Checklist for `oh-my-antigravity`
176
+
177
+ 1. Copy this file to `docs/SKILL_GOVERNANCE_FRAMEWORK.md`.
178
+ 2. Create `docs/SKILL_GOVERNANCE.md` with antigravity-specific runtime blockers.
179
+ 3. Port governance checker + allowlist + npm script.
180
+ 4. Run baseline scan and generate debt register.
181
+ 5. Start with P0 blockers, then duplicate-intent consolidation.
182
+
@@ -0,0 +1,170 @@
1
+ # Skill 治理框架(跨项目版)
2
+
3
+ 本框架用于 `oh-my-codex`、`oh-my-antigravity` 这类维护 Skill 体系的仓库,目标是“可执行、可演进、可度量”。
4
+
5
+ ## 1. 治理目标
6
+
7
+ 1. 保证 Skill 在当前运行时可执行(不含过期语法和不可用能力)。
8
+ 2. 保证规模增长后质量稳定(结构一致、边界清晰、可验证)。
9
+ 3. 控制维护成本(明确 owner、债务可见、持续清理)。
10
+ 4. 维持用户信任(默认安全、行为可预测、变更可迁移)。
11
+
12
+ ## 2. 治理对象与分类
13
+
14
+ 治理对象:
15
+ - Skill 定义(`SKILL.md` + 配套资产)
16
+ - 安装/分发脚本
17
+ - 治理脚本、allowlist、治理文档
18
+
19
+ Skill 分类:
20
+ - `core`:高频基础能力(plan/review/verify/tdd)
21
+ - `domain`:项目或平台专属能力
22
+ - `experimental`:试验态能力
23
+ - `deprecated`:迁移窗口保留能力
24
+
25
+ ## 3. Skill 最小契约
26
+
27
+ 每个 Skill 必须满足:
28
+ 1. 元数据契约:`name`、`description`、触发条件。
29
+ 2. 运行时契约:示例可在目标 CLI/运行时直接执行。
30
+ 3. 边界契约:明确“何时使用/何时不使用”。
31
+ 4. 依赖契约:外部工具、路径、前置条件可见。
32
+ 5. 输出契约:输出格式、完成标准明确。
33
+
34
+ ## 4. 生命周期与门禁
35
+
36
+ 生命周期:
37
+ 1. Proposal:问题定义 + 重复能力检查。
38
+ 2. Draft:按契约编写 Skill。
39
+ 3. Validation:治理检查 + 示例演练。
40
+ 4. Release:可安装、可文档化。
41
+ 5. Observe:收集使用与失败信号。
42
+ 6. Evolve/Retire:合并、拆分、废弃、归档。
43
+
44
+ 必过门禁(PR 前):
45
+ 1. `npm run governance:skills` 通过。
46
+ 2. 不允许新增未审批债务。
47
+ 3. 重命名/下线必须给出迁移说明。
48
+ 4. 每个 Skill 至少一个可运行调用示例。
49
+
50
+ 推荐门禁:
51
+ 1. 重复意图检测(多 Skill 覆盖同一意图)。
52
+ 2. 文档链接/路径有效性检查。
53
+ 3. 安装冒烟验证(本地与全局安装)。
54
+
55
+ ## 5. 债务治理策略
56
+
57
+ 债务类型:
58
+ - 语法债:旧命令/旧 API 语法
59
+ - 语义债:边界不清、职责重叠
60
+ - 工具债:引用不可用插件/命令
61
+
62
+ 治理规则:
63
+ 1. 新债务默认禁止。
64
+ 2. 存量债务进入 allowlist,必须有 owner 与清理目标时间。
65
+ 3. 清理代码与移除 allowlist 条目同一次提交完成。
66
+ 4. 运行时无效指令属于 P0,优先清除。
67
+
68
+ ## 6. 拓扑与去重
69
+
70
+ 采用四层拓扑:
71
+ 1. Foundation:通用基础层
72
+ 2. Domain:业务/平台层
73
+ 3. Orchestration:编排层
74
+ 4. Governance:治理层
75
+
76
+ 去重规则:
77
+ 1. 一个意图只保留一个 canonical skill。
78
+ 2. 变体写入 canonical skill 的 playbook,不新增顶层重复 skill。
79
+ 3. 别名仅用于迁移窗口,必须有 sunset 日期。
80
+
81
+ ## 7. 角色与责任(RACI)
82
+
83
+ - Maintainer(A):合并/下线最终责任
84
+ - Skill Owner(R):内容维护与兼容性
85
+ - Reviewer(R/C):质量与风险评审
86
+ - Consumer(C):可用性反馈
87
+
88
+ 每个 Skill 建议声明:
89
+ - Owner
90
+ - Last reviewed
91
+ - Maturity(`core/domain/experimental/deprecated`)
92
+
93
+ ## 8. 指标与 SLO
94
+
95
+ 月度指标:
96
+ 1. 治理通过率(`governance:skills`)
97
+ 2. 债务净变化(allowlist burndown)
98
+ 3. 重复率(同意图多 skill)
99
+ 4. 失效 skill 修复时长
100
+ 5. 废弃迁移完成率
101
+
102
+ 建议 SLO:
103
+ - P0 治理故障 24 小时内修复
104
+ - 连续两个周期无净新增未解决债务
105
+ - 重复意图技能数持续下降
106
+
107
+ ## 9. 发布与变更管理
108
+
109
+ 每次 Skill 相关发布必须包含:
110
+ 1. Changelog:新增/变更/废弃/移除
111
+ 2. 迁移说明:旧调用 -> 新调用映射
112
+ 3. 安装验证:本地与全局
113
+ 4. 回滚路径:可回退到上一个稳定 tag
114
+
115
+ ## 10. Codex 与 Antigravity 的联邦治理
116
+
117
+ 建议模型:
118
+ 1. 共享基线:统一使用本框架文档
119
+ 2. 项目叠加:各自维护 `docs/SKILL_GOVERNANCE.md`
120
+ 3. 共享分类法:统一 maturity 和生命周期状态
121
+ 4. 共享迁移语言:统一废弃与替代模板
122
+
123
+ ## 11. 落地蓝图(每个仓库都做)
124
+
125
+ 1. 文档:
126
+ - `docs/SKILL_GOVERNANCE_FRAMEWORK.md`
127
+ - `docs/SKILL_GOVERNANCE.md`
128
+ 2. 机制:
129
+ - `scripts/check-skill-governance.sh`
130
+ - `.governance/skill-lint.allowlist`
131
+ - `package.json` 中 `governance:skills`
132
+ 3. CI:
133
+ - 触达 skill 变更的 PR 必跑治理检查
134
+ 4. 元数据:
135
+ - owner + maturity + last-reviewed 策略
136
+
137
+ ## 12. 30/60/90 推进计划
138
+
139
+ 0-30 天:
140
+ 1. 建立基线检查与债务清单
141
+ 2. 冻结净新增债务
142
+ 3. 给全部 skill 标注 owner 与 maturity
143
+
144
+ 31-60 天:
145
+ 1. 合并重复意图 skill
146
+ 2. 别名降级为迁移 shim
147
+ 3. 形成月度治理报告
148
+
149
+ 61-90 天:
150
+ 1. 移除过期 deprecated skills
151
+ 2. 对齐跨仓库分类与模板
152
+ 3. 执行 SLO 驱动评审节奏
153
+
154
+ ## 13. 治理完成定义(DoD)
155
+
156
+ 满足以下条件即视为进入“受治理状态”:
157
+ 1. 治理检查强制且稳定通过
158
+ 2. 债务显式、有人负责、持续下降
159
+ 3. 每个活跃 skill 都有 owner 与 maturity
160
+ 4. 重复意图已完成收敛
161
+ 5. 发布说明包含迁移指引
162
+
163
+ ## 14. 导入 oh-my-antigravity 快速清单
164
+
165
+ 1. 复制本文件到 `docs/SKILL_GOVERNANCE_FRAMEWORK.md`。
166
+ 2. 编写 `docs/SKILL_GOVERNANCE.md`(填入 antigravity 运行时 blocker)。
167
+ 3. 迁移治理脚本 + allowlist + npm 命令。
168
+ 4. 跑基线扫描并建立债务台账。
169
+ 5. 按“P0 blocker -> 重复收敛”顺序执行。
170
+