waymark-cli 0.3.0__tar.gz → 0.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/CHANGELOG.md +45 -0
  2. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/PKG-INFO +1 -1
  3. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/docs/architecture.md +21 -7
  4. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/docs/cli.md +12 -2
  5. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/docs/getting-started.md +28 -7
  6. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/docs/record.md +6 -0
  7. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/docs/smoke-test.md +15 -1
  8. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/__init__.py +1 -1
  9. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/adapters/__init__.py +8 -0
  10. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/adapters/claude_code.py +4 -0
  11. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/cli.py +61 -3
  12. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/hooks/decide.py +8 -8
  13. waymark_cli-0.4.0/src/waymark/record/artifacts/__init__.py +1 -0
  14. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/artifacts}/changes.py +9 -9
  15. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/artifacts}/charter.py +3 -3
  16. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/artifacts}/config.py +1 -1
  17. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/artifacts}/deltas.py +9 -9
  18. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/artifacts}/design.py +3 -3
  19. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/artifacts}/explorations.py +3 -3
  20. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/artifacts}/milestones.py +5 -5
  21. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/artifacts}/proposal.py +3 -3
  22. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/artifacts}/resources.py +9 -3
  23. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/artifacts}/specs.py +3 -3
  24. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/artifacts}/tasks.py +5 -5
  25. waymark_cli-0.4.0/src/waymark/record/evidence/__init__.py +1 -0
  26. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/evidence}/agents.py +1 -1
  27. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/evidence}/evidence.py +5 -5
  28. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/evidence}/fingerprint.py +5 -5
  29. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/evidence}/records.py +45 -2
  30. waymark_cli-0.4.0/src/waymark/record/machine/__init__.py +1 -0
  31. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/machine}/atlas.py +4 -4
  32. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/machine}/branches.py +2 -2
  33. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/machine}/files.py +2 -2
  34. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/machine}/pointer.py +1 -1
  35. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/machine}/project.py +4 -4
  36. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/machine}/registry.py +2 -2
  37. waymark_cli-0.4.0/src/waymark/record/markdown/__init__.py +1 -0
  38. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/markdown}/links.py +2 -2
  39. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/markdown}/outline.py +2 -2
  40. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/record/record.py +13 -13
  41. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/record/state.py +14 -8
  42. waymark_cli-0.4.0/src/waymark/record/writing/__init__.py +1 -0
  43. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/writing}/edits.py +3 -3
  44. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/writing}/ignore.py +1 -1
  45. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/writing}/layout.py +2 -2
  46. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/writing}/moves.py +4 -4
  47. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/writing}/store.py +1 -1
  48. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/writing}/templates.py +1 -1
  49. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/services/atlas.py +14 -8
  50. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/services/check.py +5 -5
  51. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/services/ci.py +3 -3
  52. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/services/common.py +7 -7
  53. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/services/context.py +8 -8
  54. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/services/doctor.py +17 -6
  55. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/services/fix.py +11 -11
  56. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/services/instructions.py +11 -5
  57. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/services/integration.py +5 -4
  58. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/services/lifecycle.py +43 -17
  59. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/services/pr.py +6 -6
  60. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/services/references.py +4 -4
  61. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/services/roadmap.py +5 -5
  62. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/services/setup.py +48 -21
  63. waymark_cli-0.4.0/src/waymark/views/init_flow.py +128 -0
  64. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/views/payloads.py +12 -12
  65. waymark_cli-0.4.0/src/waymark/views/prompts.py +229 -0
  66. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/views/render.py +137 -86
  67. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/views/schemas.py +1 -1
  68. waymark_cli-0.4.0/src/waymark/views/style.py +186 -0
  69. waymark_cli-0.4.0/src/waymark/views/terminal.py +256 -0
  70. waymark_cli-0.4.0/src/waymark/views/welcome.py +205 -0
  71. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/adapters/test_integration.py +1 -1
  72. waymark_cli-0.4.0/tests/record/artifacts/__init__.py +0 -0
  73. {waymark_cli-0.3.0/tests/record → waymark_cli-0.4.0/tests/record/artifacts}/test_config.py +1 -1
  74. {waymark_cli-0.3.0/tests/record → waymark_cli-0.4.0/tests/record/artifacts}/test_deltas.py +2 -2
  75. {waymark_cli-0.3.0/tests/record → waymark_cli-0.4.0/tests/record/artifacts}/test_resources.py +3 -3
  76. {waymark_cli-0.3.0/tests/record → waymark_cli-0.4.0/tests/record/artifacts}/test_specs.py +1 -1
  77. {waymark_cli-0.3.0/tests/record → waymark_cli-0.4.0/tests/record/artifacts}/test_tasks.py +1 -1
  78. waymark_cli-0.4.0/tests/record/evidence/__init__.py +0 -0
  79. {waymark_cli-0.3.0/tests/record → waymark_cli-0.4.0/tests/record/evidence}/test_agents.py +1 -1
  80. {waymark_cli-0.3.0/tests/record → waymark_cli-0.4.0/tests/record/evidence}/test_commits.py +1 -1
  81. {waymark_cli-0.3.0/tests/record → waymark_cli-0.4.0/tests/record/evidence}/test_evidence.py +1 -1
  82. {waymark_cli-0.3.0/tests/record → waymark_cli-0.4.0/tests/record/evidence}/test_fingerprint.py +2 -2
  83. {waymark_cli-0.3.0/tests/record → waymark_cli-0.4.0/tests/record/evidence}/test_records.py +1 -1
  84. waymark_cli-0.4.0/tests/record/machine/__init__.py +0 -0
  85. {waymark_cli-0.3.0/tests/record → waymark_cli-0.4.0/tests/record/machine}/test_atlas.py +5 -5
  86. {waymark_cli-0.3.0/tests/record → waymark_cli-0.4.0/tests/record/machine}/test_branches.py +2 -2
  87. {waymark_cli-0.3.0/tests/record → waymark_cli-0.4.0/tests/record/machine}/test_git.py +7 -1
  88. {waymark_cli-0.3.0/tests/record → waymark_cli-0.4.0/tests/record/machine}/test_project.py +2 -2
  89. {waymark_cli-0.3.0/tests/record → waymark_cli-0.4.0/tests/record/machine}/test_registry.py +1 -1
  90. waymark_cli-0.4.0/tests/record/markdown/__init__.py +0 -0
  91. {waymark_cli-0.3.0/tests/record → waymark_cli-0.4.0/tests/record/markdown}/test_links.py +1 -1
  92. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/record/test_artifacts.py +6 -6
  93. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/record/test_authored_formats.py +5 -5
  94. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/record/test_platforms.py +2 -2
  95. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/record/test_tasks_records.py +3 -3
  96. waymark_cli-0.4.0/tests/record/writing/__init__.py +0 -0
  97. {waymark_cli-0.3.0/tests/record → waymark_cli-0.4.0/tests/record/writing}/test_ignore.py +1 -1
  98. {waymark_cli-0.3.0/tests/record → waymark_cli-0.4.0/tests/record/writing}/test_layout.py +1 -1
  99. {waymark_cli-0.3.0/tests/record → waymark_cli-0.4.0/tests/record/writing}/test_store.py +3 -3
  100. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/services/test_agent_interface.py +5 -5
  101. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/services/test_atlas.py +3 -3
  102. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/services/test_doctor.py +16 -0
  103. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/services/test_fix.py +1 -1
  104. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/services/test_lifecycle_records.py +95 -1
  105. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/services/test_roadmap.py +2 -2
  106. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/services/test_setup.py +61 -12
  107. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/support.py +4 -4
  108. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/test_atlas_cli.py +1 -1
  109. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/test_cli.py +231 -1
  110. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/test_install_skills.py +2 -2
  111. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/test_lifecycle_cli.py +3 -3
  112. waymark_cli-0.4.0/tests/test_views_cli.py +404 -0
  113. waymark_cli-0.4.0/tests/views/test_prompts.py +149 -0
  114. waymark_cli-0.4.0/tests/views/test_style.py +155 -0
  115. waymark_cli-0.4.0/tests/views/test_terminal.py +161 -0
  116. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/views/test_views.py +1 -1
  117. waymark_cli-0.4.0/tests/views/test_welcome.py +156 -0
  118. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tools/docs.py +16 -2
  119. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tools/skills/waymark-check-docs/SKILL.md +1 -1
  120. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tools/skills/waymark-release/SKILL.md +10 -4
  121. waymark_cli-0.3.0/src/waymark/views/style.py +0 -102
  122. waymark_cli-0.3.0/tests/test_views_cli.py +0 -196
  123. waymark_cli-0.3.0/tests/views/test_style.py +0 -73
  124. waymark_cli-0.3.0/tools/skills/waymark-draft-docs/SKILL.md +0 -36
  125. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/.gitignore +0 -0
  126. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/LICENSE +0 -0
  127. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/README.md +0 -0
  128. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/docs/assets/banner-dark.svg +0 -0
  129. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/docs/assets/banner-light.svg +0 -0
  130. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/docs/assets/trail-dark.svg +0 -0
  131. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/docs/assets/trail-light.svg +0 -0
  132. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/docs/concepts.md +0 -0
  133. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/docs/json.md +0 -0
  134. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/docs/multi-repo.md +0 -0
  135. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/docs/skills.md +0 -0
  136. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/pyproject.toml +0 -0
  137. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/__main__.py +0 -0
  138. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/assets/__init__.py +0 -0
  139. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/assets/agents/wm-implementer.md +0 -0
  140. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/assets/agents/wm-reviewer.md +0 -0
  141. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/assets/skills/wm-apply/SKILL.md +0 -0
  142. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/assets/skills/wm-archive/SKILL.md +0 -0
  143. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/assets/skills/wm-explore/SKILL.md +0 -0
  144. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/assets/skills/wm-kickoff/SKILL.md +0 -0
  145. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/assets/skills/wm-onboard/SKILL.md +0 -0
  146. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/assets/skills/wm-pr/SKILL.md +0 -0
  147. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/assets/skills/wm-propose/SKILL.md +0 -0
  148. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/assets/skills/wm-update/SKILL.md +0 -0
  149. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/hooks/__init__.py +0 -0
  150. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/hooks/commands.py +0 -0
  151. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/hooks/events.py +0 -0
  152. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/py.typed +0 -0
  153. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/record/__init__.py +0 -0
  154. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/evidence}/commits.py +0 -0
  155. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/machine}/git.py +0 -0
  156. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/markdown}/problems.py +0 -0
  157. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/markdown}/text.py +0 -0
  158. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/record/names.py +0 -0
  159. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/record/terms.py +0 -0
  160. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/writing}/templates/charter.md +0 -0
  161. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/writing}/templates/ci-workflow.yml +0 -0
  162. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/writing}/templates/config-atlas.toml +0 -0
  163. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/writing}/templates/config.toml +0 -0
  164. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/writing}/templates/delta.md +0 -0
  165. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/writing}/templates/design.md +0 -0
  166. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/writing}/templates/exploration.md +0 -0
  167. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/writing}/templates/milestone.md +0 -0
  168. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/writing}/templates/proposal.md +0 -0
  169. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/writing}/templates/resource.md +0 -0
  170. {waymark_cli-0.3.0/src/waymark/record → waymark_cli-0.4.0/src/waymark/record/writing}/templates/tasks.md +0 -0
  171. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/services/__init__.py +0 -0
  172. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/services/guidance.py +0 -0
  173. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/src/waymark/views/__init__.py +0 -0
  174. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/__init__.py +0 -0
  175. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/adapters/__init__.py +0 -0
  176. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/adapters/snapshots/settings.json +0 -0
  177. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/adapters/snapshots/wm-implementer.md +0 -0
  178. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/adapters/snapshots/wm-reviewer.md +0 -0
  179. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/adapters/test_claude_code.py +0 -0
  180. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/conftest.py +0 -0
  181. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/hooks/__init__.py +0 -0
  182. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/hooks/test_commands.py +0 -0
  183. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/hooks/test_decide.py +0 -0
  184. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/hooks/test_repo_limits.py +0 -0
  185. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/record/__init__.py +0 -0
  186. {waymark_cli-0.3.0/tests/record → waymark_cli-0.4.0/tests/record/markdown}/test_text.py +0 -0
  187. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/record/test_names.py +0 -0
  188. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/record/test_state.py +0 -0
  189. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/services/__init__.py +0 -0
  190. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/services/test_archive.py +0 -0
  191. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/services/test_check.py +0 -0
  192. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/services/test_ci_and_pr.py +0 -0
  193. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/services/test_lifecycle.py +0 -0
  194. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/services/test_milestones.py +0 -0
  195. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/services/test_review_added_items.py +0 -0
  196. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/test_agent_cli.py +0 -0
  197. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/test_constraints.py +0 -0
  198. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/test_docs.py +0 -0
  199. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/test_skills.py +0 -0
  200. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/views/__init__.py +0 -0
  201. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/views/test_branches.py +0 -0
  202. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tests/views/validator.py +0 -0
  203. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tools/__init__.py +0 -0
  204. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tools/install_skills.py +0 -0
  205. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tools/release.py +0 -0
  206. {waymark_cli-0.3.0 → waymark_cli-0.4.0}/tools/skills/waymark-write-docs/SKILL.md +0 -0
@@ -2,6 +2,51 @@
2
2
 
3
3
  All notable changes to Waymark, one entry per release.
4
4
 
5
+ ## [0.4.0] - 2026-11-18
6
+
7
+ A first impression worth the name: `wm init` welcomes you and asks what to set
8
+ up, and every terminal view has one palette, tree lines and wrapped prose.
9
+ Review findings name their places relative to the project. The record format is
10
+ unchanged.
11
+
12
+ - **Behavior change: `wm init` asks on a terminal.** With both its input and its
13
+ output a terminal, and none of `--atlas`, `--tool` or the new `--yes`, it opens
14
+ with a welcome screen: the Waymark star, which grows in and twinkles, the
15
+ tagline, what it sets up, and the skills to run next. It then asks whether the
16
+ repository is a project or an atlas (and the atlas's name), which agent tools
17
+ to set up, with the ones it finds already selected, and whether to add the CI
18
+ workflow. Esc or Ctrl+C cancels and writes nothing. Where the terminal can't
19
+ read single keys, the questions come as numbered choices. In a clone, it shows
20
+ the welcome screen and asks nothing.
21
+ - **Behavior change: `wm check` groups its findings by file.** Each file's path
22
+ is on a line of its own, with its findings under it as
23
+ ` <severity>: <line>: <code>: <message>`, instead of one
24
+ `<severity>: <path>:<line>: <code>: <message>` line per finding. A script that
25
+ reads the text output should read `wm check --json`, which is unchanged.
26
+ - **`wm init --yes`** asks nothing. So do `--atlas` and `--tool`, and so does
27
+ `wm init` when its input or output isn't a terminal, as when an agent runs it:
28
+ it does what it did before.
29
+ - **A new look in the terminal.** The views use one palette of the 16 standard
30
+ colors, by role: cyan for section rules and commands, green for done, yellow for
31
+ what needs you and for warnings, red for errors, dim for dates and records, bold
32
+ for names. `wm status` colors each change's phase and progress bar and marks each
33
+ milestone's roadmap lines `◆` archived and `◇` open. `wm show` draws a change's
34
+ items as a tree and marks a milestone's roadmap. `wm doctor` lines its checks up
35
+ in one column. Each glyph has an ASCII stand-in for consoles that can't show it.
36
+ - **Prose wraps on a terminal.** `wm show`, `wm inbox`, `wm check` and
37
+ `wm doctor` wrap their prose to the terminal's width, from 60 to 100 columns.
38
+ Output that isn't going to a terminal is not wrapped, so agents read whole lines.
39
+ - **`FORCE_COLOR`.** Set to any value but empty or `0`, it turns color on when the
40
+ output isn't a terminal. `NO_COLOR` still turns color off, and wins. JSON output
41
+ never carries color.
42
+ - **Finding places are relative to the project.** `wm review` and `wm verdict`
43
+ write an absolute path in a finding's place relative to the project, with
44
+ forward slashes, or as `<repo>/<path>` for a code repo in an atlas, and refuse
45
+ any other absolute path. Before, a reviewer's absolute path went into the
46
+ record as given, home folder included.
47
+
48
+ Smoke test: passed on 2026-11-18 with Claude Code 2.1.327 on Windows.
49
+
5
50
  ## [0.3.0] - 2026-11-18
6
51
 
7
52
  Context beyond the code: resources, a spec's Background and one list of project
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: waymark-cli
3
- Version: 0.3.0
3
+ Version: 0.4.0
4
4
  Summary: Spec-driven development for developers who stay in charge of their project while agents write the code.
5
5
  Project-URL: Repository, https://github.com/noahnkr/waymark
6
6
  Project-URL: Documentation, https://github.com/noahnkr/waymark/tree/main/docs
@@ -52,12 +52,20 @@ adapter for another agent tool, and how to work on the code.
52
52
 
53
53
  | Folder under `src/waymark/` | Holds |
54
54
  |---|---|
55
- | `record/` | The only code that reads or writes the record's files: parsers, the record lines (`records.py`, the one place each record's shape is defined), the standard layout (`layout.py`), state derivation, delta merging, the acceptance fingerprint, the transactional writer, templates, the registry, git queries. |
55
+ | `record/` | The only code that reads or writes the record's files. At its top: loading the whole record (`record.py`), state derivation (`state.py`), the fixed vocabulary (`terms.py`) and names (`names.py`). The rest is in five packages, below. |
56
56
  | `services/` | What the commands do, and every gate. A refused command raises `Refusal` with what is wrong and what to do next. |
57
57
  | `views/` | Payloads, their JSON schemas, and the text and JSON renderers. One payload feeds both renderings. |
58
58
  | `hooks/` | Tool-neutral hook decisions on six neutral events. |
59
59
  | `adapters/` | One adapter per agent tool. Only code here may name a tool. |
60
60
  | `assets/` | The skills and agent definitions, written once and tool-neutral. |
61
+
62
+ | Package under `record/` | Holds |
63
+ |---|---|
64
+ | `markdown/` | Markdown as `wm` reads it: lines, fences, sections, outlines, links, and the problems found while reading. |
65
+ | `artifacts/` | One module per authored file: changes, the charter, the settings, deltas and their merging, designs, explorations, milestones, proposals, resources, specs and task lists. |
66
+ | `evidence/` | The lines only `wm` writes and the gates they feed: the record lines (`records.py`, the one place each record's shape is defined), gate evidence, the acceptance fingerprint, the per-agent marker and the commit-message check. |
67
+ | `writing/` | Writing the record: the transactional writer, the edits `wm` owns, the standard layout (`layout.py`), folder moves, the `.gitignore` block, and the templates. |
68
+ | `machine/` | This machine and its repository: git queries, reading files, finding the project, atlases, code repo pointers, the registry, and branches. |
61
69
  | `cli.py` | Parses arguments, calls a service, prints. |
62
70
 
63
71
  Three tests in `tests/test_constraints.py` hold the boundaries: the standard
@@ -83,7 +91,7 @@ Claude Code runs `wm hook claude-code <Event>` with its JSON on standard input.
83
91
  planner edit any code repo, and an implementer only the repo an accepted
84
92
  change's item being built names (`editable_repos`). An agent's ending is
85
93
  recorded once: a per-agent marker in the clone's git folder
86
- (`record/agents.py`) lets the stop after a recorded handback through without
94
+ (`record/evidence/agents.py`) lets the stop after a recorded handback through without
87
95
  asking for the ending again.
88
96
  3. **The adapter translates the decision back** into the tool's reply format.
89
97
 
@@ -145,9 +153,8 @@ uv run --no-sync python -m tools.install_skills
145
153
 
146
154
  | Skill | For |
147
155
  |---|---|
148
- | `waymark-draft-docs` | Planning and drafting a new or rewritten docs page with the maintainer |
149
156
  | `waymark-write-docs` | The house style and fact rules for any docs edit |
150
- | `waymark-check-docs` | Checking docs against the code, on request |
157
+ | `waymark-check-docs` | Checking docs against the code, on request or when a release offers it |
151
158
  | `waymark-release` | Cutting a release, from audit to tag |
152
159
 
153
160
  CI runs the tests on Windows, macOS and Linux, each on Python 3.11 and the newest
@@ -173,13 +180,20 @@ scoped by component (`record`, `services`, `views`, `hooks`, `adapter-claude`,
173
180
 
174
181
  ## Releasing
175
182
 
183
+ Each change with a User-visible line adds it to `CHANGELOG.md` under
184
+ `## [Unreleased]`, in the item that updates its docs.
185
+
176
186
  The maintainer releases, with the `waymark-release` skill. Before each release, the
177
187
  [smoke-test checklist](smoke-test.md) is run by hand, and its result goes into the
178
188
  changelog's entry. The skill:
179
189
 
180
- 1. sets the version in `src/waymark/__init__.py` and the pin in `waymark/config.toml`,
181
- and writes and dates the entry in `CHANGELOG.md`, on a release branch;
182
- 2. opens the pull request; after it is merged, pushes a tag `v<version>` on `main`.
190
+ 1. checks `## [Unreleased]` against the changes archived since the last tag, and
191
+ lists the review findings they left open, for the maintainer to fix, plan or drop;
192
+ 2. sets the version in `src/waymark/__init__.py` and the pin in `waymark/config.toml`,
193
+ and turns `## [Unreleased]` into the dated entry in `CHANGELOG.md`, on a release
194
+ branch;
195
+ 3. offers `waymark-check-docs` on the docs pages changed since the last tag;
196
+ 4. opens the pull request; after it is merged, pushes a tag `v<version>` on `main`.
183
197
 
184
198
  The release workflow checks that the tag, the version, the changelog entry and the
185
199
  smoke-test record agree, runs the tests, builds, publishes to PyPI through trusted
@@ -2,20 +2,30 @@
2
2
 
3
3
  <!-- Generated by tools/docs.py from the code. Don't edit it by hand. -->
4
4
 
5
- Every command of `wm` 0.3.0. Read commands take `--json`; their payloads are described in the [JSON schema reference](json.md).
5
+ Every command of `wm` 0.4.0. Read commands take `--json`; their payloads are described in the [JSON schema reference](json.md).
6
6
 
7
7
  Exit codes: `0` success; `1` refused, or problems found; `2` usage error.
8
8
 
9
+ ## Environment
10
+
11
+ - `NO_COLOR`: set to any value, even empty, and the text output carries no color. It wins over `FORCE_COLOR`.
12
+ - `FORCE_COLOR`: set to any value but empty or `0`, and the text output carries color even when it isn't going to a terminal.
13
+ - `TERM=dumb`: no color on a terminal.
14
+ - JSON output never carries color.
15
+ - On a terminal, prose in `wm show`, `wm inbox`, `wm check` and `wm doctor` wraps to the terminal's width, from 60 to 100 columns. Output that isn't going to a terminal is never wrapped.
16
+ - When the output's encoding can't show the glyphs, they're drawn in ASCII.
17
+
9
18
  ## wm init
10
19
 
11
20
  Create the record, or set up this machine in a clone that has one.
12
21
 
13
22
  ```
14
- wm init [--atlas NAME] [--tool NAME]
23
+ wm init [--atlas NAME] [--tool NAME] [--yes]
15
24
  ```
16
25
 
17
26
  - `--atlas`: make this repository an atlas: a record that several code repos share
18
27
  - `--tool`: an agent tool to set up; repeatable (default: claude-code)
28
+ - `--yes`: ask nothing, even on a terminal: a project with every agent tool, and no CI
19
29
 
20
30
  ## wm update
21
31
 
@@ -27,6 +27,25 @@ In the repository you want to work on (it must be a git repository; run
27
27
  wm init
28
28
  ```
29
29
 
30
+ On a terminal, `wm init` opens with a welcome screen, then asks three questions,
31
+ one screen at a time:
32
+
33
+ | Question | Default |
34
+ |---|---|
35
+ | Is this repository a project or an atlas? For an atlas, its name. | a project |
36
+ | Which agent tools should `wm` set up? | the tools it finds here, or all of them |
37
+ | Add the CI workflow? | yes |
38
+
39
+ Use the arrow keys to move, Space to select a tool, and Enter to answer. Esc or
40
+ Ctrl+C cancels: `wm init` says `Setup canceled. Nothing was written.` and
41
+ writes nothing. Where the terminal can't read single keys, the same questions
42
+ come as numbered choices you type at a line.
43
+
44
+ `wm init --yes` asks nothing, and so do `--atlas <name>` and `--tool <name>`:
45
+ `wm init` then sets up a project (or the named atlas) with every agent tool, or
46
+ the ones you name, and no CI workflow. It also asks nothing when its input or
47
+ output isn't a terminal, as when an agent runs it.
48
+
30
49
  This writes:
31
50
 
32
51
  - `waymark/`, the record: `config.toml` (the settings, including the `wm`
@@ -35,12 +54,13 @@ This writes:
35
54
  agent definitions in `.claude/agents/`, and the hooks in
36
55
  `.claude/settings.json` (merged into any settings you already have);
37
56
  - a block in `.gitignore` that keeps the agent tool files out of git. They
38
- belong to each machine, not to the project.
57
+ belong to each machine, not to the project;
58
+ - `.github/workflows/waymark.yml`, when you answered yes to the CI workflow.
39
59
 
40
60
  `wm init` installs no git hooks and changes no git setting.
41
61
 
42
- Commit `waymark/` and `.gitignore`. They are the only files `wm init` wrote
43
- that `git status` shows. Then run `wm doctor` to check that everything is in place; it
62
+ Commit `waymark/` and `.gitignore`, and the workflow if `wm init` added it.
63
+ They are the only files `wm init` wrote that `git status` shows. Then run `wm doctor` to check that everything is in place; it
44
64
  changes nothing.
45
65
 
46
66
  The block sits between two marker lines. `wm` rewrites what is between them, and
@@ -56,8 +76,8 @@ leaves the rest of `.gitignore` alone. With Claude Code, the block lists:
56
76
  Your own skills and agents, `CLAUDE.md` and `AGENTS.md` are not in the block.
57
77
  Commit or ignore them as you choose.
58
78
 
59
- Optional: `wm ci` adds a GitHub Actions workflow that installs the pinned `wm`
60
- and runs `wm check` on every push and pull request. Nothing runs `wm check`
79
+ The CI workflow installs the pinned `wm` and runs `wm check` on every push and
80
+ pull request on GitHub Actions. To add it later, run `wm ci`. Nothing runs `wm check`
61
81
  when you commit; CI is where it runs.
62
82
 
63
83
  Commit messages are checked in Claude Code, by its command hook. Commits you
@@ -65,8 +85,9 @@ make by hand are not checked. See [the gates](concepts.md#the-gates).
65
85
 
66
86
  ### After cloning a project
67
87
 
68
- Install the `wm` version the project pins, then run `wm init` in the clone. It
69
- finds the record and sets up this machine: it writes the agent tool files and
88
+ Install the `wm` version the project pins, then run `wm init` in the clone. On
89
+ a terminal it shows the welcome screen and asks nothing. It finds the record
90
+ and sets up this machine: it writes the agent tool files and
70
91
  adds the `.gitignore` block if it is missing. It doesn't change anything in
71
92
  `waymark/`. Run it again and it says the machine is already set up.
72
93
 
@@ -240,6 +240,12 @@ syncs and reviews.
240
240
  `(self-review)`, `(review)`, `(resolved)`, `(override)`. A review's findings sit
241
241
  under it as ``- <severity> `<place>`: <text>``.
242
242
 
243
+ A finding's place is a path relative to the project's top folder, such as
244
+ `src/limit.py:12`, or `<repo>/<path>` for a code repo in an atlas. When
245
+ `wm review` or `wm verdict` is given an absolute path inside the project or a
246
+ registered code repo, it writes the path that way, with forward slashes. Any
247
+ other absolute path is refused, so no machine's folders reach the record.
248
+
243
249
  The acceptance names the items it covers: **adding** an item keeps it, while
244
250
  **changing** or removing an accepted item withdraws it.
245
251
 
@@ -15,7 +15,11 @@ Allow about an hour. Work in a scratch repository, never in a real project.
15
15
  wheel, and check `wm --version`.
16
16
  - [ ] Note the Claude Code version: `claude --version`.
17
17
  - [ ] Make a scratch git repository with a little code in it (a small script and
18
- a test are enough), and commit it. Run `wm init`: nothing is staged,
18
+ a test are enough), and commit it. On Windows, run `wm init` in Windows
19
+ Terminal: the welcome screen's star grows in, the text appears, and the
20
+ star twinkles until Enter. Answer the questions: a project, Claude Code
21
+ selected, and no to the CI workflow. `wm init` lists what it created and
22
+ ends with the next step. Then: nothing is staged,
19
23
  `git status` shows only `waymark/` and `.gitignore` as new, and
20
24
  `git config core.hooksPath` prints nothing. `waymark/specs/`,
21
25
  `changes/`, `changes/archive/`, `explorations/`, `milestones/` and
@@ -27,6 +31,16 @@ Allow about an hour. Work in a scratch repository, never in a real project.
27
31
  `waymark/`. `git status` is clean, and `wm doctor` has no errors. Delete
28
32
  the clone.
29
33
 
34
+ ## Keys in a raw terminal
35
+
36
+ - [ ] On Windows Terminal, and on one POSIX terminal (macOS Terminal or a Linux
37
+ terminal), run `wm init` in a fresh scratch repository. At its questions:
38
+ the up and down arrows move the pointer, Space toggles a tool, Enter
39
+ answers, and Backspace erases a letter of the atlas name. Run it again and
40
+ press Esc at a question: `wm init` ends with
41
+ `Setup canceled. Nothing was written.`, and `git status` shows nothing new.
42
+ After each run, the terminal shows its cursor and echoes what you type.
43
+
30
44
  ## Session start and kickoff
31
45
 
32
46
  - [ ] Start Claude Code in the repository. Its first context includes the
@@ -1,3 +1,3 @@
1
1
  """Waymark: spec-driven development with a deterministic command-line tool, ``wm``."""
2
2
 
3
- __version__ = "0.3.0"
3
+ __version__ = "0.4.0"
@@ -54,6 +54,14 @@ class Adapter(ABC):
54
54
  def files(self, existing: Mapping[str, str | None]) -> dict[str, str]:
55
55
  """The files Waymark owns for this tool, with their full text."""
56
56
 
57
+ def detect(self, root: Path) -> bool:
58
+ """Whether the repository at ``root`` already uses this tool: its files or folder exist.
59
+
60
+ An adapter that can't tell says no.
61
+ """
62
+ del root
63
+ return False
64
+
57
65
  def local_files(
58
66
  self, existing: Mapping[str, str | None], folders: Sequence[Path]
59
67
  ) -> dict[str, str]:
@@ -225,6 +225,10 @@ class ClaudeCodeAdapter(Adapter):
225
225
  ignored = ("/.claude/skills/wm-*/", "/.claude/agents/wm-*.md", f"/{SETTINGS}")
226
226
  skill_folder = ".claude/skills"
227
227
 
228
+ def detect(self, root: Path) -> bool:
229
+ """Claude Code is in use where the repository has a ``.claude/`` folder or a CLAUDE.md."""
230
+ return (root / ".claude").is_dir() or (root / "CLAUDE.md").is_file()
231
+
228
232
  def local_files(
229
233
  self, existing: Mapping[str, str | None], folders: Sequence[Path]
230
234
  ) -> dict[str, str]:
@@ -13,6 +13,7 @@ from collections.abc import Callable, Sequence
13
13
  from pathlib import Path
14
14
 
15
15
  from waymark import __version__, adapters
16
+ from waymark.record.machine import git
16
17
  from waymark.record.terms import Step, Verdict
17
18
  from waymark.services import atlas as atlas_service
18
19
  from waymark.services import ci as ci_service
@@ -23,9 +24,10 @@ from waymark.services import instructions as instructions_service
23
24
  from waymark.services import integration, lifecycle, references, roadmap, setup
24
25
  from waymark.services import pr as pr_service
25
26
  from waymark.services.common import Done, Refusal, open_record, take_notices
26
- from waymark.views import payloads, render
27
+ from waymark.views import init_flow, payloads, render, welcome
27
28
  from waymark.views.payloads import Payload
28
- from waymark.views.style import Style
29
+ from waymark.views.style import STRONG, Style
30
+ from waymark.views.terminal import RawModeUnavailable, RawTerminal
29
31
 
30
32
  EXIT_OK = 0
31
33
  """The command succeeded."""
@@ -55,9 +57,60 @@ def _today() -> datetime.date:
55
57
  return datetime.date.today()
56
58
 
57
59
 
60
+ def _on_a_terminal() -> bool:
61
+ """Whether both input and output are a terminal, so wm init may ask questions."""
62
+ return sys.stdin.isatty() and sys.stdout.isatty()
63
+
64
+
58
65
  def _init(args: argparse.Namespace) -> int:
59
66
  tools = tuple(args.tool) if args.tool else None
60
- return _report(setup.init_project(_here(), args.atlas, tools))
67
+ if args.yes or args.atlas is not None or tools is not None or not _on_a_terminal():
68
+ return _report(setup.init_project(_here(), args.atlas, tools))
69
+ root = git.repository_root(_here())
70
+ if root is None:
71
+ return _report(setup.init_project(_here()))
72
+ style = Style.detect(sys.stdout, os.environ)
73
+ try:
74
+ try:
75
+ with RawTerminal() as terminal:
76
+ answers = _init_answers(root, style, terminal)
77
+ except RawModeUnavailable:
78
+ answers = _init_answers(root, style, None)
79
+ except KeyboardInterrupt:
80
+ # Windows delivers Ctrl+C as an interrupt, not a key; it cancels all the same.
81
+ answers = None
82
+ # Raw mode is over by now, so what follows prints as ordinary lines.
83
+ if answers is None:
84
+ print(welcome.CANCELED)
85
+ return EXIT_REFUSED
86
+ if answers is _CLONE:
87
+ return _report(setup.init_project(root))
88
+ done = setup.init_project(root, answers.atlas, answers.tools, ci=answers.ci)
89
+ print(style.paint("Created:", STRONG))
90
+ for path in done.paths:
91
+ print(f" {path}")
92
+ return _report(done)
93
+
94
+
95
+ _CLONE = init_flow.Answers(None, (), ci=False)
96
+ """Stands for a clone: a record is already here, so no question is asked."""
97
+
98
+
99
+ def _init_answers(
100
+ root: Path, style: Style, terminal: RawTerminal | None
101
+ ) -> init_flow.Answers | None:
102
+ """The welcome screen and the questions; None when they are canceled."""
103
+ started = welcome.play(terminal, style) if terminal else welcome.show_still(style)
104
+ if not started:
105
+ return None
106
+ if setup.has_record(root):
107
+ return _CLONE
108
+ tools = [
109
+ init_flow.Tool(name, adapters.get(name).title, adapters.get(name).detect(root))
110
+ for name in adapters.names()
111
+ ]
112
+ asker = init_flow.RawAsker(terminal, style) if terminal else init_flow.LineAsker(style)
113
+ return init_flow.ask_answers(asker, tools, setup.atlas_name_problem)
61
114
 
62
115
 
63
116
  def _update(_: argparse.Namespace) -> int:
@@ -387,6 +440,11 @@ def build_parser() -> argparse.ArgumentParser: # noqa: PLR0915 - one flat list
387
440
  metavar="NAME",
388
441
  help=f"an agent tool to set up; repeatable (default: {', '.join(adapters.names())})",
389
442
  )
443
+ init.add_argument(
444
+ "--yes",
445
+ action="store_true",
446
+ help="ask nothing, even on a terminal: a project with every agent tool, and no CI",
447
+ )
390
448
  init.set_defaults(handler=_init)
391
449
 
392
450
  summary = "Regenerate the files Waymark owns, and add any missing record folders."
@@ -11,15 +11,15 @@ from pathlib import Path
11
11
  from waymark import assets
12
12
  from waymark.hooks import commands
13
13
  from waymark.hooks.events import ALLOW, Decision, Event, EventKind, Role
14
- from waymark.record import agents
15
- from waymark.record.atlas import contains
16
- from waymark.record.commits import commit_problem
17
- from waymark.record.config import CONFIG_FILE, parse_config
18
- from waymark.record.evidence import evidence_changes, is_active_milestone
19
- from waymark.record.files import RecordFiles
20
- from waymark.record.project import RECORD_DIR, Project, ProjectNotFoundError, find_project
14
+ from waymark.record.artifacts.config import CONFIG_FILE, parse_config
15
+ from waymark.record.evidence import agents
16
+ from waymark.record.evidence.commits import commit_problem
17
+ from waymark.record.evidence.evidence import evidence_changes, is_active_milestone
18
+ from waymark.record.evidence.records import IMPLEMENTER, REVIEWER, parse_finding_argument
19
+ from waymark.record.machine.atlas import contains
20
+ from waymark.record.machine.files import RecordFiles
21
+ from waymark.record.machine.project import RECORD_DIR, Project, ProjectNotFoundError, find_project
21
22
  from waymark.record.record import RESOURCES, SPECS, Record, load_record
22
- from waymark.record.records import IMPLEMENTER, REVIEWER, parse_finding_argument
23
23
  from waymark.record.state import AcceptanceState, StepKind, derive_state
24
24
  from waymark.record.terms import Layout, Verdict
25
25
  from waymark.services import lifecycle
@@ -0,0 +1 @@
1
+ """The record's authored files, one module per kind: how each is read."""
@@ -4,9 +4,9 @@ import datetime
4
4
  from collections.abc import Mapping
5
5
  from dataclasses import dataclass
6
6
 
7
- from waymark.record.config import Config
8
- from waymark.record.deltas import Delta, parse_delta
9
- from waymark.record.design import (
7
+ from waymark.record.artifacts.config import Config
8
+ from waymark.record.artifacts.deltas import Delta, parse_delta
9
+ from waymark.record.artifacts.design import (
10
10
  DECIDED_BY,
11
11
  DECIDERS,
12
12
  NO_QUESTIONS,
@@ -16,10 +16,7 @@ from waymark.record.design import (
16
16
  Design,
17
17
  parse_design,
18
18
  )
19
- from waymark.record.files import RecordFiles
20
- from waymark.record.names import NAME_RULE, is_valid_name
21
- from waymark.record.problems import WHOLE_FILE, Problem
22
- from waymark.record.proposal import (
19
+ from waymark.record.artifacts.proposal import (
23
20
  IMPACT,
24
21
  IMPACT_LINES,
25
22
  NONE,
@@ -31,8 +28,11 @@ from waymark.record.proposal import (
31
28
  Proposal,
32
29
  parse_proposal,
33
30
  )
34
- from waymark.record.records import RecordKind
35
- from waymark.record.tasks import Tasks, parse_tasks
31
+ from waymark.record.artifacts.tasks import Tasks, parse_tasks
32
+ from waymark.record.evidence.records import RecordKind
33
+ from waymark.record.machine.files import RecordFiles
34
+ from waymark.record.markdown.problems import WHOLE_FILE, Problem
35
+ from waymark.record.names import NAME_RULE, is_valid_name
36
36
  from waymark.record.terms import Layout, ReviewLevel
37
37
 
38
38
  PROPOSAL_FILE = "proposal.md"
@@ -4,9 +4,9 @@ import re
4
4
  from collections.abc import Mapping
5
5
  from dataclasses import dataclass
6
6
 
7
- from waymark.record.outline import collect_sections, require_title
8
- from waymark.record.problems import Problem
9
- from waymark.record.text import Document
7
+ from waymark.record.markdown.outline import collect_sections, require_title
8
+ from waymark.record.markdown.problems import Problem
9
+ from waymark.record.markdown.text import Document
10
10
 
11
11
  CHARTER_FILE = "charter.md"
12
12
 
@@ -5,7 +5,7 @@ import tomllib
5
5
  from dataclasses import dataclass
6
6
  from typing import Any
7
7
 
8
- from waymark.record.problems import WHOLE_FILE, Problem
8
+ from waymark.record.markdown.problems import WHOLE_FILE, Problem
9
9
  from waymark.record.terms import Layout, ReviewLevel
10
10
 
11
11
  CONFIG_FILE = "config.toml"
@@ -9,14 +9,7 @@ may also modify the requirement under its new name.
9
9
  import re
10
10
  from dataclasses import dataclass
11
11
 
12
- from waymark.record.outline import (
13
- collect_sections,
14
- parse_facts,
15
- require_title,
16
- split_names,
17
- )
18
- from waymark.record.problems import Problem
19
- from waymark.record.specs import (
12
+ from waymark.record.artifacts.specs import (
20
13
  BACKGROUND,
21
14
  PURPOSE,
22
15
  REPOS_FACT,
@@ -29,7 +22,14 @@ from waymark.record.specs import (
29
22
  parse_spec,
30
23
  requirement_key,
31
24
  )
32
- from waymark.record.text import Document
25
+ from waymark.record.markdown.outline import (
26
+ collect_sections,
27
+ parse_facts,
28
+ require_title,
29
+ split_names,
30
+ )
31
+ from waymark.record.markdown.problems import Problem
32
+ from waymark.record.markdown.text import Document
33
33
 
34
34
  ADDED = "ADDED Requirements"
35
35
  MODIFIED = "MODIFIED Requirements"
@@ -4,9 +4,9 @@ import re
4
4
  from collections.abc import Mapping
5
5
  from dataclasses import dataclass
6
6
 
7
- from waymark.record.outline import collect_sections, content, require_title
8
- from waymark.record.problems import Problem
9
- from waymark.record.text import Document
7
+ from waymark.record.markdown.outline import collect_sections, content, require_title
8
+ from waymark.record.markdown.problems import Problem
9
+ from waymark.record.markdown.text import Document
10
10
 
11
11
  CONTEXT = "Context"
12
12
  APPROACH = "Approach"
@@ -4,14 +4,14 @@ import re
4
4
  from collections.abc import Mapping
5
5
  from dataclasses import dataclass
6
6
 
7
- from waymark.record.outline import (
7
+ from waymark.record.markdown.outline import (
8
8
  Fact,
9
9
  collect_sections,
10
10
  parse_facts,
11
11
  require_title,
12
12
  )
13
- from waymark.record.problems import Problem
14
- from waymark.record.text import Document
13
+ from waymark.record.markdown.problems import Problem
14
+ from waymark.record.markdown.text import Document
15
15
 
16
16
  CONTEXT = "Context"
17
17
  QUESTIONS = "Questions"
@@ -4,11 +4,11 @@ import re
4
4
  from collections.abc import Mapping
5
5
  from dataclasses import dataclass
6
6
 
7
- from waymark.record import records
8
- from waymark.record.outline import collect_sections, content, require_title
9
- from waymark.record.problems import WHOLE_FILE, Problem
10
- from waymark.record.records import Record
11
- from waymark.record.text import BOM, Document
7
+ from waymark.record.evidence import records
8
+ from waymark.record.evidence.records import Record
9
+ from waymark.record.markdown.outline import collect_sections, content, require_title
10
+ from waymark.record.markdown.problems import WHOLE_FILE, Problem
11
+ from waymark.record.markdown.text import BOM, Document
12
12
 
13
13
  MILESTONE_FILE = "milestone.md"
14
14
 
@@ -11,15 +11,15 @@ import re
11
11
  from collections.abc import Mapping
12
12
  from dataclasses import dataclass
13
13
 
14
- from waymark.record.outline import (
14
+ from waymark.record.markdown.outline import (
15
15
  collect_sections,
16
16
  content,
17
17
  parse_facts,
18
18
  require_title,
19
19
  )
20
- from waymark.record.problems import Problem
20
+ from waymark.record.markdown.problems import Problem
21
+ from waymark.record.markdown.text import Document
21
22
  from waymark.record.terms import ReviewLevel
22
- from waymark.record.text import Document
23
23
 
24
24
  OWNER = "Owner"
25
25
  MILESTONE = "Milestone"
@@ -11,9 +11,15 @@ import re
11
11
  from collections.abc import Mapping
12
12
  from dataclasses import dataclass
13
13
 
14
- from waymark.record.outline import Fact, collect_sections, parse_facts, require_title, split_names
15
- from waymark.record.problems import WHOLE_FILE, Problem
16
- from waymark.record.text import Document
14
+ from waymark.record.markdown.outline import (
15
+ Fact,
16
+ collect_sections,
17
+ parse_facts,
18
+ require_title,
19
+ split_names,
20
+ )
21
+ from waymark.record.markdown.problems import WHOLE_FILE, Problem
22
+ from waymark.record.markdown.text import Document
17
23
 
18
24
  KIND = "Kind"
19
25
  SERVES = "Serves"
@@ -3,15 +3,15 @@
3
3
  import re
4
4
  from dataclasses import dataclass
5
5
 
6
- from waymark.record.outline import (
6
+ from waymark.record.markdown.outline import (
7
7
  collect_sections,
8
8
  content,
9
9
  parse_facts,
10
10
  require_title,
11
11
  split_names,
12
12
  )
13
- from waymark.record.problems import Problem
14
- from waymark.record.text import Document, Section
13
+ from waymark.record.markdown.problems import Problem
14
+ from waymark.record.markdown.text import Document, Section
15
15
 
16
16
  PURPOSE = "Purpose"
17
17
  BACKGROUND = "Background"