@litfamily/litclaude 1.0.51 → 1.0.53

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 (30) hide show
  1. package/CHANGELOG.md +57 -0
  2. package/README.md +8 -8
  3. package/README_ko-KR.md +8 -8
  4. package/docs/assets/readme/badge-version.svg +1 -1
  5. package/docs/hooks.md +131 -11
  6. package/docs/privacy.md +1 -1
  7. package/package.json +1 -1
  8. package/plugins/litclaude/.claude-plugin/plugin.json +13 -1
  9. package/plugins/litclaude/bin/litclaude-hook.js +139 -5
  10. package/plugins/litclaude/bin/litclaude-mcp.js +1 -1
  11. package/plugins/litclaude/commands/start-work.md +25 -7
  12. package/plugins/litclaude/hooks/hooks.json +34 -0
  13. package/plugins/litclaude/hooks/lit-mod.mjs +81 -6
  14. package/plugins/litclaude/hooks/make-colors.d.ts +35 -0
  15. package/plugins/litclaude/hooks/make-colors.js +1016 -0
  16. package/plugins/litclaude/lib/auto-handoff.mjs +115 -2
  17. package/plugins/litclaude/lib/check-back.mjs +155 -0
  18. package/plugins/litclaude/lib/mod/backdrop.mjs +675 -0
  19. package/plugins/litclaude/lib/mod/settings.mjs +5 -2
  20. package/plugins/litclaude/lib/mod/skills.mjs +10 -0
  21. package/plugins/litclaude/lib/mod/svg-card.mjs +34 -13
  22. package/plugins/litclaude/lib/park-ping.mjs +57 -0
  23. package/plugins/litclaude/lib/precompact-snapshot.mjs +89 -0
  24. package/plugins/litclaude/lib/rewind/suggest.mjs +9 -2
  25. package/plugins/litclaude/lib/shown-ledger.mjs +100 -0
  26. package/plugins/litclaude/lib/start-work-cli.mjs +9 -0
  27. package/plugins/litclaude/lib/start-work-lifecycle.mjs +360 -98
  28. package/plugins/litclaude/skills/lit-loop/SKILL.md +15 -0
  29. package/plugins/litclaude/skills/litgoal/SKILL.md +17 -0
  30. package/scripts/validate-plugin.mjs +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,62 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.53 - 2026-11-17
4
+
5
+ - The Claude desktop and mobile apps now wear the Ignition look: LitFamily colours in light and dark mode, and
6
+ a moving backdrop behind the chat that follows the LIT state. It rests on standby while idle, burns a fuse
7
+ while Claude works, sends a signal while it waits on you, and bursts when the work completes. Glyph
8
+ particles drift through it, a frame mounts the glass column the conversation sits in, and the panel powers
9
+ on when a run starts and powers down when it goes back to idle. A new option, `look`, sets it: `on` (the
10
+ default), `still` (the same look without motion) or `off` (the app's own look). Change it in `/config` under
11
+ LitClaude, or from a terminal with `litclaude-ai config look still`. The look needs Claude Code 2.1.325 or
12
+ later in the desktop app; an older app simply shows no look. The terminal draws no look, and the band there
13
+ is unchanged.
14
+ - The LIT card in the desktop app no longer blinks when it changes. It is now drawn as an image, and each new
15
+ drawing keeps the loop where the one before it had reached, so a change of tool does not jump the comet or
16
+ the breathing back to the start.
17
+ - The LIT card and the look now light when a LitFamily extension skill runs from its wjgoarxiv-skills plugin,
18
+ such as `design:visual-qa`. Before, only the LitClaude name of the skill lit them.
19
+
20
+ ## 1.0.52 - 2026-11-16
21
+
22
+ - LitClaude now saves a handoff before every compaction, by default. A new `PreCompact` hook writes
23
+ `.litclaude/auto-handoff/precompact-<session>.md` (the plan's done, current and next rows, and the working
24
+ tree) without a model turn, so it also covers compaction Claude Code starts on its own, prints one short line
25
+ that names the current plan row for the compaction summary, and never blocks compaction. The next
26
+ `SessionStart` with `source: compact` brings the file back once. `LITCLAUDE_PRECOMPACT_HANDOFF=0` turns it
27
+ off; `litclaude doctor` shows the state. The opt-in percent feature (`lit-handoff auto on <percent>`) is
28
+ unchanged.
29
+ - LitClaude keeps a small record of what it already told you, in `.litclaude/shown/ledger.jsonl`. The lit-adhd
30
+ nudge no longer comes back on the next day with the same words (it returns when the count changes, or after a
31
+ week), and each run's end is recorded as `sent` (start-work or litgoal completed), `nothing` (cancelled) or
32
+ `waiting` (every open task blocked, or a litgoal that stopped for you). A missing or damaged record changes
33
+ nothing: the notice is shown as before.
34
+ - A new plugin option, `park_ping` (off by default), sends one terminal notification when start-work parks a
35
+ step: it names what waits and says to type `lit approve` or `lit cancel`. `on` uses OSC 9 and `osc777` the
36
+ OSC 777 form. Each parked step is pinged once, never on a retry, and the ping approves nothing.
37
+ - lit-loop and litgoal can offer one check-back timer (opt-in) when a run ends waiting on something that changes
38
+ by itself. Only the user's yes creates it: one `CronCreate` timer whose prompt is exactly `lit check-back`. The
39
+ prompt hook builds the report itself, runs no turn when nothing changed, and denies writes, Bash, agents,
40
+ schedule changes, hand-offs to other agents and network tools in the report turn. The timer belongs to the
41
+ Claude Code session and ends with it.
42
+ - start-work is easier to live beside. A second session watching a run may now nudge its worker with
43
+ `herdr agent prompt <name> "<text>"` (the text stays inert data, and text that opens with a slash command or
44
+ a `lit` control word such as `lit approve`, or that is a whole `go` prompt, is refused, because those words are the user's approvals), split a pane or open a tab inside the
45
+ project, list folders with `ls` or `find` (without `-exec`, `-ok`, `-delete` or `-fprint`), and write notes to its
46
+ own scratchpad and to the project memory that every session of the project shares; it still cannot close panes, send keys or change project files. The owner session
47
+ may run `date`, `tmux ls` and up to four read filters after a command (`grep` or `rg` with a quoted pattern,
48
+ `cut`, `uniq`, `head`, `tail`, `wc`, `sort`), split at the pipes the shell would see, so a `|` inside quotes stays
49
+ data. A read outside the grants says how a plan names the folder on a `Scope roots:` line.
50
+ - start-work keeps its activity time true. Allowed tool calls from the owner and its lanes refresh it (one small
51
+ state write a minute at most), so a busy run never shows hours of idleness and cannot be taken over as idle.
52
+ - A helper lane that stops inside a nested checkout now finalizes on the run it started in. A lane with no stop
53
+ for 30 minutes is named in the Stop continuation with its close command,
54
+ `litclaude-ai start-work lane-finalize --work-id <id> --lane <agent-id> --session-id <owner>`, which only the
55
+ owner session can run, and only on a lane that has been active for 30 minutes.
56
+ - A typed `/litclaude:start-work <plan>` that does not start now says why (not the whole prompt, over 512
57
+ characters, or no prompt or session id). A prompt that opens with a host notification
58
+ (`<task-notification>` or `[SYSTEM NOTIFICATION - NOT USER INPUT]`) switches on no skill.
59
+
3
60
  ## 1.0.51 - 2026-11-14
4
61
 
5
62
  - Installing a LitFamily extension is now safe when a skill of your own already has its name. Claude Code reads
package/README.md CHANGED
@@ -1,14 +1,14 @@
1
- <p align="center"><picture><source media="(prefers-reduced-motion: reduce)" srcset="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.51/docs/assets/cover-motion-still.webp" /><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.51/docs/assets/cover-motion.webp" width="100%" alt="LitFamily motion cover: seven armored robots power on one by one, the LitClaude robot wakes with glowing eyes and a lit frame, then LITFAMILY and KEEP THE WORK LIT. light up." /></picture></p>
1
+ <p align="center"><picture><source media="(prefers-reduced-motion: reduce)" srcset="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.53/docs/assets/cover-motion-still.webp" /><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.53/docs/assets/cover-motion.webp" width="100%" alt="LitFamily motion cover: seven armored robots power on one by one, the LitClaude robot wakes with glowing eyes and a lit frame, then LITFAMILY and KEEP THE WORK LIT. light up." /></picture></p>
2
2
 
3
3
  <h1 align="center">LitClaude</h1>
4
4
  <p align="center"><strong>Keep the work lit.</strong></p>
5
5
  <p align="center">A Claude Code plugin that helps every session plan the work, build it, check it, and leave a note the next session can pick up.</p>
6
6
  <p align="center">
7
- <img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.51/docs/assets/readme/badge-version.svg" alt="1.0.51" />
8
- <a href="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.51/LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.51/docs/assets/readme/badge-license.svg" alt="MIT license" /></a>
7
+ <img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.53/docs/assets/readme/badge-version.svg" alt="1.0.53" />
8
+ <a href="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.53/LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.53/docs/assets/readme/badge-license.svg" alt="MIT license" /></a>
9
9
  </p>
10
10
  <p align="center">
11
- <a href="https://github.com/wjgoarxiv/litclaude#readme">Full guide and skills gallery on GitHub</a> · <a href="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.51/README_ko-KR.md">한국어</a>
11
+ <a href="https://github.com/wjgoarxiv/litclaude#readme">Full guide and skills gallery on GitHub</a> · <a href="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.53/README_ko-KR.md">한국어</a>
12
12
  </p>
13
13
 
14
14
  Add `lit` to a Claude Code prompt and Claude pins the goal, writes a failing test first,
@@ -77,7 +77,7 @@ the `/plugin` menu.
77
77
  ## More
78
78
 
79
79
  - [Full guide and skills gallery on GitHub](https://github.com/wjgoarxiv/litclaude#readme)
80
- - [Privacy and network behavior](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.51/docs/privacy.md)
81
- - [Migration and ownership conflicts](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.51/docs/migration.md)
82
- - [Release history](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.51/CHANGELOG.md)
83
- - [MIT license](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.51/LICENSE)
80
+ - [Privacy and network behavior](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.53/docs/privacy.md)
81
+ - [Migration and ownership conflicts](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.53/docs/migration.md)
82
+ - [Release history](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.53/CHANGELOG.md)
83
+ - [MIT license](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.53/LICENSE)
package/README_ko-KR.md CHANGED
@@ -1,14 +1,14 @@
1
- <p align="center"><picture><source media="(prefers-reduced-motion: reduce)" srcset="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.51/docs/assets/cover-motion-still.webp" /><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.51/docs/assets/cover-motion.webp" width="100%" alt="LitFamily 모션 커버: 일곱 로봇 패널이 차례로 켜지고, LitClaude 로봇의 눈과 테두리가 빛난 뒤 LITFAMILY와 KEEP THE WORK LIT. 문구가 밝아지는 영상" /></picture></p>
1
+ <p align="center"><picture><source media="(prefers-reduced-motion: reduce)" srcset="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.53/docs/assets/cover-motion-still.webp" /><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.53/docs/assets/cover-motion.webp" width="100%" alt="LitFamily 모션 커버: 일곱 로봇 패널이 차례로 켜지고, LitClaude 로봇의 눈과 테두리가 빛난 뒤 LITFAMILY와 KEEP THE WORK LIT. 문구가 밝아지는 영상" /></picture></p>
2
2
 
3
3
  <h1 align="center">LitClaude</h1>
4
4
  <p align="center"><strong>Keep the work lit.</strong></p>
5
5
  <p align="center">Claude Code에서 세션마다 계획하고, 만들고, 확인한 뒤 다음 세션이 이어받을 기록을 남기게 돕는 플러그인입니다.</p>
6
6
  <p align="center">
7
- <img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.51/docs/assets/readme/badge-version.svg" alt="1.0.51" />
8
- <a href="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.51/LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.51/docs/assets/readme/badge-license.svg" alt="MIT license" /></a>
7
+ <img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.53/docs/assets/readme/badge-version.svg" alt="1.0.53" />
8
+ <a href="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.53/LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.53/docs/assets/readme/badge-license.svg" alt="MIT license" /></a>
9
9
  </p>
10
10
  <p align="center">
11
- <a href="https://github.com/wjgoarxiv/litclaude/blob/main/README_ko-KR.md">전체 안내와 스킬 갤러리는 GitHub에서</a> · <a href="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.51/README.md">English</a>
11
+ <a href="https://github.com/wjgoarxiv/litclaude/blob/main/README_ko-KR.md">전체 안내와 스킬 갤러리는 GitHub에서</a> · <a href="https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.53/README.md">English</a>
12
12
  </p>
13
13
 
14
14
  Claude Code 프롬프트에 `lit`을 붙이면 Claude가 목표를 고정하고, 실패하는 테스트를 먼저 쓰고,
@@ -75,7 +75,7 @@ npx @litfamily/litclaude@latest uninstall
75
75
  ## 더 보기
76
76
 
77
77
  - [전체 안내와 스킬 갤러리 (GitHub)](https://github.com/wjgoarxiv/litclaude/blob/main/README_ko-KR.md)
78
- - [개인정보와 네트워크 동작](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.51/docs/privacy.md)
79
- - [이전과 소유권 충돌](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.51/docs/migration.md)
80
- - [변경 이력](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.51/CHANGELOG.md)
81
- - [MIT 라이선스](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.51/LICENSE)
78
+ - [개인정보와 네트워크 동작](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.53/docs/privacy.md)
79
+ - [이전과 소유권 충돌](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.53/docs/migration.md)
80
+ - [변경 이력](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.53/CHANGELOG.md)
81
+ - [MIT 라이선스](https://cdn.jsdelivr.net/npm/@litfamily/litclaude@1.0.53/LICENSE)
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="146" height="20" role="img" aria-label="release: 1.0.51"><title>release: 1.0.51</title><g shape-rendering="crispEdges"><rect width="49" height="20" fill="#080d14"/><rect x="49" width="97" height="20" fill="#ff6337"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text x="255" y="140" textLength="390" transform="scale(.1)">release</text><text x="965" y="140" textLength="870" transform="scale(.1)" fill="#080D14">1.0.51</text></g></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="146" height="20" role="img" aria-label="release: 1.0.53"><title>release: 1.0.53</title><g shape-rendering="crispEdges"><rect width="49" height="20" fill="#080d14"/><rect x="49" width="97" height="20" fill="#ff6337"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text x="255" y="140" textLength="390" transform="scale(.1)">release</text><text x="965" y="140" textLength="870" transform="scale(.1)" fill="#080D14">1.0.53</text></g></svg>
package/docs/hooks.md CHANGED
@@ -12,7 +12,7 @@ surface: Claude Code plugin hooks
12
12
  runtime: plugins/litclaude/bin/litclaude-hook.js
13
13
  registration: plugins/litclaude/hooks/hooks.json
14
14
  settings_activation: global Claude settings.json enabledPlugins entry for litclaude@litclaude-ai
15
- events: [SessionStart, UserPromptSubmit, PreToolUse, PostToolUse, PostToolUseFailure, Stop, SubagentStart, SubagentStop, SessionEnd]
15
+ events: [SessionStart, UserPromptSubmit, PreToolUse, PostToolUse, PostToolUseFailure, PreCompact, Notification, Stop, SubagentStart, SubagentStop, SessionEnd]
16
16
  verdicts: [PASS, FAIL, BLOCKED]
17
17
  ```
18
18
 
@@ -36,6 +36,8 @@ verdicts: [PASS, FAIL, BLOCKED]
36
36
  | `UserPromptSubmit` | route classifier, static-rule straggler lane, and explicit resume gate | Prompt routing adds guidance. Static-rule delivery may update rule dedup state; the exact start-work resume route may also mutate code-owned lifecycle state. |
37
37
  | `PreToolUse` | bounded-authority and humanizer pre-write enforcement | Allows normal Claude permission handling only for classified, authorized action/root pairs; denies supported reader-facing text writes when new prose has a block-tier finding. |
38
38
  | `PostToolUse` | conditional post-edit routing, dynamic rule injection, and document humanizer check | Names only the checks the edit earned and only the rules whose globs matched. It rechecks successfully created DOCX/PPTX/PDF files when a supported tool or successful Bash output supplies a path; findings ask for revision without claiming rollback or completion. |
39
+ | `PreCompact` | handoff save before compaction | Writes `.litclaude/auto-handoff/precompact-<session>.md` and prints one short instruction line; never blocks compaction, exits 0 on every failure. |
40
+ | `Notification` | opt-in park ping fallback | With the `park_ping` option on, emits one `terminalSequence` for a parked start-work step not pinged yet; approves nothing, silent otherwise. |
39
41
  | `Stop` | lit-plan and interface-probe gates, start-work continuation, then litgoal autoloop gate | Root-session and progress-bound; no unbounded loop. |
40
42
  | `SubagentStart` / `SubagentStop` | lane identity observation | Records the root session, child lane, and Claude-owned worktree without emitting child continuation. |
41
43
  | `SessionEnd` | root-session receipt | Records the observed end, marks the session's workflow stack `endedAt` so other sessions' cards drop its row, and emits no continuation. |
@@ -98,7 +100,8 @@ closed; ordinary owners remove their lock artifact, and only a stale valid nonce
98
100
  whose process is no longer alive may be replaced through a fenced takeover. Live or malformed
99
101
  incumbents are not silently removed. Claude Code does not collect model context from its
100
102
  `PostCompact` stdout, so LitClaude does not register that event; the legacy runner is a
101
- silent no-op for callers that still invoke it directly.
103
+ silent no-op for callers that still invoke it directly. `PreCompact` is registered: its plain stdout
104
+ becomes instructions for the compaction summary.
102
105
 
103
106
  | Event | Runner | Purpose |
104
107
  | --- | --- | --- |
@@ -107,6 +110,8 @@ silent no-op for callers that still invoke it directly.
107
110
  | `PreToolUse` | `plugins/litclaude/bin/litclaude-hook.js pre-tool-use` | Enforces semantic action/root grants before Write, Edit, MultiEdit, NotebookEdit, Bash, Agent, and bounded read tools execute; denies supported reader-facing text writes with a humanizer block-tier finding. |
108
111
  | `PostToolUse` | `plugins/litclaude/bin/litclaude-hook.js post-tool-use` | Moves the LIT card's stage record on from what the tool did (plan saved, task checked, lit-loop step, a reviewer's verdict from an `Agent` result). Names the post-edit checks the edit actually earned, injects any glob-scoped rule matching the edited paths, and checks successfully created DOCX/PPTX/PDF files for humanizer findings, including paths reported by Bash output. |
109
112
  | `PostToolUseFailure` | `plugins/litclaude/bin/litclaude-hook.js post-tool-use-failure` | For a Bash command that exits non-zero, such as a bare failing `npm test`, moves the LIT card's lit-loop map from what the command wrote and from its failing test run, which never counts as VERIFY. Nothing else runs on a failed tool. |
113
+ | `PreCompact` | `plugins/litclaude/bin/litclaude-hook.js pre-compact` | Saves a handoff before every compaction, manual or automatic, unless `LITCLAUDE_PRECOMPACT_HANDOFF=0`: the plan's row state and `git status`, written by the hook itself without a model turn. Answers with one short line naming the current plan row, which Claude Code adds to its summary instructions. See [Save before every compaction](#save-before-every-compaction). |
114
+ | `Notification` | `plugins/litclaude/bin/litclaude-hook.js notification` | Matcher `permission_prompt`, `idle_prompt`, `agent_needs_input`. Only with the `park_ping` plugin option on: pings once for a parked start-work step that has not been pinged yet. See [Ping when a step parks](#ping-when-a-step-parks). |
110
115
  | `Stop` | `plugins/litclaude/bin/litclaude-hook.js stop` | Holds a lit-plan turn with no persisted plan and a lit workflow turn that edited interface files without a clean interface-probe run (each at most twice per turn), emits bounded start-work continuation on new progress, otherwise applies the opt-in litgoal autoloop gate, and last of all, with automatic handoff on, blocks once per crossing of the chosen percent to have the handoff written. |
111
116
  | `SubagentStart` | `plugins/litclaude/bin/litclaude-hook.js subagent-start` | Registers child-lane and Claude-owned worktree identity. |
112
117
  | `SubagentStop` | `plugins/litclaude/bin/litclaude-hook.js subagent-stop` | Finalizes the lane without child continuation, and gives a background review-work reviewer's verdict to the LIT card's stage record. |
@@ -297,6 +302,54 @@ The pieces, in the order they run:
297
302
  project it runs in. The model still has to follow the block reason to write the file; the hook
298
303
  can require nothing more than that.
299
304
 
305
+ ### Save before every compaction
306
+
307
+ Separate from the percent feature above, and on by default. Claude Code runs the `PreCompact` hook
308
+ before every compaction, whether the user typed `/compact` or the host started it. LitClaude's
309
+ `pre-compact` runner then writes `.litclaude/auto-handoff/precompact-<session>.md` itself, with no
310
+ model turn and no setting to pick: the plan file in use (the running start-work plan, else the newest
311
+ valid `plans/<slug>.md`), how many rows are done, the current and next row, rows waiting on the user,
312
+ and `git status --short --branch` (at most 25 lines). It also writes `precompact-<session>.json`, the
313
+ record that makes the reload happen once.
314
+
315
+ The runner prints one plain line on stdout (about 200 characters, never more than 600), for example
316
+ `LitClaude saved a handoff at .litclaude/auto-handoff/precompact-<session>.md. In the summary keep the plan plans/x.md, its 2 of 8 rows done, and the current row "3. ...". Do not redo rows that are already ticked.`
317
+ Claude Code adds that line to the instructions for the summary. The hook never blocks compaction:
318
+ a state folder it cannot write (a symlinked `.litclaude`, say), a missing plan or a git failure
319
+ leaves out that part, and the exit code is always 0.
320
+
321
+ On `SessionStart` with `source: compact` the same session gets the file back once: its first 4,000
322
+ characters, marked as data, with its path. A record older than six hours, another session's file,
323
+ and a second compaction get nothing. When the percent feature also fired, both reloads appear.
324
+
325
+ `LITCLAUDE_PRECOMPACT_HANDOFF=0` turns the whole save off (put it in the `env` block of Claude Code's
326
+ `settings.json` to make it stick). Any other value leaves it on. `litclaude doctor` prints
327
+ `Pre-compaction handoff: on` or `off`.
328
+
329
+ ### Ping when a step parks
330
+
331
+ start-work keeps going when it parks a call (a path outside the plan's scope, say), so a user who
332
+ walked away learns about it only when they look again. The `park_ping` plugin option (off by
333
+ default; set it in `/plugin` → LitClaude → configure, which saves it under `pluginConfigs` in your
334
+ user settings) sends one terminal notification instead. Claude Code reads it to the hook as
335
+ `CLAUDE_PLUGIN_OPTION_PARK_PING`.
336
+
337
+ - `on`: an OSC 9 notification. `osc777`: the OSC 777 form, for terminals that read only that one.
338
+ Anything else is off.
339
+ - The `PreToolUse` runner adds a `terminalSequence` to the denial of a call parked for the first
340
+ time, for example `LitClaude start-work: a parked step waits on you: write …/reports. Type lit
341
+ approve to allow, or lit cancel to end the run.` Claude Code writes it to the terminal for the hook.
342
+ A retry of the same call carries none.
343
+ - The `Notification` runner (on `permission_prompt`, `idle_prompt` or `agent_needs_input`) pings
344
+ only for a parked step that was never pinged, such as one parked before the option was turned on.
345
+ - Each step is pinged once. Its id goes into `.litclaude/shown/ledger.jsonl` as a hash before the
346
+ sequence is returned; when that record cannot be written there is no ping.
347
+ - The ping approves nothing. The step stays parked until you type `lit approve`, `lit deny` or
348
+ `lit cancel`.
349
+
350
+ Claude Code emits `terminalSequence` in an interactive session only (not with `-p` or the SDK).
351
+ Inside tmux the notification reaches your own terminal only with `set -g allow-passthrough on`.
352
+
300
353
  ## The LIT band (Claude Code mod)
301
354
 
302
355
  From Claude Code 2.1.287 a plugin can ship a mod: a hooks module that draws inside Claude Code
@@ -478,23 +531,25 @@ a proportional font and cut each span to the cells it was laid out for, so the c
478
531
  apart there. On those surfaces the mod draws the same five rows as one `Svg` element instead
479
532
  (`lib/mod/svg-card.mjs`): monospace text placed by counted cells, real pills and a rounded border.
480
533
  It shows the settled state, with no entrances or crossfades. While LitClaude works it moves with
481
- SMIL animation inside the drawing, which the surface runs in a script-less sandboxed frame: the
534
+ SMIL animation inside the drawing, which runs in the image the surface draws it as: the
482
535
  pill and the border breathe and the step's spinner turns, and on `full` a light crosses the
483
536
  current stage and the current chips, a head runs the rail leaving it, the count bar's head
484
- shimmers and a comet runs around the border. An idle card is a still image. The app loads each new
485
- drawing from scratch and restarts its animation, so this card names the running tool without its
486
- clock and shows the loop round without its countdown. Each animation starts part way through its
487
- cycle, so a freshly loaded card already looks like the running one: the border and the pill are
488
- lit, the light sits on its pill and the comet is part way round, not parked at the top-left
489
- corner. The app still blanks the card for a moment while it loads a new drawing; the mod cannot
490
- prevent that. It is redrawn only when something you would
537
+ shimmers and a comet runs around the border; what breathes, sweeps or shuttles eases in and out,
538
+ and the spinner, the comet and the drifting sparks keep an even pace. An idle card is a still
539
+ image. The app loads each new drawing from scratch and restarts its animation, so this card names
540
+ the running tool without its clock and shows the loop round without its countdown, and each new
541
+ drawing is composed at the session clock: every loop opens where the drawing before it had
542
+ reached, so a change of tool does not jump the comet or the breathing back to a start. The card is
543
+ not drawn with `isInteractive`: the desktop draws that as a sandboxed frame, which loads a whole
544
+ document for each new drawing and shows nothing meanwhile, so the card blinked on every change. An
545
+ image is up within a frame, and a redraw with nothing new keeps the very same source. It is redrawn only when something you would
491
546
  notice changes, such as the stage, the tool, a skill, a usage figure or the goal. While the card
492
547
  shows in a terminal and the app at once, the terminal's loop countdown waits for such
493
548
  a change too; its step and lane clocks keep counting on their own.
494
549
 
495
550
  Options, in `/config` under LitClaude (stored in `pluginConfigs` in `~/.claude/settings.json`,
496
551
  which the terminal and the desktop app's Code tab both read). The installer writes each default
497
- you have not set, so the desktop app, which has no editor for them, starts with all five;
552
+ you have not set, so the desktop app, which has no editor for them, starts with all six;
498
553
  `litclaude-ai config` prints them and `litclaude-ai config <option> <value>` changes one.
499
554
  Uninstall removes only the defaults it wrote that are still unchanged.
500
555
 
@@ -505,6 +560,7 @@ Uninstall removes only the defaults it wrote that are still unchanged.
505
560
  | `band` | `always` (the whole session, idle included), `auto` (only while work is active or a skill of this request is lit), `off` | `always` |
506
561
  | `notify` | `off`, `finish` (a notification through your own notification channel, `$.ui.notify`, when LIT work completes or a LIT turn longer than three minutes ends), `finish+sound` (the same; a sound is added once LitClaude ships one, and none ships yet) | `off` |
507
562
  | `club` | `on` (the idle card wears the club look once `lit invite` recorded an inviter), `off` (the plain ready card, byte for byte) | `on` |
563
+ | `look` | `on` (the Ignition look in the desktop and mobile apps, with a moving backdrop), `still` (the same look, one still frame), `off` (the app's own look) | `on` |
508
564
 
509
565
  Unknown values fall back to the default. The fields are plain strings with no `options` list on
510
566
  purpose: Claude Code 2.1.270 and older refuse to load a plugin whose `userConfig` has one, and
@@ -562,6 +618,70 @@ exactly where its path says, so a symlinked file or state folder is skipped. It
562
618
  starts no process, uses no network and calls no model. Its pure parts live in
563
619
  `plugins/litclaude/lib/mod/` and are tested under Node.
564
620
 
621
+ ### The Ignition look (desktop and mobile apps)
622
+
623
+ With `look` on `on` or `still`, the mod calls `$.theme.set` once at `session.start` with the
624
+ Ignition colours (ignition orange, signal lime, ivory and carbon navy, built by an unchanged copy
625
+ of the host's `hooks/make-colors.js` into both light and dark mode) and a backdrop scene with
626
+ glass: blur 18, opacity 0.62 and no raw tint, so every panel keeps the look's own colour in each
627
+ mode. When that first set reports `isDrawn: false` (a desktop window can attach after the session
628
+ starts), the first prompt sets it once more; never again after that. A Claude Code build with no
629
+ `$.theme` gets no look and no error. The terminal and the editors draw no look; the band and the
630
+ spinner there are unchanged.
631
+
632
+ The scene (`lib/mod/backdrop.mjs`, drawn by the `ui.render` hook on `Backdrop` for the desktop
633
+ and mobile surfaces only) is an instrument panel with the conversation mounted in it. The desktop
634
+ draws the backdrop across the whole content frame and frosts a centred column over it: the column
635
+ is the transcript measure (768 px unless the transcript width is set wider), fully blurred, with
636
+ the blur ramping out over 48 px beyond it. The hook is given no pixel geometry, so the scene is
637
+ laid out in CSS pixels from the centre of its box and splits into two zones. The sharp gutters,
638
+ from 456 px out, hold the plan and verify cells of the fuse, a frame that mounts the column (a
639
+ ticked rule on each side with square brackets at its head and foot, the right one lit down to the
640
+ share of work done), small dim monospace readouts (`PLAN 1/1`, `BUILD 4/6` and `VERIFY 0/1`
641
+ stacked beside the left rule, a flat `STATE:` block beside the right one, the lit cells as bits
642
+ and hex and a `T+` second counter at the foot beside registration targets), embers and heat beds.
643
+ The diffuse zone behind the glass holds what reads through a blur: the fuse as a heat streak, a
644
+ soft bloom under each lit build cell, a low heat haze along the fuse. Nothing sits on the glass
645
+ edge. The particles are monospace glyphs drawn as SVG text in the platform's own
646
+ monospace font. A near ember spins `|` `/` `-` `\` on stepped frames over its own soft glow while
647
+ it rises on a smooth curve, cooling from lime (orange at rest) through orange to ember red; a spark
648
+ dripping from the fuse ages `*` `+` `·` `-`; the finish throws `*` and `×` that cool to `+` and
649
+ `·` as they fall. Far embers, the gentle fire at the foot of each gutter, the haze and the blooms
650
+ are soft light, radial gradients with no filter on anything that moves. While a run is on the
651
+ panel also makes a few machine gestures: a text spinner beside the state block, a dot-matrix ticker
652
+ under the stage counts that moves a row a step, registration marks that turn an eighth a step, and
653
+ at the power-on a row of slashes that wipes out along the rail from the column. The scene's own width media rules drop the readouts below 1240 px; below 1040 px they drop
654
+ the frame, the labels and the embers and move the plan and verify cells in behind the glass. It
655
+ is drawn like a measuring instrument throughout: graph paper and halftone, a ruler under the fuse,
656
+ square cells with a 2 px outline and a hard offset shadow.
657
+
658
+ Idle and a lit run look clearly different. Idle is a dormant panel: the burnt fuse cold and dim,
659
+ lit cells banked low, a few dim embers, low heat, a dim frame and `STATE: STANDBY`. A run powers it
660
+ up: the fuse hot with its heat streak behind the glass, the frame and the share on the right rule
661
+ lit in orange (lime while asking or done), the readouts warm, the embers and the heat beds up. The
662
+ change between them plays once: into a run the lit frame ignites on a spring in about 0.7 s, back
663
+ to idle it fades down over 1.6 s. Motion is physical: moves run on springs solved from a damping
664
+ ratio and written as CSS `linear()` curves, each declared after a cubic-bezier fitted to it for
665
+ engines without `linear()`; embers rise against drag and sparks fall under gravity; each kind of
666
+ part has its own curve, and parts that move together trail one another by 30 to 90 ms. It
667
+ follows the session: **idle**, the next cell smoulders; **working**, the spark runs the stretch
668
+ towards the next cell on a spring with a streak that stretches while it is fast, settles there,
669
+ and the cell kicks as it lands, while the cell it left recoils and embers fall from the stretch;
670
+ **asking** (the same YOUR TURN conditions as the card), a lime lamp breathes (a quick rise, a slow
671
+ fall) with square signal rings opening a second apart at the cell the work waits at; **done** (the
672
+ card's finish conditions), a sweep runs the fuse and kicks each cell as it passes, the verify
673
+ cell gathers and releases, and shockwaves and overlapping spark bursts open in the gutters below
674
+ the title strip, and the verify cell settles lime for nine seconds before the scene goes back to
675
+ the live state. Every loop shares one 24 s clock and the scene is drawn with the clock's phase as
676
+ a negative delay, so a new state continues each loop instead of restarting it; the power change
677
+ is drawn less the time since it began, so a scene composed during it does not start it again. The
678
+ scene is redrawn only when its state changes. Its media rules are the box width rules above,
679
+ `prefers-color-scheme` and `prefers-reduced-motion`, which holds a composed still frame; `still`,
680
+ or Claude Code's own reduce-motion setting, draws that frame with no animation. Each scene stays
681
+ well under the Svg cap of 131,072 characters. Tests do not paint, so check it in the Claude
682
+ desktop app in both modes, at a narrow and a wide window, with a long code block and a larger
683
+ text size.
684
+
565
685
  On Claude Code releases before 2.1.287 the `modules` key is ignored and every settings hook runs
566
686
  as before; there is no band.
567
687
 
package/docs/privacy.md CHANGED
@@ -43,7 +43,7 @@ context-pressure detection can inspect a supplied transcript path up to 256 KiB
43
43
  for a fixed set of pressure markers; it returns only a bounded advisory. No skill
44
44
  review reads transcript excerpts or sends them to a model. Existing
45
45
  `pending-review.json` and `skill-loop-state.json` files are inert after the
46
- automatic review feature's removal and may be deleted. The opt-in automatic handoff keeps `settings.json` (on or off, and the percent you chose), one `context-<session>.json` per session (the context percent and window size the status line last saw) and one `session-<session>.json` per session (whether this session's crossing was spent, when, and the random id the handoff must carry) in `.litclaude/auto-handoff/`. It reads a handoff file named `HANDOFF.md` or `.handoff/HANDOFF.md` only after compaction, up to 256 KiB, and puts the path and its first 4,000 characters into the model context; nothing is sent anywhere else. With no status line and `LITCLAUDE_AUTO_HANDOFF_WINDOW` set, the Stop hook reads the last usage entry of the transcript to compute a percent and keeps only that number. No other state is affected.
46
+ automatic review feature's removal and may be deleted. The opt-in automatic handoff keeps `settings.json` (on or off, and the percent you chose), one `context-<session>.json` per session (the context percent and window size the status line last saw) and one `session-<session>.json` per session (whether this session's crossing was spent, when, and the random id the handoff must carry) in `.litclaude/auto-handoff/`. It reads a handoff file named `HANDOFF.md` or `.handoff/HANDOFF.md` only after compaction, up to 256 KiB, and puts the path and its first 4,000 characters into the model context; nothing is sent anywhere else. With no status line and `LITCLAUDE_AUTO_HANDOFF_WINDOW` set, the Stop hook reads the last usage entry of the transcript to compute a percent and keeps only that number. No other state is affected. Before every compaction the `PreCompact` hook also writes `precompact-<session>.md` and `precompact-<session>.json` in `.litclaude/auto-handoff/` (the plan's row state and up to 25 lines of `git status`, from your own files; turn it off with `LITCLAUDE_PRECOMPACT_HANDOFF=0`). `.litclaude/shown/ledger.jsonl` keeps one line per notice LitClaude printed itself (a 16-character hash of its text and a time, never the text) and one line per run end (`sent`, `nothing` or `waiting`, with the run's id); nothing is sent anywhere. With the `park_ping` option on, the same file gets one hashed line per pinged parked step; the ping itself is a terminal escape sequence written to your own terminal.
47
47
 
48
48
  There is no universal automatic expiry policy for all these files. A bounded log
49
49
  or cache TTL is not a deletion promise. Local files are not an
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@litfamily/litclaude",
3
- "version": "1.0.51",
3
+ "version": "1.0.53",
4
4
  "description": "Claude Code plugin: add lit to a prompt and Claude plans, tests, checks and reviews the work, then leaves a handoff for the next session.",
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 with a bounded-authority start-work lifecycle.",
4
- "version": "1.0.51",
4
+ "version": "1.0.53",
5
5
  "author": {
6
6
  "name": "LitClaude contributors"
7
7
  },
@@ -39,11 +39,23 @@
39
39
  "description": "off, or finish: a notification through your own notification channel when LIT work completes or a LIT turn longer than three minutes ends. finish+sound also plays a sound once LitClaude ships one; until then it notifies like finish.",
40
40
  "default": "off"
41
41
  },
42
+ "park_ping": {
43
+ "type": "string",
44
+ "title": "Ping when start-work parks a step",
45
+ "description": "off, on (an OSC 9 terminal notification) or osc777 (for terminals that read only OSC 777): one ping per parked step, naming what waits and to type lit approve or lit cancel. It approves nothing. Inside tmux the notification reaches your terminal only with allow-passthrough on.",
46
+ "default": "off"
47
+ },
42
48
  "club": {
43
49
  "type": "string",
44
50
  "title": "LIT club look",
45
51
  "description": "on: once you typed `lit invite @<github-id>`, the idle card wears the gold club look. off keeps the plain ready card. Nothing is sent anywhere.",
46
52
  "default": "on"
53
+ },
54
+ "look": {
55
+ "type": "string",
56
+ "title": "LitFamily look",
57
+ "description": "How the Claude desktop and mobile apps look: on (the Ignition colours and a moving backdrop that follows the LIT state: embers while idle, a burning fuse while working, a signal while it waits on you, a burst when work completes), still (the same look with no motion) or off (the app's own look). The terminal draws no look.",
58
+ "default": "on"
47
59
  }
48
60
  }
49
61
  }