leerness 1.10.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12810 -12636
- package/README.md +169 -169
- package/bin/leerness.js +19523 -19323
- package/lib/catalogs.js +485 -433
- package/lib/io.js +8 -4
- package/lib/pure-utils.js +1407 -1335
- package/lib/session-close.js +2 -0
- package/package.json +58 -58
- package/scripts/e2e.js +6204 -6204
package/lib/session-close.js
CHANGED
|
@@ -13,6 +13,8 @@ const { _sanitizeFences, _parseArchiveBlocks } = require('./pure-utils');
|
|
|
13
13
|
function sessionClose(root, opts = {}, deps = {}) {
|
|
14
14
|
const { VERSION, STATUSES, MARK, has, arg, harnessPath, readProgressRows, evidencePath, handoffPath, currentStatePath, taskLogPath, verifyRules, _autoRoadmap, _readUsageStats, readSessionCounter, writeSessionCounter, _retroAggregate, _retroOneLine, retroCmd, _loadDecisions, readRules, planPath, _loadLessons, _readFeatureGraph, _auditUserRequests, _detectDeliveredRequests, _computeRoundHistory, _computeMilestones, _computeRecentChanges, _collectPyFiles, _analyzePyFile, _collectRuntimeEnv, _scanShellScriptsEncoding, _listAPISkills, _matchAPISkills, _loadShellFailures, _shellEnvDrift, _runPreWakeAudit, _saveAndAppendPreWakeReport, _runIdempotencyAudit, _detectAbnormalShutdown, _updateUserRequest } = deps;
|
|
15
15
|
root = absRoot(root);
|
|
16
|
+
// 1.10.4 (13th 버그헌트 P2, UR-0167): 경로 없음/디렉토리 아님 → 구조화 에러 + exit 1. mkdir <path>/.harness ENOTDIR 크래시 & 실패를 성공(exit 0)으로 오판하던 문제 차단.
|
|
17
|
+
if (!exists(root) || !fs.statSync(root).isDirectory()) { failJson(!!opts.json || has('--json'), 'path_not_found', `경로 없음 또는 디렉토리 아님: ${root}`); return; }
|
|
16
18
|
// 1.9.103: --json 모드 — stdout 억제 후 구조화 출력
|
|
17
19
|
const jsonMode = !!opts.json || has('--json');
|
|
18
20
|
const _origWrite = process.stdout.write.bind(process.stdout);
|
package/package.json
CHANGED
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "leerness",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Leerness: 비파괴 마이그레이션, 자동 버전 감지·업데이트, 계획/진행/핸드오프 자동화, 게으름·시크릿·인코딩 자동 가드, Claude Code 슬래시 통합을 갖춘 한국어 우선 AI 개발 하네스.",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"leerness",
|
|
7
|
-
"ai",
|
|
8
|
-
"agent",
|
|
9
|
-
"harness",
|
|
10
|
-
"context-engineering",
|
|
11
|
-
"claude",
|
|
12
|
-
"claude-code",
|
|
13
|
-
"cursor",
|
|
14
|
-
"copilot",
|
|
15
|
-
"skill-library",
|
|
16
|
-
"project-memory",
|
|
17
|
-
"task-tracking",
|
|
18
|
-
"planning",
|
|
19
|
-
"handoff",
|
|
20
|
-
"anti-laziness",
|
|
21
|
-
"encoding",
|
|
22
|
-
"secret-scan",
|
|
23
|
-
"auto-update",
|
|
24
|
-
"design-system",
|
|
25
|
-
"developer-tools",
|
|
26
|
-
"korean"
|
|
27
|
-
],
|
|
28
|
-
"license": "MIT",
|
|
29
|
-
"author": "leerness contributors",
|
|
30
|
-
"type": "commonjs",
|
|
31
|
-
"main": "bin/leerness.js",
|
|
32
|
-
"preferGlobal": true,
|
|
33
|
-
"engines": {
|
|
34
|
-
"node": ">=18"
|
|
35
|
-
},
|
|
36
|
-
"bin": {
|
|
37
|
-
"leerness": "bin/leerness.js"
|
|
38
|
-
},
|
|
39
|
-
"files": [
|
|
40
|
-
"bin",
|
|
41
|
-
"lib",
|
|
42
|
-
"scripts",
|
|
43
|
-
"docs",
|
|
44
|
-
"README.md",
|
|
45
|
-
"CHANGELOG.md",
|
|
46
|
-
"SECURITY.md",
|
|
47
|
-
"LICENSE"
|
|
48
|
-
],
|
|
49
|
-
"scripts": {
|
|
50
|
-
"test": "node ./bin/leerness.js --version && node ./bin/leerness.js selftest && node ./scripts/e2e.js",
|
|
51
|
-
"test:fast": "node ./bin/leerness.js selftest && node ./scripts/smoke.js",
|
|
52
|
-
"test:smoke": "node ./scripts/e2e.js",
|
|
53
|
-
"prepack": "node ./bin/leerness.js readme sync . && node ./bin/leerness.js --version"
|
|
54
|
-
},
|
|
55
|
-
"publishConfig": {
|
|
56
|
-
"access": "public"
|
|
57
|
-
}
|
|
58
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "leerness",
|
|
3
|
+
"version": "1.12.0",
|
|
4
|
+
"description": "Leerness: 비파괴 마이그레이션, 자동 버전 감지·업데이트, 계획/진행/핸드오프 자동화, 게으름·시크릿·인코딩 자동 가드, Claude Code 슬래시 통합을 갖춘 한국어 우선 AI 개발 하네스.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"leerness",
|
|
7
|
+
"ai",
|
|
8
|
+
"agent",
|
|
9
|
+
"harness",
|
|
10
|
+
"context-engineering",
|
|
11
|
+
"claude",
|
|
12
|
+
"claude-code",
|
|
13
|
+
"cursor",
|
|
14
|
+
"copilot",
|
|
15
|
+
"skill-library",
|
|
16
|
+
"project-memory",
|
|
17
|
+
"task-tracking",
|
|
18
|
+
"planning",
|
|
19
|
+
"handoff",
|
|
20
|
+
"anti-laziness",
|
|
21
|
+
"encoding",
|
|
22
|
+
"secret-scan",
|
|
23
|
+
"auto-update",
|
|
24
|
+
"design-system",
|
|
25
|
+
"developer-tools",
|
|
26
|
+
"korean"
|
|
27
|
+
],
|
|
28
|
+
"license": "MIT",
|
|
29
|
+
"author": "leerness contributors",
|
|
30
|
+
"type": "commonjs",
|
|
31
|
+
"main": "bin/leerness.js",
|
|
32
|
+
"preferGlobal": true,
|
|
33
|
+
"engines": {
|
|
34
|
+
"node": ">=18"
|
|
35
|
+
},
|
|
36
|
+
"bin": {
|
|
37
|
+
"leerness": "bin/leerness.js"
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"bin",
|
|
41
|
+
"lib",
|
|
42
|
+
"scripts",
|
|
43
|
+
"docs",
|
|
44
|
+
"README.md",
|
|
45
|
+
"CHANGELOG.md",
|
|
46
|
+
"SECURITY.md",
|
|
47
|
+
"LICENSE"
|
|
48
|
+
],
|
|
49
|
+
"scripts": {
|
|
50
|
+
"test": "node ./bin/leerness.js --version && node ./bin/leerness.js selftest && node ./scripts/e2e.js",
|
|
51
|
+
"test:fast": "node ./bin/leerness.js selftest && node ./scripts/smoke.js",
|
|
52
|
+
"test:smoke": "node ./scripts/e2e.js",
|
|
53
|
+
"prepack": "node ./bin/leerness.js readme sync . && node ./bin/leerness.js --version"
|
|
54
|
+
},
|
|
55
|
+
"publishConfig": {
|
|
56
|
+
"access": "public"
|
|
57
|
+
}
|
|
58
|
+
}
|