lanternspec 0.2.5__tar.gz → 0.2.7__tar.gz

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 (242) hide show
  1. {lanternspec-0.2.5/src/lanternspec.egg-info → lanternspec-0.2.7}/PKG-INFO +20 -3
  2. {lanternspec-0.2.5 → lanternspec-0.2.7}/README.md +19 -2
  3. {lanternspec-0.2.5 → lanternspec-0.2.7}/pyproject.toml +1 -1
  4. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/check/check_docs.py +51 -2
  5. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/check/doctor.py +72 -0
  6. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/check/layout.py +2 -1
  7. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/check/templates.py +1 -1
  8. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/cli/__init__.py +2 -2
  9. lanternspec-0.2.7/src/lanternspec/cli/refs.py +335 -0
  10. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/core/names.py +7 -1
  11. lanternspec-0.2.7/src/lanternspec/core/outline.py +248 -0
  12. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/core/profile.py +39 -0
  13. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/core/sections.py +17 -5
  14. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/core/state.py +9 -1
  15. lanternspec-0.2.7/src/lanternspec/refs/__init__.py +6 -0
  16. lanternspec-0.2.7/src/lanternspec/refs/domain.py +472 -0
  17. lanternspec-0.2.7/src/lanternspec/refs/index.py +556 -0
  18. lanternspec-0.2.7/src/lanternspec/refs/rules.py +260 -0
  19. lanternspec-0.2.7/src/lanternspec/refs/sources.py +285 -0
  20. lanternspec-0.2.7/src/lanternspec/refs/terms.py +452 -0
  21. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/report/obsidian.py +8 -7
  22. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/agents/AGENTS.md +2 -0
  23. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/skills/l-build/SKILL.md +3 -0
  24. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/skills/l-design/SKILL.md +3 -0
  25. lanternspec-0.2.7/src/lanternspec/resources/locales/en/skills/l-domain/SKILL.md +38 -0
  26. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/skills/l-plan/SKILL.md +6 -0
  27. lanternspec-0.2.7/src/lanternspec/resources/locales/en/skills/l-ref/SKILL.md +53 -0
  28. lanternspec-0.2.7/src/lanternspec/resources/locales/en/skills/l-ref/domain.md +27 -0
  29. lanternspec-0.2.7/src/lanternspec/resources/locales/en/skills/l-ref/rules.md +40 -0
  30. lanternspec-0.2.7/src/lanternspec/resources/locales/en/skills/l-ref/terms.md +31 -0
  31. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/skills/l-task/SKILL.md +1 -0
  32. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/skills/l-template/SKILL.md +4 -2
  33. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/templates/ADR.md +7 -6
  34. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/templates/API.md +6 -3
  35. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/templates/Architecture.md +5 -4
  36. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/templates/Collaboration Rules.md +5 -4
  37. lanternspec-0.2.7/src/lanternspec/resources/locales/en/templates/Competency Card.md +46 -0
  38. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/templates/Data.md +6 -3
  39. lanternspec-0.2.7/src/lanternspec/resources/locales/en/templates/Debt Card.md +50 -0
  40. lanternspec-0.2.7/src/lanternspec/resources/locales/en/templates/Design.md +70 -0
  41. lanternspec-0.2.7/src/lanternspec/resources/locales/en/templates/Docs MOC.md +28 -0
  42. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/templates/Feature List.md +6 -3
  43. lanternspec-0.2.7/src/lanternspec/resources/locales/en/templates/Glossary.md +31 -0
  44. lanternspec-0.2.7/src/lanternspec/resources/locales/en/templates/Idea.md +47 -0
  45. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/templates/Known Tech.md +6 -3
  46. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/templates/Legacy Map.md +9 -3
  47. lanternspec-0.2.7/src/lanternspec/resources/locales/en/templates/Log.md +48 -0
  48. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/templates/Meeting Notes.md +4 -3
  49. lanternspec-0.2.7/src/lanternspec/resources/locales/en/templates/Plan.md +73 -0
  50. lanternspec-0.2.7/src/lanternspec/resources/locales/en/templates/Project Definition.md +54 -0
  51. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/templates/Screens.md +6 -3
  52. lanternspec-0.2.7/src/lanternspec/resources/locales/en/templates/Session Log.md +29 -0
  53. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/templates/Tasks.md +8 -6
  54. lanternspec-0.2.7/src/lanternspec/resources/locales/en/templates/Work Division Rules.md +36 -0
  55. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/agents/AGENTS.md +2 -0
  56. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/skills/l-build/SKILL.md +3 -0
  57. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/skills/l-design/SKILL.md +3 -0
  58. lanternspec-0.2.7/src/lanternspec/resources/locales/ko/skills/l-domain/SKILL.md +38 -0
  59. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/skills/l-plan/SKILL.md +6 -0
  60. lanternspec-0.2.7/src/lanternspec/resources/locales/ko/skills/l-ref/SKILL.md +53 -0
  61. lanternspec-0.2.7/src/lanternspec/resources/locales/ko/skills/l-ref/domain.md +27 -0
  62. lanternspec-0.2.7/src/lanternspec/resources/locales/ko/skills/l-ref/rules.md +40 -0
  63. lanternspec-0.2.7/src/lanternspec/resources/locales/ko/skills/l-ref/terms.md +31 -0
  64. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/skills/l-task/SKILL.md +1 -0
  65. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/skills/l-template/SKILL.md +4 -2
  66. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/templates/ADR.md +7 -6
  67. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/templates/API.md +6 -3
  68. lanternspec-0.2.7/src/lanternspec/resources/locales/ko/templates//352/260/234/353/260/234/353/254/270/354/204/234 MOC.md" +28 -0
  69. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/templates//352/270/260/353/212/245 /353/252/251/353/241/235.md" +6 -3
  70. lanternspec-0.2.7/src/lanternspec/resources/locales/ko/templates//352/270/260/353/241/235.md +48 -0
  71. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/templates//352/270/260/354/241/264 /353/254/270/354/204/234 /354/247/200/353/217/204.md" +9 -3
  72. lanternspec-0.2.7/src/lanternspec/resources/locales/ko/templates//352/270/260/355/232/215.md +73 -0
  73. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/templates//353/215/260/354/235/264/355/204/260.md +6 -3
  74. lanternspec-0.2.7/src/lanternspec/resources/locales/ko/templates//353/266/200/354/261/204 /354/271/264/353/223/234.md" +50 -0
  75. lanternspec-0.2.7/src/lanternspec/resources/locales/ko/templates//354/204/244/352/263/204.md +70 -0
  76. lanternspec-0.2.7/src/lanternspec/resources/locales/ko/templates//354/204/270/354/205/230 /352/270/260/353/241/235.md" +29 -0
  77. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/templates//354/213/234/354/212/244/355/205/234 /352/265/254/354/241/260.md" +5 -4
  78. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/templates//354/225/204/353/212/224 /352/270/260/354/210/240.md" +6 -3
  79. lanternspec-0.2.7/src/lanternspec/resources/locales/ko/templates//354/225/204/354/235/264/353/224/224/354/226/264.md +47 -0
  80. lanternspec-0.2.7/src/lanternspec/resources/locales/ko/templates//354/227/255/353/237/211 /354/271/264/353/223/234.md" +46 -0
  81. lanternspec-0.2.7/src/lanternspec/resources/locales/ko/templates//354/232/251/354/226/264/354/247/221.md +31 -0
  82. lanternspec-0.2.7/src/lanternspec/resources/locales/ko/templates//354/236/221/354/227/205 /353/202/230/353/210/204/352/270/260 /352/270/260/354/244/200.md" +36 -0
  83. lanternspec-0.2.7/src/lanternspec/resources/locales/ko/templates//355/224/204/353/241/234/354/240/235/355/212/270 /354/240/225/354/235/230/354/204/234.md" +54 -0
  84. lanternspec-0.2.7/src/lanternspec/resources/locales/ko/templates//355/225/240 /354/235/274.md" +36 -0
  85. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/templates//355/230/221/354/227/205 /352/267/234/354/271/231.md" +5 -4
  86. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/templates//355/231/224/353/251/264.md +6 -3
  87. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/templates//355/232/214/354/235/230/353/241/235.md +4 -3
  88. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/messages.yaml +134 -3
  89. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/names.yaml +14 -1
  90. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/tools/agent_hooks.py +89 -2
  91. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/tools/base.py +3 -2
  92. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/tools/claude.py +10 -3
  93. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/tools/close.py +14 -1
  94. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/tools/install.py +35 -3
  95. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/tools/rules.py +9 -4
  96. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/tools/skills.py +2 -0
  97. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/work/scaffold.py +4 -0
  98. {lanternspec-0.2.5 → lanternspec-0.2.7/src/lanternspec.egg-info}/PKG-INFO +20 -3
  99. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec.egg-info/SOURCES.txt +21 -0
  100. {lanternspec-0.2.5 → lanternspec-0.2.7}/tests/test_checks.py +7 -4
  101. {lanternspec-0.2.5 → lanternspec-0.2.7}/tests/test_core.py +1 -1
  102. {lanternspec-0.2.5 → lanternspec-0.2.7}/tests/test_english.py +1 -1
  103. {lanternspec-0.2.5 → lanternspec-0.2.7}/tests/test_install_and_aux.py +29 -12
  104. {lanternspec-0.2.5 → lanternspec-0.2.7}/tests/test_layout.py +3 -2
  105. {lanternspec-0.2.5 → lanternspec-0.2.7}/tests/test_obsidian.py +1 -1
  106. lanternspec-0.2.7/tests/test_refs.py +468 -0
  107. lanternspec-0.2.5/src/lanternspec/resources/locales/en/templates/Competency Card.md +0 -42
  108. lanternspec-0.2.5/src/lanternspec/resources/locales/en/templates/Debt Card.md +0 -46
  109. lanternspec-0.2.5/src/lanternspec/resources/locales/en/templates/Design.md +0 -61
  110. lanternspec-0.2.5/src/lanternspec/resources/locales/en/templates/Docs MOC.md +0 -26
  111. lanternspec-0.2.5/src/lanternspec/resources/locales/en/templates/Idea.md +0 -44
  112. lanternspec-0.2.5/src/lanternspec/resources/locales/en/templates/Log.md +0 -45
  113. lanternspec-0.2.5/src/lanternspec/resources/locales/en/templates/Plan.md +0 -59
  114. lanternspec-0.2.5/src/lanternspec/resources/locales/en/templates/Project Definition.md +0 -50
  115. lanternspec-0.2.5/src/lanternspec/resources/locales/en/templates/Session Log.md +0 -27
  116. lanternspec-0.2.5/src/lanternspec/resources/locales/en/templates/Work Division Rules.md +0 -29
  117. lanternspec-0.2.5/src/lanternspec/resources/locales/ko/templates//352/260/234/353/260/234/353/254/270/354/204/234 MOC.md" +0 -26
  118. lanternspec-0.2.5/src/lanternspec/resources/locales/ko/templates//352/270/260/353/241/235.md +0 -45
  119. lanternspec-0.2.5/src/lanternspec/resources/locales/ko/templates//352/270/260/355/232/215.md +0 -59
  120. lanternspec-0.2.5/src/lanternspec/resources/locales/ko/templates//353/266/200/354/261/204 /354/271/264/353/223/234.md" +0 -46
  121. lanternspec-0.2.5/src/lanternspec/resources/locales/ko/templates//354/204/244/352/263/204.md +0 -61
  122. lanternspec-0.2.5/src/lanternspec/resources/locales/ko/templates//354/204/270/354/205/230 /352/270/260/353/241/235.md" +0 -27
  123. lanternspec-0.2.5/src/lanternspec/resources/locales/ko/templates//354/225/204/354/235/264/353/224/224/354/226/264.md +0 -44
  124. lanternspec-0.2.5/src/lanternspec/resources/locales/ko/templates//354/227/255/353/237/211 /354/271/264/353/223/234.md" +0 -42
  125. lanternspec-0.2.5/src/lanternspec/resources/locales/ko/templates//354/236/221/354/227/205 /353/202/230/353/210/204/352/270/260 /352/270/260/354/244/200.md" +0 -29
  126. lanternspec-0.2.5/src/lanternspec/resources/locales/ko/templates//355/224/204/353/241/234/354/240/235/355/212/270 /354/240/225/354/235/230/354/204/234.md" +0 -50
  127. lanternspec-0.2.5/src/lanternspec/resources/locales/ko/templates//355/225/240 /354/235/274.md" +0 -34
  128. {lanternspec-0.2.5 → lanternspec-0.2.7}/LICENSE +0 -0
  129. {lanternspec-0.2.5 → lanternspec-0.2.7}/setup.cfg +0 -0
  130. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/__init__.py +0 -0
  131. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/__main__.py +0 -0
  132. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/check/__init__.py +0 -0
  133. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/check/budget.py +0 -0
  134. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/check/githooks.py +0 -0
  135. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/check/legacy.py +0 -0
  136. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/cli/check.py +0 -0
  137. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/cli/common.py +0 -0
  138. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/cli/core.py +0 -0
  139. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/cli/learn.py +0 -0
  140. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/cli/report.py +0 -0
  141. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/cli/tools.py +0 -0
  142. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/cli/work.py +0 -0
  143. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/core/__init__.py +0 -0
  144. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/core/enums.py +0 -0
  145. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/core/frontmatter.py +0 -0
  146. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/core/links.py +0 -0
  147. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/core/messages.py +0 -0
  148. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/core/meta.py +0 -0
  149. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/core/new_id.py +0 -0
  150. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/core/principles.py +0 -0
  151. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/core/project.py +0 -0
  152. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/core/taskfile.py +0 -0
  153. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/core/templating.py +0 -0
  154. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/learn/__init__.py +0 -0
  155. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/learn/debt.py +0 -0
  156. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/learn/knowledge/__init__.py +0 -0
  157. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/learn/knowledge/drafts.py +0 -0
  158. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/learn/knowledge/mcp_server.py +0 -0
  159. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/learn/knowledge/notion.py +0 -0
  160. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/learn/knowledge/obsidian.py +0 -0
  161. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/report/__init__.py +0 -0
  162. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/report/doc_map.py +0 -0
  163. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/report/evaluate.py +0 -0
  164. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/report/harness.py +0 -0
  165. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/report/principles_doc.py +0 -0
  166. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/report/resume.py +0 -0
  167. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/report/scan.py +0 -0
  168. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/report/sections_doc.py +0 -0
  169. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/report/status.py +0 -0
  170. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/report/views.py +0 -0
  171. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/__init__.py +0 -0
  172. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/conventions/go.yaml +0 -0
  173. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/conventions/python.yaml +0 -0
  174. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/conventions/rust.yaml +0 -0
  175. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/conventions/swift.yaml +0 -0
  176. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/conventions/typescript.yaml +0 -0
  177. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/skills/l-adr/SKILL.md +0 -0
  178. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/skills/l-check/SKILL.md +0 -0
  179. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/skills/l-idea/SKILL.md +0 -0
  180. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/skills/l-init/SKILL.md +0 -0
  181. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/skills/l-learn/SKILL.md +0 -0
  182. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/skills/l-map/SKILL.md +0 -0
  183. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/skills/l-report/SKILL.md +0 -0
  184. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/skills/l-resume/SKILL.md +0 -0
  185. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/skills/l-sync/SKILL.md +0 -0
  186. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/templates/Deployment.md +0 -0
  187. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/templates/Platform Integration.md +0 -0
  188. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/templates/Server Operations.md +0 -0
  189. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/en/templates/_meta/enums.yaml +0 -0
  190. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/skills/l-adr/SKILL.md +0 -0
  191. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/skills/l-check/SKILL.md +0 -0
  192. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/skills/l-idea/SKILL.md +0 -0
  193. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/skills/l-init/SKILL.md +0 -0
  194. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/skills/l-learn/SKILL.md +0 -0
  195. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/skills/l-map/SKILL.md +0 -0
  196. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/skills/l-report/SKILL.md +0 -0
  197. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/skills/l-resume/SKILL.md +0 -0
  198. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/skills/l-sync/SKILL.md +0 -0
  199. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/templates/_meta/enums.yaml +0 -0
  200. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/templates//353/260/260/355/217/254.md" +0 -0
  201. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/templates//354/204/234/353/262/204 /353/260/260/355/217/254 /302/267 /354/232/264/354/230/201.md" +0 -0
  202. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/locales/ko/templates//355/224/214/353/236/253/355/217/274 /354/227/260/353/217/231.md" +0 -0
  203. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/resources/principles.yaml +0 -0
  204. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/tools/__init__.py +0 -0
  205. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/tools/antigravity.py +0 -0
  206. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/tools/codex.py +0 -0
  207. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/tools/docs_mode.py +0 -0
  208. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/tools/health.py +0 -0
  209. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/tools/parts.py +0 -0
  210. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/tools/runlog.py +0 -0
  211. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/tools/sessions.py +0 -0
  212. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/work/__init__.py +0 -0
  213. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/work/branches.py +0 -0
  214. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/work/dbml.py +0 -0
  215. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/work/epic_rules.py +0 -0
  216. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/work/ideas.py +0 -0
  217. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/work/pack.py +0 -0
  218. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/work/progress.py +0 -0
  219. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/work/screen.py +0 -0
  220. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/work/stages.py +0 -0
  221. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec/work/tasks.py +0 -0
  222. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec.egg-info/dependency_links.txt +0 -0
  223. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec.egg-info/entry_points.txt +0 -0
  224. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec.egg-info/requires.txt +0 -0
  225. {lanternspec-0.2.5 → lanternspec-0.2.7}/src/lanternspec.egg-info/top_level.txt +0 -0
  226. {lanternspec-0.2.5 → lanternspec-0.2.7}/tests/test_budget.py +0 -0
  227. {lanternspec-0.2.5 → lanternspec-0.2.7}/tests/test_enums_single_source.py +0 -0
  228. {lanternspec-0.2.5 → lanternspec-0.2.7}/tests/test_git.py +0 -0
  229. {lanternspec-0.2.5 → lanternspec-0.2.7}/tests/test_later_features.py +0 -0
  230. {lanternspec-0.2.5 → lanternspec-0.2.7}/tests/test_learning_line.py +0 -0
  231. {lanternspec-0.2.5 → lanternspec-0.2.7}/tests/test_messages.py +0 -0
  232. {lanternspec-0.2.5 → lanternspec-0.2.7}/tests/test_name_overlap.py +0 -0
  233. {lanternspec-0.2.5 → lanternspec-0.2.7}/tests/test_names.py +0 -0
  234. {lanternspec-0.2.5 → lanternspec-0.2.7}/tests/test_part_delivery.py +0 -0
  235. {lanternspec-0.2.5 → lanternspec-0.2.7}/tests/test_parts.py +0 -0
  236. {lanternspec-0.2.5 → lanternspec-0.2.7}/tests/test_principles.py +0 -0
  237. {lanternspec-0.2.5 → lanternspec-0.2.7}/tests/test_principles_data.py +0 -0
  238. {lanternspec-0.2.5 → lanternspec-0.2.7}/tests/test_release_script.py +0 -0
  239. {lanternspec-0.2.5 → lanternspec-0.2.7}/tests/test_resume.py +0 -0
  240. {lanternspec-0.2.5 → lanternspec-0.2.7}/tests/test_skill_commands.py +0 -0
  241. {lanternspec-0.2.5 → lanternspec-0.2.7}/tests/test_tool_health.py +0 -0
  242. {lanternspec-0.2.5 → lanternspec-0.2.7}/tests/test_work_line.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lanternspec
3
- Version: 0.2.5
3
+ Version: 0.2.7
4
4
  Summary: Spec-driven development for agentic software engineering
5
5
  Author: Jihyeok Jeong
6
6
  License-Expression: MIT
@@ -125,6 +125,8 @@ flowchart LR
125
125
  | `/l-map` | updates the MOC (document map) | `Docs MOC.md` |
126
126
  | `/l-adr` | records decisions that are hard to reverse | `Decisions/ADR-001 …` |
127
127
  | `/l-resume` | carries on an earlier conversation — from any AI tool, from where it stopped even if it was cut off | — |
128
+ | `/l-ref` | brings in company rules, glossaries and domain knowledge, indexes them by section and gets each section's use approved | the index, company rules in `AGENTS.md`, `Glossary.md` |
129
+ | `/l-domain` | when domain rules matter, finds the matching section in the index and reads just that section word for word | (the plan's "Domain Knowledge Used") |
128
130
 
129
131
  ### How it works
130
132
  - **Scripts handle the format, the AI writes the content.** Numbering, files, folders, checks and status changes all go through the `lantern` command; the AI only writes content.
@@ -145,10 +147,11 @@ docs/
145
147
  ├─ 2. Work/W-001 …/ plan · design · tasks · log — the only place edited while working
146
148
  │ └─ Archive/ archive
147
149
  ├─ 3. Current State/ what the system looks like now — updated only when work is done, after approval
148
- │ └─ Rules/ · Decisions/ · Deployment and Operations/ …
150
+ │ └─ Rules/ · Decisions/ · Deployment and Operations/ · Glossary …
149
151
  ├─ 4. Operations/ reports · session logs · (teams of 2+) meeting notes
150
152
  ├─ 5. Legacy Docs/ (existing projects) original documents, kept unchanged
151
- └─ 📒 Debt/ understanding debt — one card per debt
153
+ ├─ 📒 Debt/ understanding debt — one card per debt
154
+ └─ 📚 Domain Knowledge/ laws · policies · business rules (the Domain Knowledge MOC shows the index)
152
155
  ```
153
156
 
154
157
  Which documents you get depends on your `/l-init` answers (`lantern.yaml`; check with `lantern profile docs`).
@@ -207,6 +210,19 @@ lantern hooks install # turns on the commit and push checks (/l-init
207
210
  lantern install --ci # also checks on GitHub (turn off with --no-ci)
208
211
  ```
209
212
 
213
+ ## References — company rules, terms and domain knowledge
214
+
215
+ Material people already have stays in its own form and is indexed by section, so the AI reads only the sections it needs (`/l-ref`). It can live inside the project or outside it (`~/…`).
216
+
217
+ | Material | When it is read | How |
218
+ |---|---|---|
219
+ | Company rules | always | each section's scope and strength are approved, then it goes word for word into the matching `AGENTS.md` |
220
+ | Terms | when needed | `lantern check` finds the glossary's "words to avoid" in the documents |
221
+ | Domain knowledge | only the section, only when needed | sections picked from the `📚 Domain Knowledge/` index are attached to a work's plan and read when their task starts |
222
+
223
+ - **Outside material never reaches git.** Its paths, titles and index all stay in `.lantern/`.
224
+ - **Sections are read by address.** `lantern ref read "Privacy#Retention period"`
225
+
210
226
  ## Managing unfamiliar tech — knowledge base and understanding debt
211
227
 
212
228
  When the AI uses a technology you don't know, LanternSpec compares it with the notes in your knowledge base and sorts it into three groups.
@@ -271,6 +287,7 @@ work task next [--all]|start|done|ac|list|estimate · task add [--parallel
271
287
  learning knowledge search|read|propose|write|areas · debt find|new|ask|resolve|promote|practice|known|status|list · mcp
272
288
  reports report [--views] [--summary] · status · resume [--session] [--more] · scan [--tests] · sync adopt · eval · obsidian plugins
273
289
  templates template list|lint|level|bump|outdated|diff|usage|new|migrate · legacy adopt|todos
290
+ references ref list|check|index|read · tag|exclude|rules · terms|term|glossary|candidate · domain|describe|attach
274
291
  git hooks install|uninstall|status · docs-mode local|shared
275
292
  wrap-up close <skill>
276
293
  ```
@@ -110,6 +110,8 @@ flowchart LR
110
110
  | `/l-map` | updates the MOC (document map) | `Docs MOC.md` |
111
111
  | `/l-adr` | records decisions that are hard to reverse | `Decisions/ADR-001 …` |
112
112
  | `/l-resume` | carries on an earlier conversation — from any AI tool, from where it stopped even if it was cut off | — |
113
+ | `/l-ref` | brings in company rules, glossaries and domain knowledge, indexes them by section and gets each section's use approved | the index, company rules in `AGENTS.md`, `Glossary.md` |
114
+ | `/l-domain` | when domain rules matter, finds the matching section in the index and reads just that section word for word | (the plan's "Domain Knowledge Used") |
113
115
 
114
116
  ### How it works
115
117
  - **Scripts handle the format, the AI writes the content.** Numbering, files, folders, checks and status changes all go through the `lantern` command; the AI only writes content.
@@ -130,10 +132,11 @@ docs/
130
132
  ├─ 2. Work/W-001 …/ plan · design · tasks · log — the only place edited while working
131
133
  │ └─ Archive/ archive
132
134
  ├─ 3. Current State/ what the system looks like now — updated only when work is done, after approval
133
- │ └─ Rules/ · Decisions/ · Deployment and Operations/ …
135
+ │ └─ Rules/ · Decisions/ · Deployment and Operations/ · Glossary …
134
136
  ├─ 4. Operations/ reports · session logs · (teams of 2+) meeting notes
135
137
  ├─ 5. Legacy Docs/ (existing projects) original documents, kept unchanged
136
- └─ 📒 Debt/ understanding debt — one card per debt
138
+ ├─ 📒 Debt/ understanding debt — one card per debt
139
+ └─ 📚 Domain Knowledge/ laws · policies · business rules (the Domain Knowledge MOC shows the index)
137
140
  ```
138
141
 
139
142
  Which documents you get depends on your `/l-init` answers (`lantern.yaml`; check with `lantern profile docs`).
@@ -192,6 +195,19 @@ lantern hooks install # turns on the commit and push checks (/l-init
192
195
  lantern install --ci # also checks on GitHub (turn off with --no-ci)
193
196
  ```
194
197
 
198
+ ## References — company rules, terms and domain knowledge
199
+
200
+ Material people already have stays in its own form and is indexed by section, so the AI reads only the sections it needs (`/l-ref`). It can live inside the project or outside it (`~/…`).
201
+
202
+ | Material | When it is read | How |
203
+ |---|---|---|
204
+ | Company rules | always | each section's scope and strength are approved, then it goes word for word into the matching `AGENTS.md` |
205
+ | Terms | when needed | `lantern check` finds the glossary's "words to avoid" in the documents |
206
+ | Domain knowledge | only the section, only when needed | sections picked from the `📚 Domain Knowledge/` index are attached to a work's plan and read when their task starts |
207
+
208
+ - **Outside material never reaches git.** Its paths, titles and index all stay in `.lantern/`.
209
+ - **Sections are read by address.** `lantern ref read "Privacy#Retention period"`
210
+
195
211
  ## Managing unfamiliar tech — knowledge base and understanding debt
196
212
 
197
213
  When the AI uses a technology you don't know, LanternSpec compares it with the notes in your knowledge base and sorts it into three groups.
@@ -256,6 +272,7 @@ work task next [--all]|start|done|ac|list|estimate · task add [--parallel
256
272
  learning knowledge search|read|propose|write|areas · debt find|new|ask|resolve|promote|practice|known|status|list · mcp
257
273
  reports report [--views] [--summary] · status · resume [--session] [--more] · scan [--tests] · sync adopt · eval · obsidian plugins
258
274
  templates template list|lint|level|bump|outdated|diff|usage|new|migrate · legacy adopt|todos
275
+ references ref list|check|index|read · tag|exclude|rules · terms|term|glossary|candidate · domain|describe|attach
259
276
  git hooks install|uninstall|status · docs-mode local|shared
260
277
  wrap-up close <skill>
261
278
  ```
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "lanternspec"
7
- version = "0.2.5"
7
+ version = "0.2.7"
8
8
  description = "Spec-driven development for agentic software engineering"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -559,7 +559,8 @@ def check_file(project: Project, path: Path, text: str, ctx: _Ctx) -> list[Findi
559
559
  rel,
560
560
  "template-major",
561
561
  msg(
562
- "Template '{tname}' changed a lot: {get} → {value}",
562
+ "Template '{tname}' changed a lot since this document was made "
563
+ "(template version {get} → {value}, not the LanternSpec version)",
563
564
  tname=tname,
564
565
  get=meta.get("template_version"),
565
566
  value=ctx.templates.versions[tname],
@@ -575,13 +576,15 @@ def check_file(project: Project, path: Path, text: str, ctx: _Ctx) -> list[Findi
575
576
  rel,
576
577
  "template-minor",
577
578
  msg(
578
- "Template '{tname}' changed ({get} → {value}) — its '{section}' section says what changed",
579
+ "Template '{tname}' changed since this document was made (template version {get} → {value}, "
580
+ "not the LanternSpec version) — its '{section}' section says what changed",
579
581
  tname=tname,
580
582
  get=meta.get("template_version"),
581
583
  value=ctx.templates.versions[tname],
582
584
  section=project.names.marker("changelog"),
583
585
  ),
584
586
  1,
587
+ msg('To bring this document along: lantern template migrate "{docs_rel}"', docs_rel=project.docs_rel(path)),
585
588
  )
586
589
  )
587
590
 
@@ -605,6 +608,9 @@ def check_file(project: Project, path: Path, text: str, ctx: _Ctx) -> list[Findi
605
608
  if tname and tname in ctx.templates.texts and not generated and not disabled:
606
609
  in_template = set(missing_sections(project, tname, ctx.templates.texts[tname]))
607
610
  for role in missing_sections(project, tname, text):
611
+ since = project.names.section(role).since
612
+ if since and semver(meta.get("template_version")) < semver(since): # made before the template had it
613
+ continue
608
614
  if role not in in_template:
609
615
  out.append(section_question(project, path, role, tname, rel, "section-missing"))
610
616
 
@@ -730,6 +736,48 @@ def _check_tasks(project: Project, path: Path, text: str, rel: str) -> list[Find
730
736
  return out
731
737
 
732
738
 
739
+ def term_findings(project: Project, paths: list[Path]) -> list[Finding]:
740
+ """Point out the glossary's words to avoid in documents (the glossary itself and generated documents aside).
741
+
742
+ Args:
743
+ project: The project.
744
+ paths: The documents to look at.
745
+
746
+ Returns:
747
+ One warning per line and word.
748
+
749
+ Example:
750
+ >>> term_findings(project, [path])[0].message # doctest: +SKIP
751
+ "'유저' 대신 '회원' (용어집)"
752
+ """
753
+ from ..refs import terms as terms_mod
754
+
755
+ terms, _ = terms_mod.merged(project)
756
+ if not any(t.avoid for t in terms):
757
+ return []
758
+ glossary = terms_mod.glossary_path(project).resolve()
759
+ out = []
760
+ for p in paths:
761
+ if p.resolve() == glossary:
762
+ continue
763
+ text = read(p)
764
+ if is_generated(frontmatter.parse(text).meta):
765
+ continue
766
+ for line, word, t in terms_mod.avoid_hits(text, terms):
767
+ where = msg("company glossary") if t.company else project.names.file("glossary")
768
+ out.append(
769
+ Finding(
770
+ "warn",
771
+ project.rel(p),
772
+ "avoid-term",
773
+ msg("'{word}' — use '{term}' ({where})", word=word, term=t.term, where=where),
774
+ line,
775
+ t.meaning or None,
776
+ )
777
+ )
778
+ return out
779
+
780
+
733
781
  class _Ctx:
734
782
  def __init__(self, project: Project) -> None:
735
783
  self.enums = project.enums
@@ -795,6 +843,7 @@ def run(project: Project, paths: Iterable[Path] | None = None, templates: bool =
795
843
  target_set = set(targets)
796
844
  for p in targets:
797
845
  findings += check_file(project, p, read(p), ctx)
846
+ findings += term_findings(project, targets)
798
847
  # duplicate ids need every doc, not only the targets
799
848
  if paths is not None:
800
849
  for p in all_docs:
@@ -97,6 +97,7 @@ def run(project: Project) -> list[tuple[str, str]]:
97
97
  if path.exists()
98
98
  else (BAD, msg("Knowledge store path doesn't exist: {path}", path=path))
99
99
  )
100
+ out += _reference_rows(project)
100
101
  st = state.load(project)
101
102
  if not st.get("version"):
102
103
  out.append((WARN, msg("Skills are not installed — lantern install")))
@@ -153,6 +154,77 @@ def _part_rows(project: Project) -> list[tuple[str, str]]:
153
154
  return out
154
155
 
155
156
 
157
+ def _reference_rows(project: Project) -> list[tuple[str, str]]:
158
+ """Check the references: missing paths, outside material in git, indexes behind their documents, exclusions matching nothing."""
159
+ from ..refs import index as index_mod
160
+ from ..refs import sources as src_mod
161
+
162
+ found = src_mod.sources(project)
163
+ excluded = [str(x) for x in project.profile.get("references.exclude") or []]
164
+ if not found and not excluded and not project.profile.get("references.outside_rules"):
165
+ return []
166
+ out = [(BAD, msg("references.{kind}: {path} doesn't exist", kind=s.kind, path=s.entry)) for s in found if not s.path.exists()]
167
+ for kind in src_mod.KINDS:
168
+ for entry in project.profile.get(f"references.{kind}") or []:
169
+ if (r := src_mod.resolve(project, str(entry))) and r.outside:
170
+ out.append(
171
+ (
172
+ WARN,
173
+ msg(
174
+ "references.{kind}: {path} is outside the project, but lantern.yaml goes into git — "
175
+ "lantern ref index {kind} {path} moves it to .lantern/",
176
+ kind=kind,
177
+ path=entry,
178
+ ),
179
+ )
180
+ )
181
+ private = index_mod.index_file(project, True)
182
+ if git(["ls-files", "--error-unmatch", str(private)], project.root).returncode == 0:
183
+ out.append(
184
+ (
185
+ BAD,
186
+ msg(
187
+ "{path} is in git — it holds the titles of material outside the project; git rm --cached it", path=project.rel(private)
188
+ ),
189
+ )
190
+ )
191
+ by_kind: dict[str, list[str]] = {}
192
+ for s in index_mod.stale(project):
193
+ by_kind.setdefault(s.document.source.kind, []).append(s.document.name + ("" if s.never else f" ({len(s.changed)})"))
194
+ for kind, docs in by_kind.items():
195
+ out.append((WARN, msg("{kind}: changed or never indexed since /l-ref: {items} — /l-ref {kind}", kind=kind, items=", ".join(docs))))
196
+ for address in excluded:
197
+ try:
198
+ src_mod.locate(project, address)
199
+ except LookupError:
200
+ out.append((WARN, msg("references.exclude: {address} matches no section any more (renamed?)", address=address)))
201
+ out += _company_rule_rows(project)
202
+ from ..refs.rules import MISSING, missing_outside
203
+
204
+ if missing_outside(project):
205
+ out.append((WARN, msg(MISSING)))
206
+ if found and not out:
207
+ out.append((OK, msg("References: {count} sources, indexes up to date", count=len(found))))
208
+ return out
209
+
210
+
211
+ def _company_rule_rows(project: Project) -> list[tuple[str, str]]:
212
+ """Say which AGENTS.md doesn't hold the approved company rules as they are now."""
213
+ from ..refs import rules as company
214
+ from ..tools.rules import active_parts
215
+
216
+ out = []
217
+ for place in ["", *(p["path"] for p in active_parts(project.profile))]:
218
+ path = project.root / place / "AGENTS.md"
219
+ want = company.agents_section(project, place)
220
+ if not want:
221
+ continue
222
+ have = read(path) if path.exists() else ""
223
+ if want not in have and company.agents_section(project, place, pointers=True) not in have:
224
+ out.append((WARN, msg("{path}: the company rules differ from the approved ones — lantern upgrade", path=project.rel(path))))
225
+ return out
226
+
227
+
156
228
  def unseen_note(files: list[str], tools: list[str]) -> str:
157
229
  """Say which folder AGENTS.md files some tools never get, and where to put what matters.
158
230
 
@@ -86,10 +86,11 @@ def fixed_places(project: Project) -> dict[str, tuple[str, str | None]]:
86
86
  ('3. 현재 상태/배포 · 운영/배포.md', '배포')
87
87
  """
88
88
  from ..learn.debt import STATUS_DOC_ID
89
+ from ..refs.domain import MOC_ID as DOMAIN_MOC_ID
89
90
  from ..report.principles_doc import DOC_ID as PRINCIPLES_ID
90
91
  from ..work.scaffold import base_template_text
91
92
 
92
- generated = {"principles": PRINCIPLES_ID, "debt-status": STATUS_DOC_ID}
93
+ generated = {"principles": PRINCIPLES_ID, "debt-status": STATUS_DOC_ID, "domain-moc": DOMAIN_MOC_ID}
93
94
  names = project.names
94
95
  out: dict[str, tuple[str, str | None]] = {}
95
96
  for key in DOC_FOLDERS:
@@ -585,7 +585,7 @@ def skeleton_from(project: Project, name: str, source: Path) -> str:
585
585
  out += [
586
586
  "",
587
587
  f"{m.group(1)} {current}",
588
- msg("> [!guide] 🟦 Original section · one line on what goes in '{current}'", current=current),
588
+ msg("> [!guide] One line on what goes in '{current}'", current=current),
589
589
  "",
590
590
  ]
591
591
  filled, table_state = False, ""
@@ -11,10 +11,10 @@ import sys
11
11
 
12
12
  from .. import __version__
13
13
  from ..core.messages import msg
14
- from . import check, core, learn, report, tools, work
14
+ from . import check, core, learn, refs, report, tools, work
15
15
  from .common import CliError, Handler
16
16
 
17
- GROUPS = (tools, core, work, learn, report, check) # order of the help list
17
+ GROUPS = (tools, core, work, learn, refs, report, check) # order of the help list
18
18
 
19
19
 
20
20
  def build_parser() -> argparse.ArgumentParser: