lanternspec 0.3.0__tar.gz → 0.3.1__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 (246) hide show
  1. {lanternspec-0.3.0/src/lanternspec.egg-info → lanternspec-0.3.1}/PKG-INFO +7 -6
  2. {lanternspec-0.3.0 → lanternspec-0.3.1}/README.md +6 -5
  3. {lanternspec-0.3.0 → lanternspec-0.3.1}/pyproject.toml +1 -1
  4. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/check/check_docs.py +16 -7
  5. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/cli/work.py +3 -1
  6. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/core/enums.py +1 -0
  7. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/core/meta.py +52 -1
  8. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/core/profile.py +2 -0
  9. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/core/taskfile.py +31 -2
  10. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/refs/terms.py +24 -3
  11. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/report/evaluate.py +6 -4
  12. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/report/obsidian.py +157 -0
  13. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/report/status.py +1 -1
  14. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/report/views.py +51 -18
  15. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/skills/l-build/SKILL.md +7 -2
  16. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/skills/l-sync/SKILL.md +1 -1
  17. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/skills/l-task/SKILL.md +5 -4
  18. lanternspec-0.3.1/src/lanternspec/resources/locales/en/templates/Task Breakdown Rules.md +63 -0
  19. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Tasks.md +6 -5
  20. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/_meta/enums.yaml +5 -4
  21. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/skills/l-build/SKILL.md +7 -2
  22. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/skills/l-sync/SKILL.md +1 -1
  23. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/skills/l-task/SKILL.md +5 -4
  24. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/templates/_meta/enums.yaml +5 -4
  25. lanternspec-0.3.1/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" +63 -0
  26. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/templates//355/225/240 /354/235/274.md" +6 -5
  27. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/messages.yaml +26 -7
  28. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/names.yaml +4 -2
  29. lanternspec-0.3.1/src/lanternspec/resources/obsidian/lantern-timeline/main.js +745 -0
  30. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/obsidian/lantern-timeline/manifest.json +2 -2
  31. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/obsidian/lantern-timeline/styles.css +33 -7
  32. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/tools/install.py +13 -1
  33. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/work/tasks.py +83 -13
  34. {lanternspec-0.3.0 → lanternspec-0.3.1/src/lanternspec.egg-info}/PKG-INFO +7 -6
  35. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec.egg-info/SOURCES.txt +2 -0
  36. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_checks.py +2 -2
  37. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_english.py +1 -1
  38. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_later_features.py +2 -2
  39. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_layout.py +1 -0
  40. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_obsidian.py +20 -2
  41. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_work_line.py +67 -2
  42. lanternspec-0.3.0/src/lanternspec/resources/obsidian/lantern-timeline/main.js +0 -389
  43. {lanternspec-0.3.0 → lanternspec-0.3.1}/LICENSE +0 -0
  44. {lanternspec-0.3.0 → lanternspec-0.3.1}/setup.cfg +0 -0
  45. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/__init__.py +0 -0
  46. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/__main__.py +0 -0
  47. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/check/__init__.py +0 -0
  48. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/check/budget.py +0 -0
  49. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/check/doctor.py +0 -0
  50. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/check/githooks.py +0 -0
  51. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/check/layout.py +0 -0
  52. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/check/legacy.py +0 -0
  53. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/check/pr_check.py +0 -0
  54. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/check/templates.py +0 -0
  55. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/cli/__init__.py +0 -0
  56. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/cli/check.py +0 -0
  57. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/cli/color.py +0 -0
  58. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/cli/common.py +0 -0
  59. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/cli/core.py +0 -0
  60. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/cli/learn.py +0 -0
  61. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/cli/refs.py +0 -0
  62. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/cli/report.py +0 -0
  63. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/cli/tools.py +0 -0
  64. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/core/__init__.py +0 -0
  65. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/core/frontmatter.py +0 -0
  66. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/core/links.py +0 -0
  67. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/core/messages.py +0 -0
  68. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/core/names.py +0 -0
  69. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/core/new_id.py +0 -0
  70. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/core/outline.py +0 -0
  71. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/core/principles.py +0 -0
  72. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/core/project.py +0 -0
  73. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/core/sections.py +0 -0
  74. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/core/state.py +0 -0
  75. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/core/templating.py +0 -0
  76. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/learn/__init__.py +0 -0
  77. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/learn/debt.py +0 -0
  78. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/learn/knowledge/__init__.py +0 -0
  79. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/learn/knowledge/drafts.py +0 -0
  80. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/learn/knowledge/mcp_server.py +0 -0
  81. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/learn/knowledge/notion.py +0 -0
  82. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/learn/knowledge/obsidian.py +0 -0
  83. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/refs/__init__.py +0 -0
  84. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/refs/convert.py +0 -0
  85. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/refs/domain.py +0 -0
  86. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/refs/index.py +0 -0
  87. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/refs/rules.py +0 -0
  88. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/refs/sources.py +0 -0
  89. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/report/__init__.py +0 -0
  90. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/report/build_mode.py +0 -0
  91. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/report/doc_map.py +0 -0
  92. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/report/principles_doc.py +0 -0
  93. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/report/resume.py +0 -0
  94. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/report/scan.py +0 -0
  95. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/report/sections_doc.py +0 -0
  96. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/__init__.py +0 -0
  97. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/conventions/go.yaml +0 -0
  98. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/conventions/python.yaml +0 -0
  99. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/conventions/rust.yaml +0 -0
  100. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/conventions/swift.yaml +0 -0
  101. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/conventions/typescript.yaml +0 -0
  102. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/agents/AGENTS.md +0 -0
  103. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/git/gitmessage.txt +0 -0
  104. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/github/pull_request_template.md +0 -0
  105. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/skills/l-adr/SKILL.md +0 -0
  106. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/skills/l-check/SKILL.md +0 -0
  107. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/skills/l-design/SKILL.md +0 -0
  108. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/skills/l-domain/SKILL.md +0 -0
  109. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/skills/l-finish/SKILL.md +0 -0
  110. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/skills/l-idea/SKILL.md +0 -0
  111. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/skills/l-init/SKILL.md +0 -0
  112. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/skills/l-learn/SKILL.md +0 -0
  113. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/skills/l-map/SKILL.md +0 -0
  114. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/skills/l-parallel/SKILL.md +0 -0
  115. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/skills/l-plan/SKILL.md +0 -0
  116. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/skills/l-pr/SKILL.md +0 -0
  117. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/skills/l-ref/SKILL.md +0 -0
  118. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/skills/l-ref/domain.md +0 -0
  119. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/skills/l-ref/rules.md +0 -0
  120. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/skills/l-ref/terms.md +0 -0
  121. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/skills/l-report/SKILL.md +0 -0
  122. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/skills/l-resume/SKILL.md +0 -0
  123. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/skills/l-template/SKILL.md +0 -0
  124. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/ADR.md +0 -0
  125. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/API.md +0 -0
  126. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Architecture.md +0 -0
  127. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Collaboration Rules.md +0 -0
  128. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Competency Card.md +0 -0
  129. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Data.md +0 -0
  130. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Debt Card.md +0 -0
  131. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Deployment.md +0 -0
  132. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Design.md +0 -0
  133. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Docs MOC.md +0 -0
  134. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Feature List.md +0 -0
  135. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Glossary.md +0 -0
  136. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Idea.md +0 -0
  137. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Known Tech.md +0 -0
  138. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Legacy Map.md +0 -0
  139. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Log.md +0 -0
  140. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Meeting Notes.md +0 -0
  141. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Plan.md +0 -0
  142. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Platform Integration.md +0 -0
  143. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Project Definition.md +0 -0
  144. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Repository File Rules.md +0 -0
  145. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Screens.md +0 -0
  146. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Server Operations.md +0 -0
  147. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Session Log.md +0 -0
  148. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Tech Selection Criteria.md +0 -0
  149. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/en/templates/Work Division Rules.md +0 -0
  150. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/agents/AGENTS.md +0 -0
  151. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/git/gitmessage.txt +0 -0
  152. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/github/pull_request_template.md +0 -0
  153. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/skills/l-adr/SKILL.md +0 -0
  154. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/skills/l-check/SKILL.md +0 -0
  155. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/skills/l-design/SKILL.md +0 -0
  156. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/skills/l-domain/SKILL.md +0 -0
  157. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/skills/l-finish/SKILL.md +0 -0
  158. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/skills/l-idea/SKILL.md +0 -0
  159. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/skills/l-init/SKILL.md +0 -0
  160. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/skills/l-learn/SKILL.md +0 -0
  161. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/skills/l-map/SKILL.md +0 -0
  162. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/skills/l-parallel/SKILL.md +0 -0
  163. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/skills/l-plan/SKILL.md +0 -0
  164. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/skills/l-pr/SKILL.md +0 -0
  165. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/skills/l-ref/SKILL.md +0 -0
  166. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/skills/l-ref/domain.md +0 -0
  167. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/skills/l-ref/rules.md +0 -0
  168. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/skills/l-ref/terms.md +0 -0
  169. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/skills/l-report/SKILL.md +0 -0
  170. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/skills/l-resume/SKILL.md +0 -0
  171. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/skills/l-template/SKILL.md +0 -0
  172. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/templates/ADR.md +0 -0
  173. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/templates/API.md +0 -0
  174. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/templates//352/260/234/353/260/234/353/254/270/354/204/234 MOC.md" +0 -0
  175. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/templates//352/270/260/353/212/245 /353/252/251/353/241/235.md" +0 -0
  176. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/templates//352/270/260/353/241/235.md" +0 -0
  177. {lanternspec-0.3.0 → lanternspec-0.3.1}/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
  178. {lanternspec-0.3.0 → lanternspec-0.3.1}/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
  179. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/templates//352/270/260/355/232/215.md" +0 -0
  180. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/templates//353/215/260/354/235/264/355/204/260.md" +0 -0
  181. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/templates//353/260/260/355/217/254.md" +0 -0
  182. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/templates//353/266/200/354/261/204 /354/271/264/353/223/234.md" +0 -0
  183. {lanternspec-0.3.0 → lanternspec-0.3.1}/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
  184. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/templates//354/204/244/352/263/204.md" +0 -0
  185. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/templates//354/204/270/354/205/230 /352/270/260/353/241/235.md" +0 -0
  186. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/templates//354/213/234/354/212/244/355/205/234 /352/265/254/354/241/260.md" +0 -0
  187. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/templates//354/225/204/353/212/224 /352/270/260/354/210/240.md" +0 -0
  188. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/templates//354/225/204/354/235/264/353/224/224/354/226/264.md" +0 -0
  189. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/templates//354/227/255/353/237/211 /354/271/264/353/223/234.md" +0 -0
  190. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/templates//354/232/251/354/226/264/354/247/221.md" +0 -0
  191. {lanternspec-0.3.0 → lanternspec-0.3.1}/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
  192. {lanternspec-0.3.0 → lanternspec-0.3.1}/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
  193. {lanternspec-0.3.0 → lanternspec-0.3.1}/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
  194. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/templates//355/224/214/353/236/253/355/217/274 /354/227/260/353/217/231.md" +0 -0
  195. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/templates//355/230/221/354/227/205 /352/267/234/354/271/231.md" +0 -0
  196. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/templates//355/231/224/353/251/264.md" +0 -0
  197. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/locales/ko/templates//355/232/214/354/235/230/353/241/235.md" +0 -0
  198. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/resources/principles.yaml +0 -0
  199. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/tools/__init__.py +0 -0
  200. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/tools/agent_hooks.py +0 -0
  201. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/tools/antigravity.py +0 -0
  202. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/tools/base.py +0 -0
  203. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/tools/claude.py +0 -0
  204. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/tools/close.py +0 -0
  205. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/tools/codex.py +0 -0
  206. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/tools/docs_mode.py +0 -0
  207. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/tools/health.py +0 -0
  208. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/tools/parts.py +0 -0
  209. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/tools/rules.py +0 -0
  210. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/tools/runlog.py +0 -0
  211. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/tools/sessions.py +0 -0
  212. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/tools/skills.py +0 -0
  213. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/work/__init__.py +0 -0
  214. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/work/branches.py +0 -0
  215. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/work/dbml.py +0 -0
  216. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/work/epic_rules.py +0 -0
  217. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/work/ideas.py +0 -0
  218. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/work/pack.py +0 -0
  219. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/work/progress.py +0 -0
  220. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/work/scaffold.py +0 -0
  221. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/work/screen.py +0 -0
  222. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec/work/stages.py +0 -0
  223. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec.egg-info/dependency_links.txt +0 -0
  224. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec.egg-info/entry_points.txt +0 -0
  225. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec.egg-info/requires.txt +0 -0
  226. {lanternspec-0.3.0 → lanternspec-0.3.1}/src/lanternspec.egg-info/top_level.txt +0 -0
  227. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_budget.py +0 -0
  228. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_color.py +0 -0
  229. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_core.py +0 -0
  230. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_enums_single_source.py +0 -0
  231. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_git.py +0 -0
  232. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_install_and_aux.py +0 -0
  233. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_learning_line.py +0 -0
  234. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_messages.py +0 -0
  235. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_name_overlap.py +0 -0
  236. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_names.py +0 -0
  237. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_part_delivery.py +0 -0
  238. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_parts.py +0 -0
  239. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_principles.py +0 -0
  240. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_principles_data.py +0 -0
  241. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_progress_parallel.py +0 -0
  242. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_refs.py +0 -0
  243. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_release_script.py +0 -0
  244. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_resume.py +0 -0
  245. {lanternspec-0.3.0 → lanternspec-0.3.1}/tests/test_skill_commands.py +0 -0
  246. {lanternspec-0.3.0 → lanternspec-0.3.1}/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.1
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 · half · 1d · 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,8 @@ 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. 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.
175
+ 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
176
 
176
177
  - **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
178
  - **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 +315,7 @@ setup install [--language] [--tools] [--mcp] [--ci|--no-ci] [--pr-template]
314
315
  profile profile show|docs|write|set · principles show|detect · parts [add|ignore] · enums list|rename · sections list|rename|off|on
315
316
  documents scaffold init [--plan] | work | doc | idea | adr | meeting | custom · new-id · map · meta get|set
316
317
  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
318
+ work task next [--all]|start|done|ac|list|estimate · task add [--parallel] [--spike] · pack · screen import|compare
318
319
  work branch|start|list|overlap|finish|archive|stage|flow · design approve · unit-log add · idea find|status
319
320
  learning knowledge search|read|propose|write|areas · debt find|new|ask|resolve|promote|practice|known|status|list · mcp
320
321
  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 · half · 1d · 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,8 @@ 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. 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.
160
+ 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
161
 
161
162
  - **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
163
  - **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 +300,7 @@ setup install [--language] [--tools] [--mcp] [--ci|--no-ci] [--pr-template]
299
300
  profile profile show|docs|write|set · principles show|detect · parts [add|ignore] · enums list|rename · sections list|rename|off|on
300
301
  documents scaffold init [--plan] | work | doc | idea | adr | meeting | custom · new-id · map · meta get|set
301
302
  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
303
+ work task next [--all]|start|done|ac|list|estimate · task add [--parallel] [--spike] · pack · screen import|compare
303
304
  work branch|start|list|overlap|finish|archive|stage|flow · design approve · unit-log add · idea find|status
304
305
  learning knowledge search|read|propose|write|areas · debt find|new|ask|resolve|promote|practice|known|status|list · mcp
305
306
  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.1"
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:
@@ -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
@@ -483,7 +484,7 @@ def register(add: Add) -> None:
483
484
  p.add_argument("work")
484
485
  p.add_argument("what")
485
486
  for flag, default in (
486
- ("size", "M"),
487
+ ("size", ""),
487
488
  ("ac", None),
488
489
  ("after", None),
489
490
  ("owner", None),
@@ -494,6 +495,7 @@ def register(add: Add) -> None:
494
495
  p.add_argument(f"--{flag}", default=default)
495
496
  p.add_argument("--unknown", action="store_true")
496
497
  p.add_argument("--parallel", action="store_true", help=msg("[P] can run at the same time as other [P] tasks"))
498
+ p.add_argument("--spike", action="store_true", help=msg("a spike: finds out what only trying can tell, within its size"))
497
499
  p = add("work", cmd_work, msg("Work branches · parallel works · finish · archive · stage"))
498
500
  p.add_argument("action", choices=["branch", "start", "overlap", "list", "finish", "archive", "stage", "flow"])
499
501
  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
 
@@ -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,45 @@ 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
+
183
218
  def rename_enum_value(project: Project, enum: str, old: str, new: str) -> list[Path]:
184
219
  """Rename an enum value in enums.yaml and in every document that stores it (`lantern enums rename`).
185
220
 
186
221
  Code, skills and templates find values by role, so they need no edit (skills are re-rendered by install).
222
+ A task size is stored on task lines (`[크기:: …]`), so those are renamed too.
187
223
  Templates are skipped because they hold `${role}` tokens, not names.
188
224
 
189
225
  Args:
@@ -222,6 +258,21 @@ def rename_enum_value(project: Project, enum: str, old: str, new: str) -> list[P
222
258
  body = read(doc)
223
259
  updates = enums_mod.doc_value_updates(project.enums, enum, frontmatter.parse(body).meta, old, new)
224
260
  if updates:
225
- write(doc, frontmatter.set_fields(body, updates, touch=False))
261
+ body = frontmatter.set_fields(body, updates, touch=False)
262
+ if enum == "size":
263
+ body = _rename_task_sizes(project, body, old, new)
264
+ if body != read(doc):
265
+ write(doc, body)
226
266
  changed.append(doc)
227
267
  return changed
268
+
269
+
270
+ def _rename_task_sizes(project: Project, text: str, old: str, new: str) -> str:
271
+ """Rename one size on the task lines of a document; other lines stay as they are."""
272
+ from .taskfile import TASK_LINE, set_attr
273
+
274
+ lines = text.split("\n")
275
+ for i, line in enumerate(lines):
276
+ if TASK_LINE.match(line) and re.search(r"\[" + re.escape(project.names.attr("size")) + r"::\s*" + re.escape(old) + r"\s*\]", line):
277
+ lines[i] = set_attr(line, "size", new, project.names)
278
+ 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 무엇 [크기:: 반나절] [기준:: 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: hours of focused work by a person (not the AI's time). The names (15m · 1h · 반나절 or half · 1d) are in enums.yaml.
33
+ SIZE_HOURS = {"xs": 0.25, "s": 1.0, "m": 4.0, "l": 8.0}
34
+ WORKDAY_HOURS = SIZE_HOURS["l"] # the largest size is one working day; more than that is split
35
+ LEGACY_SIZES = {"S": "s", "M": "m", "L": "l"} # the names before 15m · 1h · 반나절 · 1d, 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(), "반나절"), 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. "반나절"), 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. "half"; 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)["half"] # 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
 
@@ -211,6 +211,162 @@ body {
211
211
  """
212
212
 
213
213
 
214
+ # A task line drawn as a table row: its name on the left, wrapping, and these fields in fixed columns on the right.
215
+ # role → (width in em, gap from the right edge in em). The names show once, over the first task of a list, like a header.
216
+ TASK_COLUMNS = {
217
+ "size": (2.5, 21.5),
218
+ "after": (6, 15),
219
+ "criteria": (14.5, 0),
220
+ }
221
+ # Shown small after the task's name, when a task has them: rarer fields, and the start of a task still in progress.
222
+ TASK_NOTES = ("screen", "owner")
223
+ # Left out of the list: the timeline shows when tasks ran and were planned.
224
+ TASK_HIDDEN = ("finish", "start_plan", "due_plan")
225
+ FIELD_FONT = 0.85
226
+
227
+
228
+ def task_fields_css(names: Names) -> str:
229
+ """Build the CSS that draws LanternSpec task lines as table rows, in reading and live preview alike.
230
+
231
+ The name wraps on the left; size, what must finish first and acceptance criteria sit in fixed columns on the right,
232
+ named once over the first task of each list. Only lines with a size field change; the file keeps one line per task.
233
+ Dataview draws each `[name:: value]` as a box whose key carries `data-dv-key`, which places it.
234
+
235
+ Args:
236
+ names: The project's names (task field names).
237
+
238
+ Returns:
239
+ CSS text.
240
+
241
+ Example:
242
+ >>> from lanternspec.core.names import load
243
+ >>> css = task_fields_css(load("ko"))
244
+ >>> 'data-dv-key="크기"' in css and 'data-dv-key="기준"' in css
245
+ True
246
+ """
247
+
248
+ def key(role: str) -> str:
249
+ return f'.inline-field-key[data-dv-key="{names.attr(role)}"]'
250
+
251
+ def field(role: str) -> str:
252
+ return f".dataview.inline-field:has({key(role)})"
253
+
254
+ rows = [
255
+ f".markdown-rendered li.task-list-item:has({key('size')})",
256
+ f".HyperMD-task-line:has({key('size')})",
257
+ ]
258
+ firsts = [
259
+ f".markdown-rendered li.task-list-item:first-child:has({key('size')})",
260
+ f".HyperMD-task-line:has({key('size')}):not(.HyperMD-task-line + .HyperMD-task-line)",
261
+ ]
262
+
263
+ def each(selectors: list[str], inner: str = "") -> str:
264
+ return ",\n".join(f"{s} {inner}".rstrip() for s in selectors)
265
+
266
+ right = max(width + gap for width, gap in TASK_COLUMNS.values()) + 1
267
+
268
+ def em(n: float) -> str:
269
+ # the task line's em, fixed where the line sets it, so smaller field and label fonts (and a theme's) can't move a column
270
+ return f"calc({n} * var(--ls-em))"
271
+
272
+ out = [
273
+ "",
274
+ "@property --ls-em { syntax: '<length>'; inherits: true; initial-value: 16px; }",
275
+ "/* "
276
+ + msg("tasks — each line as a table row: the name wraps on the left, size · after · criteria in columns on the right")
277
+ + " */",
278
+ each(rows) + " {",
279
+ " --ls-em: 1em;",
280
+ " position: relative;",
281
+ f" padding-right: {right}em;",
282
+ " padding-block: 0.3em;",
283
+ " min-height: 2.2em;",
284
+ " border-bottom: 1px solid var(--background-modifier-border);",
285
+ "}",
286
+ "/* " + msg("the first task of a list leaves a line above it for the column names") + " */",
287
+ each(firsts) + " {",
288
+ " padding-top: 1.6em;",
289
+ "}",
290
+ each(rows, ".dataview.inline-field") + " {",
291
+ f" font-size: {FIELD_FONT}em;",
292
+ " background: none;",
293
+ " padding: 0;",
294
+ "}",
295
+ each(rows, ".dataview.inline-field-key") + ",",
296
+ each(rows, ".dataview.inline-field-value") + " {",
297
+ " font-family: var(--font-text);",
298
+ " background: none;",
299
+ " padding: 0;",
300
+ "}",
301
+ each(rows, ".dataview.inline-field-key") + " {",
302
+ " color: var(--text-faint);",
303
+ " padding-right: 4px;",
304
+ "}",
305
+ each(rows, ".dataview.inline-field-value") + " {",
306
+ " color: var(--text-muted);",
307
+ "}",
308
+ ]
309
+ columns = ",\n".join(f"{s} {field(r)}" for s in rows for r in TASK_COLUMNS)
310
+ out += [
311
+ columns + " {",
312
+ " position: absolute;",
313
+ f" top: {em(0.45)};",
314
+ " white-space: normal;",
315
+ " word-break: keep-all;",
316
+ " line-break: strict;",
317
+ " overflow: hidden;",
318
+ " display: -webkit-box;",
319
+ " -webkit-box-orient: vertical;",
320
+ " -webkit-line-clamp: 2;",
321
+ "}",
322
+ "/* " + msg("column names: written once over the first task of a list, whichever fields it has") + " */",
323
+ ",\n".join(f"{s} {field(r)} .dataview.inline-field-key" for s in rows for r in TASK_COLUMNS) + " {",
324
+ " display: none;",
325
+ "}",
326
+ ",\n".join(f"{s} {field(r)}" for s in firsts for r in TASK_COLUMNS) + " {",
327
+ f" top: {em(1.75)};",
328
+ "}",
329
+ each(firsts, f"{field('size')}") + " {",
330
+ " overflow: visible;",
331
+ "}",
332
+ ]
333
+ labels = [(f" {field('size')}::before", "size"), ("::before", "after"), ("::after", "criteria")]
334
+ for where, role in labels:
335
+ width, gap = TASK_COLUMNS[role]
336
+ inside = where.startswith(" ") # a field's own label is placed within the field, already in the field's font
337
+ out += [
338
+ ",\n".join(f"{s}{where}" for s in firsts) + " {",
339
+ f' content: "{names.attr(role)}";',
340
+ " position: absolute;",
341
+ # both land at the same height over the first task
342
+ f" top: {em(0.5 - 1.75)};" if inside else f" top: {em(0.5)};",
343
+ *([" left: 0;"] if inside else [f" right: {em(gap)};", f" width: {em(width)};"]),
344
+ f" font-size: {em(FIELD_FONT)};",
345
+ " font-weight: 600;",
346
+ " color: var(--text-faint);",
347
+ "}",
348
+ ]
349
+ for role, (width, gap) in TASK_COLUMNS.items():
350
+ out += [
351
+ ",\n".join(f"{s} {field(role)}" for s in rows) + " {",
352
+ f" right: {em(gap)};",
353
+ f" width: {em(width)};",
354
+ "}",
355
+ ]
356
+ out += [
357
+ "/* " + msg("rarer fields and the start of a task in progress stay small after its name") + " */",
358
+ ",\n".join(f"{s} {field(r)}" for s in rows for r in (*TASK_NOTES, "start")) + " {",
359
+ " margin-left: 0.6em;",
360
+ "}",
361
+ "/* " + msg("when tasks ran and were planned is left to the timeline") + " */",
362
+ ",\n".join(f"{s} {field(r)}" for s in rows for r in TASK_HIDDEN) + ",",
363
+ ",\n".join(f"{s.replace(':has(', f':has({key("finish")}):has(', 1)} {field('start')}" for s in rows) + " {",
364
+ " display: none;",
365
+ "}",
366
+ ]
367
+ return "\n".join(out)
368
+
369
+
214
370
  def class_dir(names: Names) -> str:
215
371
  """Return the fileClass folder inside the vault (docs/), with a trailing slash — Metadata Menu uses it as a prefix as is.
216
372
 
@@ -280,6 +436,7 @@ def snippet_css(names: Names) -> str:
280
436
  "no border. Only variables Obsidian exposes"
281
437
  ),
282
438
  ).replace("QUOTE_NOTE", msg("quotes (>) — flush left in reading mode too, the same width as callouts (no indent)")),
439
+ task_fields_css(names),
283
440
  ]
284
441
  return "\n".join(lines)
285
442
 
@@ -57,7 +57,7 @@ def lines(project: Project) -> list[str]:
57
57
 
58
58
  Example:
59
59
  >>> lines(project) # doctest: +SKIP
60
- ['📦 진행 중: W-012 로그인 (구현, 할 일 1/3)', '▶ 다음 할 일: W-012-T02 버튼 [S]', '❓ 확인 필요: 없음']
60
+ ['📦 진행 중: W-012 로그인 (구현, 할 일 1/3)', '▶ 다음 할 일: W-012-T02 버튼 [1h]', '❓ 확인 필요: 없음']
61
61
  """
62
62
  works = project.work_dirs()
63
63
  if works: