oh-my-customcode 0.175.0 → 0.176.0
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
|
@@ -96,6 +96,10 @@ Never accept "pre-existing" without direct base-branch evidence. A false "pre-ex
|
|
|
96
96
|
| "UI changes done" / "CSS updated" | type-check passes but browser render not verified; visual output unknown | Start dev server, open browser, confirm visual output; capture screenshot or describe what was seen |
|
|
97
97
|
-->
|
|
98
98
|
|
|
99
|
+
### Tool-Call Payload Completeness
|
|
100
|
+
|
|
101
|
+
도구 호출의 required 파라미터는 invoke 전에 확인한다(완료 선언 후가 아니라 호출 시점의 전제조건). announce(prefix)만 출력하고 payload 의 required 필드를 누락하는 패턴은 R008 "Required-Parameter Completeness Check"가 canonical owner다. Reference: #1324.
|
|
102
|
+
|
|
99
103
|
## Completion Contract Format — [Contract] + [Done] with criterion/evidence pairs. See template via Read tool.
|
|
100
104
|
|
|
101
105
|
<!-- DETAIL: Completion Contract Format
|
|
@@ -31,6 +31,17 @@ Incorrect parallel: tool_call(url1), tool_call(url2), tool_call(cmd) — no iden
|
|
|
31
31
|
Correct parallel: list ALL [agent][model] → Tool/Fetching/Running lines FIRST, then all tool_calls
|
|
32
32
|
-->
|
|
33
33
|
|
|
34
|
+
### Required-Parameter Completeness Check
|
|
35
|
+
|
|
36
|
+
R008 prefix(announce)와 실제 도구 호출은 분리된 단계다. prefix 를 출력한 뒤 호출 payload 에서 도구 스키마상 required 파라미터를 누락하면 호출이 실패하거나 빈 동작이 된다. 호출 직전, prefix 존재뿐 아니라 required 파라미터가 모두 채워졌는지 확인한다.
|
|
37
|
+
|
|
38
|
+
| Anti-pattern | Required |
|
|
39
|
+
|--------------|----------|
|
|
40
|
+
| `[agent][model] → Tool: AskUserQuestion` prefix 만 출력하고 `questions` 파라미터 없이/빈 배열로 호출 | prefix + `questions` 배열(최소 1개) 모두 채워 호출 |
|
|
41
|
+
| announce 후 payload 의 required 필드 누락 (announce-payload separation gap) | announce 와 동일 메시지에서 required 필드 완비 호출 |
|
|
42
|
+
|
|
43
|
+
Cross-reference: R020 (action-completeness precondition — invoke 전에 required 파라미터 확인). Reference issue: #1324 (찐빠: AskUserQuestion `questions`-missing recurrence).
|
|
44
|
+
|
|
34
45
|
## Models
|
|
35
46
|
|
|
36
47
|
| Model | Use |
|
|
@@ -117,8 +128,9 @@ Agent(description: "[2] Python code review", subagent_type: "lang-python-expert"
|
|
|
117
128
|
|
|
118
129
|
1. 이 호출 위에 `[agent-name][model] → Tool: <tool-name>` 라인이 있는가?
|
|
119
130
|
2. agent-name 과 model 이 현재 컨텍스트와 일치하는가?
|
|
131
|
+
3. 이 호출에 도구 스키마상 required 파라미터가 모두 채워져 있는가? (예: AskUserQuestion 는 `questions` 배열이 비어 있지 않아야 함) prefix(announce)만 출력하고 실제 호출 payload 의 required 필드를 누락하면 안 된다.
|
|
120
132
|
|
|
121
|
-
체크 실패 시 즉시 prefix
|
|
133
|
+
체크 실패 시 즉시 prefix/필수 파라미터를 보완한 후 호출.
|
|
122
134
|
|
|
123
135
|
### Common Multi-Turn Violation
|
|
124
136
|
|
package/templates/manifest.json
CHANGED