oh-my-customcodex 0.5.1 → 0.5.3

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 (41) hide show
  1. package/README.md +2 -2
  2. package/dist/cli/index.js +168 -13
  3. package/dist/index.js +150 -8
  4. package/package.json +1 -1
  5. package/templates/.claude/agents/qa-engineer.md +7 -0
  6. package/templates/.claude/hooks/hooks.json +28 -0
  7. package/templates/.claude/hooks/scripts/agent-capability-precheck.sh +99 -0
  8. package/templates/.claude/hooks/scripts/agent-mode-guard.sh +14 -3
  9. package/templates/.claude/hooks/scripts/git-delegation-guard.sh +14 -5
  10. package/templates/.claude/hooks/scripts/plugin-cache-check.sh +42 -0
  11. package/templates/.claude/hooks/scripts/session-reflection.sh +106 -0
  12. package/templates/.claude/output-styles/korean-engineer.md +4 -0
  13. package/templates/.claude/rules/MUST-agent-identification.md +50 -22
  14. package/templates/.claude/rules/MUST-agent-teams.md +6 -2
  15. package/templates/.claude/rules/MUST-completion-verification.md +41 -0
  16. package/templates/.claude/rules/MUST-continuous-improvement.md +15 -1
  17. package/templates/.claude/rules/MUST-intent-transparency.md +29 -0
  18. package/templates/.claude/rules/MUST-language-policy.md +7 -0
  19. package/templates/.claude/rules/MUST-orchestrator-coordination.md +62 -0
  20. package/templates/.claude/rules/MUST-sync-verification.md +15 -1
  21. package/templates/.claude/rules/MUST-tool-identification.md +19 -0
  22. package/templates/.claude/rules/SHOULD-memory-integration.md +7 -2
  23. package/templates/.claude/skills/systematic-debugging/SKILL.md +44 -0
  24. package/templates/.claude/skills/systematic-debugging/phases/amplification-detection.md +25 -0
  25. package/templates/.claude/skills/systematic-debugging/phases/fault-injection.md +31 -0
  26. package/templates/.claude/skills/systematic-debugging/phases/retry-cache-timeout-audit.md +27 -0
  27. package/templates/.claude/skills/systematic-debugging/phases/timeline-correlation.md +26 -0
  28. package/templates/.claude/statusline.sh +40 -9
  29. package/templates/AGENTS.md.en +1 -1
  30. package/templates/AGENTS.md.ko +1 -1
  31. package/templates/CLAUDE.md +1 -1
  32. package/templates/CLAUDE.md.en +1 -1
  33. package/templates/CLAUDE.md.ko +1 -1
  34. package/templates/README.md +4 -4
  35. package/templates/guides/agent-teams/troubleshooting.md +53 -0
  36. package/templates/guides/autonomous-challenge-lessons/README.md +43 -0
  37. package/templates/guides/claude-code/15-version-compatibility.md +107 -0
  38. package/templates/guides/claude-code-tracking.md +51 -0
  39. package/templates/guides/index.yaml +12 -0
  40. package/templates/manifest.json +3 -3
  41. package/templates/tests/tsconfig.json +7 -0
@@ -2,6 +2,113 @@
2
2
 
3
3
  This guide records Claude Code release-note impact that affects the Claude compatibility template. The Codex-native runtime still uses `.codex/**` and OMX as the primary surface.
4
4
 
5
+ ## v2.1.150
6
+
7
+ Published: 2026-05-23.
8
+
9
+ Source: upstream oh-my-customcode #1220, Codex port #1380.
10
+
11
+ | Change | Impact on oh-my-customcodex | Action |
12
+ |--------|------------------------------|--------|
13
+ | Internal infrastructure improvements only | No user-facing Claude compatibility behavior changed for templates, agents, skills, hooks, or rules. | No package change. Record the no-op review so release-monitor ports can be closed with evidence instead of staying open. |
14
+
15
+ ## v2.1.149
16
+
17
+ Published: 2026-05-22.
18
+
19
+ Source: upstream oh-my-customcode #1219, Codex port #1379.
20
+
21
+ | Change | Impact on oh-my-customcodex | Action |
22
+ |--------|------------------------------|--------|
23
+ | `/usage` now breaks limit usage down by skills, subagents, plugins, and MCP servers | Useful diagnostic vocabulary for Claude compatibility sessions; Codex-native reporting still comes from OMX status, trace, and local CLI surfaces. | No runtime change. Keep cost and status reports source-specific instead of treating Claude `/usage` output as Codex evidence. |
24
+ | `/diff` detail view supports keyboard scrolling and Markdown renders GFM task-list checkboxes | Improves Claude terminal UX for reviews and release notes. | No template change. Continue writing normal Markdown task lists; Claude now renders them more faithfully. |
25
+ | Enterprise `allowAllClaudeAiMcps` can load claude.ai cloud MCP connectors next to managed MCP config | Only affects managed Claude enterprise workspaces. | Document as Claude-template compatibility only; Codex MCP routing remains configured through Codex/OMX config. |
26
+ | PowerShell `cd` aliases, wildcard prefix rules, and stale directory-variable tracking were hardened | Permission-analysis fixes reduce Claude compatibility sandbox escapes. | No Codex shell-policy change. Do not copy PowerShell-specific assumptions into Codex Bash approvals. |
27
+ | Git worktree sandbox allowlists now cover only the shared `.git` directory, not the whole main repo | Aligns with this repo's preference for isolated worktrees during auto-dev sweeps. | Keep release and issue-sweep work in clean worktrees and verify dirty-tree boundaries explicitly. |
28
+ | Bash `find` no longer exhausts macOS file/vnode tables on large trees | Large repository scans are safer for Claude compatibility sessions. | Still prefer `rg`/targeted `find` in Codex sessions and keep scans bounded. |
29
+ | `/ultraplan` and remote sessions no longer fail when there are no real uncommitted changes | Reduces false blockers for clean-tree planning. | No package change; continue verifying `git status` before declaring clean boundaries. |
30
+ | `otelHeadersHelper` reports path-with-spaces failures in `/doctor` and debug logs | Helps diagnose local telemetry setup drift. | Keep hook and doctor guidance path-safe, especially under workspace paths that may contain spaces. |
31
+
32
+ ## v2.1.148
33
+
34
+ Published: 2026-05-22.
35
+
36
+ Source: upstream oh-my-customcode #1218, Codex port #1378.
37
+
38
+ | Change | Impact on oh-my-customcodex | Action |
39
+ |--------|------------------------------|--------|
40
+ | Fixed a v2.1.147 regression where the Bash tool returned exit code 127 for every command for some users | Claude compatibility sessions on affected versions may have produced false command-not-found failures. | Treat suspicious all-command `127` reports from Claude v2.1.147 as environment/version evidence to verify before changing repo code. No Codex runtime change. |
41
+
42
+ ## v2.1.147
43
+
44
+ Published: 2026-05-21.
45
+
46
+ Source: upstream oh-my-customcode #1216 and #1222, Codex ports #1376 and #1381.
47
+
48
+ | Change | Impact on oh-my-customcodex | Action |
49
+ |--------|------------------------------|--------|
50
+ | Added the `Workflow` tool for deterministic multi-agent orchestration, gated by `CLAUDE_CODE_WORKFLOWS=1` | This overlaps conceptually with OMX `$pipeline`, but it is a Claude-native tool surface. | Do not replace Codex/OMX pipeline routing with Claude Workflow. Mention the env gate when documenting Claude-template sessions. |
51
+ | Pinned background sessions stay alive when idle, restart in place for updates, and are shed after non-pinned sessions under memory pressure | Claude compatibility background agents are more durable. | Keep Codex-native child-agent and OMX session lifecycle separate; pinned Claude sessions are not proof of active OMX work. |
52
+ | `/simplify` was renamed to `/code-review`; it now reports correctness bugs at chosen effort levels and the old cleanup-and-fix behavior was removed | Potential naming confusion with this package's `dev-review` and `dev-refactor` skills. | Keep package commands as `dev-review` for best-practice review and `dev-refactor` for cleanup/refactor. Do not add a dead `simplify` route. |
53
+ | REPL and Workflow sandboxes were hardened against prototype-pollution and thenable-based escapes | Security hardening applies to Claude runtime internals. | No package code change; keep security reviews focused on repo-owned hooks, scripts, and generated templates. |
54
+ | Auto-updater retries transient network failures and reports specific error categories plus current version on update failure | Helps distinguish transient update problems from package regressions. | For publish/update triage, verify registry token, workflow logs, and current version before making permanent workflow edits. |
55
+ | Large diff rendering and prompt-history duplicate handling improved | UX-only for Claude compatibility sessions. | No template change. |
56
+ | Enterprise login restrictions are enforced against third-party-provider and API-key sessions | Managed Claude environments behave more consistently. | No Codex auth change. Treat enterprise login policy as external environment state. |
57
+ | Headless/SDK unknown slash commands now show an error instead of silently doing nothing | Broken generated commands should be easier to detect. | Keep template command names explicit and test packaged command references. |
58
+ | Plugin agents declaring multiple `Agent(...)` tool types no longer drop all but the last one | Compatibility templates with multi-agent tool declarations are safer. | Continue using canonical, explicit agent names in package docs and frontmatter. |
59
+ | Hook `if` conditions such as `PowerShell(git push*)` were fixed to match as intended | Claude hook compatibility improved. | Keep Codex hook routing Bash-first unless a hook is explicitly PowerShell-specific. |
60
+
61
+ ## v2.1.146
62
+
63
+ Published: 2026-05-21.
64
+
65
+ Source: upstream oh-my-customcode #1205, Codex port #1364.
66
+
67
+ | Change | Impact on oh-my-customcodex | Action |
68
+ |--------|------------------------------|--------|
69
+ | `/simplify` was renamed to `/code-review` and accepts effort levels such as `/code-review high` | Native Claude command naming is now closer to review workflows, but this package still exposes its own `dev-review` skill. | No runtime rename. Keep user-facing docs clear that `dev-review` is the package skill and `/code-review` is the native Claude command. |
70
+ | Auto mode no longer suppresses `AskUserQuestion` when the user or a skill explicitly relies on it | Ambiguity-gated compatibility workflows can ask explicit questions even in auto mode. | No Codex tool change. Keep `request_user_input`/question usage limited to genuinely branching cases. |
71
+ | MCP `resources/list`, `resources/templates/list`, and `prompts/list` pagination was fixed | Large memory or ontology MCP servers are less likely to hide resources after page 1. | No package change; treat complete paginated MCP lists as more reliable evidence. |
72
+ | `CLAUDE_CODE_SUBAGENT_MODEL` is forwarded to child processes in multi-agent sessions | Claude compatibility sessions with model env overrides now preserve child-process model intent. | No Codex model override. Codex-native child agents still follow repo model routing and inherited defaults. |
73
+ | `/background` accepts skill-only or custom-slash-only input and background sessions preserve granted tool permissions | Long-running Claude compatibility sessions are less likely to stall on already granted permissions. | No Codex change. Keep permission expectations explicit in workflow prompts. |
74
+ | Agent SDK streaming end-of-session exception was fixed | Agent SDK plugin experiments should be less noisy at stream completion. | Monitor only; no package change. |
75
+
76
+ ## v2.1.145
77
+
78
+ Published: 2026-05-19.
79
+
80
+ Source: upstream oh-my-customcode #1191, Codex port #1353.
81
+
82
+ | Change | Impact on oh-my-customcodex | Action |
83
+ |--------|------------------------------|--------|
84
+ | Statusline input includes structured GitHub fields such as `gh.repo`, `gh.pr_number`, and `gh.pr_state` | Removes the need to call `gh pr view` on every refresh when Claude compatibility statusline JSON already carries PR context. | Ported. `statusline.sh` now prefers native `gh.*` fields and falls back to the cached `gh pr view` path only when they are absent. |
85
+ | Additional statusline fields may be empty strings | Empty fields can collapse TSV parsing if not normalized. | Ported. Empty native GitHub fields are normalized before Bash reads them. |
86
+ | Stability fixes for statusline and background sessions are additive | No Codex runtime change beyond template compatibility. | Keep `.codex/**` behavior primary and mirror compatibility docs. |
87
+
88
+ ## v2.1.144
89
+
90
+ Published: 2026-05-18.
91
+
92
+ Source: upstream oh-my-customcode #1187, Codex port #1349.
93
+
94
+ | Change | Impact on oh-my-customcodex | Action |
95
+ |--------|------------------------------|--------|
96
+ | `claude agents --json` exposes structured background-agent state | Claude compatibility statusline and monitoring can show active agent counts without parsing display text. | Ported. Statusline JSON `agents` arrays render as `A:N` when active agents exist. |
97
+ | Stop/SubagentStop input can include `background_tasks` and `session_crons` | Session-end hooks can detect dangling background work and cron state. | Ported. `session-reflection.sh` records counts and summaries when those fields are present. |
98
+ | Background-agent status handling became more reliable | Reduces false stale-agent diagnostics for Claude compatibility users. | Keep existing Codex/OMX agent tracking and treat Claude JSON as optional compatibility evidence. |
99
+
100
+ ## v2.1.143
101
+
102
+ Published: 2026-05-17.
103
+
104
+ Source: upstream oh-my-customcode #1166, Codex port #1348.
105
+
106
+ | Change | Impact on oh-my-customcodex | Action |
107
+ |--------|------------------------------|--------|
108
+ | Hook/session lifecycle payloads became richer for background work | The compatibility template can capture more useful session-end evidence without blocking shutdown. | Ported through the advisory `session-reflection.sh` Stop/SubagentStop hook. |
109
+ | Background session handling received additional fixes | Helps Claude compatibility workflows that run long-lived agents. | No Codex runtime change; document behavior and keep OMX-native orchestration as primary. |
110
+ | Release-note changes are Claude-template oriented | The package must avoid redesigning Codex-native flow for Claude-only payload additions. | Mirror the compatibility guide and add tests that lock template/source docs together. |
111
+
5
112
  ## v2.1.142
6
113
 
7
114
  Published: 2026-05-14.
@@ -0,0 +1,51 @@
1
+ # Background Agent Progress Tracking
2
+
3
+ This is the Codex/OMX replacement for the old Claude Code background-agent tracking pattern. Use it when a subagent, team member, or delegated task keeps running while the main conversation moves on.
4
+
5
+ ## What To Track
6
+
7
+ | Field | Purpose | Suggested source |
8
+ | --- | --- | --- |
9
+ | `agent_id` | Identify the worker unambiguously | Team member label or agent name |
10
+ | `task` | Record what the worker is doing | The delegated prompt or issue title |
11
+ | `state` | Show the current lifecycle stage | `queued`, `running`, `blocked`, `done`, `cleaned` |
12
+ | `last_update` | Detect stale work | Timestamp from the latest status write |
13
+ | `owner` | Tie progress to the current session | Branch, run, or team lead |
14
+ | `next_action` | Make the next step obvious | `wait`, `retry`, `cleanup`, or `handoff` |
15
+
16
+ ## Preferred Surfaces
17
+
18
+ - `.omx/state/` for durable session state.
19
+ - `.omx/notepad.md` for lightweight progress notes.
20
+ - `.omx/logs/` for execution traces and failure evidence.
21
+ - `tracker-checkpoint` when you need a dedicated checkpoint agent to own progress bookkeeping.
22
+
23
+ ## Minimal Progress Loop
24
+
25
+ 1. Register the background task before it starts.
26
+ 2. Write a start record with the task and owner.
27
+ 3. Update the state when the worker changes phase.
28
+ 4. Mark the worker blocked instead of polling forever.
29
+ 5. Mark the worker done, then clean stale state if anything remains attached.
30
+
31
+ ## Recommended Status Format
32
+
33
+ ```text
34
+ agent: tracker-checkpoint
35
+ task: mirror rule and guide updates
36
+ state: running
37
+ last_update: 2026-05-24T12:00:00+09:00
38
+ owner: release/v0.5.2-auto-dev
39
+ next_action: wait_for_mirror_sync
40
+ ```
41
+
42
+ ## Staleness Rule
43
+
44
+ If a background worker stops updating, treat it as stale after a short, defined window. Do not keep polling indefinitely. Either re-plan the task, hand it off, or clean it up.
45
+
46
+ ## Codex/OMX Notes
47
+
48
+ - The main conversation should read the newest state file, not a stale log excerpt, before deciding what to do next.
49
+ - If the worker is a team member, the progress record should make the team lead and branch obvious.
50
+ - A background task that has already completed should not keep emitting progress noise.
51
+ - Legacy Claude Code background-session references can remain as compatibility notes, but the default progress surface here is `.omx/state/`.
@@ -8,6 +8,18 @@ guides:
8
8
  source:
9
9
  type: internal
10
10
 
11
+ - name: agent-teams
12
+ description: Agent Teams shutdown and tmux fallback troubleshooting for Codex/OMX sessions
13
+ path: ./agent-teams/troubleshooting.md
14
+ source:
15
+ type: internal
16
+
17
+ - name: claude-code-tracking
18
+ description: Background agent progress tracking and stale-state handling for Codex/OMX sessions
19
+ path: ./claude-code-tracking.md
20
+ source:
21
+ type: internal
22
+
11
23
  # Frontend
12
24
  - name: impeccable-design
13
25
  description: AI design language reference — typography, color, motion, and UX writing for production-grade UI
@@ -1,11 +1,11 @@
1
1
  {
2
- "version": "0.5.1",
2
+ "version": "0.5.3",
3
3
  "requiresCC": ">=2.1.121",
4
4
  "claudeCode": {
5
5
  "minimumVersion": "2.1.121",
6
6
  "protectedPathBypassVersion": "2.1.126"
7
7
  },
8
- "lastUpdated": "2026-05-19T00:00:00.000Z",
8
+ "lastUpdated": "2026-05-24T00:00:00.000Z",
9
9
  "components": [
10
10
  {
11
11
  "name": "rules",
@@ -29,7 +29,7 @@
29
29
  "name": "guides",
30
30
  "path": "guides",
31
31
  "description": "Reference documentation",
32
- "files": 48
32
+ "files": 50
33
33
  },
34
34
  {
35
35
  "name": "hooks",
@@ -0,0 +1,7 @@
1
+ {
2
+ "extends": "../tsconfig.json",
3
+ "compilerOptions": {
4
+ "types": ["bun-types"]
5
+ },
6
+ "include": ["**/*.ts"]
7
+ }