The one and only agent harness for complex codebases. Project memory, planning, execution, and verified completion inside Codex.
JavaScript aiai-agentsclaudeclaude-codeclicodexdeveloper-toolslazylazycodexoh-my-openagentomoopenaiorchestrationtypescript
chore: sync Codex marketplace v5.1.55
YeonGyu-Kim28df1acb4d9f
diff --git a/plugins/omo/.codex-plugin/plugin.json b/plugins/omo/.codex-plugin/plugin.jsonindex 978ec030..f596d9c6 100644--- a/plugins/omo/.codex-plugin/plugin.json+++ b/plugins/omo/.codex-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "omo",- "version": "5.1.54",+ "version": "5.1.55","description": "One Codex plugin namespace for Yeongyu's local Codex components.","author": {"name": "Yeongyu Kim",diff --git a/plugins/omo/components/bootstrap/dist/cli.js b/plugins/omo/components/bootstrap/dist/cli.jsindex 021c658a..074b8068 100755--- a/plugins/omo/components/bootstrap/dist/cli.js+++ b/plugins/omo/components/bootstrap/dist/cli.js@@ -7032,6 +7032,7 @@ var OmoAgentDefInputSchema = object({prompt: string2().optional(),model: string2().optional(),models: array(OmoAgentModelEntrySchema).optional(),+ models_distribution: _enum(["sequential", "round_robin"]).optional(),reasoning: OmoReasoningSchema.optional(),variant: string2().optional(),reasoningEffort: OmoReasoningEffortSchema.optional(),@@ -7058,6 +7059,7 @@ var OmoCategoryConfigObjectSchema = object({description: string2().optional(),model: string2().optional(),models: array(union([string2(), OmoFallbackModelObjectSchema])).optional(),+ models_distribution: _enum(["sequential", "round_robin"]).optional(),reasoning: OmoReasoningSchema.optional(),temperature: number2().min(0).max(2).optional(),top_p: number2().min(0).max(1).optional(),diff --git a/plugins/omo/components/bootstrap/hooks/hooks.json b/plugins/omo/components/bootstrap/hooks/hooks.jsonindex e99168d3..47baa407 100644--- a/plugins/omo/components/bootstrap/hooks/hooks.json+++ b/plugins/omo/components/bootstrap/hooks/hooks.json@@ -8,7 +8,7 @@"command": "node \"${PLUGIN_ROOT}/components/bootstrap/dist/cli.js\" hook session-start","commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\bootstrap.ps1\"","timeout": 30,- "statusMessage": "(OmO 5.1.54) Checking Bootstrap Provisioning"+ "statusMessage": "(OmO 5.1.55) Checking Bootstrap Provisioning"}]}diff --git a/plugins/omo/components/bootstrap/package.json b/plugins/omo/components/bootstrap/package.jsonindex ca0f8650..4a84c08b 100644--- a/plugins/omo/components/bootstrap/package.json+++ b/plugins/omo/components/bootstrap/package.json@@ -1,6 +1,6 @@{"name": "@sisyphuslabs/codex-bootstrap",- "version": "5.1.54",+ "version": "5.1.55","description": "Codex SessionStart bootstrap component that provisions LazyCodex runtime dependencies from a detached worker.","type": "module","private": true,diff --git a/plugins/omo/components/comment-checker/hooks/hooks.json b/plugins/omo/components/comment-checker/hooks/hooks.jsonindex 9a08a63d..b610142f 100644--- a/plugins/omo/components/comment-checker/hooks/hooks.json+++ b/plugins/omo/components/comment-checker/hooks/hooks.json@@ -8,7 +8,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-tool-use","timeout": 30,- "statusMessage": "(OmO 5.1.54) Checking Comments"+ "statusMessage": "(OmO 5.1.55) Checking Comments"}]}diff --git a/plugins/omo/components/comment-checker/package.json b/plugins/omo/components/comment-checker/package.jsonindex dc219d9d..3e806495 100644--- a/plugins/omo/components/comment-checker/package.json+++ b/plugins/omo/components/comment-checker/package.json@@ -1,6 +1,6 @@{"name": "@code-yeongyu/codex-comment-checker",- "version": "5.1.54",+ "version": "5.1.55","description": "Codex plugin that runs comment-checker after edit-like PostToolUse hooks.","type": "module","packageManager": "[email protected]",diff --git a/plugins/omo/components/git-bash/hooks/hooks.json b/plugins/omo/components/git-bash/hooks/hooks.jsonindex afde7034..905fe6a2 100644--- a/plugins/omo/components/git-bash/hooks/hooks.json+++ b/plugins/omo/components/git-bash/hooks/hooks.json@@ -8,7 +8,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook pre-tool-use","timeout": 5,- "statusMessage": "(OmO 5.1.54) Recommending Git Bash MCP"+ "statusMessage": "(OmO 5.1.55) Recommending Git Bash MCP"}]}@@ -20,7 +20,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-compact","timeout": 5,- "statusMessage": "(OmO 5.1.54) Resetting Git Bash MCP Reminder"+ "statusMessage": "(OmO 5.1.55) Resetting Git Bash MCP Reminder"}]}diff --git a/plugins/omo/components/git-bash/package.json b/plugins/omo/components/git-bash/package.jsonindex 30f1e4a2..cc1ee350 100644--- a/plugins/omo/components/git-bash/package.json+++ b/plugins/omo/components/git-bash/package.json@@ -1,6 +1,6 @@{"name": "@sisyphuslabs/codex-git-bash-hook",- "version": "5.1.54",+ "version": "5.1.55","description": "Codex hook component that reminds Windows sessions to prefer the OMO git_bash MCP.","type": "module","private": true,diff --git a/plugins/omo/components/lazycodex-executor-verify/hooks/hooks.json b/plugins/omo/components/lazycodex-executor-verify/hooks/hooks.jsonindex bfac6790..844531a6 100644--- a/plugins/omo/components/lazycodex-executor-verify/hooks/hooks.json+++ b/plugins/omo/components/lazycodex-executor-verify/hooks/hooks.json@@ -8,7 +8,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/components/lazycodex-executor-verify/dist/cli.js\" hook subagent-stop","timeout": 10,- "statusMessage": "(OmO 5.1.54) Verifying LazyCodex Executor Evidence"+ "statusMessage": "(OmO 5.1.55) Verifying LazyCodex Executor Evidence"}]}diff --git a/plugins/omo/components/lazycodex-executor-verify/package.json b/plugins/omo/components/lazycodex-executor-verify/package.jsonindex e1f1e7a3..db907b4e 100644--- a/plugins/omo/components/lazycodex-executor-verify/package.json+++ b/plugins/omo/components/lazycodex-executor-verify/package.json@@ -1,6 +1,6 @@{"name": "@code-yeongyu/codex-lazycodex-executor-verify",- "version": "5.1.54",+ "version": "5.1.55","description": "Codex SubagentStop evidence verifier for LazyCodex executor completions.","type": "module","packageManager": "[email protected]",diff --git a/plugins/omo/components/lsp/dist/.omo-runtime-manifest.json b/plugins/omo/components/lsp/dist/.omo-runtime-manifest.jsonindex 01770428..9fb98537 100644--- a/plugins/omo/components/lsp/dist/.omo-runtime-manifest.json+++ b/plugins/omo/components/lsp/dist/.omo-runtime-manifest.json@@ -1,7 +1,7 @@{"schemaVersion": 1,- "version": "5.1.54",- "inputDigest": "sha256:697a2c789b11bcef3067ffa642529c4ec64469117934d7cc53fae09b1e77822d",+ "version": "5.1.55",+ "inputDigest": "sha256:784c3f5cce480b841404c39fcb29328ac65362959492cb0f9ae7913e147dc4ca","outputs": [{"path": "cli.d.ts",diff --git a/plugins/omo/components/lsp/hooks/hooks.json b/plugins/omo/components/lsp/hooks/hooks.jsonindex 5849218f..e25a713f 100644--- a/plugins/omo/components/lsp/hooks/hooks.json+++ b/plugins/omo/components/lsp/hooks/hooks.json@@ -8,7 +8,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-tool-use","timeout": 60,- "statusMessage": "(OmO 5.1.54) Checking LSP Diagnostics"+ "statusMessage": "(OmO 5.1.55) Checking LSP Diagnostics"}]}@@ -21,7 +21,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-compact","timeout": 5,- "statusMessage": "(OmO 5.1.54) Resetting LSP Diagnostics Cache"+ "statusMessage": "(OmO 5.1.55) Resetting LSP Diagnostics Cache"}]}diff --git a/plugins/omo/components/lsp/package.json b/plugins/omo/components/lsp/package.jsonindex 462b6af0..cf6bda6f 100644--- a/plugins/omo/components/lsp/package.json+++ b/plugins/omo/components/lsp/package.json@@ -1,6 +1,6 @@{"name": "@code-yeongyu/codex-lsp",- "version": "5.1.54",+ "version": "5.1.55","description": "Codex plugin that exposes Language Server Protocol tools and post-edit diagnostics.","type": "module","packageManager": "[email protected]",diff --git a/plugins/omo/components/rules/hooks/hooks.json b/plugins/omo/components/rules/hooks/hooks.jsonindex c3d0f02c..10cba04c 100644--- a/plugins/omo/components/rules/hooks/hooks.json+++ b/plugins/omo/components/rules/hooks/hooks.json@@ -7,7 +7,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook session-start","timeout": 10,- "statusMessage": "(OmO 5.1.54) Loading Project Rules"+ "statusMessage": "(OmO 5.1.55) Loading Project Rules"}]}@@ -19,7 +19,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook user-prompt-submit","timeout": 10,- "statusMessage": "(OmO 5.1.54) Loading Project Rules"+ "statusMessage": "(OmO 5.1.55) Loading Project Rules"}]}@@ -32,7 +32,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-tool-use","timeout": 10,- "statusMessage": "(OmO 5.1.54) Matching Project Rules"+ "statusMessage": "(OmO 5.1.55) Matching Project Rules"}]}@@ -45,7 +45,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-compact","timeout": 10,- "statusMessage": "(OmO 5.1.54) Resetting Project Rule Cache"+ "statusMessage": "(OmO 5.1.55) Resetting Project Rule Cache"}]}diff --git a/plugins/omo/components/rules/package.json b/plugins/omo/components/rules/package.jsonindex 61a4ef53..7c308d64 100644--- a/plugins/omo/components/rules/package.json+++ b/plugins/omo/components/rules/package.json@@ -1,6 +1,6 @@{"name": "@code-yeongyu/codex-rules",- "version": "5.1.54",+ "version": "5.1.55","description": "Codex plugin that injects project rule files into model context through lifecycle hooks.","type": "module","packageManager": "[email protected]",diff --git a/plugins/omo/components/teammode/hooks/hooks.json b/plugins/omo/components/teammode/hooks/hooks.jsonindex d83ada42..35d7de26 100644--- a/plugins/omo/components/teammode/hooks/hooks.json+++ b/plugins/omo/components/teammode/hooks/hooks.json@@ -8,7 +8,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-tool-use","timeout": 10,- "statusMessage": "(OmO 5.1.54) Checking Thread Title Hygiene"+ "statusMessage": "(OmO 5.1.55) Checking Thread Title Hygiene"}]}diff --git a/plugins/omo/components/teammode/package.json b/plugins/omo/components/teammode/package.jsonindex 90352330..59c2b9b0 100644--- a/plugins/omo/components/teammode/package.json+++ b/plugins/omo/components/teammode/package.json@@ -1,6 +1,6 @@{"name": "@sisyphuslabs/codex-teammode",- "version": "5.1.54",+ "version": "5.1.55","description": "Codex team-mode hook component that keeps background thread titles descriptive after create_thread.","type": "module","private": true,diff --git a/plugins/omo/components/telemetry/hooks/hooks.json b/plugins/omo/components/telemetry/hooks/hooks.jsonindex 8dcc5bc2..069a9e10 100644--- a/plugins/omo/components/telemetry/hooks/hooks.json+++ b/plugins/omo/components/telemetry/hooks/hooks.json@@ -7,7 +7,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook session-start","timeout": 5,- "statusMessage": "(OmO 5.1.54) Recording Session Telemetry"+ "statusMessage": "(OmO 5.1.55) Recording Session Telemetry"}]}diff --git a/plugins/omo/components/telemetry/package.json b/plugins/omo/components/telemetry/package.jsonindex 46f9220c..2ecfe2ca 100644--- a/plugins/omo/components/telemetry/package.json+++ b/plugins/omo/components/telemetry/package.json@@ -1,6 +1,6 @@{"name": "@code-yeongyu/codex-telemetry",- "version": "5.1.54",+ "version": "5.1.55","description": "Codex plugin component that emits omo-codex anonymous daily-active telemetry on SessionStart.","type": "module","packageManager": "[email protected]",diff --git a/plugins/omo/components/ultrawork/hooks/hooks.json b/plugins/omo/components/ultrawork/hooks/hooks.jsonindex 20470551..285af9b9 100644--- a/plugins/omo/components/ultrawork/hooks/hooks.json+++ b/plugins/omo/components/ultrawork/hooks/hooks.json@@ -7,7 +7,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook user-prompt-submit","timeout": 5,- "statusMessage": "(OmO 5.1.54) Checking Ultrawork Trigger"+ "statusMessage": "(OmO 5.1.55) Checking Ultrawork Trigger"}]}diff --git a/plugins/omo/components/ultrawork/package.json b/plugins/omo/components/ultrawork/package.jsonindex dbd8e0b7..fee66dd1 100644--- a/plugins/omo/components/ultrawork/package.json+++ b/plugins/omo/components/ultrawork/package.json@@ -1,6 +1,6 @@{"name": "@code-yeongyu/codex-ultrawork",- "version": "5.1.54",+ "version": "5.1.55","description": "Codex plugin that injects the ultrawork orchestration directive and ships LazyCodex planning, review, QA, and gate agent roles.","type": "module","packageManager": "[email protected]",diff --git a/plugins/omo/components/ulw-execute-continuation/hooks/hooks.json b/plugins/omo/components/ulw-execute-continuation/hooks/hooks.jsonindex 42141fac..31b96cb9 100644--- a/plugins/omo/components/ulw-execute-continuation/hooks/hooks.json+++ b/plugins/omo/components/ulw-execute-continuation/hooks/hooks.json@@ -7,7 +7,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/components/ulw-execute-continuation/dist/cli.js\" hook stop","timeout": 10,- "statusMessage": "(OmO 5.1.54) Checking Ulw-Execute Continuation"+ "statusMessage": "(OmO 5.1.55) Checking Ulw-Execute Continuation"}]}diff --git a/plugins/omo/components/ulw-execute-continuation/package.json b/plugins/omo/components/ulw-execute-continuation/package.jsonindex abe1835e..fdf44df3 100644--- a/plugins/omo/components/ulw-execute-continuation/package.json+++ b/plugins/omo/components/ulw-execute-continuation/package.json@@ -1,6 +1,6 @@{"name": "@code-yeongyu/codex-ulw-execute-continuation",- "version": "5.1.54",+ "version": "5.1.55","description": "Codex Stop hook continuation injector for omo-codex ulw-execute plans.","type": "module","packageManager": "[email protected]",diff --git a/plugins/omo/components/ulw-loop/hooks/hooks.json b/plugins/omo/components/ulw-loop/hooks/hooks.jsonindex 88b2bbd1..cea57e78 100644--- a/plugins/omo/components/ulw-loop/hooks/hooks.json+++ b/plugins/omo/components/ulw-loop/hooks/hooks.json@@ -7,7 +7,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook user-prompt-submit --with-ultrawork","timeout": 10,- "statusMessage": "(OmO 5.1.54) Checking Ulw-Loop Steering"+ "statusMessage": "(OmO 5.1.55) Checking Ulw-Loop Steering"}]}@@ -20,7 +20,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-tool-use-spawn","timeout": 5,- "statusMessage": "(OmO 5.1.54) Recording Spawn Admission"+ "statusMessage": "(OmO 5.1.55) Recording Spawn Admission"}]}@@ -33,7 +33,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook pre-tool-use","timeout": 5,- "statusMessage": "(OmO 5.1.54) Enforcing Unlimited Ulw-Loop Budget"+ "statusMessage": "(OmO 5.1.55) Enforcing Unlimited Ulw-Loop Budget"}]},@@ -44,7 +44,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook pre-tool-use-spawn","timeout": 5,- "statusMessage": "(OmO 5.1.54) Guarding Ulw-Loop Spawns"+ "statusMessage": "(OmO 5.1.55) Guarding Ulw-Loop Spawns"}]}@@ -56,7 +56,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook stop","timeout": 10,- "statusMessage": "(OmO 5.1.54) Checking Ulw-Loop Resume"+ "statusMessage": "(OmO 5.1.55) Checking Ulw-Loop Resume"}]}diff --git a/plugins/omo/components/ulw-loop/package.json b/plugins/omo/components/ulw-loop/package.jsonindex 7b1d2dee..f1160ecc 100644--- a/plugins/omo/components/ulw-loop/package.json+++ b/plugins/omo/components/ulw-loop/package.json@@ -1,6 +1,6 @@{"name": "@code-yeongyu/codex-ulw-loop",- "version": "5.1.54",+ "version": "5.1.55","description": "Codex plugin: durable repo-native multi-goal orchestration with embedded success criteria and observable evidence audit.","type": "module","packageManager": "[email protected]",diff --git a/plugins/omo/dist/cli-node/index.js b/plugins/omo/dist/cli-node/index.jsindex c96b85da..e9a5fa32 100755--- a/plugins/omo/dist/cli-node/index.js+++ b/plugins/omo/dist/cli-node/index.js@@ -2133,7 +2133,7 @@ var package_default;var init_package = __esm(() => {package_default = {name: "oh-my-opencode",- version: "5.1.54",+ version: "5.1.55",description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",main: "./dist/index.js",types: "dist/index.d.ts",@@ -2157,6 +2157,7 @@ var init_package = __esm(() => {"packages/openclaw-core","packages/boulder-state","packages/memory-core",+ "packages/device-service-core","packages/isolation-core","packages/telemetry-core","packages/claude-code-compat-core",@@ -2277,7 +2278,7 @@ var init_package = __esm(() => {"check:copy": "bun script/check-copy.ts",typecheck: "bun run check:copy && bun check --no-script --all -p tsconfig.json && bun run typecheck:script && bun run typecheck:packages && bun run typecheck:skill-scripts","typecheck:skill-scripts": "bun check --no-script --all -p packages/shared-skills/skills/frontend/scripts/detect/tsconfig.json",- "typecheck:packages": "bun check --no-script --all -p packages/rules-engine/tsconfig.json && bun check --no-script --all -p packages/delegate-core/tsconfig.json && bun check --no-script --all -p packages/mcp-stdio-core/tsconfig.json && bun check --no-script --all -p packages/mcp-client-core/tsconfig.json && bun check --no-script --all -p packages/git-bash-mcp/tsconfig.json && bun check --no-script --all -p packages/ast-grep-mcp/tsconfig.json && bun check --no-script --all -p packages/lsp-core/tsconfig.json && bun check --no-script --all -p packages/utils/tsconfig.json && bun check --no-script --all -p packages/model-core/tsconfig.json && bun check --no-script --all -p packages/omo-config-core/tsconfig.json && bun check --no-script --all -p packages/prompts-core/tsconfig.json && bun check --no-script --all -p packages/comment-checker-core/tsconfig.json && bun check --no-script --all -p packages/hashline-core/tsconfig.json && bun check --no-script --all -p packages/tmux-core/tsconfig.json && bun check --no-script --all -p packages/team-core/tsconfig.json && bun check --no-script --all -p packages/openclaw-core/tsconfig.json && bun check --no-script --all -p packages/boulder-state/tsconfig.json && bun check --no-script --all -p packages/isolation-core/tsconfig.json && bun check --no-script --all -p packages/memory-core/tsconfig.json && bun check --no-script --all -p packages/telemetry-core/tsconfig.json && bun check --no-script --all -p packages/claude-code-compat-core/tsconfig.json && bun check --no-script --all -p packages/skills-loader-core/tsconfig.json && bun check --no-script --all -p packages/agents-md-core/tsconfig.json && bun check --no-script --all -p packages/omo-codex/plugin/shared/tsconfig.json && bun check --no-script --all -p packages/omo-codex/tsconfig.json && bun check --no-script --all -p packages/omo-senpi/tsconfig.json && bun check --no-script --all -p packages/senpi-task/tsconfig.json && bun check --no-script --all -p packages/omo-opencode/tsconfig.json && bun check --no-script --all -p packages/omo-native/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-protocol/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-engine/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-prelude/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-service/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-tool/tsconfig.json",+ "typecheck:packages": "bun check --no-script --all -p packages/rules-engine/tsconfig.json && bun check --no-script --all -p packages/delegate-core/tsconfig.json && bun check --no-script --all -p packages/mcp-stdio-core/tsconfig.json && bun check --no-script --all -p packages/mcp-client-core/tsconfig.json && bun check --no-script --all -p packages/git-bash-mcp/tsconfig.json && bun check --no-script --all -p packages/ast-grep-mcp/tsconfig.json && bun check --no-script --all -p packages/lsp-core/tsconfig.json && bun check --no-script --all -p packages/utils/tsconfig.json && bun check --no-script --all -p packages/device-service-core/tsconfig.json && bun check --no-script --all -p packages/model-core/tsconfig.json && bun check --no-script --all -p packages/omo-config-core/tsconfig.json && bun check --no-script --all -p packages/prompts-core/tsconfig.json && bun check --no-script --all -p packages/comment-checker-core/tsconfig.json && bun check --no-script --all -p packages/hashline-core/tsconfig.json && bun check --no-script --all -p packages/tmux-core/tsconfig.json && bun check --no-script --all -p packages/team-core/tsconfig.json && bun check --no-script --all -p packages/openclaw-core/tsconfig.json && bun check --no-script --all -p packages/boulder-state/tsconfig.json && bun check --no-script --all -p packages/isolation-core/tsconfig.json && bun check --no-script --all -p packages/memory-core/tsconfig.json && bun check --no-script --all -p packages/telemetry-core/tsconfig.json && bun check --no-script --all -p packages/claude-code-compat-core/tsconfig.json && bun check --no-script --all -p packages/skills-loader-core/tsconfig.json && bun check --no-script --all -p packages/agents-md-core/tsconfig.json && bun check --no-script --all -p packages/omo-codex/plugin/shared/tsconfig.json && bun check --no-script --all -p packages/omo-codex/tsconfig.json && bun check --no-script --all -p packages/omo-senpi/tsconfig.json && bun check --no-script --all -p packages/senpi-task/tsconfig.json && bun check --no-script --all -p packages/omo-opencode/tsconfig.json && bun check --no-script --all -p packages/omo-native/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-protocol/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-engine/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-prelude/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-service/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-tool/tsconfig.json","typecheck:script": "bun check --no-script --all -p script/tsconfig.json",test: "bun test --timeout 20000","changelog:section": "bun script/changelog-section.ts",@@ -2324,6 +2325,7 @@ var init_package = __esm(() => {"@oh-my-opencode/agents-md-core": "workspace:*","@oh-my-opencode/ast-grep-mcp": "workspace:*","@oh-my-opencode/boulder-state": "workspace:*",+ "@oh-my-opencode/device-service-core": "workspace:*","@oh-my-opencode/claude-code-compat-core": "workspace:*","@oh-my-opencode/comment-checker-core": "workspace:*","@oh-my-opencode/delegate-core": "workspace:*",@@ -2383,18 +2385,18 @@ var init_package = __esm(() => {typescript: "^7.0.2"},optionalDependencies: {- "oh-my-opencode-darwin-arm64": "5.1.54",- "oh-my-opencode-darwin-x64": "5.1.54",- "oh-my-opencode-darwin-x64-baseline": "5.1.54",- "oh-my-opencode-linux-arm64": "5.1.54",- "oh-my-opencode-linux-arm64-musl": "5.1.54",- "oh-my-opencode-linux-x64": "5.1.54",- "oh-my-opencode-linux-x64-baseline": "5.1.54",- "oh-my-opencode-linux-x64-musl": "5.1.54",- "oh-my-opencode-linux-x64-musl-baseline": "5.1.54",- "oh-my-opencode-windows-arm64": "5.1.54",- "oh-my-opencode-windows-x64": "5.1.54",- "oh-my-opencode-windows-x64-baseline": "5.1.54"+ "oh-my-opencode-darwin-arm64": "5.1.55",+ "oh-my-opencode-darwin-x64": "5.1.55",+ "oh-my-opencode-darwin-x64-baseline": "5.1.55",+ "oh-my-opencode-linux-arm64": "5.1.55",+ "oh-my-opencode-linux-arm64-musl": "5.1.55",+ "oh-my-opencode-linux-x64": "5.1.55",+ "oh-my-opencode-linux-x64-baseline": "5.1.55",+ "oh-my-opencode-linux-x64-musl": "5.1.55",+ "oh-my-opencode-linux-x64-musl-baseline": "5.1.55",+ "oh-my-opencode-windows-arm64": "5.1.55",+ "oh-my-opencode-windows-x64": "5.1.55",+ "oh-my-opencode-windows-x64-baseline": "5.1.55"},overrides: {hono: "^4.13.8",@@ -77032,6 +77034,7 @@ var init_agent = __esm(() => {prompt: string2().optional(),model: string2().optional(),models: array(OmoAgentModelEntrySchema).optional(),+ models_distribution: _enum(["sequential", "round_robin"]).optional(),reasoning: OmoReasoningSchema.optional(),variant: string2().optional(),reasoningEffort: OmoReasoningEffortSchema.optional(),@@ -77064,6 +77067,7 @@ var init_category = __esm(() => {description: string2().optional(),model: string2().optional(),models: array(union([string2(), OmoFallbackModelObjectSchema])).optional(),+ models_distribution: _enum(["sequential", "round_robin"]).optional(),reasoning: OmoReasoningSchema.optional(),temperature: number2().min(0).max(2).optional(),top_p: number2().min(0).max(1).optional(),@@ -78907,9 +78911,13 @@ function resolveModelReferences(view) {}var init_model_reference_resolution = () => {};+// packages/omo-config-core/src/models/models-distribution.ts+var init_models_distribution = () => {};+// packages/omo-config-core/src/models/index.tsvar init_models = __esm(() => {init_model_reference_resolution();+ init_models_distribution();});// packages/omo-config-core/src/writer/types.ts@@ -92756,7 +92764,7 @@ var package_default2;var init_package2 = __esm(() => {package_default2 = {name: "@oh-my-opencode/omo-codex",- version: "5.1.54",+ version: "5.1.55",type: "module",private: true,description: "Codex harness adapter for oh-my-openagent. Vendored Codex plugin namespace (omo) + TypeScript installer + telemetry.",@@ -104209,11 +104217,11 @@ function recordFields(value, fields) {}function modelInput(view) {const agents = isPlainRecord(view.agents) ? Object.fromEntries(Object.entries(view.agents).flatMap(([name, definition]) => {- const fields = recordFields(definition, ["description", "prompt", "model", "models", "variant", "reasoningEffort", "tools", "temperature", "disable"]);+ const fields = recordFields(definition, ["description", "prompt", "model", "models", "models_distribution", "variant", "reasoningEffort", "tools", "temperature", "disable"]);return fields === undefined ? [] : [[name, fields]];})) : undefined;const categories = isPlainRecord(view.categories) ? Object.fromEntries(Object.entries(view.categories).flatMap(([name, definition]) => {- const fields = recordFields(definition, ["description", "model", "fallback_models", "variant", "temperature", "top_p", "maxTokens", "thinking", "reasoningEffort", "textVerbosity", "tools", "prompt_append", "max_prompt_tokens", "is_unstable_agent", "disable"]);+ const fields = recordFields(definition, ["description", "model", "models", "models_distribution", "fallback_models", "variant", "temperature", "top_p", "maxTokens", "thinking", "reasoningEffort", "textVerbosity", "tools", "prompt_append", "max_prompt_tokens", "is_unstable_agent", "disable"]);return fields === undefined ? [] : [[name, fields]];})) : undefined;return {@@ -104487,6 +104495,7 @@ var AgentPermissionSchema = object({var AgentOverrideConfigSchema = object({model: string2().optional(),models: array(union([string2(), FallbackModelObjectSchema])).optional(),+ models_distribution: _enum(["sequential", "round_robin"]).optional(),fallback_models: FallbackModelsSchema.optional(),reasoning: OmoReasoningSchema.optional(),variant: string2().optional(),@@ -104587,6 +104596,7 @@ var CategoryConfigSchema = object({description: string2().optional(),model: string2().optional(),models: array(union([string2(), FallbackModelObjectSchema])).optional(),+ models_distribution: _enum(["sequential", "round_robin"]).optional(),fallback_models: FallbackModelsSchema.optional(),reasoning: OmoReasoningSchema.optional(),variant: string2().optional(),@@ -105150,7 +105160,8 @@ function materializeAgentModelChains(config) {return [name, {...rest,...primarySettings,- fallback_models: fallbacks+ fallback_models: fallbacks,+ ...agent.models_distribution === "round_robin" ? { models: agent.models } : {}}];}));return changed ? { ...config, agents } : config;diff --git a/plugins/omo/dist/cli/index.js b/plugins/omo/dist/cli/index.jsindex 19cc3f7c..9d7e07db 100755--- a/plugins/omo/dist/cli/index.js+++ b/plugins/omo/dist/cli/index.js@@ -2132,7 +2132,7 @@ var package_default;var init_package = __esm(() => {package_default = {name: "oh-my-opencode",- version: "5.1.54",+ version: "5.1.55",description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",main: "./dist/index.js",types: "dist/index.d.ts",@@ -2156,6 +2156,7 @@ var init_package = __esm(() => {"packages/openclaw-core","packages/boulder-state","packages/memory-core",+ "packages/device-service-core","packages/isolation-core","packages/telemetry-core","packages/claude-code-compat-core",@@ -2276,7 +2277,7 @@ var init_package = __esm(() => {"check:copy": "bun script/check-copy.ts",typecheck: "bun run check:copy && bun check --no-script --all -p tsconfig.json && bun run typecheck:script && bun run typecheck:packages && bun run typecheck:skill-scripts","typecheck:skill-scripts": "bun check --no-script --all -p packages/shared-skills/skills/frontend/scripts/detect/tsconfig.json",- "typecheck:packages": "bun check --no-script --all -p packages/rules-engine/tsconfig.json && bun check --no-script --all -p packages/delegate-core/tsconfig.json && bun check --no-script --all -p packages/mcp-stdio-core/tsconfig.json && bun check --no-script --all -p packages/mcp-client-core/tsconfig.json && bun check --no-script --all -p packages/git-bash-mcp/tsconfig.json && bun check --no-script --all -p packages/ast-grep-mcp/tsconfig.json && bun check --no-script --all -p packages/lsp-core/tsconfig.json && bun check --no-script --all -p packages/utils/tsconfig.json && bun check --no-script --all -p packages/model-core/tsconfig.json && bun check --no-script --all -p packages/omo-config-core/tsconfig.json && bun check --no-script --all -p packages/prompts-core/tsconfig.json && bun check --no-script --all -p packages/comment-checker-core/tsconfig.json && bun check --no-script --all -p packages/hashline-core/tsconfig.json && bun check --no-script --all -p packages/tmux-core/tsconfig.json && bun check --no-script --all -p packages/team-core/tsconfig.json && bun check --no-script --all -p packages/openclaw-core/tsconfig.json && bun check --no-script --all -p packages/boulder-state/tsconfig.json && bun check --no-script --all -p packages/isolation-core/tsconfig.json && bun check --no-script --all -p packages/memory-core/tsconfig.json && bun check --no-script --all -p packages/telemetry-core/tsconfig.json && bun check --no-script --all -p packages/claude-code-compat-core/tsconfig.json && bun check --no-script --all -p packages/skills-loader-core/tsconfig.json && bun check --no-script --all -p packages/agents-md-core/tsconfig.json && bun check --no-script --all -p packages/omo-codex/plugin/shared/tsconfig.json && bun check --no-script --all -p packages/omo-codex/tsconfig.json && bun check --no-script --all -p packages/omo-senpi/tsconfig.json && bun check --no-script --all -p packages/senpi-task/tsconfig.json && bun check --no-script --all -p packages/omo-opencode/tsconfig.json && bun check --no-script --all -p packages/omo-native/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-protocol/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-engine/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-prelude/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-service/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-tool/tsconfig.json",+ "typecheck:packages": "bun check --no-script --all -p packages/rules-engine/tsconfig.json && bun check --no-script --all -p packages/delegate-core/tsconfig.json && bun check --no-script --all -p packages/mcp-stdio-core/tsconfig.json && bun check --no-script --all -p packages/mcp-client-core/tsconfig.json && bun check --no-script --all -p packages/git-bash-mcp/tsconfig.json && bun check --no-script --all -p packages/ast-grep-mcp/tsconfig.json && bun check --no-script --all -p packages/lsp-core/tsconfig.json && bun check --no-script --all -p packages/utils/tsconfig.json && bun check --no-script --all -p packages/device-service-core/tsconfig.json && bun check --no-script --all -p packages/model-core/tsconfig.json && bun check --no-script --all -p packages/omo-config-core/tsconfig.json && bun check --no-script --all -p packages/prompts-core/tsconfig.json && bun check --no-script --all -p packages/comment-checker-core/tsconfig.json && bun check --no-script --all -p packages/hashline-core/tsconfig.json && bun check --no-script --all -p packages/tmux-core/tsconfig.json && bun check --no-script --all -p packages/team-core/tsconfig.json && bun check --no-script --all -p packages/openclaw-core/tsconfig.json && bun check --no-script --all -p packages/boulder-state/tsconfig.json && bun check --no-script --all -p packages/isolation-core/tsconfig.json && bun check --no-script --all -p packages/memory-core/tsconfig.json && bun check --no-script --all -p packages/telemetry-core/tsconfig.json && bun check --no-script --all -p packages/claude-code-compat-core/tsconfig.json && bun check --no-script --all -p packages/skills-loader-core/tsconfig.json && bun check --no-script --all -p packages/agents-md-core/tsconfig.json && bun check --no-script --all -p packages/omo-codex/plugin/shared/tsconfig.json && bun check --no-script --all -p packages/omo-codex/tsconfig.json && bun check --no-script --all -p packages/omo-senpi/tsconfig.json && bun check --no-script --all -p packages/senpi-task/tsconfig.json && bun check --no-script --all -p packages/omo-opencode/tsconfig.json && bun check --no-script --all -p packages/omo-native/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-protocol/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-engine/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-prelude/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-service/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-tool/tsconfig.json","typecheck:script": "bun check --no-script --all -p script/tsconfig.json",test: "bun test --timeout 20000","changelog:section": "bun script/changelog-section.ts",@@ -2323,6 +2324,7 @@ var init_package = __esm(() => {"@oh-my-opencode/agents-md-core": "workspace:*","@oh-my-opencode/ast-grep-mcp": "workspace:*","@oh-my-opencode/boulder-state": "workspace:*",+ "@oh-my-opencode/device-service-core": "workspace:*","@oh-my-opencode/claude-code-compat-core": "workspace:*","@oh-my-opencode/comment-checker-core": "workspace:*","@oh-my-opencode/delegate-core": "workspace:*",@@ -2382,18 +2384,18 @@ var init_package = __esm(() => {typescript: "^7.0.2"},optionalDependencies: {- "oh-my-opencode-darwin-arm64": "5.1.54",- "oh-my-opencode-darwin-x64": "5.1.54",- "oh-my-opencode-darwin-x64-baseline": "5.1.54",- "oh-my-opencode-linux-arm64": "5.1.54",- "oh-my-opencode-linux-arm64-musl": "5.1.54",- "oh-my-opencode-linux-x64": "5.1.54",- "oh-my-opencode-linux-x64-baseline": "5.1.54",- "oh-my-opencode-linux-x64-musl": "5.1.54",- "oh-my-opencode-linux-x64-musl-baseline": "5.1.54",- "oh-my-opencode-windows-arm64": "5.1.54",- "oh-my-opencode-windows-x64": "5.1.54",- "oh-my-opencode-windows-x64-baseline": "5.1.54"+ "oh-my-opencode-darwin-arm64": "5.1.55",+ "oh-my-opencode-darwin-x64": "5.1.55",+ "oh-my-opencode-darwin-x64-baseline": "5.1.55",+ "oh-my-opencode-linux-arm64": "5.1.55",+ "oh-my-opencode-linux-arm64-musl": "5.1.55",+ "oh-my-opencode-linux-x64": "5.1.55",+ "oh-my-opencode-linux-x64-baseline": "5.1.55",+ "oh-my-opencode-linux-x64-musl": "5.1.55",+ "oh-my-opencode-linux-x64-musl-baseline": "5.1.55",+ "oh-my-opencode-windows-arm64": "5.1.55",+ "oh-my-opencode-windows-x64": "5.1.55",+ "oh-my-opencode-windows-x64-baseline": "5.1.55"},overrides: {hono: "^4.13.8",@@ -76953,6 +76955,7 @@ var init_agent = __esm(() => {prompt: string2().optional(),model: string2().optional(),models: array(OmoAgentModelEntrySchema).optional(),+ models_distribution: _enum(["sequential", "round_robin"]).optional(),reasoning: OmoReasoningSchema.optional(),variant: string2().optional(),reasoningEffort: OmoReasoningEffortSchema.optional(),@@ -76985,6 +76988,7 @@ var init_category = __esm(() => {description: string2().optional(),model: string2().optional(),models: array(union([string2(), OmoFallbackModelObjectSchema])).optional(),+ models_distribution: _enum(["sequential", "round_robin"]).optional(),reasoning: OmoReasoningSchema.optional(),temperature: number2().min(0).max(2).optional(),top_p: number2().min(0).max(1).optional(),@@ -78828,9 +78832,13 @@ function resolveModelReferences(view) {}var init_model_reference_resolution = () => {};+// packages/omo-config-core/src/models/models-distribution.ts+var init_models_distribution = () => {};+// packages/omo-config-core/src/models/index.tsvar init_models = __esm(() => {init_model_reference_resolution();+ init_models_distribution();});// packages/omo-config-core/src/writer/types.ts@@ -92677,7 +92685,7 @@ var package_default2;var init_package2 = __esm(() => {package_default2 = {name: "@oh-my-opencode/omo-codex",- version: "5.1.54",+ version: "5.1.55",type: "module",private: true,description: "Codex harness adapter for oh-my-openagent. Vendored Codex plugin namespace (omo) + TypeScript installer + telemetry.",@@ -104130,11 +104138,11 @@ function recordFields(value, fields) {}function modelInput(view) {const agents = isPlainRecord(view.agents) ? Object.fromEntries(Object.entries(view.agents).flatMap(([name, definition]) => {- const fields = recordFields(definition, ["description", "prompt", "model", "models", "variant", "reasoningEffort", "tools", "temperature", "disable"]);+ const fields = recordFields(definition, ["description", "prompt", "model", "models", "models_distribution", "variant", "reasoningEffort", "tools", "temperature", "disable"]);return fields === undefined ? [] : [[name, fields]];})) : undefined;const categories = isPlainRecord(view.categories) ? Object.fromEntries(Object.entries(view.categories).flatMap(([name, definition]) => {- const fields = recordFields(definition, ["description", "model", "fallback_models", "variant", "temperature", "top_p", "maxTokens", "thinking", "reasoningEffort", "textVerbosity", "tools", "prompt_append", "max_prompt_tokens", "is_unstable_agent", "disable"]);+ const fields = recordFields(definition, ["description", "model", "models", "models_distribution", "fallback_models", "variant", "temperature", "top_p", "maxTokens", "thinking", "reasoningEffort", "textVerbosity", "tools", "prompt_append", "max_prompt_tokens", "is_unstable_agent", "disable"]);return fields === undefined ? [] : [[name, fields]];})) : undefined;return {@@ -104408,6 +104416,7 @@ var AgentPermissionSchema = object({var AgentOverrideConfigSchema = object({model: string2().optional(),models: array(union([string2(), FallbackModelObjectSchema])).optional(),+ models_distribution: _enum(["sequential", "round_robin"]).optional(),fallback_models: FallbackModelsSchema.optional(),reasoning: OmoReasoningSchema.optional(),variant: string2().optional(),@@ -104508,6 +104517,7 @@ var CategoryConfigSchema = object({description: string2().optional(),model: string2().optional(),models: array(union([string2(), FallbackModelObjectSchema])).optional(),+ models_distribution: _enum(["sequential", "round_robin"]).optional(),fallback_models: FallbackModelsSchema.optional(),reasoning: OmoReasoningSchema.optional(),variant: string2().optional(),@@ -105071,7 +105081,8 @@ function materializeAgentModelChains(config) {return [name, {...rest,...primarySettings,- fallback_models: fallbacks+ fallback_models: fallbacks,+ ...agent.models_distribution === "round_robin" ? { models: agent.models } : {}}];}));return changed ? { ...config, agents } : config;diff --git a/plugins/omo/hooks/post-compact-resetting-git-bash-mcp-reminder.json b/plugins/omo/hooks/post-compact-resetting-git-bash-mcp-reminder.jsonindex c6841061..ba220383 100644--- a/plugins/omo/hooks/post-compact-resetting-git-bash-mcp-reminder.json+++ b/plugins/omo/hooks/post-compact-resetting-git-bash-mcp-reminder.json@@ -7,7 +7,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/components/git-bash/dist/cli.js\" hook post-compact","timeout": 5,- "statusMessage": "(OmO 5.1.54) Resetting Git Bash MCP Reminder",+ "statusMessage": "(OmO 5.1.55) Resetting Git Bash MCP Reminder","commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\git-bash\\dist\\cli.js\" hook post-compact"}],diff --git a/plugins/omo/hooks/post-compact-resetting-lsp-diagnostics-cache.json b/plugins/omo/hooks/post-compact-resetting-lsp-diagnostics-cache.jsonindex 3caac2f9..05ef2ae4 100644--- a/plugins/omo/hooks/post-compact-resetting-lsp-diagnostics-cache.json+++ b/plugins/omo/hooks/post-compact-resetting-lsp-diagnostics-cache.json@@ -7,7 +7,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/components/lsp/dist/cli.js\" hook post-compact","timeout": 5,- "statusMessage": "(OmO 5.1.54) Resetting LSP Diagnostics Cache",+ "statusMessage": "(OmO 5.1.55) Resetting LSP Diagnostics Cache","commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\lsp\\dist\\cli.js\" hook post-compact"}],diff --git a/plugins/omo/hooks/post-compact-resetting-project-rule-cache.json b/plugins/omo/hooks/post-compact-resetting-project-rule-cache.jsonindex 8abcc356..23963ea4 100644--- a/plugins/omo/hooks/post-compact-resetting-project-rule-cache.json+++ b/plugins/omo/hooks/post-compact-resetting-project-rule-cache.json@@ -7,7 +7,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/components/rules/dist/cli.js\" hook post-compact","timeout": 10,- "statusMessage": "(OmO 5.1.54) Resetting Project Rule Cache",+ "statusMessage": "(OmO 5.1.55) Resetting Project Rule Cache","commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\rules\\dist\\cli.js\" hook post-compact"}],diff --git a/plugins/omo/hooks/post-tool-use-checking-comments.json b/plugins/omo/hooks/post-tool-use-checking-comments.jsonindex 19149ef6..d7f20185 100644--- a/plugins/omo/hooks/post-tool-use-checking-comments.json+++ b/plugins/omo/hooks/post-tool-use-checking-comments.json@@ -7,7 +7,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/components/comment-checker/dist/cli.js\" hook post-tool-use","timeout": 30,- "statusMessage": "(OmO 5.1.54) Checking Comments",+ "statusMessage": "(OmO 5.1.55) Checking Comments","commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\comment-checker\\dist\\cli.js\" hook post-tool-use"}],diff --git a/plugins/omo/hooks/post-tool-use-checking-lsp-diagnostics.json b/plugins/omo/hooks/post-tool-use-checking-lsp-diagnostics.jsonindex e95c5d75..4b613142 100644--- a/plugins/omo/hooks/post-tool-use-checking-lsp-diagnostics.json+++ b/plugins/omo/hooks/post-tool-use-checking-lsp-diagnostics.json@@ -7,7 +7,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/components/lsp/dist/cli.js\" hook post-tool-use","timeout": 60,- "statusMessage": "(OmO 5.1.54) Checking LSP Diagnostics",+ "statusMessage": "(OmO 5.1.55) Checking LSP Diagnostics","commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\lsp\\dist\\cli.js\" hook post-tool-use"}],diff --git a/plugins/omo/hooks/post-tool-use-checking-thread-title-hygiene.json b/plugins/omo/hooks/post-tool-use-checking-thread-title-hygiene.jsonindex fbe82de9..ca69ebdb 100644--- a/plugins/omo/hooks/post-tool-use-checking-thread-title-hygiene.json+++ b/plugins/omo/hooks/post-tool-use-checking-thread-title-hygiene.json@@ -8,7 +8,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/components/teammode/dist/cli.js\" hook post-tool-use","timeout": 10,- "statusMessage": "(OmO 5.1.54) Checking Thread Title Hygiene",+ "statusMessage": "(OmO 5.1.55) Checking Thread Title Hygiene","commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\teammode\\dist\\cli.js\" hook post-tool-use"}]diff --git a/plugins/omo/hooks/post-tool-use-matching-project-rules.json b/plugins/omo/hooks/post-tool-use-matching-project-rules.jsonindex 81bfe79a..82e6f8d0 100644--- a/plugins/omo/hooks/post-tool-use-matching-project-rules.json+++ b/plugins/omo/hooks/post-tool-use-matching-project-rules.json@@ -7,7 +7,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/components/rules/dist/cli.js\" hook post-tool-use","timeout": 10,- "statusMessage": "(OmO 5.1.54) Matching Project Rules",+ "statusMessage": "(OmO 5.1.55) Matching Project Rules","commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\rules\\dist\\cli.js\" hook post-tool-use"}],diff --git a/plugins/omo/hooks/post-tool-use-recording-spawn-admission.json b/plugins/omo/hooks/post-tool-use-recording-spawn-admission.jsonindex cc098881..339cf3e6 100644--- a/plugins/omo/hooks/post-tool-use-recording-spawn-admission.json+++ b/plugins/omo/hooks/post-tool-use-recording-spawn-admission.json@@ -8,7 +8,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/components/ulw-loop/dist/cli.js\" hook post-tool-use-spawn","timeout": 5,- "statusMessage": "(OmO 5.1.54) Recording Spawn Admission",+ "statusMessage": "(OmO 5.1.55) Recording Spawn Admission","commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\ulw-loop\\dist\\cli.js\" hook post-tool-use-spawn"}]diff --git a/plugins/omo/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json b/plugins/omo/hooks/pre-tool-use-enforcing-unlimited-goal-budget.jsonindex 68fcfef2..295ca2a0 100644--- a/plugins/omo/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json+++ b/plugins/omo/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json@@ -7,7 +7,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/components/ulw-loop/dist/cli.js\" hook pre-tool-use","timeout": 5,- "statusMessage": "(OmO 5.1.54) Enforcing Unlimited Goal Budget",+ "statusMessage": "(OmO 5.1.55) Enforcing Unlimited Goal Budget","commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\ulw-loop\\dist\\cli.js\" hook pre-tool-use"}],diff --git a/plugins/omo/hooks/pre-tool-use-guarding-ulw-loop-spawns.json b/plugins/omo/hooks/pre-tool-use-guarding-ulw-loop-spawns.jsonindex c9959466..734eca27 100644--- a/plugins/omo/hooks/pre-tool-use-guarding-ulw-loop-spawns.json+++ b/plugins/omo/hooks/pre-tool-use-guarding-ulw-loop-spawns.json@@ -8,7 +8,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/components/ulw-loop/dist/cli.js\" hook pre-tool-use-spawn","timeout": 5,- "statusMessage": "(OmO 5.1.54) Guarding Ulw-Loop Spawns",+ "statusMessage": "(OmO 5.1.55) Guarding Ulw-Loop Spawns","commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\ulw-loop\\dist\\cli.js\" hook pre-tool-use-spawn"}]diff --git a/plugins/omo/hooks/pre-tool-use-recommending-git-bash-mcp.json b/plugins/omo/hooks/pre-tool-use-recommending-git-bash-mcp.jsonindex d90cad12..29dc3bca 100644--- a/plugins/omo/hooks/pre-tool-use-recommending-git-bash-mcp.json+++ b/plugins/omo/hooks/pre-tool-use-recommending-git-bash-mcp.json@@ -7,7 +7,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/components/git-bash/dist/cli.js\" hook pre-tool-use","timeout": 5,- "statusMessage": "(OmO 5.1.54) Recommending Git Bash MCP",+ "statusMessage": "(OmO 5.1.55) Recommending Git Bash MCP","commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\git-bash\\dist\\cli.js\" hook pre-tool-use"}],diff --git a/plugins/omo/hooks/session-start-checking-auto-update.json b/plugins/omo/hooks/session-start-checking-auto-update.jsonindex 9d1631bb..727eb702 100644--- a/plugins/omo/hooks/session-start-checking-auto-update.json+++ b/plugins/omo/hooks/session-start-checking-auto-update.json@@ -7,7 +7,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/scripts/auto-update.mjs\" hook session-start","timeout": 15,- "statusMessage": "(OmO 5.1.54) Checking Auto Update",+ "statusMessage": "(OmO 5.1.55) Checking Auto Update","commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\scripts\\auto-update.mjs\" hook session-start"}],diff --git a/plugins/omo/hooks/session-start-checking-bootstrap-provisioning.json b/plugins/omo/hooks/session-start-checking-bootstrap-provisioning.jsonindex e99168d3..47baa407 100644--- a/plugins/omo/hooks/session-start-checking-bootstrap-provisioning.json+++ b/plugins/omo/hooks/session-start-checking-bootstrap-provisioning.json@@ -8,7 +8,7 @@"command": "node \"${PLUGIN_ROOT}/components/bootstrap/dist/cli.js\" hook session-start","commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\bootstrap.ps1\"","timeout": 30,- "statusMessage": "(OmO 5.1.54) Checking Bootstrap Provisioning"+ "statusMessage": "(OmO 5.1.55) Checking Bootstrap Provisioning"}]}diff --git a/plugins/omo/hooks/session-start-loading-project-rules.json b/plugins/omo/hooks/session-start-loading-project-rules.jsonindex c55c0460..3a4cc1ec 100644--- a/plugins/omo/hooks/session-start-loading-project-rules.json+++ b/plugins/omo/hooks/session-start-loading-project-rules.json@@ -7,7 +7,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/components/rules/dist/cli.js\" hook session-start","timeout": 10,- "statusMessage": "(OmO 5.1.54) Loading Project Rules",+ "statusMessage": "(OmO 5.1.55) Loading Project Rules","commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\rules\\dist\\cli.js\" hook session-start"}]diff --git a/plugins/omo/hooks/session-start-recording-session-telemetry.json b/plugins/omo/hooks/session-start-recording-session-telemetry.jsonindex f333c524..cc6cbf20 100644--- a/plugins/omo/hooks/session-start-recording-session-telemetry.json+++ b/plugins/omo/hooks/session-start-recording-session-telemetry.json@@ -7,7 +7,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/components/telemetry/dist/cli.js\" hook session-start","timeout": 15,- "statusMessage": "(OmO 5.1.54) Recording Session Telemetry",+ "statusMessage": "(OmO 5.1.55) Recording Session Telemetry","commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\telemetry\\dist\\cli.js\" hook session-start"}]diff --git a/plugins/omo/hooks/stop-checking-ulw-execute-continuation.json b/plugins/omo/hooks/stop-checking-ulw-execute-continuation.jsonindex 5b13f3f4..29b413d4 100644--- a/plugins/omo/hooks/stop-checking-ulw-execute-continuation.json+++ b/plugins/omo/hooks/stop-checking-ulw-execute-continuation.json@@ -7,7 +7,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/components/ulw-execute-continuation/dist/cli.js\" hook stop","timeout": 10,- "statusMessage": "(OmO 5.1.54) Checking Ulw-Execute Continuation",+ "statusMessage": "(OmO 5.1.55) Checking Ulw-Execute Continuation","commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\ulw-execute-continuation\\dist\\cli.js\" hook stop"}]diff --git a/plugins/omo/hooks/stop-checking-ulw-loop-resume.json b/plugins/omo/hooks/stop-checking-ulw-loop-resume.jsonindex 91554cf7..15cc3782 100644--- a/plugins/omo/hooks/stop-checking-ulw-loop-resume.json+++ b/plugins/omo/hooks/stop-checking-ulw-loop-resume.json@@ -7,7 +7,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/components/ulw-loop/dist/cli.js\" hook stop","timeout": 10,- "statusMessage": "(OmO 5.1.54) Checking Ulw-Loop Resume",+ "statusMessage": "(OmO 5.1.55) Checking Ulw-Loop Resume","commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\ulw-loop\\dist\\cli.js\" hook stop"}]diff --git a/plugins/omo/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json b/plugins/omo/hooks/subagent-stop-verifying-lazycodex-executor-evidence.jsonindex ed11c263..6e8a449d 100644--- a/plugins/omo/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json+++ b/plugins/omo/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json@@ -7,7 +7,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/components/lazycodex-executor-verify/dist/cli.js\" hook subagent-stop","timeout": 10,- "statusMessage": "(OmO 5.1.54) Verifying LazyCodex Executor Evidence",+ "statusMessage": "(OmO 5.1.55) Verifying LazyCodex Executor Evidence","commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\lazycodex-executor-verify\\dist\\cli.js\" hook subagent-stop"}],diff --git a/plugins/omo/hooks/user-prompt-submit-checking-ultrawork-trigger.json b/plugins/omo/hooks/user-prompt-submit-checking-ultrawork-trigger.jsonindex 40452f6c..01f522be 100644--- a/plugins/omo/hooks/user-prompt-submit-checking-ultrawork-trigger.json+++ b/plugins/omo/hooks/user-prompt-submit-checking-ultrawork-trigger.json@@ -7,7 +7,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/components/ultrawork/dist/cli.js\" hook user-prompt-submit","timeout": 5,- "statusMessage": "(OmO 5.1.54) Checking Ultrawork Trigger",+ "statusMessage": "(OmO 5.1.55) Checking Ultrawork Trigger","commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\ultrawork\\dist\\cli.js\" hook user-prompt-submit"}]diff --git a/plugins/omo/hooks/user-prompt-submit-checking-ulw-loop-steering.json b/plugins/omo/hooks/user-prompt-submit-checking-ulw-loop-steering.jsonindex 28c1c808..b3435dbd 100644--- a/plugins/omo/hooks/user-prompt-submit-checking-ulw-loop-steering.json+++ b/plugins/omo/hooks/user-prompt-submit-checking-ulw-loop-steering.json@@ -7,7 +7,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/components/ulw-loop/dist/cli.js\" hook user-prompt-submit","timeout": 10,- "statusMessage": "(OmO 5.1.54) Checking Ulw-Loop Steering",+ "statusMessage": "(OmO 5.1.55) Checking Ulw-Loop Steering","commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\ulw-loop\\dist\\cli.js\" hook user-prompt-submit"}]diff --git a/plugins/omo/hooks/user-prompt-submit-loading-project-rules.json b/plugins/omo/hooks/user-prompt-submit-loading-project-rules.jsonindex 1bc1de2f..93fbef09 100644--- a/plugins/omo/hooks/user-prompt-submit-loading-project-rules.json+++ b/plugins/omo/hooks/user-prompt-submit-loading-project-rules.json@@ -7,7 +7,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/components/rules/dist/cli.js\" hook user-prompt-submit","timeout": 10,- "statusMessage": "(OmO 5.1.54) Loading Project Rules",+ "statusMessage": "(OmO 5.1.55) Loading Project Rules","commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\rules\\dist\\cli.js\" hook user-prompt-submit"}]diff --git a/plugins/omo/package-lock.json b/plugins/omo/package-lock.jsonindex 2c5df898..eaaa35cb 100644--- a/plugins/omo/package-lock.json+++ b/plugins/omo/package-lock.json@@ -1,12 +1,12 @@{"name": "@sisyphuslabs/omo-codex-plugin",- "version": "5.1.54",+ "version": "5.1.55","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "@sisyphuslabs/omo-codex-plugin",- "version": "5.1.54",+ "version": "5.1.55","workspaces": ["components/comment-checker","components/git-bash",@@ -100,7 +100,7 @@},"components/comment-checker": {"name": "@code-yeongyu/codex-comment-checker",- "version": "5.1.54",+ "version": "5.1.55","license": "MIT","bin": {"omo-comment-checker": "dist/cli.js"@@ -122,7 +122,7 @@},"components/git-bash": {"name": "@sisyphuslabs/codex-git-bash-hook",- "version": "5.1.54",+ "version": "5.1.55","bin": {"omo-git-bash-hook": "dist/cli.js"},@@ -136,7 +136,7 @@},"components/lazycodex-executor-verify": {"name": "@code-yeongyu/codex-lazycodex-executor-verify",- "version": "5.1.54",+ "version": "5.1.55","license": "MIT","bin": {"lazycodex-executor-verify": "dist/cli.js"@@ -154,7 +154,7 @@},"components/lsp": {"name": "@code-yeongyu/codex-lsp",- "version": "5.1.54",+ "version": "5.1.55","license": "MIT","dependencies": {"@code-yeongyu/lsp-daemon": "file:../../../../lsp-daemon",@@ -176,7 +176,7 @@},"components/rules": {"name": "@code-yeongyu/codex-rules",- "version": "5.1.54",+ "version": "5.1.55","license": "MIT","dependencies": {"picomatch": "^4.0.7"@@ -199,7 +199,7 @@},"components/teammode": {"name": "@sisyphuslabs/codex-teammode",- "version": "5.1.54",+ "version": "5.1.55","devDependencies": {"@types/node": "^26.6.2","@vitest/coverage-v8": "5.0.1",@@ -213,7 +213,7 @@},"components/telemetry": {"name": "@code-yeongyu/codex-telemetry",- "version": "5.1.54",+ "version": "5.1.55","license": "MIT","bin": {"omo-telemetry": "dist/cli.js"@@ -232,7 +232,7 @@},"components/ultrawork": {"name": "@code-yeongyu/codex-ultrawork",- "version": "5.1.54",+ "version": "5.1.55","license": "MIT","bin": {"omo-ultrawork": "dist/cli.js"@@ -251,7 +251,7 @@},"components/ulw-execute-continuation": {"name": "@code-yeongyu/codex-ulw-execute-continuation",- "version": "5.1.54",+ "version": "5.1.55","license": "MIT","bin": {"omo-ulw-execute-continuation": "dist/cli.js"@@ -269,7 +269,7 @@},"components/ulw-loop": {"name": "@code-yeongyu/codex-ulw-loop",- "version": "5.1.54",+ "version": "5.1.55","license": "MIT","bin": {"omo-ulw-loop": "dist/cli.js",diff --git a/plugins/omo/package.json b/plugins/omo/package.jsonindex da823627..c89f8d67 100644--- a/plugins/omo/package.json+++ b/plugins/omo/package.json@@ -1,6 +1,6 @@{"name": "@sisyphuslabs/omo-codex-plugin",- "version": "5.1.54",+ "version": "5.1.55","description": "Aggregate Codex plugin root for OMO components.","type": "module","packageManager": "[email protected]",diff --git a/plugins/omo/skills/browser/runtime/omowright/manifest.json b/plugins/omo/skills/browser/runtime/omowright/manifest.jsonindex 91974289..7e2054a9 100644--- a/plugins/omo/skills/browser/runtime/omowright/manifest.json+++ b/plugins/omo/skills/browser/runtime/omowright/manifest.json@@ -5,5 +5,5 @@"index.js": "8b14c1775f397e36967a0d094c67e2a31f8ae1e92add172925548723ca339046","page-bundle.js": "bfd51e8383cf47200d57387bbbed258bce5a3a3d00c38fc108034d2888e23f0c"},- "stagedAtUtc": "2026-10-31T16:02:49.033Z"+ "stagedAtUtc": "2026-11-01T07:08:24.597Z"}diff --git a/plugins/omo/skills/programming/SKILL.md b/plugins/omo/skills/programming/SKILL.mdindex e0f46c12..10fc3273 100644--- a/plugins/omo/skills/programming/SKILL.md+++ b/plugins/omo/skills/programming/SKILL.md@@ -199,6 +199,8 @@ uv run scripts/python/check-no-excuse-rules.py <changed paths>bash scripts/rust/check-no-excuse-rules.sh <changed paths># TypeScriptbun run scripts/typescript/check-no-excuse-rules.ts <changed paths>+# Any language, test files you touched: the junk classes a regex can see (candidates for "test your test")+bun run scripts/typescript/check-test-junk.ts <changed test paths>```### Step 2 — interpretdiff --git a/plugins/omo/skills/programming/references/testing/README.md b/plugins/omo/skills/programming/references/testing/README.mdindex f66560ce..52a78dec 100644--- a/plugins/omo/skills/programming/references/testing/README.md+++ b/plugins/omo/skills/programming/references/testing/README.md@@ -56,12 +56,12 @@ When delegating test-writing, hand the child the behavior the test must distingu## After writing: test your test-A test earns its place by failing. Before the PR, for each new or reshaped test:+A test earns its place by failing. Before the PR, run `bun run scripts/typescript/check-test-junk.ts <test files>` for the classes a regex can see (source grep, prose pin, fixed sleep, `.only`/`.skip`, self-comparison, lower bound), then for each new or reshaped test:1. **Break the owner** (flip the condition, drop the branch, return a constant, skip the write) and run the test. Confirm the mutated bytes are actually in the file before reading the result; a no-op edit "passes" identically to the original.2. **Red for the intended reason?** Read the failure message: a loose pattern can match the base's generic error by coincidence (a false red), and a fake that simulates the failure by a different mechanism than the guard reads fails with the fix present.3. **Still green?** Then one of: the test is vacuous (fix the assertion); the mutant is equivalent (a `try/catch`, fallback, or normalization maps it back to the same outcome: retarget the mutation at the observable claim); a second rule already produces the same outcome (make the input exercise only the rule under test and assert the recorded reason); or the mutated code is dead (delete the code, not the test's teeth).-4. **Restore byte for byte.** Never commit a mutation.+4. **Restore byte for byte.** Never commit a mutation. `bun run scripts/typescript/mutation-proof.ts --file <owner> --find <text> --replace <text> --test 'candidate=bun test <file>' --test 'keeper=bun test <file>'` does steps 1, 3 and 4 in one run and prints red/green per test.Assertion shapes that survive this step:diff --git a/plugins/omo/skills/programming/scripts/typescript/check-test-junk-rules.ts b/plugins/omo/skills/programming/scripts/typescript/check-test-junk-rules.tsnew file mode 100644index 00000000..5b51a981--- /dev/null+++ b/plugins/omo/skills/programming/scripts/typescript/check-test-junk-rules.ts@@ -0,0 +1,140 @@+import { extname } from "node:path"++export type RuleId =+ | "source-grep"+ | "prose-pin"+ | "fixed-sleep"+ | "focused"+ | "skipped"+ | "self-compare"+ | "lower-bound"++export type Language = "typescript" | "python" | "rust" | "go"++export type ReadKind = "prose" | "source"++export type LineRule = {+ readonly rule: RuleId+ readonly languages: readonly Language[]+ readonly pattern: RegExp+ readonly message: string+}++export const RULE_IDS: readonly RuleId[] = [+ "source-grep",+ "prose-pin",+ "fixed-sleep",+ "focused",+ "skipped",+ "self-compare",+ "lower-bound",+]++export function languageOf(file: string): Language | undefined {+ switch (extname(file)) {+ case ".ts":+ case ".tsx":+ case ".mts":+ case ".cts":+ case ".js":+ case ".jsx":+ case ".mjs":+ case ".cjs":+ return "typescript"+ case ".py":+ return "python"+ case ".rs":+ return "rust"+ case ".go":+ return "go"+ default:+ return undefined+ }+}++const SLEEP_MESSAGE = "fixed sleep: wait on the event or state change, not on the clock"+const SKIP_MESSAGE = "skipped test: fix the test or delete it with its proof; never park it"+const LOWER_BOUND_MESSAGE = "lower bound on a cardinality: removing one item stays green; pin the exact set"++export const LINE_RULES: readonly LineRule[] = [+ {+ rule: "fixed-sleep",+ languages: ["typescript"],+ pattern: /\bsetTimeout\s*\(\s*(resolve|res|r|done|cb)\s*,\s*[1-9]|\bawait\s+(Bun\.)?sleep\s*\(\s*[1-9]|new Promise\s*\(\s*\(?\s*\w*\s*\)?\s*=>\s*setTimeout\s*\(\s*\w+\s*,\s*[1-9]/,+ message: SLEEP_MESSAGE,+ },+ { rule: "fixed-sleep", languages: ["python"], pattern: /\btime\.sleep\s*\(|\bawait\s+(asyncio|anyio|trio)\.sleep\s*\(\s*[0-9]/, message: SLEEP_MESSAGE },+ { rule: "fixed-sleep", languages: ["rust"], pattern: /\bthread::sleep\s*\(|\btokio::time::sleep\s*\(/, message: SLEEP_MESSAGE },+ { rule: "fixed-sleep", languages: ["go"], pattern: /\btime\.Sleep\s*\(/, message: SLEEP_MESSAGE },+ {+ rule: "focused",+ languages: ["typescript"],+ pattern: /\b(test|it|describe)\.only\s*\(/,+ message: "focused test: the rest of the suite is skipped silently",+ },+ { rule: "skipped", languages: ["typescript"], pattern: /\b(test|it|describe)\.skip\s*\(|\b(xit|xdescribe|xtest)\s*\(/, message: SKIP_MESSAGE },+ { rule: "skipped", languages: ["python"], pattern: /@pytest\.mark\.skip\b|\bpytest\.skip\s*\(|\bunittest\.skip\b/, message: SKIP_MESSAGE },+ { rule: "skipped", languages: ["rust"], pattern: /#\[ignore\b/, message: SKIP_MESSAGE },+ { rule: "skipped", languages: ["go"], pattern: /\bt\.Skip(f|Now)?\s*\(/, message: SKIP_MESSAGE },+ {+ rule: "lower-bound",+ languages: ["typescript"],+ pattern: /\.(length|size|count)\s*\)\s*\.(toBeGreaterThan\s*\(\s*[1-9]|toBeGreaterThanOrEqual\s*\(\s*([2-9]|\d{2,}))/,+ message: LOWER_BOUND_MESSAGE,+ },+ {+ rule: "lower-bound",+ languages: ["python"],+ pattern: /\bassert\s+len\s*\(.+\)\s*(>\s*[1-9]|>=\s*([2-9]|\d{2,}))/,+ message: LOWER_BOUND_MESSAGE,+ },+]++export const SELF_COMPARE: Readonly<Record<Language, RegExp>> = {+ typescript: /\bexpect\s*\(\s*([^()]+?)\s*\)\s*\.(toBe|toEqual|toStrictEqual)\s*\(\s*\1\s*\)/,+ python: /\bassert\s+([A-Za-z_][\w.]*)\s*==\s*\1\s*(#|$)/,+ rust: /\bassert_eq!\s*\(\s*([^,()]+?)\s*,\s*\1\s*\)/,+ go: /\b(Equal|Exactly)\s*\(\s*t\s*,\s*([^,()]+?)\s*,\s*\2\s*\)/,+}++const SOURCE_EXTENSIONS = /\.(ts|tsx|mts|cts|js|jsx|mjs|cjs|py|rs|go)$/+const PROSE_EXTENSIONS = /\.(md|mdc|txt|prompt)$/+const READ_ASSIGNMENT = /\b(?:const|let|var)\s+(\w+)\s*=\s*(?:await\s+)?(?:\w+\.)?(?:readFileSync|readFile|readTextSync|Bun\.file|open|read_text|read)\s*\(([^\n]*)$/+const PYTHON_READ_ASSIGNMENT = /^\s*(\w+)\s*=\s*(?:\w+\.)?(?:open|Path|read_text)\s*\(([^\n]*)$/+const STRING_LITERAL = /["'`]([^"'`]+)["'`]/g++function readKindOf(callArguments: string): ReadKind | undefined {+ for (const literal of callArguments.matchAll(STRING_LITERAL)) {+ const value = literal[1] ?? ""+ if (PROSE_EXTENSIONS.test(value)) return "prose"+ if (SOURCE_EXTENSIONS.test(value)) return "source"+ }+ return undefined+}++export function collectReadVariables(lines: readonly string[], language: Language): ReadonlyMap<string, ReadKind> {+ const variables = new Map<string, ReadKind>()+ const pattern = language === "python" ? PYTHON_READ_ASSIGNMENT : READ_ASSIGNMENT+ for (const line of lines) {+ const match = pattern.exec(line)+ if (match === null) continue+ const kind = readKindOf(match[2] ?? "")+ if (kind !== undefined && match[1] !== undefined) variables.set(match[1], kind)+ }+ return variables+}++export function greppedVariable(line: string, language: Language): string | undefined {+ if (language === "python") {+ return /\bassert\s+(?:not\s+)?["'][^"']*["']\s+(?:not\s+)?in\s+(\w+)/.exec(line)?.[1]+ }+ return (+ /\bexpect\s*\(\s*(\w+)\s*\)\s*(?:\.not)?\.(?:toContain|toMatch|toMatchSnapshot|toMatchInlineSnapshot|toInclude|toStartWith|toEndWith)\s*\(/.exec(line)?.[1] ??+ /\bexpect\s*\(\s*(\w+)\.(?:includes|match|indexOf|search)\s*\(/.exec(line)?.[1]+ )+}++export const READ_RULE_MESSAGES: Readonly<Record<ReadKind, { readonly rule: RuleId; readonly message: string }>> = {+ prose: { rule: "prose-pin", message: "wording of a prompt/skill/doc is pinned; assert a machine-consumed value or write no test" },+ source: { rule: "source-grep", message: "a source file is grepped as text; drive the module and assert behavior" },+}diff --git a/plugins/omo/skills/programming/scripts/typescript/check-test-junk.ts b/plugins/omo/skills/programming/scripts/typescript/check-test-junk.tsnew file mode 100644index 00000000..392a351f--- /dev/null+++ b/plugins/omo/skills/programming/scripts/typescript/check-test-junk.ts@@ -0,0 +1,148 @@+#!/usr/bin/env bun+/**+ * Flag test files for the junk classes a regex can see (the rest need a reader):+ *+ * source-grep - a value read from a source file (.ts/.js/.py/.rs/.go/...) is grepped+ * (toContain / toMatch / includes / `in`); byte equality between two reads is not flagged+ * prose-pin - a value read from a prompt/skill/markdown file has its wording pinned+ * (toContain / not.toContain / toMatch / toMatchSnapshot / `in`)+ * fixed-sleep - setTimeout-as-wait, sleep(N), time.sleep, thread::sleep, time.Sleep+ * focused - test.only / it.only / describe.only (a focused test silently skips the suite)+ * skipped - .skip / xit / xdescribe / @pytest.mark.skip / #[ignore] / t.Skip+ * self-compare - expect(x).toBe(x) / assert x == x / assert_eq!(x, x)+ * lower-bound - toBeGreaterThan(N>=1) / toBeGreaterThanOrEqual(N>=2) on a length/size/count+ * (removing one item stays green; a plain non-empty check is not flagged)+ *+ * Opt out per line with a trailing comment naming the rule and the reason:+ * // test-junk-ok: fixed-sleep debounce window is the behavior under test+ *+ * Usage:+ * bun run scripts/typescript/check-test-junk.ts [--json] <file-or-dir>...+ *+ * Exit codes: 0 no findings, 1 findings, 2 input error.+ * Each class is explained in references/testing/junk-classes.md; a finding here is a candidate+ * to prove with references/testing/README.md "test your test", not an automatic deletion.+ */++import { readdirSync, readFileSync, statSync } from "node:fs"+import { basename, extname, join } from "node:path"+import process from "node:process"++import {+ collectReadVariables,+ greppedVariable,+ languageOf,+ LINE_RULES,+ READ_RULE_MESSAGES,+ RULE_IDS,+ SELF_COMPARE,+ type RuleId,+} from "./check-test-junk-rules"++export type { RuleId } from "./check-test-junk-rules"++export type Finding = {+ readonly file: string+ readonly line: number+ readonly rule: RuleId+ readonly message: string+}++const EXCLUDED_DIRS: ReadonlySet<string> = new Set([".git", "node_modules", "dist", "build", "target", "__pycache__", ".venv", "vendor"])++const TEST_FILE_PATTERNS: readonly RegExp[] = [+ /\.(test|spec)\.(ts|tsx|mts|cts|js|jsx|mjs|cjs)$/,+ /_test\.go$/,+ /(^|\/)test_[^/]*\.py$/,+ /(^|\/)[^/]*_test\.py$/,+ /\.rs$/,+]++const OPT_OUT = /test-junk-ok:\s*([a-z-]+)/++function isTestFile(file: string): boolean {+ if (!TEST_FILE_PATTERNS.some((pattern) => pattern.test(file))) return false+ // Rust unit tests live inside source files; only files declaring a test module count.+ return extname(file) !== ".rs" || /#\[cfg\(test\)\]|#\[test\]/.test(readFileSync(file, "utf8"))+}++function* walk(root: string): Generator<string> {+ if (statSync(root).isFile()) {+ yield root+ return+ }+ for (const entry of readdirSync(root, { withFileTypes: true })) {+ if (entry.isDirectory()) {+ if (!EXCLUDED_DIRS.has(entry.name)) yield* walk(join(root, entry.name))+ } else if (entry.isFile()) {+ yield join(root, entry.name)+ }+ }+}++function optedOut(line: string, rule: RuleId): boolean {+ const match = OPT_OUT.exec(line)+ return match !== null && match[1] === rule+}++function scanFile(file: string): readonly Finding[] {+ const language = languageOf(file)+ if (language === undefined) return []+ const lines = readFileSync(file, "utf8").split("\n")+ const readVariables = collectReadVariables(lines, language)+ const findings: Finding[] = []+ const report = (line: number, rule: RuleId, message: string): void => {+ if (!optedOut(lines[line - 1] ?? "", rule)) findings.push({ file, line, rule, message })+ }++ lines.forEach((source, index) => {+ const line = index + 1+ for (const rule of LINE_RULES) {+ if (rule.languages.includes(language) && rule.pattern.test(source)) report(line, rule.rule, rule.message)+ }+ if (SELF_COMPARE[language].test(source)) {+ report(line, "self-compare", "the expected value is the value under test; derive it from the input")+ }+ const grepped = greppedVariable(source, language)+ const kind = grepped === undefined ? undefined : readVariables.get(grepped)+ if (kind !== undefined) report(line, READ_RULE_MESSAGES[kind].rule, READ_RULE_MESSAGES[kind].message)+ })+ return findings+}++function scan(paths: readonly string[]): readonly Finding[] {+ const findings: Finding[] = []+ for (const root of paths) {+ for (const file of walk(root)) {+ if (isTestFile(file)) findings.push(...scanFile(file))+ }+ }+ return findings+}++function main(argv: readonly string[]): number {+ const json = argv.includes("--json")+ const paths = argv.filter((arg) => arg !== "--json")+ if (paths.length === 0) {+ console.error(`usage: ${basename(import.meta.path)} [--json] <file-or-dir>...`)+ return 2+ }+ for (const path of paths) {+ try {+ statSync(path)+ } catch {+ console.error(`error: ${path} does not exist`)+ return 2+ }+ }+ const findings = scan(paths)+ if (json) {+ console.log(JSON.stringify({ findings, rules: RULE_IDS }, null, 2))+ } else {+ for (const finding of findings) console.log(`${finding.file}:${finding.line} ${finding.rule} ${finding.message}`)+ console.log(findings.length === 0 ? "check-test-junk: no findings" : `check-test-junk: ${findings.length} finding(s)`)+ }+ return findings.length === 0 ? 0 : 1+}++if (import.meta.main) process.exit(main(process.argv.slice(2)))diff --git a/plugins/omo/skills/programming/scripts/typescript/mutation-proof.ts b/plugins/omo/skills/programming/scripts/typescript/mutation-proof.tsnew file mode 100644index 00000000..43087df2--- /dev/null+++ b/plugins/omo/skills/programming/scripts/typescript/mutation-proof.ts@@ -0,0 +1,179 @@+#!/usr/bin/env bun+/**+ * Prove that a test can fail: apply one exact-match edit to a production file, run each test+ * command against the mutated owner, then restore the original bytes and verify their hash.+ *+ * Usage:+ * bun run scripts/typescript/mutation-proof.ts --file <path> --find <text> --replace <text> \+ * --test '<label>=<argv...>' [--test ...] [--cwd <dir>] [--json]+ *+ * --test takes "label=command words"; the command is split on spaces and quoting is not+ * supported, so select a test by a pattern without spaces or run the whole file.+ *+ * Verdicts per test: red (exit != 0, the test caught the mutation) or green (exit 0, it did not).+ * The owner is restored on success, on a thrown error, and on SIGINT/SIGTERM.+ * Exit codes: 0 ran and restored, 1 the find text is empty or did not match exactly once or the+ * restore hash differed (the file was still restored), 2 usage, 130/143 interrupted and restored.+ * Read references/testing/junk-classes.md "Proof rule" for how to read a candidate/keeper pair.+ */++import { createHash } from "node:crypto"+import { readFileSync, writeFileSync } from "node:fs"+import { resolve } from "node:path"+import process from "node:process"+import { parseArgs } from "node:util"++export type MutationTest = { readonly label: string; readonly command: readonly string[] }++export type MutationOutcome = {+ readonly label: string+ readonly command: readonly string[]+ readonly exitCode: number+ readonly verdict: "red" | "green"+ readonly outputTail: string+}++export type MutationResult = {+ readonly file: string+ readonly find: string+ readonly replace: string+ readonly originalSha256: string+ readonly restoredSha256: string+ readonly outcomes: readonly MutationOutcome[]+}++export class MutationError extends Error {+ constructor(+ readonly kind: "FIND_EMPTY" | "FIND_NOT_UNIQUE" | "RESTORE_MISMATCH",+ message: string,+ ) {+ super(message)+ this.name = "MutationError"+ }+}++const sha256 = (bytes: Uint8Array): string => createHash("sha256").update(bytes).digest("hex")++async function runCaptured(command: readonly string[], cwd: string): Promise<{ readonly exitCode: number; readonly outputTail: string }> {+ const child = Bun.spawn([...command], { cwd, stdin: "ignore", stdout: "pipe", stderr: "pipe" })+ const [stdout, stderr, exitCode] = await Promise.all([+ new Response(child.stdout).text(),+ new Response(child.stderr).text(),+ child.exited,+ ])+ const lines = `${stdout}${stderr}`.trimEnd().split("\n")+ return { exitCode, outputTail: lines.slice(-30).join("\n") }+}++export async function runMutation(options: {+ readonly cwd: string+ readonly file: string+ readonly find: string+ readonly replace: string+ readonly tests: readonly MutationTest[]+}): Promise<MutationResult> {+ if (options.find.length === 0) throw new MutationError("FIND_EMPTY", `${options.file}: find text is empty`)+ const full = resolve(options.cwd, options.file)+ const original = readFileSync(full)+ const text = original.toString("utf8")+ const occurrences = text.split(options.find).length - 1+ if (occurrences !== 1) {+ throw new MutationError("FIND_NOT_UNIQUE", `${options.file}: find matched ${occurrences} times (need exactly 1)`)+ }+ const originalSha256 = sha256(original)+ const outcomes: MutationOutcome[] = []+ const restoreOnSignal = (signal: NodeJS.Signals): void => {+ writeFileSync(full, original)+ process.exit(signal === "SIGINT" ? 130 : 143)+ }+ process.on("SIGINT", restoreOnSignal)+ process.on("SIGTERM", restoreOnSignal)+ try {+ writeFileSync(full, text.replace(options.find, () => options.replace))+ for (const test of options.tests) {+ const run = await runCaptured(test.command, options.cwd)+ outcomes.push({+ label: test.label,+ command: test.command,+ exitCode: run.exitCode,+ verdict: run.exitCode === 0 ? "green" : "red",+ outputTail: run.outputTail,+ })+ }+ } finally {+ writeFileSync(full, original)+ process.off("SIGINT", restoreOnSignal)+ process.off("SIGTERM", restoreOnSignal)+ }+ const restoredSha256 = sha256(readFileSync(full))+ if (restoredSha256 !== originalSha256) {+ throw new MutationError("RESTORE_MISMATCH", `${options.file} not restored byte for byte`)+ }+ return { file: options.file, find: options.find, replace: options.replace, originalSha256, restoredSha256, outcomes }+}++function parseTest(spec: string): MutationTest | undefined {+ const separator = spec.indexOf("=")+ if (separator <= 0) return undefined+ const label = spec.slice(0, separator)+ const command = spec+ .slice(separator + 1)+ .split(" ")+ .filter((word) => word.length > 0)+ return command.length === 0 ? undefined : { label, command }+}++function usage(): number {+ console.error(+ "usage: mutation-proof.ts --file <path> --find <text> --replace <text> --test '<label>=<argv...>' [--test ...] [--cwd <dir>] [--json]",+ )+ return 2+}++async function main(argv: readonly string[]): Promise<number> {+ const { values } = parseArgs({+ args: [...argv],+ options: {+ file: { type: "string" },+ find: { type: "string" },+ replace: { type: "string" },+ test: { type: "string", multiple: true },+ cwd: { type: "string", default: process.cwd() },+ json: { type: "boolean", default: false },+ },+ strict: true,+ })+ if (values.file === undefined || values.find === undefined || values.replace === undefined || values.test === undefined) {+ return usage()+ }+ const tests: MutationTest[] = []+ for (const spec of values.test) {+ const parsed = parseTest(spec)+ if (parsed === undefined) return usage()+ tests.push(parsed)+ }+ try {+ const result = await runMutation({+ cwd: values.cwd ?? process.cwd(),+ file: values.file,+ find: values.find,+ replace: values.replace,+ tests,+ })+ if (values.json) {+ console.log(JSON.stringify(result, null, 2))+ } else {+ for (const outcome of result.outcomes) console.log(`${outcome.label}: ${outcome.verdict} (exit ${outcome.exitCode})`)+ console.log(`restored ${result.file} (sha256 ${result.restoredSha256.slice(0, 12)})`)+ }+ return 0+ } catch (error) {+ if (error instanceof MutationError) {+ console.error(`mutation-proof: ${error.kind}: ${error.message}`)+ return 1+ }+ throw error+ }+}++if (import.meta.main) process.exit(await main(process.argv.slice(2)))diff --git a/plugins/omo/skills/remove-ai-slops/SKILL.md b/plugins/omo/skills/remove-ai-slops/SKILL.mdindex c6ced79c..a03ae89c 100644--- a/plugins/omo/skills/remove-ai-slops/SKILL.md+++ b/plugins/omo/skills/remove-ai-slops/SKILL.md@@ -1,6 +1,6 @@---name: remove-ai-slops-description: "Removes AI-generated code smells from branch changes or an explicit file list behind regression tests. Use when the user asks to clean up, deslop, or remove AI-slop patterns from recent changes."+description: "Removes AI-generated code smells from branch changes or an explicit file list behind regression tests, including junk tests (prose pins, source greps, copied inventories, mock echoes), each proven by its class's rule before a cut. Use when the user asks to clean up, deslop, remove AI-slop patterns, or prune tests from recent changes."argument-hint: "[file ...]"---@@ -45,7 +45,7 @@ The core safety invariant: **behavior is locked by green tests before a single l## Categories (what counts as slop)-The agent looks for these nine categories. The first three are stylistic, the next three are structural, the next two are about hidden cost, and the last is about behavior coverage.+The agent looks for these ten categories. The first three are stylistic, the next three are structural, the next two are about hidden cost, the ninth is tests, and the last is size.### Stylistic1. **Obvious comments** — comments restating code, trivial docstrings, section dividers, commented-out code, vague TODOs/Notes.@@ -86,10 +86,13 @@ The agent looks for these nine categories. The first three are stylistic, the ne**Hard rule**: only apply when behavior equivalence is obvious. Do NOT change algorithms with subtle correctness implications. Do NOT micro-optimize hot paths without a benchmark. If in doubt, SKIP.-### Behavior coverage-9. **Missing tests** — behavior present in changed files that is not locked by any regression test. The fix is not to remove code but to ADD the narrowest test that pins the behavior. EXCEPTION: a PROSE file (prompt, `SKILL.md`, rule, markdown) has no behavioral seam — do NOT add a text/word-count/phrase pin for it; that guards a diff, not behavior. Cover only a machine-consumed value (parsed field, sentinel a runtime greps, a doc JSON sample through its real validator) or leave it to review.+### Tests+9. **Tests: missing or junk** — tests are code in scope like any other file, judged by the one table in the `programming` skill, `references/testing/junk-classes.md` (junk classes, retention bar, R/F/C/D marks, proof rule). Two directions:+ - **Missing**: a behavior in the changed files that no test guards, where the repository keeps tests for that kind of behavior and a regression would otherwise pass unnoticed. ADD the narrowest test that passes the four-question authoring gate (`references/testing/README.md`); name its owner contract. A PROSE file (prompt, `SKILL.md`, rule, markdown) has no behavioral seam: cover only a machine-consumed value (parsed field, sentinel a runtime greps, a doc JSON sample through its real validator) or leave it to review.+ - **Junk**: mark every in-scope test declaration `R` / `F` / `C` / `D`. A `D` or `C` needs the proof the table names for its class BEFORE the cut: for a behavior class (cannot fail, mock echo, source grep, duplicate contract, layer replay, implementation mirror, fabricated postcondition, input transcript) a mutation of the production owner run against the candidate and its named keeper on the unmodified test tree; for a prose pin the assertion line plus the repo's prose rule; for a change certificate the revert that turns it red; for a seam keeper the `knip`/grep showing no production caller; for a copied inventory the generator or consumer that owns it; for a capability restatement the delivery test that owns the promise (none: `F`, not `D`); for near-duplicate cases the one table that keeps every old assertion (typecheck after). A misnamed test is re-marked by what its assertions check, never cut for its name. A mutation proves `D` only when the keeper goes red and the candidate stays green (cannot fail) or both go red (redundant); a candidate that is the ONLY red is `R`, or `C` into the keeper and re-run. Mutations run in Phase 4b, serially, by the orchestrator, never by a batch worker. A test-only production seam (export, flag, getter, reset hook) whose last test was deleted goes with it.+ - KEEP: everything under the retention bar (public API, protocol, config, migration, storage, security, platform, shipped-copy equality, Node-compat suites, issue regressions, machine-consumed text). A test that is red on the unchanged base is a product bug to report, never a deletion. Static or slow is never a reason to delete.-### Structural+### Size10. **Oversized modules** — any source file exceeding **250 pure LOC** (non-blank, non-comment lines). This is an architectural defect, not a style preference. Measure: `awk '!/^[[:space:]]*$/ && !/^[[:space:]]*(#|\/\/)/' <file> | wc -l`.**When found, do NOT just flag it. Execute a full modular refactoring:**@@ -147,16 +150,17 @@ For each in-scope source file:1. Identify the public/observable behavior the file exposes (exported functions, HTTP handlers, CLI commands, classes used elsewhere).2. Check whether existing tests cover that behavior. Use `git grep` / project test conventions to find related test files.-3. **If behavior is uncovered or weakly covered, write the narrowest regression test that pins current behavior BEFORE editing the file.** Tests should pin observable outputs, not implementation details. A PROSE file (prompt/`SKILL.md`/rule/markdown) is exempt — its wording is not behavior; skip the test and rely on review, or assert only a machine-consumed value.-4. Run the test suite (or at minimum the relevant tests). They must be **green** before any cleanup begins.+3. **If a behavior the cleanup could change is uncovered, write the narrowest test that passes the authoring gate (`programming/references/testing/README.md`) BEFORE editing the file**, and name the behavior it guards. It asserts observable outputs at the real boundary, never the implementation shape the cleanup is about to change, and never a value derived from the code under test. A PROSE file (prompt/`SKILL.md`/rule/markdown) is exempt: its wording is not behavior; skip the test and rely on review, or assert only a machine-consumed value.+4. Run the test suite (or at minimum the relevant tests). A test that is red on the unchanged base is recorded as a bug (baseline-red list), excluded from every proof, and neither fixed in this pass nor deleted; everything else must be **green** before any cleanup begins.+5. Run the `programming` skill's static detector over every in-scope test file, the ones written in step 3 included: `bun run <programming skill dir>/scripts/typescript/check-test-junk.ts <test files>` (exit 1 lists `file:line` per junk class it can see: source grep, prose pin, fixed sleep, `.only`/`.skip`, self-comparison, lower-bound cardinality). Its findings are category-9 candidates for the Tests Ledger (marked `R`/`F`/`C`/`D` by the table once its proof runs), never automatic cuts, and a test from step 3 that it flags is rewritten before the pass continues.-If you cannot establish a green baseline (e.g., test runner is broken), STOP and report. Do not proceed with cleanup on unverified ground.+Only a broken runner stops the pass: if the suite cannot run at all, STOP and report. Do not proceed with cleanup on unverified ground.### Phase 3: Cleanup plan — existence first, then smellsThe largest, safest deletion is code that should not have existed. **Before categorizing smells, run the deletion ladder on each changed unit:**-- **Delete entirely** — the behavior is not needed (YAGNI, speculative, dead on arrival).+- **Delete entirely** — the behavior is not needed (YAGNI, speculative, dead on arrival); for a test, its contract is already owned by a keeper or it has none (category 9, with the proof).- **Reuse** — an existing helper or pattern in this repo already does it; replace the reimplementation with a call to it.- **Platform / stdlib / native / dependency** — the language stdlib, the runtime, or an already-installed dependency already does it (a hand-rolled date picker → `<input type="date">`, a custom query parser → `URLSearchParams`, a bespoke debounce → the util already imported).- **Simplify in place** — it must exist; make it smaller.@@ -183,11 +187,11 @@ File: src/bar.py**Intentional shortcuts:** if the plan deliberately keeps a bounded simplification (a naive scan fine under N rows, a global lock, an O(n²) path), mark it in-code with a `debt:` comment naming the ceiling and the upgrade trigger (in omo, prefix with `// @allow` so the comment-checker treats it as intentional), and list it under "Remaining Risks / Deferred" in the report. That section is the debt ledger — a simplification with a known ceiling and no marker is indistinguishable from a bug.-Order rule (safest → riskiest): comments → dead code → defensive → duplication → complexity → abstraction/boundary → performance → tests → oversized-modules. This minimizes blast radius of any one change.+Order rule (safest → riskiest): comments → dead code → defensive → duplication → complexity → abstraction/boundary → performance → tests (`F` rows; `D`/`C` wait for Phase 4b) → oversized-modules. This minimizes blast radius of any one change.### Phase 4: Parallel slop removal via `deep-low` agents in batches of 5-Files are processed by `deep-low` category agents with the `$omo:remove-ai-slops` skill loaded, **batched 5 at a time in parallel**. The executable skill name is `remove-ai-slops`. The `deep-low` category gives the agent enough thoroughness to correctly evaluate the 9 categories and respect the KEEP rules without slipping into surface fixes; the 5-wide batch is the sweet spot — more than 5 creates result-merging noise and context contention, fewer wastes parallelism.+Files are processed by `deep-low` category agents with the `$omo:remove-ai-slops` skill loaded, **batched 5 at a time in parallel**. The executable skill name is `remove-ai-slops`. The `deep-low` category gives the agent enough thoroughness to correctly evaluate the 10 categories and respect the KEEP rules without slipping into surface fixes; the 5-wide batch is the sweet spot — more than 5 creates result-merging noise and context contention, fewer wastes parallelism.**Batching protocol** (strict):@@ -213,9 +217,9 @@ Remove AI slops from: {file_path}First run the deletion ladder from Phase 3 on this file (delete entirely / reuse existing repo code / platform-stdlib-native / simplify in place); only code that must exist proceeds to smell removal.-Then evaluate EVERY category defined in this skill's "Categories (what counts as slop)" section, applying that section's KEEP and REFACTOR rules verbatim — the Categories section you have loaded is canonical, do not work from a restated subset.+Then evaluate EVERY category defined in this skill's "Categories (what counts as slop)" section, applying that section's KEEP and REFACTOR rules verbatim — the Categories section you have loaded is canonical, do not work from a restated subset. For a test file, do NOT cut yet: mark every declaration R/F/C/D against `programming/references/testing/junk-classes.md` and return one ledger row per D/C/F (`| test | mark | keeper or reason | proposed proof |`), where the proposed proof names the class's proof kind and, for a mutation, the owner file, the exact find/replace, and the keeper to run. This worker applies `F` rows in the test file it owns and reports them in the ledger as applied; `D`/`C` rows are returned uncut; it never mutates any file to prove a test - the orchestrator runs the proofs in Phase 4b.-Apply changes in this order (safest → riskiest): comments → dead code → defensive → duplication → complexity → abstraction/boundary → performance → oversized-modules.+Apply changes in this order (safest → riskiest): comments → dead code → defensive → duplication → complexity → abstraction/boundary → performance → tests (`F` rows; `D`/`C` wait for Phase 4b) → oversized-modules.Hard constraints:- Behavior MUST be preserved. When equivalence is not obvious, SKIP.@@ -225,11 +229,15 @@ Hard constraints:- Diff stays minimal and scoped to slop removal.Report changes grouped by category. For each change, give before/after, why-slop, why-safe.-For each skipped issue, give reason.+For each skipped issue, give reason. For a test file, end with the ledger rows.""")```+### Phase 4b: Prove the test cuts, serially, then cut++After the last batch finishes and no worker is running, the orchestrator takes the collected ledger rows. For each row whose proof is a mutation, run the `programming` skill's `bun run <programming skill dir>/scripts/typescript/mutation-proof.ts --file <owner> --find <text> --replace <text> --test 'candidate=<argv>' --test 'keeper=<argv>'` (add `--json` for the ledger; each `--test` value is split on spaces with no quoting, so a filter that contains a space needs a wrapper script or a file-path target instead): it applies the find/replace to the production owner, runs the candidate and the keeper on the unmodified test tree, records both verdicts, and restores the owner byte for byte (sha256-checked) before the next row. One mutation at a time, never while another worker or test run is live, and never two on the same file; a mutation touches a file outside the diff only transiently and is never committed. Rows proven per the table become the cuts; a D or C whose proof fails or was not run is an R. Non-mutation proofs (prose pin, change certificate, seam keeper, copied inventory, capability restatement, near-duplicate cases) are checked here too, from the row's evidence.+**Batch failure handling**: a `multi_agent_v1.wait_agent` timeout only means no new mailbox update arrived, not that a `deep-low` agent failed. For long passes, require each child to send `WORKING: <file> - <current phase>` and `BLOCKED: <reason>` only when it cannot progress. Treat a running child as alive. Mark a file for retry only when the child is completed without the deliverable, ack-only after followup, explicitly `BLOCKED:`, or no longer running. Do NOT block the remaining 4 in that batch; collect successful results and retry the failed file once later. If retry also fails, escalate that file under "Issues Found & Fixed" in the final report.### Phase 5: Verify with quality gates + critical review@@ -284,8 +292,8 @@ Files: [N files]Behavior Lock:- Existing coverage: [N files already covered]- - Tests added: [M new regression tests at path/to/test_X.py]- - Baseline status: GREEN+ - Tests added: [M gate-passing tests at path/to/test_X.py, each naming its contract]+ - Baseline status: GREEN apart from the baseline-red list (recorded as bugs, excluded from proofs, not deleted): [none] OR [list]Cleanup Plan:- path/to/file1.ts: [ladder: 1 delete (native) + simplify-in-place] → [dead code → complexity → performance]@@ -303,6 +311,12 @@ Per-File Results (each cut shows what replaces it):- Obvious comments: 5 removed → nothing- Over-defensive: 1 simplified (redundant isinstance on typed param)+Tests Ledger (category 9; one row per test declaration marked D/C/F, proofs run in Phase 4b):+ | Test | Mark | Keeper / reason | Proof |+ |---|---|---|---|+ | `foo.test.ts > reads the source for "export"` | D | source grep; `foo.test.ts > exports parse()` owns the contract | mutation parse.ts `return tokens` -> `return []`: candidate green, keeper red; restored sha-equal |+ | `skill.test.ts > mentions the gate` | D | prose pin on SKILL.md | assertion line + repo prose rule (no mutation applies) |+Quality Gates:- Regression tests: PASS (12 tests, 0 failed)- Lint: PASS@@ -355,7 +369,5 @@ Final Status: CLEAN | ISSUES FIXED | REQUIRES ATTENTION## Quality Assurance- NEVER remove code that serves a functional purpose.-- ALWAYS verify changes compile/parse and pass type-check.-- ALWAYS preserve test coverage; add tests rather than remove them.-- If uncertain about a change, err on the side of keeping the original code.-- The default action when in doubt is SKIP, not GUESS.+- Preserve every proven contract: a test leaves only with its proof receipt (category 9), and a missing contract gets a gate-passing test, never a change certificate.+- When in doubt, SKIP and keep the original; never GUESS.diff --git a/plugins/omo/skills/ulw-research/scripts/source-commands.mjs b/plugins/omo/skills/ulw-research/scripts/source-commands.mjsindex 1a86135d..dcd848b6 100644--- a/plugins/omo/skills/ulw-research/scripts/source-commands.mjs+++ b/plugins/omo/skills/ulw-research/scripts/source-commands.mjs@@ -143,7 +143,9 @@ function declareOverKeptRaw(sourcesDir, id, input) {const dir = join(sourcesDir, String(id))if (input.kind !== "converted-only" || !existsSync(join(dir, "raw.bin")) || !existsSync(join(dir, "meta.json"))) returnconst before = JSON.parse(readFileSync(join(dir, "meta.json"), "utf8"))- Object.assign(input, { url: before.url, raw: readFileSync(join(dir, "raw.bin")), kind: before.kind, declared: true })+ const raw = readFileSync(join(dir, "raw.bin"))+ if (sha256Of(raw) !== before.sha256) throw new CliError(`snapshot_hash_mismatch: ${id} raw.bin no longer matches its pinned hash`)+ Object.assign(input, { url: before.url, raw, kind: before.kind, observed_at: before.observed_at, declared: true })delete input.path}