lanternspec 0.2.8__tar.gz → 0.2.9__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 (228) hide show
  1. {lanternspec-0.2.8/src/lanternspec.egg-info → lanternspec-0.2.9}/PKG-INFO +2 -1
  2. {lanternspec-0.2.8 → lanternspec-0.2.9}/README.md +1 -0
  3. {lanternspec-0.2.8 → lanternspec-0.2.9}/pyproject.toml +1 -1
  4. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/cli/report.py +3 -1
  5. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/report/obsidian.py +32 -2
  6. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/report/views.py +124 -61
  7. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/skills/l-report/SKILL.md +2 -2
  8. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/skills/l-report/SKILL.md +2 -2
  9. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/messages.yaml +16 -2
  10. lanternspec-0.2.9/src/lanternspec/resources/obsidian/lantern-timeline/main.js +389 -0
  11. lanternspec-0.2.9/src/lanternspec/resources/obsidian/lantern-timeline/manifest.json +9 -0
  12. lanternspec-0.2.9/src/lanternspec/resources/obsidian/lantern-timeline/styles.css +68 -0
  13. {lanternspec-0.2.8 → lanternspec-0.2.9/src/lanternspec.egg-info}/PKG-INFO +2 -1
  14. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec.egg-info/SOURCES.txt +3 -0
  15. lanternspec-0.2.9/tests/test_obsidian.py +177 -0
  16. lanternspec-0.2.8/tests/test_obsidian.py +0 -83
  17. {lanternspec-0.2.8 → lanternspec-0.2.9}/LICENSE +0 -0
  18. {lanternspec-0.2.8 → lanternspec-0.2.9}/setup.cfg +0 -0
  19. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/__init__.py +0 -0
  20. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/__main__.py +0 -0
  21. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/check/__init__.py +0 -0
  22. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/check/budget.py +0 -0
  23. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/check/check_docs.py +0 -0
  24. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/check/doctor.py +0 -0
  25. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/check/githooks.py +0 -0
  26. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/check/layout.py +0 -0
  27. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/check/legacy.py +0 -0
  28. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/check/templates.py +0 -0
  29. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/cli/__init__.py +0 -0
  30. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/cli/check.py +0 -0
  31. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/cli/color.py +0 -0
  32. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/cli/common.py +0 -0
  33. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/cli/core.py +0 -0
  34. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/cli/learn.py +0 -0
  35. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/cli/refs.py +0 -0
  36. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/cli/tools.py +0 -0
  37. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/cli/work.py +0 -0
  38. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/core/__init__.py +0 -0
  39. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/core/enums.py +0 -0
  40. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/core/frontmatter.py +0 -0
  41. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/core/links.py +0 -0
  42. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/core/messages.py +0 -0
  43. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/core/meta.py +0 -0
  44. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/core/names.py +0 -0
  45. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/core/new_id.py +0 -0
  46. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/core/outline.py +0 -0
  47. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/core/principles.py +0 -0
  48. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/core/profile.py +0 -0
  49. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/core/project.py +0 -0
  50. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/core/sections.py +0 -0
  51. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/core/state.py +0 -0
  52. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/core/taskfile.py +0 -0
  53. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/core/templating.py +0 -0
  54. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/learn/__init__.py +0 -0
  55. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/learn/debt.py +0 -0
  56. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/learn/knowledge/__init__.py +0 -0
  57. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/learn/knowledge/drafts.py +0 -0
  58. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/learn/knowledge/mcp_server.py +0 -0
  59. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/learn/knowledge/notion.py +0 -0
  60. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/learn/knowledge/obsidian.py +0 -0
  61. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/refs/__init__.py +0 -0
  62. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/refs/convert.py +0 -0
  63. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/refs/domain.py +0 -0
  64. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/refs/index.py +0 -0
  65. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/refs/rules.py +0 -0
  66. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/refs/sources.py +0 -0
  67. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/refs/terms.py +0 -0
  68. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/report/__init__.py +0 -0
  69. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/report/doc_map.py +0 -0
  70. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/report/evaluate.py +0 -0
  71. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/report/harness.py +0 -0
  72. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/report/principles_doc.py +0 -0
  73. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/report/resume.py +0 -0
  74. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/report/scan.py +0 -0
  75. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/report/sections_doc.py +0 -0
  76. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/report/status.py +0 -0
  77. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/__init__.py +0 -0
  78. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/conventions/go.yaml +0 -0
  79. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/conventions/python.yaml +0 -0
  80. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/conventions/rust.yaml +0 -0
  81. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/conventions/swift.yaml +0 -0
  82. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/conventions/typescript.yaml +0 -0
  83. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/agents/AGENTS.md +0 -0
  84. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/skills/l-adr/SKILL.md +0 -0
  85. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/skills/l-build/SKILL.md +0 -0
  86. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/skills/l-check/SKILL.md +0 -0
  87. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/skills/l-design/SKILL.md +0 -0
  88. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/skills/l-domain/SKILL.md +0 -0
  89. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/skills/l-idea/SKILL.md +0 -0
  90. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/skills/l-init/SKILL.md +0 -0
  91. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/skills/l-learn/SKILL.md +0 -0
  92. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/skills/l-map/SKILL.md +0 -0
  93. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/skills/l-plan/SKILL.md +0 -0
  94. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/skills/l-ref/SKILL.md +0 -0
  95. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/skills/l-ref/domain.md +0 -0
  96. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/skills/l-ref/rules.md +0 -0
  97. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/skills/l-ref/terms.md +0 -0
  98. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/skills/l-resume/SKILL.md +0 -0
  99. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/skills/l-sync/SKILL.md +0 -0
  100. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/skills/l-task/SKILL.md +0 -0
  101. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/skills/l-template/SKILL.md +0 -0
  102. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/ADR.md +0 -0
  103. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/API.md +0 -0
  104. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/Architecture.md +0 -0
  105. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/Collaboration Rules.md +0 -0
  106. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/Competency Card.md +0 -0
  107. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/Data.md +0 -0
  108. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/Debt Card.md +0 -0
  109. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/Deployment.md +0 -0
  110. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/Design.md +0 -0
  111. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/Docs MOC.md +0 -0
  112. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/Feature List.md +0 -0
  113. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/Glossary.md +0 -0
  114. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/Idea.md +0 -0
  115. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/Known Tech.md +0 -0
  116. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/Legacy Map.md +0 -0
  117. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/Log.md +0 -0
  118. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/Meeting Notes.md +0 -0
  119. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/Plan.md +0 -0
  120. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/Platform Integration.md +0 -0
  121. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/Project Definition.md +0 -0
  122. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/Screens.md +0 -0
  123. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/Server Operations.md +0 -0
  124. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/Session Log.md +0 -0
  125. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/Tasks.md +0 -0
  126. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/Work Division Rules.md +0 -0
  127. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/en/templates/_meta/enums.yaml +0 -0
  128. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/agents/AGENTS.md +0 -0
  129. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/skills/l-adr/SKILL.md +0 -0
  130. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/skills/l-build/SKILL.md +0 -0
  131. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/skills/l-check/SKILL.md +0 -0
  132. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/skills/l-design/SKILL.md +0 -0
  133. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/skills/l-domain/SKILL.md +0 -0
  134. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/skills/l-idea/SKILL.md +0 -0
  135. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/skills/l-init/SKILL.md +0 -0
  136. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/skills/l-learn/SKILL.md +0 -0
  137. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/skills/l-map/SKILL.md +0 -0
  138. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/skills/l-plan/SKILL.md +0 -0
  139. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/skills/l-ref/SKILL.md +0 -0
  140. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/skills/l-ref/domain.md +0 -0
  141. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/skills/l-ref/rules.md +0 -0
  142. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/skills/l-ref/terms.md +0 -0
  143. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/skills/l-resume/SKILL.md +0 -0
  144. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/skills/l-sync/SKILL.md +0 -0
  145. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/skills/l-task/SKILL.md +0 -0
  146. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/skills/l-template/SKILL.md +0 -0
  147. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/templates/ADR.md +0 -0
  148. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/templates/API.md +0 -0
  149. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/templates/_meta/enums.yaml +0 -0
  150. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/templates//352/260/234/353/260/234/353/254/270/354/204/234 MOC.md" +0 -0
  151. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/templates//352/270/260/353/212/245 /353/252/251/353/241/235.md" +0 -0
  152. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/templates//352/270/260/353/241/235.md" +0 -0
  153. {lanternspec-0.2.8 → lanternspec-0.2.9}/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
  154. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/templates//352/270/260/355/232/215.md" +0 -0
  155. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/templates//353/215/260/354/235/264/355/204/260.md" +0 -0
  156. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/templates//353/260/260/355/217/254.md" +0 -0
  157. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/templates//353/266/200/354/261/204 /354/271/264/353/223/234.md" +0 -0
  158. {lanternspec-0.2.8 → lanternspec-0.2.9}/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
  159. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/templates//354/204/244/352/263/204.md" +0 -0
  160. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/templates//354/204/270/354/205/230 /352/270/260/353/241/235.md" +0 -0
  161. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/templates//354/213/234/354/212/244/355/205/234 /352/265/254/354/241/260.md" +0 -0
  162. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/templates//354/225/204/353/212/224 /352/270/260/354/210/240.md" +0 -0
  163. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/templates//354/225/204/354/235/264/353/224/224/354/226/264.md" +0 -0
  164. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/templates//354/227/255/353/237/211 /354/271/264/353/223/234.md" +0 -0
  165. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/templates//354/232/251/354/226/264/354/247/221.md" +0 -0
  166. {lanternspec-0.2.8 → lanternspec-0.2.9}/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
  167. {lanternspec-0.2.8 → lanternspec-0.2.9}/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
  168. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/templates//355/224/214/353/236/253/355/217/274 /354/227/260/353/217/231.md" +0 -0
  169. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/templates//355/225/240 /354/235/274.md" +0 -0
  170. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/templates//355/230/221/354/227/205 /352/267/234/354/271/231.md" +0 -0
  171. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/templates//355/231/224/353/251/264.md" +0 -0
  172. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/locales/ko/templates//355/232/214/354/235/230/353/241/235.md" +0 -0
  173. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/names.yaml +0 -0
  174. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/resources/principles.yaml +0 -0
  175. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/tools/__init__.py +0 -0
  176. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/tools/agent_hooks.py +0 -0
  177. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/tools/antigravity.py +0 -0
  178. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/tools/base.py +0 -0
  179. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/tools/claude.py +0 -0
  180. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/tools/close.py +0 -0
  181. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/tools/codex.py +0 -0
  182. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/tools/docs_mode.py +0 -0
  183. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/tools/health.py +0 -0
  184. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/tools/install.py +0 -0
  185. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/tools/parts.py +0 -0
  186. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/tools/rules.py +0 -0
  187. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/tools/runlog.py +0 -0
  188. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/tools/sessions.py +0 -0
  189. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/tools/skills.py +0 -0
  190. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/work/__init__.py +0 -0
  191. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/work/branches.py +0 -0
  192. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/work/dbml.py +0 -0
  193. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/work/epic_rules.py +0 -0
  194. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/work/ideas.py +0 -0
  195. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/work/pack.py +0 -0
  196. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/work/progress.py +0 -0
  197. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/work/scaffold.py +0 -0
  198. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/work/screen.py +0 -0
  199. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/work/stages.py +0 -0
  200. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec/work/tasks.py +0 -0
  201. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec.egg-info/dependency_links.txt +0 -0
  202. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec.egg-info/entry_points.txt +0 -0
  203. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec.egg-info/requires.txt +0 -0
  204. {lanternspec-0.2.8 → lanternspec-0.2.9}/src/lanternspec.egg-info/top_level.txt +0 -0
  205. {lanternspec-0.2.8 → lanternspec-0.2.9}/tests/test_budget.py +0 -0
  206. {lanternspec-0.2.8 → lanternspec-0.2.9}/tests/test_checks.py +0 -0
  207. {lanternspec-0.2.8 → lanternspec-0.2.9}/tests/test_color.py +0 -0
  208. {lanternspec-0.2.8 → lanternspec-0.2.9}/tests/test_core.py +0 -0
  209. {lanternspec-0.2.8 → lanternspec-0.2.9}/tests/test_english.py +0 -0
  210. {lanternspec-0.2.8 → lanternspec-0.2.9}/tests/test_enums_single_source.py +0 -0
  211. {lanternspec-0.2.8 → lanternspec-0.2.9}/tests/test_git.py +0 -0
  212. {lanternspec-0.2.8 → lanternspec-0.2.9}/tests/test_install_and_aux.py +0 -0
  213. {lanternspec-0.2.8 → lanternspec-0.2.9}/tests/test_later_features.py +0 -0
  214. {lanternspec-0.2.8 → lanternspec-0.2.9}/tests/test_layout.py +0 -0
  215. {lanternspec-0.2.8 → lanternspec-0.2.9}/tests/test_learning_line.py +0 -0
  216. {lanternspec-0.2.8 → lanternspec-0.2.9}/tests/test_messages.py +0 -0
  217. {lanternspec-0.2.8 → lanternspec-0.2.9}/tests/test_name_overlap.py +0 -0
  218. {lanternspec-0.2.8 → lanternspec-0.2.9}/tests/test_names.py +0 -0
  219. {lanternspec-0.2.8 → lanternspec-0.2.9}/tests/test_part_delivery.py +0 -0
  220. {lanternspec-0.2.8 → lanternspec-0.2.9}/tests/test_parts.py +0 -0
  221. {lanternspec-0.2.8 → lanternspec-0.2.9}/tests/test_principles.py +0 -0
  222. {lanternspec-0.2.8 → lanternspec-0.2.9}/tests/test_principles_data.py +0 -0
  223. {lanternspec-0.2.8 → lanternspec-0.2.9}/tests/test_refs.py +0 -0
  224. {lanternspec-0.2.8 → lanternspec-0.2.9}/tests/test_release_script.py +0 -0
  225. {lanternspec-0.2.8 → lanternspec-0.2.9}/tests/test_resume.py +0 -0
  226. {lanternspec-0.2.8 → lanternspec-0.2.9}/tests/test_skill_commands.py +0 -0
  227. {lanternspec-0.2.8 → lanternspec-0.2.9}/tests/test_tool_health.py +0 -0
  228. {lanternspec-0.2.8 → lanternspec-0.2.9}/tests/test_work_line.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lanternspec
3
- Version: 0.2.8
3
+ Version: 0.2.9
4
4
  Summary: Spec-driven development for agentic software engineering
5
5
  Author: Jihyeok Jeong
6
6
  License-Expression: MIT
@@ -165,6 +165,7 @@ Sections lantern reads and writes (protected sections, such as "Now" in a log) m
165
165
 
166
166
  ### Viewing the docs in Obsidian
167
167
  Open the `docs/` folder as a vault in Obsidian and it is already set up for reading (`docs/.obsidian/`).
168
+ `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.
168
169
 
169
170
  - **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.
170
171
  - **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.
@@ -150,6 +150,7 @@ Sections lantern reads and writes (protected sections, such as "Now" in a log) m
150
150
 
151
151
  ### Viewing the docs in Obsidian
152
152
  Open the `docs/` folder as a vault in Obsidian and it is already set up for reading (`docs/.obsidian/`).
153
+ `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.
153
154
 
154
155
  - **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.
155
156
  - **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.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "lanternspec"
7
- version = "0.2.8"
7
+ version = "0.2.9"
8
8
  description = "Spec-driven development for agentic software engineering"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -127,12 +127,14 @@ def cmd_harness(a: argparse.Namespace) -> int:
127
127
 
128
128
  def cmd_obsidian(a: argparse.Namespace) -> int:
129
129
  """`lantern obsidian plugins` — download the recommended Obsidian plugins into docs/.obsidian/plugins/."""
130
- from ..report.obsidian import install_plugins, write_vault
130
+ from ..report.obsidian import TIMELINE_PLUGIN, install_plugins, write_vault
131
131
 
132
132
  project = _p()
133
133
  write_vault(project) # plugin settings and .gitignore must exist first
134
134
  for plugin_id, version in install_plugins(project):
135
135
  print(f"✔ {plugin_id} {version}")
136
+ write_vault(project) # now that plugins are in use, this also copies the timeline plugin bundled with the package
137
+ print(f"✔ {TIMELINE_PLUGIN}")
136
138
  print(msg("Next: open the docs/ folder as a vault in Obsidian, and turn community plugins on when asked (turn off restricted mode)"))
137
139
  return 0
138
140
 
@@ -5,6 +5,7 @@ Responsibilities:
5
5
  - merge LanternSpec's share of docs/.obsidian settings (other user settings stay)
6
6
  - CSS snippet: folder colors per document stage · folder and file icons · callout · quote styles (any theme)
7
7
  - download the recommended plugins' official releases (Dataview · Metadata Menu) (install_plugins)
8
+ - copy the Lantern Timeline plugin bundled with the package, for projects that use Obsidian plugins
8
9
 
9
10
  Not here:
10
11
  - renaming choices → core/meta.py (rename_enum_value) — write_vault runs again afterwards
@@ -23,6 +24,7 @@ from typing import Any
23
24
 
24
25
  import yaml
25
26
 
27
+ from .. import resources
26
28
  from ..core.enums import Enums
27
29
  from ..core.messages import msg
28
30
  from ..core.names import Names
@@ -32,6 +34,8 @@ PLUGINS = { # recommended plugin id → GitHub repo. [key:: value] display (tas
32
34
  "dataview": "blacksmithgu/obsidian-dataview",
33
35
  "metadata-menu": "mdelobelle/metadatamenu",
34
36
  }
37
+ TIMELINE_PLUGIN = "lantern-timeline" # bundled in resources/obsidian/, so it needs no download and follows this package's version
38
+ TIMELINE_BLOCK = "lantern-timeline" # the code block it draws (report/views.py writes it)
35
39
  PLUGIN_FILES = ("main.js", "manifest.json", "styles.css") # official release files of a community plugin (styles.css may be missing)
36
40
  RELEASE_URL = "https://github.com/{repo}/releases/latest/download/{file}"
37
41
  VAULT_GITIGNORE = """# {note}
@@ -310,7 +314,11 @@ def write_vault(project: Project) -> list[Path]:
310
314
  snippets = look.get("enabledCssSnippets") or []
311
315
  save(obs / "appearance.json", _dump({**look, "enabledCssSnippets": snippets + [SNIPPET] * (SNIPPET not in snippets)}))
312
316
  plugins = _load(obs / "community-plugins.json", [])
313
- save(obs / "community-plugins.json", _dump(plugins + [p for p in PLUGINS if p not in plugins]))
317
+ wanted_plugins = [*PLUGINS, TIMELINE_PLUGIN] if _uses_plugins(obs) else list(PLUGINS)
318
+ save(obs / "community-plugins.json", _dump(plugins + [p for p in wanted_plugins if p not in plugins]))
319
+ if _uses_plugins(obs): # a newer package redraws the timeline with its own copy
320
+ for name, source in resources.iter_files(f"obsidian/{TIMELINE_PLUGIN}"):
321
+ save(obs / "plugins" / TIMELINE_PLUGIN / name, source.read_text(encoding="utf-8"))
314
322
  save(
315
323
  obs / ".gitignore",
316
324
  VAULT_GITIGNORE.format(
@@ -322,7 +330,8 @@ def write_vault(project: Project) -> list[Path]:
322
330
  types = _load(obs / "types.json")
323
331
  save(obs / "types.json", _dump({**types, "types": {**PROPERTY_TYPES, **(types.get("types") or {})}}))
324
332
  mm = _load(obs / "plugins" / "metadata-menu" / "data.json")
325
- mm.update({"fileClassAlias": TYPE_FIELD, "classFilesPath": class_dir(project.names)})
333
+ # the fileClasses only use fixed choice lists, so Metadata Menu's startup notice asking for DataviewJS doesn't apply
334
+ mm.update({"fileClassAlias": TYPE_FIELD, "classFilesPath": class_dir(project.names), "disableDataviewPrompt": True})
326
335
  mm["presetFields"] = [f for f in mm.get("presetFields") or [] if f.get("name") not in _managed_fields(enums)]
327
336
  save(obs / "plugins" / "metadata-menu" / "data.json", _dump(mm))
328
337
  classes = project.docs / class_dir(project.names)
@@ -336,6 +345,27 @@ def write_vault(project: Project) -> list[Path]:
336
345
  return out
337
346
 
338
347
 
348
+ def _uses_plugins(obs: Path) -> bool:
349
+ """Tell whether plugins were installed in this vault: downloaded ones, or a timeline copied earlier."""
350
+ return any((obs / "plugins" / p / "main.js").exists() for p in [*PLUGINS, TIMELINE_PLUGIN])
351
+
352
+
353
+ def timeline_installed(project: Project) -> bool:
354
+ """Tell whether reports can use the Lantern Timeline plugin.
355
+
356
+ Args:
357
+ project: The project.
358
+
359
+ Returns:
360
+ True when the plugin's code is in the vault.
361
+
362
+ Example:
363
+ >>> timeline_installed(project) # doctest: +SKIP
364
+ True
365
+ """
366
+ return (project.docs / ".obsidian" / "plugins" / TIMELINE_PLUGIN / "main.js").exists()
367
+
368
+
339
369
  def install_plugins(project: Project, fetch: Callable[[str], bytes | None] | None = None) -> list[tuple[str, str]]:
340
370
  """Download the latest official releases of the recommended Obsidian plugins (Dataview · Metadata Menu) into docs/.obsidian/plugins/.
341
371
 
@@ -12,6 +12,7 @@ Not here:
12
12
  from __future__ import annotations
13
13
 
14
14
  import datetime as _dt
15
+ import json
15
16
  import re
16
17
  from pathlib import Path
17
18
 
@@ -20,11 +21,12 @@ from ..core.messages import msg
20
21
  from ..core.project import Project, git_out, nfc, now_minute, read, today, wikilink, work_id_of, work_name_of, write
21
22
  from ..core.taskfile import Task, TaskGraph, parse_criteria, parse_tasks
22
23
  from ..learn import debt as debt_mod
24
+ from . import obsidian
23
25
 
24
26
  VIEWS = ["kanban", "timeline", "domain", "trace", "debt", "sync", "eval"]
25
27
  VIEW_TITLE = { # English; msg() translates them
26
28
  "kanban": "🗂 Kanban",
27
- "timeline": "📅 Timeline (WBS)",
29
+ "timeline": "📅 Timeline",
28
30
  "domain": "🧩 By domain · requirement",
29
31
  "trace": "🔗 Traceability",
30
32
  "debt": "📒 Debt Status",
@@ -109,8 +111,111 @@ def _parse_dt(s: str) -> _dt.datetime | None:
109
111
  return None
110
112
 
111
113
 
114
+ def _plain_title(title: str) -> str:
115
+ """Drop the document links a task line carries: a chart shows what the task is, not where it is described."""
116
+ return re.sub(r"\s*[—-]\s*$", "", re.sub(r"\[\[[^\]]*\]\]", "", title)).strip()
117
+
118
+
119
+ def _work_bars(project: Project, w: Path, plan_meta: dict) -> list[dict]:
120
+ """Date each task of a work: actual times first, then planned dates, then its order and size after the task before it."""
121
+ bars = []
122
+ cursor = _parse_dt(frontmatter.as_str(plan_meta.get("created")) or today()) or _dt.datetime.now()
123
+ for t in _work_tasks(project, w):
124
+ days = _dt.timedelta(days=SIZE_DAYS.get(t.size, 1))
125
+ start, end = _parse_dt(t.started), _parse_dt(t.finished)
126
+ planned_s, planned_e = _parse_dt(t.attrs.get("start_plan", "")), _parse_dt(t.attrs.get("due_plan", ""))
127
+ if start:
128
+ basis = "actual"
129
+ end = (end if end > start else start + _dt.timedelta(minutes=30)) if end else start + days
130
+ elif planned_s:
131
+ basis, start, end = "planned", planned_s, planned_e or planned_s + days
132
+ else:
133
+ basis, start, end = "estimated", cursor, cursor + days
134
+ cursor = end
135
+ bar = {
136
+ "id": t.id.split("-")[-1],
137
+ "title": _plain_title(t.title),
138
+ "start": f"{start:%Y-%m-%d %H:%M}",
139
+ "end": f"{end:%Y-%m-%d %H:%M}",
140
+ "state": "done" if t.done else "doing" if t.started else "todo",
141
+ "basis": basis,
142
+ }
143
+ bars.append({**bar, "after": t.deps} if t.deps else bar)
144
+ return bars
145
+
146
+
147
+ def _timeline_rows(project: Project) -> list[dict]:
148
+ """Collect every work (archived ones too) with its dated tasks and the day its idea appeared."""
149
+ rows = []
150
+ for w in project.work_dirs(include_archive=True):
151
+ plan_meta = _meta(project.doc_path(w, "plan"))
152
+ row: dict = {
153
+ "id": work_id_of(w),
154
+ "name": work_name_of(w),
155
+ "file": project.docs_rel(project.doc_path(w, "tasks")),
156
+ "tasks": _work_bars(project, w, plan_meta),
157
+ }
158
+ for link in frontmatter.as_list(plan_meta.get("links")):
159
+ m = re.search(r"(IDEA-\d{3,})", str(link))
160
+ idea = project.find_by_id(m.group(1)) if m else None
161
+ created = frontmatter.as_str(_meta(idea).get("created")) if idea else ""
162
+ if m and created:
163
+ row["idea"] = {"id": m.group(1), "date": created}
164
+ if not row["tasks"]:
165
+ row["created"] = frontmatter.as_str(plan_meta.get("created")) or today()
166
+ rows.append(row)
167
+ return sorted(rows, key=lambda r: r["id"])
168
+
169
+
170
+ def _timeline_plugin_block(project: Project, rows: list[dict]) -> str:
171
+ """Write the rows as the code block the Lantern Timeline plugin draws."""
172
+ labels = {
173
+ "done": msg("Done"),
174
+ "doing": msg("Doing"),
175
+ "todo": msg("To do"),
176
+ "actual": msg("actual dates"),
177
+ "planned": msg("planned dates"),
178
+ "estimated": msg("estimated from order and size"),
179
+ "span": msg("whole work"),
180
+ "idea": msg("idea added"),
181
+ "plan": msg("plan started"),
182
+ "after": msg("comes after"),
183
+ "late": msg("starts before the task it waits on"),
184
+ "not_saved": msg("Dates not changed: the task has started, or its line is gone"),
185
+ }
186
+ names = project.names
187
+ fields = {role: names.attr(role) for role in ("start", "start_plan", "due_plan")} | {"unknown": names.marker("unknown")}
188
+ text = json.dumps({"labels": labels, "fields": fields, "works": rows}, ensure_ascii=False, separators=(",", ":"))
189
+ return "```" + obsidian.TIMELINE_BLOCK + "\n" + text.replace("`", "\\u0060") + "\n```"
190
+
191
+
192
+ def _timeline_mermaid(rows: list[dict]) -> str:
193
+ """Write the rows as a Mermaid Gantt chart."""
194
+ lines = ["```mermaid", "gantt", " dateFormat YYYY-MM-DD HH:mm", " axisFormat %m-%d", " todayMarker on"]
195
+ for row in rows:
196
+ wid = row["id"]
197
+ lines.append(f" section {_gantt_name(wid + ' ' + row['name'])}")
198
+ if "idea" in row:
199
+ lines.append(f" 💡 {row['idea']['id']} :milestone, {wid.lower().replace('-', '')}idea, {row['idea']['date']} 00:00, 0d")
200
+ for t in row["tasks"]:
201
+ tid = f"{wid}{t['id']}".lower().replace("-", "")
202
+ tag = {"done": "done, ", "doing": "active, "}.get(t["state"], "")
203
+ lines.append(f" {_gantt_name(t['id'] + ' ' + t['title'])} :{tag}{tid}, {t['start']}, {t['end']}")
204
+ if "created" in row:
205
+ lines.append(
206
+ msg(
207
+ " {gantt_name} plan :milestone, {replace}m, {created} 00:00, 0d",
208
+ gantt_name=_gantt_name(wid),
209
+ replace=wid.lower().replace("-", ""),
210
+ created=row["created"],
211
+ )
212
+ )
213
+ lines.append("```")
214
+ return "\n".join(lines)
215
+
216
+
112
217
  def timeline(project: Project) -> str:
113
- """Draw every work (archived ones too) as a Mermaid Gantt chart.
218
+ """Draw every work (archived ones too) on a timeline: for the Lantern Timeline plugin when it is installed, else as Mermaid.
114
219
 
115
220
  Tasks use their actual times when they have them, then planned dates, then their order and size
116
221
  (S = 1 day · M = 2 · L = 3). The idea a work came from shows as a milestone.
@@ -119,73 +224,31 @@ def timeline(project: Project) -> str:
119
224
  project: The project.
120
225
 
121
226
  Returns:
122
- The Mermaid block with a note on how it was drawn; a short note when there are no works.
227
+ The chart's code block with a note on how it was drawn; a short note when there are no works.
123
228
 
124
229
  Example:
125
230
  >>> timeline(project).splitlines()[1] # doctest: +SKIP
126
231
  'gantt'
127
232
  """
128
- works = project.work_dirs(include_archive=True)
129
- if not works:
233
+ rows = _timeline_rows(project)
234
+ if not rows:
130
235
  return msg("_No works._")
131
- lines = ["```mermaid", "gantt", " dateFormat YYYY-MM-DD HH:mm", " axisFormat %m-%d", " todayMarker on"]
132
- any_task = False
133
- for w in works:
134
- wid = work_id_of(w)
135
- tasks = _work_tasks(project, w)
136
- plan_meta = _meta(project.doc_path(w, "plan"))
137
- lines.append(f" section {_gantt_name(wid + ' ' + work_name_of(w))}")
138
- # idea → work: when did the idea appear?
139
- for link in frontmatter.as_list(plan_meta.get("links")):
140
- m = re.search(r"(IDEA-\d{3,})", str(link))
141
- if m:
142
- idea = project.find_by_id(m.group(1))
143
- created = frontmatter.as_str(_meta(idea).get("created")) if idea else ""
144
- if created:
145
- lines.append(f" 💡 {m.group(1)} :milestone, {wid.lower().replace('-', '')}idea, {created} 00:00, 0d")
146
- prev_id: str | None = None
147
- cursor = _parse_dt(frontmatter.as_str(plan_meta.get("created")) or today()) or _dt.datetime.now()
148
- for t in tasks:
149
- any_task = True
150
- tid = t.id.lower().replace("-", "")
151
- name = _gantt_name(f"{t.id.split('-')[-1]} {t.title}")
152
- start, end = _parse_dt(t.started), _parse_dt(t.finished)
153
- planned_s, planned_e = _parse_dt(t.attrs.get("start_plan", "")), _parse_dt(t.attrs.get("due_plan", ""))
154
- tag = "done, " if t.done else ("active, " if t.started else "")
155
- if start and end:
156
- if end <= start:
157
- end = start + _dt.timedelta(minutes=30)
158
- lines.append(f" {name} :{tag}{tid}, {start:%Y-%m-%d %H:%M}, {end:%Y-%m-%d %H:%M}")
159
- cursor = end
160
- elif start:
161
- lines.append(f" {name} :{tag}{tid}, {start:%Y-%m-%d %H:%M}, {SIZE_DAYS.get(t.size, 1)}d")
162
- cursor = start + _dt.timedelta(days=SIZE_DAYS.get(t.size, 1))
163
- elif planned_s:
164
- end_p = planned_e or planned_s + _dt.timedelta(days=SIZE_DAYS.get(t.size, 1))
165
- lines.append(f" {name} :{tag}{tid}, {planned_s:%Y-%m-%d %H:%M}, {end_p:%Y-%m-%d %H:%M}")
166
- cursor = end_p
167
- elif prev_id:
168
- lines.append(f" {name} :{tag}{tid}, after {prev_id}, {SIZE_DAYS.get(t.size, 1)}d")
169
- else:
170
- lines.append(f" {name} :{tag}{tid}, {cursor:%Y-%m-%d %H:%M}, {SIZE_DAYS.get(t.size, 1)}d")
171
- prev_id = tid
172
- if not tasks:
173
- created = frontmatter.as_str(plan_meta.get("created")) or today()
174
- lines.append(
175
- msg(
176
- " {gantt_name} plan :milestone, {replace}m, {created} 00:00, 0d",
177
- gantt_name=_gantt_name(wid),
178
- replace=wid.lower().replace("-", ""),
179
- created=created,
180
- )
181
- )
182
- lines.append("```")
183
- note = "" if any_task else msg("\n_No tasks yet, so only the start of each work is shown._")
236
+ if obsidian.timeline_installed(project):
237
+ chart = _timeline_plugin_block(project, rows)
238
+ freshness = msg(
239
+ "Drag a task that has not started to plan it. Checkboxes and planned dates show at once; "
240
+ "the rest when `lantern report` runs again."
241
+ )
242
+ else:
243
+ chart = _timeline_mermaid(rows)
244
+ freshness = msg("Drawn when `lantern report` ran — after changing tasks, run it again.")
245
+ note = "" if any(row["tasks"] for row in rows) else msg("\n_No tasks yet, so only the start of each work is shown._")
184
246
  return (
185
- "\n".join(lines)
247
+ chart
186
248
  + msg(
187
- "\n\n> Without planned dates it is drawn from task order and size (S=1 day · M=2 days · L=3 "
188
- "days); once actual times exist, from those."
249
+ "\n\n> {freshness} Without planned dates it is drawn from task order and size (S=1 day · M=2 days · L=3 days); "
250
+ "once actual times exist, from those.",
251
+ freshness=freshness,
189
252
  )
190
253
  + note
191
254
  )
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: l-report
3
- description: See where things stand, in the views you want — read the work folders · current state · debt ledger and write kanban · timeline (Mermaid gantt) · by domain · trace (idea → work → commit) · debt status · docs-vs-code into <<folder.reports>>/<<file.report>>, with a 3-line summary at the top. Use when the user asks for status, progress, a kanban, a timeline or a report.
3
+ description: See where things stand, in the views you want — read the work folders · current state · debt ledger and write kanban · timeline · by domain · trace (idea → work → commit) · debt status · docs-vs-code into <<folder.reports>>/<<file.report>>, with a 3-line summary at the top. Use when the user asks for status, progress, a kanban, a timeline or a report.
4
4
  invocation: model
5
5
  argument-hint: "[kanban,timeline,domain,trace,debt,sync]"
6
6
  ---
@@ -14,7 +14,7 @@ Input: `$ARGUMENTS` — the views to show. If none, the profile default (<<repor
14
14
  | View | Name |
15
15
  |---|---|
16
16
  | 🗂 Kanban | `kanban` |
17
- | 📅 Timeline (WBS) | `timeline` |
17
+ | 📅 Timeline | `timeline` |
18
18
  | 🧩 By domain · requirement | `domain` |
19
19
  | 🔗 Trace (idea → work → commit) | `trace` |
20
20
  | 📒 Debt status | `debt` |
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: l-report
3
- description: 원하는 보기로 현황 확인 — 작업 폴더 · 현재 상태 · 부채 장부를 읽어 칸반 · 타임라인(Mermaid gantt) · 도메인별 · 추적(아이디어→작업→커밋) · 부채 현황 · 문서-코드 일치를 <<folder.reports>>/<<file.report>>에 만들고, 맨 위에 3줄 요약을 쓴다. Use when the user asks for status, progress, a kanban, a timeline or a report.
3
+ description: 원하는 보기로 현황 확인 — 작업 폴더 · 현재 상태 · 부채 장부를 읽어 칸반 · 타임라인 · 도메인별 · 추적(아이디어→작업→커밋) · 부채 현황 · 문서-코드 일치를 <<folder.reports>>/<<file.report>>에 만들고, 맨 위에 3줄 요약을 쓴다. Use when the user asks for status, progress, a kanban, a timeline or a report.
4
4
  invocation: model
5
5
  argument-hint: "[kanban,timeline,domain,trace,debt,sync]"
6
6
  ---
@@ -14,7 +14,7 @@ argument-hint: "[kanban,timeline,domain,trace,debt,sync]"
14
14
  | 보기 | 이름 |
15
15
  |---|---|
16
16
  | 🗂 칸반 | `kanban` |
17
- | 📅 타임라인 (WBS) | `timeline` |
17
+ | 📅 타임라인 | `timeline` |
18
18
  | 🧩 도메인 · 요구사항별 | `domain` |
19
19
  | 🔗 추적 (아이디어 → 작업 → 커밋) | `trace` |
20
20
  | 📒 부채 현황 | `debt` |
@@ -471,7 +471,9 @@
471
471
  "> ⚙️ Generated — `lantern report` · **as of {now_minute}** · views: {items}": {ko: "> ⚙️ 자동 생성 — `lantern report` · **기준: {now_minute}** · 보기: {items}"}
472
472
  "## 3-line summary": {ko: "## 3줄 요약"}
473
473
  "## Compared with the last report": {ko: "## 지난 보고와 비교"}
474
- "\n\n> Without planned dates it is drawn from task order and size (S=1 day · M=2 days · L=3 days); once actual times exist, from those.": {ko: "\n\n> 예정일이 없으면 할 일 순서와 크기(S=1일 · M=2일 · L=3일)로, 실제 시간이 생기면 그 시간으로 그린다."}
474
+ "Drag a task that has not started to plan it. Checkboxes and planned dates show at once; the rest when `lantern report` runs again.": {ko: "시작 전인 할 일은 끌어서 일정을 잡는다. 체크와 예정일은 바로 반영되고, 나머지는 `lantern report`를 다시 실행할 때 바뀐다."}
475
+ "Drawn when `lantern report` ran — after changing tasks, run it again.": {ko: "`lantern report`를 실행한 때의 상태다. 할 일을 바꾼 뒤에는 다시 실행한다."}
476
+ "\n\n> {freshness} Without planned dates it is drawn from task order and size (S=1 day · M=2 days · L=3 days); once actual times exist, from those.": {ko: "\n\n> {freshness} 예정일이 없으면 할 일 순서와 크기(S=1일 · M=2일 · L=3일)로, 실제 시간이 생기면 그 시간으로 그린다."}
475
477
  "(no domain)": {ko: "(도메인 없음)"}
476
478
  "Unknown view: {items} (available: {items2})": {ko: "알 수 없는 보기: {items} (가능: {items2})"}
477
479
  "> The AI fills in 3 lines: `lantern report --summary \"…\" \"…\" \"…\"`": {ko: "> AI가 3줄로 채운다: `lantern report --summary \"…\" \"…\" \"…\"`"}
@@ -481,7 +483,7 @@
481
483
  "# 📊 {today} Report": {ko: "# 📊 {today} 보고"}
482
484
  " · ⏳ design awaiting approval {items}": {ko: " · ⏳ 설계 승인 대기 {items}"}
483
485
  "🗂 Kanban": {ko: "🗂 칸반"}
484
- "📅 Timeline (WBS)": {ko: "📅 타임라인 (WBS)"}
486
+ "📅 Timeline": {ko: "📅 타임라인"}
485
487
  "🧩 By domain · requirement": {ko: "🧩 도메인 · 요구사항별"}
486
488
  "🔗 Traceability": {ko: "🔗 추적"}
487
489
  "📒 Debt Status": {ko: "📒 부채 현황"}
@@ -1285,3 +1287,15 @@
1285
1287
  " ci_lint: {s} # lint and type errors in CI: warn (shown, CI passes) | block (CI fails)": {ko: " ci_lint: {s} # CI의 린트 · 타입 오류: warn(보여 주고 통과) | block(실패)"}
1286
1288
  "code.parts {path}: ci must be true or false": {ko: "code.parts {path}: ci는 true나 false여야 합니다"}
1287
1289
  " # parts = sub-projects with their own package file (pyproject.toml · package.json …) — lantern parts (each gets its own AGENTS.md; ci: false leaves one out of CI)": {ko: " # 영역 = 패키지 설정 파일(pyproject.toml · package.json 등)이 따로 있는 하위 프로젝트 — lantern parts (영역마다 AGENTS.md가 생기고, ci: false면 CI에서 뺀다)"}
1290
+ "actual dates": {ko: "실제 일정"}
1291
+ "planned dates": {ko: "예정 일정"}
1292
+ "estimated from order and size": {ko: "순서와 크기로 추정"}
1293
+ "Doing": {ko: "진행 중"}
1294
+ "To do": {ko: "할 일"}
1295
+ "whole work": {ko: "작업 전체 기간"}
1296
+ "idea added": {ko: "아이디어 등록일"}
1297
+ "plan started": {ko: "기획 시작일"}
1298
+ "comes after": {ko: "선후 관계"}
1299
+ "starts before the task it waits on": {ko: "먼저 할 일보다 일찍 시작"}
1300
+ "Dates not changed: the task has started, or its line is gone": {ko: "일정을 바꾸지 못했습니다. 이미 시작한 할 일이거나 그 줄이 없습니다"}
1301
+ "Done": {ko: "완료"}