oh-my-customcodex 0.4.11 → 0.4.13

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 (40) hide show
  1. package/dist/cli/index.js +6 -1
  2. package/dist/index.js +6 -1
  3. package/package.json +6 -1
  4. package/templates/.claude/agents/mgr-creator.md +1 -1
  5. package/templates/.claude/agents/mgr-gitnerd.md +1 -1
  6. package/templates/.claude/agents/sys-memory-keeper.md +1 -1
  7. package/templates/.claude/agents/tracker-checkpoint.md +1 -1
  8. package/templates/.claude/agents/wiki-curator.md +1 -1
  9. package/templates/.claude/rules/MUST-agent-design.md +21 -16
  10. package/templates/.claude/rules/MUST-orchestrator-coordination.md +13 -0
  11. package/templates/.claude/rules/MUST-permissions.md +15 -0
  12. package/templates/.claude/skills/action-validator/SKILL.md +41 -0
  13. package/templates/.claude/skills/adaptive-harness/SKILL.md +5 -0
  14. package/templates/.claude/skills/agora/SKILL.md +1 -1
  15. package/templates/.claude/skills/dag-orchestration/SKILL.md +1 -1
  16. package/templates/.claude/skills/de-lead-routing/SKILL.md +1 -1
  17. package/templates/.claude/skills/deep-plan/SKILL.md +38 -322
  18. package/templates/.claude/skills/deep-verify/SKILL.md +1 -1
  19. package/templates/.claude/skills/dev-lead-routing/SKILL.md +1 -1
  20. package/templates/.claude/skills/dev-review/SKILL.md +5 -0
  21. package/templates/.claude/skills/hada-scout/SKILL.md +1 -1
  22. package/templates/.claude/skills/harness-eval/SKILL.md +1 -1
  23. package/templates/.claude/skills/harness-synthesizer/SKILL.md +5 -0
  24. package/templates/.claude/skills/omcodex-improve-report/SKILL.md +1 -1
  25. package/templates/.claude/skills/omcodex-takeover/SKILL.md +1 -1
  26. package/templates/.claude/skills/optimize-analyze/SKILL.md +1 -1
  27. package/templates/.claude/skills/optimize-report/SKILL.md +1 -1
  28. package/templates/.claude/skills/post-release-followup/SKILL.md +10 -5
  29. package/templates/.claude/skills/professor-triage/SKILL.md +55 -288
  30. package/templates/.claude/skills/qa-lead-routing/SKILL.md +1 -1
  31. package/templates/.claude/skills/research/SKILL.md +6 -1
  32. package/templates/.claude/skills/result-aggregation/SKILL.md +4 -0
  33. package/templates/.claude/skills/roundtable-debate/SKILL.md +1 -1
  34. package/templates/.claude/skills/scout/SKILL.md +1 -1
  35. package/templates/.claude/skills/secretary-routing/SKILL.md +1 -1
  36. package/templates/.claude/skills/skill-extractor/SKILL.md +4 -0
  37. package/templates/.claude/skills/task-decomposition/SKILL.md +1 -1
  38. package/templates/.claude/skills/worker-reviewer-pipeline/SKILL.md +1 -1
  39. package/templates/manifest.json +6 -1
  40. package/templates/workflows/auto-dev.yaml +2 -2
package/dist/cli/index.js CHANGED
@@ -3091,7 +3091,12 @@ var init_package = __esm(() => {
3091
3091
  workspaces: [
3092
3092
  "packages/*"
3093
3093
  ],
3094
- version: "0.4.11",
3094
+ version: "0.4.13",
3095
+ requiresCC: ">=2.1.121",
3096
+ claudeCode: {
3097
+ minimumVersion: "2.1.121",
3098
+ protectedPathBypassVersion: "2.1.126"
3099
+ },
3095
3100
  description: "Batteries-included agent harness on top of GPT Codex + OMX",
3096
3101
  type: "module",
3097
3102
  bin: {
package/dist/index.js CHANGED
@@ -2180,7 +2180,12 @@ var package_default = {
2180
2180
  workspaces: [
2181
2181
  "packages/*"
2182
2182
  ],
2183
- version: "0.4.11",
2183
+ version: "0.4.13",
2184
+ requiresCC: ">=2.1.121",
2185
+ claudeCode: {
2186
+ minimumVersion: "2.1.121",
2187
+ protectedPathBypassVersion: "2.1.126"
2188
+ },
2184
2189
  description: "Batteries-included agent harness on top of GPT Codex + OMX",
2185
2190
  type: "module",
2186
2191
  bin: {
package/package.json CHANGED
@@ -3,7 +3,12 @@
3
3
  "workspaces": [
4
4
  "packages/*"
5
5
  ],
6
- "version": "0.4.11",
6
+ "version": "0.4.13",
7
+ "requiresCC": ">=2.1.121",
8
+ "claudeCode": {
9
+ "minimumVersion": "2.1.121",
10
+ "protectedPathBypassVersion": "2.1.126"
11
+ },
7
12
  "description": "Batteries-included agent harness on top of GPT Codex + OMX",
8
13
  "type": "module",
9
14
  "bin": {
@@ -21,7 +21,7 @@ permissionMode: bypassPermissions
21
21
 
22
22
  ## Mandatory Sensitive Compatibility Paths
23
23
 
24
- When a task targets `.claude/**`, `templates/.claude/**`, or other Claude-compatibility mirrors, do not call Write/Edit directly on those paths in unattended automation. Produce the artifact body in `/tmp`, then apply it through the repo-approved sensitive-path script/artifact protocol so Codex-native `.codex/**` work remains autonomous and reviewable.
24
+ When a task targets `.claude/**`, `templates/.claude/**`, or other Claude-compatibility mirrors, treat the old `/tmp` wrapper as legacy fallback only. Codex-native `.codex/**` edits stay direct, and Claude Code `bypassPermissions` can write `.claude/skills/`, `.claude/agents/`, and `.claude/commands/` directly on v2.1.121+, with broader protected-path coverage on v2.1.126+.
25
25
 
26
26
  You are an agent creation specialist following R006 (MUST-agent-design.md) rules.
27
27
 
@@ -21,7 +21,7 @@ permissionMode: bypassPermissions
21
21
 
22
22
  ## Mandatory Sensitive Compatibility Paths
23
23
 
24
- When a task targets `.claude/**`, `templates/.claude/**`, or other Claude-compatibility mirrors, do not call Write/Edit directly on those paths in unattended automation. Produce the artifact body in `/tmp`, then apply it through the repo-approved sensitive-path script/artifact protocol so Codex-native `.codex/**` work remains autonomous and reviewable.
24
+ When a task targets `.claude/**`, `templates/.claude/**`, or other Claude-compatibility mirrors, treat the old `/tmp` wrapper as legacy fallback only. Codex-native `.codex/**` edits stay direct, and Claude Code `bypassPermissions` can write `.claude/skills/`, `.claude/agents/`, and `.claude/commands/` directly on v2.1.121+, with broader protected-path coverage on v2.1.126+.
25
25
 
26
26
  You are a Git operations specialist following GitHub flow best practices.
27
27
 
@@ -25,7 +25,7 @@ permissionMode: bypassPermissions
25
25
 
26
26
  ## Mandatory Sensitive Compatibility Paths
27
27
 
28
- When a task targets `.claude/**`, `templates/.claude/**`, or other Claude-compatibility mirrors, do not call Write/Edit directly on those paths in unattended automation. Produce the artifact body in `/tmp`, then apply it through the repo-approved sensitive-path script/artifact protocol so Codex-native `.codex/**` work remains autonomous and reviewable.
28
+ When a task targets `.claude/**`, `templates/.claude/**`, or other Claude-compatibility mirrors, treat the old `/tmp` wrapper as legacy fallback only. Codex-native `.codex/**` edits stay direct, and Claude Code `bypassPermissions` can write `.claude/skills/`, `.claude/agents/`, and `.claude/commands/` directly on v2.1.121+, with broader protected-path coverage on v2.1.126+.
29
29
 
30
30
  You are a session memory management specialist ensuring context survives across session compactions using claude-mem.
31
31
 
@@ -12,7 +12,7 @@ permissionMode: bypassPermissions
12
12
 
13
13
  ## Mandatory Sensitive Compatibility Paths
14
14
 
15
- When a task targets `.claude/**`, `templates/.claude/**`, or other Claude-compatibility mirrors, do not call Write/Edit directly on those paths in unattended automation. Produce the artifact body in `/tmp`, then apply it through the repo-approved sensitive-path script/artifact protocol so Codex-native `.codex/**` work remains autonomous and reviewable.
15
+ When a task targets `.claude/**`, `templates/.claude/**`, or other Claude-compatibility mirrors, treat the old `/tmp` wrapper as legacy fallback only. Codex-native `.codex/**` edits stay direct, and Claude Code `bypassPermissions` can write `.claude/skills/`, `.claude/agents/`, and `.claude/commands/` directly on v2.1.121+, with broader protected-path coverage on v2.1.126+.
16
16
 
17
17
  # Tracker Checkpoint Agent
18
18
 
@@ -16,7 +16,7 @@ permissionMode: bypassPermissions
16
16
 
17
17
  ## Mandatory Sensitive Compatibility Paths
18
18
 
19
- When a task targets `.claude/**`, `templates/.claude/**`, or other Claude-compatibility mirrors, do not call Write/Edit directly on those paths in unattended automation. Produce the artifact body in `/tmp`, then apply it through the repo-approved sensitive-path script/artifact protocol so Codex-native `.codex/**` work remains autonomous and reviewable.
19
+ When a task targets `.claude/**`, `templates/.claude/**`, or other Claude-compatibility mirrors, treat the old `/tmp` wrapper as legacy fallback only. Codex-native `.codex/**` edits stay direct, and Claude Code `bypassPermissions` can write `.claude/skills/`, `.claude/agents/`, and `.claude/commands/` directly on v2.1.121+, with broader protected-path coverage on v2.1.126+.
20
20
 
21
21
  # Wiki Curator
22
22
 
@@ -243,34 +243,39 @@ Skills persist output to `.codex/outputs/sessions/{YYYY-MM-DD}/{skill-name}-{HHm
243
243
 
244
244
  ## Sensitive Path Handling
245
245
 
246
- Claude Code treats `.claude/` and `templates/.claude/` as sensitive directories across Bash, Write, and Edit operations. The sensitive-path check runs above `bypassPermissions` and explicit allow rules, so allow rules do not override the sensitive-path check.
246
+ Claude Code still treats `.claude/` and `templates/.claude/` as protected compatibility surfaces, but the current behavior is version-sensitive rather than a universal prompt wall.
247
247
 
248
- This Codex port uses `.codex/` as the active runtime surface, but packaged compatibility templates still live under `templates/.claude/`. Any automation that writes those templates must account for Claude Code permission prompts.
248
+ This Codex port uses `.codex/` as the active runtime surface. `.codex/**` edits should use the normal Codex edit/patch flow with no Claude-only `/tmp` wrapper.
249
249
 
250
- **Key rule**: `.claude/` and `templates/.claude/` Bash/Write/Edit targets can trigger sensitive-path prompts regardless of allow rules. In unattended flows, delegated agents must produce artifact bodies in `/tmp/{skill}-{timestamp}.md` first and avoid direct `.claude/**` tool targets.
250
+ **Current compatibility rule**:
251
+
252
+ - **CC v2.1.121+**: `bypassPermissions` no longer prompts for direct writes to `.claude/skills/`, `.claude/agents/`, and `.claude/commands/`.
253
+ - **CC v2.1.126+**: `bypassPermissions` also bypasses prompts for broader protected paths such as `.claude/**`, `.git/**`, `.vscode/**`, and shell config files.
254
+ - **Historical fallback only**: if the target runtime is older than v2.1.121, not running with `bypassPermissions`, or still surfaces a protected-path prompt, use `/tmp/{skill}-{timestamp}.md` only as a compatibility fallback for the final `.claude/**` or `templates/.claude/**` write.
251
255
 
252
256
  <!-- DETAIL: Sensitive Path Behavior table and Recommended practice
253
- | Path pattern | Sensitive in Claude Code? | Affected operations |
254
- |--------------|---------------------------|---------------------|
255
- | `.claude/**` | Yes | Bash writes, Write, Edit |
256
- | `templates/.claude/**` | Yes | Bash writes, Write, Edit |
257
- | `.codex/**` | No | Normal Codex runtime writes; still follow R010/R017 |
258
- | `.codex/outputs/**` and `.claude/outputs/**` | Treat as constrained artifact paths | Use file-write APIs that create parents; do not pre-create with Bash |
257
+ | Path pattern | Guidance |
258
+ |--------------|----------|
259
+ | `.claude/skills/**`, `.claude/agents/**`, `.claude/commands/**` | Direct writes are acceptable in Claude Code `bypassPermissions` on v2.1.121+ |
260
+ | `.claude/**`, `.git/**`, `.vscode/**`, shell config files | Direct writes are acceptable in Claude Code `bypassPermissions` on v2.1.126+ |
261
+ | `templates/.claude/**` | Mirror deliberately; use the historical `/tmp` fallback only when the runtime still prompts |
262
+ | `.codex/**` | Normal Codex runtime writes; still follow R010/R017 |
263
+ | `.codex/outputs/**` and `.claude/outputs/**` | Treat as constrained artifact paths; use file-write APIs that create parents and do not pre-create with Bash |
259
264
 
260
265
  Recommended practice:
261
266
 
262
- 1. Prefer Write/Edit in an interactive session, or managed sync/update paths, over Bash copy/mkdir/tee writes for `.claude/` and `templates/.claude/`.
263
- 2. Keep allow rules only as defensive documentation; do not rely on them to suppress sensitive-path prompts.
264
- 3. Do not run unattended Claude Code release automation that writes `templates/.claude/**` unless the workflow can handle interactive approval.
265
- 4. In this Codex port, update `.codex/...` source files and their `templates/.claude/...` mirrors deliberately instead of bulk-copying with shell commands.
266
- 5. For unattended Claude compatibility-template writes, use a reviewed temporary script wrapper and verify the resulting diff; direct Bash/Write/Edit targets under `templates/.claude/**` can all trigger the sensitive-path guard.
267
+ 1. Prefer direct Write/Edit for `.codex/**` and for compatible `.claude/**` targets when the runtime version and permission mode allow it.
268
+ 2. Keep allow rules only as defensive documentation; current behavior depends on Claude Code version and permission mode, not allow-rule wishful thinking.
269
+ 3. In this Codex port, update `.codex/...` source files and their `templates/.claude/...` mirrors deliberately instead of bulk-copying with shell commands.
270
+ 4. Use the historical `/tmp` artifact-body fallback only for legacy Claude Code versions or sessions that still prompt on protected paths.
271
+ 5. When compatibility-template writes still require a fallback, verify the resulting diff and remove stale wrapper boilerplate from repeated prompts.
267
272
  -->
268
273
 
269
274
  Delegation prompt requirement:
270
275
 
271
- Any prompt that delegates work involving `.claude/**`, `templates/.claude/**`, `.claude/outputs/**`, or read-only measurement of those paths MUST include this block verbatim:
276
+ Delegated prompts touching `.claude/**`, `templates/.claude/**`, `.claude/outputs/**`, or read-only measurement of those paths MUST include this block:
272
277
 
273
- > Sensitive-path artifact protocol (mandatory): do not ask a subagent to call Read, Bash, Write, or Edit directly on `.claude/**` or `templates/.claude/**` paths. If Claude compatibility artifacts are required, have the subagent produce the artifact body in `/tmp/{skill}-{timestamp}.md`, then use a reviewed temporary script wrapper or managed file-write API for the final checked-in path. Do not use direct Write/Edit/Bash targets under `.claude/**` in unattended flows.
278
+ > Sensitive-path compatibility note: Codex-managed `.codex/**` edits use the normal edit/patch flow. On Claude Code v2.1.121+ with `bypassPermissions`, direct writes to `.claude/skills/`, `.claude/agents/`, and `.claude/commands/` are allowed; on v2.1.126+ that also extends to broader protected paths such as `.claude/**`, `.git/**`, and `.vscode/**`. Only fall back to `/tmp/{skill}-{timestamp}.md` when the target runtime is older than v2.1.121, not running with `bypassPermissions`, or still surfaces a protected-path prompt.
274
279
 
275
280
  ## Separation of Concerns
276
281
 
@@ -147,6 +147,19 @@ Key violations to avoid (file writes, git commands, bundled operations — all m
147
147
  ```
148
148
  -->
149
149
 
150
+ ## Historical Sensitive-Path Bypass
151
+
152
+ **Status**: deprecated as of Claude Code v2.1.121 for `.claude/skills/`, `.claude/agents/`, and `.claude/commands/`; fully deprecated in `bypassPermissions` as of v2.1.126 for broader protected paths.
153
+
154
+ Older guidance sometimes required a universal `/tmp` artifact-wrapper flow before touching Claude compatibility paths. Do not use that as the default in this Codex-native port.
155
+
156
+ Current guidance:
157
+
158
+ - Edit `.codex/**` directly with the normal Codex edit/patch flow.
159
+ - In Claude Code `bypassPermissions`, direct writes to `.claude/skills/`, `.claude/agents/`, and `.claude/commands/` are acceptable on v2.1.121+.
160
+ - In Claude Code `bypassPermissions`, broader protected-path writes such as `.claude/**`, `.git/**`, and `.vscode/**` are acceptable on v2.1.126+.
161
+ - Keep the `/tmp/{skill}-{timestamp}.md` pattern only as a legacy fallback for older Claude Code versions or sessions that still surface a protected-path prompt.
162
+
150
163
  <!-- DETAIL: Autonomous Execution Mode
151
164
 
152
165
  ## Autonomous Execution Mode
@@ -21,6 +21,21 @@
21
21
  | Write | Source code, new files in project | .env, .git/config, paths outside project |
22
22
  | Delete | Temp files created by agent | Existing files (without request), entire directories |
23
23
 
24
+ ## Claude Code Protected-Path Compatibility
25
+
26
+ Codex-native `.codex/**` edits are normal project writes and do not require the historical Claude-only `/tmp` bypass pattern.
27
+
28
+ Claude Code compatibility behavior changed in two steps:
29
+
30
+ - **CC v2.1.121+**: `--dangerously-skip-permissions` / `bypassPermissions` no longer prompts for writes to `.claude/skills/`, `.claude/agents/`, and `.claude/commands/`.
31
+ - **CC v2.1.126+**: the same mode also bypasses prompts for broader protected paths such as `.claude/**`, `.git/**`, `.vscode/**`, and shell config files.
32
+
33
+ Current guidance:
34
+
35
+ - Prefer direct Write/Edit/Bash targets for `.codex/**`.
36
+ - For `.claude/**` or `templates/.claude/**`, direct writes are acceptable when the target Claude Code runtime is new enough and the session is running with `bypassPermissions`.
37
+ - Treat the old `/tmp/{skill}-{timestamp}.md` wrapper flow as a historical fallback only for older Claude Code versions, non-bypass sessions, or interactive runs that still surface a protected-path prompt.
38
+
24
39
  ## Permission Request Format
25
40
 
26
41
  ```
@@ -57,20 +57,61 @@ policy_cache:
57
57
  - tool: Bash
58
58
  pattern: "git add *"
59
59
  verdict: allow
60
+ hints: { safety: normal, parallel: false, approval: auto }
60
61
  - tool: Bash
61
62
  pattern: "git commit *"
62
63
  verdict: allow
64
+ hints: { safety: normal, parallel: false, approval: auto }
63
65
  - tool: Bash
64
66
  pattern: "git push *"
65
67
  verdict: warn_confirm
68
+ hints: { safety: low, parallel: false, approval: needs_approval }
66
69
  ```
67
70
 
68
71
  Policy caching reduces redundant LLM calls for well-understood workflows. Policies are advisory — the orchestrator may override.
69
72
 
73
+ ## Capability Hints (Opus 4.7+)
74
+
75
+ When agents target Opus 4.7 (`opus47` model alias), tool capability hints improve batched tool-call planning. Declare per-tool metadata in policy cache entries:
76
+
77
+ | Field | Values | Effect |
78
+ |-------|--------|--------|
79
+ | `safety` | `normal`, `low` | `low` triggers confirmation advisory |
80
+ | `parallel` | `true`, `false` | `true` allows concurrent scheduling |
81
+ | `approval` | `auto`, `needs_approval` | Maps to R002 permission tier |
82
+
83
+ ### Example: Enhanced Policy Cache with Capability Hints
84
+
85
+ ```yaml
86
+ policy_cache:
87
+ agent: mgr-gitnerd
88
+ action: git-commit
89
+ validated_steps:
90
+ - tool: Bash
91
+ pattern: "git add *"
92
+ verdict: allow
93
+ hints: { safety: normal, parallel: false, approval: auto }
94
+ - tool: Bash
95
+ pattern: "git push *"
96
+ verdict: warn_confirm
97
+ hints: { safety: low, parallel: false, approval: needs_approval }
98
+ - tool: Read
99
+ pattern: "*"
100
+ verdict: allow
101
+ hints: { safety: normal, parallel: true, approval: auto }
102
+ ```
103
+
104
+ Hints are advisory — they inform model scheduling but do not enforce. Inspired by [ouroboros PR #353](https://github.com/Q00/ouroboros/pull/353) capability graph pattern.
105
+
70
106
  ## Code Harness Integration (AutoHarness)
71
107
 
72
108
  When a synthesized harness exists for an agent (`.codex/outputs/harnesses/{agent-name}-*.yaml`), action-validator can use it for enhanced validation:
73
109
 
110
+ ### Compatibility artifact protocol
111
+
112
+ Sensitive-path compatibility note: when delegated work touches `.claude/outputs/`, `.claude/**`, or `templates/.claude/**`, keep `.codex/**` artifacts on the normal file-write path. On Claude Code v2.1.121+ with `bypassPermissions`, direct compatibility writes are allowed for `.claude/skills/`, `.claude/agents/`, and `.claude/commands/`; on v2.1.126+ broader protected paths are covered. Use `/tmp/<skill>-<timestamp>.md` only as a legacy fallback when the runtime is older or still prompts.
113
+
114
+
74
115
  | Mode | Source | Behavior |
75
116
  |------|--------|----------|
76
117
  | Advisory (default) | Prompt-based checks | Emit warnings only |
@@ -185,6 +185,11 @@ Check `active_agents` list against files actually present in `.codex/agents/`. I
185
185
 
186
186
  Append a record to `.codex/outputs/harness-adaptations/YYYY-MM-DD.md`:
187
187
 
188
+ ### Compatibility artifact protocol
189
+
190
+ Sensitive-path compatibility note: when delegated work touches `.claude/outputs/`, `.claude/**`, or `templates/.claude/**`, keep `.codex/**` artifacts on the normal file-write path. On Claude Code v2.1.121+ with `bypassPermissions`, direct compatibility writes are allowed for `.claude/skills/`, `.claude/agents/`, and `.claude/commands/`; on v2.1.126+ broader protected paths are covered. Use `/tmp/<skill>-<timestamp>.md` only as a legacy fallback when the runtime is older or still prompts.
191
+
192
+
188
193
  ```markdown
189
194
  ## Optimization Run — 2026-04-12T10:00:00Z
190
195
 
@@ -25,7 +25,7 @@ source:
25
25
 
26
26
  ## Sensitive-Path Delegation
27
27
 
28
- Sensitive-path artifact protocol (mandatory): if this skill delegates work that touches `.claude/**`, `.claude/outputs/**`, `templates/.claude/**`, or read-only measurements of those paths, include this protocol directly in the delegated prompt. The delegate must produce artifact bodies in `/tmp/{skill}-{timestamp}.md` first and must avoid direct Read, Bash, Write, or Edit targets under `.claude/**` in unattended flows.
28
+ Sensitive-path compatibility note: if this skill delegates work that touches `.claude/**`, `.claude/outputs/**`, `templates/.claude/**`, or read-only measurements of those paths, keep `.codex/**` edits on the normal Codex path. On Claude Code v2.1.121+ with `bypassPermissions`, direct writes to `.claude/skills/`, `.claude/agents/`, and `.claude/commands/` are allowed; on v2.1.126+ that extends to broader protected paths. Only use `/tmp/{skill}-{timestamp}.md` as a legacy fallback when the target runtime is older or still prompts.
29
29
 
30
30
  ## Usage
31
31
 
@@ -86,7 +86,7 @@ config:
86
86
 
87
87
  ## Sensitive-Path Delegation
88
88
 
89
- Sensitive-path artifact protocol (mandatory): if this skill delegates work that touches `.claude/**`, `.claude/outputs/**`, `templates/.claude/**`, or read-only measurements of those paths, include this protocol directly in the delegated prompt. The delegate must produce artifact bodies in `/tmp/{skill}-{timestamp}.md` first and must avoid direct Read, Bash, Write, or Edit targets under `.claude/**` in unattended flows.
89
+ Sensitive-path compatibility note: if this skill delegates work that touches `.claude/**`, `.claude/outputs/**`, `templates/.claude/**`, or read-only measurements of those paths, keep `.codex/**` edits on the normal Codex path. On Claude Code v2.1.121+ with `bypassPermissions`, direct writes to `.claude/skills/`, `.claude/agents/`, and `.claude/commands/` are allowed; on v2.1.126+ that extends to broader protected paths. Only use `/tmp/{skill}-{timestamp}.md` as a legacy fallback when the target runtime is older or still prompts.
90
90
 
91
91
  ## Execution Rules
92
92
 
@@ -221,7 +221,7 @@ Delegate to mgr-creator with context:
221
221
 
222
222
  ## Sensitive-Path Delegation
223
223
 
224
- Sensitive-path artifact protocol (mandatory): if this skill delegates work that touches `.claude/**`, `.claude/outputs/**`, `templates/.claude/**`, or read-only measurements of those paths, include this protocol directly in the delegated prompt. The delegate must produce artifact bodies in `/tmp/{skill}-{timestamp}.md` first and must avoid direct Read, Bash, Write, or Edit targets under `.claude/**` in unattended flows.
224
+ Sensitive-path compatibility note: if this skill delegates work that touches `.claude/**`, `.claude/outputs/**`, `templates/.claude/**`, or read-only measurements of those paths, keep `.codex/**` edits on the normal Codex path. On Claude Code v2.1.121+ with `bypassPermissions`, direct writes to `.claude/skills/`, `.claude/agents/`, and `.claude/commands/` are allowed; on v2.1.126+ that extends to broader protected paths. Only use `/tmp/{skill}-{timestamp}.md` as a legacy fallback when the target runtime is older or still prompts.
225
225
 
226
226
  ## Usage
227
227