deuk-agent-flow 4.2.7 → 5.0.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.
Files changed (80) hide show
  1. package/CHANGELOG.ko.md +259 -0
  2. package/CHANGELOG.md +769 -124
  3. package/LICENSE +0 -0
  4. package/README.ko.md +97 -17
  5. package/README.md +108 -25
  6. package/bin/deuk-agent-flow.js +11 -13
  7. package/bin/deuk-agent-rule.js +1 -1
  8. package/bundled/README.md +3 -0
  9. package/bundled/deuk-agent-flow.vsix +0 -0
  10. package/core-rules/AGENTS.md +30 -120
  11. package/docs/architecture.ko.md +155 -2
  12. package/docs/architecture.md +155 -2
  13. package/docs/assets/agentflow-panel-skills.png +0 -0
  14. package/docs/assets/agentflow-panel.png +0 -0
  15. package/docs/how-it-works.ko.md +109 -52
  16. package/docs/how-it-works.md +128 -71
  17. package/docs/principles.ko.md +68 -68
  18. package/docs/principles.md +68 -68
  19. package/docs/usage-guide.ko.md +251 -212
  20. package/package.json +42 -45
  21. package/scripts/bundle-vscode-vsix.ts +67 -0
  22. package/scripts/{cli-args.mjs → cli-args.ts} +49 -12
  23. package/scripts/cli-init-commands.ts +99 -0
  24. package/scripts/cli-init-logic.ts +46 -0
  25. package/scripts/{cli-prompts.mjs → cli-prompts.ts} +19 -34
  26. package/scripts/{cli-rule-compiler.mjs → cli-rule-compiler.ts} +128 -112
  27. package/scripts/cli-skill-commands.ts +707 -0
  28. package/scripts/{cli-telemetry-commands.mjs → cli-telemetry-commands.ts} +25 -22
  29. package/scripts/cli-ticket-command-shared.ts +4 -0
  30. package/scripts/cli-ticket-commands.ts +3723 -0
  31. package/scripts/cli-ticket-index.ts +283 -0
  32. package/scripts/{cli-ticket-migration.mjs → cli-ticket-migration.ts} +44 -68
  33. package/scripts/cli-ticket-parser.ts +100 -0
  34. package/scripts/{cli-usage-commands.mjs → cli-usage-commands.ts} +325 -326
  35. package/scripts/cli-utils.ts +1560 -0
  36. package/scripts/cli.ts +695 -0
  37. package/scripts/{lint-md.mjs → lint-md.ts} +32 -42
  38. package/scripts/lint-rules.ts +203 -0
  39. package/scripts/{merge-logic.mjs → merge-logic.ts} +44 -44
  40. package/scripts/{plan-parser.mjs → plan-parser.ts} +53 -53
  41. package/templates/MODULE_RULE_TEMPLATE.md +11 -11
  42. package/templates/PROJECT_RULE.md +46 -47
  43. package/templates/TICKET_TEMPLATE.ko.md +48 -44
  44. package/templates/TICKET_TEMPLATE.md +48 -44
  45. package/templates/project-memory.md +19 -0
  46. package/templates/project-pilot/CONFORMANCE_GATE_TEMPLATE.md +25 -25
  47. package/templates/project-pilot/DRIFT_CHECKLIST.md +27 -27
  48. package/templates/project-pilot/FLOW_CONTRACT_TEMPLATE.md +26 -26
  49. package/templates/project-pilot/IMPLEMENTATION_MATRIX_TEMPLATE.md +30 -30
  50. package/templates/project-pilot/INTEGRATION_CONTRACT_TEMPLATE.md +26 -26
  51. package/templates/project-pilot/OWNER_MAP_TEMPLATE.md +15 -15
  52. package/templates/project-pilot/PROJECT_PILOT_RULE_TEMPLATE.md +34 -34
  53. package/templates/project-pilot/REFACTOR_CONTRACT_TEMPLATE.md +32 -32
  54. package/templates/project-pilot/REMEDIATION_PLAN_TEMPLATE.md +33 -33
  55. package/templates/rules.d/deukcontext-mcp.md +31 -31
  56. package/templates/rules.d/platform-coexistence.md +29 -29
  57. package/templates/skills/context-recall/SKILL.md +3 -1
  58. package/templates/skills/doc-sync/SKILL.md +111 -0
  59. package/templates/skills/generated-file-guard/SKILL.md +3 -1
  60. package/templates/skills/persona-maid/SKILL.md +65 -0
  61. package/templates/skills/project-pilot/SKILL.md +14 -63
  62. package/templates/skills/safe-refactor/SKILL.md +3 -1
  63. package/templates/skills/ticket-status-surface/SKILL.md +17 -0
  64. package/NOTICE.md +0 -19
  65. package/core-rules/GEMINI.md +0 -7
  66. package/docs/npm-publish-guide.ko.md +0 -70
  67. package/scripts/cli-init-commands.mjs +0 -1759
  68. package/scripts/cli-init-logic.mjs +0 -64
  69. package/scripts/cli-skill-commands.mjs +0 -212
  70. package/scripts/cli-ticket-command-shared.mjs +0 -60
  71. package/scripts/cli-ticket-commands.mjs +0 -2474
  72. package/scripts/cli-ticket-index.mjs +0 -322
  73. package/scripts/cli-ticket-parser.mjs +0 -210
  74. package/scripts/cli-utils.mjs +0 -602
  75. package/scripts/cli.mjs +0 -256
  76. package/scripts/lint-rules.mjs +0 -197
  77. package/scripts/publish-dual-npm.mjs +0 -141
  78. package/scripts/smoke-npm-docker.mjs +0 -102
  79. package/scripts/smoke-npm-local.mjs +0 -110
  80. package/scripts/update-download-badge.mjs +0 -103
package/CHANGELOG.md CHANGED
@@ -2,18 +2,663 @@
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
-
7
5
  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).
8
6
 
9
- ## [Unreleased]
7
+ ## [5.0.2] - 2026-06-16
8
+
9
+
10
+ ### Fixed
11
+
12
+ - **flow-ui:** 전체 티켓 카운트가 1로 표시되던 버그 — ticket list에 전체 카운트 동봉 ([#756](https://github.com/joygram/DeukAgentFlow/issues/756))
13
+
14
+ ## [5.0.1] - 2026-06-16
15
+
16
+
17
+ ### Fixed
18
+
19
+ - **vsix:** vscode-extension 버전이 루트 버전 자동 추종하도록 수정
20
+
21
+
22
+ ### Changed
23
+
24
+ - **readme:** 5.0 로드맵 갱신 + Flow UI 스샷 자리 정비 (en/ko)
25
+
26
+ ## [5.0.0] - 2026-06-16
27
+
28
+ > **Major release.** A full internal overhaul: skills moved to the home directory (`~/.deuk`), an XState-based ticket workflow engine, and the VS Code Flow UI (first release). Existing `.deuk-agent/` workspace data is migrated automatically — see the migration guide in the README for manual recovery if it fails.
29
+
30
+ ### 🏠 홈 디렉토리 이동 · 마이그레이션
31
+
32
+ - **ticket:** cwd write 박멸 — report/knowledge/defrag 제거, 마이그레이션이 .deuk 통째삭제·.deuk-agent 흡수 ([#727](https://github.com/joygram/DeukAgentFlow/issues/727))
33
+ - .deuk-agent 하드코딩 에러메시지/스모크테스트 → .deuk 수정
34
+ - **vscode:** .deuk-agent → .deuk 홈 경로 수정
35
+ - remove workspace .deuk-agent/ dir, store PROJECT_RULE and memory in home ticket store
36
+ - **#669:** workspace marker .deuk-agent/ → .deuk-workspace-id 단일 파일로 교체
37
+ - **workspace:** 서브모듈 독립 등록 허용 — 자식에 .deuk-agent 직접 있으면 통과 ([#080](https://github.com/joygram/DeukAgentFlow/issues/080))
38
+ - **skill:** home-only skills, no workspace spray, hash auto-sync
39
+ - **ticket:** relocate ticket storage to home with self-healing registry
40
+
41
+ ### 🎭 스킬 시스템
42
+
43
+ - **persona-maid:** 이모지 표현 풀·로테이션·분석모드 톤유지 규칙 추가
44
+ - **webview:** workspace→skill→workspace 탭 복귀 시 스타일 깨짐 수정 ([#749](https://github.com/joygram/DeukAgentFlow/issues/749))
45
+ - **webview:** SKILL탭→WORKSPACE 복귀 스타일 깨짐 수정 + 드롭다운 active/total 카운트 표기 ([#748](https://github.com/joygram/DeukAgentFlow/issues/748))
46
+ - **#697:** ticket-status-surface 시스템 스킬 — 상태는 카드 한 줄(링크 항상 포함)
47
+ - **#694:** 스킬 노드 영역 바인딩 + rules 출력 축소 + CLI 자체 메시지 제거
48
+ - discard hint clarification + doc-sync v4.5.18 canonicalization
49
+ - raise TOTAL_MAX_SKILLS 5→6 to allow doc-sync exposure
50
+ - add doc-sync skill + fix executionEvidence phase2→3 blocking bug
51
+ - **persona-maid:** 텍스트 기호 하트→컬러 이모지 통일 + 카오모지 규칙 추가
52
+ - **persona-maid:** 단조로운 하트를 다양한 컬러 하트로 교체
53
+ - **persona-maid:** 메이드 페르소나 애교 폭발 버전으로 강화
54
+ - **skill:** native 스킬 노출을 <id>/SKILL.md 디렉토리 구조로 전환
55
+ - **skill:** native platform에 daf- prefix flat 파일로 배포
56
+ - **skill:** exposed/native-sync 전역 SSOT 통합
57
+ - **skill:** claude platform -> native ~/.claude/commands/ mode
58
+ - revert c4025da regressions — skill installed flag, quality gate bypass, emoji encoding
59
+ - auto-cleanup quality gate bypass and inline skills for AI platforms
60
+
61
+ ### 🖥️ Flow UI (VS Code 확장 · 신규)
62
+
63
+ - **webview:** 스킬 조회 JSON이 명령출력 박스 오염시키는 문제 수정 ([#750](https://github.com/joygram/DeukAgentFlow/issues/750))
64
+ - **agentflow-ui:** 스킬 탭 복귀 시 티켓 뷰 깨짐 수정 + 카운트 active/total 표기 ([#747](https://github.com/joygram/DeukAgentFlow/issues/747))
65
+ - **statusbar:** 세션 쿠키 기준 워크스페이스·티켓 표시 ([#737](https://github.com/joygram/DeukAgentFlow/issues/737))
66
+ - **vscode:** UI 로딩 병목 전면 제거 — open 티켓만 파싱, 비선택 ws readdir 카운트만
67
+ - **vscode:** statusbar 초기 text 비어있음 + 전 워크스페이스 본문 전수로딩 회귀 수정
68
+ - **vscode-ext:** 앱 아이콘 agentflow-128.png 등록
69
+ - **devinstall:** ~/.deuk/dev/ vsix 마스터 배포 + 전 프로젝트 연동
70
+ - add code-server extensions dir to WSL vsix install targets
71
+ - **#676:** install VSIX to Windows .vscode/extensions via WSL wslpath
72
+ - agentflow UX 개선 — 티켓 표기 wp-id, UI 개선, Approval Gate 정밀화
73
+ - **vscode:** compact status bar format — workspace #num phN
74
+ - **vscode:** show active ticket in status bar
75
+ - **ui:** resolveWebviewView/openPanel 초기 로딩 트리거 추가
76
+
77
+ ### 🌐 다국어 (i18n)
78
+
79
+ - **i18n:** 영어 로케일에서 phase 안내·게이트가 한글로 나오던 문제 수정
80
+
81
+ ### 🎫 티켓 워크플로 엔진
82
+
83
+ - **ticket:** entry-node를 세션 쿠키 기반 단일 워크스페이스 조회로 전환 ([#743](https://github.com/joygram/DeukAgentFlow/issues/743))
84
+ - **ticket-link:** 파일 링크 회귀 수정 — 드라이브 경계서 안 열리던 절대경로 폴백 제거 ([#746](https://github.com/joygram/DeukAgentFlow/issues/746))
85
+ - **rules:** cwd 의존 제거 — registry 전체 스캔으로 active ticket 감지 + 다줄 블록 출력 제거
86
+ - **ticket-surface:** 카드 라벨 오조합·DocMeta 다줄·move 후 카드 미표시 버그 3종 수정
87
+ - **ticket-close:** .md status/phase 갱신 안 되던 버그 수정 ([#736](https://github.com/joygram/DeukAgentFlow/issues/736))
88
+ - **use:** ticket use 출력에 .md-aware 슬롯 현황 표기 ([#729](https://github.com/joygram/DeukAgentFlow/issues/729))
89
+ - **verify:** phase3/4 verify 스테이지에 은폐금지 게이트 주입 ([#728](https://github.com/joygram/DeukAgentFlow/issues/728))
90
+ - **ticketHome:** CLI resolveHomeTicketDirForWorkspace 로직과 통합 — 드리프트 제거
91
+ - **#691:** XState 기반 LangGraph 상태머신으로 티켓 워크플로 전이 엔진 전환
92
+ - getCloseWorkflowReasons accepts canonical Analysis/Direction headings
93
+ - **#675:** unify flow-cookie+claim into single cookie-{wp}-{ticketId}-{sessionId} touch file
94
+ - 에이전트 폭주 방지 — active ticket STOP 신호, Runaway Prevention 규칙 추가
95
+ - **plan-body:** phase1 plan-body 7섹션 → 4섹션 슬림화 ([#654](https://github.com/joygram/DeukAgentFlow/issues/654)) v4.5.8
96
+ - **ticket-create:** --plan-body 생략 시 summary 기반 auto-scaffold 생성 ([#653](https://github.com/joygram/DeukAgentFlow/issues/653)) v4.5.7
97
+ - **workspace:** rules·ticket dispatch의 cwd 워크스페이스 추정 박멸 ([#652](https://github.com/joygram/DeukAgentFlow/issues/652)) v4.5.5
98
+ - **workspace:** 세션 cookie를 홈 직속 저장으로 이전 — cwd 의존 완전 제거 (#871-followup) v4.5.2
99
+ - **workspace:** 세션 cookie 기반 active 도출로 멀티세션 티켓 강탈 박멸 (#871-followup)
100
+ - **ui:** 티켓 리뷰 링크 채팅 클릭 복원 + ticket --help 룰 오염 제거
101
+ - **workspace:** registry.json 폐기 + cwd 자동등록/폴백 제거로 ghost 워크스페이스 박멸 ([#645](https://github.com/joygram/DeukAgentFlow/issues/645))
102
+ - rules APC 서브헤딩 안내 추가 + ticket create Source 라인 출력 ([#644](https://github.com/joygram/DeukAgentFlow/issues/644))
103
+ - **rules:** --workspace 플래그로 runRulesShow workspace 컨텍스트 교체 ([#643](https://github.com/joygram/DeukAgentFlow/issues/643))
104
+ - **rules:** buildPhaseAdvanceHint 전체 transitions 표시 — 정방향·이탈·회귀·재오픈 라우트 모두 출력
105
+ - **workflow:** assertTicketWorkflowTransition 차단 시 허용 전환 목록 에러 메시지 추가
106
+ - **workflow:** FSM 에러 메시지에 허용 actions·전환·discard 이정표 추가, --to end named state 파싱 지원
107
+ - **ticket-home:** 티켓 경로 중첩·ghost 워크스페이스 근절 ([#080](https://github.com/joygram/DeukAgentFlow/issues/080))
108
+ - **ticket-gate:** cli/ui 타입 구분 제거 및 워크스페이스 유령 등록 방지 ([#080](https://github.com/joygram/DeukAgentFlow/issues/080))
109
+ - **rules:** narrow ticket-exempt to block gate bypass (v100, #631)
110
+ - **vscode:** 액티브 티켓을 claim-{id}.json에서 도출 ([#630](https://github.com/joygram/DeukAgentFlow/issues/630))
111
+ - **ticket:** 워크스페이스 정규화 충돌 타이브레이크 + cli 9섹션 사전 노출
112
+ - **ticket:** 타입 인지 Phase1 검증 + 확장 홈 티켓 경로 이전
113
+ - **ticket:** per-ticket claim model replaces global active marker
114
+ - **cli:** toSlug Hangul romanize fallback + rules-show section test
115
+ - || true 폴백 제거, active 마커 다중파일 정리, --plan-body 직접 인자 안내 통일
116
+ - **ticket:** active 마커 개념 제거 — status 폴백이 archived 거짓 노출하던 버그 수정
117
+ - **ticket:** discard approval_required 허용·INDEX 미등록 폐기·help 템플릿 복원·workspace 이동
118
+ - **ticket+ui:** INDEX 레거시 마이그레이션·ticket doctor·sanitize·archive lazy-load
119
+ - cwd-matched workspace resolution + ticket gate template sync
120
+ - **flow:** decouple active ticket marker logic from INDEX.json writer
121
+
122
+ ### 🔧 빌드 · 인프라
123
+
124
+ - **707:** .mjs 44개 제거, .ts 단일 소스로 전환
125
+ - **bin:** tsc 빌드 출력(scripts/out/scripts/cli.js)으로 bin 교체
126
+ - **#707:** scripts/*.mjs → .ts 전환 — tsc 에러 0개 달성
127
+ - WSL2에서 winShell 오판정으로 PowerShell 블록 출력되던 버그 수정
128
+ - Windows PowerShell 호환 — isWindowsPlatform 분기, PS here-string 예시 출력
129
+
130
+ ### Other
131
+
132
+ - **#673:** multi-agent session isolation via per-agent env var detection
133
+
134
+ ## [4.4.70] - 2026-06-08
135
+
136
+ ## [4.4.69] - 2026-06-08
137
+
138
+ ## [4.4.68] - 2026-06-08
139
+
140
+ ## [4.4.67] - 2026-06-08
141
+
142
+ ## [4.4.66] - 2026-06-08
143
+
144
+ ## [4.4.65] - 2026-06-08
145
+
146
+ ## [4.4.64] - 2026-06-08
147
+
148
+ ## [4.4.63] - 2026-06-08
149
+
150
+ ## [4.4.62] - 2026-06-08
151
+
152
+ ## [4.4.61] - 2026-06-08
153
+
154
+
155
+ ### Added
156
+
157
+ - **skill-ui:** 스킬 탭 로딩 인디케이터 추가, fork 실패 시 CLI 출력 메시지 포함
158
+
159
+ ## [4.4.60] - 2026-06-07
160
+
161
+
162
+ ### Added
163
+
164
+ - **skill:** 컨텍스트 길이 600자 제한, 스킬 내용 단축, 카테고리 이모지 추가, CLI edit 커맨드
165
+
166
+ ## [4.4.59] - 2026-06-07
167
+
168
+ ## [4.4.58] - 2026-06-07
169
+
170
+ ## [4.4.57] - 2026-06-07
171
+
172
+
173
+ ### Added
174
+
175
+ - **skill-ux:** 스킬 탭 티켓UX 통일+캐시속도+전역 fork 편집+category 충돌경고
176
+ - **ticket:** auto-sanitize duplicate frontmatter on stringify and add ticket sanitize command
177
+
178
+ ## [4.4.56] - 2026-06-07
179
+
180
+
181
+ ### Added
182
+
183
+ - **vsix:** update UI locale expressions and agent flow panel
184
+
185
+
186
+ ### Changed
187
+
188
+ - add persona-maid skill install instructions to README and CHANGELOG
189
+
190
+ ## [4.4.55] - 2026-06-07
191
+
192
+ ## [4.4.54] - 2026-06-07
193
+
194
+
195
+ ### Added
196
+
197
+ - **skills:** update persona-maid rules with enhanced subculture identity
198
+ - Note: This skill is disabled by default (opt-in) in the official release.
199
+ - To enable, users must manually install it via `deuk-agent-flow skill add --skill persona-maid`.
200
+
201
+ ## [4.4.53] - 2026-06-07
202
+
203
+
204
+ ### Fixed
205
+
206
+ - **cli:** prevent boot cycle from deleting local skill copies
207
+
208
+ ## [4.4.52] - 2026-06-07
209
+
210
+
211
+ ### Added
212
+
213
+ - Add agent-specific global pointers
214
+
215
+ ## [4.4.51] - 2026-06-07
216
+
217
+
218
+ ### Added
219
+
220
+ - Add agent-specific templates, fix workspace path logic, add rules locale emoji
221
+
222
+ ## [4.4.50] - 2026-06-07
223
+
224
+
225
+ ### Fixed
226
+
227
+ - project-memory rules 출력 10줄 제한 — 비대화 방지
228
+
229
+ ## [4.4.49] - 2026-06-07
230
+
231
+ ## [4.4.48] - 2026-06-06
232
+
233
+
234
+ ### Fixed
235
+
236
+ - **rules:** Approval Hard Stop → Approval Gate — 채팅 승인 시 에이전트가 직접 실행
237
+
238
+ ## [4.4.47] - 2026-06-06
239
+
240
+
241
+ ### Fixed
242
+
243
+ - **ticket-surface:** file:/// → 워크스페이스 상대경로로 교체 (Claude Code 클릭 가능)
244
+
245
+ ## [4.4.46] - 2026-06-06
246
+
247
+ ## [4.4.45] - 2026-06-06
248
+
249
+ ## [4.4.44] - 2026-06-06
250
+
251
+ ## [4.4.43] - 2026-06-06
252
+
253
+
254
+ ### Added
255
+
256
+ - **rules:** v97 Approval Hard Stop — agent must never self-execute ticket move --approval approved
257
+
258
+ ## [4.4.42] - 2026-06-06
259
+
260
+
261
+ ### Changed
262
+
263
+ - replace hardcoded file URI generation with toFileUri
264
+
265
+ ## [4.4.41] - 2026-06-06
266
+
267
+
268
+ ### Fixed
269
+
270
+ - **global-pointer:** 강제 복창·벌칙 루프 제거 → 마법 스크롤 상태 라인으로 대체
271
+
272
+ ## [4.4.40] - 2026-06-06
273
+
274
+ ## [4.4.39] - 2026-06-06
275
+
276
+ ## [4.4.38] - 2026-06-06
277
+
278
+ ## [4.4.37] - 2026-06-06
279
+
280
+
281
+ ### Fixed
282
+
283
+ - **cli:** --help 빈 코어 섹션 복구 — root.md 플레이스홀더를 현재 AGENTS.md 헤딩으로 동기화
284
+ - **rules:** ticket create 가이드 셸 선택을 OS→실제 실행 셸 기준으로 교체
285
+
286
+
287
+ ### Changed
288
+
289
+ - **cli-init:** cli-init-commands 단일 파일을 6개 모듈로 분리 + 배선 복구
290
+
291
+ ## [4.4.36] - 2026-06-06
292
+
293
+ ## [4.4.35] - 2026-06-06
294
+
295
+ ## [4.4.34] - 2026-06-06
296
+
297
+ ## [4.4.33] - 2026-06-06
298
+
299
+
300
+ ### Added
301
+
302
+ - add Antigravity Chain-of-Thought Hook to global pointer
303
+
304
+
305
+ ### Fixed
306
+
307
+ - **ticket-flow:** ticket-workflow.mjs toWsRelativePath 통합 및 불필요 import 제거
308
+
309
+ ## [4.4.32] - 2026-06-06
310
+
311
+
312
+ ### Added
313
+
314
+ - **rules:** Windows에서 ticket create 예시를 PowerShell 방식으로 출력
315
+
316
+
317
+ ### Fixed
318
+
319
+ - **cli:** revert target to GEMINI.md and strengthen mandatory pointers
320
+ - **dev-install:** stale global symlink 제거 후 tarball 설치
321
+ - **flow-surface:** 종료 티켓 status label을 조회 대신 종료로 표시
322
+ - **flow-surface:** invocationCwd 기준 상대경로로 티켓 링크 계산
323
+ - meta.summary 비string 타입 시 .replace() TypeError 수정
324
+ - **ticket-flow:** 파일링크 기준을 process.cwd() → resolveWorkspaceContext(cwd).root 로 교체
325
+ - ticketId 비string 타입 시 .split() TypeError 수정
326
+
327
+ ## [4.4.31] - 2026-06-05
328
+
329
+
330
+ ### Added
331
+
332
+ - **ticket:** archiveTicketEntry 완료 시 project-memory.md 자동 갱신
333
+
334
+ ## [4.4.30] - 2026-06-05
335
+
336
+
337
+ ### Added
338
+
339
+ - phase4/end 프롬프트에 project-memory.md 업데이트 지시 추가
340
+
341
+ ## [4.4.29] - 2026-06-05
342
+
343
+
344
+ ### Added
345
+
346
+ - project-memory 레이어 추가 + ticket use flow surface 채팅 UI 보강
347
+
348
+ ## [4.4.28] - 2026-06-05
349
+
350
+ ## [4.4.27] - 2026-06-05
351
+
352
+ ## [4.4.26] - 2026-06-04
353
+
354
+
355
+ ### Added
356
+
357
+ - **ticket-index:** activeTicketId -> activeTickets workspace-scoped map
358
+
359
+
360
+ ### Fixed
361
+
362
+ - **ticket-surface:** restore absolute path links — revert 975cd7a relative-path change
363
+ - **ticket-surface:** use file:/// URI for flow surface links (multi-workspace compat)
364
+ - **ticket-surface:** use process.cwd() relative path for IDE link compat
365
+
366
+ ## [4.4.24] - 2026-06-04
367
+
368
+ ## [4.4.23] - 2026-06-03
369
+
370
+
371
+ ### Fixed
372
+
373
+ - **init:** deploy & self-heal native rule spokes (was dead/removed)
374
+ - **init:** restore home-only spoke design — stop deploying spokes into workspaces
375
+ - **init:** strip deuk block from shared agent surfaces instead of blunt-deleting
376
+ - **ticket:** phase-advance hint loads state prompt/template from CLI surfaces
377
+
378
+
379
+ ### Changed
380
+
381
+ - **init:** discard agentsMode — native rule spokes deploy by detection
382
+ - **roadmap:** separate AgentFlow (workflow) from Agent Retriever (rule/context)
383
+
384
+ ## [4.4.22] - 2026-06-03
385
+
386
+ ## [4.4.21] - 2026-06-03
387
+
388
+
389
+ ### Added
390
+
391
+ - **surface:** flow 라인 🐶 마스코트 + 상태아이콘 + 클릭가능 상대경로 링크 개선
392
+
393
+
394
+ ### Fixed
395
+
396
+ - **ticket:** flow surface 아이콘 🦸·🔍 교체 및 합성 금지 룰 명확화
397
+ - **ticket:** flow surface 아이콘 🦸→📦 변경
398
+
399
+
400
+ ### Changed
401
+
402
+ - **ticket:** INDEX entries 캐시 제거 — .md 단일 소스 + 얇은 포인터
403
+
404
+ ## [4.4.20] - 2026-06-03
405
+
406
+ ## [4.4.19] - 2026-06-03
407
+
408
+ ## [4.4.18] - 2026-06-03
409
+
410
+ ## [4.4.17] - 2026-06-03
411
+
412
+ ## [4.4.16] - 2026-06-03
413
+
414
+ ## [4.4.15] - 2026-06-03
415
+
416
+ ## [4.4.14] - 2026-06-03
417
+
418
+
419
+ ### Fixed
420
+
421
+ - **pointer:** 글로벌 포인터를 MANDATORY 강제 문구로 강화 + active 포인터 sticky 버그 수정
422
+ - **rules,surface:** rules audit v96 정합화 + 진행 state flow surface 출력 (티켓 549)
423
+ - **rules:** Surface Discipline에 verbatim relay·중간보고 금지·환경 우선순위 강제 (티켓 493)
424
+ - **ticket:** show plan body inline in the approval surface
425
+
426
+
427
+ ### Changed
428
+
429
+ - **ticket:** status에서 active 제거 — 단일 초점은 activeTicketId로만 표현
430
+
431
+ ## [4.4.13] - 2026-06-02
432
+
433
+
434
+ ### Fixed
435
+
436
+ - **pointer:** make global pointer an explicit run-rules instruction
437
+
438
+ ## [4.4.12] - 2026-06-02
439
+
440
+ ## [4.4.11] - 2026-06-02
441
+
442
+ ## [4.4.10] - 2026-06-02
443
+
444
+
445
+ ### Added
446
+
447
+ - **rules:** single-call composition with dynamic next-action
448
+
449
+ ## [4.4.9] - 2026-06-02
450
+
451
+
452
+ ### Added
453
+
454
+ - **path:** add makePath primitive; normalize constructed paths to platform-native
455
+
456
+
457
+ ### Fixed
458
+
459
+ - **ticket:** auto-resolve workspace from cwd in ticket status when multiple are registered
460
+ - **ticket:** dedupe required_slots in workflow state surface
461
+ - **ticket:** surface fillable scaffold on plan-body guard + state surface on move
462
+
463
+
464
+ ### Changed
465
+
466
+ - **home:** consolidate scattered home resolution into resolveUserHome()
467
+ - **path:** convert legacy CJS vsix scripts to ESM and route through makePath
468
+ - **path:** route all .mjs path construction through makePath
469
+
470
+ ## [4.4.8] - 2026-06-01
471
+
472
+
473
+ ### Added
474
+
475
+ - **dev:** add dev:install for internal global install, exclude vscode-extension from package
476
+
477
+ ## [4.4.7] - 2026-06-01
478
+
479
+
480
+ ### Added
481
+
482
+ - **rules:** add mandatory ticket-first gate enforcement (v95)
483
+ - **rules:** add ticket-exempt operations list (v96)
484
+
485
+
486
+ ### Fixed
487
+
488
+ - --cwd 없을 때 .deuk-agent 없는 디렉토리에서 단일 sibling workspace 자동 선택
489
+ - enforce LF line endings across CLI file writes and add .gitattributes policy
490
+ - normalize Windows path case in workspace registry to prevent duplicate entries
491
+
492
+
493
+ ### Changed
494
+
495
+ - export normalizeRegistryPath from cli-utils, remove duplicate in cli-init-commands
496
+
497
+ ## [4.4.6] - 2026-05-26
498
+
499
+
500
+ ### Added
501
+
502
+ - add standalone agentflow vscode extension
503
+ - **cli:** add ticket phase surface, clickable link policy, and knowledge distill improvements
504
+ - route context commands through Flow CLI
505
+ - v4.3.0 AgentFlow Panel UI overhaul + README VSIX section + badge update
506
+ - **vsix:** ticket-click preview panel, telemetry rows, remove Command Session card
507
+
508
+
509
+ ### Fixed
510
+
511
+ - **agents:** add WORKSPACE_ROOT resolution to boot sequence to prevent cross-repo ticket misrouting
512
+ - allow commit-only flow without new tickets
513
+ - allow empty workspace label in flow surface output
514
+ - **cli:** expose Claude settings changes in auto migration
515
+ - **cli:** hash Claude settings state for change detection
516
+ - **cli:** stop climbing for missing agent info
517
+ - detect MCP projects from ingest registry
518
+ - **global-pointer:** remove legacy tags, add mandatory boot instruction
519
+ - **global-pointer:** restore DEUK_AGENT_FLOW_BEGIN/END tags, strip html tags as legacy
520
+ - harden ticket index recovery and archiving
521
+ - harden ticket lifecycle flow
522
+ - honor gitignore sharing setting
523
+ - **init:** upsert/remove Claude UserPromptSubmit hook
524
+ - isGeneratedDeukPointer가 새 한 줄 포인터 형식을 인식하도록 수정
525
+ - pointer docs를 한 줄 포인터로 축소, workspace dispatch fallback 추가
526
+ - refine AgentFlow command center ticket UX
527
+ - rename DeukPack AgentFlow → Deuk Agent Flow, bump README version to v4.3.0
528
+ - stabilize workspace detection and init cleanup behavior
529
+ - **ticket:** harden archive frontmatter handling
530
+ - use ticket path to infer workspace label in flow surface
531
+
532
+
533
+ ### Changed
534
+
535
+ - add AgentFlow registry derivation flow
536
+ - **agent:** block test-surface shortcut reporting
537
+ - AgentFlow 플러그인 로드맵 및 아키텍처 문서화
538
+ - clarify MCP attachment model
539
+ - **documeta:** DeukMt → DocuMeta, .deukmt.md → .documeta 용어 통일
540
+ - infer workspace from ticket path via .deuk-agent marker
541
+
542
+ ## [4.4.4] - 2026-05-19
543
+
544
+ ### Changed
545
+
546
+ - **cli:** removed runtime git probes from workspace detection and markdown lint target discovery so ordinary AgentFlow CLI commands no longer shell out to `git rev-parse`, `git diff`, or `git ls-files`.
547
+ - **ticket:** lifecycle quality gates now decide rules-audit scope from the actual lifecycle targets instead of querying the dirty git file list.
548
+
549
+ ### Fixed
550
+
551
+ - **lint:** added a regression test proving `lint:md` default discovery does not invoke `git`.
552
+
553
+ ## [4.4.3] - 2026-05-19
554
+
555
+ ### Changed
556
+
557
+ - **ticket:** workspace-prefixed Flow surfaces now render as `flow:[workspace:상태]` so approval, adjustment, completion, and phase lines visibly carry the workspace name.
558
+ - **docs:** version headers and usage examples were aligned to the 4.4.3 release.
559
+
560
+ ### Fixed
561
+
562
+ - **commentary:** updated harness and ticket command tests to validate the workspace-prefixed surfaces.
563
+
564
+ ## [4.4.0] - 2026-05-18
565
+
566
+ ### Changed
567
+
568
+ - **init:** switched automatic migration to single-target workspace cleanup so ordinary CLI use does not sweep sibling repositories.
569
+ - **rules:** made `core-rules/AGENTS.md` the only AgentFlow rule SSoT, including source checkouts; generated root `AGENTS.md` pointers are removed instead of preserved as package roots.
570
+ - **global:** replaced copied global rule bodies with hash-marked thin pointers that resolve the active package rules through `deuk-agent-flow rules path --path-only`.
571
+ - **project:** moved project-specific rules to `.deuk-agent/PROJECT_RULE.md` and kept local root pointers out of consumer workspaces.
10
572
 
11
573
  ### Fixed
12
574
 
13
- - **ticket:** prefer heading-style APC markers in ticket templates without extra explanatory prose, so agents keep marker bodies on following lines.
14
- - **ticket:** validate APC create input from the whole APC section instead of slicing per marker, preserving compatibility with heading, bare, and inline marker styles.
15
- - **rules:** avoid emitting a second clickable link for the same ticket in the completion reply after `Ticket start` was already exposed.
16
- - **skills:** remove DeukAgentFlow-specific wording from shared skill summaries and ownership notes so consumer-facing templates stay generic.
575
+ - **ticket:** prevented `init`/automatic migration from running ticket archive, auto-close, or knowledge distillation lifecycle work.
576
+ - **workspace:** tightened workspace dispatch and matching behavior so ticket commands avoid accidental jumps to unrelated sibling workspaces.
577
+
578
+ ## [4.3.22] - 2026-05-18
579
+
580
+ ### Changed
581
+
582
+ - **agent-flow:** migrated fragmented local AgentFlow configuration into user-scoped global settings for Windows/Linux consumers.
583
+ - **init:** made workspace initialization clean up legacy local AgentFlow configuration under `/joy/workspace` so stale settings do not keep shadowing the user-level source of truth.
584
+
585
+ ### Fixed
586
+
587
+ - **ticket:** normalized CLI-managed ticket markdown before lifecycle linting, so harmless formatting drift such as trailing whitespace in archived tickets no longer blocks new ticket creation or updates.
588
+ - **ticket:** made auto-archive and auto-close maintenance best-effort during ticket activity, preventing cleanup failures from aborting the active workflow while still pruning stale open-limit rows.
589
+
590
+ ## [4.3.17] - 2026-05-17
591
+
592
+ ### Added
593
+
594
+ - **vsix:** added a shared `npm run install:vscode` installer that deploys the bundled VSIX to both desktop VS Code and VS Code Server extension directories, prunes stale AgentFlow extension folders, and resets stale AgentFlow webview workspace state.
595
+
596
+ ### Changed
597
+
598
+ - **rules:** replaced strict one-word running commentary enforcement with tool-owned workflow surfaces: ticket-start while pending, blockers when blocked, and final answers when done.
599
+ - **ticket:** made `ticket context` own the approved Phase 1 to Phase 2 durable transition before runtime `set_workflow_context` is recorded.
600
+
601
+ ### Fixed
602
+
603
+ - **ticket:** added structured JSON repair payloads for `ticket create --json` validation failures, including missing sections, required headings, APC markers, and a compact skeleton for agent-neutral recovery.
604
+ - **vsix:** removed checkbox-based ticket multi-select and switched to Shift range selection plus Ctrl/Cmd toggles.
605
+ - **vsix:** hid handoff controls during multi-select and prevented hidden textarea access from freezing the webview.
606
+ - **vsix:** reduced ticket-click latency by avoiding full ticket rescans on preview/selection changes and by slimming the webview state payload.
607
+ - **vsix:** moved the ticket lifecycle/status control directly under `copy handoff` for single-ticket mode.
608
+
609
+ ## [4.3.8] - 2026-05-17
610
+
611
+ ### Fixed
612
+
613
+ - **init:** removed Deuk AgentContext MCP registration/status messages from the default `init` output and cleaned generated nested `AGENTS.md` pointer surfaces inside git repositories while preserving root pointers.
614
+ - **ticket:** treated `status: deprecated` as a non-execution lifecycle status so `ticket status` reports deprecated tickets directly instead of flagging missing Phase 1 execution planning.
615
+
616
+ ## [4.3.2] - 2026-05-16
617
+
618
+ ### Fixed
619
+
620
+ - **ticket:** `ticket close` now prints a single clickable archived link for the closed ticket, avoiding duplicate file-link cards and stale deleted paths in the close surface.
621
+
622
+ ## [4.3.0] - 2026-05-14
623
+
624
+ ### Added
625
+
626
+ - **vsix:** Introduced the **DeukAgentFlow AgentFlow Panel** VS Code extension (VSIX) — a sidebar panel that brings ticket-driven workflow directly into the editor without switching to the terminal.
627
+ - Ticket list with compact columns: filename · m/s · phase · priority · snippet · date.
628
+ - Status filter (Open / Close / All) with active-ticket highlight chip in the toolbar.
629
+ - Full-text ticket search popup (id, title, summary, body) with live filtering.
630
+ - Ticket preview panel: file path, phase, priority pills, and an **open** shortcut in one line — no word-wrap, no scrollbar.
631
+ - **Copy handoff** button beside the chat textarea: copies `id / title / phase·status·priority / summary / continue ticket` to the clipboard for immediate paste into any AI chat.
632
+ - Workspace selector supporting multi-root workspaces; nested workspace detection stops at the first agent-rule boundary.
633
+
634
+ ### Fixed
635
+
636
+ - **vsix:** Status filter now maps legacy `active` values to `open` for backward compatibility; default filter changed from `active` to `all`.
637
+ - **vsix:** Preview panel falls back to the first ticket in the filtered list when the stored preview ticket is no longer visible after a filter change.
638
+ - **vsix:** Ticket item selection highlight replaced `outline`-based rendering (which clipped at list edges) with border-color + background-color tinting to prevent visual clipping.
639
+ - **cli:** Workspace discovery stops recursing when a `.deuk-agent` root is found, preventing nested workspace false-positives in `discoverAllWorkspaces`.
640
+
641
+ ## [4.2.27] - 2026-05-13
642
+
643
+
644
+ ### Added
645
+
646
+ - add standalone agentflow vscode extension
647
+ - route context commands through Flow CLI
648
+
649
+
650
+ ### Fixed
651
+
652
+ - detect MCP projects from ingest registry
653
+ - harden ticket index recovery and archiving
654
+ - refine AgentFlow command center ticket UX
655
+
656
+
657
+ ### Changed
658
+
659
+ - add AgentFlow registry derivation flow
660
+ - **agent:** block test-surface shortcut reporting
661
+ - clarify MCP attachment model
17
662
 
18
663
  ## [4.2.2] - 2026-05-10
19
664
 
@@ -115,71 +760,71 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
115
760
 
116
761
  ### Added
117
762
 
118
- - AGENTS.md v12 + summary mandatory guard + PROJECT_RULE optimization
763
+ - AGENTS.md v12 + summary mandatory guard + PROJECT_RULE optimization
119
764
  - **cli:** add 'ticket next' command for instant task discovery (T[#295](https://github.com/joygram/DeukAgentFlow/issues/295))
120
- - **cli:** enforce required frontmatter keys in lint:md (T-118)
121
- - harden ticket paths and add DeukPack RAG schemas
122
- - **migration:** add summary/planLink/caution auto-enrichment for legacy tickets
123
- - Phase 0 search limiter - max 2 MCP calls, skip when context sufficient
124
- - replace legacy fill-in-the-blank rule check with Version Gating and Task Relevance check
125
- - **rules:** enforce hard guardrails, add hotfix protocol and urgency response
126
- - **rules:** harden document boundary workflow
127
- - **spoke:** add fill-in completion template for rule enforcement
128
- - **T-114:** 1-CALL ticket discovery rule + CLI max call limits
129
- - **T-115:** HARD BLOCK on write tools without active ticket
130
- - **T-116:** auto-close stale tickets on ticket create + Phase 4 NEVER skip
131
- - **T-116:** smart close based on checklist + phase state
132
- - **ticket:** enforce filled create flow and phase1 status guard
133
- - **ticket:** enforce open ticket cleanup flow
134
- - **ticket:** partition archive index by month
135
-
136
-
137
- ### Fixed
138
-
139
- - add Refactor Safety Guard and Halt-and-Replan hard rules
140
- - agent degradation remediation — planLink, inline TDW, token optimization
141
- - align ticket APC template with phase gate
142
- - **docs:** correct frontmatter keys in AGENTS.md (remove fm_ prefix)
143
- - **init:** deploy Antigravity spoke to project root AGENTS.md
144
- - register legitimate DR-04/DR-05 exceptions and update PROJECT_RULE.md
145
- - remove duplicate phase key in ticket template and repair broken tickets
146
- - **rules:** announce active ticket at start
147
- - **rules:** keep planlink free of progress checkboxes
148
- - **rules:** make planlink capture agent analysis
149
- - **rules:** separate ticket and plan content
150
- - **spoke:** GLOBAL_AGENTS.md link text to actual filename AGENTS.md
151
- - SSOT — init removes .deuk-agent/templates/ unconditionally (bundle is single source of truth)
152
- - **T-116:** parallel-safe auto-close - only close activeTicketId, warn others
153
- - **T-116:** replace auto-close with activeTicketId switch + warning
154
- - **ticket:** honor project and submodule filters
155
- - **ticket:** Sync close/archive status to frontmatter to prevent rebuild reversion
156
-
157
-
158
- ### Changed
159
-
160
- - add Dependency Integrity Guard (HARD RULE) to AGENTS.md
161
- - add lite accessibility vision plan
162
- - add skill positioning release notes
163
- - add version frontmatter to AGENTS.md for rule loading optimization
164
- - align bad examples with plan/archive convention
165
- - archive bmt coordination ticket 142
166
- - archive bmt frontmatter cleanup ticket 144
167
- - archive bmt go ticket 140
168
- - archive bmt java ticket 139
169
- - archive bmt matrix ticket 133
170
- - archive bmt rust ticket 141
171
- - bump AGENTS.md to v15 and strengthen dependency guards
172
- - clarify ticket creation flow
173
- - document rationale for docs/plan and fix section numbering
174
- - Enforce strict rules for Scope Creep Handling
175
- - enhance main features and workflow intro for v3.2.0
176
- - optimize AGENTS.md — merge Dependency Integrity into Refactor Guard, compress Scope Creep
177
- - position agent guardrail growth loop
178
- - **rules:** clarify phase one execution semantics
179
- - **rules:** mandate enrich_frontmatter for all plan/report files (T-118)
180
- - **spoke:** hard rule single directive
181
- - update legacy path guidance to plan/archive layout
182
-
765
+ - **cli:** enforce required frontmatter keys in lint:md (T-118)
766
+ - harden ticket paths and add DeukPack RAG schemas
767
+ - **migration:** add summary/planLink/caution auto-enrichment for legacy tickets
768
+ - Phase 0 search limiter - max 2 MCP calls, skip when context sufficient
769
+ - replace legacy fill-in-the-blank rule check with Version Gating and Task Relevance check
770
+ - **rules:** enforce hard guardrails, add hotfix protocol and urgency response
771
+ - **rules:** harden document boundary workflow
772
+ - **spoke:** add fill-in completion template for rule enforcement
773
+ - **T-114:** 1-CALL ticket discovery rule + CLI max call limits
774
+ - **T-115:** HARD BLOCK on write tools without active ticket
775
+ - **T-116:** auto-close stale tickets on ticket create + Phase 4 NEVER skip
776
+ - **T-116:** smart close based on checklist + phase state
777
+ - **ticket:** enforce filled create flow and phase1 status guard
778
+ - **ticket:** enforce open ticket cleanup flow
779
+ - **ticket:** partition archive index by month
780
+
781
+
782
+ ### Fixed
783
+
784
+ - add Refactor Safety Guard and Halt-and-Replan hard rules
785
+ - agent degradation remediation — planLink, inline TDW, token optimization
786
+ - align ticket APC template with phase gate
787
+ - **docs:** correct frontmatter keys in AGENTS.md (remove fm_ prefix)
788
+ - **init:** deploy Antigravity spoke to project root AGENTS.md
789
+ - register legitimate DR-04/DR-05 exceptions and update PROJECT_RULE.md
790
+ - remove duplicate phase key in ticket template and repair broken tickets
791
+ - **rules:** announce active ticket at start
792
+ - **rules:** keep planlink free of progress checkboxes
793
+ - **rules:** make planlink capture agent analysis
794
+ - **rules:** separate ticket and plan content
795
+ - **spoke:** GLOBAL_AGENTS.md link text to actual filename AGENTS.md
796
+ - SSOT — init removes .deuk-agent/templates/ unconditionally (bundle is single source of truth)
797
+ - **T-116:** parallel-safe auto-close - only close activeTicketId, warn others
798
+ - **T-116:** replace auto-close with activeTicketId switch + warning
799
+ - **ticket:** honor project and submodule filters
800
+ - **ticket:** Sync close/archive status to frontmatter to prevent rebuild reversion
801
+
802
+
803
+ ### Changed
804
+
805
+ - add Dependency Integrity Guard (HARD RULE) to AGENTS.md
806
+ - add lite accessibility vision plan
807
+ - add skill positioning release notes
808
+ - add version frontmatter to AGENTS.md for rule loading optimization
809
+ - align bad examples with plan/archive convention
810
+ - archive bmt coordination ticket 142
811
+ - archive bmt frontmatter cleanup ticket 144
812
+ - archive bmt go ticket 140
813
+ - archive bmt java ticket 139
814
+ - archive bmt matrix ticket 133
815
+ - archive bmt rust ticket 141
816
+ - bump AGENTS.md to v15 and strengthen dependency guards
817
+ - clarify ticket creation flow
818
+ - document rationale for docs/plan and fix section numbering
819
+ - Enforce strict rules for Scope Creep Handling
820
+ - enhance main features and workflow intro for v3.2.0
821
+ - optimize AGENTS.md — merge Dependency Integrity into Refactor Guard, compress Scope Creep
822
+ - position agent guardrail growth loop
823
+ - **rules:** clarify phase one execution semantics
824
+ - **rules:** mandate enrich_frontmatter for all plan/report files (T-118)
825
+ - **spoke:** hard rule single directive
826
+ - update legacy path guidance to plan/archive layout
827
+
183
828
  ## [3.3.0] - 2026-05-02
184
829
 
185
830
  ### Added
@@ -199,60 +844,60 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
199
844
  - **ticket:** prevent open ticket growth from silently exceeding the intended operating limit by surfacing cleanup decisions before new work proceeds.
200
845
 
201
846
  ## [3.2.0] - 2026-04-28
202
-
203
-
204
- ### Added
205
-
206
- - **agent:** implement platform coexistence and mode-aware workflow
207
-
208
-
209
- ### Changed
210
-
211
- - **agents:** add Co-existence Protocol and Workflow Gate (T-120)
212
- - update usage, architecture, and principles for v3.1.0
213
-
214
- ## [3.1.0] - 2026-04-28
215
-
216
-
217
- ### Added
218
-
219
- - add ArchitectureGuard.test.mjs and create technical debt ticket T-103
220
- - add first-class copilot and codex support
221
- - **arch:** implement APC v3 and simplify repository structure
222
- - **cli:** restrict --skip-phase0 based on MCP server status and update rules
223
- - consolidate rule cleanup logic and enforce thin pointers for entry points
224
- - enforce unidirectional AGENTS.md single source of truth
225
- - enhance CLI reporting and add practical usage guide
226
- - implement strict phase-driven ticket workflow with APC validation
227
- - implement Zero-Copy architecture with absolute path pointing and frontmatter-based PROJECT_RULE.md
228
- - implement zero-token knowledge distillation on ticket archive and cleanup dead code
229
- - **rules:** add AI Agent fallback guide to PROJECT_RULE.md template
230
- - **rules:** normalize canonical rules and decouple DeukPack rules
231
- - **telemetry:** add local-first telemetry CLI and update AGENTS.md
847
+
848
+
849
+ ### Added
850
+
851
+ - **agent:** implement platform coexistence and mode-aware workflow
852
+
853
+
854
+ ### Changed
855
+
856
+ - **agents:** add Co-existence Protocol and Workflow Gate (T-120)
857
+ - update usage, architecture, and principles for v3.1.0
858
+
859
+ ## [3.1.0] - 2026-04-28
860
+
861
+
862
+ ### Added
863
+
864
+ - add ArchitectureGuard.test.mjs and create technical debt ticket T-103
865
+ - add first-class copilot and codex support
866
+ - **arch:** implement APC v3 and simplify repository structure
867
+ - **cli:** restrict --skip-phase0 based on MCP server status and update rules
868
+ - consolidate rule cleanup logic and enforce thin pointers for entry points
869
+ - enforce unidirectional AGENTS.md single source of truth
870
+ - enhance CLI reporting and add practical usage guide
871
+ - implement strict phase-driven ticket workflow with APC validation
872
+ - implement Zero-Copy architecture with absolute path pointing and frontmatter-based PROJECT_RULE.md
873
+ - implement zero-token knowledge distillation on ticket archive and cleanup dead code
874
+ - **rules:** add AI Agent fallback guide to PROJECT_RULE.md template
875
+ - **rules:** normalize canonical rules and decouple DeukPack rules
876
+ - **telemetry:** add local-first telemetry CLI and update AGENTS.md
232
877
  - **ticket:** implement --plan-body for filled Phase 1 ticket body input and update project rules
233
-
234
-
235
- ### Fixed
236
-
237
- - auto-detect client tool from model and config in telemetry
238
- - resolve agent loop on ticket navigation + archive 37 dead tickets
239
- - **rules:** bilingual ko/en PROJECT_RULE.md template
240
- - **rules:** remove redundant core rules link from PROJECT_RULE.md
241
- - **rules:** restore frontmatter in PROJECT_RULE.md
242
- - **rules:** restore mandatory ticket workflow and anti-shoveling rules
243
- - **rules:** sync restored strict workflow AGENTS.md and unified templates
244
-
245
-
246
- ### Changed
247
-
248
- - add markdown lint policy and workflow docs
249
- - **agent:** rename TDD to TDW, archive ticket 101, and remove DOMAIN_RULES
250
- - AGENTS.md full cleanup - eliminate redundancy, unify English, remove dead rules
251
- - finalize ticket 066 rule normalization
252
- - modernize CLI architecture, implement state-driven path resolution, and comprehensive audit cleanup
253
- - **rules:** decouple DeukPack rules and fix merge injection logic
254
- - update principles and cli compiler to DeukAgentContext
255
-
878
+
879
+
880
+ ### Fixed
881
+
882
+ - auto-detect client tool from model and config in telemetry
883
+ - resolve agent loop on ticket navigation + archive 37 dead tickets
884
+ - **rules:** bilingual ko/en PROJECT_RULE.md template
885
+ - **rules:** remove redundant core rules link from PROJECT_RULE.md
886
+ - **rules:** restore frontmatter in PROJECT_RULE.md
887
+ - **rules:** restore mandatory ticket workflow and anti-shoveling rules
888
+ - **rules:** sync restored strict workflow AGENTS.md and unified templates
889
+
890
+
891
+ ### Changed
892
+
893
+ - add markdown lint policy and workflow docs
894
+ - **agent:** rename TDD to TDW, archive ticket 101, and remove DOMAIN_RULES
895
+ - AGENTS.md full cleanup - eliminate redundancy, unify English, remove dead rules
896
+ - finalize ticket 066 rule normalization
897
+ - modernize CLI architecture, implement state-driven path resolution, and comprehensive audit cleanup
898
+ - **rules:** decouple DeukPack rules and fix merge injection logic
899
+ - update principles and cli compiler to DeukAgentContext
900
+
256
901
  ## [3.0.0] - 2026-04-25
257
902
 
258
903
  ### 🚀 Major Breakthrough: Hub-Spoke Architecture