oh-my-customcode 0.13.0 → 0.13.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-customcode",
3
- "version": "0.13.0",
3
+ "version": "0.13.1",
4
4
  "description": "Batteries-included agent harness for Claude Code",
5
5
  "type": "module",
6
6
  "bin": {
@@ -6,17 +6,74 @@
6
6
 
7
7
  The main conversation is the **sole orchestrator**. It uses routing skills to delegate tasks to subagents via the Task tool. Subagents CANNOT spawn other subagents.
8
8
 
9
+ **The orchestrator MUST NEVER directly write, edit, or create files. ALL file modifications MUST be delegated to appropriate subagents.**
10
+
11
+ ## Self-Check (Mandatory Before File Modification)
12
+
13
+ ```
14
+ ╔══════════════════════════════════════════════════════════════════╗
15
+ ║ BEFORE MODIFYING ANY FILE, ASK YOURSELF: ║
16
+ ║ ║
17
+ ║ 1. Am I the orchestrator (main conversation)? ║
18
+ ║ YES → I MUST NOT write/edit files directly ║
19
+ ║ NO → I am a subagent, proceed with task ║
20
+ ║ ║
21
+ ║ 2. Have I identified the correct specialized agent? ║
22
+ ║ YES → Delegate via Task tool ║
23
+ ║ NO → Check delegation table below ║
24
+ ║ ║
25
+ ║ 3. Am I about to use Write/Edit tool from orchestrator? ║
26
+ ║ YES → STOP. This is a VIOLATION. Delegate instead. ║
27
+ ║ NO → Good. Continue. ║
28
+ ║ ║
29
+ ║ If ANY answer is wrong → DO NOT PROCEED ║
30
+ ╚══════════════════════════════════════════════════════════════════╝
31
+ ```
32
+
9
33
  ## Architecture
10
34
 
11
35
  ```
12
36
  Main Conversation (orchestrator)
13
37
  ├─ secretary-routing → mgr-creator, mgr-updater, mgr-supplier, mgr-gitnerd, sys-memory-keeper
14
38
  ├─ dev-lead-routing → lang-*/be-*/fe-* experts
39
+ ├─ de-lead-routing → de-* experts
15
40
  └─ qa-lead-routing → qa-planner, qa-writer, qa-engineer
16
41
 
17
42
  Task tool spawns subagents (flat, no hierarchy)
18
43
  ```
19
44
 
45
+ ## Common Violations
46
+
47
+ ```
48
+ ❌ WRONG: Orchestrator writes files directly
49
+ Main conversation → Write("src/main.go", content)
50
+ Main conversation → Edit("package.json", old, new)
51
+
52
+ ✓ CORRECT: Orchestrator delegates to specialist
53
+ Main conversation → Task(lang-golang-expert) → Write("src/main.go", content)
54
+ Main conversation → Task(tool-npm-expert) → Edit("package.json", old, new)
55
+
56
+ ❌ WRONG: Orchestrator runs git commands directly
57
+ Main conversation → Bash("git commit -m 'fix'")
58
+ Main conversation → Bash("git push origin main")
59
+
60
+ ✓ CORRECT: Orchestrator delegates to mgr-gitnerd
61
+ Main conversation → Task(mgr-gitnerd) → git commit
62
+ Main conversation → Task(mgr-gitnerd) → git push
63
+
64
+ ❌ WRONG: Using general-purpose when specialist exists
65
+ Main conversation → Task(general-purpose) → "Write Go code"
66
+
67
+ ✓ CORRECT: Using the right specialist
68
+ Main conversation → Task(lang-golang-expert) → "Write Go code"
69
+
70
+ ❌ WRONG: Orchestrator creates files "just this once"
71
+ "It's just a small config file, I'll write it directly..."
72
+
73
+ ✓ CORRECT: Always delegate, no matter how small
74
+ Task(appropriate-agent) → create config file
75
+ ```
76
+
20
77
  ## Session Continuity
21
78
 
22
79
  After restart/compaction: re-read CLAUDE.md, all delegation rules still apply. Never write code directly from orchestrator.
@@ -46,6 +103,7 @@ After restart/compaction: re-read CLAUDE.md, all delegation rules still apply. N
46
103
  - All file modifications MUST be delegated (orchestrator only uses Read/Glob/Grep)
47
104
  - Use specialized agents, not general-purpose, when one exists
48
105
  - general-purpose only for truly generic tasks (file moves, simple scripts)
106
+ - NO EXCEPTIONS for "small" or "quick" changes
49
107
 
50
108
  ### System Agents Reference
51
109
 
@@ -57,11 +115,11 @@ After restart/compaction: re-read CLAUDE.md, all delegation rules still apply. N
57
115
  ## Exception: Simple Tasks
58
116
 
59
117
  Subagent NOT required for:
60
- - Reading files for analysis
118
+ - Reading files for analysis (Read, Glob, Grep only)
61
119
  - Simple file searches
62
120
  - Direct questions answered by main conversation
63
121
 
64
- For specialized work, ALWAYS delegate to appropriate subagent.
122
+ **IMPORTANT:** "Simple" means READ-ONLY operations. If the task involves ANY file creation, modification, or deletion, it MUST be delegated. There is no "too small to delegate" exception for write operations.
65
123
 
66
124
  ## Dynamic Agent Creation (No-Match Fallback)
67
125
 
@@ -135,7 +193,7 @@ The skill's WORKFLOW is followed, but git EXECUTION is delegated to mgr-gitnerd
135
193
 
136
194
  ## Agent Teams (when enabled)
137
195
 
138
- When `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1`: use Agent Teams for 3+ agent coordinated tasks. See R018 for decision matrix. Task tool remains fallback for simple/independent tasks.
196
+ When `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1`: prefer Agent Teams for 2+ agent coordinated tasks requiring shared state or inter-agent communication. See R018 for the decision matrix. Task tool remains fallback for simple/independent tasks.
139
197
 
140
198
  ## Announcement Format
141
199
 
@@ -95,9 +95,12 @@ When task requires multiple agents:
95
95
  -> Main conversation (orchestrator) MUST coordinate
96
96
  -> Main conversation assigns tasks to appropriate agents
97
97
  -> Main conversation aggregates results
98
+ -> Orchestrator MUST NEVER directly modify files
98
99
 
99
100
  Flow:
100
101
  User -> Main conversation -> [agent-1, agent-2, agent-3] -> Main conversation -> User
102
+
103
+ Violation = immediate correction. No exception for "small changes".
101
104
  ```
102
105
 
103
106
  ---
@@ -95,9 +95,12 @@ oh-my-customcode로 구동됩니다.
95
95
  -> 메인 대화 (오케스트레이터)가 반드시 조율
96
96
  -> 메인 대화가 적절한 에이전트에 작업 할당
97
97
  -> 메인 대화가 결과 집계
98
+ -> 오케스트레이터는 절대 직접 파일을 수정하지 않음
98
99
 
99
100
  흐름:
100
101
  사용자 -> 메인 대화 -> [agent-1, agent-2, agent-3] -> 메인 대화 -> 사용자
102
+
103
+ 위반 시 즉시 수정. "작은 변경"도 예외 없음.
101
104
  ```
102
105
 
103
106
  ---