lanternspec 0.5.1__tar.gz → 0.5.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (303) hide show
  1. {lanternspec-0.5.1/src/lanternspec.egg-info → lanternspec-0.5.2}/PKG-INFO +2 -2
  2. {lanternspec-0.5.1 → lanternspec-0.5.2}/README.md +1 -1
  3. {lanternspec-0.5.1 → lanternspec-0.5.2}/pyproject.toml +1 -1
  4. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/cli/report.py +13 -5
  5. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/report/retro.py +268 -54
  6. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/skills/l-build/SKILL.md +4 -4
  7. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/AI Retro.md +5 -4
  8. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/skills/l-build/SKILL.md +4 -4
  9. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates/AI /355/232/214/352/263/240.md" +5 -4
  10. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates/_meta/enums.yaml +1 -1
  11. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/messages.yaml +13 -1
  12. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/names.yaml +4 -2
  13. {lanternspec-0.5.1 → lanternspec-0.5.2/src/lanternspec.egg-info}/PKG-INFO +2 -2
  14. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_retro.py +86 -5
  15. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_review.py +8 -5
  16. {lanternspec-0.5.1 → lanternspec-0.5.2}/LICENSE +0 -0
  17. {lanternspec-0.5.1 → lanternspec-0.5.2}/setup.cfg +0 -0
  18. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/__init__.py +0 -0
  19. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/__main__.py +0 -0
  20. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/check/__init__.py +0 -0
  21. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/check/budget.py +0 -0
  22. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/check/check_docs.py +0 -0
  23. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/check/doctor.py +0 -0
  24. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/check/githooks.py +0 -0
  25. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/check/layout.py +0 -0
  26. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/check/legacy.py +0 -0
  27. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/check/openspec.py +0 -0
  28. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/check/pr_check.py +0 -0
  29. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/check/templates.py +0 -0
  30. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/cli/__init__.py +0 -0
  31. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/cli/check.py +0 -0
  32. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/cli/color.py +0 -0
  33. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/cli/common.py +0 -0
  34. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/cli/core.py +0 -0
  35. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/cli/learn.py +0 -0
  36. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/cli/refs.py +0 -0
  37. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/cli/table.py +0 -0
  38. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/cli/tools.py +0 -0
  39. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/cli/work.py +0 -0
  40. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/core/__init__.py +0 -0
  41. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/core/enums.py +0 -0
  42. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/core/frontmatter.py +0 -0
  43. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/core/links.py +0 -0
  44. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/core/messages.py +0 -0
  45. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/core/meta.py +0 -0
  46. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/core/names.py +0 -0
  47. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/core/new_id.py +0 -0
  48. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/core/outline.py +0 -0
  49. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/core/principles.py +0 -0
  50. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/core/profile.py +0 -0
  51. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/core/project.py +0 -0
  52. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/core/sections.py +0 -0
  53. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/core/state.py +0 -0
  54. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/core/taskfile.py +0 -0
  55. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/core/templating.py +0 -0
  56. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/core/textwidth.py +0 -0
  57. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/learn/__init__.py +0 -0
  58. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/learn/debt.py +0 -0
  59. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/learn/knowledge/__init__.py +0 -0
  60. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/learn/knowledge/access.py +0 -0
  61. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/learn/knowledge/drafts.py +0 -0
  62. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/learn/knowledge/keychain.py +0 -0
  63. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/learn/knowledge/notion.py +0 -0
  64. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/learn/knowledge/notion_database.py +0 -0
  65. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/learn/knowledge/notion_markdown.py +0 -0
  66. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/learn/knowledge/notion_setup.py +0 -0
  67. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/learn/knowledge/obsidian.py +0 -0
  68. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/refs/__init__.py +0 -0
  69. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/refs/convert.py +0 -0
  70. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/refs/domain.py +0 -0
  71. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/refs/index.py +0 -0
  72. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/refs/rules.py +0 -0
  73. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/refs/sources.py +0 -0
  74. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/refs/terms.py +0 -0
  75. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/report/__init__.py +0 -0
  76. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/report/build_mode.py +0 -0
  77. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/report/components.py +0 -0
  78. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/report/doc_map.py +0 -0
  79. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/report/evaluate.py +0 -0
  80. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/report/obsidian.py +0 -0
  81. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/report/principles_doc.py +0 -0
  82. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/report/resume.py +0 -0
  83. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/report/scan.py +0 -0
  84. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/report/sections_doc.py +0 -0
  85. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/report/status.py +0 -0
  86. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/report/views.py +0 -0
  87. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/__init__.py +0 -0
  88. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/conventions/go.yaml +0 -0
  89. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/conventions/python.yaml +0 -0
  90. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/conventions/rust.yaml +0 -0
  91. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/conventions/swift.yaml +0 -0
  92. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/conventions/typescript.yaml +0 -0
  93. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/agents/AGENTS.md +0 -0
  94. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/agents/lantern-reviewer.md +0 -0
  95. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/git/gitmessage.txt +0 -0
  96. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/github/pull_request_template.md +0 -0
  97. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/skills/l-adr/SKILL.md +0 -0
  98. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/skills/l-check/SKILL.md +0 -0
  99. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/skills/l-design/SKILL.md +0 -0
  100. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/skills/l-domain/SKILL.md +0 -0
  101. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/skills/l-finish/SKILL.md +0 -0
  102. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/skills/l-idea/SKILL.md +0 -0
  103. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/skills/l-init/SKILL.md +0 -0
  104. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/skills/l-learn/SKILL.md +0 -0
  105. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/skills/l-map/SKILL.md +0 -0
  106. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/skills/l-migrate/SKILL.md +0 -0
  107. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/skills/l-parallel/SKILL.md +0 -0
  108. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/skills/l-plan/SKILL.md +0 -0
  109. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/skills/l-pr/SKILL.md +0 -0
  110. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/skills/l-ref/SKILL.md +0 -0
  111. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/skills/l-ref/domain.md +0 -0
  112. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/skills/l-ref/rules.md +0 -0
  113. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/skills/l-ref/terms.md +0 -0
  114. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/skills/l-report/SKILL.md +0 -0
  115. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/skills/l-resume/SKILL.md +0 -0
  116. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/skills/l-sync/SKILL.md +0 -0
  117. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/skills/l-task/SKILL.md +0 -0
  118. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/skills/l-template/SKILL.md +0 -0
  119. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/ADR.md +0 -0
  120. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/API.md +0 -0
  121. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Architecture.md +0 -0
  122. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Collaboration Rules.md +0 -0
  123. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Competency Card.md +0 -0
  124. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Component Card.md +0 -0
  125. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Data.md +0 -0
  126. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Debt Card.md +0 -0
  127. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Deployment.md +0 -0
  128. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Design System.md +0 -0
  129. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Design.md +0 -0
  130. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Docs MOC.md +0 -0
  131. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Feature List.md +0 -0
  132. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Glossary.md +0 -0
  133. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Idea - Bug.md +0 -0
  134. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Idea - Experiment.md +0 -0
  135. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Idea - Feature.md +0 -0
  136. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Idea - Improvement.md +0 -0
  137. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Idea - Tech Review.md +0 -0
  138. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Idea.md +0 -0
  139. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Known Tech.md +0 -0
  140. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Legacy Map.md +0 -0
  141. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Log.md +0 -0
  142. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Meeting Notes.md +0 -0
  143. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Plan.md +0 -0
  144. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Platform Integration.md +0 -0
  145. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Project Definition.md +0 -0
  146. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Repository File Rules.md +0 -0
  147. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Screens.md +0 -0
  148. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Server Operations.md +0 -0
  149. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Session Log.md +0 -0
  150. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Task Breakdown Rules.md +0 -0
  151. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Tasks.md +0 -0
  152. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Tech Selection Criteria.md +0 -0
  153. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/Work Division Rules.md +0 -0
  154. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/en/templates/_meta/enums.yaml +0 -0
  155. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/agents/AGENTS.md +0 -0
  156. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/agents/lantern-reviewer.md +0 -0
  157. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/git/gitmessage.txt +0 -0
  158. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/github/pull_request_template.md +0 -0
  159. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/skills/l-adr/SKILL.md +0 -0
  160. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/skills/l-check/SKILL.md +0 -0
  161. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/skills/l-design/SKILL.md +0 -0
  162. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/skills/l-domain/SKILL.md +0 -0
  163. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/skills/l-finish/SKILL.md +0 -0
  164. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/skills/l-idea/SKILL.md +0 -0
  165. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/skills/l-init/SKILL.md +0 -0
  166. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/skills/l-learn/SKILL.md +0 -0
  167. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/skills/l-map/SKILL.md +0 -0
  168. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/skills/l-migrate/SKILL.md +0 -0
  169. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/skills/l-parallel/SKILL.md +0 -0
  170. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/skills/l-plan/SKILL.md +0 -0
  171. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/skills/l-pr/SKILL.md +0 -0
  172. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/skills/l-ref/SKILL.md +0 -0
  173. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/skills/l-ref/domain.md +0 -0
  174. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/skills/l-ref/rules.md +0 -0
  175. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/skills/l-ref/terms.md +0 -0
  176. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/skills/l-report/SKILL.md +0 -0
  177. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/skills/l-resume/SKILL.md +0 -0
  178. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/skills/l-sync/SKILL.md +0 -0
  179. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/skills/l-task/SKILL.md +0 -0
  180. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/skills/l-template/SKILL.md +0 -0
  181. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates/ADR.md +0 -0
  182. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates/API.md +0 -0
  183. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//352/260/234/353/260/234/353/254/270/354/204/234 MOC.md" +0 -0
  184. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//352/265/254/354/204/261 /354/271/264/353/223/234.md" +0 -0
  185. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//352/270/260/353/212/245 /353/252/251/353/241/235.md" +0 -0
  186. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//352/270/260/353/241/235.md" +0 -0
  187. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//352/270/260/354/210/240 /354/204/240/355/203/235 /352/270/260/354/244/200.md" +0 -0
  188. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//352/270/260/354/241/264 /353/254/270/354/204/234 /354/247/200/353/217/204.md" +0 -0
  189. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//352/270/260/355/232/215.md" +0 -0
  190. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//353/215/260/354/235/264/355/204/260.md" +0 -0
  191. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//353/224/224/354/236/220/354/235/270 /354/213/234/354/212/244/355/205/234.md" +0 -0
  192. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//353/260/260/355/217/254.md" +0 -0
  193. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//353/266/200/354/261/204 /354/271/264/353/223/234.md" +0 -0
  194. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//354/204/234/353/262/204 /353/260/260/355/217/254 /302/267 /354/232/264/354/230/201.md" +0 -0
  195. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//354/204/244/352/263/204.md" +0 -0
  196. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//354/204/270/354/205/230 /352/270/260/353/241/235.md" +0 -0
  197. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//354/213/234/354/212/244/355/205/234 /352/265/254/354/241/260.md" +0 -0
  198. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//354/225/204/353/212/224 /352/270/260/354/210/240.md" +0 -0
  199. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//354/225/204/354/235/264/353/224/224/354/226/264 - /352/260/234/354/204/240.md" +0 -0
  200. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//354/225/204/354/235/264/353/224/224/354/226/264 - /352/270/260/353/212/245.md" +0 -0
  201. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//354/225/204/354/235/264/353/224/224/354/226/264 - /352/270/260/354/210/240 /352/262/200/355/206/240.md" +0 -0
  202. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//354/225/204/354/235/264/353/224/224/354/226/264 - /353/262/204/352/267/270.md" +0 -0
  203. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//354/225/204/354/235/264/353/224/224/354/226/264 - /354/213/244/355/227/230.md" +0 -0
  204. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//354/225/204/354/235/264/353/224/224/354/226/264.md" +0 -0
  205. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//354/227/255/353/237/211 /354/271/264/353/223/234.md" +0 -0
  206. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//354/232/251/354/226/264/354/247/221.md" +0 -0
  207. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//354/236/221/354/227/205 /353/202/230/353/210/204/352/270/260 /352/270/260/354/244/200.md" +0 -0
  208. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//354/240/200/354/236/245/354/206/214 /355/214/214/354/235/274 /352/267/234/354/271/231.md" +0 -0
  209. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//355/224/204/353/241/234/354/240/235/355/212/270 /354/240/225/354/235/230/354/204/234.md" +0 -0
  210. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//355/224/214/353/236/253/355/217/274 /354/227/260/353/217/231.md" +0 -0
  211. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//355/225/240 /354/235/274 /353/202/230/353/210/204/352/270/260 /352/270/260/354/244/200.md" +0 -0
  212. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//355/225/240 /354/235/274.md" +0 -0
  213. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//355/230/221/354/227/205 /352/267/234/354/271/231.md" +0 -0
  214. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//355/231/224/353/251/264.md" +0 -0
  215. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/locales/ko/templates//355/232/214/354/235/230/353/241/235.md" +0 -0
  216. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/obsidian/lantern-kanban/main.js +0 -0
  217. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/obsidian/lantern-kanban/manifest.json +0 -0
  218. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/obsidian/lantern-kanban/styles.css +0 -0
  219. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/obsidian/lantern-timeline/main.js +0 -0
  220. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/obsidian/lantern-timeline/manifest.json +0 -0
  221. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/obsidian/lantern-timeline/styles.css +0 -0
  222. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/openspec.yaml +0 -0
  223. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/resources/principles.yaml +0 -0
  224. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/tools/__init__.py +0 -0
  225. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/tools/agent_hooks.py +0 -0
  226. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/tools/antigravity.py +0 -0
  227. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/tools/base.py +0 -0
  228. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/tools/claude.py +0 -0
  229. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/tools/close.py +0 -0
  230. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/tools/codex.py +0 -0
  231. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/tools/components.py +0 -0
  232. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/tools/docs_mode.py +0 -0
  233. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/tools/guard.py +0 -0
  234. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/tools/health.py +0 -0
  235. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/tools/install.py +0 -0
  236. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/tools/parts.py +0 -0
  237. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/tools/retired.py +0 -0
  238. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/tools/rules.py +0 -0
  239. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/tools/runlog.py +0 -0
  240. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/tools/sessions.py +0 -0
  241. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/tools/skills.py +0 -0
  242. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/work/__init__.py +0 -0
  243. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/work/branches.py +0 -0
  244. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/work/dbml.py +0 -0
  245. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/work/epic_rules.py +0 -0
  246. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/work/ideas.py +0 -0
  247. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/work/loop.py +0 -0
  248. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/work/pack.py +0 -0
  249. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/work/progress.py +0 -0
  250. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/work/review.py +0 -0
  251. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/work/scaffold.py +0 -0
  252. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/work/screen.py +0 -0
  253. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/work/stages.py +0 -0
  254. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec/work/tasks.py +0 -0
  255. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec.egg-info/SOURCES.txt +0 -0
  256. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec.egg-info/dependency_links.txt +0 -0
  257. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec.egg-info/entry_points.txt +0 -0
  258. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec.egg-info/requires.txt +0 -0
  259. {lanternspec-0.5.1 → lanternspec-0.5.2}/src/lanternspec.egg-info/top_level.txt +0 -0
  260. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_budget.py +0 -0
  261. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_checks.py +0 -0
  262. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_color.py +0 -0
  263. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_component_cards.py +0 -0
  264. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_components.py +0 -0
  265. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_core.py +0 -0
  266. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_english.py +0 -0
  267. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_enums_single_source.py +0 -0
  268. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_enums_upgrade.py +0 -0
  269. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_git.py +0 -0
  270. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_guard.py +0 -0
  271. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_install_and_aux.py +0 -0
  272. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_later_features.py +0 -0
  273. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_layout.py +0 -0
  274. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_learning_line.py +0 -0
  275. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_legacy.py +0 -0
  276. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_loop.py +0 -0
  277. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_messages.py +0 -0
  278. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_name_overlap.py +0 -0
  279. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_names.py +0 -0
  280. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_notion_markdown.py +0 -0
  281. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_notion_read.py +0 -0
  282. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_notion_search.py +0 -0
  283. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_notion_setup.py +0 -0
  284. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_notion_write.py +0 -0
  285. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_obsidian.py +0 -0
  286. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_openspec.py +0 -0
  287. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_part_delivery.py +0 -0
  288. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_parts.py +0 -0
  289. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_principles.py +0 -0
  290. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_principles_data.py +0 -0
  291. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_profile_table.py +0 -0
  292. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_progress_parallel.py +0 -0
  293. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_refs.py +0 -0
  294. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_release_script.py +0 -0
  295. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_resume.py +0 -0
  296. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_retired.py +0 -0
  297. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_runlog.py +0 -0
  298. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_skill_commands.py +0 -0
  299. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_table.py +0 -0
  300. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_task_times.py +0 -0
  301. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_tool_health.py +0 -0
  302. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_understood.py +0 -0
  303. {lanternspec-0.5.1 → lanternspec-0.5.2}/tests/test_work_line.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lanternspec
3
- Version: 0.5.1
3
+ Version: 0.5.2
4
4
  Summary: Spec-driven development for agentic software engineering
5
5
  Author: Jihyeok Jeong
6
6
  License-Expression: MIT
@@ -314,7 +314,7 @@ checks check [--changed] [--epic W-012] · check-pr · lint [--ci] · check-
314
314
  work task next [--all]|start|done|ac|list|estimate · task add [--parallel] [--spike] · pack · screen import|compare
315
315
  work branch|start|list|overlap|finish|archive|stage|flow · design approve · unit-log add · idea find|status
316
316
  learning knowledge search|read|propose|write|areas|properties|setup · debt find|new|ask|resolve|promote|practice|known|status|list
317
- reports report [--views] [--summary] · status · resume [--session] [--more] · scan [--tests] [--ci] · sync adopt · eval · retro add|note|judge|confirm|review · obsidian plugins
317
+ reports report [--views] [--summary] · status · resume [--session] [--more] · scan [--tests] [--ci] · sync adopt · eval · retro add|note|judge|confirm|review|show · obsidian plugins
318
318
  templates template list|show|lint|level|bump|outdated|diff|usage|new|migrate · legacy adopt [--apply]|todos · migrate openspec [--apply]
319
319
  references ref list|check|index|read · tag|exclude|rules · terms|term|glossary|candidate · domain|describe|attach · convert [--apply]|preview
320
320
  git hooks install|uninstall|status · docs-mode local|shared
@@ -299,7 +299,7 @@ checks check [--changed] [--epic W-012] · check-pr · lint [--ci] · check-
299
299
  work task next [--all]|start|done|ac|list|estimate · task add [--parallel] [--spike] · pack · screen import|compare
300
300
  work branch|start|list|overlap|finish|archive|stage|flow · design approve · unit-log add · idea find|status
301
301
  learning knowledge search|read|propose|write|areas|properties|setup · debt find|new|ask|resolve|promote|practice|known|status|list
302
- reports report [--views] [--summary] · status · resume [--session] [--more] · scan [--tests] [--ci] · sync adopt · eval · retro add|note|judge|confirm|review · obsidian plugins
302
+ reports report [--views] [--summary] · status · resume [--session] [--more] · scan [--tests] [--ci] · sync adopt · eval · retro add|note|judge|confirm|review|show · obsidian plugins
303
303
  templates template list|show|lint|level|bump|outdated|diff|usage|new|migrate · legacy adopt [--apply]|todos · migrate openspec [--apply]
304
304
  references ref list|check|index|read · tag|exclude|rules · terms|term|glossary|candidate · domain|describe|attach · convert [--apply]|preview
305
305
  git hooks install|uninstall|status · docs-mode local|shared
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "lanternspec"
7
- version = "0.5.1"
7
+ version = "0.5.2"
8
8
  description = "Spec-driven development for agentic software engineering"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -85,7 +85,7 @@ def cmd_eval(a: argparse.Namespace) -> int:
85
85
 
86
86
 
87
87
  def cmd_retro(a: argparse.Namespace) -> int:
88
- """`lantern retro add|note|judge|confirm|review` — the AI retro: rows of loops, what the AI got stuck on, its judgment, confirmation."""
88
+ """`lantern retro add|note|judge|confirm|review|show` — the AI retro: loop rows, stuck notes, judgment, confirmation, run details."""
89
89
  from ..report import retro
90
90
 
91
91
  project = _p()
@@ -99,7 +99,10 @@ def cmd_retro(a: argparse.Namespace) -> int:
99
99
  print(f"{row.date} {retro.render_row(row, project.names)}")
100
100
  return 0
101
101
  if not a.args:
102
- raise CliError("lantern retro add W-012 · note W-012-T03 · judge <run> <key> · confirm <run> <key>")
102
+ raise CliError("lantern retro add W-012 · note W-012-T03 · judge <run> <key> · confirm <run> <key> · show <run>")
103
+ if a.action == "show":
104
+ print(retro.show(project, a.args[0]))
105
+ return 0
103
106
  if a.action == "add":
104
107
  added = retro.record(project, a.args[0])
105
108
  print(
@@ -109,7 +112,10 @@ def cmd_retro(a: argparse.Namespace) -> int:
109
112
  )
110
113
  todo = [row for _, row in retro.all_rows(project) if row.work == a.args[0].upper() and not row.judged]
111
114
  for row in todo:
112
- print(f" · {row.run} {row.key} — {msg('{tries} tries', tries=row.tries)}, {row.result}")
115
+ summary = f"{msg('{tries} tries', tries=row.tries)}, {row.result}"
116
+ if row.detail:
117
+ summary += f" — {row.detail}"
118
+ print(f" · {row.run} {row.key} — {summary}")
113
119
  if todo:
114
120
  e = project.enums
115
121
  print(msg('Judge each: lantern retro judge <run> <key> --weakness W --remedy R --hypothesis "…"'))
@@ -231,8 +237,10 @@ def register(add: Add) -> None:
231
237
  add("map", cmd_map, msg("Update the MOC"))
232
238
  p = add("eval", cmd_eval, msg("Evaluate AI work — which setups helped (run records)"))
233
239
  p.add_argument("--json", action="store_true")
234
- p = add("retro", cmd_retro, msg("AI retro: add rows of a finished loop · note what the AI got stuck on · judge · confirm · review"))
235
- p.add_argument("action", choices=["add", "note", "judge", "confirm", "review"])
240
+ p = add(
241
+ "retro", cmd_retro, msg("AI retro: add rows of a finished loop · note what the AI got stuck on · judge · confirm · review · show")
242
+ )
243
+ p.add_argument("action", choices=["add", "note", "judge", "confirm", "review", "show"])
236
244
  p.add_argument("args", nargs="*")
237
245
  p.add_argument("--stuck", help=msg("note: what the AI got stuck on, one line"))
238
246
  p.add_argument("--solved", help=msg("note: how it got past it, one line"))
@@ -1,19 +1,24 @@
1
- """The AI retro: one line for each criterion (or check) that did not pass on the first try of a loop, and for what the AI got stuck on.
1
+ """The AI retro: one entry per criterion or check that failed its first try, and for what the AI got stuck on.
2
2
 
3
- The facts of a line (time · work · tries · result · run) are written by code from the run log when a loop ends. The
4
- judgment (weakness · remedy · hypothesis · suggestion) is filled by the AI through `lantern retro judge`, which only
5
- accepts the values in enums.yaml, and a person confirms it. The file is one per month: `4. 운영 기록/AI 회고/YYYY-MM.md`.
3
+ The facts of an entry (time · work · tries · result · run, plus a `detail` sub-bullet of what failed or was flagged) are
4
+ written by code from the run log when a loop or review ends. The judgment (`judgment` sub-bullet: weakness · remedy ·
5
+ hypothesis · suggestion) is filled by the AI through `lantern retro judge`, which only accepts the values in enums.yaml,
6
+ and a person confirms it. The file is one per month: `4. 운영 기록/AI 회고/YYYY-MM.md`.
6
7
 
7
- - 09:31 W-012 AC-2 [시도:: 3] [결과:: 통과] [약점:: 명세] [보완:: LanternSpec] [실행:: a1b2c3d4] 가설: … / 제안: … [확인:: ✅]
8
+ - **09:31 W-012** (로그인) · AC-2 [시도:: 3] [결과:: 통과] [실행:: a1b2c3d4]
9
+ - **내용:** tests/test_login.py::test_expired: AssertionError: 500 != 401
10
+ - **판단:** [약점:: 명세] [보완:: LanternSpec] 가설: … / 제안: … [확인:: ✅]
8
11
 
9
- A stuck line is the AI's own note (`lantern retro note`), in any way of building: nothing measured it, so it has no tries or result.
12
+ A stuck entry is the AI's own note (`lantern retro note`), in any way of building: nothing measured it, so it has no tries or result.
10
13
 
11
- - 18:59 W-005 [막힘:: 자동 커밋 연결이 아니면 멈춘다] [할 일:: W-005-T02] [해결:: isolation_level=None] [실행:: n-1a2b3c4d]
14
+ - **18:59 W-005** (DB) · [막힘:: 자동 커밋 연결이 아니면 멈춘다] [할 일:: W-005-T02] [해결:: isolation_level=None] [실행:: n-1a2b3c4d]
15
+
16
+ Legacy single-line rows written by earlier versions are still parsed cleanly.
12
17
 
13
18
  Responsibilities:
14
- - work out the rows of a finished loop from its run-log lines (a pure function)
15
- - read and write the monthly file: rows under a date heading, and the summary section
16
- - write a line for what the AI got stuck on
19
+ - work out the rows of a finished loop or review from its run-log lines (pure functions)
20
+ - read and write the monthly file: entries under a date heading, and the summary section
21
+ - write an entry for what the AI got stuck on
17
22
  - judge · confirm a row, list the unconfirmed rows
18
23
  - find the values and fields of a row that the lists and names do not know
19
24
 
@@ -38,16 +43,20 @@ from ..core.project import Project, now_iso, read, write
38
43
  from ..core.taskfile import ATTR, find_task, parse_tasks
39
44
  from ..work.scaffold import create_from_template
40
45
 
41
- ROW = re.compile(r"^- (\d{2}:\d{2}) (W-\d{3,}) (.*)$")
46
+ ROW = re.compile(r"^- (?:\*\*)?(\d{2}:\d{2}) (W-\d{3,})(?:\*\*)?(?:\s+\(([^)]+)\))?(?:\s+·)?\s+(.*)$")
47
+ SUB = re.compile(r"^\s{2,}-\s+(.*)$")
48
+ SUB_LABEL = re.compile(r"^(?:\*\*([^:*]+):\*\*|([^:\[\]]+):)\s*(.*)$")
42
49
  DAY = re.compile(r"^## (\d{4}-\d{2}-\d{2})\s*$")
43
50
  TARGET = re.compile(r"^(W-\d{3,})(-T\d{2,})?$")
44
51
  MONTH_FILE = re.compile(r"^\d{4}-\d{2}\.md$")
45
52
  CONFIRMED = "✅"
53
+ DETAIL_LIMIT = 160
54
+ NON_INLINE_ROLES = ("hypothesis", "suggestion", "detail", "judgment")
46
55
 
47
56
 
48
57
  @dataclass
49
58
  class Row:
50
- """One retro line.
59
+ """One retro entry.
51
60
 
52
61
  Attributes:
53
62
  date: The day it is under, "2026-11-20".
@@ -65,10 +74,13 @@ class Row:
65
74
  suggestion: Judgment: what to change, one line.
66
75
  confirmed: Whether a person confirmed the judgment.
67
76
  other: Fields on the line that this module does not know, kept as written.
68
- line: The 0-based line in the file; -1 for a row not in a file yet.
77
+ line: The 0-based start line in the file; -1 for a row not in a file yet.
69
78
  stuck: What the AI got stuck on; "" when the line is not a stuck line.
70
79
  solved: How it got past it; "" when it did not, or not yet.
71
80
  task: The task it got stuck in ("W-005-T02"); "" when only the work is known.
81
+ title: The work's short title (from its folder name), e.g. "로그인"; "" when unknown.
82
+ detail: Fact summary of what failed or was flagged, one line; "" when none.
83
+ end_line: The 0-based exclusive end line in the file; -1 when not in a file yet.
72
84
 
73
85
  Example:
74
86
  >>> Row("2026-11-20", "09:31", "W-012", "AC-2", False, 3, "통과", "a1b2").confirmed
@@ -93,6 +105,9 @@ class Row:
93
105
  stuck: str = ""
94
106
  solved: str = ""
95
107
  task: str = ""
108
+ title: str = ""
109
+ detail: str = ""
110
+ end_line: int = -1
96
111
 
97
112
  @property
98
113
  def judged(self) -> bool:
@@ -108,6 +123,51 @@ def _clean(text: str, names: Names) -> str:
108
123
  return re.sub(r"\s+", " ", text).strip()
109
124
 
110
125
 
126
+ def _clean_detail(text: str) -> str:
127
+ """One short line for a factual detail sub-bullet."""
128
+ one = re.sub(r"\s+", " ", text).strip()
129
+ return one if len(one) <= DETAIL_LIMIT else one[: DETAIL_LIMIT - 1].rstrip() + "…"
130
+
131
+
132
+ def _work_title(project: Project, work_id: str) -> str:
133
+ """Short title of a work from its folder name (`W-012 로그인` → `로그인`), safe inside parentheses."""
134
+ folder = project.find_work(work_id)
135
+ if folder is None:
136
+ return ""
137
+ title = folder.name.removeprefix(work_id).strip()
138
+ return re.sub(r"\s+", " ", title.replace("(", " ").replace(")", " ")).strip()
139
+
140
+
141
+ def _suite_detail(start: dict[str, Any], end: dict[str, Any]) -> str:
142
+ """One-line fact summary for a failed whole-suite round."""
143
+ parts: list[str] = []
144
+ cmd = str((start.get("settings") or {}).get("test") or "").strip()
145
+ if cmd:
146
+ parts.append(cmd)
147
+ unpassed = [str(x) for x in (end.get("unpassed") or []) if x]
148
+ if unpassed:
149
+ parts.append(msg("unpassed {acs}", acs=", ".join(unpassed)))
150
+ if code := end.get("exit"):
151
+ parts.append(msg("exit code {code}", code=code))
152
+ return _clean_detail(" · ".join(parts))
153
+
154
+
155
+ def _invalid_detail(end: dict[str, Any]) -> str:
156
+ """One-line fact summary for an invalid-pass round."""
157
+ parts: list[str] = []
158
+ for v in end.get("violations") or []:
159
+ kind, path = str(v.get("kind") or ""), str(v.get("path") or "")
160
+ if kind == "test":
161
+ parts.append(msg("test file changed: {path}", path=path))
162
+ elif kind == "config":
163
+ parts.append(msg("test config changed: {path}", path=path))
164
+ elif kind == "count":
165
+ parts.append(msg("test count dropped: {path}", path=path))
166
+ elif path or kind:
167
+ parts.append(f"{kind}: {path}".strip(": "))
168
+ return _clean_detail(" · ".join(parts))
169
+
170
+
111
171
  def rows_from_run(lines: list[dict[str, Any]], enums: Enums) -> list[Row]:
112
172
  """Work out the retro rows of a loop run from its run-log lines.
113
173
 
@@ -149,13 +209,28 @@ def rows_from_run(lines: list[dict[str, Any]], enums: Enums) -> list[Row]:
149
209
  done = tries[-1]["result"] == PASS
150
210
  if tries[0]["result"] == PASS and done:
151
211
  continue # passed at once and stayed passed: nothing to look back on
152
- rows.append(Row(date, str(tries[0].get("at") or "")[11:16], work, ac, False, len(tries), passed if done else stopped_, run))
212
+ failed = next((str(t.get("failed_check") or "") for t in reversed(tries) if t.get("failed_check")), "")
213
+ rows.append(
214
+ Row(
215
+ date,
216
+ str(tries[0].get("at") or "")[11:16],
217
+ work,
218
+ ac,
219
+ False,
220
+ len(tries),
221
+ passed if done else stopped_,
222
+ run,
223
+ detail=_clean_detail(failed),
224
+ )
225
+ )
153
226
  for kind, result in (("suite", FAILED), ("invalid", INVALID)):
154
227
  bad = [i for i, e in enumerate(ends) if e.get("result") == result and (result == INVALID or e.get("exit"))]
155
228
  if not bad:
156
229
  continue
157
230
  later_pass = any(e.get("result") == PASSED for e in ends[bad[-1] + 1 :]) # the order of the rounds, not their clock
158
231
  tries = len(bad) + (1 if later_pass else 0) # like a criterion: the try that passed is a try too
232
+ last_bad = ends[bad[-1]]
233
+ detail = _suite_detail(lines[0], last_bad) if kind == "suite" else _invalid_detail(last_bad)
159
234
  rows.append(
160
235
  Row(
161
236
  date,
@@ -166,13 +241,14 @@ def rows_from_run(lines: list[dict[str, Any]], enums: Enums) -> list[Row]:
166
241
  tries,
167
242
  passed if later_pass else stopped_,
168
243
  run,
244
+ detail=detail,
169
245
  )
170
246
  )
171
247
  return rows
172
248
 
173
249
 
174
250
  def rows_from_review(rounds: list[Any], work: str, ended: bool, enums: Enums) -> list[Row]:
175
- """Work out the retro row of a work's review: one `[검증:: 검토]` row when a round found issues and the review is over.
251
+ """Work out the retro row of a work's review: one `[검증:: 구현 검토]` row when a round found issues and the review is over.
176
252
 
177
253
  Args:
178
254
  rounds: The review rounds (`work.review.Round`), oldest first.
@@ -181,8 +257,8 @@ def rows_from_review(rounds: list[Any], work: str, ended: bool, enums: Enums) ->
181
257
  enums: The project's lists (the result and check names).
182
258
 
183
259
  Returns:
184
- The row, with the number of rounds as its tries and "통과" when the last round was clean, else "중단";
185
- empty when the review is not over or no round found an issue.
260
+ The row, with the number of rounds as its tries, the last round with issues summarized in `detail`,
261
+ and "통과" when the last round was clean, else "중단"; empty when the review is not over or no round found an issue.
186
262
 
187
263
  Example:
188
264
  >>> from lanternspec.core.enums import load
@@ -190,12 +266,18 @@ def rows_from_review(rounds: list[Any], work: str, ended: bool, enums: Enums) ->
190
266
  >>> found = Round(1, "2026-11-20T09:00:00+09:00", "m", 5, 2, 0, ["x"], "r1", "hook")
191
267
  >>> clean = Round(2, "2026-11-20T09:30:00+09:00", "m", 5, 0, 0, [], "r1", "hook")
192
268
  >>> done = [found, clean]
193
- >>> [(r.key, r.tries, r.result) for r in rows_from_review(done, "W-1", True, load())]
194
- [('검토', 2, '통과')]
269
+ >>> [(r.key, r.tries, r.result, r.detail) for r in rows_from_review(done, "W-1", True, load())]
270
+ [('구현 검토', 2, '통과', 'x')]
195
271
  """
196
272
  first = next((r for r in rounds if r.issues), None)
197
273
  if not ended or first is None:
198
274
  return []
275
+ last_bad = next(r for r in reversed(rounds) if r.issues)
276
+ issues = [str(x).strip() for x in (last_bad.issue_list or []) if str(x).strip()]
277
+ detail = ""
278
+ if issues:
279
+ head = _clean_detail(issues[0])
280
+ detail = msg("{first} (+{more} more)", first=head, more=len(issues) - 1) if len(issues) > 1 else head
199
281
  result = "passed" if not rounds[-1].issues else "stopped"
200
282
  return [
201
283
  Row(
@@ -207,6 +289,7 @@ def rows_from_review(rounds: list[Any], work: str, ended: bool, enums: Enums) ->
207
289
  len(rounds),
208
290
  enums.value("retro_result", result),
209
291
  first.run,
292
+ detail=detail,
210
293
  )
211
294
  ]
212
295
 
@@ -215,16 +298,16 @@ def rows_from_review(rounds: list[Any], work: str, ended: bool, enums: Enums) ->
215
298
 
216
299
 
217
300
  def parse_row(line: str, date: str, names: Names, line_no: int = -1) -> Row | None:
218
- """Read one retro line.
301
+ """Read one retro entry (a single legacy line or a header line with indented sub-bullets).
219
302
 
220
303
  Args:
221
- line: A line of the file.
304
+ line: One retro entry (single line or multi-line block joined by newlines).
222
305
  date: The day heading it is under.
223
306
  names: The project's names (the field names).
224
- line_no: Its 0-based line in the file.
307
+ line_no: Its 0-based start line in the file.
225
308
 
226
309
  Returns:
227
- The row; None when the line is not a row.
310
+ The row; None when the header line is not a row.
228
311
 
229
312
  Example:
230
313
  >>> from lanternspec.core.names import load
@@ -233,22 +316,46 @@ def parse_row(line: str, date: str, names: Names, line_no: int = -1) -> Row | No
233
316
  >>> (row.key, row.tries, row.result, row.hypothesis, row.suggestion)
234
317
  ('AC-2', 3, '통과', '문구가 없었다', '칸을 더한다')
235
318
  """
236
- m = ROW.match(line)
319
+ block = line.split("\n")
320
+ m = ROW.match(block[0])
237
321
  if not m:
238
322
  return None
239
- rest = m.group(3)
323
+ title = (m.group(3) or "").strip()
324
+ rest = m.group(4)
240
325
  key = ""
241
- if ac := re.match(r"(AC-\d+)\s+(.*)$", rest):
326
+ if ac := re.match(r"(AC-\d+)(?:\s+·)?\s+(.*)$", rest):
242
327
  key, rest = ac.group(1), ac.group(2)
243
328
  fields: dict[str, str] = {}
244
329
  other: list[str] = []
245
- for name, value in ATTR.findall(rest):
246
- role = names.retro_attr_role(name.strip())
247
- if role in names.table["retro_attrs"] and role not in ("hypothesis", "suggestion"):
248
- fields[role] = value.strip()
249
- else:
250
- other.append(f"[{name.strip()}:: {value.strip()}]")
251
- text = ATTR.sub("", rest).strip()
330
+
331
+ def _collect(chunk: str) -> str:
332
+ for name, value in ATTR.findall(chunk):
333
+ role = names.retro_attr_role(name.strip())
334
+ if role in names.table["retro_attrs"] and role not in NON_INLINE_ROLES:
335
+ fields[role] = value.strip()
336
+ else:
337
+ other.append(f"[{name.strip()}:: {value.strip()}]")
338
+ return ATTR.sub("", chunk).strip()
339
+
340
+ text_parts = [_collect(rest)]
341
+ detail = ""
342
+ for sub in block[1:]:
343
+ sm = SUB.match(sub)
344
+ if not sm:
345
+ continue
346
+ body = sm.group(1).strip()
347
+ if lm := SUB_LABEL.match(body):
348
+ label = (lm.group(1) or lm.group(2) or "").strip()
349
+ sub_body = lm.group(3).strip()
350
+ if names.retro_attr_role(label) == "detail":
351
+ detail = sub_body
352
+ continue
353
+ if names.retro_attr_role(label) == "judgment":
354
+ text_parts.append(_collect(sub_body))
355
+ continue
356
+ text_parts.append(_collect(body))
357
+
358
+ text = " ".join(p for p in text_parts if p)
252
359
  hyp, sug = re.escape(names.retro_attr("hypothesis")), re.escape(names.retro_attr("suggestion"))
253
360
  h = re.search(rf"{hyp}:\s*(.*?)\s*(?:/\s*{sug}:|$)", text)
254
361
  s = re.search(rf"{sug}:\s*(.*)$", text)
@@ -274,48 +381,59 @@ def parse_row(line: str, date: str, names: Names, line_no: int = -1) -> Row | No
274
381
  confirmed=fields.get("confirmed", "") == CONFIRMED,
275
382
  other=other,
276
383
  line=line_no,
384
+ title=title,
385
+ detail=detail,
386
+ end_line=line_no + len(block) if line_no >= 0 else -1,
277
387
  )
278
388
 
279
389
 
280
390
  def render_row(row: Row, names: Names) -> str:
281
- """Write one retro line.
391
+ r"""Write one retro entry as a header line with optional `detail` and `judgment` sub-bullets.
282
392
 
283
393
  Args:
284
394
  row: The row.
285
395
  names: The project's names (the field names).
286
396
 
287
397
  Returns:
288
- The line, in the order the facts, the judgment fields, the run, then the free text and the confirmation.
398
+ The rendered entry (1 to 3 lines joined by newlines).
289
399
 
290
400
  Example:
291
401
  >>> from lanternspec.core.names import load
292
402
  >>> render_row(Row("2026-11-20", "09:31", "W-012", "AC-2", False, 3, "통과", "a1b2"), load("ko"))
293
- '- 09:31 W-012 AC-2 [시도:: 3] [결과:: 통과] [실행:: a1b2]'
403
+ '- **09:31 W-012** · AC-2 [시도:: 3] [결과:: 통과] [실행:: a1b2]'
294
404
  """
295
405
  a = names.retro_attr
406
+ head = f"- **{row.time} {row.work}**"
407
+ if row.title:
408
+ head += f" ({row.title})"
296
409
  if row.stuck:
297
410
  fields = (("stuck", row.stuck), ("task", row.task), ("solved", row.solved))
298
- parts = [f"- {row.time} {row.work}", *(f"[{a(role)}:: {value}]" for role, value in fields if value)]
411
+ body = [f"[{a(role)}:: {value}]" for role, value in fields if value]
299
412
  else:
300
- parts = [f"- {row.time} {row.work}", f"[{a('check')}:: {row.key}]" if row.is_check else row.key]
301
- parts += [f"[{a('tries')}:: {row.tries}]", f"[{a('result')}:: {row.result}]"]
413
+ body = [f"[{a('check')}:: {row.key}]" if row.is_check else row.key]
414
+ body += [f"[{a('tries')}:: {row.tries}]", f"[{a('result')}:: {row.result}]"]
415
+ body.append(f"[{a('run')}:: {row.run}]")
416
+ body += row.other
417
+ lines = [f"{head} · {' '.join(body)}"]
418
+ if row.detail:
419
+ lines.append(f" - **{a('detail')}:** {row.detail}")
420
+ j_parts: list[str] = []
302
421
  if row.weakness:
303
- parts.append(f"[{a('weakness')}:: {row.weakness}]")
422
+ j_parts.append(f"[{a('weakness')}:: {row.weakness}]")
304
423
  if row.remedy:
305
- parts.append(f"[{a('remedy')}:: {row.remedy}]")
306
- parts.append(f"[{a('run')}:: {row.run}]")
307
- parts += row.other
308
- text = " ".join(parts)
424
+ j_parts.append(f"[{a('remedy')}:: {row.remedy}]")
309
425
  said = [f"{a(label)}: {value}" for label, value in (("hypothesis", row.hypothesis), ("suggestion", row.suggestion)) if value]
310
426
  if said:
311
- text += " " + " / ".join(said)
427
+ j_parts.append(" / ".join(said))
312
428
  if row.confirmed:
313
- text += f" [{a('confirmed')}:: {CONFIRMED}]"
314
- return text
429
+ j_parts.append(f"[{a('confirmed')}:: {CONFIRMED}]")
430
+ if j_parts:
431
+ lines.append(f" - **{a('judgment')}:** {' '.join(j_parts)}")
432
+ return "\n".join(lines)
315
433
 
316
434
 
317
435
  def parse(text: str, names: Names) -> list[Row]:
318
- r"""Read every row of a monthly file, each with the day heading it is under.
436
+ r"""Read every row of a monthly file, each with the day heading it is under and any indented sub-bullets.
319
437
 
320
438
  Args:
321
439
  text: The whole file.
@@ -329,12 +447,24 @@ def parse(text: str, names: Names) -> list[Row]:
329
447
  >>> parse("## 2026-11-20\n- 09:31 W-012 AC-2 [시도:: 3] [결과:: 통과] [실행:: a1b2]\n", load("ko"))[0].date
330
448
  '2026-11-20'
331
449
  """
332
- rows, date = [], ""
333
- for i, line in enumerate(text.split("\n")):
334
- if day := DAY.match(line):
450
+ rows: list[Row] = []
451
+ date = ""
452
+ lines = text.split("\n")
453
+ i = 0
454
+ while i < len(lines):
455
+ if day := DAY.match(lines[i]):
335
456
  date = day.group(1)
336
- elif row := parse_row(line, date, names, i):
337
- rows.append(row)
457
+ i += 1
458
+ continue
459
+ if ROW.match(lines[i]):
460
+ j = i + 1
461
+ while j < len(lines) and SUB.match(lines[j]):
462
+ j += 1
463
+ if row := parse_row("\n".join(lines[i:j]), date, names, i):
464
+ rows.append(row)
465
+ i = j
466
+ continue
467
+ i += 1
338
468
  return rows
339
469
 
340
470
 
@@ -454,6 +584,10 @@ def record(project: Project, work_id: str) -> list[Row]:
454
584
  raise ValueError(msg("The run log has no loop or review for {work_id}", work_id=work_id))
455
585
  over = standing(project, work_id) in ("clean", "limit")
456
586
  rows = (rows_from_run(lines, project.enums) if lines else []) + rows_from_review(reviewed, work_id, over, project.enums)
587
+ title = _work_title(project, work_id)
588
+ for row in rows:
589
+ if not row.title:
590
+ row.title = title
457
591
  have = {(r.run, r.key) for _, r in all_rows(project)}
458
592
  added = [r for r in rows if (r.run, r.key) not in have]
459
593
  for row in added:
@@ -507,6 +641,7 @@ def note(project: Project, target: str, stuck: str, solved: str = "") -> Row:
507
641
  stuck=said,
508
642
  solved=_clean(solved, project.names),
509
643
  task=task,
644
+ title=_work_title(project, work),
510
645
  )
511
646
  _append(project, row)
512
647
  return row
@@ -534,7 +669,8 @@ def _find(project: Project, run: str, key: str) -> tuple[Path, Row]:
534
669
 
535
670
  def _save(project: Project, path: Path, row: Row) -> None:
536
671
  lines = read(path).split("\n")
537
- lines[row.line] = render_row(row, project.names)
672
+ end = row.end_line if row.end_line > row.line else row.line + 1
673
+ lines[row.line : end] = render_row(row, project.names).split("\n")
538
674
  write(path, "\n".join(lines))
539
675
  _rewrite_summary(project, path)
540
676
 
@@ -637,6 +773,84 @@ def review(project: Project) -> list[tuple[Path, Row]]:
637
773
  return [(p, r) for p, r in pairs if not r.confirmed]
638
774
 
639
775
 
776
+ def format_run(run: str, entries: list[dict[str, Any]], rows: list[Row], names: Names) -> str:
777
+ """Format the retro entries and full run-log timeline of one run ID for terminal reading.
778
+
779
+ Args:
780
+ run: The run ID (e.g. "c3431108").
781
+ entries: Run-log records whose `run` equals `run`, in order.
782
+ rows: AI retro rows whose `run` equals `run`.
783
+ names: The project's names.
784
+
785
+ Returns:
786
+ Multi-line human-readable summary of the retro rows and raw run-log events.
787
+
788
+ Example:
789
+ >>> from lanternspec.core.names import load
790
+ >>> ev = [{"kind": "review", "at": "2026-12-02T00:13:00+09:00", "round": 1, "items": 3, "issues": 1, "issue_list": ["R2 — bad"]}]
791
+ >>> "R2 — bad" in format_run("c3431108", ev, [], load("ko"))
792
+ True
793
+ """
794
+ out: list[str] = []
795
+ if rows:
796
+ out.append(msg("AI retro:"))
797
+ for row in rows:
798
+ out.append(f" {row.date} {render_row(row, names)}")
799
+ if entries:
800
+ if out:
801
+ out.append("")
802
+ out.append(msg("Run log ({count} entries):", count=len(entries)))
803
+ start = next((e for e in entries if e.get("kind") == "loop" and e.get("event") == "start"), {})
804
+ for e in entries:
805
+ at = str(e.get("at") or "")[11:16] or "--:--"
806
+ kind = e.get("kind")
807
+ if kind == "loop" and e.get("event") == "start":
808
+ cmd = str((e.get("settings") or {}).get("test") or "").strip()
809
+ out.append(f" · {at} {msg('loop start')}" + (f" ({cmd})" if cmd else ""))
810
+ elif kind == "attempt":
811
+ ac, n, res = e.get("ac", ""), e.get("attempt", 0), e.get("result", "")
812
+ failed = str(e.get("failed_check") or "").strip()
813
+ out.append(f" · {at} {ac} #{n}: {res}" + (f" — {failed}" if failed else ""))
814
+ elif kind == "loop" and e.get("event") == "end":
815
+ n, res = e.get("round", 0), e.get("result", "")
816
+ extra = _invalid_detail(e) if e.get("violations") else _suite_detail(start, e) if res != "passed" else ""
817
+ out.append(f" · {at} {msg('round {n}: {result}', n=n, result=res)}" + (f" — {extra}" if extra else ""))
818
+ elif kind == "review":
819
+ n, issues, items = e.get("round", 0), e.get("issues", 0), e.get("items", 0)
820
+ who = " / ".join(x for x in (str(e.get("tool") or ""), str(e.get("model") or "")) if x)
821
+ head = msg("review round {n}: {issues} issues / {items} items", n=n, issues=issues, items=items)
822
+ out.append(f" · {at} {head}" + (f" [{who}]" if who else ""))
823
+ for item in e.get("issue_list") or []:
824
+ out.append(f" - {item}")
825
+ return "\n".join(out) if out else run
826
+
827
+
828
+ def show(project: Project, run: str) -> str:
829
+ """Show the retro entries and full run-log details for one run ID.
830
+
831
+ Args:
832
+ project: The project.
833
+ run: The run ID (e.g. "c3431108" or "n-1a2b3c4d").
834
+
835
+ Returns:
836
+ Formatted text with the retro entries and every matching run-log event.
837
+
838
+ Raises:
839
+ ValueError: No retro entry or run-log record matches `run`.
840
+
841
+ Example:
842
+ >>> show(project, "c3431108") # doctest: +SKIP
843
+ 'AI 회고: ...'
844
+ """
845
+ from .evaluate import load_runs
846
+
847
+ rows = [row for _, row in all_rows(project) if row.run == run]
848
+ entries = [e for e in load_runs(project) if e.get("run") == run]
849
+ if not rows and not entries:
850
+ raise ValueError(msg("No retro or run-log entries for run {run}", run=run))
851
+ return format_run(run, entries, rows, project.names)
852
+
853
+
640
854
  def problems(project: Project, text: str) -> list[tuple[int, str, str]]:
641
855
  """Find what a monthly file holds that the names and lists do not know.
642
856
 
@@ -140,8 +140,8 @@ Only a work for which `lantern loop start W-012` printed `✔` loops (step 6 of
140
140
  2. When every task is done, run `lantern loop finish W-012`. It prints `✔` only when the latest try of every AC passed, the whole suite (<!-- lantern:if build.test -->`<<build.test>>`<!-- lantern:endif -->) passed, the linked tests and settings files are unchanged and no fewer tests ran than before.
141
141
  - `✔` → step 4.
142
142
  - `✖` → add a task to fix each AC that did not pass (`lantern task add W-012 "<make AC-n pass>" --size <<size.s>> --ac AC-n`), go back to building, and run this section again. Write in `<<file.record>>`: "big loop round n: failing ACs · the cause in one line", and end the line with `[<<retro.run>>:: run ID]` (`lantern loop start W-012` prints the run ID).
143
- - On `⛔` (invalid) or "the round limit", stop and report (what was done · remaining failures · what needs choosing). Invalid means a test changed or fewer tests ran: say what was printed, as it was.
144
- 3. **Retro:** when the loop ends (`✔` · `⛔` · the limit), run `lantern retro add W-012`. For each acceptance criterion (or check) that did not pass on the first try, lantern has already written the retro row — don't edit the fact fields (time · work · tries · result · run). When the command shows rows to judge, fill the judgment fields row by row with `lantern retro judge <run ID> <AC-n or check> --weakness <<retro_weakness.spec>> --remedy <<retro_remedy.lanternspec>> --hypothesis "one line"`.
143
+ - On `⛔` (invalid) or "the round limit", **finish the retro in step 3 first**, then stop and report (what was done · remaining failures · what needs choosing). Invalid means a test changed or fewer tests ran: say what was printed, as it was.
144
+ 3. **Retro:** when the loop ends (`✔` · `⛔` · the limit), run `lantern retro add W-012`. For each acceptance criterion (or check) that did not pass on the first try, lantern has already written the retro entry — don't edit the header line (time · work · tries · result · run) or its `<<retro.detail>>` sub-bullet. When the command shows rows to judge, fill the judgment fields row by row with `lantern retro judge <run ID> <AC-n or check> --weakness <<retro_weakness.spec>> --remedy <<retro_remedy.lanternspec>> --hypothesis "one line"`.
145
145
  - Pick the weakness and the remedy only from the lists the command shows (a value outside them is refused). Write the hypothesis in one line from **facts you checked**, and say so when it is a guess. Don't invent versions or causes. The suggestion (`--suggestion`) is optional.
146
146
  - Confirmation (`[<<retro.confirmed>>:: ✅]`) is a person's, once a week with `lantern retro review`. You don't confirm.
147
147
  <!-- lantern:endif -->
@@ -169,8 +169,8 @@ When the acceptance-criteria tests all pass (for the automatic loop, when the lo
169
169
  - Nothing left → step 4.
170
170
  - If it says the pack was made and it is waiting for the answer, the reviewer's answer did not fit the form or could not be recorded. Call the reviewer **once more** with the same pack and have it answer every item in the form. If it still isn't recorded, stop and hand it to the person. **You don't record the verdict yourself (`lantern review record W-012 --file <answer file>` is only for cases that hand you the reviewer's answer in a file)**<!-- lantern:if review_subagent --> (in Claude Code a hook records it; a round recorded by hand shows as a ⚠ at archive)<!-- lantern:endif -->.
171
171
  - Issues left → fix each (following its ground `file:line`). Don't weaken a test. After fixing, run the tests again (for the automatic loop, `lantern loop finish W-012`) and go back to 1 for another review.
172
- - If it says no round is left, stop and report the remaining issues to the person as they are (what was done · the issues left · what needs choosing).
173
- 3. When there were issues, a `[<<retro.check>>:: <<retro_check.review>>]` row is added to the AI retro by itself. Fill its judgment fields with `lantern retro add W-012`, as for the loop (when the review itself was wrong, record the weakness `<<retro_weakness.verification>>`).
172
+ - If it says no round is left, **finish the retro judgment in step 3 first**, then stop and report the remaining issues to the person as they are (what was done · the issues left · what needs choosing).
173
+ 3. When there were issues (whether it ended clean or stopped at the limit), a `[<<retro.check>>:: <<retro_check.review>>]` entry is added to the AI retro by itself. Run `lantern retro add W-012` to see the run ID and allowed lists, then fill its judgment with `lantern retro judge <run ID> review --weakness <<retro_weakness.verification>> --remedy <<retro_remedy.harness_config>> --hypothesis "one line"` (when the review itself was wrong, record the weakness `<<retro_weakness.verification>>`; a person confirms it).
174
174
  <!-- lantern:endif -->
175
175
 
176
176
  ## 4. When everything is done — apply to the current state