leerness 1.9.223 β†’ 1.9.224

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/CHANGELOG.md CHANGED
@@ -1,5 +1,41 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.9.224 β€” 2026-05-22
4
+
5
+ **πŸ”Œ MCP 61 도ꡬ (leerness_requests_auto_complete) + handoff λ³Έλ¬Έ + session close --auto-apply-delivered.**
6
+
7
+ ### 1. MCP 61번째 도ꡬ β€” `leerness_requests_auto_complete`
8
+ - 1.9.223 delivered νŒ¨ν„΄ μžλ™ 감지λ₯Ό μ™ΈλΆ€ AI에 λ…ΈμΆœ
9
+ - 인자: `{ path?, apply? (default false) }`
10
+ - 응닡: `{ total, candidates: [{id, text, claimedVersion, currentVersion, deliveredKeyword, recordedAt}], currentVersion, applied, completedIds[] }`
11
+ - MCP 60 (1.9.221) β†’ 61 도ꡬ (+1)
12
+
13
+ ### 2. handoff λ³Έλ¬Έ μžλ™ λ…ΈμΆœ
14
+ - delivered 후보 β‰₯ 1건 μ‹œ: `## πŸ“₯ μ‚¬μš©μž μš”μ²­ μžλ™ μ™„λ£Œ κ°€λŠ₯ (1.9.224, N건)` λ³Έλ¬Έ μ„Ήμ…˜
15
+ - top 5 후보 λ…ΈμΆœ (overflowλŠ” `... +N건 더`)
16
+ - μžλ™ ꢌμž₯: `β†’ leerness requests auto-complete --apply`
17
+ - 1.9.222 비정상 μ’…λ£Œ λ³Έλ¬Έ λ‹€μŒ, ν™œμ„± λ£° 이전 μœ„μΉ˜
18
+
19
+ ### 3. `session close --auto-apply-delivered` ν”Œλž˜κ·Έ
20
+ - 마감 μ‹œ delivered 후보 μžλ™ μ™„λ£Œ (μ•ˆμ „: νŒ¨ν„΄ λ§€μΉ­ + 버전 κ°€λ“œ)
21
+ - `autoCompleteReason: 'session-close-auto-apply-1.9.224'` 좔적
22
+ - ν”Œλž˜κ·Έ μ—†μœΌλ©΄ κΈ°μ‘΄ λ™μž‘ (μ•ˆλ‚΄λ§Œ)
23
+
24
+ ### 4. λˆ„μ  νšŒκ·€ (1.9.207~223) β€” λͺ¨λ‘ μœ μ§€
25
+
26
+ ### 5. stress-v169 β€” 16/16 PASS
27
+ - 1.9.224 (7): VERSION + MCP 61 + μ‹€ 호좜 + handoff λ³Έλ¬Έ + λ³Έλ¬Έ λ―Έλ…ΈμΆœ + session close auto-apply + κΈ°λ³Έ 보쑴
28
+ - μ„±λŠ₯ (2): cold_start avg 556ms / MCP 61 tools/list 417ms
29
+ - λˆ„μ  νšŒκ·€ (7): 1.9.207~223
30
+
31
+ ### 6. μžλ™ release (86 λΌμš΄λ“œ main-push streak Β· 47 λΌμš΄λ“œ npm publish streak)
32
+
33
+ πŸ”Œ **μ‚¬μš©μž μš”μ²­ μžλ™ μ™„λ£Œ μ‹œμŠ€ν…œ μ™„μ„±** (3 λΌμš΄λ“œ λˆ„μ ):
34
+ - 1.9.223 CLI auto-complete
35
+ - 1.9.224 MCP 61 + handoff λ³Έλ¬Έ + session close μžλ™ 적용
36
+
37
+ ---
38
+
3
39
  ## 1.9.223 β€” 2026-05-22
4
40
 
5
41
  **πŸ“₯ μ‚¬μš©μž μš”μ²­ auto-complete (delivered νŒ¨ν„΄ μžλ™ 감지) + handoff/session close 톡합.**
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  > **AI μ½”λ”© μ—μ΄μ „νŠΈμ˜ κ±°μ§“ μ™„λ£ŒΒ·μ€‘λ³΅Β·λ§κ°Β·μΆ©λŒμ„ λ§‰μ•„μ£ΌλŠ” κ²€μˆ˜Β·κΈ°μ–΅Β·ν˜‘μ—… CLI ν•˜λ„€μŠ€.**
4
4
 
5
- [![npm](https://img.shields.io/badge/npm-leerness-blue)](https://www.npmjs.com/package/leerness) [![version](https://img.shields.io/badge/version-1.9.223-green)]() [![tests](https://img.shields.io/badge/e2e-217%2F217-success)]() [![stress](https://img.shields.io/badge/stress--v168-15%2F15-success)]() [![mcp](https://img.shields.io/badge/MCP--tools-60_πŸŽ‰-brightgreen)]() [![rounds](https://img.shields.io/badge/autonomous--rounds-153-blueviolet)]() [![main-push](https://img.shields.io/badge/release--main--push-85_rounds-success)]() [![goal-matrix](https://img.shields.io/badge/λͺ©μ _맀트릭슀-100%2F100_(5μΆ•)-brightgreen)]() [![auto-complete](https://img.shields.io/badge/πŸ“₯_requests-auto--complete-blueviolet)]() [![perf](https://img.shields.io/badge/cold_start-401ms-success)]() [![install](https://img.shields.io/badge/npm_i_leerness-μ¦‰μ‹œ_μ‚¬μš©_κ°€λŠ₯-success)]() [![sandbox](https://img.shields.io/badge/runCommandSafe-cwd_jail%2Benv_scrub-success)]() [![license](https://img.shields.io/badge/license-MIT-lightgrey)]()
5
+ [![npm](https://img.shields.io/badge/npm-leerness-blue)](https://www.npmjs.com/package/leerness) [![version](https://img.shields.io/badge/version-1.9.224-green)]() [![tests](https://img.shields.io/badge/e2e-217%2F217-success)]() [![stress](https://img.shields.io/badge/stress--v169-16%2F16-success)]() [![mcp](https://img.shields.io/badge/MCP--tools-61-brightgreen)]() [![rounds](https://img.shields.io/badge/autonomous--rounds-154-blueviolet)]() [![main-push](https://img.shields.io/badge/release--main--push-86_rounds-success)]() [![goal-matrix](https://img.shields.io/badge/λͺ©μ _맀트릭슀-100%2F100_(5μΆ•)-brightgreen)]() [![auto-complete](https://img.shields.io/badge/πŸ“₯_requests-auto--complete-blueviolet)]() [![perf](https://img.shields.io/badge/cold_start-556ms-success)]() [![install](https://img.shields.io/badge/npm_i_leerness-μ¦‰μ‹œ_μ‚¬μš©_κ°€λŠ₯-success)]() [![sandbox](https://img.shields.io/badge/runCommandSafe-cwd_jail%2Benv_scrub-success)]() [![license](https://img.shields.io/badge/license-MIT-lightgrey)]()
6
6
 
7
7
  ```
8
8
  ╔══════════════════════════════════════════════════════════════╗
@@ -12,9 +12,9 @@
12
12
  β•‘ β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•”β•β•β• β–ˆβ–ˆβ•”β•β•β• β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β• β•šβ•β•β•β•β–ˆβ–ˆβ•‘ β•‘
13
13
  β•‘ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘ β•‘
14
14
  β•‘ β•šβ•β•β•β•β•β•β•β•šβ•β•β•β•β•β•β•β•šβ•β•β•β•β•β•β•β•šβ•β• β•šβ•β•β•šβ•β• β•šβ•β•β•β•β•šβ•β•β•β•β•β•β•β•šβ•β•β•β•β•β•β• β•‘
15
- β•‘ v1.9.223 AI Agent Reliability Harness + Sandbox β•‘
15
+ β•‘ v1.9.224 AI Agent Reliability Harness + Sandbox β•‘
16
16
  β•‘ verify Β· remember Β· orchestrate Β· audit Β· sandbox Β· drift β•‘
17
- β•‘ πŸ“₯ requests auto-complete Β· handoff JSON 5 톡합 ν•„λ“œ β•‘
17
+ β•‘ πŸ”Œ MCP 61 Β· handoff λ³Έλ¬Έ + session close --auto-apply β•‘
18
18
  β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
19
19
  ```
20
20
 
package/bin/harness.js CHANGED
@@ -7,7 +7,7 @@ const cp = require('child_process');
7
7
  const os = require('os'); // 1.9.178: _publishToNpm μ—μ„œ os.tmpdir() μ‚¬μš© (μ „μ—­ import)
8
8
  const readline = require('readline');
9
9
 
10
- const VERSION = '1.9.223';
10
+ const VERSION = '1.9.224';
11
11
 
12
12
  // 1.9.184: DEP0190 (child_process shell: true) deprecation warning μ–΅μ œ (μ‚¬μš©μž λͺ…μ‹œ).
13
13
  // leerness λŠ” cross-platform PATH resolution 을 μœ„ν•΄ shell: true λ₯Ό μ˜λ„μ μœΌλ‘œ μ‚¬μš© (claude.cmd / ollama.cmd λ“± Windows .cmd 처리).
@@ -6139,6 +6139,28 @@ function handoff(root) {
6139
6139
  }
6140
6140
  } catch {}
6141
6141
 
6142
+ // 1.9.224: handoff λ³Έλ¬Έ μžλ™ λ…ΈμΆœ β€” delivered νŒ¨ν„΄ 후보 β‰₯ 1건 μ‹œ (1.9.223 ν™•μž₯)
6143
+ // "Round X.Y.Z β€” κ΅¬ν˜„ μ™„λ£Œ" νŒ¨ν„΄μ΄ λˆ„μ λ˜λ©΄ λ³Έλ¬Έ μ„Ήμ…˜μœΌλ‘œ μžλ™ μ•ˆλ‚΄ (ν—€λ“œλΌμΈλ§ŒμœΌλ‘œλŠ” λ†“μΉ˜κΈ° 쉬움)
6144
+ try {
6145
+ const delivered = _detectDeliveredRequests(root);
6146
+ if (delivered.candidates && delivered.candidates.length > 0) {
6147
+ const isTty = process.stdout && process.stdout.isTTY;
6148
+ const cy4 = s => isTty ? `\x1b[36m${s}\x1b[0m` : s;
6149
+ const yl4 = s => isTty ? `\x1b[33m${s}\x1b[0m` : s;
6150
+ const dm4 = s => isTty ? `\x1b[2m${s}\x1b[0m` : s;
6151
+ log('');
6152
+ log(yl4(`## πŸ“₯ μ‚¬μš©μž μš”μ²­ μžλ™ μ™„λ£Œ κ°€λŠ₯ (1.9.224, ${delivered.candidates.length}건)`));
6153
+ delivered.candidates.slice(0, 5).forEach(c => {
6154
+ log(` β€’ [${c.id}] v${c.claimedVersion} (${c.deliveredKeyword}) β€” ${c.text.slice(0, 70)}${c.text.length > 70 ? '…' : ''}`);
6155
+ });
6156
+ if (delivered.candidates.length > 5) {
6157
+ log(dm4(` ... +${delivered.candidates.length - 5}건 더`));
6158
+ }
6159
+ log(dm4(` β†’ κ²€ν† : leerness requests auto-complete`));
6160
+ log(dm4(` β†’ 적용: leerness requests auto-complete --apply (μ•ˆμ „ 정리)`));
6161
+ }
6162
+ } catch {}
6163
+
6142
6164
  // 1.9.8: active rules μžλ™ λ…ΈμΆœ (λ§€ μ„Έμ…˜ μ‹œμž‘ μ‹œ AIμ—κ²Œ λ³΄μž„)
6143
6165
  const activeRules = readRules(root).filter(r => r.status === 'active');
6144
6166
  if (activeRules.length) {
@@ -9950,15 +9972,25 @@ function sessionClose(root, opts = {}) {
9950
9972
 
9951
9973
  log('');
9952
9974
  log(`## πŸ”š session close μžλ™ 톡합 보고 (1.9.217)`);
9953
- // 1.9.207 + 1.9.223 (delivered νŒ¨ν„΄ μžλ™ ꢌμž₯)
9975
+ // 1.9.207 + 1.9.223 (delivered νŒ¨ν„΄ μžλ™ ꢌμž₯) + 1.9.224 (--auto-apply-delivered μ˜΅μ…˜)
9954
9976
  try {
9955
9977
  const reqAudit = _auditUserRequests(root);
9956
9978
  const missCnt = reqAudit.missing ? reqAudit.missing.length : 0;
9957
9979
  let delivered = { candidates: [] };
9958
9980
  try { delivered = _detectDeliveredRequests(root); } catch {}
9959
9981
  if (delivered.candidates && delivered.candidates.length > 0) {
9960
- log(yel(` πŸ“₯ delivered νŒ¨ν„΄ ${delivered.candidates.length}건 (1.9.223) β€” μžλ™ μ™„λ£Œ κ°€λŠ₯`));
9961
- log(dim(` β†’ leerness requests auto-complete --apply (μ•ˆμ „ 정리)`));
9982
+ if (has('--auto-apply-delivered')) {
9983
+ // 1.9.224: μžλ™ 정리 (마감 μ‹œ 호좜 β€” μ•ˆμ „: νŒ¨ν„΄ λ§€μΉ­ + 버전 κ°€λ“œ)
9984
+ let ok = 0;
9985
+ for (const c of delivered.candidates) {
9986
+ const u = _updateUserRequest(root, c.id, { status: 'completed', autoCompletedAt: new Date().toISOString(), autoCompleteReason: 'session-close-auto-apply-1.9.224' });
9987
+ if (u) ok++;
9988
+ }
9989
+ log(grn(` βœ“ delivered νŒ¨ν„΄ ${ok}건 μžλ™ μ™„λ£Œ (--auto-apply-delivered 1.9.224)`));
9990
+ } else {
9991
+ log(yel(` πŸ“₯ delivered νŒ¨ν„΄ ${delivered.candidates.length}건 (1.9.223) β€” μžλ™ μ™„λ£Œ κ°€λŠ₯`));
9992
+ log(dim(` β†’ leerness requests auto-complete --apply (μˆ˜λ™) λ˜λŠ” session close --auto-apply-delivered (1.9.224)`));
9993
+ }
9962
9994
  } else if (missCnt > 0) {
9963
9995
  log(red(` ⚠ λ―Έλ‹΅ μ‚¬μš©μž μš”μ²­ ${missCnt}건 (task-log/plan/decisions λ§€μΉ­ μ•ˆ 됨)`));
9964
9996
  } else if (reqAudit.open > 0) {
@@ -13818,7 +13850,8 @@ function mcpServeCmd(root) {
13818
13850
  { name: 'leerness_pre_wake_audit', description: '1.9.216 (1.9.209 μ‚¬μš©μž λͺ…μ‹œ) β€” sleep μ „ sub-agent audit. 6 μ˜μ—­ 점검: missing-user-requests / stale-in-progress / drift-handoff-stale / wakeup-missed / next-action-pending / auto-resume-plan. μ™ΈλΆ€ AIκ°€ "κΉ¨μ–΄λ‚˜κΈ° μ „ 점검할 λΆ€λΆ„"을 회수. 응닡: { auditedAt, findings: {critical, warning, info}, summary }. 인자: { path? }', inputSchema: { type: 'object', properties: { path: { type: 'string' } } } },
13819
13851
  { name: 'leerness_intent_classify', description: '1.9.216 (1.9.213 μ‚¬μš©μž λͺ…μ‹œ) β€” μ‚¬μš©μž μ˜λ„ νŒŒμ•… + scope expansion 게이트. 응닡: { intent: precise|broad|default, signals, domain, explicitMentions, expansionCandidates, mode: dry-run }. 3원칙 μ•ˆμ „: (1) Always-Off Opt-In, (2) Dry-run κΈ°λ³Έ (μ‹€ν–‰ X), (3) λͺ…μ‹œ vs μΆ”λ‘  뢄리 라벨링. 5 도메인 (game/web/api/cli/data). μ™ΈλΆ€ AIκ°€ "이 μš”μ²­μ€ μ •ν™•νžˆ κ·Έκ²ƒλ§Œ / 포괄적 / 기본인가?"λ₯Ό 회수. 인자: { request (required), path? }', inputSchema: { type: 'object', properties: { request: { type: 'string' }, path: { type: 'string' } }, required: ['request'] } },
13820
13852
  { name: 'leerness_idempotency_audit', description: '1.9.216 (1.9.212 μ‚¬μš©μž λͺ…μ‹œ) β€” λ©±λ“±μ„± μœ„λ°˜ 탐지. 4μ˜μ—­ 점검: rule-duplicate (medium) / task-duplicate-request (medium) / user-request-duplicate (low) / wakeup-duplicate (high). 응닡: { violations[], verified[], summary: {totalViolations, high/medium/low, overall} }. μ™ΈλΆ€ AIκ°€ "μ›Œν¬μŠ€νŽ˜μ΄μŠ€μ— 쀑볡/좩돌이 μžˆλ‚˜?"λ₯Ό 회수. πŸŽ‰ MCP 58 도ꡬ λ§ˆμΌμŠ€ν†€ (50β†’58). 인자: { path? }', inputSchema: { type: 'object', properties: { path: { type: 'string' } } } },
13821
- { name: 'leerness_session_resume', description: '1.9.221 (1.9.220 μ‚¬μš©μž λͺ…μ‹œ) β€” 비정상 μ’…λ£Œ 감지 + 자율 재개. 5μ‹ ν˜Έ 뢄석: last-handoff-stale / wakeup-missed / in-progress-stale / auto-resume-plan-unused / release-branch-pending. 응닡: { abnormalShutdown, severity (none/low/medium/high), signals[], resumeGuide[] }. μ™ΈλΆ€ AIκ°€ "μ ˆμ „/μ‹œμŠ€ν…œμ’…λ£Œ/μ„Έμ…˜μ’…λ£Œ ν›„ leerness μƒνƒœκ°€ 정상인가? μ–΄λ–»κ²Œ 재개?"λ₯Ό 회수. πŸŽ‰ MCP 60 도ꡬ λ§ˆμΌμŠ€ν†€ (53β†’60, +7 in 1.9.168/216/221). 인자: { path? }', inputSchema: { type: 'object', properties: { path: { type: 'string' } } } }
13853
+ { name: 'leerness_session_resume', description: '1.9.221 (1.9.220 μ‚¬μš©μž λͺ…μ‹œ) β€” 비정상 μ’…λ£Œ 감지 + 자율 재개. 5μ‹ ν˜Έ 뢄석: last-handoff-stale / wakeup-missed / in-progress-stale / auto-resume-plan-unused / release-branch-pending. 응닡: { abnormalShutdown, severity (none/low/medium/high), signals[], resumeGuide[] }. μ™ΈλΆ€ AIκ°€ "μ ˆμ „/μ‹œμŠ€ν…œμ’…λ£Œ/μ„Έμ…˜μ’…λ£Œ ν›„ leerness μƒνƒœκ°€ 정상인가? μ–΄λ–»κ²Œ 재개?"λ₯Ό 회수. πŸŽ‰ MCP 60 도ꡬ λ§ˆμΌμŠ€ν†€ (53β†’60, +7 in 1.9.168/216/221). 인자: { path? }', inputSchema: { type: 'object', properties: { path: { type: 'string' } } } },
13854
+ { name: 'leerness_requests_auto_complete', description: '1.9.224 (1.9.223 μžλ™ 회수) β€” delivered νŒ¨ν„΄ μžλ™ 감지 + μžλ™ μ™„λ£Œ. "Round X.Y.Z β€” κ΅¬ν˜„ μ™„λ£Œ" / "implemented" / "delivered" νŒ¨ν„΄μ΄ μžˆλŠ” open μš”μ²­ 쀑 ν˜„μž¬ 버전 μ΄ν•˜μΈ 것을 ν›„λ³΄λ‘œ λΆ„λ₯˜. 응닡: { total, candidates: [{id, text, claimedVersion, currentVersion, deliveredKeyword, recordedAt}], currentVersion, applied (apply=true μ‹œ), completedIds[] }. μ™ΈλΆ€ AIκ°€ "운영 λˆ„μ λœ κ°€μ§œ λ―Έλ‹΅ μ‹ ν˜Έ 정리 κ°€λŠ₯ν•œκ°€?"λ₯Ό 회수. κΈ°λ³Έ dry-run, apply: true λͺ…μ‹œ μ‹œμ—λ§Œ μ‹€ 적용. 인자: { path?, apply? (default false) }', inputSchema: { type: 'object', properties: { path: { type: 'string' }, apply: { type: 'boolean' } } } }
13822
13855
  ];
13823
13856
 
13824
13857
  function send(obj) {
@@ -13974,6 +14007,11 @@ function mcpServeCmd(root) {
13974
14007
  // 1.9.221 (1.9.220): 비정상 μ’…λ£Œ 감지 + 자율 재개
13975
14008
  cliArgs = ['session-resume', '--path', targetPath, '--json'];
13976
14009
  break;
14010
+ case 'leerness_requests_auto_complete':
14011
+ // 1.9.224 (1.9.223): delivered νŒ¨ν„΄ μžλ™ 감지 + μžλ™ μ™„λ£Œ
14012
+ cliArgs = ['requests', 'auto-complete', '--path', targetPath, '--json'];
14013
+ if (args.apply === true) cliArgs.push('--apply');
14014
+ break;
13977
14015
  default:
13978
14016
  return send({ jsonrpc: '2.0', id, error: { code: -32601, message: `Unknown tool: ${name}` } });
13979
14017
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leerness",
3
- "version": "1.9.223",
3
+ "version": "1.9.224",
4
4
  "description": "Leerness: λΉ„νŒŒκ΄΄ λ§ˆμ΄κ·Έλ ˆμ΄μ…˜, μžλ™ 버전 κ°μ§€Β·μ—…λ°μ΄νŠΈ, κ³„νš/μ§„ν–‰/ν•Έλ“œμ˜€ν”„ μžλ™ν™”, κ²ŒμœΌλ¦„Β·μ‹œν¬λ¦ΏΒ·μΈμ½”λ”© μžλ™ κ°€λ“œ, Claude Code μŠ¬λž˜μ‹œ 톡합을 κ°–μΆ˜ ν•œκ΅­μ–΄ μš°μ„  AI 개발 ν•˜λ„€μŠ€.",
5
5
  "keywords": [
6
6
  "leerness",