litclaude-ai 0.3.9 → 0.3.10

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,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.10 - 2026-06-20 — build-decision gate and reuse self-review
4
+
5
+ - Add a pre-write minimum-first build-decision gate and a necessity/reuse self-review to the
6
+ programming skill.
7
+
3
8
  ## 0.3.9 - 2026-06-19 — hook activation and mode-discipline parity
4
9
 
5
10
  - Port the LitOpenCode v0.1.17 workflow contract into Claude Code-native surfaces without copying
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  </p>
10
10
  <p align="center">
11
11
  <img src="https://img.shields.io/badge/npm-litclaude--ai-cb3837" />
12
- <img src="https://img.shields.io/badge/version-0.3.9-2ea44f" />
12
+ <img src="https://img.shields.io/badge/version-0.3.10-2ea44f" />
13
13
  <img src="https://img.shields.io/badge/Claude%20Code-plugin-blueviolet" />
14
14
  <img src="https://img.shields.io/badge/license-MIT-blue" />
15
15
  </p>
@@ -22,10 +22,10 @@
22
22
  > `litclaude@litclaude-ai`, so normal `claude` launches can load the
23
23
  > LitClaude skills and hooks without a long `--plugin-dir` command.
24
24
 
25
- This checkout is prepared as `litclaude-ai@0.3.9` for personal install
25
+ This checkout is prepared as `litclaude-ai@0.3.10` for personal install
26
26
  convenience. The repo can remain quiet; preparing npm package metadata here does
27
27
  not imply public repo promotion, marketplace publication, or advertisement.
28
- Future package releases still require explicit user approval. The v0.3.9
28
+ Future package releases still require explicit user approval. The v0.3.10
29
29
  release materials preserve the v0.3.8 skill-depth work and add Claude-native
30
30
  hook activation, prompt/mode contract, safe mode-transition, primary-order, and
31
31
  installer permission-preference discipline.
@@ -95,7 +95,7 @@ directory, the normal install command works:
95
95
 
96
96
  ```bash
97
97
  cd /tmp
98
- npx --yes litclaude-ai@0.3.9 install
98
+ npx --yes litclaude-ai@0.3.10 install
99
99
  ```
100
100
 
101
101
  Validate the installed plugin:
@@ -108,7 +108,7 @@ The installer also sets Claude Code's `statusLine` command to the packaged
108
108
  LitClaude HUD. A typical no-color render starts like:
109
109
 
110
110
  ```text
111
- [🔥LITCLAUDE v0.3.9] | O4.8 │ ctx [▎░░] 9%/1000k │ 5h [▏░] 4% ↻2h15m │ 1w [▊░] 35% ↻3d6h │ git main +3 ✓
111
+ [🔥LITCLAUDE v0.3.10] | O4.8 │ ctx [▎░░] 9%/1000k │ 5h [▏░] 4% ↻2h15m │ 1w [▊░] 35% ↻3d6h │ git main +3 ✓
112
112
  ```
113
113
 
114
114
  The `↻` suffix is a compact rate-limit reset countdown. It is separated from
package/README_ko-KR.md CHANGED
@@ -9,7 +9,7 @@
9
9
  </p>
10
10
  <p align="center">
11
11
  <img src="https://img.shields.io/badge/npm-litclaude--ai-cb3837" />
12
- <img src="https://img.shields.io/badge/version-0.3.9-2ea44f" />
12
+ <img src="https://img.shields.io/badge/version-0.3.10-2ea44f" />
13
13
  <img src="https://img.shields.io/badge/Claude%20Code-plugin-blueviolet" />
14
14
  <img src="https://img.shields.io/badge/license-MIT-blue" />
15
15
  </p>
@@ -26,11 +26,11 @@
26
26
  > 설치되므로, 매번 긴 `--plugin-dir` 없이 일반 `claude` 실행에서
27
27
  > LitClaude skill과 hook을 불러올 수 있습니다.
28
28
 
29
- 현재 checkout은 `litclaude-ai@0.3.9` 배포 준비용으로 정리되어 있습니다. 목적은
29
+ 현재 checkout은 `litclaude-ai@0.3.10` 배포 준비용으로 정리되어 있습니다. 목적은
30
30
  다른 PC에서도 빠르게 설치하기 위한 개인용 package metadata를 갖추는 것입니다.
31
31
  npm package metadata를 준비했다고 해서 홍보, 공개 저장소 운영, Claude
32
32
  marketplace 등록을 의미하지는 않습니다. 새 버전 배포는 항상 별도의 명시적
33
- 승인 후에 진행합니다. v0.3.9 release material은 v0.3.8 skill-depth 작업을
33
+ 승인 후에 진행합니다. v0.3.10 release material은 v0.3.8 skill-depth 작업을
34
34
  보존하고, Claude-native hook activation, prompt/mode contract, safe
35
35
  mode-transition, primary-order, installer permission preference discipline을
36
36
  추가합니다.
@@ -100,7 +100,7 @@ checkout을 먼저 해석해서 `sh: litclaude-ai: command not found`로 실패
100
100
 
101
101
  ```bash
102
102
  cd /tmp
103
- npx --yes litclaude-ai@0.3.9 install
103
+ npx --yes litclaude-ai@0.3.10 install
104
104
  ```
105
105
 
106
106
  설치 상태를 확인합니다.
@@ -113,7 +113,7 @@ installer는 Claude Code의 `statusLine` command도 packaged LitClaude HUD로
113
113
  설정합니다. 색상을 제거한 예시는 다음처럼 시작합니다.
114
114
 
115
115
  ```text
116
- [🔥LITCLAUDE v0.3.9] | O4.8 │ ctx [▎░░] 9%/1000k │ 5h [▏░] 4% ↻2h15m │ 1w [▊░] 35% ↻3d6h │ git main +3 ✓
116
+ [🔥LITCLAUDE v0.3.10] | O4.8 │ ctx [▎░░] 9%/1000k │ 5h [▏░] 4% ↻2h15m │ 1w [▊░] 35% ↻3d6h │ git main +3 ✓
117
117
  ```
118
118
 
119
119
  `↻` 표시는 rate-limit reset까지 남은 시간을 짧게 보여주는 countdown입니다.
@@ -1,13 +1,13 @@
1
1
  # LitClaude Release Checklist
2
2
 
3
- Status: `litclaude-ai@0.3.9` is the current release candidate — a Claude-native
3
+ Status: `litclaude-ai@0.3.10` is the current release candidate — a Claude-native
4
4
  hook activation and mode-discipline parity pass based on LitOpenCode v0.1.17.
5
5
  It routes natural `lit` prompts by mode, blocks natural-language start-work with
6
6
  a safe handoff, reinforces planning/execution/review/research/goal contracts,
7
7
  documents primary role order, and records installer permission preferences
8
8
  without copying OpenCode-only permission objects.
9
- `package.json` is aligned to `0.3.9`, and
10
- `plugins/litclaude/.claude-plugin/plugin.json` is aligned to `0.3.9`.
9
+ `package.json` is aligned to `0.3.10`, and
10
+ `plugins/litclaude/.claude-plugin/plugin.json` is aligned to `0.3.10`.
11
11
 
12
12
  This release carries the v0.2.2 Dynamic workflow hardening surfaces:
13
13
  `/dynamic-workflow`, `workflow-check --json`, native `/goal` fallback guidance,
@@ -56,8 +56,8 @@ No npm publication is required for this track.
56
56
  Before requesting publication approval, confirm these artifacts from the current
57
57
  checkout:
58
58
 
59
- - `package.json` version is `0.3.9`.
60
- - `plugins/litclaude/.claude-plugin/plugin.json` version is `0.3.9`.
59
+ - `package.json` version is `0.3.10`.
60
+ - `plugins/litclaude/.claude-plugin/plugin.json` version is `0.3.10`.
61
61
  - `plugins/litclaude/commands/dynamic-workflow.md` documents subagent delegation.
62
62
  - `node bin/litclaude-ai.js workflow-check --json` reports `status: pass`.
63
63
  - `node bin/litclaude-ai.js workflow-check --json` reports
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "litclaude-ai",
3
- "version": "0.3.9",
3
+ "version": "0.3.10",
4
4
  "description": "Claude Code-native workflow distribution.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "litclaude",
3
3
  "description": "Claude Code-native workflow plugin.",
4
- "version": "0.3.9",
4
+ "version": "0.3.10",
5
5
  "author": {
6
6
  "name": "LitClaude contributors"
7
7
  },
@@ -16,7 +16,40 @@ writing a single line of code, then apply the shared philosophy on top.
16
16
 
17
17
  ---
18
18
 
19
- ## PHASE 0LANGUAGE GATE (RUN THIS FIRST, EVERY TIME)
19
+ ## PHASE -1BUILD-DECISION GATE (RUN BEFORE PHASE 0)
20
+
21
+ Before writing or editing a single line of implementation code, work down these
22
+ checks and stop at the first one that cleanly meets the need:
23
+
24
+ 1. Does this need to exist at all? If the outcome does not require it, do not build it.
25
+ 2. Does the standard library already do it well? If so, use it.
26
+ 3. Is there a native platform, runtime, or framework feature for it? If so, use it.
27
+ 4. Does an already-installed dependency cover it cleanly? If so, reuse it — do not add or hand-roll.
28
+ 5. Can the remaining gap be one clear line? If so, write the one line.
29
+ 6. Only after all of the above fail: write the minimum code that genuinely works — nothing speculative.
30
+
31
+ Scope and floor (these keep the gate from under-building):
32
+
33
+ - Judge "minimum that works" over the WHOLE task, not per call site. If the same
34
+ logic appears at more than one call site, the minimum that works IS one small
35
+ shared helper — extract it.
36
+ - "Works" includes error handling for any failure the code can realistically hit
37
+ (network, parse, missing file, bad state) and the tests that prove the behavior
38
+ you just wrote. Only handling for states that genuinely cannot occur is the
39
+ speculative part to cut.
40
+ - Reach for a stdlib / native / dependency option only when it fits the need
41
+ cleanly, not merely because it technically can.
42
+ - Never shorten away, for the sake of fewer lines: input validation at trust
43
+ boundaries, handling that prevents data loss or corruption, security controls
44
+ (auth, secret handling, injection/escaping), or accessibility. The point is to
45
+ remove redundancy and speculation, never to lower the correctness floor.
46
+
47
+ PHASE -1 decides WHETHER and FROM WHAT to build; PHASE 0 and the per-language iron
48
+ list decide HOW.
49
+
50
+ ---
51
+
52
+ ## PHASE 0 — LANGUAGE GATE (RUN AFTER PHASE -1, EVERY TIME)
20
53
 
21
54
  **Do not write or edit a single line of code before completing this gate.**
22
55
 
@@ -341,6 +374,10 @@ Answer these in your reply before declaring done:
341
374
  6. **Helpers for one-off?** Any abstraction with a single caller that will never
342
375
  get a second?
343
376
  7. **Tests?** Is the new behavior locked by a test that fails if you revert it?
377
+ 8. **Necessity & reuse?** Did everything you wrote need to exist, and did you
378
+ confirm the standard library, a native feature, or an already-installed
379
+ dependency did not already cover it before you hand-rolled? Remove anything
380
+ that fails this.
344
381
 
345
382
  If any answer fails, fix it before declaring done.
346
383