oh-my-customcode 0.136.1 → 0.136.2
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.
package/dist/cli/index.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -88,25 +88,11 @@ steps:
|
|
|
88
88
|
- All Agent tool calls MUST pass mode: "bypassPermissions" to prevent permission prompts during unattended execution
|
|
89
89
|
|
|
90
90
|
|
|
91
|
-
##
|
|
91
|
+
## Sensitive Path Handling (CC v2.1.121+)
|
|
92
92
|
|
|
93
|
-
|
|
93
|
+
Direct Write/Edit/Bash on `.claude/**` is permitted under `mode: "bypassPermissions"` as of CC v2.1.121 (#1101). The legacy `/tmp/*.sh` bypass is no longer required. Structural changes (new agents/skills) still go through mgr-creator with R017 verification.
|
|
94
94
|
|
|
95
|
-
|
|
96
|
-
1. Write(/tmp/fix-{topic}.sh) — script contents may use heredoc/sed/cp targeting .claude/
|
|
97
|
-
2. Bash(bash /tmp/fix-{topic}.sh) — Bash target is /tmp/, not .claude/
|
|
98
|
-
3. Read or Bash(head/grep) on .claude/ paths is fine (Read tool sensitive-path exempt; Bash on .claude/ is also exempt for some commands but to stay safe always use /tmp script for any sed/cat/wc on .claude/).
|
|
99
|
-
|
|
100
|
-
Rationale: CC sensitive-path check inspects tool-call target paths but does NOT audit script-internal file operations. Direct Write/Edit/Bash on .claude/ triggers user approval prompts even with bypassPermissions, breaking unattended automation.
|
|
101
|
-
|
|
102
|
-
Use this pattern for:
|
|
103
|
-
- Any documentation fix in .claude/
|
|
104
|
-
- Any frontmatter change
|
|
105
|
-
- Any read-only measurement / inspection / counting
|
|
106
|
-
- Count synchronization between source and templates
|
|
107
|
-
- Structural changes (new agents/skills) MUST still go through mgr-creator with R017 verification, AND mgr-creator itself uses /tmp bypass for the file writes
|
|
108
|
-
|
|
109
|
-
References: #1052, #1016 (v0.111.1 origin), #1046 (v0.116.1 delegation directive loss fix), feedback_sensitive_path_tmp_bypass.md memory
|
|
95
|
+
For CC < v2.1.121 see git history for the legacy bypass pattern.
|
|
110
96
|
|
|
111
97
|
## Local CI-mimic verification (MUST run before marking implement done)
|
|
112
98
|
|
|
@@ -160,9 +146,24 @@ steps:
|
|
|
160
146
|
git branch -D release
|
|
161
147
|
fi
|
|
162
148
|
Reference: issue #1141 (v0.135.0 follow-up), mgr-gitnerd MEMORY.md.
|
|
163
|
-
|
|
149
|
+
|
|
150
|
+
1. Version bump (mandatory):
|
|
151
|
+
Orchestrator delegates to mgr-updater (R010). mgr-updater executes the following atomic edits:
|
|
152
|
+
Determine NEW version per semver rules below.
|
|
153
|
+
npm project (package.json exists):
|
|
154
|
+
a. package.json: jq '.version = "<NEW>"' package.json > package.json.tmp && mv package.json.tmp package.json
|
|
155
|
+
b. templates/manifest.json: jq '.version = "<NEW>"' templates/manifest.json > templates/manifest.json.tmp && mv templates/manifest.json.tmp templates/manifest.json
|
|
156
|
+
c. mgr-gitnerd commit: "chore(release): bump to v<NEW>"
|
|
157
|
+
d. mgr-gitnerd push develop
|
|
158
|
+
e. mandatory verification (with existence guard for partial-update safety):
|
|
159
|
+
[ -f scripts/verify-version-sync.sh ] && bash scripts/verify-version-sync.sh || echo "::warning::verify-version-sync.sh not found, version sync verification skipped"
|
|
160
|
+
(verify-version-sync.sh 가 exit 1 시 release 단계 halt)
|
|
161
|
+
|
|
162
|
+
Version decision (semver):
|
|
164
163
|
- No existing tags → v0.1.0
|
|
165
|
-
-
|
|
164
|
+
- Previous tag exists → patch (bugfix) / minor (features) / major (breaking)
|
|
165
|
+
- Previous tag is ahead of source version (e.g., tag v0.136.1, package.json 0.136.0): use next available skip-version (0.136.2)
|
|
166
|
+
|
|
166
167
|
2. Release notes via omcustom-release-notes skill
|
|
167
168
|
3. Delegate to mgr-gitnerd:
|
|
168
169
|
- git tag + push
|
|
@@ -173,7 +174,7 @@ steps:
|
|
|
173
174
|
6. Adapt release mechanism to project:
|
|
174
175
|
- npm project: PR + merge + npm publish verification
|
|
175
176
|
- Non-npm: direct tag on main (trunk-based)
|
|
176
|
-
description: "Git tag + GitHub Release + close milestone/issues"
|
|
177
|
+
description: "Git tag + GitHub Release + close milestone/issues (with mandatory version sync verification)"
|
|
177
178
|
depends_on: deep-verify
|
|
178
179
|
|
|
179
180
|
- name: ci-check
|
package/templates/manifest.json
CHANGED