oh-my-opencode 5.1.30 → 5.1.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist/cli/index.js +25 -19
  2. package/dist/cli/service-auth/commands.d.ts +11 -0
  3. package/dist/cli-node/index.js +25 -19
  4. package/dist/features/background-agent/task-poller.d.ts +3 -0
  5. package/dist/features/team-mode/tools/lifecycle-inline-spec.d.ts +1 -0
  6. package/dist/hooks/keyword-detector/constants.d.ts +1 -0
  7. package/dist/index.js +172 -60
  8. package/dist/skills/browser/runtime/omowright/manifest.json +1 -1
  9. package/dist/skills/ulw-execute/SKILL.md +2 -2
  10. package/dist/tools/delegate-task/executor-types.d.ts +1 -0
  11. package/dist/tools/delegate-task/sync-session-creator.d.ts +1 -0
  12. package/dist/tools/delegate-task/types.d.ts +2 -0
  13. package/dist/tools/session-manager/session-error.d.ts +7 -0
  14. package/dist/tui.js +18 -16
  15. package/package.json +14 -14
  16. package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
  17. package/packages/omo-codex/plugin/components/bootstrap/dist/cli.js +4 -2
  18. package/packages/omo-codex/plugin/components/bootstrap/hooks/hooks.json +1 -1
  19. package/packages/omo-codex/plugin/components/bootstrap/package.json +1 -1
  20. package/packages/omo-codex/plugin/components/comment-checker/hooks/hooks.json +1 -1
  21. package/packages/omo-codex/plugin/components/comment-checker/package.json +1 -1
  22. package/packages/omo-codex/plugin/components/git-bash/hooks/hooks.json +2 -2
  23. package/packages/omo-codex/plugin/components/git-bash/package.json +1 -1
  24. package/packages/omo-codex/plugin/components/lazycodex-executor-verify/hooks/hooks.json +1 -1
  25. package/packages/omo-codex/plugin/components/lazycodex-executor-verify/package.json +1 -1
  26. package/packages/omo-codex/plugin/components/lcx/skills/lcx-contribute-bug-fix/SKILL.md +7 -4
  27. package/packages/omo-codex/plugin/components/lsp/dist/.omo-runtime-manifest.json +2 -2
  28. package/packages/omo-codex/plugin/components/lsp/hooks/hooks.json +2 -2
  29. package/packages/omo-codex/plugin/components/lsp/package.json +1 -1
  30. package/packages/omo-codex/plugin/components/rules/hooks/hooks.json +4 -4
  31. package/packages/omo-codex/plugin/components/rules/package.json +1 -1
  32. package/packages/omo-codex/plugin/components/teammode/hooks/hooks.json +1 -1
  33. package/packages/omo-codex/plugin/components/teammode/package.json +1 -1
  34. package/packages/omo-codex/plugin/components/teammode/skills/teammode/SKILL.md +3 -3
  35. package/packages/omo-codex/plugin/components/telemetry/hooks/hooks.json +1 -1
  36. package/packages/omo-codex/plugin/components/telemetry/package.json +1 -1
  37. package/packages/omo-codex/plugin/components/ultrawork/dist/cli.js +18 -15
  38. package/packages/omo-codex/plugin/components/ultrawork/hooks/hooks.json +1 -1
  39. package/packages/omo-codex/plugin/components/ultrawork/package.json +1 -1
  40. package/packages/omo-codex/plugin/components/ultrawork/src/directive-content.ts +1 -1
  41. package/packages/omo-codex/plugin/components/ulw-execute-continuation/hooks/hooks.json +1 -1
  42. package/packages/omo-codex/plugin/components/ulw-execute-continuation/package.json +1 -1
  43. package/packages/omo-codex/plugin/components/ulw-loop/directive.md +18 -15
  44. package/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json +5 -5
  45. package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
  46. package/packages/omo-codex/plugin/components/ulw-loop/skills/ulw-loop/SKILL.md +2 -2
  47. package/packages/omo-codex/plugin/components/ulw-loop/skills/ulw-loop/references/full-workflow.md +2 -2
  48. package/packages/omo-codex/plugin/hooks/post-compact-resetting-git-bash-mcp-reminder.json +1 -1
  49. package/packages/omo-codex/plugin/hooks/post-compact-resetting-lsp-diagnostics-cache.json +1 -1
  50. package/packages/omo-codex/plugin/hooks/post-compact-resetting-project-rule-cache.json +1 -1
  51. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-comments.json +1 -1
  52. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-lsp-diagnostics.json +1 -1
  53. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-thread-title-hygiene.json +1 -1
  54. package/packages/omo-codex/plugin/hooks/post-tool-use-matching-project-rules.json +1 -1
  55. package/packages/omo-codex/plugin/hooks/post-tool-use-recording-spawn-admission.json +1 -1
  56. package/packages/omo-codex/plugin/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json +1 -1
  57. package/packages/omo-codex/plugin/hooks/pre-tool-use-guarding-ulw-loop-spawns.json +1 -1
  58. package/packages/omo-codex/plugin/hooks/pre-tool-use-recommending-git-bash-mcp.json +1 -1
  59. package/packages/omo-codex/plugin/hooks/session-start-checking-auto-update.json +1 -1
  60. package/packages/omo-codex/plugin/hooks/session-start-checking-bootstrap-provisioning.json +1 -1
  61. package/packages/omo-codex/plugin/hooks/session-start-loading-project-rules.json +1 -1
  62. package/packages/omo-codex/plugin/hooks/session-start-recording-session-telemetry.json +1 -1
  63. package/packages/omo-codex/plugin/hooks/stop-checking-ulw-execute-continuation.json +1 -1
  64. package/packages/omo-codex/plugin/hooks/stop-checking-ulw-loop-resume.json +1 -1
  65. package/packages/omo-codex/plugin/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json +1 -1
  66. package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ultrawork-trigger.json +1 -1
  67. package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ulw-loop-steering.json +1 -1
  68. package/packages/omo-codex/plugin/hooks/user-prompt-submit-loading-project-rules.json +1 -1
  69. package/packages/omo-codex/plugin/package-lock.json +12 -12
  70. package/packages/omo-codex/plugin/package.json +1 -1
  71. package/packages/omo-codex/plugin/scripts/sync-skills.mjs +2 -2
  72. package/packages/omo-codex/plugin/skills/browser/runtime/omowright/manifest.json +1 -1
  73. package/packages/omo-codex/plugin/skills/lcx-contribute-bug-fix/SKILL.md +7 -4
  74. package/packages/omo-codex/plugin/skills/teammode/SKILL.md +3 -3
  75. package/packages/omo-codex/plugin/skills/ultrawork/SKILL.md +18 -15
  76. package/packages/omo-codex/plugin/skills/ulw-execute/SKILL.md +2 -2
  77. package/packages/omo-codex/plugin/skills/ulw-loop/SKILL.md +2 -2
  78. package/packages/omo-codex/plugin/skills/ulw-loop/references/full-workflow.md +2 -2
  79. package/packages/omo-codex/plugin/test/sync-skills-test-support.mjs +2 -2
  80. package/packages/omo-codex/scripts/install-dist/install-local.mjs +6 -4
  81. package/packages/prompts-core/prompts/ultrawork/codex.md +18 -15
  82. package/packages/shared-skills/skills/browser/runtime/omowright/manifest.json +1 -1
  83. package/packages/shared-skills/skills/ulw-execute/SKILL.md +2 -2
@@ -5,6 +5,7 @@ export declare function createSyncSession(client: OpencodeClient, input: {
5
5
  agentToUse: string;
6
6
  description: string;
7
7
  defaultDirectory: string;
8
+ category?: string;
8
9
  categoryModel?: DelegatedModelConfig;
9
10
  }): Promise<{
10
11
  ok: true;
@@ -124,6 +124,8 @@ export interface DelegateTaskToolOptions {
124
124
  /** Reload model-bearing config at task invocation time so edits are honored without rebuilding tools. */
125
125
  loadCurrentModelConfig?: () => Pick<OhMyOpenCodeConfig, "agents" | "categories">;
126
126
  sisyphusAgentConfig?: SisyphusAgentConfig;
127
+ /** Mirrors `claude_code.agents`; when false, `.claude/agents` definitions are not read during subagent matching. */
128
+ claudeCodeAgentsEnabled?: boolean;
127
129
  modelFallbackControllerAccessor?: ModelFallbackControllerAccessor;
128
130
  onSyncSessionCreated?: (event: SyncSessionCreatedEvent) => Promise<void>;
129
131
  syncPollTimeoutMs?: number;
@@ -0,0 +1,7 @@
1
+ export declare function describeSessionError(error: unknown): string;
2
+ export declare function toSessionError(error: unknown): Error;
3
+ export type SkippedSession = {
4
+ readonly id: string;
5
+ readonly reason: string;
6
+ };
7
+ export declare function formatSkippedSessions(skipped: readonly SkippedSession[]): string;
package/dist/tui.js CHANGED
@@ -70113,7 +70113,8 @@ var init_memory = __esm(() => {
70113
70113
  }).strict();
70114
70114
  OmoMemoryFactsSchema = object({
70115
70115
  enabled: boolean2().default(true),
70116
- debounce_settles: number2().int().min(1).default(4)
70116
+ debounce_settles: number2().int().min(1).default(4),
70117
+ model: string2().min(1).optional()
70117
70118
  }).strict();
70118
70119
  OmoMemoryDreamSchema = object({
70119
70120
  enabled: boolean2().default(true),
@@ -70175,7 +70176,8 @@ var init_memory = __esm(() => {
70175
70176
  }).strict();
70176
70177
  OmoMemoryFactsLayerSchema = object({
70177
70178
  enabled: boolean2().optional(),
70178
- debounce_settles: number2().int().min(1).optional()
70179
+ debounce_settles: number2().int().min(1).optional(),
70180
+ model: string2().min(1).optional()
70179
70181
  }).strict();
70180
70182
  OmoMemoryDreamLayerSchema = object({
70181
70183
  enabled: boolean2().optional(),
@@ -74974,7 +74976,7 @@ init_shared();
74974
74976
  // package.json
74975
74977
  var package_default = {
74976
74978
  name: "oh-my-opencode",
74977
- version: "5.1.30",
74979
+ version: "5.1.32",
74978
74980
  description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
74979
74981
  main: "./dist/index.js",
74980
74982
  types: "dist/index.d.ts",
@@ -75151,7 +75153,7 @@ var package_default = {
75151
75153
  },
75152
75154
  devDependencies: {
75153
75155
  "@clack/prompts": "^1.8.1",
75154
- "@code-yeongyu/senpi": "2026.10.11",
75156
+ "@code-yeongyu/senpi": "2026.10.12",
75155
75157
  "@modelcontextprotocol/sdk": "^1.30.0",
75156
75158
  "@oh-my-opencode/agents-md-core": "workspace:*",
75157
75159
  "@oh-my-opencode/ast-grep-mcp": "workspace:*",
@@ -75210,18 +75212,18 @@ var package_default = {
75210
75212
  typescript: "^7.0.2"
75211
75213
  },
75212
75214
  optionalDependencies: {
75213
- "oh-my-opencode-darwin-arm64": "5.1.30",
75214
- "oh-my-opencode-darwin-x64": "5.1.30",
75215
- "oh-my-opencode-darwin-x64-baseline": "5.1.30",
75216
- "oh-my-opencode-linux-arm64": "5.1.30",
75217
- "oh-my-opencode-linux-arm64-musl": "5.1.30",
75218
- "oh-my-opencode-linux-x64": "5.1.30",
75219
- "oh-my-opencode-linux-x64-baseline": "5.1.30",
75220
- "oh-my-opencode-linux-x64-musl": "5.1.30",
75221
- "oh-my-opencode-linux-x64-musl-baseline": "5.1.30",
75222
- "oh-my-opencode-windows-arm64": "5.1.30",
75223
- "oh-my-opencode-windows-x64": "5.1.30",
75224
- "oh-my-opencode-windows-x64-baseline": "5.1.30"
75215
+ "oh-my-opencode-darwin-arm64": "5.1.32",
75216
+ "oh-my-opencode-darwin-x64": "5.1.32",
75217
+ "oh-my-opencode-darwin-x64-baseline": "5.1.32",
75218
+ "oh-my-opencode-linux-arm64": "5.1.32",
75219
+ "oh-my-opencode-linux-arm64-musl": "5.1.32",
75220
+ "oh-my-opencode-linux-x64": "5.1.32",
75221
+ "oh-my-opencode-linux-x64-baseline": "5.1.32",
75222
+ "oh-my-opencode-linux-x64-musl": "5.1.32",
75223
+ "oh-my-opencode-linux-x64-musl-baseline": "5.1.32",
75224
+ "oh-my-opencode-windows-arm64": "5.1.32",
75225
+ "oh-my-opencode-windows-x64": "5.1.32",
75226
+ "oh-my-opencode-windows-x64-baseline": "5.1.32"
75225
75227
  },
75226
75228
  overrides: {
75227
75229
  hono: "^4.13.8",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-opencode",
3
- "version": "5.1.30",
3
+ "version": "5.1.32",
4
4
  "description": "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
5
5
  "main": "./dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -177,7 +177,7 @@
177
177
  },
178
178
  "devDependencies": {
179
179
  "@clack/prompts": "^1.8.1",
180
- "@code-yeongyu/senpi": "2026.10.11",
180
+ "@code-yeongyu/senpi": "2026.10.12",
181
181
  "@modelcontextprotocol/sdk": "^1.30.0",
182
182
  "@oh-my-opencode/agents-md-core": "workspace:*",
183
183
  "@oh-my-opencode/ast-grep-mcp": "workspace:*",
@@ -236,18 +236,18 @@
236
236
  "typescript": "^7.0.2"
237
237
  },
238
238
  "optionalDependencies": {
239
- "oh-my-opencode-darwin-arm64": "5.1.30",
240
- "oh-my-opencode-darwin-x64": "5.1.30",
241
- "oh-my-opencode-darwin-x64-baseline": "5.1.30",
242
- "oh-my-opencode-linux-arm64": "5.1.30",
243
- "oh-my-opencode-linux-arm64-musl": "5.1.30",
244
- "oh-my-opencode-linux-x64": "5.1.30",
245
- "oh-my-opencode-linux-x64-baseline": "5.1.30",
246
- "oh-my-opencode-linux-x64-musl": "5.1.30",
247
- "oh-my-opencode-linux-x64-musl-baseline": "5.1.30",
248
- "oh-my-opencode-windows-arm64": "5.1.30",
249
- "oh-my-opencode-windows-x64": "5.1.30",
250
- "oh-my-opencode-windows-x64-baseline": "5.1.30"
239
+ "oh-my-opencode-darwin-arm64": "5.1.32",
240
+ "oh-my-opencode-darwin-x64": "5.1.32",
241
+ "oh-my-opencode-darwin-x64-baseline": "5.1.32",
242
+ "oh-my-opencode-linux-arm64": "5.1.32",
243
+ "oh-my-opencode-linux-arm64-musl": "5.1.32",
244
+ "oh-my-opencode-linux-x64": "5.1.32",
245
+ "oh-my-opencode-linux-x64-baseline": "5.1.32",
246
+ "oh-my-opencode-linux-x64-musl": "5.1.32",
247
+ "oh-my-opencode-linux-x64-musl-baseline": "5.1.32",
248
+ "oh-my-opencode-windows-arm64": "5.1.32",
249
+ "oh-my-opencode-windows-x64": "5.1.32",
250
+ "oh-my-opencode-windows-x64-baseline": "5.1.32"
251
251
  },
252
252
  "overrides": {
253
253
  "hono": "^4.13.8",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omo",
3
- "version": "5.1.30",
3
+ "version": "5.1.32",
4
4
  "description": "One Codex plugin namespace for Yeongyu's local Codex components.",
5
5
  "author": {
6
6
  "name": "Yeongyu Kim",
@@ -7158,7 +7158,8 @@ var OmoMemoryNudgeSchema = object({
7158
7158
  }).strict();
7159
7159
  var OmoMemoryFactsSchema = object({
7160
7160
  enabled: boolean2().default(true),
7161
- debounce_settles: number2().int().min(1).default(4)
7161
+ debounce_settles: number2().int().min(1).default(4),
7162
+ model: string2().min(1).optional()
7162
7163
  }).strict();
7163
7164
  var OmoMemoryDreamSchema = object({
7164
7165
  enabled: boolean2().default(true),
@@ -7220,7 +7221,8 @@ var OmoMemoryNudgeLayerSchema = object({
7220
7221
  }).strict();
7221
7222
  var OmoMemoryFactsLayerSchema = object({
7222
7223
  enabled: boolean2().optional(),
7223
- debounce_settles: number2().int().min(1).optional()
7224
+ debounce_settles: number2().int().min(1).optional(),
7225
+ model: string2().min(1).optional()
7224
7226
  }).strict();
7225
7227
  var OmoMemoryDreamLayerSchema = object({
7226
7228
  enabled: boolean2().optional(),
@@ -8,7 +8,7 @@
8
8
  "command": "node \"${PLUGIN_ROOT}/components/bootstrap/dist/cli.js\" hook session-start",
9
9
  "commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\bootstrap.ps1\"",
10
10
  "timeout": 30,
11
- "statusMessage": "(OmO 5.1.30) Checking Bootstrap Provisioning"
11
+ "statusMessage": "(OmO 5.1.32) Checking Bootstrap Provisioning"
12
12
  }
13
13
  ]
14
14
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sisyphuslabs/codex-bootstrap",
3
- "version": "5.1.30",
3
+ "version": "5.1.32",
4
4
  "description": "Codex SessionStart bootstrap component that provisions LazyCodex runtime dependencies from a detached worker.",
5
5
  "type": "module",
6
6
  "private": true,
@@ -8,7 +8,7 @@
8
8
  "type": "command",
9
9
  "command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-tool-use",
10
10
  "timeout": 30,
11
- "statusMessage": "(OmO 5.1.30) Checking Comments"
11
+ "statusMessage": "(OmO 5.1.32) Checking Comments"
12
12
  }
13
13
  ]
14
14
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-yeongyu/codex-comment-checker",
3
- "version": "5.1.30",
3
+ "version": "5.1.32",
4
4
  "description": "Codex plugin that runs comment-checker after edit-like PostToolUse hooks.",
5
5
  "type": "module",
6
6
  "packageManager": "npm@11.12.1",
@@ -8,7 +8,7 @@
8
8
  "type": "command",
9
9
  "command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook pre-tool-use",
10
10
  "timeout": 5,
11
- "statusMessage": "(OmO 5.1.30) Recommending Git Bash MCP"
11
+ "statusMessage": "(OmO 5.1.32) Recommending Git Bash MCP"
12
12
  }
13
13
  ]
14
14
  }
@@ -20,7 +20,7 @@
20
20
  "type": "command",
21
21
  "command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-compact",
22
22
  "timeout": 5,
23
- "statusMessage": "(OmO 5.1.30) Resetting Git Bash MCP Reminder"
23
+ "statusMessage": "(OmO 5.1.32) Resetting Git Bash MCP Reminder"
24
24
  }
25
25
  ]
26
26
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sisyphuslabs/codex-git-bash-hook",
3
- "version": "5.1.30",
3
+ "version": "5.1.32",
4
4
  "description": "Codex hook component that reminds Windows sessions to prefer the OMO git_bash MCP.",
5
5
  "type": "module",
6
6
  "private": true,
@@ -8,7 +8,7 @@
8
8
  "type": "command",
9
9
  "command": "node \"${PLUGIN_ROOT}/components/lazycodex-executor-verify/dist/cli.js\" hook subagent-stop",
10
10
  "timeout": 10,
11
- "statusMessage": "(OmO 5.1.30) Verifying LazyCodex Executor Evidence"
11
+ "statusMessage": "(OmO 5.1.32) Verifying LazyCodex Executor Evidence"
12
12
  }
13
13
  ]
14
14
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-yeongyu/codex-lazycodex-executor-verify",
3
- "version": "5.1.30",
3
+ "version": "5.1.32",
4
4
  "description": "Codex SubagentStop evidence verifier for LazyCodex executor completions.",
5
5
  "type": "module",
6
6
  "packageManager": "npm@11.12.1",
@@ -37,11 +37,12 @@ For `code-yeongyu/lazycodex`, create an issue (never a PR) that includes:
37
37
 
38
38
  ## Required Workflow
39
39
 
40
- 1. Read the user's bug report and identify the affected surface.
40
+ 1. Read the user's bug report and identify the affected surface. Before commands, apply the bundled ultrawork directive’s Task resources and todo rules; read those sections if absent from context.
41
41
  2. Invoke `$omo:debugging` for the investigation. If only unqualified skill names are exposed, invoke `$debugging` and state that it is the OMO debugging skill.
42
42
  3. Materialize the latest sources under `LAZYCODEX_SOURCE_ROOT="${LAZYCODEX_SOURCE_ROOT:-${TMPDIR:-/tmp}/lazycodex-sources}"`, then decide the target repository. Sync both checkouts on every run and compare them before choosing. Validate cached checkouts before reuse so an incomplete `.git` directory cannot route the fix to the wrong repo:
43
43
 
44
44
  ```bash
45
+ # The default checkout cache is per-task under TMPDIR=$RUN_TMP.
45
46
  LAZYCODEX_SOURCE_ROOT="${LAZYCODEX_SOURCE_ROOT:-${TMPDIR:-/tmp}/lazycodex-sources}"
46
47
  mkdir -p "$LAZYCODEX_SOURCE_ROOT"
47
48
 
@@ -86,11 +87,11 @@ sync_latest_source() {
86
87
  sync_latest_source code-yeongyu/lazycodex "$LAZYCODEX_SOURCE_ROOT/lazycodex-source"
87
88
  sync_latest_source openai/codex "$LAZYCODEX_SOURCE_ROOT/chatgpt-subscription-source"
88
89
  ```
89
- 4. Create a fresh temporary clone and branch under `${TMPDIR:-/tmp}`. Do not modify the user's current repository for the target fix unless the current repository is itself the requested target and the user explicitly asked for local edits.
90
+ 4. Create a fresh temporary clone and branch under `${TMPDIR:-/tmp}`. Do not modify the user's current repository for the target fix unless the current repository is itself the requested target and the user explicitly asked for local edits. Apply those resource rules at clone/worktree creation.
90
91
 
91
92
  ```bash
92
93
  TARGET_REPO="code-yeongyu/lazycodex" # or openai/codex
93
- WORK_ROOT="$(mktemp -d "${TMPDIR:-/tmp}/lazycodex-fix-XXXXXX")"
94
+ WORK_ROOT="${RUN_TMP:?apply ultrawork Task resources first}"
94
95
  gh repo clone "$TARGET_REPO" "$WORK_ROOT/repo" -- --depth=1
95
96
  cd "$WORK_ROOT/repo"
96
97
  BASE_BRANCH="$(git remote show origin | sed -n '/HEAD branch/s/.*: //p')"
@@ -152,13 +153,15 @@ git push -u fork "$BRANCH_NAME"
152
153
  gh pr create --repo openai/codex --base "$BASE_BRANCH" --head "$GH_USER:$BRANCH_NAME" --title "<short fix title>" "${LABEL_ARGS[@]}" --body-file "$PR_BODY"
153
154
  ```
154
155
 
155
- 13. Clean up:
156
+ 13. Finish cleanup per Task resources. Run this only when that rule permits removing the worktree and run root; otherwise retain them and report the outstanding cleanup todo:
156
157
 
157
158
  ```bash
158
159
  cd /
159
160
  git -C "$WORK_ROOT/repo" worktree remove "$WORK_ROOT/worktree"
161
+ unset TMPDIR NODE_COMPILE_CACHE BUN_RUNTIME_TRANSPILER_CACHE_PATH
160
162
  find "$WORK_ROOT" -mindepth 1 -maxdepth 1 -exec rm -r -- {} +
161
163
  rmdir "$WORK_ROOT"
164
+ test ! -e "$WORK_ROOT" && printf 'cleanup: worktree and caches REMOVED\n'
162
165
  ```
163
166
 
164
167
  Return the PR or issue URL, the reproduction command, the verification command, and the cleanup receipt.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "version": "5.1.30",
4
- "inputDigest": "sha256:cf776d8585ec0e86540cc12d9a01c22a20b3e13b24300062c7dae109304ad483",
3
+ "version": "5.1.32",
4
+ "inputDigest": "sha256:b3b8e90fd4e1cf2fe7480a11a0479a266e8c3b2724b104ee47b9fb777c5927de",
5
5
  "outputs": [
6
6
  {
7
7
  "path": "cli.d.ts",
@@ -8,7 +8,7 @@
8
8
  "type": "command",
9
9
  "command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-tool-use",
10
10
  "timeout": 60,
11
- "statusMessage": "(OmO 5.1.30) Checking LSP Diagnostics"
11
+ "statusMessage": "(OmO 5.1.32) Checking LSP Diagnostics"
12
12
  }
13
13
  ]
14
14
  }
@@ -21,7 +21,7 @@
21
21
  "type": "command",
22
22
  "command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-compact",
23
23
  "timeout": 5,
24
- "statusMessage": "(OmO 5.1.30) Resetting LSP Diagnostics Cache"
24
+ "statusMessage": "(OmO 5.1.32) Resetting LSP Diagnostics Cache"
25
25
  }
26
26
  ]
27
27
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-yeongyu/codex-lsp",
3
- "version": "5.1.30",
3
+ "version": "5.1.32",
4
4
  "description": "Codex plugin that exposes Language Server Protocol tools and post-edit diagnostics.",
5
5
  "type": "module",
6
6
  "packageManager": "npm@11.12.1",
@@ -7,7 +7,7 @@
7
7
  "type": "command",
8
8
  "command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook session-start",
9
9
  "timeout": 10,
10
- "statusMessage": "(OmO 5.1.30) Loading Project Rules"
10
+ "statusMessage": "(OmO 5.1.32) Loading Project Rules"
11
11
  }
12
12
  ]
13
13
  }
@@ -19,7 +19,7 @@
19
19
  "type": "command",
20
20
  "command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook user-prompt-submit",
21
21
  "timeout": 10,
22
- "statusMessage": "(OmO 5.1.30) Loading Project Rules"
22
+ "statusMessage": "(OmO 5.1.32) Loading Project Rules"
23
23
  }
24
24
  ]
25
25
  }
@@ -32,7 +32,7 @@
32
32
  "type": "command",
33
33
  "command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-tool-use",
34
34
  "timeout": 10,
35
- "statusMessage": "(OmO 5.1.30) Matching Project Rules"
35
+ "statusMessage": "(OmO 5.1.32) Matching Project Rules"
36
36
  }
37
37
  ]
38
38
  }
@@ -45,7 +45,7 @@
45
45
  "type": "command",
46
46
  "command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-compact",
47
47
  "timeout": 10,
48
- "statusMessage": "(OmO 5.1.30) Resetting Project Rule Cache"
48
+ "statusMessage": "(OmO 5.1.32) Resetting Project Rule Cache"
49
49
  }
50
50
  ]
51
51
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-yeongyu/codex-rules",
3
- "version": "5.1.30",
3
+ "version": "5.1.32",
4
4
  "description": "Codex plugin that injects project rule files into model context through lifecycle hooks.",
5
5
  "type": "module",
6
6
  "packageManager": "npm@11.12.1",
@@ -8,7 +8,7 @@
8
8
  "type": "command",
9
9
  "command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-tool-use",
10
10
  "timeout": 10,
11
- "statusMessage": "(OmO 5.1.30) Checking Thread Title Hygiene"
11
+ "statusMessage": "(OmO 5.1.32) Checking Thread Title Hygiene"
12
12
  }
13
13
  ]
14
14
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sisyphuslabs/codex-teammode",
3
- "version": "5.1.30",
3
+ "version": "5.1.32",
4
4
  "description": "Codex team-mode hook component that keeps background thread titles descriptive after create_thread.",
5
5
  "type": "module",
6
6
  "private": true,
@@ -229,9 +229,9 @@ cannot clobber each other. Decide this whenever you see the collision - at team
229
229
  not only up front. For each colliding member run `worktree-add --team <id> --id <member>`: it creates
230
230
  the worktree off the base branch on a derived branch, flips the team into worktree mode, records it in
231
231
  `team.json`, and prints the `cd` path to hand that member. The member works and commits only inside
232
- its own worktree. To land the work, `integrate --team <id>` merges every member branch into your
232
+ its own worktree. Use the bundled ultrawork directive’s Task resources and todo rules at member/worktree creation; read those sections if absent from context. To land the work, `integrate --team <id>` merges every member branch into your
233
233
  current branch with a merge commit (never a squash or rebase); resolve any conflict it reports, then
234
- `worktree-remove` each worktree at cleanup.
234
+ finish owned directory teardown per Task resources.
235
235
 
236
236
  Delivering the path differs by transport: on MultiAgentV2, create the worktree BEFORE spawning
237
237
  so the bootstrap carries it, or send it to an already-running member as a `followup_task`; on
@@ -280,7 +280,7 @@ is never disbanded is a leak.
280
280
  - `delete` removes `.omo/teams/{session_id}` and refuses while the team is unarchived or any member
281
281
  is still active unless `--force`.
282
282
  - When the work wraps up, land it the way the user asked: `integrate --team <id>` for a direct merge
283
- commit, or push each member branch and open a PR. Then `worktree-remove` each worktree, archive, and
283
+ commit, or push each member branch and open a PR. Then finish worktree cleanup per Task resources, archive, and
284
284
  delete. Cleanup is real work; respect the user's instruction on how to land it.
285
285
 
286
286
  ## Stop rules
@@ -7,7 +7,7 @@
7
7
  "type": "command",
8
8
  "command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook session-start",
9
9
  "timeout": 5,
10
- "statusMessage": "(OmO 5.1.30) Recording Session Telemetry"
10
+ "statusMessage": "(OmO 5.1.32) Recording Session Telemetry"
11
11
  }
12
12
  ]
13
13
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-yeongyu/codex-telemetry",
3
- "version": "5.1.30",
3
+ "version": "5.1.32",
4
4
  "description": "Codex plugin component that emits omo-codex anonymous daily-active telemetry on SessionStart.",
5
5
  "type": "module",
6
6
  "packageManager": "npm@11.12.1",
@@ -118,7 +118,11 @@ degrades color and wide-glyph width. In this repo:
118
118
  stream). Outside this repo, capture equivalent browser-rendered terminal
119
119
  evidence: screenshot + plain transcript + cleanup receipt.
120
120
 
121
- # Bootstrap (DO ALL FOUR BEFORE ANY OTHER WORK — NO SKIPPING)
121
+ # Bootstrap (COMPLETE EVERY SECTION BEFORE ANY OTHER WORK — NO SKIPPING)
122
+
123
+ ## Task resources
124
+ Before the first task command, create one \`RUN_TMP=$(mktemp -d)\` per task, tracking its paths under section 3 immediately. Export \`TMPDIR="$RUN_TMP" NODE_COMPILE_CACHE="$RUN_TMP/node-compile-cache" BUN_RUNTIME_TRANSPILER_CACHE_PATH="$RUN_TMP/bun-transpiler"\` for every command; pass the same environment explicitly to children that do not inherit it. Give independent child tasks their own run roots.
125
+ At task end, after owned processes exit, remove only owned directories, including runtime caches. Never wipe shared caches; retain worktrees still needed by open PRs and any parent directory containing them.
122
126
 
123
127
  ## 0. Survey the skills, gather context, then size the work
124
128
  First, survey the loaded skill list and read the description of each
@@ -212,7 +216,7 @@ steps.
212
216
 
213
217
  ## 3. Register obsessive todos via \`update_plan\`
214
218
  The todo tool is Codex \`update_plan\` — your live, user-visible
215
- checklist. Translate every action from the plan into one \`update_plan\`
219
+ checklist. Keep resource-cleanup todos registered earlier. Translate every action from the plan into one \`update_plan\`
216
220
  step — one step per atomic work unit: an edit plus its verification, a
217
221
  QA scenario run, a teardown. Keep each step small enough to finish
218
222
  within a few tool calls.
@@ -224,6 +228,9 @@ behind reality. Add newly discovered steps the moment they surface
224
228
  instead of waiting for the next pass. Step text encodes WHERE / WHY
225
229
  (which criterion it advances) / HOW / VERIFY:
226
230
  \`path: <action> for <criterion> — verify by <check>\`.
231
+ ALWAYS add a cleanup todo AT CREATION for each worktree, cache directory (including
232
+ the run root), and QA resource (PID, tmux session, browser context, port, container,
233
+ script or temp path); complete it only after a read-back teardown receipt.
227
234
 
228
235
  GOOD pair (ordered):
229
236
  \`test/foo.test.ts: read the validateEmail cases for criterion 2 — verify by noting intent / coverage / pass in the notepad\`
@@ -286,19 +293,15 @@ Until every success criterion PASSES with its evidence captured:
286
293
  above; auxiliary surface for CLI- or data-shaped criteria), end to
287
294
  end, yourself, plus the step-2 tests; a reproduction now passes.
288
295
  Paste the artifact path into the notepad.
289
- 5. CLEANUP (PAIRED — NEVER SKIP): the moment a QA scenario spawns any
290
- resource, register its teardown as its own todo (e.g.
291
- \`cleanup: kill server pid for criterion 2 — verify kill -0 fails\`).
292
- Every runtime artifact the QA spawned in step 4 MUST be torn down
293
- before this step completes:
294
- server PIDs (\`kill <pid>\`; verify \`kill -0\` fails), \`tmux\` sessions
295
- (\`tmux kill-session -t ulw-qa-<criterion>\`; verify with \`tmux ls\`),
296
- browsers / sessions (\`browser.close()\` / \`session.stop()\`), containers
297
- (\`docker rm -f\`), bound ports (\`lsof -i :<port>\` empty), temp
298
- sockets / files / dirs (\`rm -rf\` the \`mktemp\` paths), QA-only env
299
- vars. Append a one-line cleanup receipt to the notepad next to the
300
- artifact, e.g. \`cleanup: killed 12345; tmux kill-session ulw-qa-foo;
301
- rm -rf /tmp/ulw.aB12cD\`. No receipt → criterion stays in_progress.
296
+ 5. CLEANUP (PAIRED — NEVER SKIP):
297
+ Before recording QA, tear down owned server PIDs (\`kill <pid>\`; verify
298
+ \`kill -0\` fails), tmux sessions (\`tmux kill-session -t ulw-qa-<criterion>\`; confirm \`tmux ls\`),
299
+ browsers / sessions (\`browser.close()\` / \`session.stop()\`), containers (\`docker rm -f\`), ports
300
+ (\`lsof -i :<port>\` empty), QA scripts, temp paths and QA-only env vars.
301
+ Remove QA temp paths inside \`$RUN_TMP\` per criterion; remove the run root
302
+ and eligible worktrees at task end under Task resources.
303
+ Append the read-back receipt beside the artifact in the notepad.
304
+ No receipt → criterion stays in_progress.
302
305
  6. Verify: LSP diagnostics clean on changed files; no test skipped or
303
306
  xfail-ed this turn.
304
307
  7. Mark completed. Append non-obvious findings / learnings.
@@ -7,7 +7,7 @@
7
7
  "type": "command",
8
8
  "command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook user-prompt-submit",
9
9
  "timeout": 5,
10
- "statusMessage": "(OmO 5.1.30) Checking Ultrawork Trigger"
10
+ "statusMessage": "(OmO 5.1.32) Checking Ultrawork Trigger"
11
11
  }
12
12
  ]
13
13
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-yeongyu/codex-ultrawork",
3
- "version": "5.1.30",
3
+ "version": "5.1.32",
4
4
  "description": "Codex plugin that injects the ultrawork orchestration directive and ships LazyCodex planning, review, QA, and gate agent roles.",
5
5
  "type": "module",
6
6
  "packageManager": "npm@11.12.1",