From 8e232279e80a7cd354c660245bab32abc6570fd6 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Sat, 30 May 2026 19:12:10 +0900 Subject: [PATCH] docs(omo-codex): batch 64 (4 files) --- .../components/ulw-loop/hooks/hooks.json | 29 ++++ .../skills/ulw-loop/agents/openai.yaml | 6 + packages/omo-codex/plugin/hooks/hooks.json | 138 ++++++++++++++++++ .../plugin/skills/comment-checker/SKILL.md | 16 ++ 4 files changed, 189 insertions(+) create mode 100644 packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json create mode 100644 packages/omo-codex/plugin/components/ulw-loop/skills/ulw-loop/agents/openai.yaml create mode 100644 packages/omo-codex/plugin/hooks/hooks.json create mode 100644 packages/omo-codex/plugin/skills/comment-checker/SKILL.md diff --git a/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json b/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json new file mode 100644 index 000000000..b809ab5bd --- /dev/null +++ b/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json @@ -0,0 +1,29 @@ +{ + "hooks": { + "UserPromptSubmit": [ + { + "hooks": [ + { + "type": "command", + "command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook user-prompt-submit", + "timeout": 10, + "statusMessage": "LazyCodex(0.1.0): Checking Ulw-Loop Steering" + } + ] + } + ], + "PreToolUse": [ + { + "matcher": "^create_goal$", + "hooks": [ + { + "type": "command", + "command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook pre-tool-use", + "timeout": 5, + "statusMessage": "LazyCodex(0.1.0): Enforcing Unlimited Ulw-Loop Budget" + } + ] + } + ] + } +} diff --git a/packages/omo-codex/plugin/components/ulw-loop/skills/ulw-loop/agents/openai.yaml b/packages/omo-codex/plugin/components/ulw-loop/skills/ulw-loop/agents/openai.yaml new file mode 100644 index 000000000..a3c91a292 --- /dev/null +++ b/packages/omo-codex/plugin/components/ulw-loop/skills/ulw-loop/agents/openai.yaml @@ -0,0 +1,6 @@ +interface: + display_name: "ulw loop" + short_description: "Goal-like ultrawork loop for systematic decomposition" + search_terms: + - "ulw-loop" + default_prompt: "Use $ulw-loop to break this work into a systematic ultrawork loop with evidence-backed checkpoints." diff --git a/packages/omo-codex/plugin/hooks/hooks.json b/packages/omo-codex/plugin/hooks/hooks.json new file mode 100644 index 000000000..ff8f102b1 --- /dev/null +++ b/packages/omo-codex/plugin/hooks/hooks.json @@ -0,0 +1,138 @@ +{ + "hooks": { + "SessionStart": [ + { + "hooks": [ + { + "type": "command", + "command": "node \"${PLUGIN_ROOT}/components/rules/dist/cli.js\" hook session-start", + "timeout": 10, + "statusMessage": "LazyCodex(0.1.0): Loading Project Rules" + } + ] + }, + { + "hooks": [ + { + "type": "command", + "command": "node \"${PLUGIN_ROOT}/components/telemetry/dist/cli.js\" hook session-start", + "timeout": 5, + "statusMessage": "LazyCodex(0.1.0): Recording Session Telemetry" + } + ] + } + ], + "UserPromptSubmit": [ + { + "hooks": [ + { + "type": "command", + "command": "node \"${PLUGIN_ROOT}/components/rules/dist/cli.js\" hook user-prompt-submit", + "timeout": 10, + "statusMessage": "LazyCodex(0.1.0): Loading Project Rules" + } + ] + }, + { + "hooks": [ + { + "type": "command", + "command": "node \"${PLUGIN_ROOT}/components/ultrawork/dist/cli.js\" hook user-prompt-submit", + "timeout": 5, + "statusMessage": "LazyCodex(0.1.0): Checking Ultrawork Trigger" + } + ] + }, + { + "hooks": [ + { + "type": "command", + "command": "node \"${PLUGIN_ROOT}/components/ulw-loop/dist/cli.js\" hook user-prompt-submit", + "timeout": 10, + "statusMessage": "LazyCodex(0.1.0): Checking Ulw-Loop Steering" + } + ] + } + ], + "PreToolUse": [ + { + "matcher": "^create_goal$", + "hooks": [ + { + "type": "command", + "command": "node \"${PLUGIN_ROOT}/components/ulw-loop/dist/cli.js\" hook pre-tool-use", + "timeout": 5, + "statusMessage": "LazyCodex(0.1.0): Enforcing Unlimited Goal Budget" + } + ] + } + ], + "PostToolUse": [ + { + "matcher": "^(apply_patch|write|Write|edit|Edit|multi_edit|multiedit|MultiEdit)$", + "hooks": [ + { + "type": "command", + "command": "node \"${PLUGIN_ROOT}/components/comment-checker/dist/cli.js\" hook post-tool-use", + "timeout": 30, + "statusMessage": "LazyCodex(0.1.0): Checking Comments" + }, + { + "type": "command", + "command": "node \"${PLUGIN_ROOT}/components/lsp/dist/cli.js\" hook post-tool-use", + "timeout": 60, + "statusMessage": "LazyCodex(0.1.0): Checking LSP Diagnostics" + } + ] + }, + { + "matcher": "^apply_patch$", + "hooks": [ + { + "type": "command", + "command": "node \"${PLUGIN_ROOT}/components/rules/dist/cli.js\" hook post-tool-use", + "timeout": 10, + "statusMessage": "LazyCodex(0.1.0): Matching Project Rules" + } + ] + } + ], + "PostCompact": [ + { + "matcher": "manual|auto", + "hooks": [ + { + "type": "command", + "command": "node \"${PLUGIN_ROOT}/components/rules/dist/cli.js\" hook post-compact", + "timeout": 10, + "statusMessage": "LazyCodex(0.1.0): Resetting Project Rule Cache" + } + ] + } + ], + "Stop": [ + { + "hooks": [ + { + "type": "command", + "command": "node \"${PLUGIN_ROOT}/components/start-work-continuation/dist/cli.js\" hook stop", + "timeout": 10, + "statusMessage": "LazyCodex(0.1.0): Checking Start-Work Continuation" + } + ] + } + ], + "SubagentStop": [ + { + "hooks": [ + { + "type": "command", + "command": "node \"${PLUGIN_ROOT}/components/start-work-continuation/dist/cli.js\" hook subagent-stop", + "timeout": 10, + "statusMessage": "LazyCodex(0.1.0): Checking Start-Work Continuation" + } + ] + } + ] + } +} diff --git a/packages/omo-codex/plugin/skills/comment-checker/SKILL.md b/packages/omo-codex/plugin/skills/comment-checker/SKILL.md new file mode 100644 index 000000000..7ce771015 --- /dev/null +++ b/packages/omo-codex/plugin/skills/comment-checker/SKILL.md @@ -0,0 +1,16 @@ +--- +name: comment-checker +description: Use when Codex needs to understand or respond to automatic comment-checker feedback emitted after an edit-like PostToolUse hook. +--- + +# Codex Comment Checker + +The plugin registers a `PostToolUse` hook for successful `apply_patch`, `write`, `edit`, `multi_edit`, and `multiedit` calls. + +When comment-checker reports a warning after a patch, Codex receives blocking feedback and should fix or explain the flagged comment before moving on. + +## Scope + +- No MCP tool is exposed. +- Non-edit tools are ignored by this plugin. +- Missing checker binaries emit no hook output so normal Codex work can continue.