@litfamily/litcodex 1.0.24 → 1.0.25

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 (24) hide show
  1. package/README-Ko-KR.md +9 -9
  2. package/README.md +9 -9
  3. package/dist/install/generated-skill-payload-hashes.d.ts +3 -3
  4. package/dist/install/generated-skill-payload-hashes.js +3 -3
  5. package/marketplace/plugins/litcodex/.codex-plugin/plugin.json +1 -1
  6. package/marketplace/plugins/litcodex/components/auto-update/package.json +1 -1
  7. package/marketplace/plugins/litcodex/components/comment-checker/package.json +1 -1
  8. package/marketplace/plugins/litcodex/components/git-bash/package.json +1 -1
  9. package/marketplace/plugins/litcodex/components/lit-loop/package.json +1 -1
  10. package/marketplace/plugins/litcodex/components/lsp/package.json +1 -1
  11. package/marketplace/plugins/litcodex/components/rules/dist/deliverable-hedge-guard.js +23 -2
  12. package/marketplace/plugins/litcodex/components/rules/package.json +1 -1
  13. package/marketplace/plugins/litcodex/components/start-work-continuation/package.json +1 -1
  14. package/marketplace/plugins/litcodex/components/telemetry/package.json +1 -1
  15. package/marketplace/plugins/litcodex/components/wikify-knowledge/package.json +1 -1
  16. package/marketplace/plugins/litcodex/skills/lit-humanizer/references/taxonomy.md +1 -1
  17. package/marketplace/plugins/litcodex/skills/lit-humanizer/rules.json +10 -7
  18. package/marketplace/plugins/litcodex/skills/lit-humanizer/scripts/core.mjs +13 -2
  19. package/node_modules/@litcodex/lit-loop/package.json +1 -1
  20. package/node_modules/@litcodex/lit-loop/skills/lit-humanizer/references/taxonomy.md +1 -1
  21. package/node_modules/@litcodex/lit-loop/skills/lit-humanizer/rules.json +10 -7
  22. package/node_modules/@litcodex/lit-loop/skills/lit-humanizer/scripts/core.mjs +13 -2
  23. package/package.json +2 -2
  24. package/readme-assets/badge-version.svg +1 -1
package/README-Ko-KR.md CHANGED
@@ -1,12 +1,12 @@
1
- <p align="center"><picture><source media="(prefers-reduced-motion: reduce)" srcset="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.24/readme-assets/cover-motion-still.webp" /><img src="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.24/readme-assets/cover-motion.webp" width="100%" alt="LitFamily 모션 커버: 다섯 로봇 패널이 차례로 켜지고, LitCodex 로봇의 눈과 테두리가 빛난 뒤 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/litcodex@1.0.25/readme-assets/cover-motion-still.webp" /><img src="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.25/readme-assets/cover-motion.webp" width="100%" alt="LitFamily 모션 커버: 다섯 로봇 패널이 차례로 켜지고, LitCodex 로봇의 눈과 테두리가 빛난 뒤 LITFAMILY와 KEEP THE WORK LIT. 문구가 밝아지는 영상" /></picture></p>
2
2
 
3
3
  <p align="center">
4
- <a href="#설치"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.24/readme-assets/badge-version.svg" alt="1.0.24" /></a>
5
- <a href="https://github.com/wjgoarxiv/litcodex/blob/main/LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.24/readme-assets/badge-license.svg" alt="MIT license" /></a>
4
+ <a href="#설치"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.25/readme-assets/badge-version.svg" alt="1.0.25" /></a>
5
+ <a href="https://github.com/wjgoarxiv/litcodex/blob/main/LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.25/readme-assets/badge-license.svg" alt="MIT license" /></a>
6
6
  </p>
7
7
 
8
8
  <p align="center">
9
- <a href="https://github.com/wjgoarxiv/litcodex/blob/main/docs/usage-Ko-KR.md"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.24/readme-assets/lucide-book-open.svg" width="16" alt="" /> 문서</a> &nbsp; <a href="#설치">설치</a> &nbsp; <a href="https://github.com/wjgoarxiv/litcodex/blob/main/docs/assets/readme/ignition-film.mp4"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.24/readme-assets/lucide-play.svg" width="16" alt="" /> Ignition</a> &nbsp; <a href="https://github.com/wjgoarxiv/litcodex/blob/main/LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.24/readme-assets/lucide-shield-check.svg" width="16" alt="" /> MIT</a>
9
+ <a href="https://github.com/wjgoarxiv/litcodex/blob/main/docs/usage-Ko-KR.md"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.25/readme-assets/lucide-book-open.svg" width="16" alt="" /> 문서</a> &nbsp; <a href="#설치">설치</a> &nbsp; <a href="https://github.com/wjgoarxiv/litcodex/blob/main/docs/assets/readme/ignition-film.mp4"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.25/readme-assets/lucide-play.svg" width="16" alt="" /> Ignition</a> &nbsp; <a href="https://github.com/wjgoarxiv/litcodex/blob/main/LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.25/readme-assets/lucide-shield-check.svg" width="16" alt="" /> MIT</a>
10
10
  </p>
11
11
 
12
12
  # LitCodex
@@ -23,12 +23,12 @@ Codex CLI 플러그인입니다.
23
23
  Node.js 22 이상과 Codex CLI가 필요합니다.
24
24
 
25
25
  ```sh
26
- npm exec --yes --package @litfamily/litcodex@1.0.24 -- litcodex install
26
+ npm exec --yes --package @litfamily/litcodex@1.0.25 -- litcodex install
27
27
  ```
28
28
 
29
29
  설치기는 어떤 모델이 이끌지, 어떤 모델이 거들지, 답변 스타일은 무엇으로 할지 묻고, 쓰려는 내용을 먼저 보여 준 뒤
30
30
  `~/.codex/config.toml`에서 자기가 관리하는 항목만 고칩니다. 계획만 먼저 보려면
31
- `npm exec --yes --package @litfamily/litcodex@1.0.24 -- litcodex --dry-run install`을 실행하고, 묻는 단계 없이
31
+ `npm exec --yes --package @litfamily/litcodex@1.0.25 -- litcodex --dry-run install`을 실행하고, 묻는 단계 없이
32
32
  설치하려면 `install` 뒤에 `--yes`를 붙이세요.
33
33
 
34
34
  ```sh
@@ -39,7 +39,7 @@ litcodex install
39
39
  전역으로 설치하면 영상 스킬이 쓸 도구를 미리 준비하느라 버전이 고정된 파일 몇 개를 내려받습니다. 무엇을 받는지와
40
40
  건너뛰는 방법은 [설치 안내](https://github.com/wjgoarxiv/litcodex/blob/main/docs/install-Ko-KR.md#전역-명령으로-쓰기)에 있습니다.
41
41
 
42
- > 전역 설치가 없다면 `npm exec --yes --package @litfamily/litcodex@1.0.24 -- litcodex <command>` 형식을 사용하세요.
42
+ > 전역 설치가 없다면 `npm exec --yes --package @litfamily/litcodex@1.0.25 -- litcodex <command>` 형식을 사용하세요.
43
43
 
44
44
  ## 첫 작업
45
45
 
@@ -91,7 +91,7 @@ lit 회원가입 폼에 입력 검증을 추가해줘
91
91
  ## 확인, 문제 해결, 제거
92
92
 
93
93
  ```sh
94
- npm exec --yes --package @litfamily/litcodex@1.0.24 -- litcodex doctor
94
+ npm exec --yes --package @litfamily/litcodex@1.0.25 -- litcodex doctor
95
95
  ```
96
96
 
97
97
  `litcodex doctor`는 등록·훅·설정·호스트 기능을, `litcodex loop doctor`는 현재 프로젝트의 루프 상태를 확인합니다.
@@ -99,7 +99,7 @@ npm exec --yes --package @litfamily/litcodex@1.0.24 -- litcodex doctor
99
99
  [문제 해결](https://github.com/wjgoarxiv/litcodex/blob/main/README-Ko-KR.md#문제-해결)에 있습니다.
100
100
 
101
101
  ```sh
102
- npm exec --yes --package @litfamily/litcodex@1.0.24 -- litcodex uninstall
102
+ npm exec --yes --package @litfamily/litcodex@1.0.25 -- litcodex uninstall
103
103
  ```
104
104
 
105
105
  플러그인과 LitCodex가 관리하는 설정을 지우고, 관련 없는 설정은 그대로 둡니다.
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
- <p align="center"><picture><source media="(prefers-reduced-motion: reduce)" srcset="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.24/readme-assets/cover-motion-still.webp" /><img src="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.24/readme-assets/cover-motion.webp" width="100%" alt="LitFamily motion cover: five armored robots power on one by one, the LitCodex 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/litcodex@1.0.25/readme-assets/cover-motion-still.webp" /><img src="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.25/readme-assets/cover-motion.webp" width="100%" alt="LitFamily motion cover: five armored robots power on one by one, the LitCodex robot wakes with glowing eyes and a lit frame, then LITFAMILY and KEEP THE WORK LIT. light up." /></picture></p>
2
2
 
3
3
  <p align="center">
4
- <a href="#install"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.24/readme-assets/badge-version.svg" alt="1.0.24" /></a>
5
- <a href="https://github.com/wjgoarxiv/litcodex/blob/main/LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.24/readme-assets/badge-license.svg" alt="MIT license" /></a>
4
+ <a href="#install"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.25/readme-assets/badge-version.svg" alt="1.0.25" /></a>
5
+ <a href="https://github.com/wjgoarxiv/litcodex/blob/main/LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.25/readme-assets/badge-license.svg" alt="MIT license" /></a>
6
6
  </p>
7
7
 
8
8
  <p align="center">
9
- <a href="https://github.com/wjgoarxiv/litcodex/blob/main/docs/usage.md"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.24/readme-assets/lucide-book-open.svg" width="16" alt="" /> Docs</a> &nbsp; <a href="#install">Install</a> &nbsp; <a href="https://github.com/wjgoarxiv/litcodex/blob/main/docs/assets/readme/ignition-film.mp4"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.24/readme-assets/lucide-play.svg" width="16" alt="" /> Ignition</a> &nbsp; <a href="https://github.com/wjgoarxiv/litcodex/blob/main/LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.24/readme-assets/lucide-shield-check.svg" width="16" alt="" /> MIT</a>
9
+ <a href="https://github.com/wjgoarxiv/litcodex/blob/main/docs/usage.md"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.25/readme-assets/lucide-book-open.svg" width="16" alt="" /> Docs</a> &nbsp; <a href="#install">Install</a> &nbsp; <a href="https://github.com/wjgoarxiv/litcodex/blob/main/docs/assets/readme/ignition-film.mp4"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.25/readme-assets/lucide-play.svg" width="16" alt="" /> Ignition</a> &nbsp; <a href="https://github.com/wjgoarxiv/litcodex/blob/main/LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litcodex@1.0.25/readme-assets/lucide-shield-check.svg" width="16" alt="" /> MIT</a>
10
10
  </p>
11
11
 
12
12
  # LitCodex
@@ -23,12 +23,12 @@ and hands unfinished work to the next session.
23
23
  You need Node.js 22 or later and Codex CLI.
24
24
 
25
25
  ```sh
26
- npm exec --yes --package @litfamily/litcodex@1.0.24 -- litcodex install
26
+ npm exec --yes --package @litfamily/litcodex@1.0.25 -- litcodex install
27
27
  ```
28
28
 
29
29
  The installer asks which model leads, which model helps and which output style you like, shows what it is
30
30
  about to write, and changes only the keys it manages in `~/.codex/config.toml`. To see the plan first, run
31
- `npm exec --yes --package @litfamily/litcodex@1.0.24 -- litcodex --dry-run install`. To skip the
31
+ `npm exec --yes --package @litfamily/litcodex@1.0.25 -- litcodex --dry-run install`. To skip the
32
32
  questions, add `--yes` after `install`.
33
33
 
34
34
  ```sh
@@ -40,7 +40,7 @@ A global install also gets the video skill's tools ready with a few pinned downl
40
40
  [install guide](https://github.com/wjgoarxiv/litcodex/blob/main/docs/install.md#a-global-command) lists them
41
41
  and shows how to skip them.
42
42
 
43
- > Without a global install, use `npm exec --yes --package @litfamily/litcodex@1.0.24 -- litcodex <command>`.
43
+ > Without a global install, use `npm exec --yes --package @litfamily/litcodex@1.0.25 -- litcodex <command>`.
44
44
 
45
45
  ## First task
46
46
 
@@ -96,7 +96,7 @@ Pick any skill in the Codex skill picker or mention it by scoped name, such as `
96
96
  ## Check, fix, remove
97
97
 
98
98
  ```sh
99
- npm exec --yes --package @litfamily/litcodex@1.0.24 -- litcodex doctor
99
+ npm exec --yes --package @litfamily/litcodex@1.0.25 -- litcodex doctor
100
100
  ```
101
101
 
102
102
  `litcodex doctor` checks registration, hooks, config and host capabilities; `litcodex loop doctor` checks
@@ -104,7 +104,7 @@ the current project's loop state. If `lit` does nothing, run doctor and check th
104
104
  in Codex. More fixes are under [troubleshooting](https://github.com/wjgoarxiv/litcodex#troubleshooting).
105
105
 
106
106
  ```sh
107
- npm exec --yes --package @litfamily/litcodex@1.0.24 -- litcodex uninstall
107
+ npm exec --yes --package @litfamily/litcodex@1.0.25 -- litcodex uninstall
108
108
  ```
109
109
 
110
110
  This removes the plugin and the config LitCodex manages, and leaves your other settings alone.
@@ -283,9 +283,9 @@ export declare const HUMANIZER_PAYLOAD_HASHES: {
283
283
  readonly "references/ko-patterns.md": "cf9a3e74db9c7aa83a5cd27b08bed409005bc487a96cab33935799a2c6c2e1ea";
284
284
  readonly "references/prompt-injection-handling.md": "89a594faf03083785375afa20e179d95c12379539cacb36a3272b13bae2990b7";
285
285
  readonly "references/rewrite-playbook.md": "3b0bae2e24e9aada73ea527402e80c25a9bf471b65871248858496f1a2fe8ffb";
286
- readonly "references/taxonomy.md": "7f8903fd4853392f95a9341f2704d964fe5bd5a7ca593efe476419eac6a46624";
287
- readonly "rules.json": "38df7471c10ce20e62f562d30869d0b79350de98ae38edbf7f181baa171ed29b";
288
- readonly "scripts/core.mjs": "59d760512e4d69041e630eef2d7e0c17d1f1cde8e2284d75a2dc86334e1b19b4";
286
+ readonly "references/taxonomy.md": "f29d9543f32178764eb07c49461785c6d1bd346b9c3419ec271b6062a74f92f9";
287
+ readonly "rules.json": "ea2cc0aabafbdd9a94a60a29614cce8fba3ed9b813de0e4b5229f49b7356aaec";
288
+ readonly "scripts/core.mjs": "8a5987a605f42787e7b0a48887c1c5042765c59839afe29afce3cee33f47e8b2";
289
289
  readonly "scripts/detect.mjs": "183446709f861299d088af4587fafb808adf2094e08b82c2279c0b50cc39e872";
290
290
  readonly "scripts/extract_office_text.py": "2badb7a32335d28c0dd029617ffe866c27053ef54b8951a40a14475b56633265";
291
291
  readonly "scripts/ko-metrics.mjs": "5e53d6dfb212241fbcbddaa5d89cacfda61fa739616b4d1a3dd4d76268b0d871";
@@ -284,9 +284,9 @@ export const HUMANIZER_PAYLOAD_HASHES = {
284
284
  "references/ko-patterns.md": "cf9a3e74db9c7aa83a5cd27b08bed409005bc487a96cab33935799a2c6c2e1ea",
285
285
  "references/prompt-injection-handling.md": "89a594faf03083785375afa20e179d95c12379539cacb36a3272b13bae2990b7",
286
286
  "references/rewrite-playbook.md": "3b0bae2e24e9aada73ea527402e80c25a9bf471b65871248858496f1a2fe8ffb",
287
- "references/taxonomy.md": "7f8903fd4853392f95a9341f2704d964fe5bd5a7ca593efe476419eac6a46624",
288
- "rules.json": "38df7471c10ce20e62f562d30869d0b79350de98ae38edbf7f181baa171ed29b",
289
- "scripts/core.mjs": "59d760512e4d69041e630eef2d7e0c17d1f1cde8e2284d75a2dc86334e1b19b4",
287
+ "references/taxonomy.md": "f29d9543f32178764eb07c49461785c6d1bd346b9c3419ec271b6062a74f92f9",
288
+ "rules.json": "ea2cc0aabafbdd9a94a60a29614cce8fba3ed9b813de0e4b5229f49b7356aaec",
289
+ "scripts/core.mjs": "8a5987a605f42787e7b0a48887c1c5042765c59839afe29afce3cee33f47e8b2",
290
290
  "scripts/detect.mjs": "183446709f861299d088af4587fafb808adf2094e08b82c2279c0b50cc39e872",
291
291
  "scripts/extract_office_text.py": "2badb7a32335d28c0dd029617ffe866c27053ef54b8951a40a14475b56633265",
292
292
  "scripts/ko-metrics.mjs": "5e53d6dfb212241fbcbddaa5d89cacfda61fa739616b4d1a3dd4d76268b0d871",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "litcodex",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "LitCodex Codex plugin: the lit-loop activation, durable loop runtime, and local review-gated knowledge.",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@litcodex/auto-update",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "LitCodex foreground update barrier for the SessionStart and management lifecycles.",
5
5
  "type": "module",
6
6
  "private": true,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@litcodex/comment-checker",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "LitCodex Comment-Checker hook: flags low-value / AI-slop comments introduced by edits.",
5
5
  "type": "module",
6
6
  "private": true,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@litcodex/git-bash",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "LitCodex Git-Bash hook: reminds Windows sessions to prefer the git_bash MCP before the built-in shell.",
5
5
  "type": "module",
6
6
  "private": true,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@litcodex/lit-loop",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "LitCodex Lit-Loop runtime: durable repo-native multi-goal orchestration with embedded success criteria and observable evidence audit.",
5
5
  "type": "module",
6
6
  "private": true,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@litcodex/lsp",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "LitCodex LSP hook (inert placeholder): post-edit diagnostics + cache reset, no-op until an LSP daemon is provided.",
5
5
  "type": "module",
6
6
  "private": true,
@@ -400,11 +400,14 @@ function isInternalPath(path) {
400
400
  /^handoff(?:$|[-_.])/iu.test(segment) ||
401
401
  /^(?:ledgers?|status)(?:\.[^/]*)?$/iu.test(segment));
402
402
  }
403
+ const BOLD_LABEL_CALLOUT = /^\s{0,3}>\s?(?:\*\*|__)[^*_\n]{1,24}(?:\*\*|__)/u;
403
404
  function maskQuotedUserText(text) {
404
405
  return text
405
406
  .split("\n")
406
407
  .map((line) => {
407
- if (/^\s{0,3}>/u.test(line))
408
+ // A quote is skipped, except one that opens with a bold label (> **Note:** ...): that is the author's own
409
+ // callout, so it reaches the detector, which reads it for the rules that opt in.
410
+ if (/^\s{0,3}>/u.test(line) && !BOLD_LABEL_CALLOUT.test(line))
408
411
  return "";
409
412
  return line
410
413
  .replace(/"(?:\\.|[^"\\])*"/gu, " ")
@@ -414,6 +417,24 @@ function maskQuotedUserText(text) {
414
417
  })
415
418
  .join("\n");
416
419
  }
420
+ const REASON_RULE_LIMIT = 5;
421
+ const REASON_LINE_LIMIT = 3;
422
+ /** Names each blocking rule once, with its first few line numbers, so a refusal says which rule fired. */
423
+ function blockedRuleSummary(blocks) {
424
+ const linesByRule = new Map();
425
+ for (const item of blocks) {
426
+ const lines = linesByRule.get(item.rule) ?? [];
427
+ if (!lines.includes(item.line))
428
+ lines.push(item.line);
429
+ linesByRule.set(item.rule, lines);
430
+ }
431
+ const named = [...linesByRule].slice(0, REASON_RULE_LIMIT).map(([rule, lines]) => {
432
+ const shown = lines.slice(0, REASON_LINE_LIMIT).join(", ");
433
+ return `${rule} (line ${shown}${lines.length > REASON_LINE_LIMIT ? ", ..." : ""})`;
434
+ });
435
+ const hidden = linesByRule.size - named.length;
436
+ return hidden > 0 ? `${named.join("; ")}; ${hidden} more rule(s)` : named.join("; ");
437
+ }
417
438
  function findingsOutput(event, findings, files) {
418
439
  if (findings.length === 0)
419
440
  return "";
@@ -429,7 +450,7 @@ function findingsOutput(event, findings, files) {
429
450
  if (event === "PreToolUse" && blocks.length > 0) {
430
451
  hookSpecificOutput["permissionDecision"] = "deny";
431
452
  hookSpecificOutput["permissionDecisionReason"] =
432
- `lit-humanizer blocked ${blocks.length} high-confidence drafting residue hit(s).`;
453
+ `lit-humanizer blocked ${blocks.length} high-confidence drafting residue hit(s): ${blockedRuleSummary(blocks)}. Rewrite those lines and retry.`;
433
454
  }
434
455
  return JSON.stringify({ hookSpecificOutput });
435
456
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@litcodex/rules",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "LitCodex rules: injects project rule files (AGENTS.md etc.) into model context through lifecycle hooks.",
5
5
  "type": "module",
6
6
  "private": true,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@litcodex/start-work-continuation",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "LitCodex Start-Work continuation hook: resumes in-flight start-work state on root Stop.",
5
5
  "type": "module",
6
6
  "private": true,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@litcodex/telemetry",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "LitCodex telemetry: a deliberately inert, local-only SessionStart hook (NO network, NO data collection).",
5
5
  "type": "module",
6
6
  "private": true,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@litcodex/wikify-knowledge",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "Local review-gated knowledge records for the LitCodex Wikify surface.",
5
5
  "type": "module",
6
6
  "private": true,
@@ -17,7 +17,7 @@ This original category comes from the 26 real lines in fixtures/pos-real.txt and
17
17
  - ko-bracket-status-tag and en-bracket-status-tag — ko/en, block. Replace bracket keys with a sentence describing the status.
18
18
  - ko-standalone-scope-disclaimer and en-standalone-scope-disclaimer — ko/en, block for stock disclaimers. Preserve a user-requested legal, medical or safety notice and place it once where it applies.
19
19
  - ko-status-negation, ko-mi-status, en-epistemic-negation and en-not-performed — warnings. A negative result or unperformed action may be the finding. Write the actor, scope and verb plainly; never turn unknown into false or an estimate into a fact.
20
- - ko-negative-pledge, ko-negative-pledge-repeat and en-negative-pledge — ko/en, block. A sentence that says what the document, table or number is not for (not a comparison, not a ranking, not to be read as a conclusion, not a public-use figure, the deck makes no claim) is a pledge about the artifact, not a finding. In a Codex edit it is refused before the write lands, so rewrite it: put the purpose boundary in the chat reply, or turn it into the fact it protects, written once beside the number it affects ("샘플은 한 공정 조건만 포함한다"). ko-negative-pledge is line-scoped and matches a self-reference subject with a negated claim verb, a comparison or ranking noun with a negated use verb, or a purpose-용 data noun with 아님; ko-negative-pledge-repeat fires when two such disclaimer sentences share a document; en-negative-pledge needs a comparison, benchmark or ranking noun. Operating rules (방폭 구역에서 사용하지 않습니다), method facts, negative findings and standard legal or financial notices stay outside these rules.
20
+ - ko-negative-pledge, ko-negative-pledge-repeat and en-negative-pledge — ko/en, block. A sentence that says what the document, table or number is not for (not a comparison, not a ranking, not to be read as a conclusion, not a public-use figure, the deck makes no claim) is a pledge about the artifact, not a finding. In a Codex edit it is refused before the write lands, so rewrite it: put the purpose boundary in the chat reply, or turn it into the fact it protects, written once beside the number it affects ("샘플은 한 공정 조건만 포함한다"). ko-negative-pledge is line-scoped and matches a self-reference subject with a negated claim verb or a 비교하려는/위한 것이 아님 form, a comparison or ranking noun with a negated use or reading verb, a purpose-용 data noun with 아님, numbers said to be incomparable or a ranking refused for this data, or a table whose row order is said not to be a ranking; ko-negative-pledge-repeat fires when two such disclaimer sentences share a document; en-negative-pledge needs a comparison, benchmark or ranking noun. The three rules also read a quote line that opens with a bold label (`> **주의:** …`), because that is the author's own callout; a plain `>` quote stays unread. Operating rules (방폭 구역에서 사용하지 않습니다, 숫자와 문자열은 서로 비교할 수 없습니다), method facts, negative findings and standard legal or financial notices stay outside these rules.
21
21
  - ko-status-negation also covers the 쓰지 form, the ~지 않습니다 and ~지 않았습니다 endings, and bold-wrapped endings. It stays a warning: a method fact such as 실제 운영 데이터로 검증하지 않았습니다 may be exactly what the reader needs, and a lone 아님 or 쓰지 않음 sentence is judged by that warning rather than by the block rules above.
22
22
  - ko-plain-meta-label-warn and en-plain-caveat-label — warnings for boundary headings. They may be useful in internal or technical packets.
23
23
  - en-knowledge-cutoff, en-ai-self-disclaimer, en-hope-helps and ko-chatbot-signoff — block. Remove the model wrapper or generic sign-off, then retain the answer.
@@ -884,14 +884,15 @@
884
884
  "id": "ko-negative-pledge",
885
885
  "lang": "ko",
886
886
  "severity": "block",
887
- "pattern": "(?<![가-힣])(?:이|본|해당|위|아래)\\s+(?:자료|문서|보고서|슬라이드|덱|표|그림|그래프|차트|수치|결과|비교|분석|내용|예시)(?:은|는)\\s[^.!?\\n]{0,40}?(?:(?:해석하|의미하|주장하|대표하)(?:지\\s*(?:[*_]{1,2}\\s*)?(?:않(?:음|는다|습니다)|말\\s*것|마세요|마십시오)|(?:으)?면\\s*(?:[*_]{1,2}\\s*)?안\\s*(?:됨|된다|됩니다))|(?:(?:비교|결론|벤치마크|순위|대표값|일반화)(?:이|가)|목적이|위한\\s*것이)\\s*(?:[*_]{1,2}\\s*)?(?:아님|아니다|아닙니다)(?![가-힣]))|(?:비교|결론|벤치마크|순위|대표값|일반화)(?:으로|로)\\s*(?:[*_]{1,2}\\s*)?(?:쓰|사용하|해석하|읽|간주하|인용하)(?:지\\s*(?:[*_]{1,2}\\s*)?(?:않(?:음|는다|습니다)|말\\s*것|마세요|마십시오)|(?:으)?면\\s*(?:[*_]{1,2}\\s*)?안\\s*(?:됨|된다|됩니다))|(?:공개|배포|대외|외부|홍보|발표|보고|비교|인용|공식)용\\s*(?:자료|문서|수치|표|그래프)(?:이|가)\\s*(?:[*_]{1,2}\\s*)?(?:아님|아니다|아닙니다)(?![가-힣])",
887
+ "pattern": "(?<![가-힣])(?:이|본|해당|위|아래)\\s+(?:자료|문서|보고서|슬라이드|덱|표|그림|그래프|차트|수치|결과|비교|분석|내용|예시)(?:은|는)\\s[^.!?\\n]{0,40}?(?:(?:해석하|의미하|주장하|대표하)(?:지\\s*(?:[*_]{1,2}\\s*)?(?:않(?:음|는다|습니다)|말\\s*것|마세요|마십시오|말아\\s*주(?:세요|십시오))|(?:으)?면\\s*(?:[*_]{1,2}\\s*)?안\\s*(?:됨|된다|됩니다)(?![가-힣]))|(?:(?:비교|결론|벤치마크|순위|대표값|일반화)(?:이|가)|목적이|(?:위한|려는)\\s*것이)\\s*(?:[*_]{1,2}\\s*)?(?:아님|아니다|아닙니다)(?![가-힣])|순위표(?:이|가)\\s*(?:[*_]{1,2}\\s*)?(?:아님|아니다|아닙니다|아니고)(?![가-힣]))|(?:비교|결론|벤치마크|순위|대표값|일반화)(?:처럼|으로|로)\\s*(?:[*_]{1,2}\\s*)?(?:쓰|사용하|해석하|읽|간주하|인용하)(?:지\\s*(?:[*_]{1,2}\\s*)?(?:않(?:음|는다|습니다)|말\\s*것|마세요|마십시오|말아\\s*주(?:세요|십시오))|(?:으)?면\\s*(?:[*_]{1,2}\\s*)?안\\s*(?:됨|된다|됩니다)(?![가-힣]))|(?:공개|배포|대외|외부|홍보|발표|보고|비교|인용|공식)용\\s*(?:자료|문서|수치|표|그래프)(?:이|가)\\s*(?:[*_]{1,2}\\s*)?(?:아님|아니다|아닙니다)(?![가-힣])|(?<![가-힣])(?:숫자|수치)(?:들)?(?:은|는|이|가|을|를|끼리|도)(?![가-힣])(?:(?!면\\s)[^.!?\\n]){0,40}?(?<![와과]\\s)(?<![와과])비교할\\s*수\\s*(?:는\\s*)?없(?:다|습니다|음|나)(?![가-힣])|(?<![가-힣])(?:숫자|수치)(?:들)?끼리\\s*(?:서로\\s*|직접\\s*)?비교(?:해서|하여|해)\\s[^.!?\\n]{0,30}?[\"”’']\\s*(?:는|라는)\\s*결론[^.!?\\n]{0,8}?(?:수\\s*없(?:다|습니다)(?![가-힣])|(?:으)?면\\s*(?:[*_]{1,2}\\s*)?안\\s*(?:됨|된다|됩니다)(?![가-힣]))|(?:(?<![가-힣])(?:숫자|수치)(?:들)?|(?<![가-힣])(?:이|위|아래|본)\\s+(?:표|값|자료|그래프|차트))[^.!?\\n]{0,40}?(?:빠르|느리)다고\\s*판단하(?:지\\s*(?:[*_]{1,2}\\s*)?(?:말\\s*것|마세요|마십시오|말아\\s*주(?:세요|십시오))|(?:으)?면\\s*(?:[*_]{1,2}\\s*)?안\\s*(?:됨|된다|됩니다)(?![가-힣]))|(?:빠르|느리)다[\"”’']?\\s*(?:는|라는)\\s*식으로\\s*읽(?:지\\s*(?:[*_]{1,2}\\s*)?(?:말\\s*것|마세요|마십시오|말아\\s*주(?:세요|십시오))|(?:으)?면\\s*(?:[*_]{1,2}\\s*)?안\\s*(?:됨|된다|됩니다)(?![가-힣]))|만으로\\s[^.!?\\n]{0,40}?(?<![가-힣])순위를\\s*정하[^.!?\\n]{0,25}?(?:수\\s*없(?:다|습니다|음)(?![가-힣])|(?:해|하)서는\\s*안\\s*(?:됨|된다|됩니다)(?![가-힣]))|(?<![가-힣])순위[^.!?\\n]{0,20}?근거로\\s*(?:[*_]{1,2}\\s*)?사용할\\s*수\\s*(?:는\\s*)?없(?:다|습니다|음)(?![가-힣])|할\\s*수\\s*없는\\s*것\\s{0,3}:\\s{0,3}(?:[*_]{1,2}\\s{0,3})?[^.!?\\n]{0,30}?(?<![가-힣])순위를?\\s*매기거나|(?<![가-힣])표의\\s+(?:나열\\s+)?순서(?:는|가)\\s[^.!?\\n]{0,20}?(?<![가-힣])순위(?:(?:를|을)\\s*뜻하지\\s*(?:[*_]{1,2}\\s*)?않(?:음|는다|습니다)|(?:가|이)\\s*(?:[*_]{1,2}\\s*)?(?:아님|아니다|아닙니다)(?![가-힣]))",
888
888
  "flags": "m",
889
889
  "scope": "line",
890
890
  "context": [
891
891
  "fenced_code",
892
- "quoted_user_text"
892
+ "quoted_user_text",
893
+ "blockquote_callout"
893
894
  ],
894
- "rationale": "A line that tells the reader what the document, table or number is not for does not belong in the deliverable; it goes in the chat reply, or it is rewritten as a fact about the data. Three shapes are refused: a self-reference topic (이/본/해당/위/아래 plus a document noun) followed by a negated claim verb or a claim noun plus 아님 on the same line; a comparison, conclusion or ranking noun plus (으)로 and a negated use verb; and a purpose-용 data noun such as 공개용 수치 plus 아님. Use verbs after a self-reference, 근거/평가/증거/추천, and the legal or financial notice verbs (대체하, 보장하, 권유) stay outside the pattern, because operating rules, method lines and standard notices are written with them.",
895
+ "rationale": "A line that tells the reader what the document, table or number is not for belongs in the chat reply, or it becomes a fact about the data. Refused shapes: a self-reference topic (이/본/해당/위/아래 plus a document noun plus 은/는) followed on the same line by a negated claim verb, a claim noun plus 아님, or 위한/려는 것이 아님; a comparison or ranking noun plus (으)로/처럼 and a negated use or reading verb, including the polite 말아 주세요 form; a purpose-용 data noun such as 공개용 수치 plus 아님; 숫자/수치 said to be incomparable, or compared among themselves toward a quoted verdict; a speed judgment forbidden for these numbers; a ranking refused for this data (…만으로 순위를 정할 수 없다, 할 수 없는 것: 순위를 매기거나); and a table whose row order is said not to be a ranking. Kept outside the pattern because operating rules, method lines, manuals and standard notices are written with them: use verbs after a self-reference, 근거/평가/증거/추천, inference limits, conditional method facts, type-system rules, reported speech and explainers, order notices with no table anchor, and the legal or financial notice verbs (대체하, 보장하, 권유). A bold-label callout line (> **주의:** …) is read as well; a plain quote is not.",
895
896
  "fixture_ids": [
896
897
  "ko-negative-pledge:positive",
897
898
  "ko-negative-pledge:negative"
@@ -906,7 +907,8 @@
906
907
  "scope": "document",
907
908
  "context": [
908
909
  "fenced_code",
909
- "quoted_user_text"
910
+ "quoted_user_text",
911
+ "blockquote_callout"
910
912
  ],
911
913
  "rationale": "Two or more sentences that end in 해석하지/주장하지/대표하지 않음, or in a claim noun plus 이/가 plus 아님, turn a document into a list of disclaimers. 의미하, 간주하, 인용하 and the use verbs are left out because repeated definitions, data-handling rules and operating rules end the same way. A single such sentence is left to the advisory ko-status-negation rule.",
912
914
  "fixture_ids": [
@@ -918,14 +920,15 @@
918
920
  "id": "en-negative-pledge",
919
921
  "lang": "en",
920
922
  "severity": "block",
921
- "pattern": "\\b(?:this|these)\\s+(?:deck|report|document|analysis|table|chart|figure|figures|numbers|results|slide|comparison)\\s+(?:(?:is|are)\\s+not\\s+(?:intended|meant|to\\s+be\\s+(?:read|used|taken|interpreted))(?:\\s+to\\s+be\\s+(?:read|used|taken|interpreted))?\\s+as\\b(?!\\s*(?:a\\s+substitute|a\\s+replacement|(?:legal|investment|medical|professional)\\s+advice))\\s+(?:an?\\s+|the\\s+)?(?:[A-Za-z0-9-]+\\s+){0,4}?(?:comparison|benchmark|ranking)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)|(?:should|must)\\s+not\\s+be\\s+(?:read|used|taken|interpreted)\\s+as\\s+(?:an?\\s+|the\\s+)?(?:[A-Za-z0-9-]+\\s+){0,4}?(?:comparison|benchmark|ranking)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)|makes?\\s+no\\s+claims?\\s+(?:about|that|regarding|as\\s+to)\\b)|\\b(?:this|these)\\s+(?:is|are)\\s+not\\s+(?:intended|meant)\\s+as\\b(?!\\s*(?:a\\s+substitute|a\\s+replacement|(?:legal|investment|medical|professional)\\s+advice))\\s+(?:an?\\s+|the\\s+)?(?:[A-Za-z0-9-]+\\s+){0,4}?(?:comparison|benchmark|ranking)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)|\\bthe\\s+(?:deck|report|document|analysis)\\s+makes?\\s+no\\s+claims?\\s+(?:about|that|regarding|as\\s+to)\\b|(?:^|\\s[-*]\\s)\\s*(?:[-*]\\s+|\\d+\\.\\s+)?(?:[*_]{1,2})?not\\s+(?:intended|meant|to\\s+be\\s+read|to\\s+be\\s+used)\\s+as\\b(?!\\s*(?:a\\s+substitute|a\\s+replacement|(?:legal|investment|medical|professional)\\s+advice))\\s+(?:an?\\s+|the\\s+)?(?:[A-Za-z0-9-]+\\s+){0,4}?(?:comparison|benchmark|ranking)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)|\\b(?:this|these)\\s+(?:table|chart|figure|figures|numbers|results|comparison|analysis)\\s+(?:does|do)\\s+not\\s+constitute\\s+(?:an?\\s+)?[^.!?]{0,60}?\\b(?:comparison|benchmark|ranking)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)",
923
+ "pattern": "\\b(?:this|these)\\s+(?:deck|report|document|analysis|table|chart|figure|figures|numbers|results|slide|comparison)\\s+(?:(?:is|are)\\s+not\\s+(?:intended|meant|to\\s+be\\s+(?:read|used|taken|interpreted))(?:\\s+to\\s+be\\s+(?:read|used|taken|interpreted))?\\s+as\\b(?!\\s*(?:a\\s+substitute|a\\s+replacement|(?:legal|investment|medical|professional)\\s+advice))\\s+(?:an?\\s+|the\\s+)?(?:[A-Za-z0-9-]+\\s+){0,4}?(?:comparison|benchmark|ranking)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)|(?:should|must)\\s+not\\s+be\\s+(?:read|used|taken|interpreted)\\s+as\\s+(?:an?\\s+|the\\s+)?(?:[A-Za-z0-9-]+\\s+){0,4}?(?:comparison|benchmark|ranking)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)|makes?\\s+no\\s+claims?\\s+(?:about|that|regarding|as\\s+to)\\b)|\\b(?:this|these)\\s+(?:is|are)\\s+not\\s+(?:intended|meant)\\s+as\\b(?!\\s*(?:a\\s+substitute|a\\s+replacement|(?:legal|investment|medical|professional)\\s+advice))\\s+(?:an?\\s+|the\\s+)?(?:[A-Za-z0-9-]+\\s+){0,4}?(?:comparison|benchmark|ranking)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)|\\bthe\\s+(?:deck|report|document|analysis)\\s+makes?\\s+no\\s+claims?\\s+(?:about|that|regarding|as\\s+to)\\b|(?:^|\\s[-*]\\s)\\s*(?:[-*]\\s+|\\d+\\.\\s+)?(?:[*_]{1,2})?not\\s+(?:intended|meant|to\\s+be\\s+read|to\\s+be\\s+used)\\s+as\\b(?!\\s*(?:a\\s+substitute|a\\s+replacement|(?:legal|investment|medical|professional)\\s+advice))\\s+(?:an?\\s+|the\\s+)?(?:[A-Za-z0-9-]+\\s+){0,4}?(?:comparison|benchmark|ranking)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)|\\b(?:this|these)\\s+(?:table|chart|figure|figures|numbers|results|comparison|analysis)\\s+(?:does|do)\\s+not\\s+constitute\\s+(?:an?\\s+)?[^.!?]{0,60}?\\b(?:comparison|benchmark|ranking)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)|\\bthey\\s+are\\s+not\\s+(?:an?\\s+)?(?:comparison|benchmark|ranking)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)(?=\\s*(?:[.!?*_]|$))|\\b(?:do\\s+not|don[’']t)\\s+compare\\s+(?:these|those)\\s+(?:numbers|figures|results|values|scores|latencies)(?:\\s+(?:with|to)\\s+(?:each\\s+other|one\\s+another)\\b|(?=\\s*(?:[.!?*_]|$)))|\\b(?:these|those|the)\\s+(?:numbers|figures)\\s+are\\s+not\\s+comparable(?:\\s+(?:with|to)\\s+(?:each\\s+other|one\\s+another)\\b|(?=\\s*(?:[.!?*_]|$)))|\\b(?:this|the|these|our)\\s+(?:table|chart|figure|graph|list|report|document|deck|slide|page|summary|overview|analysis)s?\\s+(?:is|are)\\s+not\\s+(?:(?:meant|intended)\\s+)?(?:(?:to\\s+be\\s+)?(?:an?\\s+)?(?:ranking|benchmark|comparison|leaderboard|endorsement)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)(?=\\s*(?:[.!?*_]|$))|to\\s+(?:rank|compare|benchmark)\\b)|\\b(?:do\\s+not|don[’']t)\\s+read\\s+(?:this|the|these|our)\\s+(?:table|chart|figure|graph|list|report|document|deck|slide|page|summary|overview|analysis)s?\\s+as\\s+(?:an?\\s+)?(?:comparison|benchmark|ranking)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)",
922
924
  "flags": "i",
923
925
  "scope": "sentence",
924
926
  "context": [
925
927
  "fenced_code",
926
- "quoted_user_text"
928
+ "quoted_user_text",
929
+ "blockquote_callout"
927
930
  ],
928
- "rationale": "A sentence saying the deck, report or numbers are not intended, meant or to be read as a comparison, benchmark or ranking, that a table or set of figures does not constitute one, or that a document makes no claim about something, belongs in the chat reply. The comparison, benchmark or ranking noun is required so safety labels and advice, offer or diagnosis notices stay clean; \"does not constitute\" is limited to table-like subjects, and \"the\" opens a refusable sentence only with \"makes no claim\".",
931
+ "rationale": "A sentence saying the deck, report or numbers are not intended, meant or to be read as a comparison, benchmark or ranking, or that the document makes no claim about something, belongs in the chat reply. The same refusal covers a table, chart or set of figures that does not constitute one, a closing \"they are not a ranking.\", \"do not compare these numbers (with each other).\" or \"the numbers are not comparable.\", and a deliverable subject (this table, the report, our deck) that is not a ranking, benchmark, comparison, leaderboard or endorsement or is not meant to rank or compare. The comparison, benchmark or ranking noun is required so safety labels and advice, offer or diagnosis notices stay clean; a refusal that goes on to describe or instruct (a ranking of schools, comparable with the previous release, compare these values directly; convert to SI first, this is not a benchmark, it is …) stays clean, and a bare \"this\" is not a subject. A bold-label callout line (> **Note:** …) is read as well; a plain quote is not.",
929
932
  "fixture_ids": [
930
933
  "en-negative-pledge:positive",
931
934
  "en-negative-pledge:negative"
@@ -82,7 +82,12 @@ function sourceRows(text) {
82
82
  if (/^\s{0,3}>\s?/.test(line)) {
83
83
  captionPending = 0;
84
84
  figureActive = false;
85
- return { line, number: index + 1, candidate: '', skipped: true, caption: false, captionAttribution: false };
85
+ // A quote that opens with a bold label (> **주의:** ...) is the author's own callout, not quoted
86
+ // user text. Rules with the blockquote_callout context still read it, with the marker blanked.
87
+ const callout = /^\s{0,3}>\s?(?:\*\*|__)[^*_\n]{1,24}(?:\*\*|__)/.test(line)
88
+ ? inlineCodeAsSpaces(line.replace(/^\s{0,3}>\s?/, (prefix) => ' '.repeat(prefix.length)))
89
+ : '';
90
+ return { line, number: index + 1, candidate: '', callout, skipped: true, caption: false, captionAttribution: false };
86
91
  }
87
92
  const candidate = inlineCodeAsSpaces(line);
88
93
  const caption = isCaption(line);
@@ -149,7 +154,8 @@ function splitSentences(span) {
149
154
  }
150
155
 
151
156
  function ruleSegments(rows, rule, cache) {
152
- const cacheKey = `${rule.scope}/${rule.context.includes('table_figure_caption')}`;
157
+ const readCallouts = rule.context.includes('blockquote_callout');
158
+ const cacheKey = `${rule.scope}/${rule.context.includes('table_figure_caption')}/${readCallouts}`;
153
159
  if (cache.has(cacheKey)) return cache.get(cacheKey);
154
160
  const skipCaptions = rule.context.includes('table_figure_caption');
155
161
  const segments = [];
@@ -162,6 +168,11 @@ function ruleSegments(rows, rule, cache) {
162
168
  };
163
169
 
164
170
  for (const row of rows) {
171
+ if (readCallouts && row.callout) {
172
+ flush();
173
+ segments.push({ text: row.callout, line: row.number });
174
+ continue;
175
+ }
165
176
  const captionExempt = skipCaptions && (row.caption || row.captionAttribution);
166
177
  if (row.skipped || captionExempt || (rule.scope === 'sentence' && !row.candidate.trim())) {
167
178
  flush();
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@litcodex/lit-loop",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "LitCodex Lit-Loop runtime: durable repo-native multi-goal orchestration with embedded success criteria and observable evidence audit.",
5
5
  "type": "module",
6
6
  "private": true,
@@ -17,7 +17,7 @@ This original category comes from the 26 real lines in fixtures/pos-real.txt and
17
17
  - ko-bracket-status-tag and en-bracket-status-tag — ko/en, block. Replace bracket keys with a sentence describing the status.
18
18
  - ko-standalone-scope-disclaimer and en-standalone-scope-disclaimer — ko/en, block for stock disclaimers. Preserve a user-requested legal, medical or safety notice and place it once where it applies.
19
19
  - ko-status-negation, ko-mi-status, en-epistemic-negation and en-not-performed — warnings. A negative result or unperformed action may be the finding. Write the actor, scope and verb plainly; never turn unknown into false or an estimate into a fact.
20
- - ko-negative-pledge, ko-negative-pledge-repeat and en-negative-pledge — ko/en, block. A sentence that says what the document, table or number is not for (not a comparison, not a ranking, not to be read as a conclusion, not a public-use figure, the deck makes no claim) is a pledge about the artifact, not a finding. In a Codex edit it is refused before the write lands, so rewrite it: put the purpose boundary in the chat reply, or turn it into the fact it protects, written once beside the number it affects ("샘플은 한 공정 조건만 포함한다"). ko-negative-pledge is line-scoped and matches a self-reference subject with a negated claim verb, a comparison or ranking noun with a negated use verb, or a purpose-용 data noun with 아님; ko-negative-pledge-repeat fires when two such disclaimer sentences share a document; en-negative-pledge needs a comparison, benchmark or ranking noun. Operating rules (방폭 구역에서 사용하지 않습니다), method facts, negative findings and standard legal or financial notices stay outside these rules.
20
+ - ko-negative-pledge, ko-negative-pledge-repeat and en-negative-pledge — ko/en, block. A sentence that says what the document, table or number is not for (not a comparison, not a ranking, not to be read as a conclusion, not a public-use figure, the deck makes no claim) is a pledge about the artifact, not a finding. In a Codex edit it is refused before the write lands, so rewrite it: put the purpose boundary in the chat reply, or turn it into the fact it protects, written once beside the number it affects ("샘플은 한 공정 조건만 포함한다"). ko-negative-pledge is line-scoped and matches a self-reference subject with a negated claim verb or a 비교하려는/위한 것이 아님 form, a comparison or ranking noun with a negated use or reading verb, a purpose-용 data noun with 아님, numbers said to be incomparable or a ranking refused for this data, or a table whose row order is said not to be a ranking; ko-negative-pledge-repeat fires when two such disclaimer sentences share a document; en-negative-pledge needs a comparison, benchmark or ranking noun. The three rules also read a quote line that opens with a bold label (`> **주의:** …`), because that is the author's own callout; a plain `>` quote stays unread. Operating rules (방폭 구역에서 사용하지 않습니다, 숫자와 문자열은 서로 비교할 수 없습니다), method facts, negative findings and standard legal or financial notices stay outside these rules.
21
21
  - ko-status-negation also covers the 쓰지 form, the ~지 않습니다 and ~지 않았습니다 endings, and bold-wrapped endings. It stays a warning: a method fact such as 실제 운영 데이터로 검증하지 않았습니다 may be exactly what the reader needs, and a lone 아님 or 쓰지 않음 sentence is judged by that warning rather than by the block rules above.
22
22
  - ko-plain-meta-label-warn and en-plain-caveat-label — warnings for boundary headings. They may be useful in internal or technical packets.
23
23
  - en-knowledge-cutoff, en-ai-self-disclaimer, en-hope-helps and ko-chatbot-signoff — block. Remove the model wrapper or generic sign-off, then retain the answer.
@@ -884,14 +884,15 @@
884
884
  "id": "ko-negative-pledge",
885
885
  "lang": "ko",
886
886
  "severity": "block",
887
- "pattern": "(?<![가-힣])(?:이|본|해당|위|아래)\\s+(?:자료|문서|보고서|슬라이드|덱|표|그림|그래프|차트|수치|결과|비교|분석|내용|예시)(?:은|는)\\s[^.!?\\n]{0,40}?(?:(?:해석하|의미하|주장하|대표하)(?:지\\s*(?:[*_]{1,2}\\s*)?(?:않(?:음|는다|습니다)|말\\s*것|마세요|마십시오)|(?:으)?면\\s*(?:[*_]{1,2}\\s*)?안\\s*(?:됨|된다|됩니다))|(?:(?:비교|결론|벤치마크|순위|대표값|일반화)(?:이|가)|목적이|위한\\s*것이)\\s*(?:[*_]{1,2}\\s*)?(?:아님|아니다|아닙니다)(?![가-힣]))|(?:비교|결론|벤치마크|순위|대표값|일반화)(?:으로|로)\\s*(?:[*_]{1,2}\\s*)?(?:쓰|사용하|해석하|읽|간주하|인용하)(?:지\\s*(?:[*_]{1,2}\\s*)?(?:않(?:음|는다|습니다)|말\\s*것|마세요|마십시오)|(?:으)?면\\s*(?:[*_]{1,2}\\s*)?안\\s*(?:됨|된다|됩니다))|(?:공개|배포|대외|외부|홍보|발표|보고|비교|인용|공식)용\\s*(?:자료|문서|수치|표|그래프)(?:이|가)\\s*(?:[*_]{1,2}\\s*)?(?:아님|아니다|아닙니다)(?![가-힣])",
887
+ "pattern": "(?<![가-힣])(?:이|본|해당|위|아래)\\s+(?:자료|문서|보고서|슬라이드|덱|표|그림|그래프|차트|수치|결과|비교|분석|내용|예시)(?:은|는)\\s[^.!?\\n]{0,40}?(?:(?:해석하|의미하|주장하|대표하)(?:지\\s*(?:[*_]{1,2}\\s*)?(?:않(?:음|는다|습니다)|말\\s*것|마세요|마십시오|말아\\s*주(?:세요|십시오))|(?:으)?면\\s*(?:[*_]{1,2}\\s*)?안\\s*(?:됨|된다|됩니다)(?![가-힣]))|(?:(?:비교|결론|벤치마크|순위|대표값|일반화)(?:이|가)|목적이|(?:위한|려는)\\s*것이)\\s*(?:[*_]{1,2}\\s*)?(?:아님|아니다|아닙니다)(?![가-힣])|순위표(?:이|가)\\s*(?:[*_]{1,2}\\s*)?(?:아님|아니다|아닙니다|아니고)(?![가-힣]))|(?:비교|결론|벤치마크|순위|대표값|일반화)(?:처럼|으로|로)\\s*(?:[*_]{1,2}\\s*)?(?:쓰|사용하|해석하|읽|간주하|인용하)(?:지\\s*(?:[*_]{1,2}\\s*)?(?:않(?:음|는다|습니다)|말\\s*것|마세요|마십시오|말아\\s*주(?:세요|십시오))|(?:으)?면\\s*(?:[*_]{1,2}\\s*)?안\\s*(?:됨|된다|됩니다)(?![가-힣]))|(?:공개|배포|대외|외부|홍보|발표|보고|비교|인용|공식)용\\s*(?:자료|문서|수치|표|그래프)(?:이|가)\\s*(?:[*_]{1,2}\\s*)?(?:아님|아니다|아닙니다)(?![가-힣])|(?<![가-힣])(?:숫자|수치)(?:들)?(?:은|는|이|가|을|를|끼리|도)(?![가-힣])(?:(?!면\\s)[^.!?\\n]){0,40}?(?<![와과]\\s)(?<![와과])비교할\\s*수\\s*(?:는\\s*)?없(?:다|습니다|음|나)(?![가-힣])|(?<![가-힣])(?:숫자|수치)(?:들)?끼리\\s*(?:서로\\s*|직접\\s*)?비교(?:해서|하여|해)\\s[^.!?\\n]{0,30}?[\"”’']\\s*(?:는|라는)\\s*결론[^.!?\\n]{0,8}?(?:수\\s*없(?:다|습니다)(?![가-힣])|(?:으)?면\\s*(?:[*_]{1,2}\\s*)?안\\s*(?:됨|된다|됩니다)(?![가-힣]))|(?:(?<![가-힣])(?:숫자|수치)(?:들)?|(?<![가-힣])(?:이|위|아래|본)\\s+(?:표|값|자료|그래프|차트))[^.!?\\n]{0,40}?(?:빠르|느리)다고\\s*판단하(?:지\\s*(?:[*_]{1,2}\\s*)?(?:말\\s*것|마세요|마십시오|말아\\s*주(?:세요|십시오))|(?:으)?면\\s*(?:[*_]{1,2}\\s*)?안\\s*(?:됨|된다|됩니다)(?![가-힣]))|(?:빠르|느리)다[\"”’']?\\s*(?:는|라는)\\s*식으로\\s*읽(?:지\\s*(?:[*_]{1,2}\\s*)?(?:말\\s*것|마세요|마십시오|말아\\s*주(?:세요|십시오))|(?:으)?면\\s*(?:[*_]{1,2}\\s*)?안\\s*(?:됨|된다|됩니다)(?![가-힣]))|만으로\\s[^.!?\\n]{0,40}?(?<![가-힣])순위를\\s*정하[^.!?\\n]{0,25}?(?:수\\s*없(?:다|습니다|음)(?![가-힣])|(?:해|하)서는\\s*안\\s*(?:됨|된다|됩니다)(?![가-힣]))|(?<![가-힣])순위[^.!?\\n]{0,20}?근거로\\s*(?:[*_]{1,2}\\s*)?사용할\\s*수\\s*(?:는\\s*)?없(?:다|습니다|음)(?![가-힣])|할\\s*수\\s*없는\\s*것\\s{0,3}:\\s{0,3}(?:[*_]{1,2}\\s{0,3})?[^.!?\\n]{0,30}?(?<![가-힣])순위를?\\s*매기거나|(?<![가-힣])표의\\s+(?:나열\\s+)?순서(?:는|가)\\s[^.!?\\n]{0,20}?(?<![가-힣])순위(?:(?:를|을)\\s*뜻하지\\s*(?:[*_]{1,2}\\s*)?않(?:음|는다|습니다)|(?:가|이)\\s*(?:[*_]{1,2}\\s*)?(?:아님|아니다|아닙니다)(?![가-힣]))",
888
888
  "flags": "m",
889
889
  "scope": "line",
890
890
  "context": [
891
891
  "fenced_code",
892
- "quoted_user_text"
892
+ "quoted_user_text",
893
+ "blockquote_callout"
893
894
  ],
894
- "rationale": "A line that tells the reader what the document, table or number is not for does not belong in the deliverable; it goes in the chat reply, or it is rewritten as a fact about the data. Three shapes are refused: a self-reference topic (이/본/해당/위/아래 plus a document noun) followed by a negated claim verb or a claim noun plus 아님 on the same line; a comparison, conclusion or ranking noun plus (으)로 and a negated use verb; and a purpose-용 data noun such as 공개용 수치 plus 아님. Use verbs after a self-reference, 근거/평가/증거/추천, and the legal or financial notice verbs (대체하, 보장하, 권유) stay outside the pattern, because operating rules, method lines and standard notices are written with them.",
895
+ "rationale": "A line that tells the reader what the document, table or number is not for belongs in the chat reply, or it becomes a fact about the data. Refused shapes: a self-reference topic (이/본/해당/위/아래 plus a document noun plus 은/는) followed on the same line by a negated claim verb, a claim noun plus 아님, or 위한/려는 것이 아님; a comparison or ranking noun plus (으)로/처럼 and a negated use or reading verb, including the polite 말아 주세요 form; a purpose-용 data noun such as 공개용 수치 plus 아님; 숫자/수치 said to be incomparable, or compared among themselves toward a quoted verdict; a speed judgment forbidden for these numbers; a ranking refused for this data (…만으로 순위를 정할 수 없다, 할 수 없는 것: 순위를 매기거나); and a table whose row order is said not to be a ranking. Kept outside the pattern because operating rules, method lines, manuals and standard notices are written with them: use verbs after a self-reference, 근거/평가/증거/추천, inference limits, conditional method facts, type-system rules, reported speech and explainers, order notices with no table anchor, and the legal or financial notice verbs (대체하, 보장하, 권유). A bold-label callout line (> **주의:** …) is read as well; a plain quote is not.",
895
896
  "fixture_ids": [
896
897
  "ko-negative-pledge:positive",
897
898
  "ko-negative-pledge:negative"
@@ -906,7 +907,8 @@
906
907
  "scope": "document",
907
908
  "context": [
908
909
  "fenced_code",
909
- "quoted_user_text"
910
+ "quoted_user_text",
911
+ "blockquote_callout"
910
912
  ],
911
913
  "rationale": "Two or more sentences that end in 해석하지/주장하지/대표하지 않음, or in a claim noun plus 이/가 plus 아님, turn a document into a list of disclaimers. 의미하, 간주하, 인용하 and the use verbs are left out because repeated definitions, data-handling rules and operating rules end the same way. A single such sentence is left to the advisory ko-status-negation rule.",
912
914
  "fixture_ids": [
@@ -918,14 +920,15 @@
918
920
  "id": "en-negative-pledge",
919
921
  "lang": "en",
920
922
  "severity": "block",
921
- "pattern": "\\b(?:this|these)\\s+(?:deck|report|document|analysis|table|chart|figure|figures|numbers|results|slide|comparison)\\s+(?:(?:is|are)\\s+not\\s+(?:intended|meant|to\\s+be\\s+(?:read|used|taken|interpreted))(?:\\s+to\\s+be\\s+(?:read|used|taken|interpreted))?\\s+as\\b(?!\\s*(?:a\\s+substitute|a\\s+replacement|(?:legal|investment|medical|professional)\\s+advice))\\s+(?:an?\\s+|the\\s+)?(?:[A-Za-z0-9-]+\\s+){0,4}?(?:comparison|benchmark|ranking)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)|(?:should|must)\\s+not\\s+be\\s+(?:read|used|taken|interpreted)\\s+as\\s+(?:an?\\s+|the\\s+)?(?:[A-Za-z0-9-]+\\s+){0,4}?(?:comparison|benchmark|ranking)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)|makes?\\s+no\\s+claims?\\s+(?:about|that|regarding|as\\s+to)\\b)|\\b(?:this|these)\\s+(?:is|are)\\s+not\\s+(?:intended|meant)\\s+as\\b(?!\\s*(?:a\\s+substitute|a\\s+replacement|(?:legal|investment|medical|professional)\\s+advice))\\s+(?:an?\\s+|the\\s+)?(?:[A-Za-z0-9-]+\\s+){0,4}?(?:comparison|benchmark|ranking)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)|\\bthe\\s+(?:deck|report|document|analysis)\\s+makes?\\s+no\\s+claims?\\s+(?:about|that|regarding|as\\s+to)\\b|(?:^|\\s[-*]\\s)\\s*(?:[-*]\\s+|\\d+\\.\\s+)?(?:[*_]{1,2})?not\\s+(?:intended|meant|to\\s+be\\s+read|to\\s+be\\s+used)\\s+as\\b(?!\\s*(?:a\\s+substitute|a\\s+replacement|(?:legal|investment|medical|professional)\\s+advice))\\s+(?:an?\\s+|the\\s+)?(?:[A-Za-z0-9-]+\\s+){0,4}?(?:comparison|benchmark|ranking)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)|\\b(?:this|these)\\s+(?:table|chart|figure|figures|numbers|results|comparison|analysis)\\s+(?:does|do)\\s+not\\s+constitute\\s+(?:an?\\s+)?[^.!?]{0,60}?\\b(?:comparison|benchmark|ranking)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)",
923
+ "pattern": "\\b(?:this|these)\\s+(?:deck|report|document|analysis|table|chart|figure|figures|numbers|results|slide|comparison)\\s+(?:(?:is|are)\\s+not\\s+(?:intended|meant|to\\s+be\\s+(?:read|used|taken|interpreted))(?:\\s+to\\s+be\\s+(?:read|used|taken|interpreted))?\\s+as\\b(?!\\s*(?:a\\s+substitute|a\\s+replacement|(?:legal|investment|medical|professional)\\s+advice))\\s+(?:an?\\s+|the\\s+)?(?:[A-Za-z0-9-]+\\s+){0,4}?(?:comparison|benchmark|ranking)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)|(?:should|must)\\s+not\\s+be\\s+(?:read|used|taken|interpreted)\\s+as\\s+(?:an?\\s+|the\\s+)?(?:[A-Za-z0-9-]+\\s+){0,4}?(?:comparison|benchmark|ranking)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)|makes?\\s+no\\s+claims?\\s+(?:about|that|regarding|as\\s+to)\\b)|\\b(?:this|these)\\s+(?:is|are)\\s+not\\s+(?:intended|meant)\\s+as\\b(?!\\s*(?:a\\s+substitute|a\\s+replacement|(?:legal|investment|medical|professional)\\s+advice))\\s+(?:an?\\s+|the\\s+)?(?:[A-Za-z0-9-]+\\s+){0,4}?(?:comparison|benchmark|ranking)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)|\\bthe\\s+(?:deck|report|document|analysis)\\s+makes?\\s+no\\s+claims?\\s+(?:about|that|regarding|as\\s+to)\\b|(?:^|\\s[-*]\\s)\\s*(?:[-*]\\s+|\\d+\\.\\s+)?(?:[*_]{1,2})?not\\s+(?:intended|meant|to\\s+be\\s+read|to\\s+be\\s+used)\\s+as\\b(?!\\s*(?:a\\s+substitute|a\\s+replacement|(?:legal|investment|medical|professional)\\s+advice))\\s+(?:an?\\s+|the\\s+)?(?:[A-Za-z0-9-]+\\s+){0,4}?(?:comparison|benchmark|ranking)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)|\\b(?:this|these)\\s+(?:table|chart|figure|figures|numbers|results|comparison|analysis)\\s+(?:does|do)\\s+not\\s+constitute\\s+(?:an?\\s+)?[^.!?]{0,60}?\\b(?:comparison|benchmark|ranking)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)|\\bthey\\s+are\\s+not\\s+(?:an?\\s+)?(?:comparison|benchmark|ranking)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)(?=\\s*(?:[.!?*_]|$))|\\b(?:do\\s+not|don[’']t)\\s+compare\\s+(?:these|those)\\s+(?:numbers|figures|results|values|scores|latencies)(?:\\s+(?:with|to)\\s+(?:each\\s+other|one\\s+another)\\b|(?=\\s*(?:[.!?*_]|$)))|\\b(?:these|those|the)\\s+(?:numbers|figures)\\s+are\\s+not\\s+comparable(?:\\s+(?:with|to)\\s+(?:each\\s+other|one\\s+another)\\b|(?=\\s*(?:[.!?*_]|$)))|\\b(?:this|the|these|our)\\s+(?:table|chart|figure|graph|list|report|document|deck|slide|page|summary|overview|analysis)s?\\s+(?:is|are)\\s+not\\s+(?:(?:meant|intended)\\s+)?(?:(?:to\\s+be\\s+)?(?:an?\\s+)?(?:ranking|benchmark|comparison|leaderboard|endorsement)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)(?=\\s*(?:[.!?*_]|$))|to\\s+(?:rank|compare|benchmark)\\b)|\\b(?:do\\s+not|don[’']t)\\s+read\\s+(?:this|the|these|our)\\s+(?:table|chart|figure|graph|list|report|document|deck|slide|page|summary|overview|analysis)s?\\s+as\\s+(?:an?\\s+)?(?:comparison|benchmark|ranking)s?\\b(?!-)(?!\\s+(?:arm|arms|group|groups|standard|standards|class|baseline)\\b)",
922
924
  "flags": "i",
923
925
  "scope": "sentence",
924
926
  "context": [
925
927
  "fenced_code",
926
- "quoted_user_text"
928
+ "quoted_user_text",
929
+ "blockquote_callout"
927
930
  ],
928
- "rationale": "A sentence saying the deck, report or numbers are not intended, meant or to be read as a comparison, benchmark or ranking, that a table or set of figures does not constitute one, or that a document makes no claim about something, belongs in the chat reply. The comparison, benchmark or ranking noun is required so safety labels and advice, offer or diagnosis notices stay clean; \"does not constitute\" is limited to table-like subjects, and \"the\" opens a refusable sentence only with \"makes no claim\".",
931
+ "rationale": "A sentence saying the deck, report or numbers are not intended, meant or to be read as a comparison, benchmark or ranking, or that the document makes no claim about something, belongs in the chat reply. The same refusal covers a table, chart or set of figures that does not constitute one, a closing \"they are not a ranking.\", \"do not compare these numbers (with each other).\" or \"the numbers are not comparable.\", and a deliverable subject (this table, the report, our deck) that is not a ranking, benchmark, comparison, leaderboard or endorsement or is not meant to rank or compare. The comparison, benchmark or ranking noun is required so safety labels and advice, offer or diagnosis notices stay clean; a refusal that goes on to describe or instruct (a ranking of schools, comparable with the previous release, compare these values directly; convert to SI first, this is not a benchmark, it is …) stays clean, and a bare \"this\" is not a subject. A bold-label callout line (> **Note:** …) is read as well; a plain quote is not.",
929
932
  "fixture_ids": [
930
933
  "en-negative-pledge:positive",
931
934
  "en-negative-pledge:negative"
@@ -82,7 +82,12 @@ function sourceRows(text) {
82
82
  if (/^\s{0,3}>\s?/.test(line)) {
83
83
  captionPending = 0;
84
84
  figureActive = false;
85
- return { line, number: index + 1, candidate: '', skipped: true, caption: false, captionAttribution: false };
85
+ // A quote that opens with a bold label (> **주의:** ...) is the author's own callout, not quoted
86
+ // user text. Rules with the blockquote_callout context still read it, with the marker blanked.
87
+ const callout = /^\s{0,3}>\s?(?:\*\*|__)[^*_\n]{1,24}(?:\*\*|__)/.test(line)
88
+ ? inlineCodeAsSpaces(line.replace(/^\s{0,3}>\s?/, (prefix) => ' '.repeat(prefix.length)))
89
+ : '';
90
+ return { line, number: index + 1, candidate: '', callout, skipped: true, caption: false, captionAttribution: false };
86
91
  }
87
92
  const candidate = inlineCodeAsSpaces(line);
88
93
  const caption = isCaption(line);
@@ -149,7 +154,8 @@ function splitSentences(span) {
149
154
  }
150
155
 
151
156
  function ruleSegments(rows, rule, cache) {
152
- const cacheKey = `${rule.scope}/${rule.context.includes('table_figure_caption')}`;
157
+ const readCallouts = rule.context.includes('blockquote_callout');
158
+ const cacheKey = `${rule.scope}/${rule.context.includes('table_figure_caption')}/${readCallouts}`;
153
159
  if (cache.has(cacheKey)) return cache.get(cacheKey);
154
160
  const skipCaptions = rule.context.includes('table_figure_caption');
155
161
  const segments = [];
@@ -162,6 +168,11 @@ function ruleSegments(rows, rule, cache) {
162
168
  };
163
169
 
164
170
  for (const row of rows) {
171
+ if (readCallouts && row.callout) {
172
+ flush();
173
+ segments.push({ text: row.callout, line: row.number });
174
+ continue;
175
+ }
165
176
  const captionExempt = skipCaptions && (row.caption || row.captionAttribution);
166
177
  if (row.skipped || captionExempt || (rule.scope === 'sentence' && !row.candidate.trim())) {
167
178
  flush();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@litfamily/litcodex",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "Codex CLI plugin that turns a request into a goal with checks, keeps the evidence in your project and hands unfinished work to the next session.",
5
5
  "keywords": [
6
6
  "codex",
@@ -52,7 +52,7 @@
52
52
  "readme-assets"
53
53
  ],
54
54
  "dependencies": {
55
- "@litcodex/lit-loop": "1.0.24"
55
+ "@litcodex/lit-loop": "1.0.25"
56
56
  },
57
57
  "bundledDependencies": [
58
58
  "@litcodex/lit-loop"
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="146" height="20" role="img" aria-label="release: 1.0.24"><title>release: 1.0.24</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.24</text></g></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="146" height="20" role="img" aria-label="release: 1.0.25"><title>release: 1.0.25</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.25</text></g></svg>