leerness 1.9.133 → 1.9.135
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 +48 -0
- package/README.md +2 -2
- package/bin/harness.js +32 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,53 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.9.135 — 2026-05-20
|
|
4
|
+
|
|
5
|
+
**MCP 42번째 도구 `leerness_rule_remove`** — Rule surface CRUD MCP 완전 완성.
|
|
6
|
+
|
|
7
|
+
### Added — MCP leerness_rule_remove
|
|
8
|
+
- 인자: `{ id (required), path? }`
|
|
9
|
+
- rules.md 에서 특정 rule 제거 + `.harness/rules.archive.md` 자동 보존
|
|
10
|
+
- 외부 AI 가 직접 rule 제거
|
|
11
|
+
|
|
12
|
+
### Rule surface CRUD MCP 완전 완성
|
|
13
|
+
| Op | MCP |
|
|
14
|
+
|---|---|
|
|
15
|
+
| CREATE | leerness_rule_add (1.9.109) |
|
|
16
|
+
| READ | leerness_rule_list (1.9.109) |
|
|
17
|
+
| **DELETE** | **leerness_rule_remove (1.9.135) ✓** |
|
|
18
|
+
|
|
19
|
+
### MCP CRUD 완성 surface 확장
|
|
20
|
+
- task: add/list/update/drop (1.9.105/134/106/107) ✓
|
|
21
|
+
- decision: add/list/drop (1.9.108/118/125) ✓
|
|
22
|
+
- lesson: save/list/drop (1.9.112/117/124) ✓
|
|
23
|
+
- plan: add/list/remove (1.9.110/119/126) ✓
|
|
24
|
+
- **rule: add/list/remove (1.9.109/109/135) ✓**
|
|
25
|
+
|
|
26
|
+
### MCP 도구 누계: 42 (1.9.134: 41 → 1.9.135: 42)
|
|
27
|
+
|
|
28
|
+
## 1.9.134 — 2026-05-20
|
|
29
|
+
|
|
30
|
+
**`leerness task list --json` + MCP 41번째 도구 `leerness_task_list`** — progress-tracker.md 전체 task JSON 조회.
|
|
31
|
+
|
|
32
|
+
### Added — `task list --json`
|
|
33
|
+
- `--json` 옵션: `{ version, root, total, tasks: [{ id, status, request, evidence, nextAction, updated }] }`
|
|
34
|
+
- `--status` 필터: planned/requested/in-progress/done/dropped/incomplete/blocked
|
|
35
|
+
- 필터 적용 시 `statusFilter` 필드 포함
|
|
36
|
+
|
|
37
|
+
### Added — MCP 41번째 도구 `leerness_task_list`
|
|
38
|
+
- 외부 AI 가 task 전체 상태 회수 (memory_status 보다 task 전용 + 필터 지원)
|
|
39
|
+
- 인자: `{ path?, status? }`
|
|
40
|
+
|
|
41
|
+
### Task surface JSON 명령 매트릭스
|
|
42
|
+
| Op | CLI | MCP |
|
|
43
|
+
|---|---|---|
|
|
44
|
+
| CREATE | task add | leerness_task_add (1.9.105) |
|
|
45
|
+
| READ | **task list --json** | **leerness_task_list (1.9.134)** ✓ |
|
|
46
|
+
| UPDATE | task update | leerness_task_update (1.9.106) |
|
|
47
|
+
| DELETE | task drop | leerness_task_drop (1.9.107) |
|
|
48
|
+
|
|
49
|
+
### MCP 도구 누계: 41 (1.9.128: 40 → 1.9.134: 41)
|
|
50
|
+
|
|
3
51
|
## 1.9.133 — 2026-05-20
|
|
4
52
|
|
|
5
53
|
**brainstorm 텍스트 모드에 lessonsExplicit / planMilestones display 추가** — 1.9.116에서 데이터 수집은 했지만 display는 누락된 pre-existing gap fix.
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> **AI 코딩 에이전트의 거짓 완료·중복·망각·충돌을 막아주는 검수·기억·협업 CLI 하네스.**
|
|
4
4
|
|
|
5
|
-
[](https://www.npmjs.com/package/leerness) [](https://www.npmjs.com/package/leerness) []() []() []() []() []() []() []()
|
|
6
6
|
|
|
7
7
|
```
|
|
8
8
|
╔══════════════════════════════════════════════════════════════╗
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
║ ██║ ██╔══╝ ██╔══╝ ██╔══██╗██║╚██╗██║██╔══╝ ╚════██║ ║
|
|
13
13
|
║ ███████╗███████╗███████╗██║ ██║██║ ╚████║███████╗███████║ ║
|
|
14
14
|
║ ╚══════╝╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝╚══════╝╚══════╝ ║
|
|
15
|
-
║ v1.9.
|
|
15
|
+
║ v1.9.135 AI Agent Reliability Harness ║
|
|
16
16
|
║ verify · remember · orchestrate · audit · prevent drift ║
|
|
17
17
|
╚══════════════════════════════════════════════════════════════╝
|
|
18
18
|
```
|
package/bin/harness.js
CHANGED
|
@@ -6,7 +6,7 @@ const path = require('path');
|
|
|
6
6
|
const cp = require('child_process');
|
|
7
7
|
const readline = require('readline');
|
|
8
8
|
|
|
9
|
-
const VERSION = '1.9.
|
|
9
|
+
const VERSION = '1.9.135';
|
|
10
10
|
const MARK = '<!-- leerness:managed -->';
|
|
11
11
|
const README_START = '<!-- leerness:project-readme:start -->';
|
|
12
12
|
const README_END = '<!-- leerness:project-readme:end -->';
|
|
@@ -334,6 +334,8 @@ leerness audit . --fix # 누락 메타 자동 보강
|
|
|
334
334
|
- 1.9.131+ \`brainstorm\` 회수 범위에 3 archive 파일 (decisions/lessons/plan archive) 통합 — 과거 제거된 ideas 가 새 brainstorm 시 다시 후보로 노출. \`hits.archive\` 필드 + 복원 안내 라인.
|
|
335
335
|
- 1.9.132+ \`session close\` 텍스트 모드에 archive 누적 라인 추가 — 마감 시점 DELETE 활동 가시화 (handoff 7번째 회수와 symmetric). archive 가시성 6 surface 완성.
|
|
336
336
|
- 1.9.133+ \`brainstorm\` 텍스트 모드 lessonsExplicit / planMilestones display 추가 — 1.9.116에서 데이터 수집은 했지만 display 누락된 pre-existing gap fix.
|
|
337
|
+
- 1.9.134+ \`leerness task list --json\` + MCP **41 도구** (\`leerness_task_list\`) — progress-tracker.md task 전체 JSON 조회 + \`--status\` 필터. Task surface CRUD MCP 완전 완성 (add/list/update/drop).
|
|
338
|
+
- 1.9.135+ MCP **42 도구** (\`leerness_rule_remove\`) — rules.md 에서 특정 rule 제거 + archive 보존. **5 surface CRUD MCP 완전 완성** (task/decision/lesson/plan/rule 모두 add/list/delete MCP 노출).
|
|
337
339
|
|
|
338
340
|
---
|
|
339
341
|
|
|
@@ -1365,11 +1367,32 @@ function planRemoveCmd(root, target) {
|
|
|
1365
1367
|
function planSync(root) { append(taskLogPath(root), `\n## ${today()}\n- Synced plan.md and progress-tracker.md.\n`); ok('plan/progress sync noted'); }
|
|
1366
1368
|
|
|
1367
1369
|
function taskList(root) {
|
|
1370
|
+
// 1.9.134: --json 옵션 추가 + --status 필터
|
|
1368
1371
|
const rows = readProgressRows(root);
|
|
1369
|
-
|
|
1372
|
+
const statusFilter = arg('--status', '');
|
|
1373
|
+
const filtered = statusFilter ? rows.filter(r => r.status === statusFilter) : rows;
|
|
1374
|
+
if (has('--json')) {
|
|
1375
|
+
const payload = {
|
|
1376
|
+
version: VERSION,
|
|
1377
|
+
root: absRoot(root),
|
|
1378
|
+
total: filtered.length,
|
|
1379
|
+
tasks: filtered.map(r => ({
|
|
1380
|
+
id: r.id,
|
|
1381
|
+
status: r.status,
|
|
1382
|
+
request: r.request,
|
|
1383
|
+
evidence: r.evidence,
|
|
1384
|
+
nextAction: r.nextAction,
|
|
1385
|
+
updated: r.updated
|
|
1386
|
+
}))
|
|
1387
|
+
};
|
|
1388
|
+
if (statusFilter) payload.statusFilter = statusFilter;
|
|
1389
|
+
process.stdout.write(JSON.stringify(payload, null, 2) + '\n');
|
|
1390
|
+
return;
|
|
1391
|
+
}
|
|
1392
|
+
if (!filtered.length) return log('(no tasks)');
|
|
1370
1393
|
log('| ID | Status | Request | Evidence | Next Action | Updated |');
|
|
1371
1394
|
log('|---|---|---|---|---|---|');
|
|
1372
|
-
for (const r of
|
|
1395
|
+
for (const r of filtered) log(`| ${r.id} | ${r.status} | ${r.request} | ${r.evidence} | ${r.nextAction} | ${r.updated} |`);
|
|
1373
1396
|
}
|
|
1374
1397
|
function taskAdd(root, text) {
|
|
1375
1398
|
const id = nextId(root, 'T');
|
|
@@ -4271,7 +4294,7 @@ function _banner(opts = {}) {
|
|
|
4271
4294
|
lines.push('');
|
|
4272
4295
|
for (const ln of lines) log(ln);
|
|
4273
4296
|
if (opts.quickStart) {
|
|
4274
|
-
log(C.bold(C.cyan(' ✨ 빠른 시작 (1.9.
|
|
4297
|
+
log(C.bold(C.cyan(' ✨ 빠른 시작 (1.9.135+ MCP 42 rule_remove (5 surface CRUD 완성) — 65 라운드 자율 누적)')));
|
|
4275
4298
|
log(' ' + C.green('npx leerness@latest init .') + C.dim(' # 신규 프로젝트 + 외부 AI CLI 설정'));
|
|
4276
4299
|
log(' ' + C.green('npx leerness handoff .') + C.dim(' # 컨텍스트 + lessons + 매칭 skill + history hit + brainstorm hits + 헤드라인'));
|
|
4277
4300
|
log(' ' + C.green('npx leerness handoff . --quiet') + C.dim(' # 자동화/CI 모드 (1.9.99) — 자동 회수 라인 비활성'));
|
|
@@ -8588,7 +8611,9 @@ function mcpServeCmd(root) {
|
|
|
8588
8611
|
{ name: 'leerness_decision_drop', description: '1.9.125 — decisions.md 에서 특정 결정 제거 (target: date YYYY-MM-DD 또는 title substring). 제거된 블록은 .harness/decisions.archive.md 에 자동 보존', inputSchema: { type: 'object', properties: { target: { type: 'string' }, path: { type: 'string' } }, required: ['target'] } },
|
|
8589
8612
|
{ name: 'leerness_plan_remove', description: '1.9.126 — plan.md 에서 특정 milestone 블록 (### M-XXXX) 제거 (target: M-XXXX 또는 title substring). 제거된 블록은 .harness/plan.archive.md 에 자동 보존. Memory Surface DELETE 5종 완전 완성', inputSchema: { type: 'object', properties: { target: { type: 'string' }, path: { type: 'string' } }, required: ['target'] } },
|
|
8590
8613
|
{ name: 'leerness_memory_archive_list', description: '1.9.127 — DELETE 5종 archive 파일 통합 조회 JSON ({ decisions: [], lessons: [], plan: [], totals: { decisions, lessons, plan, all } }). 외부 AI가 과거에 제거된 항목을 회수/복원 후보로 참조. --surface 필터: decisions|lessons|plan', inputSchema: { type: 'object', properties: { surface: { type: 'string' }, path: { type: 'string' } } } },
|
|
8591
|
-
{ name: 'leerness_memory_restore', description: '1.9.128 — archive 의 항목을 active 파일로 복귀 (DELETE→RESTORE cycle). surface: decisions|lessons|plan. target: date YYYY-MM-DD 또는 target substring 매칭. 복원된 블록은 archive 에서 제거됨. 🎉 MCP 40 도구 마일스톤', inputSchema: { type: 'object', properties: { surface: { type: 'string', enum: ['decisions', 'lessons', 'plan'] }, target: { type: 'string' }, path: { type: 'string' } }, required: ['surface', 'target'] } }
|
|
8614
|
+
{ name: 'leerness_memory_restore', description: '1.9.128 — archive 의 항목을 active 파일로 복귀 (DELETE→RESTORE cycle). surface: decisions|lessons|plan. target: date YYYY-MM-DD 또는 target substring 매칭. 복원된 블록은 archive 에서 제거됨. 🎉 MCP 40 도구 마일스톤', inputSchema: { type: 'object', properties: { surface: { type: 'string', enum: ['decisions', 'lessons', 'plan'] }, target: { type: 'string' }, path: { type: 'string' } }, required: ['surface', 'target'] } },
|
|
8615
|
+
{ name: 'leerness_task_list', description: '1.9.134 — progress-tracker.md 전체 task 조회 JSON ({ total, tasks: [{ id, status, request, evidence, nextAction, updated }] }). --status 필터 지원 (planned|in-progress|done 등). 외부 AI가 task 상태 회수', inputSchema: { type: 'object', properties: { path: { type: 'string' }, status: { type: 'string' } } } },
|
|
8616
|
+
{ name: 'leerness_rule_remove', description: '1.9.135 — rules.md 에서 특정 rule 제거 (id: R-XXXX). 제거된 rule 은 .harness/rules.archive.md 에 자동 보존 (복구 가능). Rule surface CRUD MCP 완성 (add/list/remove)', inputSchema: { type: 'object', properties: { id: { type: 'string' }, path: { type: 'string' } }, required: ['id'] } }
|
|
8592
8617
|
];
|
|
8593
8618
|
|
|
8594
8619
|
function send(obj) {
|
|
@@ -8660,6 +8685,8 @@ function mcpServeCmd(root) {
|
|
|
8660
8685
|
case 'leerness_plan_remove': cliArgs = ['plan', 'remove', String(args.target || ''), '--path', targetPath]; break;
|
|
8661
8686
|
case 'leerness_memory_archive_list': cliArgs = ['memory', 'archive', 'list', '--path', targetPath, '--json', ...(args.surface ? ['--surface', args.surface] : [])]; break;
|
|
8662
8687
|
case 'leerness_memory_restore': cliArgs = ['memory', 'restore', String(args.surface || ''), String(args.target || ''), '--path', targetPath]; break;
|
|
8688
|
+
case 'leerness_task_list': cliArgs = ['task', 'list', '--path', targetPath, '--json', ...(args.status ? ['--status', args.status] : [])]; break;
|
|
8689
|
+
case 'leerness_rule_remove': cliArgs = ['rule', 'remove', String(args.id || ''), '--path', targetPath]; break;
|
|
8663
8690
|
default:
|
|
8664
8691
|
return send({ jsonrpc: '2.0', id, error: { code: -32601, message: `Unknown tool: ${name}` } });
|
|
8665
8692
|
}
|