lanternspec 0.3.0__tar.gz → 0.3.2__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 (250) hide show
  1. {lanternspec-0.3.0/src/lanternspec.egg-info → lanternspec-0.3.2}/PKG-INFO +8 -6
  2. {lanternspec-0.3.0 → lanternspec-0.3.2}/README.md +7 -5
  3. {lanternspec-0.3.0 → lanternspec-0.3.2}/pyproject.toml +1 -1
  4. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/check/check_docs.py +16 -7
  5. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/cli/report.py +4 -3
  6. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/cli/work.py +5 -2
  7. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/core/enums.py +7 -0
  8. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/core/meta.py +102 -1
  9. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/core/profile.py +2 -0
  10. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/core/taskfile.py +31 -2
  11. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/refs/terms.py +24 -3
  12. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/report/evaluate.py +6 -4
  13. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/report/obsidian.py +192 -17
  14. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/report/status.py +1 -1
  15. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/report/views.py +233 -48
  16. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/skills/l-build/SKILL.md +10 -4
  17. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/skills/l-sync/SKILL.md +1 -1
  18. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/skills/l-task/SKILL.md +5 -4
  19. lanternspec-0.3.2/src/lanternspec/resources/locales/en/templates/Task Breakdown Rules.md +64 -0
  20. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Tasks.md +8 -5
  21. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/_meta/enums.yaml +5 -4
  22. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/skills/l-build/SKILL.md +10 -4
  23. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/skills/l-sync/SKILL.md +1 -1
  24. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/skills/l-task/SKILL.md +5 -4
  25. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/templates/_meta/enums.yaml +5 -4
  26. lanternspec-0.3.2/src/lanternspec/resources/locales/ko/templates//355/225/240 /354/235/274 /353/202/230/353/210/204/352/270/260 /352/270/260/354/244/200.md" +64 -0
  27. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/templates//355/225/240 /354/235/274.md" +8 -5
  28. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/messages.yaml +61 -11
  29. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/names.yaml +7 -3
  30. lanternspec-0.3.2/src/lanternspec/resources/obsidian/lantern-kanban/main.js +283 -0
  31. lanternspec-0.3.2/src/lanternspec/resources/obsidian/lantern-kanban/manifest.json +9 -0
  32. lanternspec-0.3.2/src/lanternspec/resources/obsidian/lantern-kanban/styles.css +111 -0
  33. lanternspec-0.3.2/src/lanternspec/resources/obsidian/lantern-timeline/main.js +904 -0
  34. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/obsidian/lantern-timeline/manifest.json +2 -2
  35. lanternspec-0.3.2/src/lanternspec/resources/obsidian/lantern-timeline/styles.css +114 -0
  36. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/tools/__init__.py +24 -0
  37. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/tools/antigravity.py +1 -0
  38. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/tools/base.py +3 -0
  39. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/tools/claude.py +1 -0
  40. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/tools/close.py +28 -6
  41. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/tools/codex.py +1 -0
  42. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/tools/install.py +23 -1
  43. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/work/tasks.py +89 -14
  44. {lanternspec-0.3.0 → lanternspec-0.3.2/src/lanternspec.egg-info}/PKG-INFO +8 -6
  45. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec.egg-info/SOURCES.txt +5 -0
  46. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_checks.py +2 -2
  47. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_english.py +1 -1
  48. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_later_features.py +2 -2
  49. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_layout.py +1 -0
  50. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_obsidian.py +76 -6
  51. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_work_line.py +106 -2
  52. lanternspec-0.3.0/src/lanternspec/resources/obsidian/lantern-timeline/main.js +0 -389
  53. lanternspec-0.3.0/src/lanternspec/resources/obsidian/lantern-timeline/styles.css +0 -68
  54. {lanternspec-0.3.0 → lanternspec-0.3.2}/LICENSE +0 -0
  55. {lanternspec-0.3.0 → lanternspec-0.3.2}/setup.cfg +0 -0
  56. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/__init__.py +0 -0
  57. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/__main__.py +0 -0
  58. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/check/__init__.py +0 -0
  59. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/check/budget.py +0 -0
  60. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/check/doctor.py +0 -0
  61. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/check/githooks.py +0 -0
  62. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/check/layout.py +0 -0
  63. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/check/legacy.py +0 -0
  64. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/check/pr_check.py +0 -0
  65. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/check/templates.py +0 -0
  66. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/cli/__init__.py +0 -0
  67. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/cli/check.py +0 -0
  68. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/cli/color.py +0 -0
  69. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/cli/common.py +0 -0
  70. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/cli/core.py +0 -0
  71. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/cli/learn.py +0 -0
  72. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/cli/refs.py +0 -0
  73. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/cli/tools.py +0 -0
  74. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/core/__init__.py +0 -0
  75. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/core/frontmatter.py +0 -0
  76. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/core/links.py +0 -0
  77. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/core/messages.py +0 -0
  78. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/core/names.py +0 -0
  79. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/core/new_id.py +0 -0
  80. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/core/outline.py +0 -0
  81. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/core/principles.py +0 -0
  82. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/core/project.py +0 -0
  83. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/core/sections.py +0 -0
  84. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/core/state.py +0 -0
  85. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/core/templating.py +0 -0
  86. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/learn/__init__.py +0 -0
  87. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/learn/debt.py +0 -0
  88. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/learn/knowledge/__init__.py +0 -0
  89. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/learn/knowledge/drafts.py +0 -0
  90. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/learn/knowledge/mcp_server.py +0 -0
  91. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/learn/knowledge/notion.py +0 -0
  92. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/learn/knowledge/obsidian.py +0 -0
  93. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/refs/__init__.py +0 -0
  94. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/refs/convert.py +0 -0
  95. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/refs/domain.py +0 -0
  96. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/refs/index.py +0 -0
  97. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/refs/rules.py +0 -0
  98. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/refs/sources.py +0 -0
  99. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/report/__init__.py +0 -0
  100. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/report/build_mode.py +0 -0
  101. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/report/doc_map.py +0 -0
  102. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/report/principles_doc.py +0 -0
  103. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/report/resume.py +0 -0
  104. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/report/scan.py +0 -0
  105. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/report/sections_doc.py +0 -0
  106. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/__init__.py +0 -0
  107. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/conventions/go.yaml +0 -0
  108. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/conventions/python.yaml +0 -0
  109. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/conventions/rust.yaml +0 -0
  110. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/conventions/swift.yaml +0 -0
  111. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/conventions/typescript.yaml +0 -0
  112. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/agents/AGENTS.md +0 -0
  113. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/git/gitmessage.txt +0 -0
  114. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/github/pull_request_template.md +0 -0
  115. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/skills/l-adr/SKILL.md +0 -0
  116. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/skills/l-check/SKILL.md +0 -0
  117. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/skills/l-design/SKILL.md +0 -0
  118. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/skills/l-domain/SKILL.md +0 -0
  119. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/skills/l-finish/SKILL.md +0 -0
  120. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/skills/l-idea/SKILL.md +0 -0
  121. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/skills/l-init/SKILL.md +0 -0
  122. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/skills/l-learn/SKILL.md +0 -0
  123. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/skills/l-map/SKILL.md +0 -0
  124. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/skills/l-parallel/SKILL.md +0 -0
  125. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/skills/l-plan/SKILL.md +0 -0
  126. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/skills/l-pr/SKILL.md +0 -0
  127. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/skills/l-ref/SKILL.md +0 -0
  128. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/skills/l-ref/domain.md +0 -0
  129. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/skills/l-ref/rules.md +0 -0
  130. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/skills/l-ref/terms.md +0 -0
  131. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/skills/l-report/SKILL.md +0 -0
  132. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/skills/l-resume/SKILL.md +0 -0
  133. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/skills/l-template/SKILL.md +0 -0
  134. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/ADR.md +0 -0
  135. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/API.md +0 -0
  136. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Architecture.md +0 -0
  137. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Collaboration Rules.md +0 -0
  138. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Competency Card.md +0 -0
  139. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Data.md +0 -0
  140. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Debt Card.md +0 -0
  141. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Deployment.md +0 -0
  142. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Design.md +0 -0
  143. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Docs MOC.md +0 -0
  144. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Feature List.md +0 -0
  145. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Glossary.md +0 -0
  146. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Idea.md +0 -0
  147. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Known Tech.md +0 -0
  148. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Legacy Map.md +0 -0
  149. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Log.md +0 -0
  150. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Meeting Notes.md +0 -0
  151. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Plan.md +0 -0
  152. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Platform Integration.md +0 -0
  153. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Project Definition.md +0 -0
  154. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Repository File Rules.md +0 -0
  155. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Screens.md +0 -0
  156. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Server Operations.md +0 -0
  157. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Session Log.md +0 -0
  158. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Tech Selection Criteria.md +0 -0
  159. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/en/templates/Work Division Rules.md +0 -0
  160. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/agents/AGENTS.md +0 -0
  161. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/git/gitmessage.txt +0 -0
  162. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/github/pull_request_template.md +0 -0
  163. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/skills/l-adr/SKILL.md +0 -0
  164. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/skills/l-check/SKILL.md +0 -0
  165. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/skills/l-design/SKILL.md +0 -0
  166. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/skills/l-domain/SKILL.md +0 -0
  167. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/skills/l-finish/SKILL.md +0 -0
  168. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/skills/l-idea/SKILL.md +0 -0
  169. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/skills/l-init/SKILL.md +0 -0
  170. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/skills/l-learn/SKILL.md +0 -0
  171. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/skills/l-map/SKILL.md +0 -0
  172. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/skills/l-parallel/SKILL.md +0 -0
  173. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/skills/l-plan/SKILL.md +0 -0
  174. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/skills/l-pr/SKILL.md +0 -0
  175. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/skills/l-ref/SKILL.md +0 -0
  176. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/skills/l-ref/domain.md +0 -0
  177. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/skills/l-ref/rules.md +0 -0
  178. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/skills/l-ref/terms.md +0 -0
  179. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/skills/l-report/SKILL.md +0 -0
  180. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/skills/l-resume/SKILL.md +0 -0
  181. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/skills/l-template/SKILL.md +0 -0
  182. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/templates/ADR.md +0 -0
  183. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/templates/API.md +0 -0
  184. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/templates//352/260/234/353/260/234/353/254/270/354/204/234 MOC.md" +0 -0
  185. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/templates//352/270/260/353/212/245 /353/252/251/353/241/235.md" +0 -0
  186. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/templates//352/270/260/353/241/235.md" +0 -0
  187. {lanternspec-0.3.0 → lanternspec-0.3.2}/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" +0 -0
  188. {lanternspec-0.3.0 → lanternspec-0.3.2}/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
  189. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/templates//352/270/260/355/232/215.md" +0 -0
  190. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/templates//353/215/260/354/235/264/355/204/260.md" +0 -0
  191. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/templates//353/260/260/355/217/254.md" +0 -0
  192. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/templates//353/266/200/354/261/204 /354/271/264/353/223/234.md" +0 -0
  193. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/templates//354/204/234/353/262/204 /353/260/260/355/217/254 /302/267 /354/232/264/354/230/201.md" +0 -0
  194. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/templates//354/204/244/352/263/204.md" +0 -0
  195. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/templates//354/204/270/354/205/230 /352/270/260/353/241/235.md" +0 -0
  196. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/templates//354/213/234/354/212/244/355/205/234 /352/265/254/354/241/260.md" +0 -0
  197. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/templates//354/225/204/353/212/224 /352/270/260/354/210/240.md" +0 -0
  198. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/templates//354/225/204/354/235/264/353/224/224/354/226/264.md" +0 -0
  199. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/templates//354/227/255/353/237/211 /354/271/264/353/223/234.md" +0 -0
  200. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/templates//354/232/251/354/226/264/354/247/221.md" +0 -0
  201. {lanternspec-0.3.0 → lanternspec-0.3.2}/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
  202. {lanternspec-0.3.0 → lanternspec-0.3.2}/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" +0 -0
  203. {lanternspec-0.3.0 → lanternspec-0.3.2}/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.3.0 → lanternspec-0.3.2}/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.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/templates//355/230/221/354/227/205 /352/267/234/354/271/231.md" +0 -0
  206. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/templates//355/231/224/353/251/264.md" +0 -0
  207. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/locales/ko/templates//355/232/214/354/235/230/353/241/235.md" +0 -0
  208. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/resources/principles.yaml +0 -0
  209. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/tools/agent_hooks.py +0 -0
  210. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/tools/docs_mode.py +0 -0
  211. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/tools/health.py +0 -0
  212. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/tools/parts.py +0 -0
  213. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/tools/rules.py +0 -0
  214. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/tools/runlog.py +0 -0
  215. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/tools/sessions.py +0 -0
  216. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/tools/skills.py +0 -0
  217. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/work/__init__.py +0 -0
  218. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/work/branches.py +0 -0
  219. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/work/dbml.py +0 -0
  220. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/work/epic_rules.py +0 -0
  221. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/work/ideas.py +0 -0
  222. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/work/pack.py +0 -0
  223. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/work/progress.py +0 -0
  224. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/work/scaffold.py +0 -0
  225. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/work/screen.py +0 -0
  226. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec/work/stages.py +0 -0
  227. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec.egg-info/dependency_links.txt +0 -0
  228. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec.egg-info/entry_points.txt +0 -0
  229. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec.egg-info/requires.txt +0 -0
  230. {lanternspec-0.3.0 → lanternspec-0.3.2}/src/lanternspec.egg-info/top_level.txt +0 -0
  231. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_budget.py +0 -0
  232. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_color.py +0 -0
  233. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_core.py +0 -0
  234. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_enums_single_source.py +0 -0
  235. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_git.py +0 -0
  236. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_install_and_aux.py +0 -0
  237. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_learning_line.py +0 -0
  238. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_messages.py +0 -0
  239. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_name_overlap.py +0 -0
  240. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_names.py +0 -0
  241. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_part_delivery.py +0 -0
  242. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_parts.py +0 -0
  243. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_principles.py +0 -0
  244. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_principles_data.py +0 -0
  245. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_progress_parallel.py +0 -0
  246. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_refs.py +0 -0
  247. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_release_script.py +0 -0
  248. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_resume.py +0 -0
  249. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_skill_commands.py +0 -0
  250. {lanternspec-0.3.0 → lanternspec-0.3.2}/tests/test_tool_health.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lanternspec
3
- Version: 0.3.0
3
+ Version: 0.3.2
4
4
  Summary: Spec-driven development for agentic software engineering
5
5
  Author: Jihyeok Jeong
6
6
  License-Expression: MIT
@@ -99,7 +99,7 @@ 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).
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). To change LanternSpec itself, start with the [design rationale](https://github.com/Jungjihyuk/LanternSpec/blob/main/RATIONALE.md), which records why the flow, folders and rules are the way they are.
103
103
 
104
104
  ```mermaid
105
105
  flowchart LR
@@ -118,7 +118,7 @@ flowchart LR
118
118
  | `/l-idea` | records a thought from the conversation, as said and as summarised | `1. Ideas/IDEA-001 …` |
119
119
  | `/l-plan` | what and why — a work folder and acceptance criteria | `2. Work/W-001 …/Plan.md` |
120
120
  | `/l-design` | how — only the structure, screens and data (DBML) that change, wireframes, behind an approval gate | `Design.md`, `Screens/`, ADR |
121
- | `/l-task` | an ordered task list (size · acceptance criteria · dependencies) | `Tasks.md` |
121
+ | `/l-task` | an ordered task list (size 15m · 1h · 4h · 8h · acceptance criteria · dependencies · spike tasks) | `Tasks.md` |
122
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` |
123
123
  | `/l-learn` | compares unfamiliar tech with your knowledge base → 🟢 · 🟡 · 🔴, debt cards and draft study notes | `📒 Debt/Cards/D-001 …` |
124
124
  | `/l-report` | kanban · timeline · domain · traceability · debt · docs-vs-code status + a three-line report | `4. Operations/Reports/Status Report.md` |
@@ -153,7 +153,7 @@ docs/
153
153
  ├─ 2. Work/W-001 …/ plan · design · tasks · log — the only place edited while working
154
154
  │ └─ Archive/ archive
155
155
  ├─ 3. Current State/ what the system looks like now — updated only when work is done, after approval
156
- │ └─ Rules/ (Tech Selection Criteria · Repository File Rules …) · Decisions/ · Deployment and Operations/ · Glossary …
156
+ │ └─ Rules/ (Tech Selection Criteria · Task Breakdown Rules · Repository File Rules …) · Decisions/ · Deployment and Operations/ · Glossary …
157
157
  ├─ 4. Operations/ reports · session logs · (teams of 2+) meeting notes
158
158
  ├─ 5. Legacy Docs/ (existing projects) original documents, kept unchanged
159
159
  ├─ 📒 Debt/ understanding debt — one card per debt
@@ -171,7 +171,9 @@ Sections lantern reads and writes (protected sections, such as "Now" in a log) m
171
171
 
172
172
  ### Viewing the docs in Obsidian
173
173
  Open the `docs/` folder as a vault in Obsidian and it is already set up for reading (`docs/.obsidian/`).
174
- `lantern obsidian plugins` also adds Lantern Timeline, which shows the report's timeline as bars by day. Drag a task that has not started to move it, or drag its ends to change its length; the dates are saved in its planned and due attributes.
174
+ `lantern obsidian plugins` also adds Lantern Timeline, which shows the report's timeline as bars: stretches with work in fine columns (5 minutes to an hour), time with no task folded away, and how long each finished task took beside it. Tasks without a date wait with their size in a "no date yet" column on the right; drag one onto a day to plan it. Drag a planned task that has not started to move it, or drag its ends to change its length; the dates are saved in its planned and due attributes.
175
+ Lantern Kanban comes along too: works as cards in stage columns (plan · design · tasks · build · done), each opening its tasks in a window when clicked (read only). Turn off a view you don't want in Obsidian's settings, and reports draw without it.
176
+ The task list (`Tasks.md`) reads like a table: names on the left, size · after · criteria in columns on the right. The file keeps one line per task.
175
177
 
176
178
  - **Folder colors, folder and file icons, callouts and quotes** — each document stage has its own folder color, folders and files get icons, and callouts and quotes look clean. Works on top of any theme.
177
179
  - **Picking status and kind** — each document type offers only its own choices in a menu (Metadata Menu). The choices are generated from `enums.yaml`, so renaming a value updates them too.
@@ -314,7 +316,7 @@ setup install [--language] [--tools] [--mcp] [--ci|--no-ci] [--pr-template]
314
316
  profile profile show|docs|write|set · principles show|detect · parts [add|ignore] · enums list|rename · sections list|rename|off|on
315
317
  documents scaffold init [--plan] | work | doc | idea | adr | meeting | custom · new-id · map · meta get|set
316
318
  checks check [--changed] [--epic W-012] · check-pr · lint [--ci] · check-dbml · dbml render|from-sql|diff
317
- work task next [--all]|start|done|ac|list|estimate · task add [--parallel] · pack · screen import|compare
319
+ work task next [--all]|start|done|ac|list|estimate · task add [--parallel] [--spike] · pack · screen import|compare
318
320
  work branch|start|list|overlap|finish|archive|stage|flow · design approve · unit-log add · idea find|status
319
321
  learning knowledge search|read|propose|write|areas · debt find|new|ask|resolve|promote|practice|known|status|list · mcp
320
322
  reports report [--views] [--summary] · status · resume [--session] [--more] · scan [--tests] [--ci] · sync adopt · eval · obsidian plugins
@@ -84,7 +84,7 @@ 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).
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). To change LanternSpec itself, start with the [design rationale](https://github.com/Jungjihyuk/LanternSpec/blob/main/RATIONALE.md), which records why the flow, folders and rules are the way they are.
88
88
 
89
89
  ```mermaid
90
90
  flowchart LR
@@ -103,7 +103,7 @@ flowchart LR
103
103
  | `/l-idea` | records a thought from the conversation, as said and as summarised | `1. Ideas/IDEA-001 …` |
104
104
  | `/l-plan` | what and why — a work folder and acceptance criteria | `2. Work/W-001 …/Plan.md` |
105
105
  | `/l-design` | how — only the structure, screens and data (DBML) that change, wireframes, behind an approval gate | `Design.md`, `Screens/`, ADR |
106
- | `/l-task` | an ordered task list (size · acceptance criteria · dependencies) | `Tasks.md` |
106
+ | `/l-task` | an ordered task list (size 15m · 1h · 4h · 8h · acceptance criteria · dependencies · spike tasks) | `Tasks.md` |
107
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` |
108
108
  | `/l-learn` | compares unfamiliar tech with your knowledge base → 🟢 · 🟡 · 🔴, debt cards and draft study notes | `📒 Debt/Cards/D-001 …` |
109
109
  | `/l-report` | kanban · timeline · domain · traceability · debt · docs-vs-code status + a three-line report | `4. Operations/Reports/Status Report.md` |
@@ -138,7 +138,7 @@ docs/
138
138
  ├─ 2. Work/W-001 …/ plan · design · tasks · log — the only place edited while working
139
139
  │ └─ Archive/ archive
140
140
  ├─ 3. Current State/ what the system looks like now — updated only when work is done, after approval
141
- │ └─ Rules/ (Tech Selection Criteria · Repository File Rules …) · Decisions/ · Deployment and Operations/ · Glossary …
141
+ │ └─ Rules/ (Tech Selection Criteria · Task Breakdown Rules · Repository File Rules …) · Decisions/ · Deployment and Operations/ · Glossary …
142
142
  ├─ 4. Operations/ reports · session logs · (teams of 2+) meeting notes
143
143
  ├─ 5. Legacy Docs/ (existing projects) original documents, kept unchanged
144
144
  ├─ 📒 Debt/ understanding debt — one card per debt
@@ -156,7 +156,9 @@ Sections lantern reads and writes (protected sections, such as "Now" in a log) m
156
156
 
157
157
  ### Viewing the docs in Obsidian
158
158
  Open the `docs/` folder as a vault in Obsidian and it is already set up for reading (`docs/.obsidian/`).
159
- `lantern obsidian plugins` also adds Lantern Timeline, which shows the report's timeline as bars by day. Drag a task that has not started to move it, or drag its ends to change its length; the dates are saved in its planned and due attributes.
159
+ `lantern obsidian plugins` also adds Lantern Timeline, which shows the report's timeline as bars: stretches with work in fine columns (5 minutes to an hour), time with no task folded away, and how long each finished task took beside it. Tasks without a date wait with their size in a "no date yet" column on the right; drag one onto a day to plan it. Drag a planned task that has not started to move it, or drag its ends to change its length; the dates are saved in its planned and due attributes.
160
+ Lantern Kanban comes along too: works as cards in stage columns (plan · design · tasks · build · done), each opening its tasks in a window when clicked (read only). Turn off a view you don't want in Obsidian's settings, and reports draw without it.
161
+ The task list (`Tasks.md`) reads like a table: names on the left, size · after · criteria in columns on the right. The file keeps one line per task.
160
162
 
161
163
  - **Folder colors, folder and file icons, callouts and quotes** — each document stage has its own folder color, folders and files get icons, and callouts and quotes look clean. Works on top of any theme.
162
164
  - **Picking status and kind** — each document type offers only its own choices in a menu (Metadata Menu). The choices are generated from `enums.yaml`, so renaming a value updates them too.
@@ -299,7 +301,7 @@ setup install [--language] [--tools] [--mcp] [--ci|--no-ci] [--pr-template]
299
301
  profile profile show|docs|write|set · principles show|detect · parts [add|ignore] · enums list|rename · sections list|rename|off|on
300
302
  documents scaffold init [--plan] | work | doc | idea | adr | meeting | custom · new-id · map · meta get|set
301
303
  checks check [--changed] [--epic W-012] · check-pr · lint [--ci] · check-dbml · dbml render|from-sql|diff
302
- work task next [--all]|start|done|ac|list|estimate · task add [--parallel] · pack · screen import|compare
304
+ work task next [--all]|start|done|ac|list|estimate · task add [--parallel] [--spike] · pack · screen import|compare
303
305
  work branch|start|list|overlap|finish|archive|stage|flow · design approve · unit-log add · idea find|status
304
306
  learning knowledge search|read|propose|write|areas · debt find|new|ask|resolve|promote|practice|known|status|list · mcp
305
307
  reports report [--views] [--summary] · status · resume [--session] [--more] · scan [--tests] [--ci] · sync adopt · eval · obsidian plugins
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "lanternspec"
7
- version = "0.3.0"
7
+ version = "0.3.2"
8
8
  description = "Spec-driven development for agentic software engineering"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -21,7 +21,7 @@ from ..core import frontmatter, templating
21
21
  from ..core.links import Resolver, iter_links
22
22
  from ..core.messages import msg
23
23
  from ..core.project import Project, git_out, nfc, read
24
- from ..core.taskfile import parse_criteria, parse_tasks
24
+ from ..core.taskfile import parse_criteria, parse_tasks, size_role
25
25
 
26
26
  COMMON_FIELDS = ["id", "type", "status", "created", "updated", "links", "template", "template_version"]
27
27
  LEVEL_ICON = {"error": "✖", "warn": "⚠", "info": "ℹ"}
@@ -676,11 +676,22 @@ def _check_tasks(project: Project, path: Path, text: str, rel: str) -> list[Find
676
676
  line = t.line_no + 1
677
677
  if ids[t.id] > 1:
678
678
  out.append(Finding("error", rel, "task-dup", msg("Duplicate task ID: {id}", id=t.id), line))
679
- if t.size and t.size not in ("S", "M", "L") and "{{" not in t.size:
680
- out.append(Finding("warn", rel, "task-size", msg("{id} size is one of S · M · L (now '{size}')", id=t.id, size=t.size), line))
679
+ sizes = " · ".join(project.enums.values("size"))
680
+ if t.size and not size_role(project.enums, t.size) and "{{" not in t.size:
681
+ out.append(
682
+ Finding(
683
+ "warn", rel, "task-size", msg("{id} size is one of {sizes} (now '{size}')", id=t.id, sizes=sizes, size=t.size), line
684
+ )
685
+ )
681
686
  if not t.size:
682
687
  out.append(
683
- Finding("warn", rel, "task-size", msg("{id} has no size [{attr}:: S|M|L]", id=t.id, attr=project.names.attr("size")), line)
688
+ Finding(
689
+ "warn",
690
+ rel,
691
+ "task-size",
692
+ msg("{id} has no size [{attr}:: {sizes}]", id=t.id, attr=project.names.attr("size"), sizes=sizes),
693
+ line,
694
+ )
684
695
  )
685
696
  for dep in t.deps:
686
697
  if dep not in known:
@@ -767,9 +778,7 @@ def term_findings(project: Project, paths: list[Path]) -> list[Finding]:
767
778
  terms, _ = terms_mod.merged(project)
768
779
  if not any(t.avoid for t in terms):
769
780
  return []
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")}
781
+ skipped = {terms_mod.glossary_path(project).resolve(), *terms_mod.general_rule_docs(project)}
773
782
  out = []
774
783
  for p in paths:
775
784
  if p.resolve() in skipped:
@@ -135,14 +135,15 @@ def cmd_build_mode(a: argparse.Namespace) -> int:
135
135
 
136
136
  def cmd_obsidian(a: argparse.Namespace) -> int:
137
137
  """`lantern obsidian plugins` — download the recommended Obsidian plugins into docs/.obsidian/plugins/."""
138
- from ..report.obsidian import TIMELINE_PLUGIN, install_plugins, write_vault
138
+ from ..report.obsidian import BUNDLED_PLUGINS, install_plugins, write_vault
139
139
 
140
140
  project = _p()
141
141
  write_vault(project) # plugin settings and .gitignore must exist first
142
142
  for plugin_id, version in install_plugins(project):
143
143
  print(f"✔ {plugin_id} {version}")
144
- write_vault(project) # now that plugins are in use, this also copies the timeline plugin bundled with the package
145
- print(f"✔ {TIMELINE_PLUGIN}")
144
+ write_vault(project) # now that plugins are in use, this also copies the plugins bundled with the package
145
+ for plugin in BUNDLED_PLUGINS:
146
+ print(f"✔ {plugin}")
146
147
  print(msg("Next: open the docs/ folder as a vault in Obsidian, and turn community plugins on when asked (turn off restricted mode)"))
147
148
  return 0
148
149
 
@@ -175,7 +175,7 @@ def cmd_task(a: argparse.Namespace) -> int:
175
175
  print(msg("▶ Started {id} [{attr}:: {started}]", id=t.id, attr=project.names.attr("start"), started=t.started))
176
176
  return 0
177
177
  if a.action == "done":
178
- res = task_cmd.done(project, a.target)
178
+ res = task_cmd.done(project, a.target, by=_csv(a.by))
179
179
  print(msg("✔ Finished {id} [{attr}:: {finished}]", id=res.task.id, attr=project.names.attr("finish"), finished=res.task.finished))
180
180
  for ac in res.checkpoints:
181
181
  print(
@@ -220,6 +220,7 @@ def cmd_task_add(a: argparse.Namespace) -> int:
220
220
  due_plan=a.due_plan or "",
221
221
  unknown=a.unknown,
222
222
  parallel=a.parallel,
223
+ spike=a.spike,
223
224
  )
224
225
  print(f"✔ {t.raw.strip()}")
225
226
  return 0
@@ -479,11 +480,12 @@ def register(add: Add) -> None:
479
480
  p.add_argument("--from", dest="from_date", help=msg("estimate: start date"))
480
481
  p.add_argument("--hours", type=float, default=6.0, help=msg("estimate: working hours a day"))
481
482
  p.add_argument("--apply", action="store_true", help=msg("estimate: write the suggestion into the tasks document"))
483
+ p.add_argument("--by", help=msg("done: who did it — people's names and exact AI model names, comma-separated"))
482
484
  p = add("task-add", cmd_task_add, argparse.SUPPRESS)
483
485
  p.add_argument("work")
484
486
  p.add_argument("what")
485
487
  for flag, default in (
486
- ("size", "M"),
488
+ ("size", ""),
487
489
  ("ac", None),
488
490
  ("after", None),
489
491
  ("owner", None),
@@ -494,6 +496,7 @@ def register(add: Add) -> None:
494
496
  p.add_argument(f"--{flag}", default=default)
495
497
  p.add_argument("--unknown", action="store_true")
496
498
  p.add_argument("--parallel", action="store_true", help=msg("[P] can run at the same time as other [P] tasks"))
499
+ p.add_argument("--spike", action="store_true", help=msg("a spike: finds out what only trying can tell, within its size"))
497
500
  p = add("work", cmd_work, msg("Work branches · parallel works · finish · archive · stage"))
498
501
  p.add_argument("action", choices=["branch", "start", "overlap", "list", "finish", "archive", "stage", "flow"])
499
502
  p.add_argument("--team", choices=["solo", "team"], help=msg("flow: how many people work on it"))
@@ -34,6 +34,7 @@ REQUIRED_ROLES: dict[str, list[str]] = {
34
34
  "current_status": ["active", "inactive"],
35
35
  "note_draft_status": ["pending", "applied"],
36
36
  "meeting_status": ["draft", "final"],
37
+ "size": ["xs", "s", "m", "l"],
37
38
  }
38
39
 
39
40
 
@@ -47,6 +48,7 @@ class Enum:
47
48
  values: Name → icon, in the order written in enums.yaml.
48
49
  applies: Document type → the frontmatter field that uses this list, e.g. {"debt": "status"}.
49
50
  roles: Role → name. The key code uses to find a value.
51
+ previous: Role → names lantern once shipped for it (`was:` in enums.yaml), which an upgrade may rename to today's.
50
52
 
51
53
  Example:
52
54
  >>> e = load()["debt_status"]
@@ -59,6 +61,7 @@ class Enum:
59
61
  values: dict[str, str]
60
62
  applies: dict[str, str]
61
63
  roles: dict[str, str] = field(default_factory=dict)
64
+ previous: dict[str, list[str]] = field(default_factory=dict)
62
65
 
63
66
  def icon(self, value: str) -> str:
64
67
  """Return the icon of a value.
@@ -166,6 +169,7 @@ class Enums:
166
169
  values = {str(v): "" for v in values}
167
170
  icons: dict[str, str] = {}
168
171
  roles: dict[str, str] = {}
172
+ previous: dict[str, list[str]] = {}
169
173
  for k, v in values.items():
170
174
  if isinstance(v, dict):
171
175
  icons[str(k)] = str(v.get("icon") or "")
@@ -174,6 +178,8 @@ class Enums:
174
178
  if role in roles:
175
179
  self._duplicate_roles.append(f"{name}.{role}")
176
180
  roles[role] = str(k)
181
+ if v.get("was"):
182
+ previous[role] = [str(x) for x in v["was"]]
177
183
  else:
178
184
  icons[str(k)] = str(v or "")
179
185
  self.enums[name] = Enum(
@@ -182,6 +188,7 @@ class Enums:
182
188
  values=icons,
183
189
  applies={str(k): str(v) for k, v in (spec.get("applies") or {}).items()},
184
190
  roles=roles,
191
+ previous=previous,
185
192
  )
186
193
  if fallback is not None:
187
194
  for name, base in fallback.enums.items():
@@ -12,6 +12,7 @@ Not here:
12
12
 
13
13
  from __future__ import annotations
14
14
 
15
+ import re
15
16
  from pathlib import Path
16
17
  from typing import Any
17
18
 
@@ -180,10 +181,95 @@ def add_missing_roles(project: Project) -> list[str]:
180
181
  return out
181
182
 
182
183
 
184
+ def drop_legacy_sizes(project: Project) -> list[str]:
185
+ """Remove the older size names (S · M · L) from the project's enums.yaml once nothing uses them.
186
+
187
+ A name given a role (someone kept it on purpose) stays.
188
+
189
+ Args:
190
+ project: The project.
191
+
192
+ Returns:
193
+ A message when something was removed.
194
+
195
+ Example:
196
+ >>> drop_legacy_sizes(project) # doctest: +SKIP
197
+ ['✔ enums.yaml size: S · M · L 뺌']
198
+ """
199
+ from .taskfile import LEGACY_SIZES
200
+
201
+ path = project.enums_file
202
+ size = project.enums.get("size")
203
+ if not path.exists() or size is None:
204
+ return []
205
+ gone = [name for name in LEGACY_SIZES if name in size.values and not size.role_of(name)]
206
+ if not gone:
207
+ return []
208
+ text = read(path)
209
+ block = re.search(r"^size:[ \t]*$(.*?)(?=^\S|\Z)", text, re.M | re.S)
210
+ if block is None:
211
+ return []
212
+ body = re.sub(r"^[ \t]+(" + "|".join(gone) + r"):[^\n]*\n", "", block.group(1), flags=re.M)
213
+ write(path, text[: block.start(1)] + body + text[block.end(1) :])
214
+ project.reload_enums()
215
+ return [msg("✔ enums.yaml size: dropped {items}", items=" · ".join(gone))]
216
+
217
+
218
+ def previous_names(project: Project) -> list[tuple[str, str, str]]:
219
+ """Find values the project still names the way lantern once shipped them, where today's default is different.
220
+
221
+ enums.yaml lists them per value as `was:`. A name someone chose themselves is never listed, so it is never suggested.
222
+
223
+ Args:
224
+ project: The project.
225
+
226
+ Returns:
227
+ (list name, current name, today's name) for each one.
228
+
229
+ Example:
230
+ >>> previous_names(project) # doctest: +SKIP
231
+ [('size', '반나절', '4h'), ('size', '1d', '8h')]
232
+ """
233
+ if not project.enums_file.exists():
234
+ return []
235
+ base = enums_mod.load(language=project.profile.language)
236
+ out = []
237
+ for name, shipped in base.enums.items():
238
+ mine = project.enums.get(name)
239
+ if mine is None:
240
+ continue
241
+ for role, olds in shipped.previous.items():
242
+ current, today_name = mine.roles.get(role, ""), shipped.roles.get(role, "")
243
+ if current in olds and today_name and today_name not in mine.values:
244
+ out.append((name, current, today_name))
245
+ return out
246
+
247
+
248
+ def rename_previous_names(project: Project) -> list[str]:
249
+ """Rename the values named the way lantern once shipped them to today's names, documents included (`lantern upgrade --apply`).
250
+
251
+ Args:
252
+ project: The project.
253
+
254
+ Returns:
255
+ One message per value renamed.
256
+
257
+ Example:
258
+ >>> rename_previous_names(project) # doctest: +SKIP
259
+ ['✔ enums.yaml size: 반나절 → 4h (문서 3개)']
260
+ """
261
+ out = []
262
+ for name, old, new in previous_names(project):
263
+ changed = rename_enum_value(project, name, old, new)
264
+ out.append(msg("✔ enums.yaml {enum}: {old} → {new} ({count} documents)", enum=name, old=old, new=new, count=len(changed)))
265
+ return out
266
+
267
+
183
268
  def rename_enum_value(project: Project, enum: str, old: str, new: str) -> list[Path]:
184
269
  """Rename an enum value in enums.yaml and in every document that stores it (`lantern enums rename`).
185
270
 
186
271
  Code, skills and templates find values by role, so they need no edit (skills are re-rendered by install).
272
+ A task size is stored on task lines (`[크기:: …]`), so those are renamed too.
187
273
  Templates are skipped because they hold `${role}` tokens, not names.
188
274
 
189
275
  Args:
@@ -222,6 +308,21 @@ def rename_enum_value(project: Project, enum: str, old: str, new: str) -> list[P
222
308
  body = read(doc)
223
309
  updates = enums_mod.doc_value_updates(project.enums, enum, frontmatter.parse(body).meta, old, new)
224
310
  if updates:
225
- write(doc, frontmatter.set_fields(body, updates, touch=False))
311
+ body = frontmatter.set_fields(body, updates, touch=False)
312
+ if enum == "size":
313
+ body = _rename_task_sizes(project, body, old, new)
314
+ if body != read(doc):
315
+ write(doc, body)
226
316
  changed.append(doc)
227
317
  return changed
318
+
319
+
320
+ def _rename_task_sizes(project: Project, text: str, old: str, new: str) -> str:
321
+ """Rename one size on the task lines of a document; other lines stay as they are."""
322
+ from .taskfile import TASK_LINE, set_attr
323
+
324
+ lines = text.split("\n")
325
+ for i, line in enumerate(lines):
326
+ if TASK_LINE.match(line) and re.search(r"\[" + re.escape(project.names.attr("size")) + r"::\s*" + re.escape(old) + r"\s*\]", line):
327
+ lines[i] = set_attr(line, "size", new, project.names)
328
+ return "\n".join(lines)
@@ -846,6 +846,7 @@ DOC_FOLDERS: dict[str, tuple[str, ...]] = {
846
846
  "deploy": ("deploy_ops",),
847
847
  "server-ops": ("deploy_ops",),
848
848
  "unit-log": ("rules",),
849
+ "task-rules": ("rules",),
849
850
  "glossary": ("rules",),
850
851
  "tech-criteria": ("rules",),
851
852
  "repo-files": ("rules",),
@@ -923,6 +924,7 @@ def enabled_docs(profile: Profile) -> list[DocSpec]:
923
924
  folder("rules", msg("always")),
924
925
  folder("decisions", msg("always")),
925
926
  doc("unit-log", msg("always")),
927
+ doc("task-rules", msg("always")),
926
928
  doc("glossary", msg("always")),
927
929
  doc("tech-criteria", msg("always")),
928
930
  doc("repo-files", msg("always")),
@@ -1,7 +1,7 @@
1
1
  """Parse and edit the task lines of `할 일.md` and the acceptance criteria of `기획.md`.
2
2
 
3
3
  Task line:
4
- - [ ] W-012-T02 무엇 [크기:: M] [기준:: AC-1] [먼저:: T01] [담당:: 이름]
4
+ - [ ] W-012-T02 무엇 [크기:: 4h] [기준:: AC-1] [먼저:: T01] [담당:: 이름]
5
5
 
6
6
  Attribute names (`크기` …) and the "❓ 확인 필요" marker come from the project's names.yaml (core/names.py);
7
7
  parsed attributes are keyed by role ("size" · "criteria" · "after" …), so callers never spell a name.
@@ -10,6 +10,7 @@ Responsibilities:
10
10
  - read task lines and acceptance-criteria lines (outside code fences)
11
11
  - change one attribute or the check box of a line
12
12
  - tell why a task cannot start yet
13
+ - what each task size means in hours, and which size an older name stands for
13
14
 
14
15
  Not here:
15
16
  - the `lantern task` commands that use these → work/tasks.py
@@ -20,6 +21,7 @@ from __future__ import annotations
20
21
  import re
21
22
  from dataclasses import dataclass, field
22
23
 
24
+ from .enums import Enums
23
25
  from .messages import msg
24
26
  from .names import Names
25
27
 
@@ -27,6 +29,30 @@ TASK_LINE = re.compile(r"^(\s*)- \[( |x|X)\] (W-\d{3,}-T\d{2,})\b\s*(.*)$")
27
29
  ATTR = re.compile(r"\[([^\[\]:]+?)::\s*([^\[\]]*?)\s*\]")
28
30
  AC_LINE = re.compile(r"^(\s*)- \[( |x|X)\] (AC-\d+)\b\s*(.*)$")
29
31
 
32
+ # What each size means: the hours a person would put into it, added up (not the AI's time). The names in enums.yaml
33
+ # (15m · 1h · 4h · 8h) say the same thing, so a size has one meaning.
34
+ SIZE_HOURS = {"xs": 0.25, "s": 1.0, "m": 4.0, "l": 8.0}
35
+ LEGACY_SIZES = {"S": "s", "M": "m", "L": "l"} # the names before the sizes were named by their hours, still read
36
+
37
+
38
+ def size_role(enums: Enums, value: str) -> str:
39
+ """Tell which size a task's size value stands for.
40
+
41
+ Args:
42
+ enums: The project's lists (the size names).
43
+ value: The value written in `[크기:: …]`.
44
+
45
+ Returns:
46
+ "xs", "s", "m" or "l"; "" for an empty or unknown value.
47
+
48
+ Example:
49
+ >>> from lanternspec.core.enums import load
50
+ >>> size_role(load(), "4h"), size_role(load(), "M"), size_role(load(), "huge")
51
+ ('m', 'm', '')
52
+ """
53
+ role = enums["size"].role_of(value) if enums.get("size") else ""
54
+ return role if role in SIZE_HOURS else LEGACY_SIZES.get(value, "")
55
+
30
56
 
31
57
  @dataclass
32
58
  class Task:
@@ -41,6 +67,7 @@ class Task:
41
67
  raw: The line exactly as written.
42
68
  unknown: The "❓ 확인 필요" marker when the line carries it; "" otherwise.
43
69
  parallel: Whether the line carries `[P]` (can run alongside other `[P]` tasks).
70
+ spike: Whether the line carries the spike marker (`[조사]`): it finds something out, within its size.
44
71
 
45
72
  Example:
46
73
  >>> from lanternspec.core.names import load
@@ -57,6 +84,7 @@ class Task:
57
84
  raw: str
58
85
  unknown: str = ""
59
86
  parallel: bool = False # [P] — can run alongside other [P] tasks (parallel agents)
87
+ spike: bool = False # [조사] — finds out what can only be learned by trying; its size is a time limit
60
88
 
61
89
  @property
62
90
  def work_id(self) -> str:
@@ -97,7 +125,7 @@ class Task:
97
125
 
98
126
  @property
99
127
  def size(self) -> str:
100
- """The size attribute (S · M · L), or ""."""
128
+ """The size attribute as written (e.g. "4h"), or ""."""
101
129
  return self.attrs.get("size", "")
102
130
 
103
131
  @property
@@ -178,6 +206,7 @@ def parse_tasks(text: str, names: Names) -> list[Task]:
178
206
  raw=line,
179
207
  unknown=unknown if unknown in rest else "",
180
208
  parallel="[P]" in rest,
209
+ spike=names.marker("spike") in rest,
181
210
  )
182
211
  )
183
212
  return tasks
@@ -292,8 +292,29 @@ def find(project: Project, word: str) -> Term | None:
292
292
  return next((t for t in merged(project)[0] if _key(t.term) == want), None)
293
293
 
294
294
 
295
+ # Rule documents every project gets as they come: their words are LanternSpec's general advice, not this project's language.
296
+ GENERAL_RULE_DOCS = ("tech_criteria", "repo_files", "task_rules")
297
+
298
+
299
+ def general_rule_docs(project: Project) -> set[Path]:
300
+ """The rule documents every project gets as bundled (see GENERAL_RULE_DOCS), resolved.
301
+
302
+ Args:
303
+ project: The project.
304
+
305
+ Returns:
306
+ Their paths, whether they exist or not.
307
+
308
+ Example:
309
+ >>> sorted(p.name for p in general_rule_docs(project)) # doctest: +SKIP
310
+ ['기술 선택 기준.md', '저장소 파일 규칙.md', '할 일 나누기 기준.md']
311
+ """
312
+ rules = project.folder("rules")
313
+ return {(rules / project.names.file(role)).resolve() for role in GENERAL_RULE_DOCS}
314
+
315
+
295
316
  def in_documents(project: Project, word: str) -> bool:
296
- """Tell whether the project's own documents use a word (templates, legacy originals and the debt ledger aside).
317
+ """Tell whether the project's own documents use a word (templates, legacy originals, the debt ledger and general rules aside).
297
318
 
298
319
  Args:
299
320
  project: The project.
@@ -307,11 +328,11 @@ def in_documents(project: Project, word: str) -> bool:
307
328
  True
308
329
  """
309
330
  pat = _pattern(word)
310
- glossary = glossary_path(project).resolve()
331
+ skipped = {glossary_path(project).resolve(), *general_rule_docs(project)}
311
332
  debt = project.folder("debt").resolve() # the learning track's own cards are about technologies, not the project
312
333
  for p in project.iter_docs():
313
334
  if (
314
- p.resolve() != glossary
335
+ p.resolve() not in skipped
315
336
  and debt not in p.resolve().parents
316
337
  and any(pat.search(line) for _, line in _visible(unicodedata.normalize("NFC", read(p))))
317
338
  ):
@@ -18,7 +18,7 @@ from typing import Any
18
18
 
19
19
  from ..core.messages import msg
20
20
  from ..core.project import Project, read
21
- from ..core.taskfile import parse_tasks
21
+ from ..core.taskfile import parse_tasks, size_role
22
22
 
23
23
  CONFIG_KEYS = [
24
24
  "design.approval",
@@ -103,10 +103,11 @@ def task_durations(project: Project) -> dict[str, list[float]]:
103
103
  project: The project.
104
104
 
105
105
  Returns:
106
- Size (S · M · L, or "?") → hours of each finished task.
106
+ Size name (e.g. "4h"; a task written with an older name counts under the new one, "?" without a size)
107
+ → hours of each finished task.
107
108
 
108
109
  Example:
109
- >>> task_durations(project)["S"] # doctest: +SKIP
110
+ >>> task_durations(project)["4h"] # doctest: +SKIP
110
111
  [1.5, 2.0]
111
112
  """
112
113
  out: dict[str, list[float]] = defaultdict(list)
@@ -117,7 +118,8 @@ def task_durations(project: Project) -> dict[str, list[float]]:
117
118
  for t in parse_tasks(read(tf), project.names):
118
119
  a, b = _dt_of(t.started), _dt_of(t.finished)
119
120
  if t.done and a and b and b > a:
120
- out[t.size or "?"].append((b - a).total_seconds() / 3600)
121
+ role = size_role(project.enums, t.size)
122
+ out[project.enums.value("size", role) if role else t.size or "?"].append((b - a).total_seconds() / 3600)
121
123
  return out
122
124
 
123
125