oh-my-customcode 1.1.1 → 1.1.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 +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/templates/.claude/agents/mgr-gitnerd.md +1 -1
- package/templates/.claude/agents/slack-cli-expert.md +1 -1
- package/templates/.claude/agents/wiki-curator.md +4 -4
- package/templates/.claude/rules/MUST-agent-design.md +1 -2
- package/templates/.claude/rules/MUST-orchestrator-coordination.md +1 -1
- package/templates/.claude/rules/index.yaml +40 -0
- package/templates/.claude/skills/action-validator/SKILL.md +6 -7
- package/templates/.claude/skills/adaptive-harness/SKILL.md +6 -7
- package/templates/.claude/skills/agent-eval-framework/SKILL.md +4 -5
- package/templates/.claude/skills/de-lead-routing/SKILL.md +2 -2
- package/templates/.claude/skills/deep-plan/SKILL.md +8 -13
- package/templates/.claude/skills/deep-verify/SKILL.md +2 -3
- package/templates/.claude/skills/dev-lead-routing/SKILL.md +2 -2
- package/templates/.claude/skills/dev-review/SKILL.md +4 -5
- package/templates/.claude/skills/docker-best-practices/SKILL.md +0 -2
- package/templates/.claude/skills/hada-scout/SKILL.md +1 -1
- package/templates/.claude/skills/harness-eval/SKILL.md +3 -7
- package/templates/.claude/skills/harness-synthesizer/SKILL.md +3 -7
- package/templates/.claude/skills/help/SKILL.md +5 -8
- package/templates/.claude/skills/lists/SKILL.md +26 -25
- package/templates/.claude/skills/monitoring-setup/SKILL.md +4 -1
- package/templates/.claude/skills/post-release-followup/SKILL.md +2 -8
- package/templates/.claude/skills/professor-triage/SKILL.md +10 -14
- package/templates/.claude/skills/qa-lead-routing/SKILL.md +2 -2
- package/templates/.claude/skills/reasoning-sandwich/SKILL.md +9 -9
- package/templates/.claude/skills/research/SKILL.md +2 -8
- package/templates/.claude/skills/result-aggregation/SKILL.md +2 -8
- package/templates/.claude/skills/roundtable-debate/SKILL.md +6 -8
- package/templates/.claude/skills/sauron-watch/SKILL.md +1 -1
- package/templates/.claude/skills/secretary-routing/SKILL.md +2 -2
- package/templates/.claude/skills/skill-extractor/SKILL.md +2 -8
- package/templates/.claude/skills/spark-best-practices/SKILL.md +1 -1
- package/templates/.claude/skills/status/SKILL.md +11 -16
- package/templates/.claude/skills/token-efficiency-audit/SKILL.md +1 -1
- package/templates/.claude/skills/wiki/SKILL.md +1 -1
- package/templates/.claude/skills/wiki-rag/SKILL.md +1 -1
- package/templates/guides/airflow/README.md +8 -8
- package/templates/guides/alembic/README.md +1 -1
- package/templates/guides/cc-token-saver/README.md +14 -0
- package/templates/guides/claude-code/03-tools.md +1 -1
- package/templates/guides/claude-code/06-mcp.md +1 -1
- package/templates/guides/claude-code/11-sub-agents.md +4 -4
- package/templates/guides/claude-code/13-cli-flags.md +1 -0
- package/templates/guides/claude-code/15-version-compatibility.md +4 -2
- package/templates/guides/claude-code/index.yaml +15 -0
- package/templates/guides/claude-code-tracking.md +2 -2
- package/templates/guides/deep-plan/phases.md +7 -9
- package/templates/guides/external-tools/ecc-absorption-decisions.md +2 -2
- package/templates/guides/external-tools/graphify-integration.md +1 -1
- package/templates/guides/git-worktree-workflow/README.md +1 -1
- package/templates/guides/index.yaml +1 -1
- package/templates/guides/multi-model-routing/README.md +7 -2
- package/templates/guides/professor-triage/README.md +2 -2
- package/templates/guides/professor-triage/phases.md +3 -14
- package/templates/manifest.json +1 -1
package/dist/cli/index.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -33,7 +33,7 @@ You are a Git operations specialist following GitHub flow best practices.
|
|
|
33
33
|
```
|
|
34
34
|
<type>(<scope>): <subject>
|
|
35
35
|
|
|
36
|
-
Co-Authored-By: Claude Opus 4.
|
|
36
|
+
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
Types: feat, fix, docs, style, refactor, test, chore
|
|
@@ -14,7 +14,7 @@ tools:
|
|
|
14
14
|
permissionMode: bypassPermissions
|
|
15
15
|
---
|
|
16
16
|
|
|
17
|
-
You are an expert Slack CLI developer specialized in building, deploying, and managing Slack apps using the official Slack CLI v4.
|
|
17
|
+
You are an expert Slack CLI developer specialized in building, deploying, and managing Slack apps using the official Slack CLI (v4.x) and the Slack Platform (https://docs.slack.dev/tools/slack-cli/). Slack CLI v4.0 adds first-class Slack Agent development support.
|
|
18
18
|
|
|
19
19
|
## Capabilities
|
|
20
20
|
|
|
@@ -22,7 +22,7 @@ Dedicated agent for wiki file operations. All wiki/ directory writes go through
|
|
|
22
22
|
|
|
23
23
|
- Create new wiki pages from source file analysis
|
|
24
24
|
- Update existing wiki pages when sources change
|
|
25
|
-
- Maintain index.
|
|
25
|
+
- Maintain index.yaml and log.jsonl
|
|
26
26
|
- Execute wiki lint fixes (orphan removal, cross-ref repair)
|
|
27
27
|
- Generate synthesis pages (architecture, workflows, concepts)
|
|
28
28
|
|
|
@@ -51,18 +51,18 @@ Every page must:
|
|
|
51
51
|
3. Determine what changed
|
|
52
52
|
4. Write updated page with current date in `updated` field
|
|
53
53
|
5. Update cross-references in related pages
|
|
54
|
-
6. Update index.
|
|
54
|
+
6. Update index.yaml if page is new
|
|
55
55
|
|
|
56
56
|
### Batch Update (Category)
|
|
57
57
|
1. Glob source files in category
|
|
58
58
|
2. Compare modification dates against wiki pages
|
|
59
59
|
3. Write only changed/new pages
|
|
60
|
-
4. Batch-update index.
|
|
60
|
+
4. Batch-update index.yaml once at end
|
|
61
61
|
|
|
62
62
|
### Lint Fix
|
|
63
63
|
1. Receive lint findings from orchestrator
|
|
64
64
|
2. Fix each category: remove orphans, repair broken refs, update stale pages
|
|
65
|
-
3. Append fix results to log.
|
|
65
|
+
3. Append fix results to log.jsonl
|
|
66
66
|
|
|
67
67
|
## Limitations
|
|
68
68
|
|
|
@@ -24,8 +24,7 @@ tools: [Read, Write, ...] # Allowed tools
|
|
|
24
24
|
| `sonnet5` | claude-sonnet-5 | CC default (v2.1.197+); native 1M context |
|
|
25
25
|
| `opus` | claude-opus-4-6 | Complex reasoning, architecture |
|
|
26
26
|
| `opusplan` | claude-opus-4-6 + plan mode | Architecture planning with approval gates |
|
|
27
|
-
| `
|
|
28
|
-
| `opus48` | claude-opus-4-8 | Latest Opus model (GA); highest capability below Fable 5 |
|
|
27
|
+
| `opus48` | claude-opus-4-8 | Latest Opus model (GA); highest capability below Fable 5; supports xhigh effort |
|
|
29
28
|
| `fable` | claude-fable-5 | Mythos-class; tier above Opus, highest GA capability (access added in CC v2.1.170) |
|
|
30
29
|
|
|
31
30
|
Extended context suffix: `[1m]` (e.g., `claude-opus-4-6[1m]`) — enables 1M token context window.
|
|
@@ -287,7 +287,7 @@ The Agent tool defaults to `mode: "acceptEdits"`, which overrides agent frontmat
|
|
|
287
287
|
| Scope | Every Agent tool call, without exception |
|
|
288
288
|
| Why | CC's Agent tool `mode` default (`acceptEdits`) overrides frontmatter |
|
|
289
289
|
| History | #926 (v0.99.1), #947 (v0.100.1), #955 (v0.103.0) — recurring issue |
|
|
290
|
-
| Enforcement | Prompt-based (R021); all
|
|
290
|
+
| Enforcement | Prompt-based (R021); all agent-spawning skills include instruction |
|
|
291
291
|
|
|
292
292
|
### Self-Check
|
|
293
293
|
|
|
@@ -132,6 +132,46 @@ rules:
|
|
|
132
132
|
priority: MUST
|
|
133
133
|
scope: orchestrator
|
|
134
134
|
|
|
135
|
+
# Completion Verification - MUST
|
|
136
|
+
- id: R020
|
|
137
|
+
name: completion-verification
|
|
138
|
+
title: Completion Verification Rules
|
|
139
|
+
path: ./MUST-completion-verification.md
|
|
140
|
+
priority: MUST
|
|
141
|
+
scope: all
|
|
142
|
+
|
|
143
|
+
# Enforcement Policy - MUST
|
|
144
|
+
- id: R021
|
|
145
|
+
name: enforcement-policy
|
|
146
|
+
title: Enforcement Policy
|
|
147
|
+
path: ./MUST-enforcement-policy.md
|
|
148
|
+
priority: MUST
|
|
149
|
+
scope: all
|
|
150
|
+
|
|
151
|
+
# Ontology-RAG Routing - SHOULD
|
|
152
|
+
- id: R019
|
|
153
|
+
name: ontology-rag-routing
|
|
154
|
+
title: Routing Enrichment Rules
|
|
155
|
+
path: ./SHOULD-ontology-rag-routing.md
|
|
156
|
+
priority: SHOULD
|
|
157
|
+
scope: orchestrator
|
|
158
|
+
|
|
159
|
+
# Wiki Sync - SHOULD
|
|
160
|
+
- id: R022
|
|
161
|
+
name: wiki-sync
|
|
162
|
+
title: Wiki Sync Rules
|
|
163
|
+
path: ./SHOULD-wiki-sync.md
|
|
164
|
+
priority: SHOULD
|
|
165
|
+
scope: all
|
|
166
|
+
|
|
167
|
+
# Verification Ladder - SHOULD
|
|
168
|
+
- id: R023
|
|
169
|
+
name: verification-ladder
|
|
170
|
+
title: Verification Ladder Rules
|
|
171
|
+
path: ./SHOULD-verification-ladder.md
|
|
172
|
+
priority: SHOULD
|
|
173
|
+
scope: all
|
|
174
|
+
|
|
135
175
|
# MAY - Optional
|
|
136
176
|
- id: R005
|
|
137
177
|
name: optimization
|
|
@@ -70,9 +70,9 @@ policy_cache:
|
|
|
70
70
|
|
|
71
71
|
Policy caching reduces redundant LLM calls for well-understood workflows. Policies are advisory — the orchestrator may override.
|
|
72
72
|
|
|
73
|
-
## Capability Hints (Opus 4.
|
|
73
|
+
## Capability Hints (Opus 4.8+)
|
|
74
74
|
|
|
75
|
-
When agents target Opus 4.
|
|
75
|
+
When agents target Opus 4.8 (`opus48` model alias), tool capability hints improve batched tool-call planning. Declare per-tool metadata in policy cache entries:
|
|
76
76
|
|
|
77
77
|
| Field | Values | Effect |
|
|
78
78
|
|-------|--------|--------|
|
|
@@ -109,15 +109,14 @@ When a synthesized harness exists for an agent (`.claude/outputs/harnesses/{agen
|
|
|
109
109
|
|
|
110
110
|
### Tool: Writing artifacts under .claude/outputs/
|
|
111
111
|
|
|
112
|
-
|
|
112
|
+
Under `mode: "bypassPermissions"`, direct Write/Edit/Bash on `.claude/**` paths is permitted (CC v2.1.121+, #1101) — no `/tmp/*.sh` wrapping is needed.
|
|
113
113
|
|
|
114
114
|
To write action-validator results under `.claude/outputs/sessions/`:
|
|
115
115
|
|
|
116
|
-
1. Write the artifact body to
|
|
117
|
-
2.
|
|
118
|
-
3. Read-only Bash on `.claude/outputs/` (e.g., `cat`, `head`, `wc`) is allowed for verification
|
|
116
|
+
1. Write the artifact body directly to `.claude/outputs/sessions/$(date +%Y-%m-%d)/action-validator-$(date +%H%M%S).md` with the Write tool (every Agent tool call includes `mode: "bypassPermissions"`, R010)
|
|
117
|
+
2. Read-only Bash on `.claude/outputs/` (e.g., `cat`, `head`, `wc`) is allowed for verification
|
|
119
118
|
|
|
120
|
-
Reference:
|
|
119
|
+
Reference: R006/R010 sensitive-path handling (CC v2.1.121+), #1101.
|
|
121
120
|
|
|
122
121
|
|
|
123
122
|
| Mode | Source | Behavior |
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: adaptive-harness
|
|
2
|
+
name: omcustom:adaptive-harness
|
|
3
3
|
description: Auto-detect project context and optimize harness — deactivate unused agents/skills, suggest missing experts, generate project profile
|
|
4
4
|
scope: harness
|
|
5
5
|
version: 1.0.0
|
|
@@ -187,15 +187,14 @@ Append a record to `.claude/outputs/harness-adaptations/YYYY-MM-DD.md`:
|
|
|
187
187
|
|
|
188
188
|
### Tool: Writing artifacts under .claude/outputs/
|
|
189
189
|
|
|
190
|
-
|
|
190
|
+
Under `mode: "bypassPermissions"`, direct Write/Edit/Bash on `.claude/**` paths is permitted (CC v2.1.121+, #1101) — no `/tmp/*.sh` wrapping is needed.
|
|
191
191
|
|
|
192
|
-
To write adaptive-harness results under `.claude/outputs
|
|
192
|
+
To write adaptive-harness results under `.claude/outputs/`:
|
|
193
193
|
|
|
194
|
-
1. Write the artifact body to
|
|
195
|
-
2.
|
|
196
|
-
3. Read-only Bash on `.claude/outputs/` (e.g., `cat`, `head`, `wc`) is allowed for verification
|
|
194
|
+
1. Write the artifact body directly to `.claude/outputs/harness-adaptations/$(date +%Y-%m-%d).md` with the Write tool (every Agent tool call includes `mode: "bypassPermissions"`, R010)
|
|
195
|
+
2. Read-only Bash on `.claude/outputs/` (e.g., `cat`, `head`, `wc`) is allowed for verification
|
|
197
196
|
|
|
198
|
-
Reference:
|
|
197
|
+
Reference: R006/R010 sensitive-path handling (CC v2.1.121+), #1101.
|
|
199
198
|
|
|
200
199
|
|
|
201
200
|
```markdown
|
|
@@ -75,15 +75,14 @@ Use this taxonomy to **select representative tasks per category** when building
|
|
|
75
75
|
|
|
76
76
|
### Tool: Writing artifacts under .claude/outputs/
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
Under `mode: "bypassPermissions"`, direct Write/Edit/Bash on `.claude/**` paths is permitted (CC v2.1.121+, #1101) — no `/tmp/*.sh` wrapping is needed.
|
|
79
79
|
|
|
80
80
|
To write eval trajectories or result reports under `.claude/outputs/evals/`:
|
|
81
81
|
|
|
82
|
-
1. Write the artifact body to
|
|
83
|
-
2.
|
|
84
|
-
3. Read-only Bash on `.claude/outputs/` (e.g., `cat`, `head`, `wc`) is allowed for verification
|
|
82
|
+
1. Write the artifact body directly to `.claude/outputs/evals/{trajectories,sessions}/...` with the Write tool (every Agent tool call includes `mode: "bypassPermissions"`, R010)
|
|
83
|
+
2. Read-only Bash on `.claude/outputs/` (e.g., `cat`, `head`, `wc`) is allowed for verification
|
|
85
84
|
|
|
86
|
-
Reference:
|
|
85
|
+
Reference: R006/R010 sensitive-path handling (CC v2.1.121+), #1101.
|
|
87
86
|
|
|
88
87
|
## Phased Opt-in Gate Workflow
|
|
89
88
|
|
|
@@ -5,11 +5,11 @@ scope: core
|
|
|
5
5
|
user-invocable: false
|
|
6
6
|
context: fork
|
|
7
7
|
---
|
|
8
|
-
## Mandatory delegation directive (R010
|
|
8
|
+
## Mandatory delegation directive (R010 bypassPermissions)
|
|
9
9
|
|
|
10
10
|
When this skill spawns a subagent via the Agent tool, the spawned prompt MUST include this directive verbatim (or equivalent):
|
|
11
11
|
|
|
12
|
-
>
|
|
12
|
+
> 이 스킬이 Agent tool로 서브에이전트를 스폰할 때 mode: "bypassPermissions"를 반드시 포함한다. 서브에이전트는 .claude/ 경로에 직접 Write/Edit/Bash를 사용한다(/tmp 우회 불필요, CC v2.1.121+). See R010.
|
|
13
13
|
|
|
14
14
|
This directive is preserved inline because Agent-tool prompt synthesis can drop SKILL.md notes; inline mandatory directives survive (#1046 lesson).
|
|
15
15
|
|
|
@@ -69,26 +69,21 @@ Research-only analysis produces findings based on assumptions about the codebase
|
|
|
69
69
|
| `/structured-dev-cycle` | Full implementation | Yes — stage-by-stage | 6 |
|
|
70
70
|
| **`/deep-plan`** | **Analysis + Planning + Verification** | **3-pass cross-verification** | **3** |
|
|
71
71
|
|
|
72
|
-
##
|
|
73
|
-
|
|
74
|
-
**R010 Universal /tmp Script Bypass (#1052)**: ALL `.claude/` modifications MUST use `/tmp/*.sh` script via Bash. Direct Write/Edit/Bash on `.claude/` triggers CC sensitive-path guard regardless of bypassPermissions.
|
|
72
|
+
## Artifact Output (R006/R010)
|
|
75
73
|
|
|
76
74
|
Phase 3 verification report path: `.claude/outputs/sessions/{YYYY-MM-DD}/deep-plan-{HHmmss}.md`
|
|
77
75
|
|
|
78
|
-
When spawning the final synthesis agent to write this artifact, include verbatim in the agent prompt:
|
|
76
|
+
Under `mode: "bypassPermissions"`, subagents write directly to `.claude/outputs/` with Write/Edit — no temp-script wrapping is needed (CC v2.1.121+, #1101). When spawning the final synthesis agent to write this artifact, include verbatim in the agent prompt:
|
|
79
77
|
|
|
80
78
|
```
|
|
81
|
-
**
|
|
82
|
-
|
|
83
|
-
Write the
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
3. Execute: bash /tmp/deep-plan-<timestamp>.sh
|
|
87
|
-
4. Cleanup: rm /tmp/deep-plan-<timestamp>.sh
|
|
88
|
-
DO NOT use Write/Edit directly on `.claude/outputs/` — CC sensitive-path guard triggers regardless of bypassPermissions/allow rules.
|
|
79
|
+
**Artifact output (for this task)**
|
|
80
|
+
|
|
81
|
+
Write the verification report to `.claude/outputs/sessions/<date>/deep-plan-<HHmmss>.md`
|
|
82
|
+
using the Write tool directly (create the directory if needed). Your Agent tool call
|
|
83
|
+
runs under `mode: "bypassPermissions"`, so direct Write/Edit on `.claude/` is permitted.
|
|
89
84
|
```
|
|
90
85
|
|
|
91
|
-
See R006 "Sensitive Path Handling" +
|
|
86
|
+
See R006 "Sensitive Path Handling" (CC v2.1.121+ direct-write convention).
|
|
92
87
|
|
|
93
88
|
## Agent Teams (R018)
|
|
94
89
|
|
|
@@ -84,10 +84,9 @@ Run these checks before declaring release READY. Any match is a release blocker.
|
|
|
84
84
|
|
|
85
85
|
| Guard | Detection Command | Severity | Remediation |
|
|
86
86
|
|-------|-------------------|----------|-------------|
|
|
87
|
-
|
|
|
88
|
-
| Skill artifact path missing /tmp bypass directive | `find .claude/skills/ templates/.claude/skills/ -name SKILL.md | xargs grep -lE '.claude/outputs/' | while read f; do if ! grep -qF 'tmp/*.sh' "$f"; then echo "$f"; fi; done` | **WARN** | Add /tmp/*.sh bypass directive after artifact path mention. Pattern: `> **Tool**: To write artifacts under .claude/outputs/, use a /tmp/*.sh script...` (see #1016 fix) |
|
|
87
|
+
| Residual deprecated `/tmp` sensitive-path bypass narrative | `grep -rnE -e 'regardless of[[:space:]]+.?bypassPermissions' -e '(MUST|MANDATORY|Mandatory)[^\n]{0,80}/tmp/\*\.sh' -e '/tmp/\*\.sh[^\n]{0,80}(MANDATORY|MUST be used|bypass script)' .claude/skills/ templates/.claude/skills/ .claude/agents/ templates/.claude/agents/ 2>/dev/null` | **BLOCK** | Remove the deprecated temp-script bypass narrative — it was retired in CC v2.1.121 (#1101). Under `mode: "bypassPermissions"`, write directly to `.claude/` with Write/Edit. See R006 "Sensitive Path Handling" |
|
|
89
88
|
|
|
90
|
-
> **Why**:
|
|
89
|
+
> **Why**: The temp-script sensitive-path bypass for `.claude/` paths was deprecated in CC v2.1.121 (2026-04-28, #1101). Direct Write/Edit/Bash on `.claude/**` works under `mode: "bypassPermissions"`; only catastrophic shell operations (`rm -rf /`) remain independently blocked. Residual bypass procedures or false "guard blocks bypassPermissions" claims in skills/agents are now defects — this guard catches them with a cheap deterministic grep (R023 shift-left: catch stale platform procedures before they reach expensive review).
|
|
91
90
|
|
|
92
91
|
## Output Format
|
|
93
92
|
|
|
@@ -5,11 +5,11 @@ scope: core
|
|
|
5
5
|
user-invocable: false
|
|
6
6
|
context: fork
|
|
7
7
|
---
|
|
8
|
-
## Mandatory delegation directive (R010
|
|
8
|
+
## Mandatory delegation directive (R010 bypassPermissions)
|
|
9
9
|
|
|
10
10
|
When this skill spawns a subagent via the Agent tool, the spawned prompt MUST include this directive verbatim (or equivalent):
|
|
11
11
|
|
|
12
|
-
>
|
|
12
|
+
> 이 스킬이 Agent tool로 서브에이전트를 스폰할 때 mode: "bypassPermissions"를 반드시 포함한다. 서브에이전트는 .claude/ 경로에 직접 Write/Edit/Bash를 사용한다(/tmp 우회 불필요, CC v2.1.121+). See R010.
|
|
13
13
|
|
|
14
14
|
This directive is preserved inline because Agent-tool prompt synthesis can drop SKILL.md notes; inline mandatory directives survive (#1046 lesson).
|
|
15
15
|
|
|
@@ -116,15 +116,14 @@ If only PASS/INFO: proceed automatically.
|
|
|
116
116
|
|
|
117
117
|
### Tool: Writing artifacts under .claude/outputs/
|
|
118
118
|
|
|
119
|
-
|
|
119
|
+
Under `mode: "bypassPermissions"`, direct Write/Edit/Bash on `.claude/**` paths is permitted (CC v2.1.121+, #1101) — no `/tmp/*.sh` wrapping is needed.
|
|
120
120
|
|
|
121
121
|
To write dev-review results under `.claude/outputs/sessions/`:
|
|
122
122
|
|
|
123
|
-
1. Write the artifact body to
|
|
124
|
-
2.
|
|
125
|
-
3. Read-only Bash on `.claude/outputs/` (e.g., `cat`, `head`, `wc`) is allowed for verification
|
|
123
|
+
1. Write the artifact body directly to `.claude/outputs/sessions/$(date +%Y-%m-%d)/dev-review-$(date +%H%M%S).md` with the Write tool (every Agent tool call includes `mode: "bypassPermissions"`, R010)
|
|
124
|
+
2. Read-only Bash on `.claude/outputs/` (e.g., `cat`, `head`, `wc`) is allowed for verification
|
|
126
125
|
|
|
127
|
-
Reference:
|
|
126
|
+
Reference: R006/R010 sensitive-path handling (CC v2.1.121+), #1101.
|
|
128
127
|
|
|
129
128
|
```
|
|
130
129
|
With metadata header:
|
|
@@ -50,7 +50,7 @@ The haiku agent receives the following system prompt:
|
|
|
50
50
|
|
|
51
51
|
```
|
|
52
52
|
You are a relevance filter for the oh-my-customcode project — an AI agent harness/orchestration
|
|
53
|
-
system built on Claude Code CLI with
|
|
53
|
+
system built on Claude Code CLI with 49 agents, 118 skills.
|
|
54
54
|
|
|
55
55
|
Project domains (HIGH relevance):
|
|
56
56
|
- AI agent orchestration, multi-agent systems, agent design patterns
|
|
@@ -92,15 +92,11 @@ Results saved to `.claude/outputs/sessions/{YYYY-MM-DD}/harness-eval-{HHmmss}.md
|
|
|
92
92
|
|
|
93
93
|
### Tool: Writing artifacts under .claude/outputs/
|
|
94
94
|
|
|
95
|
-
|
|
95
|
+
Under `mode: "bypassPermissions"`, direct Write/Edit/Bash on `.claude/**` paths (including `.claude/outputs/sessions/`) is permitted (CC v2.1.121+, #1101) — no `/tmp` wrapping is needed.
|
|
96
96
|
|
|
97
|
-
|
|
97
|
+
Write harness-eval results directly to `.claude/outputs/sessions/$(date +%Y-%m-%d)/harness-eval-$(date +%H%M%S).md`. Read-only Bash on `.claude/outputs/` (e.g., `cat`, `head`, `wc`) is allowed for verification. Catastrophic shell operations (e.g., `rm -rf /`) remain blocked by independent safety guards. For CC < v2.1.121, see git history for the legacy `/tmp/*.sh` bypass pattern.
|
|
98
98
|
|
|
99
|
-
|
|
100
|
-
2. Use a `/tmp/*.sh` Bash script to move/copy the file under `.claude/outputs/sessions/$(date +%Y-%m-%d)/` (Bash target = `/tmp`, script-internal `cp` to `.claude/` is not audited)
|
|
101
|
-
3. Read-only Bash on `.claude/outputs/` (e.g., `cat`, `head`, `wc`) is allowed for verification
|
|
102
|
-
|
|
103
|
-
Reference: `feedback_sensitive_path_tmp_bypass.md`, R006 sensitive-path handling, #1016, #1045.
|
|
99
|
+
Reference: R006 Sensitive Path Handling, R010 Universal bypassPermissions, #1101.
|
|
104
100
|
|
|
105
101
|
|
|
106
102
|
## 4-Metric Quantitative Layer (added v0.113.0, #1025)
|
|
@@ -96,15 +96,11 @@ harness:
|
|
|
96
96
|
|
|
97
97
|
### Tool: Writing artifacts under .claude/outputs/
|
|
98
98
|
|
|
99
|
-
|
|
99
|
+
Under `mode: "bypassPermissions"`, direct Write/Edit/Bash on `.claude/**` paths (including `.claude/outputs/sessions/`) is permitted (CC v2.1.121+, #1101) — no `/tmp` wrapping is needed.
|
|
100
100
|
|
|
101
|
-
|
|
101
|
+
Write harness-synthesizer results directly to `.claude/outputs/sessions/$(date +%Y-%m-%d)/harness-synthesizer-$(date +%H%M%S).md`. Read-only Bash on `.claude/outputs/` (e.g., `cat`, `head`, `wc`) is allowed for verification. Catastrophic shell operations (e.g., `rm -rf /`) remain blocked by independent safety guards. For CC < v2.1.121, see git history for the legacy `/tmp/*.sh` bypass pattern.
|
|
102
102
|
|
|
103
|
-
|
|
104
|
-
2. Use a `/tmp/*.sh` Bash script to move/copy the file under `.claude/outputs/sessions/$(date +%Y-%m-%d)/` (Bash target = `/tmp`, script-internal `cp` to `.claude/` is not audited)
|
|
105
|
-
3. Read-only Bash on `.claude/outputs/` (e.g., `cat`, `head`, `wc`) is allowed for verification
|
|
106
|
-
|
|
107
|
-
Reference: `feedback_sensitive_path_tmp_bypass.md`, R006 sensitive-path handling, #1016, #1045.
|
|
103
|
+
Reference: R006 Sensitive Path Handling, R010 Universal bypassPermissions, #1101.
|
|
108
104
|
|
|
109
105
|
3. **Synthesize validation harness** — generate YAML harness matching agent's declared capabilities
|
|
110
106
|
4. **Refine via evaluator-optimizer loop** — iterate harness against edge cases (3 rounds max)
|
|
@@ -73,9 +73,6 @@ help --agents
|
|
|
73
73
|
|
|
74
74
|
Available Agents:
|
|
75
75
|
|
|
76
|
-
Orchestrator:
|
|
77
|
-
secretary Manages manager agents
|
|
78
|
-
|
|
79
76
|
Manager:
|
|
80
77
|
mgr-creator Creates new agents
|
|
81
78
|
mgr-updater Updates external sources and docs
|
|
@@ -98,7 +95,7 @@ Infra Engineer:
|
|
|
98
95
|
infra-docker-expert Docker containerization
|
|
99
96
|
infra-aws-expert AWS architecture
|
|
100
97
|
|
|
101
|
-
Total:
|
|
98
|
+
Total: 49 agents
|
|
102
99
|
```
|
|
103
100
|
|
|
104
101
|
### Rules List
|
|
@@ -112,16 +109,16 @@ MUST (Never violate):
|
|
|
112
109
|
R001 Safety Rules Prohibited actions
|
|
113
110
|
R002 Permission Rules Tool tiers, file access
|
|
114
111
|
R006 Agent Design Structure, separation
|
|
112
|
+
R007 Agent Identification Display agent in responses
|
|
113
|
+
R008 Tool Identification Display agent when using tools
|
|
114
|
+
R009 Parallel Execution Max 4 parallel instances
|
|
115
115
|
|
|
116
116
|
SHOULD (Strongly recommended):
|
|
117
117
|
R003 Interaction Rules Response format
|
|
118
118
|
R004 Error Handling Error levels, recovery
|
|
119
|
-
R007 Agent Identification Display agent in responses
|
|
120
|
-
R008 Tool Identification Display agent when using tools
|
|
121
119
|
|
|
122
120
|
MAY (Optional):
|
|
123
121
|
R005 Optimization Efficiency guidelines
|
|
124
|
-
R009 Parallel Execution Max 4 parallel instances
|
|
125
122
|
|
|
126
|
-
Total:
|
|
123
|
+
Total: 23 rules
|
|
127
124
|
```
|
|
@@ -24,22 +24,23 @@ Show all available commands with optional filtering and detailed information.
|
|
|
24
24
|
AI Agent System - Available Commands
|
|
25
25
|
|
|
26
26
|
System:
|
|
27
|
-
lists
|
|
28
|
-
status
|
|
29
|
-
help
|
|
27
|
+
/omcustom:lists Show all available commands
|
|
28
|
+
/omcustom:status Show system status
|
|
29
|
+
/omcustom:help Show help information
|
|
30
30
|
|
|
31
31
|
Manager:
|
|
32
|
-
/create-agent
|
|
33
|
-
/update-docs
|
|
34
|
-
/update-external
|
|
35
|
-
/audit-agents
|
|
36
|
-
/fix-refs
|
|
32
|
+
/omcustom:create-agent Create a new agent
|
|
33
|
+
/omcustom:update-docs Sync documentation with project structure
|
|
34
|
+
/omcustom:update-external Update agents from external sources
|
|
35
|
+
/omcustom:audit-agents Audit agent dependencies
|
|
36
|
+
/omcustom:fix-refs Fix broken references
|
|
37
37
|
|
|
38
38
|
Dev:
|
|
39
39
|
/dev-review Review code for best practices
|
|
40
40
|
/dev-refactor Refactor code
|
|
41
41
|
|
|
42
42
|
Use "<command> --help" for detailed information.
|
|
43
|
+
Run "/omcustom:lists" to see the full command set (60+).
|
|
43
44
|
```
|
|
44
45
|
|
|
45
46
|
### Verbose Output
|
|
@@ -49,24 +50,24 @@ lists --verbose
|
|
|
49
50
|
AI Agent System - Available Commands (Detailed)
|
|
50
51
|
|
|
51
52
|
System Commands:
|
|
52
|
-
|
|
53
|
-
│ Command
|
|
54
|
-
|
|
55
|
-
│ lists │ Show all available commands
|
|
56
|
-
│ status │ Show system status and health checks
|
|
57
|
-
│ help │ Show help for commands and agents
|
|
58
|
-
|
|
53
|
+
┌───────────────────┬──────────────────────────────────────┐
|
|
54
|
+
│ Command │ Description │
|
|
55
|
+
├───────────────────┼──────────────────────────────────────┤
|
|
56
|
+
│ /omcustom:lists │ Show all available commands │
|
|
57
|
+
│ /omcustom:status │ Show system status and health checks │
|
|
58
|
+
│ /omcustom:help │ Show help for commands and agents │
|
|
59
|
+
└───────────────────┴──────────────────────────────────────┘
|
|
59
60
|
|
|
60
61
|
Manager Commands:
|
|
61
|
-
|
|
62
|
-
│ Command
|
|
63
|
-
|
|
64
|
-
│ /create-agent
|
|
65
|
-
│ /update-docs
|
|
66
|
-
│ /update-external
|
|
67
|
-
│ /audit-agents
|
|
68
|
-
│ /fix-refs
|
|
69
|
-
|
|
62
|
+
┌─────────────────────────────┬──────────────────────────────────────┐
|
|
63
|
+
│ Command │ Description │
|
|
64
|
+
├─────────────────────────────┼──────────────────────────────────────┤
|
|
65
|
+
│ /omcustom:create-agent │ Create a new agent with structure │
|
|
66
|
+
│ /omcustom:update-docs │ Sync all docs with project state │
|
|
67
|
+
│ /omcustom:update-external │ Update from external sources │
|
|
68
|
+
│ /omcustom:audit-agents │ Check dependencies and refs │
|
|
69
|
+
│ /omcustom:fix-refs │ Auto-fix broken references │
|
|
70
|
+
└─────────────────────────────┴──────────────────────────────────────┘
|
|
70
71
|
|
|
71
72
|
Dev Commands:
|
|
72
73
|
┌──────────────┬────────────────────────────────────────┐
|
|
@@ -76,5 +77,5 @@ Dev Commands:
|
|
|
76
77
|
│ /dev-refactor│ Suggest and apply refactoring │
|
|
77
78
|
└──────────────┴────────────────────────────────────────┘
|
|
78
79
|
|
|
79
|
-
Total:
|
|
80
|
+
Total: 60+ commands available
|
|
80
81
|
```
|
|
@@ -103,6 +103,9 @@ This skill activates when the user mentions any of:
|
|
|
103
103
|
| `claude_code.api_error` | API error details |
|
|
104
104
|
| `claude_code.tool_decision` | Tool accept/reject decisions |
|
|
105
105
|
| `claude_code.user_prompt` | User prompt metadata (content redacted by default) |
|
|
106
|
+
| `claude_code.assistant_response` | Assistant response text (v2.1.193+; redacted unless opted in) |
|
|
107
|
+
|
|
108
|
+
> **v2.1.193+ security note (R012)**: The `claude_code.assistant_response` log event carries the model's response text. It is redacted unless `OTEL_LOG_ASSISTANT_RESPONSES=1`; when that variable is unset it FOLLOWS `OTEL_LOG_USER_PROMPTS`. A deployment already logging prompt content therefore begins receiving response content immediately on upgrade. To keep prompts-only logging, set `OTEL_LOG_ASSISTANT_RESPONSES=0` explicitly.
|
|
106
109
|
|
|
107
110
|
## Upgrade Path
|
|
108
111
|
|
|
@@ -133,7 +136,7 @@ OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
|
|
|
133
136
|
"OTEL_LOGS_EXPORTER": "otlp",
|
|
134
137
|
"OTEL_EXPORTER_OTLP_PROTOCOL": "grpc",
|
|
135
138
|
"OTEL_EXPORTER_OTLP_ENDPOINT": "http://localhost:4317",
|
|
136
|
-
"OTEL_RESOURCE_ATTRIBUTES": "service.name=claude-code,service.version=2.1.
|
|
139
|
+
"OTEL_RESOURCE_ATTRIBUTES": "service.name=claude-code,service.version=2.1.197"
|
|
137
140
|
}
|
|
138
141
|
}
|
|
139
142
|
```
|
|
@@ -27,15 +27,9 @@ Gather unfinished work from multiple sources:
|
|
|
27
27
|
|
|
28
28
|
### Tool: Writing artifacts under .claude/outputs/
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
Under `mode: "bypassPermissions"`, subagents write directly to `.claude/outputs/sessions/` with the Write tool — direct `.claude/**` writes are permitted (CC v2.1.121+, #1101). No `/tmp` staging or script wrapping is needed. Read-only Bash on `.claude/outputs/` (e.g., `cat`, `head`, `wc`) is allowed for verification.
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
1. Write the artifact body to `/tmp/post-release-followup-$(date +%H%M%S).md` first (Write tool target = `/tmp`, no sensitive-path trigger)
|
|
35
|
-
2. Use a `/tmp/*.sh` Bash script to move/copy the file under `.claude/outputs/sessions/$(date +%Y-%m-%d)/` (Bash target = `/tmp`, script-internal `cp` to `.claude/` is not audited)
|
|
36
|
-
3. Read-only Bash on `.claude/outputs/` (e.g., `cat`, `head`, `wc`) is allowed for verification
|
|
37
|
-
|
|
38
|
-
Reference: `feedback_sensitive_path_tmp_bypass.md`, R006 sensitive-path handling, #1016, #1045.
|
|
32
|
+
Reference: R006/R010 sensitive-path handling (direct `.claude/**` write under bypassPermissions), #1101.
|
|
39
33
|
|
|
40
34
|
- Extract any MEDIUM or LOW severity findings that were flagged but not fixed
|
|
41
35
|
|