deuk-agent-rule 2.2.2 → 2.3.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.
@@ -0,0 +1,48 @@
1
+ # 변경 이력 (Changelog)
2
+
3
+ 이 프로젝트의 모든 주목할 만한 변경 사항은 이 파일에 기록됩니다.
4
+
5
+ **English:** [CHANGELOG.md](CHANGELOG.md)
6
+
7
+ 형식은 [Keep a Changelog](https://keepachangelog.com/ko/1.1.0/)를 기반으로 하며, 이 프로젝트는 [유의적 버전(Semantic Versioning)](https://semver.org/spec/v2.0.0.html)을 준수합니다.
8
+
9
+ ## [2.3.2] - 2026-04-17
10
+
11
+ ### 수정됨 (Fixed)
12
+
13
+ - **cli:** 배포 환경에서 하드코딩된 `yaml` 의존성 경로 문제(`ERR_MODULE_NOT_FOUND`) 해결
14
+ - **dependencies:** `yaml`을 명시적 의존성 목록에 추가
15
+
16
+ ## [2.3.0] - 2026-04-17
17
+
18
+ ### 추가됨 (Added)
19
+
20
+ - AI 파이프라인 연동 기반 및 선택적 동기화 시스템 고도화
21
+ - **cli:** ticket list 명령에 --submodule 필터 추가
22
+ - **cli:** 티켓 아카이브 및 리포트 워크플로를 모듈형 아키텍처로 복구
23
+ - **rules:** Unity Client, WebApp, C++ 서버 하이브리드 환경을 위한 룰 고도화
24
+ - **ticket:** 분산형 티켓 관리 및 공유 정책 구현
25
+ - **ticket:** V2 YAML Front-matter 및 카테고리화된 리스트로 업그레이드
26
+
27
+ ### 수정됨 (Fixed)
28
+
29
+ - **ticket:** LATEST.md를 폐기하고 ACTIVE_TICKET.md로 포인터 통일
30
+ - **ticket:** DeukAgentRules 현재 진행 중인 티켓 안 나오던 문제 해결
31
+
32
+ ## [1.0.14] - 2026-04-02
33
+
34
+ ### 추가됨 (Added)
35
+
36
+ - **cli:** 병합 도구 및 배포 문서 동기화 스크립트 확장
37
+ - **rules:** 커밋 제목 내 'sync' 금지 구문 룰 추가
38
+ - **handoff:** 인덱스 기반 Handoff 워크플로 및 CLI 신설
39
+ - **architecture:** 제로-터치 NPM 번들 스캐폴딩으로 템플릿 아키텍처 개편
40
+
41
+ ### 수정됨 (Fixed)
42
+
43
+ - **cli:** 템플릿 생성기(init) 내부의 HTML 엔티티 문법 에러 핫픽스
44
+
45
+ ### 변경됨 (Changed)
46
+
47
+ - **docs:** 외부 공개용 릴리즈 가이드 및 동기화 스크립트 주석 갱신
48
+ - **docs:** 리드미(README)에 토큰 비용 차단 메커니즘 설정 및 제로 터치 스캐폴딩 문서 개편
package/CHANGELOG.md CHANGED
@@ -2,154 +2,197 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ **한글:** [CHANGELOG.ko.md](CHANGELOG.ko.md)
6
+
5
7
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
8
 
7
- ## [1.0.18] - 2026-04-12
8
-
9
-
10
- ### Added
11
-
12
- - **ai:** map conversational ticket requests to implicit CLI execution
13
- - **cli:** implement ticket archive and reporting workflow
14
- - **rules:** map conversational ticket aliases to implicit CLI execution
15
-
16
-
17
- ### Changed
18
-
19
- - **readme:** add ticket archive and reports CLI usage to documentation
20
- - **readme:** describe natural language CLI prompting alternatives
21
- - **readme:** provide explicit conversational prompt examples inside option tables
22
- - **readme:** provide explicit update guide
23
- - **rules:** add prompting guide and execution report archival rule
24
-
25
- ## [1.0.17] - 2026-04-06
26
-
27
-
28
- ### Fixed
29
-
30
- - **template:** move ticket repo-relative marker to bottom
31
-
32
- ## [1.0.16] - 2026-04-05
33
-
34
-
35
- ### Added
36
-
37
- - **workflow:** add auto-verification and final report to agent workflows
38
-
39
- ## [1.0.15] - 2026-04-05
40
-
41
-
42
- ### Added
43
-
44
- - migrate and rename handoff terminology to ticket in CLI and templates
45
-
46
-
47
- ### Changed
48
-
49
- - Add strict rule for DeukPack namespace requirement
50
- - completely eradicate legacy Handoff references from AGENTS.md, templates, and mdc rules
51
- - Enforce DeukPack code format and API strictly as a hard rule
52
- - refactor README usage guide and workflow
53
-
54
- ## [1.0.14] - 2026-04-02
55
-
56
-
57
- ### Added / 추가됨
58
-
59
- - **cli:** extend merge tooling and sync publish docs / 병합 도구 및 배포 문서 동기화 스크립트 확장
60
- - **rules:** forbid 'sync' word in commit titles in agent rules / 커밋 제목 내 'sync' 금지 구문 룰 추가
61
- - **handoff:** add indexed handoff workflow and CLI / 인덱스 기반 Handoff 워크플로 및 CLI 신설
62
- - **architecture:** migrate template architecture to zero-touch NPM bundle scaffolding / 제로-터치 NPM 스캐폴딩으로 템플릿 아키텍처 개편
63
-
64
-
65
- ### Fixed / 수정됨
66
-
67
- - **cli:** resolve html entity syntax error in template generator / 템플릿 생성기(init) 내부의 HTML 엔티티 문법 에러 핫픽스
68
-
69
-
70
- ### Changed / 변경됨
71
-
72
- - **docs:** public-facing RELEASING and changelog wording; sync-bundle comment / 외부 공개용 릴리즈 가이드 및 동기화 스크립트 주석 갱신
73
- - **docs:** update README with token efficiency mechanism and zero-touch template scaffolding / 리드미(README)에 토큰 비용 차단 메커니즘 설정 및 제로 터치 스캐폴딩 문서 개편
74
-
75
- ## [1.0.13] - 2026-03-28
76
-
77
-
78
- ### Fixed
79
-
80
- - **deuk-agent-rule:** `printHandoffTip` missing in CLI (handoff tip after `init`)
81
-
82
-
83
- ### Changed
84
-
85
- - **docs:** README § Handoffs; GitHub About text; npm keywords; CLI survey adds Claude, Windsurf, JetBrains AI Assistant
86
- - **agents:** optional `.cursor/plans/*.plan.md` mirror for plan-style UI; chat `Path:` line and optional first-line path in handoff files
87
- - **deuk-agent-rule:** `init` prints a short handoff tip after ensuring `.deuk-agent-handoff/`
88
- - **deuk-agent-rule:** default `--rules prefix` overwrites existing `deuk-agent-rule-*.mdc` on repeat `init` (package updates without a separate `merge`)
89
- - **deuk-agent-rule:** `.deuk-agent-rule.config.json` stores interactive choices; later `init` reuses them (`--interactive` to change; `--non-interactive` for CI only)
90
-
91
-
92
- ## [1.0.12] - 2026-03-27
93
-
94
-
95
- ### Fixed
96
-
97
- - **ci:** release workflow runs on pushes to `master`
98
-
99
- ### Changed
100
-
101
- - **agents:** require full repo-root paths for handoff file links
102
-
103
- ## [1.0.11] - 2026-03-26
104
-
105
-
106
- ### Added
107
-
108
- - **ci:** GitHub Release workflow for version tags and `chore(release):` commits on `main` / `master`
109
-
110
- ## [1.0.10] - 2026-03-26
111
-
112
-
113
- ### Added
114
-
115
- - **deuk-agent-rule:** changelog template headers without per-commit links
116
-
117
- ## [1.0.9] - 2026-03-27
118
-
119
- ### Added
120
-
121
- - **deuk-agent-rule:** release changelog tooling; handoff directory gitignore; pre-work handoff scan; AGENTS inject newline fix
122
-
123
- ### Changed
124
-
125
- - **agents:** DeukAgentRules/handoff/LATEST.md handoff path for consumer repos
126
-
127
- ## [1.0.8] - 2026-03-27
128
-
129
- ### Added
130
-
131
- - This changelog and npm `files` entry so releases are traceable.
132
-
133
- ## [1.0.7] - 2026-03-27
134
-
135
- ### Added
136
-
137
- - `init`: create `.deuk-agent-handoff/` and append `.gitignore` rules for local handoffs.
138
- - CLI: pre-work handoff scan; `publish/AGENTS.md` and `multi-ai-workflow.mdc` updates.
139
-
140
- ### Fixed
141
-
142
- - AGENTS tagged-region merge: trailing newline after injected blocks.
143
-
144
- ## [1.0.5] - 2026-03-26
145
-
146
- ### Changed
147
-
148
- - README and package metadata (Deuk Family tagline, npm keywords, GitHub Topics note).
149
-
150
- ## [1.0.4] - 2026-03-26
151
-
152
- ### Changed
153
-
154
- - Release packaging includes `package-lock.json` for reproducible installs.
155
- - README: absolute links for the npm package page.
9
+ ## [2.3.2] - 2026-04-17
10
+
11
+
12
+ ### Fixed
13
+
14
+ - **cli:** resolve `ERR_MODULE_NOT_FOUND` in distributed environments by fixing hardcoded `yaml` dependency path
15
+ - **dependencies:** add `yaml` to explicit dependencies list
16
+
17
+ ## [2.3.1] - 2026-04-17
18
+
19
+
20
+ ### Changed
21
+
22
+ - **readme:** add changelog and automated release instructions
23
+
24
+ ## [2.3.0] - 2026-04-17
25
+
26
+
27
+ ### Added
28
+
29
+ - Advance AI pipeline integration and optional synchronization system
30
+ - **cli:** add --submodule filter to ticket list command
31
+ - **cli:** restore ticket archive and reports workflows to modular architecture
32
+ - **rules:** advance rules for Unity Client, WebApp, and C++ Server hybrid environment
33
+ - **ticket:** implementation of decentralized ticket management & sharing policy
34
+ - **ticket:** upgrade to V2 YAML Front-matter and Categorized List
35
+
36
+
37
+ ### Fixed
38
+
39
+ - **ticket:** deprecate LATEST.md, unify pointer to ACTIVE_TICKET.md
40
+ - **ticket:** resolve issue where active tickets were not listed for DeukAgentRules repo
41
+
42
+
43
+ ### Changed
44
+
45
+ - **readme:** clarify YAML front matter preservation and distributed ticket workflow for v2.2.2
46
+ - **readme:** restore count headers and npm badges
47
+ - **rules:** enforce CLI usage for ticket reading to prevent manual JSON parsing
48
+ - Update CLI reference with close and migrate commands
49
+
50
+ ## [1.0.18] - 2026-04-12
51
+
52
+
53
+ ### Added
54
+
55
+ - **ai:** map conversational ticket requests to implicit CLI execution
56
+ - **cli:** implement ticket archive and reporting workflow
57
+ - **rules:** map conversational ticket aliases to implicit CLI execution
58
+
59
+
60
+ ### Changed
61
+
62
+ - **readme:** add ticket archive and reports CLI usage to documentation
63
+ - **readme:** describe natural language CLI prompting alternatives
64
+ - **readme:** provide explicit conversational prompt examples inside option tables
65
+ - **readme:** provide explicit update guide
66
+ - **rules:** add prompting guide and execution report archival rule
67
+
68
+ ## [1.0.17] - 2026-04-06
69
+
70
+
71
+ ### Fixed
72
+
73
+ - **template:** move ticket repo-relative marker to bottom
74
+
75
+ ## [1.0.16] - 2026-04-05
76
+
77
+
78
+ ### Added
79
+
80
+ - **workflow:** add auto-verification and final report to agent workflows
81
+
82
+ ## [1.0.15] - 2026-04-05
83
+
84
+
85
+ ### Added
86
+
87
+ - Migrate and rename handoff terminology to ticket in CLI and templates
88
+
89
+
90
+ ### Changed
91
+
92
+ - Add strict rule for DeukPack namespace requirement
93
+ - Completely eradicate legacy Handoff references from AGENTS.md, templates, and mdc rules
94
+ - Enforce DeukPack code format and API strictly as a hard rule
95
+ - Refactor README usage guide and workflow
96
+
97
+ ## [1.0.14] - 2026-04-02
98
+
99
+
100
+ ### Added
101
+
102
+ - **cli:** extend merge tooling and sync publish docs
103
+ - **rules:** forbid 'sync' word in commit titles in agent rules
104
+ - **handoff:** add indexed handoff workflow and CLI
105
+ - **architecture:** migrate template architecture to zero-touch NPM bundle scaffolding
106
+
107
+
108
+ ### Fixed
109
+
110
+ - **cli:** resolve html entity syntax error in template generator
111
+
112
+
113
+ ### Changed
114
+
115
+ - **docs:** public-facing RELEASING and changelog wording; sync-bundle comment
116
+ - **docs:** update README with token efficiency mechanism and zero-touch template scaffolding
117
+
118
+ ## [1.0.13] - 2026-03-28
119
+
120
+
121
+ ### Fixed
122
+
123
+ - **deuk-agent-rule:** `printHandoffTip` missing in CLI (handoff tip after `init`)
124
+
125
+
126
+ ### Changed
127
+
128
+ - **docs:** README § Handoffs; GitHub About text; npm keywords; CLI survey adds Claude, Windsurf, JetBrains AI Assistant
129
+ - **agents:** optional `.cursor/plans/*.plan.md` mirror for plan-style UI; chat `Path:` line and optional first-line path in handoff files
130
+ - **deuk-agent-rule:** `init` prints a short handoff tip after ensuring `.deuk-agent-handoff/`
131
+ - **deuk-agent-rule:** default `--rules prefix` overwrites existing `deuk-agent-rule-*.mdc` on repeat `init` (package updates without a separate `merge`)
132
+ - **deuk-agent-rule:** `.deuk-agent-rule.config.json` stores interactive choices; later `init` reuses them (`--interactive` to change; `--non-interactive` for CI only)
133
+
134
+
135
+ ## [1.0.12] - 2026-03-27
136
+
137
+
138
+ ### Fixed
139
+
140
+ - **ci:** release workflow runs on pushes to `master`
141
+
142
+ ### Changed
143
+
144
+ - **agents:** require full repo-root paths for handoff file links
145
+
146
+ ## [1.0.11] - 2026-03-26
147
+
148
+
149
+ ### Added
150
+
151
+ - **ci:** GitHub Release workflow for version tags and `chore(release):` commits on `main` / `master`
152
+
153
+ ## [1.0.10] - 2026-03-26
154
+
155
+
156
+ ### Added
157
+
158
+ - **deuk-agent-rule:** changelog template headers without per-commit links
159
+
160
+ ## [1.0.9] - 2026-03-27
161
+
162
+ ### Added
163
+
164
+ - **deuk-agent-rule:** release changelog tooling; handoff directory gitignore; pre-work handoff scan; AGENTS inject newline fix
165
+
166
+ ### Changed
167
+
168
+ - **agents:** DeukAgentRules/handoff/LATEST.md handoff path for consumer repos
169
+
170
+ ## [1.0.8] - 2026-03-27
171
+
172
+ ### Added
173
+
174
+ - This changelog and npm `files` entry so releases are traceable.
175
+
176
+ ## [1.0.7] - 2026-03-27
177
+
178
+ ### Added
179
+
180
+ - `init`: create `.deuk-agent-handoff/` and append `.gitignore` rules for local handoffs.
181
+ - CLI: pre-work handoff scan; `publish/AGENTS.md` and `multi-ai-workflow.mdc` updates.
182
+
183
+ ### Fixed
184
+
185
+ - AGENTS tagged-region merge: trailing newline after injected blocks.
186
+
187
+ ## [1.0.5] - 2026-03-26
188
+
189
+ ### Changed
190
+
191
+ - README and package metadata (Deuk Family tagline, npm keywords, GitHub Topics note).
192
+
193
+ ## [1.0.4] - 2026-03-26
194
+
195
+ ### Changed
196
+
197
+ - Release packaging includes `package-lock.json` for reproducible installs.
198
+ - README: absolute links for the npm package page.
package/README.ko.md CHANGED
@@ -1,4 +1,13 @@
1
- # DeukAgentRules (득에이전트룰스)
1
+ <div align="center">
2
+ <br />
3
+ <h1>DeukAgentRules (득에이전트룰스)</h1>
4
+ <p>
5
+ <a href="https://www.npmjs.com/package/deuk-agent-rule"><img src="https://img.shields.io/npm/v/deuk-agent-rule.svg" alt="npm version" /></a>
6
+ <a href="https://www.npmjs.com/package/deuk-agent-rule"><img src="https://img.shields.io/npm/dt/deuk-agent-rule.svg" alt="npm downloads" /></a>
7
+ </p>
8
+ <p><b>고신호(High-Signal) 인코딩 & 규칙 표준화 엔진</b></p>
9
+ <p><a href="https://deukpack.app">Deuk Family</a> 생태계의 핵심 에이전트 인프라</p>
10
+ </div>
2
11
 
3
12
  > **Deuk Family**의 핵심 모듈 가운데 하나입니다. 구조화된 규칙으로 AI 에이전트의 협업 효율을 극대화합니다.
4
13
 
@@ -10,7 +19,7 @@ Cursor, GitHub Copilot, Gemini / Antigravity, Claude, Windsurf, JetBrains AI Ass
10
19
  프로젝트 규칙(`AGENTS.md`, `.cursor/rules`)을 표준화하고, **티켓 기반 워크플로우**를 통해 쓸데없는 프롬프트 토큰 낭비와 AI의 맥락 환각(Hallucination)을 강력하게 방어합니다.
11
20
 
12
21
  > **🚀 핵심 가치:**
13
- > 세션당 약 1,500~2,000 토큰에 달하는 강제 로드 컨텍스트를 200~300 토큰 수준으로 압축합니다. AI가 모놀리식 전체 레포지토리를 헤매지 않도록, 정확한 티켓(작업 지시서) 기반으로 **"해당 서브모듈(Submodule)"**에만 격리시켜 작업을 지시할 수 있습니다.
22
+ > 세션당 약 1,500~2,000 토큰에 달하는 강제 로드 컨텍스트를 200~300 토큰 수준으로 압축합니다. AI가 모놀리식 전체 레포지토리를 헤매지 않도록, 작업이 속한 **"해당 서브모듈(Submodule)"** 내부에 티켓을 격리하여 가장 정확한 맥락에서 작업을 지시할 수 있습니다.
14
23
 
15
24
  ---
16
25
 
@@ -23,7 +32,8 @@ npm install deuk-agent-rule
23
32
  npx deuk-agent-rule init
24
33
  ```
25
34
 
26
- 초기화 시 프로젝트의 **기술 스택**과 **사용 중인 에이전트 툴**을 묻는 대화형 질문이 나타나며, 선택에 맞춰 최적화된 마크다운 템플릿과 룰 파일(`.cursor/rules/*`)들이 자동 생성 및 동기화됩니다.
35
+ 초기화 시 프로젝트의 **기술 스택**, **사용 중인 에이전트 툴**, 그리고 **티켓 공유 정책**을 묻는 대화형 질문이 나타납니다.
36
+ - **티켓 공유 정책**: 각 저장소 단위의 `.deuk-agent-ticket/` 폴더를 Git으로 추적하여 팀과 공유할지, 아니면 로컬 전용으로 둘지 결정합니다.
27
37
  - 스택 변경이 필요 없으면 이후에는 `npx deuk-agent-rule init`만 쳐서 규칙을 최신화할 수 있습니다.
28
38
  - CI나 스크립트 환경에서는 대화형 입력을 끄기 위해 `--non-interactive` 파라미터를 추가하세요.
29
39
 
@@ -37,22 +47,26 @@ npx deuk-agent-rule init --non-interactive
37
47
 
38
48
  ---
39
49
 
40
- ## 🎯 핵심 워크플로우 (The Ticket Workflow)
50
+ ## 🎯 핵심 워크플로우 (The Distributed Ticket Workflow)
41
51
 
42
- `npx deuk-agent-rule init`을 실행하면 워크스페이스 최상단에 **제로-터치 스캐폴딩 샌드박스**가 작동하며 아래 두 개의 핵심 폴더가 등장합니다.
52
+ `npx deuk-agent-rule init`을 실행하면 현재 저장소 루트(서브모듈 포함)에 아래 두 개의 핵심 폴더가 등장합니다.
43
53
 
44
- 1. **`.deuk-agent-templates/` (에이전트 템플릿)**: AI가 어떠한 양식으로 작업을 처리하고 보고해야 하는지 정의된 공식 뼈대(`TICKET_TEMPLATE.md`)가 지정됩니다. 소스코드와 함께 Git에 커밋되어 팀의 룰북 역할을 합니다.
45
- 2. **`.deuk-agent-ticket/` (티켓 실행 공간)**: 에이전트들과 작업자가 실제 주고받는 휘발성 지시서(`TICKET-XXX.md`)가 발급되는 은밀한 공간입니다. (보안 히스토리 누출 방지를 위해 시스템이 자동으로 `.gitignore`에 기재합니다.)
54
+ 1. **`.deuk-agent-templates/` (에이전트 템플릿)**: AI가 어떠한 양식으로 작업을 처리하고 보고해야 하는지 정의된 공식 뼈대(`TICKET_TEMPLATE.md`)가 지정됩니다.
55
+ 2. **`.deuk-agent-ticket/` (티켓 실행 공간)**: 실제 지시서(`TICKET-XXX.md`)가 발급되는 공간입니다. 서브모듈 단위로 티켓을 분산 관리할 있어 서브모듈만 떼어가도 히스토리가 유지됩니다. (공유 정책에 따라 `.gitignore`에 자동으로 기재될 수 있습니다.)
46
56
 
47
57
  이러한 샌드박스 폴더들을 활용하여 스퍼트를 올리는 **최적의 AI 코딩 3단계**는 다음과 같습니다.
48
58
 
49
- ### [Step 1] 티켓 발급 및 서브모듈 지정 (Ticket Creation)
50
- AI에게 중구난방으로 지시하지 마세요. 명확한 티켓을 발급하여 **문맥(Context)을 좁혀주어야** 비용과 사고를 막을 수 있습니다.
59
+ ### [Step 1] 티켓 발급 및 계층적 관리 (Ticket Creation & Delegation)
60
+ AI에게 중구난방으로 지시하지 마세요. 명확한 티켓을 발급하여 **문맥(Context)을 소속 저장소 단위로 좁혀주어야** 합니다.
51
61
 
52
62
  ```bash
53
- npx deuk-agent-rule ticket create --topic ui-refactoring --group frontend --project DeukUI --content "## Task: 플러그인 UI 리팩토링"
63
+ npx deuk-agent-rule ticket create --topic ui-refactoring --group frontend --project DeukUI
54
64
  ```
55
65
  명령어를 치면 `.deuk-agent-ticket/` 폴더 내에 템플릿이 입혀진 `TICKET-ui-refactoring.md` 파일이 생성됩니다.
66
+
67
+ > [!IMPORTANT]
68
+ > **티켓 작성 (주의사항)**: 새로 생성된 티켓에는 **YAML Front Matter** (`--- id: ... ---`)가 포함되어 있습니다. 내용을 작성할 때 **파일 전체를 덮어쓰지 마십시오.** 반드시 헤더 아래에 내용을 추가하거나 부분 편집 도구를 사용하여 기존 YAML 메타데이터를 보존해야 합니다. 프론트매터가 삭제되면 티켓 인덱싱 시스템이 파손됩니다.
69
+
56
70
  개발자는 이 파일 내의 `[Target Submodule]` 속성에 AI가 들여다보아야 할 고립된 경로(예: `src/client`)만을 명시해 줍니다.
57
71
 
58
72
  ### [Step 2] 세션 인수인계 및 에이전트 격리 실행 (Agent Execution)
@@ -91,7 +105,7 @@ npx deuk-agent-rule ticket list
91
105
  > *"본격적인 작업을 시작하기 전에 워크스페이스 Root에 있는 `AGENTS.md` (DeukAgentRules) 문서를 끝까지 읽어줘. 현재 프로젝트의 핵심 룰, Identity, 그리고 티켓 워크플로우에 대해 완벽히 숙지해야 해. 숙지를 마쳤다면 내용을 요약하지 말고 '규칙 확인 완료'라고 짧게 대답한 뒤 첫 지시를 대기해."*
92
106
 
93
107
  ### 2. 티켓 기반 타깃 작업 시작 (권장)
94
- > *"방금 발급된 `.deuk-agent-ticket/TICKET-XXX.md` 티켓을 열고, 티켓 내부에 명시된 **타겟 서브모듈(Target Submodule)** 경로 내에서만 파일 탐색 및 작업을 진행해. 다른 서브모듈(예: 서버 코드를 명시했는데 클라이언트 폴더를 건드리는 행위 등)로 벗어나거나 임의의 파일을 건드리지 마."*
108
+ > *"방금 설치/발급된 `.deuk-agent-ticket/TICKET-XXX.md` 티켓을 열고, 현재 저장소(Target Submodule) 경로 내에서만 파일 탐색 및 작업을 진행해. 다른 서브모듈로 벗어나거나 임의의 파일을 건드리지 마."*
95
109
 
96
110
  ---
97
111
 
@@ -104,13 +118,13 @@ npx deuk-agent-rule ticket list
104
118
 
105
119
  | 커맨드 | 설명 / 자연어 프롬프트 지시 예시 |
106
120
  |--------|------|
107
- | `npx deuk-agent-rule ticket create ...` | 신규 티켓 문서 생성 (`--group`, `--project` 지정 가능) <br>💬 *"새 티켓 만들어 (주제: refactor, 타겟: sub1)"* |
108
- | `npx deuk-agent-rule ticket list` | 활성 티켓의 현재 상태 및 리스트업 (`--archived`, `--all` 지원) <br>💬 *"티켓 리스트"* |
121
+ | `npx deuk-agent-rule ticket create ...` | 신규 티켓 문서 생성 (`--group`, `--project`, `--submodule` 지정 가능) <br>💬 *"새 티켓 만들어 (주제: refactor, 타겟: sub1)"* |
122
+ | `npx deuk-agent-rule ticket list` | 활성 티켓의 현재 상태 및 리스트업 (`--archived`, `--all`, `--json` 지원) <br>💬 *"티켓 리스트"* |
109
123
  | `npx deuk-agent-rule ticket use --latest ...` | 빌드 파이프라인 연동을 위해 최근 티켓의 파일 경로만 반환 <br>💬 *"최근 티켓 경로"* |
110
124
  | `npx deuk-agent-rule ticket close ...` | 파일을 물리적으로 이동시키지 않고 상태만 완료로 잠금(Soft-close) <br>💬 *"현재 티켓 상태 닫아 (완료)"* |
125
+ | `npx deuk-agent-rule ticket upgrade` | 과거 티켓 구조를 V2(YAML FM)로 마이그레이션 및 서브모듈 분산(DEFRAG) 실행 <br>💬 *"티켓 V2 업그레이드"* |
111
126
  | `npx deuk-agent-rule ticket archive ...` | 완료된 티켓을 안전하게 보관소(`archive/`)로 이동 및 갱신 <br>💬 *"현재 티켓 아카이브해 (보고서 첨부)"* |
112
127
  | `npx deuk-agent-rule ticket reports` | 영구 보관된 에이전트 작업 보고서(`reports/`) 목록 조회 <br>💬 *"완료된 티켓 보고서 목록"* |
113
- | `npx deuk-agent-rule ticket migrate` | 과거 단일 LATEST.md 데이터를 신규 모듈형 인덱스 구조로 강제 이전 <br>💬 *"이전 티켓 데이터 마이그레이션"* |
114
128
 
115
129
  ### Init 고급 옵션
116
130
  | 플래그 | 기본값 | 설명 |
@@ -121,5 +135,15 @@ npx deuk-agent-rule ticket list
121
135
  | `--dry-run` | 끔 | 실제 파일을 생성/변조하지 않고 콘솔에 동작 결과 텍스트만 출력 |
122
136
  | `--backup` | 끔 | `AGENTS.md`나 룰 파일 덮어쓰기 전 원본을 `*.bak`으로 안전 보관 |
123
137
 
124
- ## 버전 관리 정책
125
- 본 패키지(`DeukAgentRules`)의 업데이트 및 기능 변경 전에는 필히 `package.json`의 `version` 상향 후 퍼블리시(`npm run sync:oss`) 해 주시기 바랍니다.
138
+ ## 📦 릴리즈 및 체인지로그 (Changelog) 정책
139
+
140
+ 본 패키지(`DeukAgentRules`)의 시스템 템플릿 추가 및 기능 변경을 배포하기 전에 반드시 다음 절차를 따라 릴리즈 프로세스를 진행해야 합니다:
141
+
142
+ 1. **변경사항 커밋**: 문서 및 룰 스크립트 수정 완료 후 `git add` & `git commit` (Conventional Commits 형식 권장, ex: `feat: ...`, `fix: ...`)
143
+ 2. **버전 펌핑 및 체인지로그 자동 생성**:
144
+ * Patch (버그 수정): `npm run bump:patch`
145
+ * Minor (기능 추가): `npm run bump:minor`
146
+ * Major (룰/템플릿 대격변): `npm run bump:major`
147
+
148
+ 위 명령어를 실행하면 내부적으로 `commit-and-tag-version` 툴이 작동되어 `package.json` 버전 상향, `CHANGELOG.md` 자동 갱신 요약, 릴리즈 커밋, 그리고 태깅 작업까지 한번에 즉시 처리됩니다.
149
+ 3. **분산 배포 보정 (OSS Sync)**: 에이전트를 통해 `npm run sync:oss`를 실행하면 자동화 스크립트가 릴리즈 에셋을 스캔하여 OSS 미러 저장소(`DeukAgentRulesOSS`)로 최종적인 퍼블리시 버전을 복제 및 반영합니다.
package/README.md CHANGED
@@ -1,4 +1,13 @@
1
- # DeukAgentRules
1
+ <div align="center">
2
+ <br />
3
+ <h1>DeukAgentRules</h1>
4
+ <p>
5
+ <a href="https://www.npmjs.com/package/deuk-agent-rule"><img src="https://img.shields.io/npm/v/deuk-agent-rule.svg" alt="npm version" /></a>
6
+ <a href="https://www.npmjs.com/package/deuk-agent-rule"><img src="https://img.shields.io/npm/dt/deuk-agent-rule.svg" alt="npm downloads" /></a>
7
+ </p>
8
+ <p><b>High-Signal Encoding & Rule Standardization Engine</b></p>
9
+ <p>Part of the <a href="https://deukpack.app">Deuk Family</a> ecosystem.</p>
10
+ </div>
2
11
 
3
12
  > A core module of the **Deuk Family**. Maximizes collaboration efficiency of AI agents through structured rules.
4
13
 
@@ -50,9 +59,13 @@ The optimal **3-Step AI Coding Sequence** utilizing these sandbox folders is as
50
59
  Do not issue scattered, unbounded commands to your AI. Narrowing the **context** via a clear ticket is strictly required to prevent astronomical costs and accidental code corruption.
51
60
 
52
61
  ```bash
53
- npx deuk-agent-rule ticket create --topic ui-refactoring --group frontend --project DeukUI --content "## Task: Plugin UI Refactoring"
62
+ npx deuk-agent-rule ticket create --topic ui-refactoring --group frontend --project DeukUI
54
63
  ```
55
64
  This command instantly creates a templated `TICKET-ui-refactoring.md` file within the `.deuk-agent-ticket/` directory.
65
+
66
+ > [!IMPORTANT]
67
+ > **Filling the Ticket (CRITICAL)**: The newly created ticket already contains **YAML Front Matter** (`--- id: ... ---`). **DO NOT** overwrite the entire file when adding your plan. ALWAYS append your content below the header or use partial file editing to preserve the existing YAML metadata. Erasing the Front Matter corrupts the ticketing system.
68
+
56
69
  The developer must simply specify the exact isolated directory path (e.g., `src/client`) inside the `[Target Submodule]` attribute at the top of the generated file.
57
70
 
58
71
  ### [Step 2] Agent Execution & Handoff (Ticket Session)
@@ -104,13 +117,13 @@ Instead of manually typing the CLI commands below into the terminal, you can **d
104
117
 
105
118
  | Command | Description / Natural Language Prompt Example |
106
119
  |--------|------|
107
- | `npx deuk-agent-rule ticket create ...` | Generates a new ticket document (accepts `--group`, `--project`) <br>💬 *"Create new ticket (topic: refactor)"* |
108
- | `npx deuk-agent-rule ticket list` | Lists and displays active tickets (`--archived`, `--all` supported) <br>💬 *"Ticket list"* |
120
+ | `npx deuk-agent-rule ticket create ...` | Generates a new ticket document (accepts `--group`, `--project`, `--submodule`) <br>💬 *"Create new ticket (topic: refactor)"* |
121
+ | `npx deuk-agent-rule ticket list` | Lists and displays active tickets (`--archived`, `--all`, `--json` supported) <br>💬 *"Ticket list"* |
109
122
  | `npx deuk-agent-rule ticket use --latest ...` | Returns only the file path of the most recent ticket <br>💬 *"Recent ticket path"* |
110
123
  | `npx deuk-agent-rule ticket close ...` | Soft-closes a target ticket by locking its status to completed without moving the file <br>💬 *"Close this ticket"* |
124
+ | `npx deuk-agent-rule ticket upgrade` | Migrates legacy ticket structures to V2 (YAML FM) and triggers submodule DEFRAG <br>💬 *"Upgrade tickets to v2"* |
111
125
  | `npx deuk-agent-rule ticket archive ...` | Securely moves completed tickets to `archive/` and updates INDEX <br>💬 *"Archive this ticket (attach report)"* |
112
126
  | `npx deuk-agent-rule ticket reports` | Lists structurally preserved agent work reports (`reports/`) <br>💬 *"List archived reports"* |
113
- | `npx deuk-agent-rule ticket migrate` | Migrates legacy LATEST.md structures into indexed module architecture <br>💬 *"Migrate legacy tickets"* |
114
127
 
115
128
  ### Advanced Init Options
116
129
  | Flag | Default | Description |
@@ -121,5 +134,15 @@ Instead of manually typing the CLI commands below into the terminal, you can **d
121
134
  | `--dry-run` | Off | Simulates the execution text in the console without generating/altering files |
122
135
  | `--backup` | Off | Safely creates `*.bak` copies of `AGENTS.md` and rule files before overwriting |
123
136
 
124
- ## Versioning Policy
125
- Before pushing any core updates/feature changes to this package (`DeukAgentRules`), strictly bump the `version` inside `package.json` and publish it (`npm run sync:oss`).
137
+ ## 📦 Release & Changelog Policy
138
+
139
+ Before pushing any core updates, system templates, or feature changes to this package (`DeukAgentRules`), you must strictly follow this procedure to bump the version safely:
140
+
141
+ 1. **Apply Changes**: Complete documentation and rule script updates, then `git add` and `git commit` (Conventional Commits format recommended, e.g., `feat: ...`, `fix: ...`).
142
+ 2. **Version Bump & Automated Changelog**:
143
+ * Patch (Bug fixes): `npm run bump:patch`
144
+ * Minor (New features): `npm run bump:minor`
145
+ * Major (Core/Breaking changes): `npm run bump:major`
146
+
147
+ Executing the bump command will trigger the `commit-and-tag-version` pipeline: it bumps the version in `package.json`, auto-generates the `CHANGELOG.md` log, creates a release commit, and applies the release tag.
148
+ 3. **Synchronize & Mirror (OSS Sync)**: As a final step, ask your agent to run `npm run sync:oss`. The automation script will clean the release assets and push the bundled versions to the mirror repository (`DeukAgentRulesOSS`).