lanternspec 0.2.9__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 (249) hide show
  1. {lanternspec-0.2.9/src/lanternspec.egg-info → lanternspec-0.3.0}/PKG-INFO +46 -17
  2. {lanternspec-0.2.9 → lanternspec-0.3.0}/README.md +45 -16
  3. {lanternspec-0.2.9 → lanternspec-0.3.0}/pyproject.toml +1 -1
  4. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/check/check_docs.py +5 -3
  5. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/check/doctor.py +1 -1
  6. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/check/githooks.py +33 -8
  7. lanternspec-0.3.0/src/lanternspec/check/pr_check.py +63 -0
  8. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/check/templates.py +29 -1
  9. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/cli/check.py +26 -2
  10. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/cli/core.py +14 -2
  11. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/cli/report.py +22 -13
  12. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/cli/tools.py +24 -2
  13. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/cli/work.py +46 -8
  14. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/core/new_id.py +3 -3
  15. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/core/principles.py +1 -1
  16. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/core/profile.py +40 -7
  17. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/core/taskfile.py +36 -0
  18. lanternspec-0.3.0/src/lanternspec/report/build_mode.py +221 -0
  19. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/agents/AGENTS.md +4 -2
  20. lanternspec-0.3.0/src/lanternspec/resources/locales/en/git/gitmessage.txt +15 -0
  21. lanternspec-0.3.0/src/lanternspec/resources/locales/en/github/pull_request_template.md +14 -0
  22. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-adr/SKILL.md +2 -1
  23. lanternspec-0.3.0/src/lanternspec/resources/locales/en/skills/l-build/SKILL.md +175 -0
  24. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-design/SKILL.md +19 -4
  25. lanternspec-0.3.0/src/lanternspec/resources/locales/en/skills/l-finish/SKILL.md +79 -0
  26. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-init/SKILL.md +84 -24
  27. lanternspec-0.3.0/src/lanternspec/resources/locales/en/skills/l-parallel/SKILL.md +60 -0
  28. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-plan/SKILL.md +8 -7
  29. lanternspec-0.3.0/src/lanternspec/resources/locales/en/skills/l-pr/SKILL.md +83 -0
  30. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-report/SKILL.md +1 -1
  31. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-task/SKILL.md +2 -2
  32. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Design.md +5 -4
  33. lanternspec-0.3.0/src/lanternspec/resources/locales/en/templates/Repository File Rules.md +197 -0
  34. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Server Operations.md +6 -3
  35. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Session Log.md +5 -4
  36. lanternspec-0.3.0/src/lanternspec/resources/locales/en/templates/Tech Selection Criteria.md +238 -0
  37. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/agents/AGENTS.md +4 -2
  38. lanternspec-0.3.0/src/lanternspec/resources/locales/ko/git/gitmessage.txt +15 -0
  39. lanternspec-0.3.0/src/lanternspec/resources/locales/ko/github/pull_request_template.md +14 -0
  40. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-adr/SKILL.md +2 -1
  41. lanternspec-0.3.0/src/lanternspec/resources/locales/ko/skills/l-build/SKILL.md +175 -0
  42. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-design/SKILL.md +19 -4
  43. lanternspec-0.3.0/src/lanternspec/resources/locales/ko/skills/l-finish/SKILL.md +79 -0
  44. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-init/SKILL.md +84 -24
  45. lanternspec-0.3.0/src/lanternspec/resources/locales/ko/skills/l-parallel/SKILL.md +60 -0
  46. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-plan/SKILL.md +8 -7
  47. lanternspec-0.3.0/src/lanternspec/resources/locales/ko/skills/l-pr/SKILL.md +83 -0
  48. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-report/SKILL.md +1 -1
  49. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-task/SKILL.md +2 -2
  50. 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
  51. {lanternspec-0.2.9 → 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
  52. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//354/204/244/352/263/204.md +5 -4
  53. {lanternspec-0.2.9 → 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
  54. 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
  55. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/messages.yaml +116 -23
  56. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/names.yaml +4 -1
  57. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/tools/antigravity.py +20 -2
  58. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/tools/base.py +20 -1
  59. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/tools/claude.py +3 -3
  60. lanternspec-0.3.0/src/lanternspec/tools/close.py +177 -0
  61. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/tools/codex.py +153 -7
  62. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/tools/install.py +67 -4
  63. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/tools/skills.py +5 -0
  64. lanternspec-0.3.0/src/lanternspec/work/branches.py +1246 -0
  65. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/work/epic_rules.py +29 -4
  66. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/work/progress.py +22 -8
  67. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/work/scaffold.py +9 -1
  68. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/work/tasks.py +44 -4
  69. {lanternspec-0.2.9 → lanternspec-0.3.0/src/lanternspec.egg-info}/PKG-INFO +46 -17
  70. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec.egg-info/SOURCES.txt +17 -1
  71. {lanternspec-0.2.9 → lanternspec-0.3.0}/tests/test_core.py +48 -2
  72. lanternspec-0.3.0/tests/test_git.py +1200 -0
  73. {lanternspec-0.2.9 → lanternspec-0.3.0}/tests/test_install_and_aux.py +131 -2
  74. {lanternspec-0.2.9 → lanternspec-0.3.0}/tests/test_later_features.py +11 -8
  75. {lanternspec-0.2.9 → lanternspec-0.3.0}/tests/test_layout.py +3 -0
  76. lanternspec-0.3.0/tests/test_progress_parallel.py +42 -0
  77. {lanternspec-0.2.9 → lanternspec-0.3.0}/tests/test_work_line.py +30 -3
  78. lanternspec-0.2.9/src/lanternspec/report/harness.py +0 -194
  79. lanternspec-0.2.9/src/lanternspec/resources/locales/en/skills/l-build/SKILL.md +0 -103
  80. lanternspec-0.2.9/src/lanternspec/resources/locales/ko/skills/l-build/SKILL.md +0 -103
  81. lanternspec-0.2.9/src/lanternspec/tools/close.py +0 -81
  82. lanternspec-0.2.9/src/lanternspec/work/branches.py +0 -506
  83. lanternspec-0.2.9/tests/test_git.py +0 -251
  84. {lanternspec-0.2.9 → lanternspec-0.3.0}/LICENSE +0 -0
  85. {lanternspec-0.2.9 → lanternspec-0.3.0}/setup.cfg +0 -0
  86. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/__init__.py +0 -0
  87. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/__main__.py +0 -0
  88. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/check/__init__.py +0 -0
  89. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/check/budget.py +0 -0
  90. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/check/layout.py +0 -0
  91. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/check/legacy.py +0 -0
  92. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/cli/__init__.py +0 -0
  93. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/cli/color.py +0 -0
  94. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/cli/common.py +0 -0
  95. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/cli/learn.py +0 -0
  96. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/cli/refs.py +0 -0
  97. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/core/__init__.py +0 -0
  98. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/core/enums.py +0 -0
  99. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/core/frontmatter.py +0 -0
  100. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/core/links.py +0 -0
  101. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/core/messages.py +0 -0
  102. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/core/meta.py +0 -0
  103. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/core/names.py +0 -0
  104. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/core/outline.py +0 -0
  105. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/core/project.py +0 -0
  106. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/core/sections.py +0 -0
  107. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/core/state.py +0 -0
  108. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/core/templating.py +0 -0
  109. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/learn/__init__.py +0 -0
  110. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/learn/debt.py +0 -0
  111. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/learn/knowledge/__init__.py +0 -0
  112. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/learn/knowledge/drafts.py +0 -0
  113. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/learn/knowledge/mcp_server.py +0 -0
  114. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/learn/knowledge/notion.py +0 -0
  115. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/learn/knowledge/obsidian.py +0 -0
  116. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/refs/__init__.py +0 -0
  117. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/refs/convert.py +0 -0
  118. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/refs/domain.py +0 -0
  119. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/refs/index.py +0 -0
  120. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/refs/rules.py +0 -0
  121. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/refs/sources.py +0 -0
  122. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/refs/terms.py +0 -0
  123. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/report/__init__.py +0 -0
  124. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/report/doc_map.py +0 -0
  125. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/report/evaluate.py +0 -0
  126. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/report/obsidian.py +0 -0
  127. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/report/principles_doc.py +0 -0
  128. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/report/resume.py +0 -0
  129. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/report/scan.py +0 -0
  130. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/report/sections_doc.py +0 -0
  131. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/report/status.py +0 -0
  132. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/report/views.py +0 -0
  133. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/__init__.py +0 -0
  134. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/conventions/go.yaml +0 -0
  135. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/conventions/python.yaml +0 -0
  136. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/conventions/rust.yaml +0 -0
  137. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/conventions/swift.yaml +0 -0
  138. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/conventions/typescript.yaml +0 -0
  139. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-check/SKILL.md +0 -0
  140. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-domain/SKILL.md +0 -0
  141. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-idea/SKILL.md +0 -0
  142. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-learn/SKILL.md +0 -0
  143. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-map/SKILL.md +0 -0
  144. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-ref/SKILL.md +0 -0
  145. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-ref/domain.md +0 -0
  146. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-ref/rules.md +0 -0
  147. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-ref/terms.md +0 -0
  148. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-resume/SKILL.md +0 -0
  149. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-sync/SKILL.md +0 -0
  150. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/skills/l-template/SKILL.md +0 -0
  151. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/ADR.md +0 -0
  152. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/API.md +0 -0
  153. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Architecture.md +0 -0
  154. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Collaboration Rules.md +0 -0
  155. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Competency Card.md +0 -0
  156. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Data.md +0 -0
  157. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Debt Card.md +0 -0
  158. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Deployment.md +0 -0
  159. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Docs MOC.md +0 -0
  160. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Feature List.md +0 -0
  161. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Glossary.md +0 -0
  162. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Idea.md +0 -0
  163. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Known Tech.md +0 -0
  164. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Legacy Map.md +0 -0
  165. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Log.md +0 -0
  166. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Meeting Notes.md +0 -0
  167. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Plan.md +0 -0
  168. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Platform Integration.md +0 -0
  169. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Project Definition.md +0 -0
  170. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Screens.md +0 -0
  171. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Tasks.md +0 -0
  172. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/Work Division Rules.md +0 -0
  173. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/en/templates/_meta/enums.yaml +0 -0
  174. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-check/SKILL.md +0 -0
  175. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-domain/SKILL.md +0 -0
  176. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-idea/SKILL.md +0 -0
  177. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-learn/SKILL.md +0 -0
  178. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-map/SKILL.md +0 -0
  179. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-ref/SKILL.md +0 -0
  180. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-ref/domain.md +0 -0
  181. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-ref/rules.md +0 -0
  182. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-ref/terms.md +0 -0
  183. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-resume/SKILL.md +0 -0
  184. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-sync/SKILL.md +0 -0
  185. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/skills/l-template/SKILL.md +0 -0
  186. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates/ADR.md +0 -0
  187. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates/API.md +0 -0
  188. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates/_meta/enums.yaml +0 -0
  189. {lanternspec-0.2.9 → 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
  190. {lanternspec-0.2.9 → 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
  191. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//352/270/260/353/241/235.md" +0 -0
  192. {lanternspec-0.2.9 → 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
  193. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//352/270/260/355/232/215.md" +0 -0
  194. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//353/215/260/354/235/264/355/204/260.md" +0 -0
  195. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//353/260/260/355/217/254.md" +0 -0
  196. {lanternspec-0.2.9 → 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
  197. {lanternspec-0.2.9 → 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
  198. {lanternspec-0.2.9 → 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
  199. {lanternspec-0.2.9 → 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
  200. {lanternspec-0.2.9 → 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
  201. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//354/232/251/354/226/264/354/247/221.md" +0 -0
  202. {lanternspec-0.2.9 → 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
  203. {lanternspec-0.2.9 → 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
  204. {lanternspec-0.2.9 → 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
  205. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//355/225/240 /354/235/274.md" +0 -0
  206. {lanternspec-0.2.9 → 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
  207. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//355/231/224/353/251/264.md" +0 -0
  208. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/locales/ko/templates//355/232/214/354/235/230/353/241/235.md" +0 -0
  209. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/obsidian/lantern-timeline/main.js +0 -0
  210. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/obsidian/lantern-timeline/manifest.json +0 -0
  211. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/obsidian/lantern-timeline/styles.css +0 -0
  212. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/resources/principles.yaml +0 -0
  213. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/tools/__init__.py +0 -0
  214. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/tools/agent_hooks.py +0 -0
  215. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/tools/docs_mode.py +0 -0
  216. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/tools/health.py +0 -0
  217. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/tools/parts.py +0 -0
  218. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/tools/rules.py +0 -0
  219. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/tools/runlog.py +0 -0
  220. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/tools/sessions.py +0 -0
  221. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/work/__init__.py +0 -0
  222. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/work/dbml.py +0 -0
  223. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/work/ideas.py +0 -0
  224. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/work/pack.py +0 -0
  225. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/work/screen.py +0 -0
  226. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec/work/stages.py +0 -0
  227. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec.egg-info/dependency_links.txt +0 -0
  228. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec.egg-info/entry_points.txt +0 -0
  229. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec.egg-info/requires.txt +0 -0
  230. {lanternspec-0.2.9 → lanternspec-0.3.0}/src/lanternspec.egg-info/top_level.txt +0 -0
  231. {lanternspec-0.2.9 → lanternspec-0.3.0}/tests/test_budget.py +0 -0
  232. {lanternspec-0.2.9 → lanternspec-0.3.0}/tests/test_checks.py +0 -0
  233. {lanternspec-0.2.9 → lanternspec-0.3.0}/tests/test_color.py +0 -0
  234. {lanternspec-0.2.9 → lanternspec-0.3.0}/tests/test_english.py +0 -0
  235. {lanternspec-0.2.9 → lanternspec-0.3.0}/tests/test_enums_single_source.py +0 -0
  236. {lanternspec-0.2.9 → lanternspec-0.3.0}/tests/test_learning_line.py +0 -0
  237. {lanternspec-0.2.9 → lanternspec-0.3.0}/tests/test_messages.py +0 -0
  238. {lanternspec-0.2.9 → lanternspec-0.3.0}/tests/test_name_overlap.py +0 -0
  239. {lanternspec-0.2.9 → lanternspec-0.3.0}/tests/test_names.py +0 -0
  240. {lanternspec-0.2.9 → lanternspec-0.3.0}/tests/test_obsidian.py +0 -0
  241. {lanternspec-0.2.9 → lanternspec-0.3.0}/tests/test_part_delivery.py +0 -0
  242. {lanternspec-0.2.9 → lanternspec-0.3.0}/tests/test_parts.py +0 -0
  243. {lanternspec-0.2.9 → lanternspec-0.3.0}/tests/test_principles.py +0 -0
  244. {lanternspec-0.2.9 → lanternspec-0.3.0}/tests/test_principles_data.py +0 -0
  245. {lanternspec-0.2.9 → lanternspec-0.3.0}/tests/test_refs.py +0 -0
  246. {lanternspec-0.2.9 → lanternspec-0.3.0}/tests/test_release_script.py +0 -0
  247. {lanternspec-0.2.9 → lanternspec-0.3.0}/tests/test_resume.py +0 -0
  248. {lanternspec-0.2.9 → lanternspec-0.3.0}/tests/test_skill_commands.py +0 -0
  249. {lanternspec-0.2.9 → 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.9
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,12 +70,13 @@ 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
77
77
  /l-task W-001 an ordered task list
78
78
  /l-build W-001 implement → test → one commit per task, report with evidence → merge into the current state
79
+ /l-pr open a pull request that fits the branch flow (if you use PRs)
79
80
  /l-report kanban · timeline · debt · a three-line status report
80
81
  ```
81
82
 
@@ -98,6 +99,8 @@ Then call `/l-init` inside your AI tool (`$l-init` in Codex).
98
99
 
99
100
  ## Flow and skills
100
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
+
101
104
  ```mermaid
102
105
  flowchart LR
103
106
  S["⚙️ /l-init"] --> I
@@ -111,12 +114,12 @@ flowchart LR
111
114
 
112
115
  | Skill | What it does | What it leaves |
113
116
  |---|---|---|
114
- | `/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) | `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 |
115
118
  | `/l-idea` | records a thought from the conversation, as said and as summarised | `1. Ideas/IDEA-001 …` |
116
119
  | `/l-plan` | what and why — a work folder and acceptance criteria | `2. Work/W-001 …/Plan.md` |
117
- | `/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 |
118
121
  | `/l-task` | an ordered task list (size · acceptance criteria · dependencies) | `Tasks.md` |
119
- | `/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` |
120
123
  | `/l-learn` | compares unfamiliar tech with your knowledge base → 🟢 · 🟡 · 🔴, debt cards and draft study notes | `📒 Debt/Cards/D-001 …` |
121
124
  | `/l-report` | kanban · timeline · domain · traceability · debt · docs-vs-code status + a three-line report | `4. Operations/Reports/Status Report.md` |
122
125
  | `/l-template` | create, refine and migrate templates (without losing content) | `0. Templates/…` |
@@ -127,6 +130,9 @@ flowchart LR
127
130
  | `/l-resume` | carries on an earlier conversation — from any AI tool, from where it stopped even if it was cut off | — |
128
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` |
129
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") |
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/` |
130
136
 
131
137
  ### How it works
132
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.
@@ -147,7 +153,7 @@ docs/
147
153
  ├─ 2. Work/W-001 …/ plan · design · tasks · log — the only place edited while working
148
154
  │ └─ Archive/ archive
149
155
  ├─ 3. Current State/ what the system looks like now — updated only when work is done, after approval
150
- │ └─ Rules/ · Decisions/ · Deployment and Operations/ · Glossary …
156
+ │ └─ Rules/ (Tech Selection Criteria · Repository File Rules …) · Decisions/ · Deployment and Operations/ · Glossary …
151
157
  ├─ 4. Operations/ reports · session logs · (teams of 2+) meeting notes
152
158
  ├─ 5. Legacy Docs/ (existing projects) original documents, kept unchanged
153
159
  ├─ 📒 Debt/ understanding debt — one card per debt
@@ -177,6 +183,26 @@ lantern obsidian plugins # downloads the latest official release files of bo
177
183
 
178
184
  When Obsidian first asks whether to turn on community plugins, turn them on (leave restricted mode). Plugin code and the window layout (`workspace.json`) stay out of git; only the settings are committed. Teammates run the same command.
179
185
 
186
+ ### Branch flow
187
+
188
+ One work is one branch. `/l-init` asks how finished work gets merged, and `lantern work flow` works out the recommendation from the branches and remote.
189
+
190
+ | Flow | How it goes | Good for |
191
+ |---|---|---|
192
+ | A. Keep it simple | work → default branch | starting out, or building fast on your own |
193
+ | B. Separate development from deployment | work → `dev`, then a PR from `dev` to the default branch when deploying | a service that deploys as soon as the default branch changes |
194
+ | C. A PR for each work | work → PR → base branch | getting code reviews |
195
+ | D. Keep what you use now | records only where work merges; branches stay as they are | a project that already has a strategy |
196
+
197
+ Work branches are named `work/W-012` by default; change it with `git.branch` in `lantern.yaml`.
198
+
199
+ ```yaml
200
+ git:
201
+ branch: feature/{id}-{slug} # → feature/W-012-login (blanks other than {id} are named for each work)
202
+ ```
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
+
180
206
  ## Supported AI tools
181
207
 
182
208
  | Tool | Skills | Rules | Agent hooks | MCP (`--mcp`) |
@@ -200,7 +226,7 @@ LanternSpec connects its checks to those hooks, so `lantern` checks at every sta
200
226
  | Just before a commit | looks at what the commit contains and checks that the records that should go with it are there | warns when the database structure changed but the work log doesn't mention it |
201
227
  | After the commit message | checks that the message says which task the commit belongs to | warns when the message has no task ID (e.g. `[W-001-T02]` = the 2nd task of work item #1) |
202
228
  | Just before a push | checks that nothing that must stay local is being pushed | blocks pushing the documents branch you chose to keep off the remote |
203
- | After pushing to GitHub | runs the same checks again on GitHub, whoever pushed (CI) | marks the run failed if document format, lint, type checks or tests break |
229
+ | After pushing to GitHub | runs the same checks again on GitHub, whoever pushed (CI) | marks the run failed if document format, lint, type checks or tests break; on PRs it also looks for work IDs in the title and commits |
204
230
  | On demand | scans past commits and lists where documents and code drifted apart (`lantern scan`) | documents not reviewed for a while although their code changed |
205
231
 
206
232
  - **Warnings by default.** Work is never blocked. To make the commit checks blocking, set `git.hooks` to `block` in `lantern.yaml`.
@@ -209,6 +235,8 @@ LanternSpec connects its checks to those hooks, so `lantern` checks at every sta
209
235
  ```bash
210
236
  lantern hooks install # turns on the commit and push checks (/l-init asks before installing)
211
237
  lantern install --ci # also checks on GitHub (turn off with --no-ci)
238
+ lantern install --pr-template # adds a PR template for GitHub
239
+ lantern install --commit-template # adds a commit message template and sets it for this clone
212
240
  ```
213
241
 
214
242
  ## References — company rules, terms and domain knowledge
@@ -264,32 +292,33 @@ Picks design principles and code conventions from a table, based on the project
264
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)
265
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`.
266
294
 
267
- ### How the AI works
268
- `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**.
269
297
 
270
- - **Harness:** small loops inside one task. The default for small projects
271
- - **Loop:** reruns the whole work item until the acceptance tests pass
272
- - **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`)
273
301
 
274
302
  ### Evaluation
275
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.
276
304
 
277
305
  ### Design tools
278
- 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.
279
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.
280
309
 
281
310
  ## CLI at a glance
282
311
 
283
312
  ```text
284
- setup install [--language] [--tools] [--mcp] [--ci|--no-ci] · upgrade [--apply] · doctor · harness suggest
313
+ setup install [--language] [--tools] [--mcp] [--ci|--no-ci] [--pr-template] [--commit-template] · upgrade [--apply] · doctor · build-mode suggest
285
314
  profile profile show|docs|write|set · principles show|detect · parts [add|ignore] · enums list|rename · sections list|rename|off|on
286
315
  documents scaffold init [--plan] | work | doc | idea | adr | meeting | custom · new-id · map · meta get|set
287
- checks check [--changed] [--epic W-012] · lint [--ci] · check-dbml · dbml render|from-sql|diff
316
+ checks check [--changed] [--epic W-012] · check-pr · lint [--ci] · check-dbml · dbml render|from-sql|diff
288
317
  work task next [--all]|start|done|ac|list|estimate · task add [--parallel] · pack · screen import|compare
289
- work branch|start|list|finish|archive|stage · 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
290
319
  learning knowledge search|read|propose|write|areas · debt find|new|ask|resolve|promote|practice|known|status|list · mcp
291
320
  reports report [--views] [--summary] · status · resume [--session] [--more] · scan [--tests] [--ci] · sync adopt · eval · obsidian plugins
292
- 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
293
322
  references ref list|check|index|read · tag|exclude|rules · terms|term|glossary|candidate · domain|describe|attach · convert [--apply]|preview
294
323
  git hooks install|uninstall|status · docs-mode local|shared
295
324
  wrap-up close <skill>
@@ -55,12 +55,13 @@ 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
62
62
  /l-task W-001 an ordered task list
63
63
  /l-build W-001 implement → test → one commit per task, report with evidence → merge into the current state
64
+ /l-pr open a pull request that fits the branch flow (if you use PRs)
64
65
  /l-report kanban · timeline · debt · a three-line status report
65
66
  ```
66
67
 
@@ -83,6 +84,8 @@ Then call `/l-init` inside your AI tool (`$l-init` in Codex).
83
84
 
84
85
  ## Flow and skills
85
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
+
86
89
  ```mermaid
87
90
  flowchart LR
88
91
  S["⚙️ /l-init"] --> I
@@ -96,12 +99,12 @@ flowchart LR
96
99
 
97
100
  | Skill | What it does | What it leaves |
98
101
  |---|---|---|
99
- | `/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) | `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 |
100
103
  | `/l-idea` | records a thought from the conversation, as said and as summarised | `1. Ideas/IDEA-001 …` |
101
104
  | `/l-plan` | what and why — a work folder and acceptance criteria | `2. Work/W-001 …/Plan.md` |
102
- | `/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 |
103
106
  | `/l-task` | an ordered task list (size · acceptance criteria · dependencies) | `Tasks.md` |
104
- | `/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` |
105
108
  | `/l-learn` | compares unfamiliar tech with your knowledge base → 🟢 · 🟡 · 🔴, debt cards and draft study notes | `📒 Debt/Cards/D-001 …` |
106
109
  | `/l-report` | kanban · timeline · domain · traceability · debt · docs-vs-code status + a three-line report | `4. Operations/Reports/Status Report.md` |
107
110
  | `/l-template` | create, refine and migrate templates (without losing content) | `0. Templates/…` |
@@ -112,6 +115,9 @@ flowchart LR
112
115
  | `/l-resume` | carries on an earlier conversation — from any AI tool, from where it stopped even if it was cut off | — |
113
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` |
114
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") |
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/` |
115
121
 
116
122
  ### How it works
117
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.
@@ -132,7 +138,7 @@ docs/
132
138
  ├─ 2. Work/W-001 …/ plan · design · tasks · log — the only place edited while working
133
139
  │ └─ Archive/ archive
134
140
  ├─ 3. Current State/ what the system looks like now — updated only when work is done, after approval
135
- │ └─ Rules/ · Decisions/ · Deployment and Operations/ · Glossary …
141
+ │ └─ Rules/ (Tech Selection Criteria · Repository File Rules …) · Decisions/ · Deployment and Operations/ · Glossary …
136
142
  ├─ 4. Operations/ reports · session logs · (teams of 2+) meeting notes
137
143
  ├─ 5. Legacy Docs/ (existing projects) original documents, kept unchanged
138
144
  ├─ 📒 Debt/ understanding debt — one card per debt
@@ -162,6 +168,26 @@ lantern obsidian plugins # downloads the latest official release files of bo
162
168
 
163
169
  When Obsidian first asks whether to turn on community plugins, turn them on (leave restricted mode). Plugin code and the window layout (`workspace.json`) stay out of git; only the settings are committed. Teammates run the same command.
164
170
 
171
+ ### Branch flow
172
+
173
+ One work is one branch. `/l-init` asks how finished work gets merged, and `lantern work flow` works out the recommendation from the branches and remote.
174
+
175
+ | Flow | How it goes | Good for |
176
+ |---|---|---|
177
+ | A. Keep it simple | work → default branch | starting out, or building fast on your own |
178
+ | B. Separate development from deployment | work → `dev`, then a PR from `dev` to the default branch when deploying | a service that deploys as soon as the default branch changes |
179
+ | C. A PR for each work | work → PR → base branch | getting code reviews |
180
+ | D. Keep what you use now | records only where work merges; branches stay as they are | a project that already has a strategy |
181
+
182
+ Work branches are named `work/W-012` by default; change it with `git.branch` in `lantern.yaml`.
183
+
184
+ ```yaml
185
+ git:
186
+ branch: feature/{id}-{slug} # → feature/W-012-login (blanks other than {id} are named for each work)
187
+ ```
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
+
165
191
  ## Supported AI tools
166
192
 
167
193
  | Tool | Skills | Rules | Agent hooks | MCP (`--mcp`) |
@@ -185,7 +211,7 @@ LanternSpec connects its checks to those hooks, so `lantern` checks at every sta
185
211
  | Just before a commit | looks at what the commit contains and checks that the records that should go with it are there | warns when the database structure changed but the work log doesn't mention it |
186
212
  | After the commit message | checks that the message says which task the commit belongs to | warns when the message has no task ID (e.g. `[W-001-T02]` = the 2nd task of work item #1) |
187
213
  | Just before a push | checks that nothing that must stay local is being pushed | blocks pushing the documents branch you chose to keep off the remote |
188
- | After pushing to GitHub | runs the same checks again on GitHub, whoever pushed (CI) | marks the run failed if document format, lint, type checks or tests break |
214
+ | After pushing to GitHub | runs the same checks again on GitHub, whoever pushed (CI) | marks the run failed if document format, lint, type checks or tests break; on PRs it also looks for work IDs in the title and commits |
189
215
  | On demand | scans past commits and lists where documents and code drifted apart (`lantern scan`) | documents not reviewed for a while although their code changed |
190
216
 
191
217
  - **Warnings by default.** Work is never blocked. To make the commit checks blocking, set `git.hooks` to `block` in `lantern.yaml`.
@@ -194,6 +220,8 @@ LanternSpec connects its checks to those hooks, so `lantern` checks at every sta
194
220
  ```bash
195
221
  lantern hooks install # turns on the commit and push checks (/l-init asks before installing)
196
222
  lantern install --ci # also checks on GitHub (turn off with --no-ci)
223
+ lantern install --pr-template # adds a PR template for GitHub
224
+ lantern install --commit-template # adds a commit message template and sets it for this clone
197
225
  ```
198
226
 
199
227
  ## References — company rules, terms and domain knowledge
@@ -249,32 +277,33 @@ Picks design principles and code conventions from a table, based on the project
249
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)
250
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`.
251
279
 
252
- ### How the AI works
253
- `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**.
254
282
 
255
- - **Harness:** small loops inside one task. The default for small projects
256
- - **Loop:** reruns the whole work item until the acceptance tests pass
257
- - **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`)
258
286
 
259
287
  ### Evaluation
260
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.
261
289
 
262
290
  ### Design tools
263
- 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.
264
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.
265
294
 
266
295
  ## CLI at a glance
267
296
 
268
297
  ```text
269
- setup install [--language] [--tools] [--mcp] [--ci|--no-ci] · upgrade [--apply] · doctor · harness suggest
298
+ setup install [--language] [--tools] [--mcp] [--ci|--no-ci] [--pr-template] [--commit-template] · upgrade [--apply] · doctor · build-mode suggest
270
299
  profile profile show|docs|write|set · principles show|detect · parts [add|ignore] · enums list|rename · sections list|rename|off|on
271
300
  documents scaffold init [--plan] | work | doc | idea | adr | meeting | custom · new-id · map · meta get|set
272
- checks check [--changed] [--epic W-012] · lint [--ci] · check-dbml · dbml render|from-sql|diff
301
+ checks check [--changed] [--epic W-012] · check-pr · lint [--ci] · check-dbml · dbml render|from-sql|diff
273
302
  work task next [--all]|start|done|ac|list|estimate · task add [--parallel] · pack · screen import|compare
274
- work branch|start|list|finish|archive|stage · 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
275
304
  learning knowledge search|read|propose|write|areas · debt find|new|ask|resolve|promote|practice|known|status|list · mcp
276
305
  reports report [--views] [--summary] · status · resume [--session] [--more] · scan [--tests] [--ci] · sync adopt · eval · obsidian plugins
277
- 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
278
307
  references ref list|check|index|read · tag|exclude|rules · terms|term|glossary|candidate · domain|describe|attach · convert [--apply]|preview
279
308
  git hooks install|uninstall|status · docs-mode local|shared
280
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.9"
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])
@@ -214,6 +214,37 @@ def _content_result(project: Project, problems: list[str], label: str) -> int:
214
214
  return 0
215
215
 
216
216
 
217
+ def message_problems(message: str, has_code: bool, where: str | None = None) -> list[str]:
218
+ """Check one commit message: code needs a task ID, and one commit should hold one task.
219
+
220
+ Args:
221
+ message: The whole commit message.
222
+ has_code: Whether the commit changes code.
223
+ where: How to call the commit in the message; "code commit" when None.
224
+
225
+ Returns:
226
+ What is wrong, one line per problem.
227
+
228
+ Example:
229
+ >>> message_problems("feat: 로그인 [W-001-T02]", True)
230
+ []
231
+ >>> len(message_problems("feat: 로그인", True))
232
+ 1
233
+ """
234
+ problems: list[str] = []
235
+ if has_code and not ID_RE.search(message):
236
+ problems.append(
237
+ msg(
238
+ "Commit message: the {where} message has no task ID — add one at the end, like [W-001-T02]",
239
+ where=where or msg("code commit"),
240
+ )
241
+ )
242
+ tasks = sorted(set(TASK_RE.findall(message)))
243
+ if len(tasks) > 1:
244
+ problems.append(msg("Commit message: several tasks in one commit ({items}) — one task = one commit", items=", ".join(tasks)))
245
+ return problems
246
+
247
+
217
248
  def commit_msg(project: Project, msg_file: str) -> int:
218
249
  """Check a commit message: code commits need a task ID, and one commit should hold one task.
219
250
 
@@ -241,14 +272,8 @@ def commit_msg(project: Project, msg_file: str) -> int:
241
272
  from ..report.scan import is_doc_path
242
273
 
243
274
  code = staged if docs_branch else [f for f in staged if not is_doc_path(project, f)]
244
- problems: list[str] = []
245
- if code and not ID_RE.search(message):
246
- where = msg("the docs branch") if docs_branch else msg("code commit")
247
- problems.append(msg("Commit message: the {where} message has no task ID — add one at the end, like [W-001-T02]", where=where))
248
- tasks = sorted(set(TASK_RE.findall(message)))
249
- if len(tasks) > 1:
250
- problems.append(msg("Commit message: several tasks in one commit ({items}) — one task = one commit", items=", ".join(tasks)))
251
- return _content_result(project, problems, msg("commit message check"))
275
+ where = msg("the docs branch") if docs_branch else msg("code commit")
276
+ return _content_result(project, message_problems(message, bool(code), where), msg("commit message check"))
252
277
 
253
278
 
254
279
  def structure_problems(project: Project, cwd: Path | None = None, staged: list[str] | None = None) -> list[str]:
@@ -0,0 +1,63 @@
1
+ """`lantern check-pr` — check a pull request's title and commits for work IDs (for CI).
2
+
3
+ Responsibilities:
4
+ - a PR title needs a work ID, so the work stays findable after a squash merge
5
+ - commits follow the same message rules as the commit-msg hook
6
+
7
+ Not here:
8
+ - the message rules themselves → check/githooks.py (message_problems)
9
+ - the workflow that runs this → tools/install.py (CI_CHECKS)
10
+ """
11
+
12
+ from __future__ import annotations
13
+
14
+ from ..core.messages import msg
15
+ from ..core.project import Project
16
+ from .githooks import ID_RE, SKIP_MSG, message_problems
17
+
18
+
19
+ def title_problems(title: str) -> list[str]:
20
+ """Check a PR title.
21
+
22
+ Args:
23
+ title: The PR title.
24
+
25
+ Returns:
26
+ What is wrong; empty when the title has a work ID or is a revert.
27
+
28
+ Example:
29
+ >>> title_problems("[FEAT] 로그인 [W-012]")
30
+ []
31
+ >>> len(title_problems("로그인"))
32
+ 1
33
+ """
34
+ if SKIP_MSG.search(title) or ID_RE.search(title):
35
+ return []
36
+ return [msg("PR title: no work ID — add one at the end, like [W-012]")]
37
+
38
+
39
+ def pr_problems(project: Project, title: str, rev: str) -> list[str]:
40
+ """Check a PR's title and each of its commits, leaving out merges.
41
+
42
+ Args:
43
+ project: The project.
44
+ title: The PR title.
45
+ rev: The PR's commits, e.g. "abc123..def456".
46
+
47
+ Returns:
48
+ What is wrong, one line per problem.
49
+
50
+ Example:
51
+ >>> pr_problems(project, "로그인 [W-012]", "main..HEAD") # doctest: +SKIP
52
+ []
53
+ """
54
+ from ..report.scan import commits, is_doc_path
55
+
56
+ out = title_problems(title)
57
+ for c in commits(project, rev):
58
+ message = f"{c.subject}\n{c.body}".strip()
59
+ if SKIP_MSG.search(message):
60
+ continue
61
+ has_code = any(not is_doc_path(project, f) for f in c.files)
62
+ out += [f"{c.short} {c.subject}: {p}" for p in message_problems(message, has_code)]
63
+ return out
@@ -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
 
@@ -171,8 +175,28 @@ def cmd_lint(a: argparse.Namespace) -> int:
171
175
  return 1 if failed else 0
172
176
 
173
177
 
178
+ def cmd_check_pr(a: argparse.Namespace) -> int:
179
+ """`lantern check-pr` — check a pull request's title and commits for work IDs (CI runs it)."""
180
+ from ..check.pr_check import pr_problems
181
+
182
+ project = _p()
183
+ problems = pr_problems(project, a.title, a.range)
184
+ if not problems:
185
+ print(msg("✔ PR title and commits have work IDs"))
186
+ return 0
187
+ block = project.profile.get("git.hooks") == "block"
188
+ for p in problems:
189
+ print(f"{'✖' if block else '⚠'} {p}")
190
+ if not block:
191
+ print(msg("(warning only — to fail the check, lantern.yaml git.hooks: block)"))
192
+ return 1 if block else 0
193
+
194
+
174
195
  def register(add: Add) -> None:
175
196
  """Register the check and template commands."""
197
+ p = add("check-pr", cmd_check_pr, msg("Check a pull request's title and commits for work IDs (for CI)"))
198
+ p.add_argument("--title", required=True)
199
+ p.add_argument("--range", required=True, help=msg("The PR's commits, like base..head"))
176
200
  p = add("check", cmd_check, msg("Check document formats"))
177
201
  p.add_argument("paths", nargs="*")
178
202
  p.add_argument("--changed", action="store_true")
@@ -182,8 +206,8 @@ def register(add: Add) -> None:
182
206
  p.add_argument("--strict", action="store_true", help=msg("Treat warnings as failures"))
183
207
  p = add("lint", cmd_lint, msg("Code lint · type check (each part's commands, or lantern.yaml build.lint · build.typecheck)"))
184
208
  p.add_argument("--ci", action="store_true", help=msg("For CI: leave out parts with ci: false, and follow build.ci_lint"))
185
- p = add("template", cmd_template, msg("Templates: list · lint · level · bump · outdated · diff · usage · new · migrate"))
186
- 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"])
187
211
  p.add_argument("name", nargs="?")
188
212
  p.add_argument("level", nargs="?", help="bump: patch|minor|major|auto")
189
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:
@@ -77,6 +79,9 @@ def cmd_profile(a: argparse.Namespace) -> int:
77
79
  git_cfg["base"] = a.base
78
80
  if a.hooks:
79
81
  git_cfg["hooks"] = a.hooks
82
+ for key in ("branch", "pr", "deploy"):
83
+ if getattr(a, key):
84
+ git_cfg[key] = getattr(a, key)
80
85
  path = pm.save(project.root, data)
81
86
  print(msg("✔ Saved {name}", name=path.name))
82
87
  print(msg("Next: lantern scaffold init --plan"))
@@ -92,7 +97,10 @@ def cmd_profile(a: argparse.Namespace) -> int:
92
97
  raise CliError(msg("Document storage changes only with lantern docs-mode local|shared"))
93
98
  pm.update(project.root, updates)
94
99
  print("✔ " + ", ".join(f"{k}={v}" for k, v in updates.items()))
95
- if any(k.split(".")[0] in ("idea", "learn", "plan", "design", "build", "report", "docs") for k in updates):
100
+ rule = updates.get("git.branch")
101
+ if rule is not None and "{id}" not in str(rule):
102
+ print(msg("⚠ git.branch has no {{id}}: works on different branches may get the same number"))
103
+ if any(k.split(".")[0] in ("idea", "learn", "plan", "design", "build", "report", "docs", "git") for k in updates):
96
104
  print(msg("ℹ This value changes how skills work → lantern upgrade"))
97
105
  if any(k.startswith("project.") or k == "knowledge" or k == "docs.extra" for k in updates):
98
106
  print(msg("ℹ The documents to turn on may change → lantern scaffold init --plan"))
@@ -152,7 +160,7 @@ def cmd_principles(a: argparse.Namespace) -> int:
152
160
  """`lantern principles show|detect` — show the chosen design principles · detect languages and tools already in use."""
153
161
  from ..core import principles
154
162
  from ..core import profile as pm
155
- from ..report.harness import code_lines
163
+ from ..report.build_mode import code_lines
156
164
 
157
165
  project = _p()
158
166
  if a.action == "show":
@@ -372,6 +380,7 @@ def register(add: Add) -> None:
372
380
  "comment-language",
373
381
  "kind",
374
382
  "languages",
383
+ "lifespan",
375
384
  "extra",
376
385
  "knowledge",
377
386
  "knowledge-type",
@@ -381,6 +390,9 @@ def register(add: Add) -> None:
381
390
  "remote",
382
391
  "base",
383
392
  "hooks",
393
+ "branch",
394
+ "pr",
395
+ "deploy",
384
396
  ):
385
397
  p.add_argument(f"--{flag}")
386
398
  p.add_argument("--external", choices=["yes", "no"], help=msg("Connects to outside tools · services"))