lazycodex-ai 5.0.0-beta.16 → 5.0.0-beta.18

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 (68) hide show
  1. package/dist/cli/index.js +379 -25
  2. package/dist/cli/runtime-commands.d.ts +1 -1
  3. package/dist/cli/worktree-sweep/classify.d.ts +16 -0
  4. package/dist/cli/worktree-sweep/format.d.ts +8 -0
  5. package/dist/cli/worktree-sweep/git.d.ts +19 -0
  6. package/dist/cli/worktree-sweep/index.d.ts +7 -0
  7. package/dist/cli/worktree-sweep/options.d.ts +2 -0
  8. package/dist/cli/worktree-sweep/parse-worktree-list.d.ts +8 -0
  9. package/dist/cli/worktree-sweep/sweep.d.ts +2 -0
  10. package/dist/cli/worktree-sweep/types.d.ts +65 -0
  11. package/dist/cli/worktree-sweep/worktree-sweep.d.ts +2 -0
  12. package/dist/cli-node/index.js +379 -25
  13. package/package.json +1 -1
  14. package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
  15. package/packages/omo-codex/plugin/components/bootstrap/hooks/hooks.json +1 -1
  16. package/packages/omo-codex/plugin/components/bootstrap/package.json +1 -1
  17. package/packages/omo-codex/plugin/components/codegraph/dist/cli.js +11 -8
  18. package/packages/omo-codex/plugin/components/codegraph/dist/serve.js +11 -8
  19. package/packages/omo-codex/plugin/components/codegraph/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/lsp/dist/.omo-runtime-manifest.json +2 -2
  27. package/packages/omo-codex/plugin/components/lsp/hooks/hooks.json +2 -2
  28. package/packages/omo-codex/plugin/components/lsp/package.json +1 -1
  29. package/packages/omo-codex/plugin/components/rules/hooks/hooks.json +4 -4
  30. package/packages/omo-codex/plugin/components/rules/package.json +1 -1
  31. package/packages/omo-codex/plugin/components/start-work-continuation/hooks/hooks.json +2 -2
  32. package/packages/omo-codex/plugin/components/start-work-continuation/package.json +1 -1
  33. package/packages/omo-codex/plugin/components/teammode/hooks/hooks.json +1 -1
  34. package/packages/omo-codex/plugin/components/teammode/package.json +1 -1
  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/hooks/hooks.json +1 -1
  38. package/packages/omo-codex/plugin/components/ultrawork/package.json +1 -1
  39. package/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json +4 -4
  40. package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
  41. package/packages/omo-codex/plugin/hooks/post-compact-resetting-git-bash-mcp-reminder.json +1 -1
  42. package/packages/omo-codex/plugin/hooks/post-compact-resetting-lsp-diagnostics-cache.json +1 -1
  43. package/packages/omo-codex/plugin/hooks/post-compact-resetting-project-rule-cache.json +1 -1
  44. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-codegraph-init-guidance.json +1 -1
  45. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-comments.json +1 -1
  46. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-lsp-diagnostics.json +1 -1
  47. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-thread-title-hygiene.json +1 -1
  48. package/packages/omo-codex/plugin/hooks/post-tool-use-matching-project-rules.json +1 -1
  49. package/packages/omo-codex/plugin/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json +1 -1
  50. package/packages/omo-codex/plugin/hooks/pre-tool-use-guarding-ulw-loop-spawns.json +1 -1
  51. package/packages/omo-codex/plugin/hooks/pre-tool-use-recommending-git-bash-mcp.json +1 -1
  52. package/packages/omo-codex/plugin/hooks/session-start-checking-auto-update.json +1 -1
  53. package/packages/omo-codex/plugin/hooks/session-start-checking-bootstrap-provisioning.json +1 -1
  54. package/packages/omo-codex/plugin/hooks/session-start-checking-codegraph-bootstrap.json +1 -1
  55. package/packages/omo-codex/plugin/hooks/session-start-loading-project-rules.json +1 -1
  56. package/packages/omo-codex/plugin/hooks/session-start-recording-session-telemetry.json +1 -1
  57. package/packages/omo-codex/plugin/hooks/stop-checking-start-work-continuation.json +1 -1
  58. package/packages/omo-codex/plugin/hooks/stop-checking-ulw-loop-resume.json +1 -1
  59. package/packages/omo-codex/plugin/hooks/subagent-stop-checking-start-work-continuation.json +1 -1
  60. package/packages/omo-codex/plugin/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json +1 -1
  61. package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ultrawork-trigger.json +1 -1
  62. package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ulw-loop-steering.json +1 -1
  63. package/packages/omo-codex/plugin/hooks/user-prompt-submit-loading-project-rules.json +1 -1
  64. package/packages/omo-codex/plugin/package-lock.json +13 -13
  65. package/packages/omo-codex/plugin/package.json +1 -1
  66. package/packages/omo-codex/plugin/skills/review-work/SKILL.md +3 -3
  67. package/packages/omo-codex/scripts/install-dist/install-local.mjs +2 -2
  68. package/packages/shared-skills/skills/review-work/SKILL.md +3 -3
@@ -122,7 +122,7 @@ Before launching agents, collect these inputs. Extract from conversation history
122
122
  </required_inputs>
123
123
 
124
124
 
125
- Review PRs and branches from a dedicated review worktree only: create or attach one with `git worktree add <path> <branch>` before collecting changed files, diff, file contents, or running checks. The main worktree is read-only context; never checkout, test, or edit the review branch there.
125
+ Review PRs and branches from a dedicated review worktree only: create or attach one with `git worktree add <path> <branch>` before collecting changed files, diff, file contents, or running checks, then immediately lock it with `git worktree lock <path> --reason "review:<pr-or-branch>"`. The main worktree is read-only context; never checkout, test, or edit the review branch there.
126
126
 
127
127
  **Auto-collection sequence:**
128
128
 
@@ -562,8 +562,6 @@ OUTPUT FORMAT:
562
562
  """)
563
563
  ```
564
564
 
565
- ---
566
-
567
565
  ## Phase 2: Wait & Collect
568
566
 
569
567
  After launching all 5 agents in one turn, wait for completions in bounded
@@ -593,6 +591,8 @@ review result with the incomplete lane named. Do not spin in repeated
593
591
  wait/followup cycles. Do not use `multi_agent_v1.send_input` as an interrupt; queued
594
592
  followups are not cancellation.
595
593
 
594
+ After ALL 5 lanes reach a terminal state and before delivering the verdict, tear down the review worktree: run `git worktree unlock <path>` followed by `git worktree remove <path>`. The lanes above run inside that worktree, so removing it earlier destroys their working directory; a crashed review leaves the locked tree as a recoverable marker for manual cleanup.
595
+
596
596
  ---
597
597
 
598
598
  ## Phase 3: Deliver Verdict
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- // omo-codex-install:1d8359e77ebe41655f091cd2e455f320cde2f9c681f0651797c47d8fdfa2dd76:4b7779cf0aab4745dd7568f93508a993017ab15257af413e1bcfa610bcf15af7
2
+ // omo-codex-install:1d8359e77ebe41655f091cd2e455f320cde2f9c681f0651797c47d8fdfa2dd76:f22b8b1052c9cd992ec25a67decdd4ca1d9d8f73babdc66b8ca4455322c74167
3
3
  var __defProp = Object.defineProperty;
4
4
  var __returnValue = (v) => v;
5
5
  function __exportSetter(name, newValue) {
@@ -7833,7 +7833,7 @@ var package_default;
7833
7833
  var init_package = __esm(() => {
7834
7834
  package_default = {
7835
7835
  name: "@oh-my-opencode/omo-codex",
7836
- version: "5.0.0-beta.16",
7836
+ version: "5.0.0-beta.18",
7837
7837
  type: "module",
7838
7838
  private: true,
7839
7839
  description: "Codex harness adapter for oh-my-openagent. Vendored Codex plugin namespace (omo) + TypeScript installer + telemetry.",
@@ -90,7 +90,7 @@ Before launching agents, collect these inputs. Extract from conversation history
90
90
  </required_inputs>
91
91
 
92
92
 
93
- Review PRs and branches from a dedicated review worktree only: create or attach one with `git worktree add <path> <branch>` before collecting changed files, diff, file contents, or running checks. The main worktree is read-only context; never checkout, test, or edit the review branch there.
93
+ Review PRs and branches from a dedicated review worktree only: create or attach one with `git worktree add <path> <branch>` before collecting changed files, diff, file contents, or running checks, then immediately lock it with `git worktree lock <path> --reason "review:<pr-or-branch>"`. The main worktree is read-only context; never checkout, test, or edit the review branch there.
94
94
 
95
95
  **Auto-collection sequence:**
96
96
 
@@ -530,8 +530,6 @@ OUTPUT FORMAT:
530
530
  """)
531
531
  ```
532
532
 
533
- ---
534
-
535
533
  ## Phase 2: Wait & Collect
536
534
 
537
535
  After launching all 5 agents in one turn, wait for completions in bounded
@@ -561,6 +559,8 @@ review result with the incomplete lane named. Do not spin in repeated
561
559
  wait/followup cycles. Do not use `multi_agent_v1.send_input` as an interrupt; queued
562
560
  followups are not cancellation.
563
561
 
562
+ After ALL 5 lanes reach a terminal state and before delivering the verdict, tear down the review worktree: run `git worktree unlock <path>` followed by `git worktree remove <path>`. The lanes above run inside that worktree, so removing it earlier destroys their working directory; a crashed review leaves the locked tree as a recoverable marker for manual cleanup.
563
+
564
564
  ---
565
565
 
566
566
  ## Phase 3: Deliver Verdict