lanternspec 0.2.10__tar.gz → 0.3.0__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 (245) hide show
  1. {lanternspec-0.2.10/src/lanternspec.egg-info → lanternspec-0.3.0}/PKG-INFO +22 -15
  2. {lanternspec-0.2.10 → lanternspec-0.3.0}/README.md +21 -14
  3. {lanternspec-0.2.10 → lanternspec-0.3.0}/pyproject.toml +1 -1
  4. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/check/check_docs.py +5 -3
  5. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/check/doctor.py +1 -1
  6. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/check/templates.py +29 -1
  7. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/cli/check.py +6 -2
  8. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/cli/core.py +4 -1
  9. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/cli/report.py +22 -13
  10. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/cli/tools.py +6 -1
  11. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/cli/work.py +28 -7
  12. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/core/principles.py +1 -1
  13. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/core/profile.py +29 -6
  14. lanternspec-0.3.0/src/lanternspec/report/build_mode.py +221 -0
  15. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/agents/AGENTS.md +3 -2
  16. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-adr/SKILL.md +2 -1
  17. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-build/SKILL.md +35 -7
  18. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-design/SKILL.md +19 -4
  19. lanternspec-0.3.0/src/lanternspec/resources/locales/en/skills/l-finish/SKILL.md +79 -0
  20. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-init/SKILL.md +51 -21
  21. lanternspec-0.3.0/src/lanternspec/resources/locales/en/skills/l-parallel/SKILL.md +60 -0
  22. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-plan/SKILL.md +6 -6
  23. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-pr/SKILL.md +3 -1
  24. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-report/SKILL.md +1 -1
  25. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-task/SKILL.md +2 -2
  26. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Design.md +5 -4
  27. lanternspec-0.3.0/src/lanternspec/resources/locales/en/templates/Repository File Rules.md +197 -0
  28. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Server Operations.md +6 -3
  29. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Session Log.md +5 -4
  30. lanternspec-0.3.0/src/lanternspec/resources/locales/en/templates/Tech Selection Criteria.md +238 -0
  31. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/agents/AGENTS.md +3 -2
  32. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-adr/SKILL.md +2 -1
  33. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-build/SKILL.md +35 -7
  34. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-design/SKILL.md +19 -4
  35. lanternspec-0.3.0/src/lanternspec/resources/locales/ko/skills/l-finish/SKILL.md +79 -0
  36. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-init/SKILL.md +51 -21
  37. lanternspec-0.3.0/src/lanternspec/resources/locales/ko/skills/l-parallel/SKILL.md +60 -0
  38. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-plan/SKILL.md +6 -6
  39. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-pr/SKILL.md +3 -1
  40. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-report/SKILL.md +1 -1
  41. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-task/SKILL.md +2 -2
  42. lanternspec-0.3.0/src/lanternspec/resources/locales/ko/templates//352/270/260/354/210/240 /354/204/240/355/203/235 /352/270/260/354/244/200.md" +238 -0
  43. {lanternspec-0.2.10 → lanternspec-0.3.0}/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" +6 -3
  44. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//354/204/244/352/263/204.md +5 -4
  45. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//354/204/270/354/205/230 /352/270/260/353/241/235.md" +5 -4
  46. lanternspec-0.3.0/src/lanternspec/resources/locales/ko/templates//354/240/200/354/236/245/354/206/214 /355/214/214/354/235/274 /352/267/234/354/271/231.md" +197 -0
  47. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/messages.yaml +69 -19
  48. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/names.yaml +4 -1
  49. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/tools/antigravity.py +18 -0
  50. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/tools/base.py +20 -1
  51. lanternspec-0.3.0/src/lanternspec/tools/close.py +177 -0
  52. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/tools/codex.py +151 -5
  53. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/tools/skills.py +2 -0
  54. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/work/branches.py +542 -82
  55. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/work/epic_rules.py +29 -4
  56. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/work/progress.py +22 -8
  57. {lanternspec-0.2.10 → lanternspec-0.3.0/src/lanternspec.egg-info}/PKG-INFO +22 -15
  58. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec.egg-info/SOURCES.txt +10 -1
  59. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_core.py +4 -2
  60. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_git.py +518 -1
  61. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_install_and_aux.py +123 -2
  62. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_later_features.py +11 -8
  63. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_layout.py +3 -0
  64. lanternspec-0.3.0/tests/test_progress_parallel.py +42 -0
  65. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_work_line.py +15 -3
  66. lanternspec-0.2.10/src/lanternspec/report/harness.py +0 -194
  67. lanternspec-0.2.10/src/lanternspec/tools/close.py +0 -81
  68. {lanternspec-0.2.10 → lanternspec-0.3.0}/LICENSE +0 -0
  69. {lanternspec-0.2.10 → lanternspec-0.3.0}/setup.cfg +0 -0
  70. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/__init__.py +0 -0
  71. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/__main__.py +0 -0
  72. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/check/__init__.py +0 -0
  73. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/check/budget.py +0 -0
  74. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/check/githooks.py +0 -0
  75. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/check/layout.py +0 -0
  76. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/check/legacy.py +0 -0
  77. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/check/pr_check.py +0 -0
  78. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/cli/__init__.py +0 -0
  79. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/cli/color.py +0 -0
  80. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/cli/common.py +0 -0
  81. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/cli/learn.py +0 -0
  82. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/cli/refs.py +0 -0
  83. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/core/__init__.py +0 -0
  84. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/core/enums.py +0 -0
  85. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/core/frontmatter.py +0 -0
  86. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/core/links.py +0 -0
  87. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/core/messages.py +0 -0
  88. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/core/meta.py +0 -0
  89. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/core/names.py +0 -0
  90. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/core/new_id.py +0 -0
  91. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/core/outline.py +0 -0
  92. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/core/project.py +0 -0
  93. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/core/sections.py +0 -0
  94. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/core/state.py +0 -0
  95. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/core/taskfile.py +0 -0
  96. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/core/templating.py +0 -0
  97. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/learn/__init__.py +0 -0
  98. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/learn/debt.py +0 -0
  99. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/learn/knowledge/__init__.py +0 -0
  100. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/learn/knowledge/drafts.py +0 -0
  101. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/learn/knowledge/mcp_server.py +0 -0
  102. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/learn/knowledge/notion.py +0 -0
  103. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/learn/knowledge/obsidian.py +0 -0
  104. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/refs/__init__.py +0 -0
  105. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/refs/convert.py +0 -0
  106. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/refs/domain.py +0 -0
  107. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/refs/index.py +0 -0
  108. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/refs/rules.py +0 -0
  109. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/refs/sources.py +0 -0
  110. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/refs/terms.py +0 -0
  111. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/report/__init__.py +0 -0
  112. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/report/doc_map.py +0 -0
  113. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/report/evaluate.py +0 -0
  114. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/report/obsidian.py +0 -0
  115. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/report/principles_doc.py +0 -0
  116. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/report/resume.py +0 -0
  117. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/report/scan.py +0 -0
  118. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/report/sections_doc.py +0 -0
  119. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/report/status.py +0 -0
  120. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/report/views.py +0 -0
  121. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/__init__.py +0 -0
  122. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/conventions/go.yaml +0 -0
  123. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/conventions/python.yaml +0 -0
  124. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/conventions/rust.yaml +0 -0
  125. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/conventions/swift.yaml +0 -0
  126. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/conventions/typescript.yaml +0 -0
  127. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/git/gitmessage.txt +0 -0
  128. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/github/pull_request_template.md +0 -0
  129. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-check/SKILL.md +0 -0
  130. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-domain/SKILL.md +0 -0
  131. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-idea/SKILL.md +0 -0
  132. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-learn/SKILL.md +0 -0
  133. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-map/SKILL.md +0 -0
  134. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-ref/SKILL.md +0 -0
  135. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-ref/domain.md +0 -0
  136. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-ref/rules.md +0 -0
  137. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-ref/terms.md +0 -0
  138. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-resume/SKILL.md +0 -0
  139. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-sync/SKILL.md +0 -0
  140. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-template/SKILL.md +0 -0
  141. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/ADR.md +0 -0
  142. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/API.md +0 -0
  143. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Architecture.md +0 -0
  144. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Collaboration Rules.md +0 -0
  145. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Competency Card.md +0 -0
  146. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Data.md +0 -0
  147. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Debt Card.md +0 -0
  148. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Deployment.md +0 -0
  149. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Docs MOC.md +0 -0
  150. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Feature List.md +0 -0
  151. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Glossary.md +0 -0
  152. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Idea.md +0 -0
  153. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Known Tech.md +0 -0
  154. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Legacy Map.md +0 -0
  155. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Log.md +0 -0
  156. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Meeting Notes.md +0 -0
  157. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Plan.md +0 -0
  158. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Platform Integration.md +0 -0
  159. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Project Definition.md +0 -0
  160. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Screens.md +0 -0
  161. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Tasks.md +0 -0
  162. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Work Division Rules.md +0 -0
  163. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/_meta/enums.yaml +0 -0
  164. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/git/gitmessage.txt +0 -0
  165. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/github/pull_request_template.md +0 -0
  166. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-check/SKILL.md +0 -0
  167. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-domain/SKILL.md +0 -0
  168. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-idea/SKILL.md +0 -0
  169. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-learn/SKILL.md +0 -0
  170. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-map/SKILL.md +0 -0
  171. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-ref/SKILL.md +0 -0
  172. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-ref/domain.md +0 -0
  173. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-ref/rules.md +0 -0
  174. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-ref/terms.md +0 -0
  175. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-resume/SKILL.md +0 -0
  176. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-sync/SKILL.md +0 -0
  177. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-template/SKILL.md +0 -0
  178. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates/ADR.md +0 -0
  179. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates/API.md +0 -0
  180. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates/_meta/enums.yaml +0 -0
  181. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//352/260/234/353/260/234/353/254/270/354/204/234 MOC.md" +0 -0
  182. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//352/270/260/353/212/245 /353/252/251/353/241/235.md" +0 -0
  183. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//352/270/260/353/241/235.md" +0 -0
  184. {lanternspec-0.2.10 → lanternspec-0.3.0}/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" +0 -0
  185. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//352/270/260/355/232/215.md" +0 -0
  186. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//353/215/260/354/235/264/355/204/260.md" +0 -0
  187. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//353/260/260/355/217/254.md" +0 -0
  188. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//353/266/200/354/261/204 /354/271/264/353/223/234.md" +0 -0
  189. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//354/213/234/354/212/244/355/205/234 /352/265/254/354/241/260.md" +0 -0
  190. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//354/225/204/353/212/224 /352/270/260/354/210/240.md" +0 -0
  191. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//354/225/204/354/235/264/353/224/224/354/226/264.md" +0 -0
  192. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//354/227/255/353/237/211 /354/271/264/353/223/234.md" +0 -0
  193. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//354/232/251/354/226/264/354/247/221.md" +0 -0
  194. {lanternspec-0.2.10 → lanternspec-0.3.0}/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 -0
  195. {lanternspec-0.2.10 → lanternspec-0.3.0}/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 -0
  196. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//355/224/214/353/236/253/355/217/274 /354/227/260/353/217/231.md" +0 -0
  197. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//355/225/240 /354/235/274.md" +0 -0
  198. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//355/230/221/354/227/205 /352/267/234/354/271/231.md" +0 -0
  199. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//355/231/224/353/251/264.md" +0 -0
  200. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//355/232/214/354/235/230/353/241/235.md" +0 -0
  201. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/obsidian/lantern-timeline/main.js +0 -0
  202. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/obsidian/lantern-timeline/manifest.json +0 -0
  203. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/obsidian/lantern-timeline/styles.css +0 -0
  204. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/resources/principles.yaml +0 -0
  205. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/tools/__init__.py +0 -0
  206. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/tools/agent_hooks.py +0 -0
  207. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/tools/claude.py +0 -0
  208. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/tools/docs_mode.py +0 -0
  209. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/tools/health.py +0 -0
  210. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/tools/install.py +0 -0
  211. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/tools/parts.py +0 -0
  212. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/tools/rules.py +0 -0
  213. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/tools/runlog.py +0 -0
  214. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/tools/sessions.py +0 -0
  215. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/work/__init__.py +0 -0
  216. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/work/dbml.py +0 -0
  217. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/work/ideas.py +0 -0
  218. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/work/pack.py +0 -0
  219. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/work/scaffold.py +0 -0
  220. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/work/screen.py +0 -0
  221. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/work/stages.py +0 -0
  222. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec/work/tasks.py +0 -0
  223. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec.egg-info/dependency_links.txt +0 -0
  224. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec.egg-info/entry_points.txt +0 -0
  225. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec.egg-info/requires.txt +0 -0
  226. {lanternspec-0.2.10 → lanternspec-0.3.0}/src/lanternspec.egg-info/top_level.txt +0 -0
  227. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_budget.py +0 -0
  228. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_checks.py +0 -0
  229. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_color.py +0 -0
  230. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_english.py +0 -0
  231. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_enums_single_source.py +0 -0
  232. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_learning_line.py +0 -0
  233. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_messages.py +0 -0
  234. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_name_overlap.py +0 -0
  235. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_names.py +0 -0
  236. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_obsidian.py +0 -0
  237. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_part_delivery.py +0 -0
  238. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_parts.py +0 -0
  239. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_principles.py +0 -0
  240. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_principles_data.py +0 -0
  241. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_refs.py +0 -0
  242. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_release_script.py +0 -0
  243. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_resume.py +0 -0
  244. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_skill_commands.py +0 -0
  245. {lanternspec-0.2.10 → lanternspec-0.3.0}/tests/test_tool_health.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lanternspec
3
- Version: 0.2.10
3
+ Version: 0.3.0
4
4
  Summary: Spec-driven development for agentic software engineering
5
5
  Author: Jihyeok Jeong
6
6
  License-Expression: MIT
@@ -70,7 +70,7 @@ Then call `/l-init` inside your AI tool (`$l-init` in Codex).
70
70
  ## Quick start
71
71
 
72
72
  ```
73
- /l-init answer 7 questions → lantern.yaml · docs/ · draft project definition · design principles
73
+ /l-init answer a few questions → lantern.yaml · docs/ · draft project definition · design principles
74
74
  /l-idea dark mode support record an idea right away → 1. Ideas/IDEA-001
75
75
  /l-plan IDEA-001 what and why, with acceptance criteria → 2. Work/W-001 …/Plan.md
76
76
  /l-design W-001 how — only the structure, screens and data that change; a person approves
@@ -99,6 +99,8 @@ Then call `/l-init` inside your AI tool (`$l-init` in Codex).
99
99
 
100
100
  ## Flow and skills
101
101
 
102
+ What the concepts in this document mean and where they are used is gathered in [Concepts](https://github.com/Jungjihyuk/LanternSpec/blob/main/CONCEPTS.md).
103
+
102
104
  ```mermaid
103
105
  flowchart LR
104
106
  S["⚙️ /l-init"] --> I
@@ -112,12 +114,12 @@ flowchart LR
112
114
 
113
115
  | Skill | What it does | What it leaves |
114
116
  |---|---|---|
115
- | `/l-init` | sets up the document structure and design principles from 7 questions (new or existing · team size · screens · server · knowledge base · design tool · project kind), and picks the branch flow | `lantern.yaml`, `docs/`, project definition, MOC, design principles |
117
+ | `/l-init` | sets up the document structure and design principles from the questions the earlier answers call for (new or existing · team size · project kind · server · knowledge base · design tool · technology choice and so on), and picks the branch flow | `lantern.yaml`, `docs/`, project definition, MOC, design principles |
116
118
  | `/l-idea` | records a thought from the conversation, as said and as summarised | `1. Ideas/IDEA-001 …` |
117
119
  | `/l-plan` | what and why — a work folder and acceptance criteria | `2. Work/W-001 …/Plan.md` |
118
- | `/l-design` | how — only the structure, screens and data (DBML) that change, behind an approval gate | `Design.md`, `Screens/`, ADR |
120
+ | `/l-design` | how — only the structure, screens and data (DBML) that change, wireframes, behind an approval gate | `Design.md`, `Screens/`, ADR |
119
121
  | `/l-task` | an ordered task list (size · acceptance criteria · dependencies) | `Tasks.md` |
120
- | `/l-build` | implement → test → one commit per task, report **with evidence**, merge into the current state when done | code, `Log.md` |
122
+ | `/l-build` | implement → test → one commit per task, report **with evidence**, open and check screens itself, merge into the current state when done (in a parallel worktree, only its own tasks) | code, `Log.md` |
121
123
  | `/l-learn` | compares unfamiliar tech with your knowledge base → 🟢 · 🟡 · 🔴, debt cards and draft study notes | `📒 Debt/Cards/D-001 …` |
122
124
  | `/l-report` | kanban · timeline · domain · traceability · debt · docs-vs-code status + a three-line report | `4. Operations/Reports/Status Report.md` |
123
125
  | `/l-template` | create, refine and migrate templates (without losing content) | `0. Templates/…` |
@@ -129,6 +131,8 @@ flowchart LR
129
131
  | `/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` |
130
132
  | `/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") |
131
133
  | `/l-pr` | writes the title and body for the direction that fits the branch flow, and opens the PR once confirmed (never merges) | — |
134
+ | `/l-parallel` | before starting several works at once, checks what they must decide together and their order, records the decisions as ADRs, then opens a worktree per work | ADR |
135
+ | `/l-finish` | when parallel works are done, gathers person checks in the base folder, merges them one at a time, then updates the current state, archives and reports once | current state, `Archive/` |
132
136
 
133
137
  ### How it works
134
138
  - **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.
@@ -149,7 +153,7 @@ docs/
149
153
  ├─ 2. Work/W-001 …/ plan · design · tasks · log — the only place edited while working
150
154
  │ └─ Archive/ archive
151
155
  ├─ 3. Current State/ what the system looks like now — updated only when work is done, after approval
152
- │ └─ Rules/ · Decisions/ · Deployment and Operations/ · Glossary …
156
+ │ └─ Rules/ (Tech Selection Criteria · Repository File Rules …) · Decisions/ · Deployment and Operations/ · Glossary …
153
157
  ├─ 4. Operations/ reports · session logs · (teams of 2+) meeting notes
154
158
  ├─ 5. Legacy Docs/ (existing projects) original documents, kept unchanged
155
159
  ├─ 📒 Debt/ understanding debt — one card per debt
@@ -197,6 +201,8 @@ git:
197
201
  branch: feature/{id}-{slug} # → feature/W-012-login (blanks other than {id} are named for each work)
198
202
  ```
199
203
 
204
+ To run several works at once, check them with `/l-parallel`, run `/l-build` in each work's worktree in its own terminal, and merge them with `/l-finish` in the base folder once all are done.
205
+
200
206
  ## Supported AI tools
201
207
 
202
208
  | Tool | Skills | Rules | Agent hooks | MCP (`--mcp`) |
@@ -286,32 +292,33 @@ Picks design principles and code conventions from a table, based on the project
286
292
  - See the result with `lantern principles show`; run lint and type checks with `lantern lint` (in each part's folder when there are parts)
287
293
  - CI (`lantern install --ci`) prepares tools and checks in each part's folder. Leave a heavy part out with `ci: false` on that part in `lantern.yaml`. In existing projects, lint and type errors only warn at first and CI passes; once they are clean, set `build.ci_lint: block`.
288
294
 
289
- ### How the AI works
290
- `lantern harness suggest` looks at code size, work in progress, whether tests exist and past runs, and recommends one of three modes.
295
+ ### Build mode
296
+ `lantern build-mode suggest` looks at code size, work in progress, whether tests exist and past runs, and recommends **one axis at a time**.
291
297
 
292
- - **Harness:** small loops inside one task. The default for small projects
293
- - **Loop:** reruns the whole work item until the acceptance tests pass
294
- - **Graph:** splits independent work items into worktrees so several agents work at the same time
298
+ - **Loop scope:** check each task (the default for small projects) or loop automatically until the acceptance tests pass — `--apply` sets `build.loop`
299
+ - **Task delegation:** whether to hand `[P]` tasks that don't depend on each other in one work to sub-agents
300
+ - **Parallel works:** whether to run different works at once in worktrees (checked with `/l-parallel`)
295
301
 
296
302
  ### Evaluation
297
303
  `lantern eval` uses the run log to compare cost (time · tool calls) and results (format errors at wrap-up) per skill, model and setting.
298
304
 
299
305
  ### Design tools
300
- Claude Design, Figma and Canva through each tool's MCP.
306
+ Claude Design: in Claude Code, the AI draws wireframes on a Design canvas itself. Figma and Canva work through each tool's MCP.
301
307
  Import mockups with `lantern screen import`; `lantern screen compare` finds where the built screen differs from the mockup.
308
+ `/l-build` opens built screens with the AI tool's browser to check them, and leaves "waiting for a person" when it can't (`verify.browser`). Whether a screen matches the mockup is a person's call.
302
309
 
303
310
  ## CLI at a glance
304
311
 
305
312
  ```text
306
- setup install [--language] [--tools] [--mcp] [--ci|--no-ci] [--pr-template] [--commit-template] · upgrade [--apply] · doctor · harness suggest
313
+ setup install [--language] [--tools] [--mcp] [--ci|--no-ci] [--pr-template] [--commit-template] · upgrade [--apply] · doctor · build-mode suggest
307
314
  profile profile show|docs|write|set · principles show|detect · parts [add|ignore] · enums list|rename · sections list|rename|off|on
308
315
  documents scaffold init [--plan] | work | doc | idea | adr | meeting | custom · new-id · map · meta get|set
309
316
  checks check [--changed] [--epic W-012] · check-pr · lint [--ci] · check-dbml · dbml render|from-sql|diff
310
317
  work task next [--all]|start|done|ac|list|estimate · task add [--parallel] · pack · screen import|compare
311
- work branch|start|list|finish|archive|stage|flow · design approve · unit-log add · idea find|status
318
+ work branch|start|list|overlap|finish|archive|stage|flow · design approve · unit-log add · idea find|status
312
319
  learning knowledge search|read|propose|write|areas · debt find|new|ask|resolve|promote|practice|known|status|list · mcp
313
320
  reports report [--views] [--summary] · status · resume [--session] [--more] · scan [--tests] [--ci] · sync adopt · eval · obsidian plugins
314
- templates template list|lint|level|bump|outdated|diff|usage|new|migrate · legacy adopt|todos
321
+ templates template list|show|lint|level|bump|outdated|diff|usage|new|migrate · legacy adopt|todos
315
322
  references ref list|check|index|read · tag|exclude|rules · terms|term|glossary|candidate · domain|describe|attach · convert [--apply]|preview
316
323
  git hooks install|uninstall|status · docs-mode local|shared
317
324
  wrap-up close <skill>
@@ -55,7 +55,7 @@ Then call `/l-init` inside your AI tool (`$l-init` in Codex).
55
55
  ## Quick start
56
56
 
57
57
  ```
58
- /l-init answer 7 questions → lantern.yaml · docs/ · draft project definition · design principles
58
+ /l-init answer a few questions → lantern.yaml · docs/ · draft project definition · design principles
59
59
  /l-idea dark mode support record an idea right away → 1. Ideas/IDEA-001
60
60
  /l-plan IDEA-001 what and why, with acceptance criteria → 2. Work/W-001 …/Plan.md
61
61
  /l-design W-001 how — only the structure, screens and data that change; a person approves
@@ -84,6 +84,8 @@ Then call `/l-init` inside your AI tool (`$l-init` in Codex).
84
84
 
85
85
  ## Flow and skills
86
86
 
87
+ What the concepts in this document mean and where they are used is gathered in [Concepts](https://github.com/Jungjihyuk/LanternSpec/blob/main/CONCEPTS.md).
88
+
87
89
  ```mermaid
88
90
  flowchart LR
89
91
  S["⚙️ /l-init"] --> I
@@ -97,12 +99,12 @@ flowchart LR
97
99
 
98
100
  | Skill | What it does | What it leaves |
99
101
  |---|---|---|
100
- | `/l-init` | sets up the document structure and design principles from 7 questions (new or existing · team size · screens · server · knowledge base · design tool · project kind), and picks the branch flow | `lantern.yaml`, `docs/`, project definition, MOC, design principles |
102
+ | `/l-init` | sets up the document structure and design principles from the questions the earlier answers call for (new or existing · team size · project kind · server · knowledge base · design tool · technology choice and so on), and picks the branch flow | `lantern.yaml`, `docs/`, project definition, MOC, design principles |
101
103
  | `/l-idea` | records a thought from the conversation, as said and as summarised | `1. Ideas/IDEA-001 …` |
102
104
  | `/l-plan` | what and why — a work folder and acceptance criteria | `2. Work/W-001 …/Plan.md` |
103
- | `/l-design` | how — only the structure, screens and data (DBML) that change, behind an approval gate | `Design.md`, `Screens/`, ADR |
105
+ | `/l-design` | how — only the structure, screens and data (DBML) that change, wireframes, behind an approval gate | `Design.md`, `Screens/`, ADR |
104
106
  | `/l-task` | an ordered task list (size · acceptance criteria · dependencies) | `Tasks.md` |
105
- | `/l-build` | implement → test → one commit per task, report **with evidence**, merge into the current state when done | code, `Log.md` |
107
+ | `/l-build` | implement → test → one commit per task, report **with evidence**, open and check screens itself, merge into the current state when done (in a parallel worktree, only its own tasks) | code, `Log.md` |
106
108
  | `/l-learn` | compares unfamiliar tech with your knowledge base → 🟢 · 🟡 · 🔴, debt cards and draft study notes | `📒 Debt/Cards/D-001 …` |
107
109
  | `/l-report` | kanban · timeline · domain · traceability · debt · docs-vs-code status + a three-line report | `4. Operations/Reports/Status Report.md` |
108
110
  | `/l-template` | create, refine and migrate templates (without losing content) | `0. Templates/…` |
@@ -114,6 +116,8 @@ flowchart LR
114
116
  | `/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` |
115
117
  | `/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") |
116
118
  | `/l-pr` | writes the title and body for the direction that fits the branch flow, and opens the PR once confirmed (never merges) | — |
119
+ | `/l-parallel` | before starting several works at once, checks what they must decide together and their order, records the decisions as ADRs, then opens a worktree per work | ADR |
120
+ | `/l-finish` | when parallel works are done, gathers person checks in the base folder, merges them one at a time, then updates the current state, archives and reports once | current state, `Archive/` |
117
121
 
118
122
  ### How it works
119
123
  - **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.
@@ -134,7 +138,7 @@ docs/
134
138
  ├─ 2. Work/W-001 …/ plan · design · tasks · log — the only place edited while working
135
139
  │ └─ Archive/ archive
136
140
  ├─ 3. Current State/ what the system looks like now — updated only when work is done, after approval
137
- │ └─ Rules/ · Decisions/ · Deployment and Operations/ · Glossary …
141
+ │ └─ Rules/ (Tech Selection Criteria · Repository File Rules …) · Decisions/ · Deployment and Operations/ · Glossary …
138
142
  ├─ 4. Operations/ reports · session logs · (teams of 2+) meeting notes
139
143
  ├─ 5. Legacy Docs/ (existing projects) original documents, kept unchanged
140
144
  ├─ 📒 Debt/ understanding debt — one card per debt
@@ -182,6 +186,8 @@ git:
182
186
  branch: feature/{id}-{slug} # → feature/W-012-login (blanks other than {id} are named for each work)
183
187
  ```
184
188
 
189
+ To run several works at once, check them with `/l-parallel`, run `/l-build` in each work's worktree in its own terminal, and merge them with `/l-finish` in the base folder once all are done.
190
+
185
191
  ## Supported AI tools
186
192
 
187
193
  | Tool | Skills | Rules | Agent hooks | MCP (`--mcp`) |
@@ -271,32 +277,33 @@ Picks design principles and code conventions from a table, based on the project
271
277
  - See the result with `lantern principles show`; run lint and type checks with `lantern lint` (in each part's folder when there are parts)
272
278
  - CI (`lantern install --ci`) prepares tools and checks in each part's folder. Leave a heavy part out with `ci: false` on that part in `lantern.yaml`. In existing projects, lint and type errors only warn at first and CI passes; once they are clean, set `build.ci_lint: block`.
273
279
 
274
- ### How the AI works
275
- `lantern harness suggest` looks at code size, work in progress, whether tests exist and past runs, and recommends one of three modes.
280
+ ### Build mode
281
+ `lantern build-mode suggest` looks at code size, work in progress, whether tests exist and past runs, and recommends **one axis at a time**.
276
282
 
277
- - **Harness:** small loops inside one task. The default for small projects
278
- - **Loop:** reruns the whole work item until the acceptance tests pass
279
- - **Graph:** splits independent work items into worktrees so several agents work at the same time
283
+ - **Loop scope:** check each task (the default for small projects) or loop automatically until the acceptance tests pass — `--apply` sets `build.loop`
284
+ - **Task delegation:** whether to hand `[P]` tasks that don't depend on each other in one work to sub-agents
285
+ - **Parallel works:** whether to run different works at once in worktrees (checked with `/l-parallel`)
280
286
 
281
287
  ### Evaluation
282
288
  `lantern eval` uses the run log to compare cost (time · tool calls) and results (format errors at wrap-up) per skill, model and setting.
283
289
 
284
290
  ### Design tools
285
- Claude Design, Figma and Canva through each tool's MCP.
291
+ Claude Design: in Claude Code, the AI draws wireframes on a Design canvas itself. Figma and Canva work through each tool's MCP.
286
292
  Import mockups with `lantern screen import`; `lantern screen compare` finds where the built screen differs from the mockup.
293
+ `/l-build` opens built screens with the AI tool's browser to check them, and leaves "waiting for a person" when it can't (`verify.browser`). Whether a screen matches the mockup is a person's call.
287
294
 
288
295
  ## CLI at a glance
289
296
 
290
297
  ```text
291
- setup install [--language] [--tools] [--mcp] [--ci|--no-ci] [--pr-template] [--commit-template] · upgrade [--apply] · doctor · harness suggest
298
+ setup install [--language] [--tools] [--mcp] [--ci|--no-ci] [--pr-template] [--commit-template] · upgrade [--apply] · doctor · build-mode suggest
292
299
  profile profile show|docs|write|set · principles show|detect · parts [add|ignore] · enums list|rename · sections list|rename|off|on
293
300
  documents scaffold init [--plan] | work | doc | idea | adr | meeting | custom · new-id · map · meta get|set
294
301
  checks check [--changed] [--epic W-012] · check-pr · lint [--ci] · check-dbml · dbml render|from-sql|diff
295
302
  work task next [--all]|start|done|ac|list|estimate · task add [--parallel] · pack · screen import|compare
296
- work branch|start|list|finish|archive|stage|flow · design approve · unit-log add · idea find|status
303
+ work branch|start|list|overlap|finish|archive|stage|flow · design approve · unit-log add · idea find|status
297
304
  learning knowledge search|read|propose|write|areas · debt find|new|ask|resolve|promote|practice|known|status|list · mcp
298
305
  reports report [--views] [--summary] · status · resume [--session] [--more] · scan [--tests] [--ci] · sync adopt · eval · obsidian plugins
299
- templates template list|lint|level|bump|outdated|diff|usage|new|migrate · legacy adopt|todos
306
+ templates template list|show|lint|level|bump|outdated|diff|usage|new|migrate · legacy adopt|todos
300
307
  references ref list|check|index|read · tag|exclude|rules · terms|term|glossary|candidate · domain|describe|attach · convert [--apply]|preview
301
308
  git hooks install|uninstall|status · docs-mode local|shared
302
309
  wrap-up close <skill>
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "lanternspec"
7
- version = "0.2.10"
7
+ version = "0.3.0"
8
8
  description = "Spec-driven development for agentic software engineering"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -749,7 +749,7 @@ def _check_tasks(project: Project, path: Path, text: str, rel: str) -> list[Find
749
749
 
750
750
 
751
751
  def term_findings(project: Project, paths: list[Path]) -> list[Finding]:
752
- """Point out the glossary's words to avoid in documents (the glossary itself and generated documents aside).
752
+ """Point out the glossary's words to avoid in documents (the glossary, the general rule documents and generated documents aside).
753
753
 
754
754
  Args:
755
755
  project: The project.
@@ -767,10 +767,12 @@ def term_findings(project: Project, paths: list[Path]) -> list[Finding]:
767
767
  terms, _ = terms_mod.merged(project)
768
768
  if not any(t.avoid for t in terms):
769
769
  return []
770
- glossary = terms_mod.glossary_path(project).resolve()
770
+ rules = project.folder("rules")
771
+ skipped = {terms_mod.glossary_path(project).resolve()}
772
+ skipped |= {(rules / project.names.file(role)).resolve() for role in ("tech_criteria", "repo_files")}
771
773
  out = []
772
774
  for p in paths:
773
- if p.resolve() == glossary:
775
+ if p.resolve() in skipped:
774
776
  continue
775
777
  text = read(p)
776
778
  if is_generated(frontmatter.parse(text).meta):
@@ -361,7 +361,7 @@ def _tool_rows(project: Project, names: list[str]) -> list[tuple[str, str]]:
361
361
  def _code_size_row(project: Project) -> tuple[str, str]:
362
362
  """Ask whether to raise the principles one level when the code grew past the recorded size (never lower it)."""
363
363
  from ..core import principles
364
- from ..report.harness import code_lines
364
+ from ..report.build_mode import code_lines
365
365
 
366
366
  lines = code_lines(project, tests=False)
367
367
  now, recorded = principles.code_size(lines), str(project.profile.get("project.code_size") or principles.SIZES[0])
@@ -1,6 +1,6 @@
1
1
  """`lantern template …` — the scripted half of /l-template.
2
2
 
3
- list · lint · level · bump · outdated · diff · new · usage · migrate
3
+ list · show · lint · level · bump · outdated · diff · new · usage · migrate
4
4
 
5
5
  Responsibilities:
6
6
  - list the project's templates and compare them with the bundled base
@@ -20,6 +20,7 @@ from pathlib import Path
20
20
 
21
21
  from ..core import frontmatter, state, templating
22
22
  from ..core.messages import msg
23
+ from ..core.names import languages as name_languages
23
24
  from ..core.project import Project, git, nfc, read, today, write
24
25
  from ..work.scaffold import base_template_names, base_template_text, base_values, condition_context, template_version
25
26
  from .check_docs import Finding, _active_doc, semver, version_gap
@@ -79,6 +80,33 @@ def template_path(project: Project, name: str) -> Path:
79
80
  )
80
81
 
81
82
 
83
+ def show(name: str, language: str) -> str:
84
+ """Return a template bundled with the package, so skills can read it before the project has its own copy.
85
+
86
+ A skill runs before lantern.yaml exists, when the project's language is still the default,
87
+ so a name not found in that language is looked up in the other language packs.
88
+
89
+ Args:
90
+ name: Template name, with or without `.md`.
91
+ language: The language to look in first.
92
+
93
+ Returns:
94
+ The template text without its own change log.
95
+
96
+ Raises:
97
+ FileNotFoundError: No language pack has that template.
98
+
99
+ Example:
100
+ >>> show("Tech Selection Criteria.md", "ko").splitlines()[0]
101
+ '---'
102
+ """
103
+ stem = name.removesuffix(".md")
104
+ for lang in [language, *(other for other in name_languages() if other != language)]:
105
+ if nfc(stem) in base_template_names(lang):
106
+ return templating.strip_template_only(base_template_text(stem, lang))
107
+ raise FileNotFoundError(msg("No base template '{name}'", name=stem))
108
+
109
+
82
110
  def names(project: Project) -> list[str]:
83
111
  """List the project's templates.
84
112
 
@@ -50,6 +50,10 @@ def cmd_template(a: argparse.Namespace) -> int:
50
50
  a.level = "auto"
51
51
  if a.action == "list":
52
52
  _print(tc.list_rows(project) or [msg("No templates — lantern scaffold init")])
53
+ elif a.action == "show":
54
+ if not a.name:
55
+ raise CliError(msg("lantern template show <name>"))
56
+ print(tc.show(a.name, project.language))
53
57
  elif a.action == "lint":
54
58
  from ..check.check_docs import Report
55
59
 
@@ -202,8 +206,8 @@ def register(add: Add) -> None:
202
206
  p.add_argument("--strict", action="store_true", help=msg("Treat warnings as failures"))
203
207
  p = add("lint", cmd_lint, msg("Code lint · type check (each part's commands, or lantern.yaml build.lint · build.typecheck)"))
204
208
  p.add_argument("--ci", action="store_true", help=msg("For CI: leave out parts with ci: false, and follow build.ci_lint"))
205
- p = add("template", cmd_template, msg("Templates: list · lint · level · bump · outdated · diff · usage · new · migrate"))
206
- p.add_argument("action", choices=["list", "lint", "level", "bump", "outdated", "diff", "usage", "new", "migrate"])
209
+ p = add("template", cmd_template, msg("Templates: list · show · lint · level · bump · outdated · diff · usage · new · migrate"))
210
+ p.add_argument("action", choices=["list", "show", "lint", "level", "bump", "outdated", "diff", "usage", "new", "migrate"])
207
211
  p.add_argument("name", nargs="?")
208
212
  p.add_argument("level", nargs="?", help="bump: patch|minor|major|auto")
209
213
  p.add_argument("--auto", dest="level_auto", action="store_true")
@@ -46,6 +46,8 @@ def cmd_profile(a: argparse.Namespace) -> int:
46
46
  proj["clients"] = [] if a.clients in ("none", "없음") else _csv(a.clients)
47
47
  if a.kind is not None:
48
48
  proj["kind"] = a.kind
49
+ if a.lifespan is not None:
50
+ proj["lifespan"] = a.lifespan
49
51
  if a.external is not None:
50
52
  proj["external"] = a.external in ("yes", "true", "예")
51
53
  if a.languages is not None:
@@ -158,7 +160,7 @@ def cmd_principles(a: argparse.Namespace) -> int:
158
160
  """`lantern principles show|detect` — show the chosen design principles · detect languages and tools already in use."""
159
161
  from ..core import principles
160
162
  from ..core import profile as pm
161
- from ..report.harness import code_lines
163
+ from ..report.build_mode import code_lines
162
164
 
163
165
  project = _p()
164
166
  if a.action == "show":
@@ -378,6 +380,7 @@ def register(add: Add) -> None:
378
380
  "comment-language",
379
381
  "kind",
380
382
  "languages",
383
+ "lifespan",
381
384
  "extra",
382
385
  "knowledge",
383
386
  "knowledge-type",
@@ -1,9 +1,10 @@
1
- """Report and sync commands: report · status · scan · sync · map · eval · harness · obsidian."""
1
+ """Report and sync commands: report · status · scan · sync · map · eval · build-mode · obsidian."""
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
5
  import argparse
6
6
  import json
7
+ import unicodedata
7
8
 
8
9
  from ..core.messages import msg
9
10
  from .common import Add, CliError, _csv, _p, _print
@@ -81,18 +82,26 @@ def cmd_eval(a: argparse.Namespace) -> int:
81
82
  return 0
82
83
 
83
84
 
84
- def cmd_harness(a: argparse.Namespace) -> int:
85
- """`lantern harness suggest [--apply]` — suggest a work mode for the project size, and apply it when asked."""
85
+ def cmd_build_mode(a: argparse.Namespace) -> int:
86
+ """`lantern build-mode suggest [--apply]` — suggest how to build, one axis at a time, and apply the loop scope when asked."""
86
87
  from ..core import profile as pm
87
88
  from ..core.project import read, write
88
- from ..report import harness
89
+ from ..report import build_mode
89
90
 
90
91
  project = _p()
91
- s = harness.suggest(project)
92
+ if a.command == "harness":
93
+ print(msg("ℹ `lantern harness` is now `lantern build-mode` — the old name goes away in a later version"))
94
+ s = build_mode.suggest(project)
92
95
  f = s.facts
93
- print(msg("Suggested: {mode}", mode=s.mode))
94
- for r in s.reasons:
95
- print(f" · {r}")
96
+
97
+ def cells(text: str) -> int: # Korean and other wide letters take two columns in a terminal
98
+ return sum(2 if unicodedata.east_asian_width(c) in "WF" else 1 for c in text)
99
+
100
+ width = max(cells(ax.name) for ax in s.axes)
101
+ for ax in s.axes:
102
+ print(f"{ax.name}{' ' * (width - cells(ax.name))} {ax.choice}")
103
+ for r in ax.reasons:
104
+ print(f"{' ' * width} · {r}")
96
105
  print(
97
106
  msg(
98
107
  " (based on: {code_files} code files · {loc} lines · works in progress {active_works} · "
@@ -105,8 +114,7 @@ def cmd_harness(a: argparse.Namespace) -> int:
105
114
  value=msg("yes") if f["has_test"] else msg("no"),
106
115
  )
107
116
  )
108
- if s.settings:
109
- print(msg(" Settings: ") + ", ".join(f"{k}={v}" for k, v in s.settings.items()))
117
+ print(msg(" --apply sets only the loop scope: ") + ", ".join(f"{k}={v}" for k, v in s.settings.items()))
110
118
  if a.apply and s.settings:
111
119
  path = project.root / pm.PROFILE_FILE
112
120
  text = read(path)
@@ -164,6 +172,7 @@ def register(add: Add) -> None:
164
172
  add("map", cmd_map, msg("Update the MOC"))
165
173
  p = add("eval", cmd_eval, msg("Evaluate AI work — which setups helped (run records)"))
166
174
  p.add_argument("--json", action="store_true")
167
- p = add("harness", cmd_harness, msg("Suggest an AI work mode for the project's size (harness · loop · graph)"))
168
- p.add_argument("action", choices=["suggest"])
169
- p.add_argument("--apply", action="store_true")
175
+ for name in ("build-mode", "harness"): # harness: the old name, kept for a while
176
+ p = add(name, cmd_build_mode, msg("Suggest how to build: loop scope · task delegation · parallel works"))
177
+ p.add_argument("action", choices=["suggest"])
178
+ p.add_argument("--apply", action="store_true")
@@ -160,7 +160,9 @@ def cmd_close(a: argparse.Namespace) -> int:
160
160
  """`lantern close <skill>` — every skill's common close: check → map → debt status → run record."""
161
161
  from ..tools import close
162
162
 
163
- _print(close.close(_p(), a.skill, work=a.work, start=a.start, model=a.model, check=not a.no_check, do_map=not a.no_map))
163
+ _print(
164
+ close.close(_p(), a.skill, work=a.work, start=a.start, model=a.model, check=not a.no_check, do_map=not a.no_map, commit=a.commit)
165
+ )
164
166
  return 0
165
167
 
166
168
 
@@ -200,3 +202,6 @@ def register(add: Add) -> None:
200
202
  p.add_argument("--model")
201
203
  p.add_argument("--no-check", action="store_true")
202
204
  p.add_argument("--no-map", action="store_true")
205
+ p.add_argument(
206
+ "--commit", action="store_true", help=msg("Commit the documents of the work (--work) when lantern.yaml docs.commit is auto")
207
+ )
@@ -107,6 +107,7 @@ def cmd_idea(a: argparse.Namespace) -> int:
107
107
 
108
108
  def cmd_task(a: argparse.Namespace) -> int:
109
109
  """`lantern task next|start|done|reopen|list|ac|estimate` — task progress inside /l-build."""
110
+ from ..work import branches
110
111
  from ..work import tasks as task_cmd
111
112
 
112
113
  project = _p()
@@ -139,6 +140,7 @@ def cmd_task(a: argparse.Namespace) -> int:
139
140
  "title": res.task.title if res.task else None,
140
141
  "work": project.rel(res.work) if res.work else None,
141
142
  "all_done": res.all_done,
143
+ "parallel_work": branches.parallel_work_here(project),
142
144
  "skipped": [{"id": i, "reason": r} for i, r in res.skipped],
143
145
  "order_changes": task_cmd.changed_order(project, a.target),
144
146
  },
@@ -152,7 +154,17 @@ def cmd_task(a: argparse.Namespace) -> int:
152
154
  n = project.names
153
155
  print(f"▶ {t.id} {t.title} [{n.attr('size')}:: {t.size or '?'}] [{n.attr('criteria')}:: {', '.join(t.criteria) or '—'}]")
154
156
  elif res.all_done:
155
- print(msg("✅ All tasks done — on to updating the current state"))
157
+ here = branches.parallel_work_here(project)
158
+ if here:
159
+ print(msg("✅ All tasks done"))
160
+ print(
161
+ msg(
162
+ "ℹ This folder is a worktree for parallel work. Wrap up {wid} with /l-finish {wid} in the base folder",
163
+ wid=here,
164
+ )
165
+ )
166
+ else:
167
+ print(msg("✅ All tasks done — on to updating the current state"))
156
168
  else:
157
169
  print(msg("No task can start now"))
158
170
  for tid, why in res.skipped:
@@ -232,7 +244,7 @@ def cmd_unit_log(a: argparse.Namespace) -> int:
232
244
 
233
245
 
234
246
  def cmd_work(a: argparse.Namespace) -> int:
235
- """`lantern work branch|start|list|finish|archive|stage` — work branches, parallel worktrees, finishing."""
247
+ """`lantern work branch|start|overlap|list|finish|archive|stage` — work branches, parallel worktrees, finishing."""
236
248
  from ..work import branches as work
237
249
  from ..work import stages
238
250
 
@@ -246,17 +258,22 @@ def cmd_work(a: argparse.Namespace) -> int:
246
258
  print(msg("Default branch: {name}", name=flow.default_branch))
247
259
  print(msg("Branches: {items}", items=", ".join(flow.branches)))
248
260
  return 0
261
+ if a.here and (a.action != "branch" or a.into or a.from_ref or a.branch_name):
262
+ raise CliError(msg("--here is for `lantern work branch W-012 --here`, on its own"))
263
+ if a.into and a.action not in ("branch", "start"):
264
+ raise CliError(msg("--into is for `lantern work branch` and `lantern work start`"))
249
265
  if a.action == "branch":
250
- print(work.ensure_branch(project, a.ids[0], a.from_ref, a.branch_name))
266
+ print(work.work_here(project, a.ids[0]) if a.here else work.ensure_branch(project, a.ids[0], a.from_ref, a.branch_name, a.into))
251
267
  elif a.action == "start":
252
- _print(work.start(project, a.ids, install=not a.no_install))
268
+ _print(work.start(project, a.ids, install=not a.no_install, into=a.into, skip_check=a.skip_check))
269
+ elif a.action == "overlap":
270
+ _print(work.overlap(project, a.ids))
253
271
  elif a.action == "list":
254
272
  _print(work.list_works(project))
255
273
  elif a.action == "finish":
256
274
  _print(work.finish(project, a.ids[0], test=not a.no_test, keep=a.keep))
257
275
  elif a.action == "archive":
258
- dest = work.archive(project, a.ids[0])
259
- print(msg("✔ Archived: {rel}", rel=project.rel(dest)))
276
+ _print(work.archive(project, a.ids[0], now=a.now))
260
277
  elif a.action == "stage":
261
278
  if len(a.ids) < 2:
262
279
  raise CliError(msg("lantern work stage W-012 <stage>"))
@@ -478,15 +495,19 @@ def register(add: Add) -> None:
478
495
  p.add_argument("--unknown", action="store_true")
479
496
  p.add_argument("--parallel", action="store_true", help=msg("[P] can run at the same time as other [P] tasks"))
480
497
  p = add("work", cmd_work, msg("Work branches · parallel works · finish · archive · stage"))
481
- p.add_argument("action", choices=["branch", "start", "list", "finish", "archive", "stage", "flow"])
498
+ p.add_argument("action", choices=["branch", "start", "overlap", "list", "finish", "archive", "stage", "flow"])
482
499
  p.add_argument("--team", choices=["solo", "team"], help=msg("flow: how many people work on it"))
483
500
  p.add_argument("--origin", choices=["greenfield", "brownfield"], help=msg("flow: a new project, or one with code already"))
484
501
  p.add_argument("ids", nargs="*")
485
502
  p.add_argument("--no-install", action="store_true")
486
503
  p.add_argument("--from", dest="from_ref", help=msg("branch: start from this branch instead of the base branch"))
487
504
  p.add_argument("--name", dest="branch_name", help=msg("branch: use this branch name and keep it in the plan"))
505
+ p.add_argument("--into", help=msg("branch · start: this work only, start from and merge into this branch instead of the base branch"))
506
+ p.add_argument("--here", action="store_true", help=msg("branch: this work only, no work branch, commit straight to the current branch"))
488
507
  p.add_argument("--no-test", action="store_true")
489
508
  p.add_argument("--keep", action="store_true")
509
+ p.add_argument("--now", action="store_true", help=msg("archive: even while running works link to it"))
510
+ p.add_argument("--skip-check", action="store_true", help=msg("start: start works in parallel without /l-parallel"))
490
511
  p = add("pack", cmd_pack, msg("Work pack (a one-off summary for the AI)"))
491
512
  p.add_argument("work")
492
513
  p.add_argument("--out")
@@ -10,7 +10,7 @@ Responsibilities:
10
10
  - find folders with their own manifest (candidates for parts with their own rules)
11
11
 
12
12
  Not here:
13
- - counting lines of code → report/harness.py (code_lines)
13
+ - counting lines of code → report/build_mode.py (code_lines)
14
14
  - the text for AGENTS.md → tools/rules.py (principles_section)
15
15
  - writing the design-principles document → report/principles_doc.py
16
16
  - telling when a size boundary is crossed → check/doctor.py