whykit 0.5.1__tar.gz → 0.6.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 (342) hide show
  1. {whykit-0.5.1 → whykit-0.6.0}/.gitignore +1 -0
  2. {whykit-0.5.1 → whykit-0.6.0}/CHANGELOG.md +37 -1
  3. {whykit-0.5.1 → whykit-0.6.0}/PKG-INFO +65 -53
  4. {whykit-0.5.1 → whykit-0.6.0}/README.md +36 -24
  5. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/README.md +4 -3
  6. whykit-0.6.0/examples/payments/notes/ledger-change.md +39 -0
  7. {whykit-0.5.1 → whykit-0.6.0}/pyproject.toml +5 -5
  8. {whykit-0.5.1/src/whykit/contract_schemas → whykit-0.6.0/schemas}/affected-report.schema.json +5 -0
  9. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/__init__.py +1 -1
  10. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/affected.py +115 -54
  11. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/cli.py +27 -15
  12. {whykit-0.5.1/schemas → whykit-0.6.0/src/whykit/contract_schemas}/affected-report.schema.json +5 -0
  13. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/explorer_index.py +18 -20
  14. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/graph.py +5 -5
  15. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/mcp_server.py +55 -17
  16. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/scope.py +6 -7
  17. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/trace.py +3 -6
  18. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/vault_index.py +26 -1
  19. {whykit-0.5.1 → whykit-0.6.0}/LICENSE +0 -0
  20. {whykit-0.5.1 → whykit-0.6.0}/NOTICE +0 -0
  21. {whykit-0.5.1 → whykit-0.6.0}/examples/agent-eval/cases.jsonl +0 -0
  22. {whykit-0.5.1 → whykit-0.6.0}/examples/agent-eval/responses.jsonl +0 -0
  23. {whykit-0.5.1 → whykit-0.6.0}/examples/approval/00-context/evidence-register.md +0 -0
  24. {whykit-0.5.1 → whykit-0.6.0}/examples/approval/00-context/review-log.md +0 -0
  25. {whykit-0.5.1 → whykit-0.6.0}/examples/approval/06-decisions/d-001-bind-approval-to-reviewed-record-bytes.md +0 -0
  26. {whykit-0.5.1 → whykit-0.6.0}/examples/approval/06-decisions/d-002-classify-individual-evidence-rows-without-lowering-their-register-floor.md +0 -0
  27. {whykit-0.5.1 → whykit-0.6.0}/examples/approval/06-decisions/decision-log.md +0 -0
  28. {whykit-0.5.1 → whykit-0.6.0}/examples/approval/AGENTS.md +0 -0
  29. {whykit-0.5.1 → whykit-0.6.0}/examples/approval/Home.md +0 -0
  30. {whykit-0.5.1 → whykit-0.6.0}/examples/approval/README.md +0 -0
  31. {whykit-0.5.1 → whykit-0.6.0}/examples/github-import/README.md +0 -0
  32. {whykit-0.5.1 → whykit-0.6.0}/examples/github-import/issue.json +0 -0
  33. {whykit-0.5.1 → whykit-0.6.0}/examples/github-import/pull-request.json +0 -0
  34. {whykit-0.5.1 → whykit-0.6.0}/examples/github-import/workflow-run.json +0 -0
  35. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/00-context/README.md +0 -0
  36. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/00-context/company.md +0 -0
  37. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/00-context/evidence-register.md +0 -0
  38. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/00-context/goals.md +0 -0
  39. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/00-context/review-log.md +0 -0
  40. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/00-context/terminology.md +0 -0
  41. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/01-strategy/README.md +0 -0
  42. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/01-strategy/icp.md +0 -0
  43. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/01-strategy/messaging.md +0 -0
  44. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/01-strategy/offer-architecture.md +0 -0
  45. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/01-strategy/positioning.md +0 -0
  46. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/02-discoverability/README.md +0 -0
  47. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/02-discoverability/content-system.md +0 -0
  48. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/02-discoverability/search-and-answers.md +0 -0
  49. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/03-website/README.md +0 -0
  50. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/03-website/information-architecture.md +0 -0
  51. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/03-website/page-brief-home.md +0 -0
  52. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/04-automation/README.md +0 -0
  53. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/04-automation/inbound-demo-routing.md +0 -0
  54. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/05-operations/README.md +0 -0
  55. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/05-operations/meeting-2026-09-04-pipeline.md +0 -0
  56. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/05-operations/qualification.md +0 -0
  57. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/06-decisions/README.md +0 -0
  58. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/06-decisions/d-001-git-markdown.md +0 -0
  59. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/06-decisions/d-002-icp-ops.md +0 -0
  60. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/06-decisions/d-003-no-paid.md +0 -0
  61. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/06-decisions/d-004-english.md +0 -0
  62. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/06-decisions/d-005-product-led-site.md +0 -0
  63. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/06-decisions/d-006-no-ai-in-h1.md +0 -0
  64. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/06-decisions/d-007-hubspot.md +0 -0
  65. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/06-decisions/d-008-discrete.md +0 -0
  66. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/06-decisions/d-009-partner-led.md +0 -0
  67. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/06-decisions/d-010-direct.md +0 -0
  68. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/06-decisions/d-011-direct-with-evidence.md +0 -0
  69. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/06-decisions/decision-log.md +0 -0
  70. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/07-research/README.md +0 -0
  71. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/07-research/competitors/vendor-a.md +0 -0
  72. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/07-research/competitors/vendor-b.md +0 -0
  73. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/07-research/interviews/example-region-maintenance-lead-2026-06-18.md +0 -0
  74. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/07-research/market-dach.md +0 -0
  75. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/07-research/sources/ingestion-2026-09-02.md +0 -0
  76. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/AGENTS.md +0 -0
  77. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/Home.md +0 -0
  78. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/INTEROP.md +0 -0
  79. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/OBSIDIAN.md +0 -0
  80. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/README.md +0 -0
  81. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/reports/README.md +0 -0
  82. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/reports/organic-baseline-2026-08-01.md +0 -0
  83. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/templates/README.md +0 -0
  84. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/templates/automation-spec-template.md +0 -0
  85. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/templates/decision-record-template.md +0 -0
  86. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/templates/document-template.md +0 -0
  87. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/templates/experiment-template.md +0 -0
  88. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/templates/meeting-note-template.md +0 -0
  89. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/templates/page-brief-template.md +0 -0
  90. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/templates/research-note-template.md +0 -0
  91. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/templates/source-ingestion-template.md +0 -0
  92. {whykit-0.5.1 → whykit-0.6.0}/examples/northline/whykit.toml +0 -0
  93. {whykit-0.5.1 → whykit-0.6.0}/examples/outcomes/00-context/artifacts/E-004/0aa321978f794bb048b587c157923b3cdd70510ecaf47ac8728572b9bc2dcf4f.json +0 -0
  94. {whykit-0.5.1 → whykit-0.6.0}/examples/outcomes/00-context/artifacts/E-005/fab761d309bb12500028ff74d7b094c3e62028c2148ade332442d7b17194e6ca.json +0 -0
  95. {whykit-0.5.1 → whykit-0.6.0}/examples/outcomes/00-context/claims/c-001.md +0 -0
  96. {whykit-0.5.1 → whykit-0.6.0}/examples/outcomes/00-context/claims/c-002.md +0 -0
  97. {whykit-0.5.1 → whykit-0.6.0}/examples/outcomes/00-context/evidence-register.md +0 -0
  98. {whykit-0.5.1 → whykit-0.6.0}/examples/outcomes/00-context/observations/E-004.json +0 -0
  99. {whykit-0.5.1 → whykit-0.6.0}/examples/outcomes/00-context/observations/E-005.json +0 -0
  100. {whykit-0.5.1 → whykit-0.6.0}/examples/outcomes/00-context/outcomes/o-001.md +0 -0
  101. {whykit-0.5.1 → whykit-0.6.0}/examples/outcomes/00-context/review-log.md +0 -0
  102. {whykit-0.5.1 → whykit-0.6.0}/examples/outcomes/06-decisions/d-001-bind-approval-to-reviewed-record-bytes.md +0 -0
  103. {whykit-0.5.1 → whykit-0.6.0}/examples/outcomes/06-decisions/d-002-classify-individual-evidence-rows-without-lowering-their-register-floor.md +0 -0
  104. {whykit-0.5.1 → whykit-0.6.0}/examples/outcomes/06-decisions/d-003-keep-claims-and-source-versions-separate-from-approved-reasoning.md +0 -0
  105. {whykit-0.5.1 → whykit-0.6.0}/examples/outcomes/06-decisions/d-004-record-source-observations-separately-from-immutable-captures.md +0 -0
  106. {whykit-0.5.1 → whykit-0.6.0}/examples/outcomes/06-decisions/d-005-keep-measured-outcomes-separate-from-approvals-and-causal-claims.md +0 -0
  107. {whykit-0.5.1 → whykit-0.6.0}/examples/outcomes/06-decisions/decision-log.md +0 -0
  108. {whykit-0.5.1 → whykit-0.6.0}/examples/outcomes/AGENTS.md +0 -0
  109. {whykit-0.5.1 → whykit-0.6.0}/examples/outcomes/Home.md +0 -0
  110. {whykit-0.5.1 → whykit-0.6.0}/examples/outcomes/README.md +0 -0
  111. {whykit-0.5.1 → whykit-0.6.0}/examples/outcomes/outcome-input.json +0 -0
  112. {whykit-0.5.1 → whykit-0.6.0}/examples/outcomes/proposal.json +0 -0
  113. {whykit-0.5.1 → whykit-0.6.0}/examples/outcomes/whykit.toml +0 -0
  114. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/.gitignore +0 -0
  115. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/00-context/README.md +0 -0
  116. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/00-context/company.md +0 -0
  117. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/00-context/evidence-register.md +0 -0
  118. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/00-context/goals.md +0 -0
  119. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/00-context/review-log.md +0 -0
  120. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/00-context/terminology.md +0 -0
  121. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/06-decisions/README.md +0 -0
  122. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/06-decisions/d-001-store-money-as-integer-cents.md +0 -0
  123. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/06-decisions/d-002-keep-the-ledger-on-a-single-postgres-primary.md +0 -0
  124. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/06-decisions/d-003-make-every-webhook-handler-idempotent.md +0 -0
  125. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/06-decisions/d-004-render-the-checkout-page-on-the-server.md +0 -0
  126. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/06-decisions/d-005-keep-decision-records-in-the-main-repository.md +0 -0
  127. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/06-decisions/d-006-render-checkout-on-the-client-with-server-side-validation.md +0 -0
  128. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/06-decisions/decision-log.md +0 -0
  129. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/AGENTS.md +0 -0
  130. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/Home.md +0 -0
  131. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/INTEROP.md +0 -0
  132. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/OBSIDIAN.md +0 -0
  133. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/assets/README.md +0 -0
  134. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/notes/README.md +0 -0
  135. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/reports/README.md +0 -0
  136. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/templates/README.md +0 -0
  137. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/templates/decision-record-template.md +0 -0
  138. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/templates/document-template.md +0 -0
  139. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/templates/experiment-template.md +0 -0
  140. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/templates/meeting-note-template.md +0 -0
  141. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/templates/research-note-template.md +0 -0
  142. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/templates/source-ingestion-template.md +0 -0
  143. {whykit-0.5.1 → whykit-0.6.0}/examples/payments/whykit.toml +0 -0
  144. {whykit-0.5.1 → whykit-0.6.0}/examples/provenance/00-context/artifacts/E-004/0aa321978f794bb048b587c157923b3cdd70510ecaf47ac8728572b9bc2dcf4f.json +0 -0
  145. {whykit-0.5.1 → whykit-0.6.0}/examples/provenance/00-context/claims/c-001.md +0 -0
  146. {whykit-0.5.1 → whykit-0.6.0}/examples/provenance/00-context/evidence-register.md +0 -0
  147. {whykit-0.5.1 → whykit-0.6.0}/examples/provenance/00-context/observations/E-004.json +0 -0
  148. {whykit-0.5.1 → whykit-0.6.0}/examples/provenance/00-context/review-log.md +0 -0
  149. {whykit-0.5.1 → whykit-0.6.0}/examples/provenance/06-decisions/d-001-bind-approval-to-reviewed-record-bytes.md +0 -0
  150. {whykit-0.5.1 → whykit-0.6.0}/examples/provenance/06-decisions/d-002-classify-individual-evidence-rows-without-lowering-their-register-floor.md +0 -0
  151. {whykit-0.5.1 → whykit-0.6.0}/examples/provenance/06-decisions/d-003-keep-claims-and-source-versions-separate-from-approved-reasoning.md +0 -0
  152. {whykit-0.5.1 → whykit-0.6.0}/examples/provenance/06-decisions/d-004-record-source-observations-separately-from-immutable-captures.md +0 -0
  153. {whykit-0.5.1 → whykit-0.6.0}/examples/provenance/06-decisions/decision-log.md +0 -0
  154. {whykit-0.5.1 → whykit-0.6.0}/examples/provenance/AGENTS.md +0 -0
  155. {whykit-0.5.1 → whykit-0.6.0}/examples/provenance/Home.md +0 -0
  156. {whykit-0.5.1 → whykit-0.6.0}/examples/provenance/README.md +0 -0
  157. {whykit-0.5.1 → whykit-0.6.0}/examples/provenance/proposal.json +0 -0
  158. {whykit-0.5.1 → whykit-0.6.0}/examples/provenance/whykit.toml +0 -0
  159. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/.gitignore +0 -0
  160. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/00-context/README.md +0 -0
  161. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/00-context/company.md +0 -0
  162. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/00-context/evidence-register.md +0 -0
  163. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/00-context/goals.md +0 -0
  164. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/00-context/review-log.md +0 -0
  165. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/00-context/terminology.md +0 -0
  166. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/06-decisions/README.md +0 -0
  167. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/06-decisions/d-001-start-with-a-minimal-whykit-vault.md +0 -0
  168. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/06-decisions/d-002-keep-the-ledger-to-evidence-and-decisions.md +0 -0
  169. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/06-decisions/decision-log.md +0 -0
  170. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/AGENTS.md +0 -0
  171. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/Home.md +0 -0
  172. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/INTEROP.md +0 -0
  173. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/OBSIDIAN.md +0 -0
  174. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/README.md +0 -0
  175. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/assets/README.md +0 -0
  176. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/notes/README.md +0 -0
  177. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/reports/README.md +0 -0
  178. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/templates/README.md +0 -0
  179. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/templates/decision-record-template.md +0 -0
  180. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/templates/document-template.md +0 -0
  181. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/templates/research-note-template.md +0 -0
  182. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/templates/source-ingestion-template.md +0 -0
  183. {whykit-0.5.1 → whykit-0.6.0}/examples/tiny/whykit.toml +0 -0
  184. {whykit-0.5.1 → whykit-0.6.0}/hatch_build.py +0 -0
  185. {whykit-0.5.1 → whykit-0.6.0}/schemas/adopt-report.schema.json +0 -0
  186. {whykit-0.5.1 → whykit-0.6.0}/schemas/agent-eval-result.schema.json +0 -0
  187. {whykit-0.5.1 → whykit-0.6.0}/schemas/agent-preflight-result.schema.json +0 -0
  188. {whykit-0.5.1 → whykit-0.6.0}/schemas/backlinks-report.schema.json +0 -0
  189. {whykit-0.5.1 → whykit-0.6.0}/schemas/check-report.schema.json +0 -0
  190. {whykit-0.5.1 → whykit-0.6.0}/schemas/claim-list.schema.json +0 -0
  191. {whykit-0.5.1 → whykit-0.6.0}/schemas/claim-provenance.schema.json +0 -0
  192. {whykit-0.5.1 → whykit-0.6.0}/schemas/claim-record.schema.json +0 -0
  193. {whykit-0.5.1 → whykit-0.6.0}/schemas/claim-show.schema.json +0 -0
  194. {whykit-0.5.1 → whykit-0.6.0}/schemas/claim-verification.schema.json +0 -0
  195. {whykit-0.5.1 → whykit-0.6.0}/schemas/compiled-context.schema.json +0 -0
  196. {whykit-0.5.1 → whykit-0.6.0}/schemas/connect-result.schema.json +0 -0
  197. {whykit-0.5.1 → whykit-0.6.0}/schemas/context-bundle.schema.json +0 -0
  198. {whykit-0.5.1 → whykit-0.6.0}/schemas/context-pack.schema.json +0 -0
  199. {whykit-0.5.1 → whykit-0.6.0}/schemas/context-verification.schema.json +0 -0
  200. {whykit-0.5.1 → whykit-0.6.0}/schemas/decision-approval-result.schema.json +0 -0
  201. {whykit-0.5.1 → whykit-0.6.0}/schemas/decision-record.schema.json +0 -0
  202. {whykit-0.5.1 → whykit-0.6.0}/schemas/deep-impact.schema.json +0 -0
  203. {whykit-0.5.1 → whykit-0.6.0}/schemas/diff-report.schema.json +0 -0
  204. {whykit-0.5.1 → whykit-0.6.0}/schemas/doctor-report.schema.json +0 -0
  205. {whykit-0.5.1 → whykit-0.6.0}/schemas/document-frontmatter.schema.json +0 -0
  206. {whykit-0.5.1 → whykit-0.6.0}/schemas/downgrade-check.schema.json +0 -0
  207. {whykit-0.5.1 → whykit-0.6.0}/schemas/error.schema.json +0 -0
  208. {whykit-0.5.1 → whykit-0.6.0}/schemas/evidence-artifact.schema.json +0 -0
  209. {whykit-0.5.1 → whykit-0.6.0}/schemas/evidence-entry.schema.json +0 -0
  210. {whykit-0.5.1 → whykit-0.6.0}/schemas/evidence-list.schema.json +0 -0
  211. {whykit-0.5.1 → whykit-0.6.0}/schemas/evidence-retire-result.schema.json +0 -0
  212. {whykit-0.5.1 → whykit-0.6.0}/schemas/explorer-index.schema.json +0 -0
  213. {whykit-0.5.1 → whykit-0.6.0}/schemas/github-import-receipt.schema.json +0 -0
  214. {whykit-0.5.1 → whykit-0.6.0}/schemas/github-import-result.schema.json +0 -0
  215. {whykit-0.5.1 → whykit-0.6.0}/schemas/graph.schema.json +0 -0
  216. {whykit-0.5.1 → whykit-0.6.0}/schemas/history-report.schema.json +0 -0
  217. {whykit-0.5.1 → whykit-0.6.0}/schemas/hybrid-retrieval.schema.json +0 -0
  218. {whykit-0.5.1 → whykit-0.6.0}/schemas/impact-dependencies.schema.json +0 -0
  219. {whykit-0.5.1 → whykit-0.6.0}/schemas/impact-report.schema.json +0 -0
  220. {whykit-0.5.1 → whykit-0.6.0}/schemas/init-result.schema.json +0 -0
  221. {whykit-0.5.1 → whykit-0.6.0}/schemas/knowledge-export-result.schema.json +0 -0
  222. {whykit-0.5.1 → whykit-0.6.0}/schemas/knowledge-migration.schema.json +0 -0
  223. {whykit-0.5.1 → whykit-0.6.0}/schemas/knowledge-restore-result.schema.json +0 -0
  224. {whykit-0.5.1 → whykit-0.6.0}/schemas/knowledge-v2.schema.json +0 -0
  225. {whykit-0.5.1 → whykit-0.6.0}/schemas/lint-report.schema.json +0 -0
  226. {whykit-0.5.1 → whykit-0.6.0}/schemas/lint-sarif.schema.json +0 -0
  227. {whykit-0.5.1 → whykit-0.6.0}/schemas/outcome-create.schema.json +0 -0
  228. {whykit-0.5.1 → whykit-0.6.0}/schemas/outcome-list.schema.json +0 -0
  229. {whykit-0.5.1 → whykit-0.6.0}/schemas/outcome-record.schema.json +0 -0
  230. {whykit-0.5.1 → whykit-0.6.0}/schemas/outcome-show.schema.json +0 -0
  231. {whykit-0.5.1 → whykit-0.6.0}/schemas/outcome-verification.schema.json +0 -0
  232. {whykit-0.5.1 → whykit-0.6.0}/schemas/policy.schema.json +0 -0
  233. {whykit-0.5.1 → whykit-0.6.0}/schemas/provenance-write.schema.json +0 -0
  234. {whykit-0.5.1 → whykit-0.6.0}/schemas/provenance.schema.json +0 -0
  235. {whykit-0.5.1 → whykit-0.6.0}/schemas/publication-preview.schema.json +0 -0
  236. {whykit-0.5.1 → whykit-0.6.0}/schemas/query-result.schema.json +0 -0
  237. {whykit-0.5.1 → whykit-0.6.0}/schemas/record-create.schema.json +0 -0
  238. {whykit-0.5.1 → whykit-0.6.0}/schemas/recovery-result.schema.json +0 -0
  239. {whykit-0.5.1 → whykit-0.6.0}/schemas/review-event.schema.json +0 -0
  240. {whykit-0.5.1 → whykit-0.6.0}/schemas/review-queue.schema.json +0 -0
  241. {whykit-0.5.1 → whykit-0.6.0}/schemas/review-record-result.schema.json +0 -0
  242. {whykit-0.5.1 → whykit-0.6.0}/schemas/rule-catalog.schema.json +0 -0
  243. {whykit-0.5.1 → whykit-0.6.0}/schemas/rule-detail.schema.json +0 -0
  244. {whykit-0.5.1 → whykit-0.6.0}/schemas/scope-check.schema.json +0 -0
  245. {whykit-0.5.1 → whykit-0.6.0}/schemas/scope-suggestions.schema.json +0 -0
  246. {whykit-0.5.1 → whykit-0.6.0}/schemas/snapshot-verify.schema.json +0 -0
  247. {whykit-0.5.1 → whykit-0.6.0}/schemas/snapshot.schema.json +0 -0
  248. {whykit-0.5.1 → whykit-0.6.0}/schemas/source-observations.schema.json +0 -0
  249. {whykit-0.5.1 → whykit-0.6.0}/schemas/status-report.schema.json +0 -0
  250. {whykit-0.5.1 → whykit-0.6.0}/schemas/temporal-graph.schema.json +0 -0
  251. {whykit-0.5.1 → whykit-0.6.0}/schemas/trace-report.schema.json +0 -0
  252. {whykit-0.5.1 → whykit-0.6.0}/schemas/workspace-status.schema.json +0 -0
  253. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/adopt.py +0 -0
  254. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/agent_eval.py +0 -0
  255. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/agent_preflight.py +0 -0
  256. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/artifact_store.py +0 -0
  257. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/backlinks.py +0 -0
  258. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/check.py +0 -0
  259. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/ci_formats.py +0 -0
  260. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/claim_ledger.py +0 -0
  261. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/claim_provenance.py +0 -0
  262. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/compiled_context.py +0 -0
  263. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/completion.py +0 -0
  264. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/config.py +0 -0
  265. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/connect.py +0 -0
  266. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/console.py +0 -0
  267. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/context.py +0 -0
  268. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/context_applicability.py +0 -0
  269. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/contract.py +0 -0
  270. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/contract_schemas/backlinks-report.schema.json +0 -0
  271. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/contract_schemas/context-bundle.schema.json +0 -0
  272. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/contract_schemas/context-pack.schema.json +0 -0
  273. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/contract_schemas/impact-report.schema.json +0 -0
  274. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/contract_schemas/query-result.schema.json +0 -0
  275. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/contract_schemas/status-report.schema.json +0 -0
  276. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/contract_schemas/trace-report.schema.json +0 -0
  277. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/dependency_graph.py +0 -0
  278. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/diff.py +0 -0
  279. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/evidence.py +0 -0
  280. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/github_import.py +0 -0
  281. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/hybrid_retrieval.py +0 -0
  282. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/immutability.py +0 -0
  283. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/impact.py +0 -0
  284. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/impact_contract.py +0 -0
  285. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/init_layout.py +0 -0
  286. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/io.py +0 -0
  287. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/knowledge_v2.py +0 -0
  288. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/knowledge_visibility.py +0 -0
  289. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/lint.py +0 -0
  290. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/lsp.py +0 -0
  291. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/markdown_code.py +0 -0
  292. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/messages.py +0 -0
  293. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/outcome_ledger.py +0 -0
  294. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/pack.py +0 -0
  295. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/parse_cache.py +0 -0
  296. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/placeholders.py +0 -0
  297. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/promote.py +0 -0
  298. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/py.typed +0 -0
  299. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/query.py +0 -0
  300. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/retrieval.py +0 -0
  301. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/review.py +0 -0
  302. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/review_history.py +0 -0
  303. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/rule_policy.py +0 -0
  304. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/rules.py +0 -0
  305. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/scaffold.py +0 -0
  306. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/sensitivity.py +0 -0
  307. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/snapshot.py +0 -0
  308. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/status.py +0 -0
  309. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/tables.py +0 -0
  310. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/00-context/README.md +0 -0
  311. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/00-context/company.md +0 -0
  312. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/00-context/evidence-register.md +0 -0
  313. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/00-context/goals.md +0 -0
  314. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/00-context/review-log.md +0 -0
  315. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/00-context/terminology.md +0 -0
  316. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/01-strategy/README.md +0 -0
  317. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/02-discoverability/README.md +0 -0
  318. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/03-website/README.md +0 -0
  319. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/04-automation/README.md +0 -0
  320. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/05-operations/README.md +0 -0
  321. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/06-decisions/README.md +0 -0
  322. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/06-decisions/decision-log.md +0 -0
  323. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/07-research/README.md +0 -0
  324. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/AGENTS.md +0 -0
  325. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/Home.md +0 -0
  326. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/INTEROP.md +0 -0
  327. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/OBSIDIAN.md +0 -0
  328. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/README.md +0 -0
  329. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/assets/README.md +0 -0
  330. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/reports/README.md +0 -0
  331. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/templates/README.md +0 -0
  332. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/templates/automation-spec-template.md +0 -0
  333. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/templates/decision-record-template.md +0 -0
  334. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/templates/document-template.md +0 -0
  335. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/templates/experiment-template.md +0 -0
  336. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/templates/meeting-note-template.md +0 -0
  337. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/templates/page-brief-template.md +0 -0
  338. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/templates/research-note-template.md +0 -0
  339. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/templates/source-ingestion-template.md +0 -0
  340. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/template/whykit.toml +0 -0
  341. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/temporal_graph.py +0 -0
  342. {whykit-0.5.1 → whykit-0.6.0}/src/whykit/workspace.py +0 -0
@@ -47,3 +47,4 @@ apps/explorer/playwright-report/
47
47
 
48
48
  # GitHub Pages landing page build output (scripts/build-site.sh)
49
49
  _site/
50
+ ._site.whykit-build/
@@ -7,6 +7,41 @@ CLI and the lint rule codes.
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.6.0] - 2026-12-01
11
+
12
+ ### Added
13
+
14
+ - `whykit init --profile gtm` names the existing optional GTM starter.
15
+
16
+ - `whykit trace D-NNN` takes the decision ID positionally, like `impact`,
17
+ `backlinks` and `context`; `--decision D-NNN` keeps working.
18
+
19
+ - The MCP `query` tool accepts `ranking`: `substring` (default, unchanged),
20
+ `auto` (exact phrase first, BM25 over any of its words when the phrase
21
+ matches nothing) or `bm25`. Responses report the ranking used in
22
+ `query.ranking`, and a multi-word phrase with no exact match carries a
23
+ `query.hint` suggesting `auto`, because agents tend to send loose keywords
24
+ that rarely occur as one exact phrase. Sensitivity filtering and cursor
25
+ binding apply to every ranking.
26
+
27
+ ### Fixed
28
+
29
+ - A proposed successor leaves the approved decision in scope and in its trace
30
+ until the successor takes effect.
31
+ - Explorer preserves graph links exported by the CLI, including Unicode aliases
32
+ and note names beginning with `http-`. The live demo opens a payment decision
33
+ with a changed source.
34
+ - Site builds preserve unrecognised destinations and edits to an earlier build.
35
+ - Git and saved patches report both paths of a rename and watch terms in deleted
36
+ lines. Local cited source paths can include spaces. `affected --base` measures
37
+ changes since the common ancestor. Use `--compare-to` for direct comparison.
38
+ - Plain ADRs can prefix the written status with a check mark, cross or hourglass.
39
+ `affected` uses that status to decide whether the ADR still applies.
40
+
41
+ ### Security
42
+
43
+ - Updated the Explorer's transitive `cross-spawn` dependency to 7.1.2.
44
+
10
45
  ## [0.5.1] - 2026-11-14
11
46
 
12
47
  ### Fixed
@@ -1265,7 +1300,8 @@ Initial implementation. No package was published under this version.
1265
1300
  rules and common secret leaks.
1266
1301
  - JSON Schemas, a worked example vault, and an optional local Explorer.
1267
1302
 
1268
- [Unreleased]: https://github.com/CometWeb-io/whykit/compare/v0.5.1...HEAD
1303
+ [Unreleased]: https://github.com/CometWeb-io/whykit/compare/v0.6.0...HEAD
1304
+ [0.6.0]: https://github.com/CometWeb-io/whykit/compare/v0.5.1...v0.6.0
1269
1305
  [0.5.1]: https://github.com/CometWeb-io/whykit/compare/v0.5.0...v0.5.1
1270
1306
  [0.5.0]: https://github.com/CometWeb-io/whykit/compare/v0.4.0...v0.5.0
1271
1307
  [0.3.2]: https://github.com/CometWeb-io/whykit/compare/v0.3.1...v0.3.2
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: whykit
3
- Version: 0.5.1
3
+ Version: 0.6.0
4
4
  Summary: Keep decisions, their reasoning, and supporting sources together in Markdown
5
5
  Project-URL: Homepage, https://github.com/CometWeb-io/whykit
6
6
  Project-URL: Documentation, https://github.com/CometWeb-io/whykit#readme
@@ -41,38 +41,51 @@ Description-Content-Type: text/markdown
41
41
 
42
42
  <!-- mcp-name: io.github.CometWeb-io/whykit -->
43
43
 
44
- ### Know which decisions a change touches, and which of them need another look.
44
+ ### Know why every decision was made.
45
45
 
46
- Your coding agent sees the code, not the reasons behind it, so it "fixes"
47
- things that were deliberate. WhyKit keeps decisions and their sources as plain
48
- Markdown in Git, maps every change to the decisions that govern it, and flags
49
- the ones whose evidence or review has gone out of date: in the pull request,
50
- before merge, and for Claude Code, Cursor or Codex before they edit.
46
+ Decisions about code, product or go-to-market get made for reasons that end up
47
+ in someone's head or an old thread. WhyKit keeps those decisions and the sources
48
+ behind them as Markdown in Git. It flags a decision when a source changes or a
49
+ review is due, shows which decisions a pull request touches, and lets Claude
50
+ Code, Codex or Cursor look them up before they act, so an agent doesn't "fix"
51
+ something that was deliberate.
51
52
 
52
53
  [![CI](https://github.com/CometWeb-io/whykit/actions/workflows/ci.yml/badge.svg)](https://github.com/CometWeb-io/whykit/actions/workflows/ci.yml)
53
54
  [![PyPI](https://img.shields.io/pypi/v/whykit?color=05F29B)](https://pypi.org/project/whykit/)
54
55
  [![Python](https://img.shields.io/pypi/pyversions/whykit)](https://pypi.org/project/whykit/)
55
56
  [![License](https://img.shields.io/badge/license-Apache--2.0-blue)](https://opensource.org/licenses/Apache-2.0)
56
57
  [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/CometWeb-io/whykit/badge)](https://securityscorecards.dev/viewer/?uri=github.com/CometWeb-io/whykit)
58
+ [![CometWeb-io/whykit MCP server](https://glama.ai/mcp/servers/CometWeb-io/whykit/badges/score.svg)](https://glama.ai/mcp/servers/CometWeb-io/whykit)
57
59
  [![Website](https://img.shields.io/badge/website-whykit.cometweb.io-05F29B)](https://whykit.cometweb.io/)
58
60
 
59
- **No runtime dependencies · Offline by design · Your data stays Markdown**
61
+ **Open source from CometWeb · Apache-2.0 · No runtime dependencies · Your data stays Markdown**
60
62
 
61
- [Live demo](https://whykit.cometweb.io/demo/) · [Tutorial](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/tutorials/catch-decision-drift.md) · [Connect agents](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/agents.md) · [Docs](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/README.md) · [Roadmap](https://github.com/CometWeb-io/whykit/blob/v0.5.1/ROADMAP.md)
63
+ [Live demo](https://whykit.cometweb.io/demo/#doc=notes%2Fledger-change) · [Tutorial](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/tutorials/catch-decision-drift.md) · [Connect agents](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/agents.md) · [Docs](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/README.md) · [Roadmap](https://github.com/CometWeb-io/whykit/blob/v0.6.0/ROADMAP.md)
62
64
 
63
- ![WhyKit Explorer: decisions, their supersession chain and a timeline, from the synthetic Northline example vault.](https://raw.githubusercontent.com/CometWeb-io/whykit/v0.5.1/docs/media/explorer-demo.gif)
65
+ ![WhyKit Explorer: decisions, their supersession chain and a timeline, from the synthetic Northline example vault.](https://raw.githubusercontent.com/CometWeb-io/whykit/v0.6.0/docs/media/explorer-demo.gif)
64
66
 
65
67
  </div>
66
68
 
69
+ Source version **0.6.0** improves how WhyKit finds decisions affected by a Git
70
+ change, including when a file moves or a line is removed. See the
71
+ [changelog](https://github.com/CometWeb-io/whykit/blob/v0.6.0/CHANGELOG.md) for details and the [PyPI page](https://pypi.org/project/whykit/)
72
+ for the latest published package.
73
+
67
74
  ## What it does
68
75
 
69
- Each decision cites its sources (`E-001`) and declares the code it governs
70
- (`applies_to: ["src/payments/**"]`). Before a change lands, one command answers
71
- *which decisions does this touch, and has anything they rest on changed?*
76
+ Before a change lands, find the decisions it touches and any sources that
77
+ need another look. With Git, Python 3.11+ and uv 0.13.4+, run the bundled
78
+ payments example:
72
79
 
73
- ```console
74
- $ whykit affected --root examples/payments --today 2026-11-12 \
80
+ ```bash
81
+ uv tool install whykit
82
+ git clone --depth 1 https://github.com/CometWeb-io/whykit.git whykit-example
83
+ cd whykit-example
84
+ whykit affected --root examples/payments --today 2026-11-12 \
75
85
  --files src/payments/ledger.py src/webhooks/refunds.py README.md
86
+ ```
87
+
88
+ ```text
76
89
  WhyKit affected — 3 changed files · 2 decisions apply · 1 needs review · 1 file not covered by any decision
77
90
  D-001 review Store money as integer cents
78
91
  files: src/payments/ledger.py
@@ -83,13 +96,12 @@ WhyKit affected — 3 changed files · 2 decisions apply · 1 needs review · 1
83
96
  1 live decision(s) declare no applies_to scope: D-005
84
97
  ```
85
98
 
86
- That is real output from the synthetic [payments example](https://github.com/CometWeb-io/whykit/blob/v0.5.1/examples/payments/);
87
- a test keeps this block in step with the code. The ledger decision rests on an audit checklist
88
- that has since been replaced, so its reasoning needs a look before this change
89
- merges. WhyKit says what it checked and what it did not: uncovered files and
90
- unscoped decisions are listed, and it never claims a change is safe.
99
+ The [payments example](https://github.com/CometWeb-io/whykit/blob/v0.6.0/examples/payments/) uses a fixed date so review dates
100
+ stay reproducible. The ledger decision cites an audit checklist that was
101
+ replaced, so its reasoning needs a look before the change merges. The report
102
+ also identifies files and decisions without a matching scope.
91
103
 
92
- ![A source, a decision and a review, kept together in WhyKit.](https://raw.githubusercontent.com/CometWeb-io/whykit/v0.5.1/docs/media/overview.svg)
104
+ ![A source, a decision and a review, kept together in WhyKit.](https://raw.githubusercontent.com/CometWeb-io/whykit/v0.6.0/docs/media/overview.svg)
93
105
 
94
106
  - **Sources** get stable IDs and can be retired or replaced; captured sources
95
107
  are pinned by their bytes.
@@ -140,19 +152,19 @@ D-001 06-decisions/d-001-ship-sso-before-audit-logs.md (draft)
140
152
  The lint check reports five expected warnings: one for the unfinished draft
141
153
  and four for unanswered questions in the vault's `AGENTS.md`. Fill in the
142
154
  draft's context, options and consequences, then
143
- [approve it](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/guide.md#approve-a-decision). If `whykit` is not found, run
155
+ [approve it](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/guide.md#approve-a-decision). If `whykit` is not found, run
144
156
  `uv tool update-shell` and open a new terminal.
145
157
 
146
158
  ## Catch decision drift
147
159
 
148
- Declare what each decision governs, then ask about any change, planned or
149
- committed:
160
+ In your own vault, set `applies_to` on a draft to declare which files it
161
+ governs, then [approve the decision](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/guide.md#approve-a-decision).
162
+ `affected` reports decisions that are already in force. Once the approved
163
+ decision covers `src/payments/ledger.py`, check a planned or committed change:
150
164
 
151
165
  ```bash
152
- whykit new --root my-ledger decision "Store money as integer cents" \
153
- --owner Payments --status draft --source E-001 --applies-to 'src/payments/**'
154
166
  whykit affected --root my-ledger --files src/payments/ledger.py # before you edit
155
- whykit affected --root my-ledger --base origin/main --format markdown # in a pull request
167
+ whykit affected --root my-ledger --base "$(git merge-base origin/main HEAD)" --format markdown
156
168
  ```
157
169
 
158
170
  Don't want to write scopes by hand? Let Git suggest them from the commits that
@@ -170,7 +182,7 @@ request modifies it, every decision citing it is flagged.
170
182
  Decisions about a library or a convention can watch for words instead of
171
183
  paths: with `watch_terms: ["moment"]`, a change that adds `import moment`
172
184
  surfaces the "Use Luxon" decision. An agent can send its planned patch before
173
- applying it. We [replayed real ADR repositories](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/field-evaluation.md) to
185
+ applying it. We [replayed real ADR repositories](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/field-evaluation.md) to
174
186
  tune this, and publish what did not work too.
175
187
 
176
188
  Already have ADRs? Skip the vault and point it at the folder; scopes are
@@ -180,9 +192,9 @@ inferred from the paths each ADR mentions, and moved code is flagged:
180
192
  whykit affected --adr docs/decisions --base origin/main
181
193
  ```
182
194
 
183
- The [ten-minute tutorial](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/tutorials/catch-decision-drift.md) goes from an
195
+ The [ten-minute tutorial](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/tutorials/catch-decision-drift.md) goes from an
184
196
  empty repository to a flagged decision and its successor; every command in it
185
- runs in the test suite. [Affected decisions](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/affected.md) covers scope
197
+ runs in the test suite. [Affected decisions](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/affected.md) covers scope
186
198
  patterns, every signal and a pull-request workflow.
187
199
 
188
200
  ## Connect your agents
@@ -204,7 +216,7 @@ sensitivity ceiling are never returned. The instruction block also tells the
204
216
  agent to call `affected` on the files it plans to change. `whykit connect`,
205
217
  `whykit affected` and the `affected` tool are new in 0.5.0;
206
218
  the MCP server itself is in 0.4.0.
207
- [Read the agent guide](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/agents.md).
219
+ [Read the agent guide](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/agents.md).
208
220
 
209
221
  ## Gate pull requests
210
222
 
@@ -223,18 +235,18 @@ credential slips into the vault:
223
235
  affected: "true" # add the decisions this change touches to the job summary
224
236
  ```
225
237
 
226
- See [gate pull requests](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/tutorials/gate-pull-requests.md) for the full
227
- workflow and a good and a bad example, and [CI integration](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/ci.md) for
238
+ See [gate pull requests](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/tutorials/gate-pull-requests.md) for the full
239
+ workflow and a good and a bad example, and [CI integration](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/ci.md) for
228
240
  PR comments, SARIF and other CI systems.
229
241
 
230
242
  ## What would you like to do?
231
243
 
232
- - **See it on a real-looking vault:** [live Explorer demo](https://whykit.cometweb.io/demo/) of the payments example.
233
- - **Record a decision and change your mind later:** [record, check and supersede](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/tutorials/record-and-supersede.md).
234
- - **Bring existing notes or ADRs:** [adopt existing Markdown](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/guide.md#already-have-a-pile-of-markdown).
235
- - **Browse the vault in a web UI:** [run the Explorer](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/guide.md#browse-the-vault-in-the-explorer).
236
- - **Edit in Obsidian or your editor:** [Obsidian](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/obsidian.md) · [language server](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/editors.md).
237
- - **Review a changed source and share a filtered export:** [import, review and export](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/tutorials/review-and-export.md).
244
+ - **Review a payment change.** Follow the reviewer from the changed file to the decision and its replacement evidence in the [live Explorer demo](https://whykit.cometweb.io/demo/#doc=notes%2Fledger-change) of the payments example.
245
+ - **Record a decision and change your mind later:** [record, check and supersede](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/tutorials/record-and-supersede.md).
246
+ - **Bring existing notes or ADRs:** [adopt existing Markdown](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/guide.md#already-have-a-pile-of-markdown).
247
+ - **Browse the vault in a web UI:** [run the Explorer](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/guide.md#browse-the-vault-in-the-explorer).
248
+ - **Edit in Obsidian or your editor:** [Obsidian](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/obsidian.md) · [language server](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/editors.md).
249
+ - **Review a changed source and share a filtered export:** [import, review and export](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/tutorials/review-and-export.md).
238
250
 
239
251
  ## Why WhyKit
240
252
 
@@ -248,7 +260,7 @@ PR comments, SARIF and other CI systems.
248
260
  | Read-only MCP access for agents, sensitivity-filtered | | | ✓ |
249
261
  | Works offline, no account, no service | ✓ | | ✓ |
250
262
 
251
- Already happy with ADRs? Keep them; [here is when they are the better fit](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/project-positioning.md).
263
+ Already happy with ADRs? Keep them; [here is when they are the better fit](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/project-positioning.md).
252
264
  When you outgrow them, `whykit adopt --profile adr-only` brings them in.
253
265
 
254
266
  ## Built to be trusted
@@ -258,8 +270,8 @@ When you outgrow them, `whykit adopt --profile adr-only` brings them in.
258
270
  - **Nothing phones home.** No telemetry, accounts or network calls; a test
259
271
  breaks the socket layer and runs every vault command.
260
272
  - **A stable machine contract.** Every `--json` output has a published
261
- [JSON Schema](https://github.com/CometWeb-io/whykit/blob/v0.5.1/schemas/); error codes and exit codes are documented in the
262
- [automation contract](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/automation.md).
273
+ [JSON Schema](https://github.com/CometWeb-io/whykit/blob/v0.6.0/schemas/); error codes and exit codes are documented in the
274
+ [automation contract](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/automation.md).
263
275
  - **Tested hard.** About 1,800 tests, property and fuzz tests for the parsers,
264
276
  reproducible builds, an SBOM and OpenSSF Scorecard on every release.
265
277
 
@@ -272,26 +284,26 @@ MCP server and exports return; they are not access control, so keep real
272
284
  vaults in private repositories. `whykit affected` matches files by path, not
273
285
  by meaning, and sees only changes recorded in the vault. Agent instructions are
274
286
  a request: pair them with the CI gate. The project is a public alpha; see the
275
- [feature status](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/feature-status.md) and the
276
- [0.4 upgrade guide](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/migration-0.4.md).
287
+ [feature status](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/feature-status.md) and the
288
+ [0.4 upgrade guide](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/migration-0.4.md).
277
289
 
278
290
  ## Documentation
279
291
 
280
- - [Start here](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/README.md) · [Concepts](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/concepts.md) · [How-to guides](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/guide.md) · [Connect agents](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/agents.md) · [Affected decisions](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/affected.md)
281
- - [Command reference](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/cli.md) · [Configuration](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/configuration.md) · [Lint rules](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/rules.md)
282
- - [CI integration](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/ci.md) · [MCP server](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/mcp.md) · [Troubleshooting](https://github.com/CometWeb-io/whykit/blob/v0.5.1/docs/troubleshooting.md)
283
- - Example vaults: [payments](https://github.com/CometWeb-io/whykit/blob/v0.5.1/examples/payments/), [tiny](https://github.com/CometWeb-io/whykit/blob/v0.5.1/examples/tiny/) and [Northline](https://github.com/CometWeb-io/whykit/blob/v0.5.1/examples/northline/)
292
+ - [Start here](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/README.md) · [Concepts](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/concepts.md) · [How-to guides](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/guide.md) · [Connect agents](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/agents.md) · [Affected decisions](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/affected.md)
293
+ - [Command reference](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/cli.md) · [Configuration](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/configuration.md) · [Lint rules](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/rules.md)
294
+ - [CI integration](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/ci.md) · [MCP server](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/mcp.md) · [Troubleshooting](https://github.com/CometWeb-io/whykit/blob/v0.6.0/docs/troubleshooting.md)
295
+ - Example vaults: [payments](https://github.com/CometWeb-io/whykit/blob/v0.6.0/examples/payments/), [tiny](https://github.com/CometWeb-io/whykit/blob/v0.6.0/examples/tiny/) and [Northline](https://github.com/CometWeb-io/whykit/blob/v0.6.0/examples/northline/)
284
296
 
285
297
  ## Contributing
286
298
 
287
- Issues and pull requests are welcome. Start with [CONTRIBUTING.md](https://github.com/CometWeb-io/whykit/blob/v0.5.1/CONTRIBUTING.md);
299
+ Issues and pull requests are welcome. Start with [CONTRIBUTING.md](https://github.com/CometWeb-io/whykit/blob/v0.6.0/CONTRIBUTING.md);
288
300
  the whole suite runs offline with the standard library. If WhyKit is useful to
289
301
  you, a ⭐ helps other people find it.
290
302
 
291
- [Contributing](https://github.com/CometWeb-io/whykit/blob/v0.5.1/CONTRIBUTING.md) · [Code of Conduct](https://github.com/CometWeb-io/whykit/blob/v0.5.1/CODE_OF_CONDUCT.md) ·
292
- [Security policy](https://github.com/CometWeb-io/whykit/blob/v0.5.1/SECURITY.md) · [Release checklist](https://github.com/CometWeb-io/whykit/blob/v0.5.1/.github/RELEASE.md) ·
293
- [Changelog](https://github.com/CometWeb-io/whykit/blob/v0.5.1/CHANGELOG.md) · [Roadmap](https://github.com/CometWeb-io/whykit/blob/v0.5.1/ROADMAP.md)
303
+ [Contributing](https://github.com/CometWeb-io/whykit/blob/v0.6.0/CONTRIBUTING.md) · [Code of Conduct](https://github.com/CometWeb-io/whykit/blob/v0.6.0/CODE_OF_CONDUCT.md) ·
304
+ [Security policy](https://github.com/CometWeb-io/whykit/blob/v0.6.0/SECURITY.md) · [Release checklist](https://github.com/CometWeb-io/whykit/blob/v0.6.0/.github/RELEASE.md) ·
305
+ [Changelog](https://github.com/CometWeb-io/whykit/blob/v0.6.0/CHANGELOG.md) · [Roadmap](https://github.com/CometWeb-io/whykit/blob/v0.6.0/ROADMAP.md)
294
306
 
295
307
  Copyright 2026 Maciej Zmitrukiewicz (hello@cometweb.io), licensed under
296
- [Apache-2.0](https://github.com/CometWeb-io/whykit/blob/v0.5.1/LICENSE). [CometWeb](https://cometweb.io) is the product name, not
308
+ [Apache-2.0](https://github.com/CometWeb-io/whykit/blob/v0.6.0/LICENSE). [CometWeb](https://cometweb.io) is the product name, not
297
309
  the copyright holder.
@@ -4,38 +4,51 @@
4
4
 
5
5
  <!-- mcp-name: io.github.CometWeb-io/whykit -->
6
6
 
7
- ### Know which decisions a change touches, and which of them need another look.
7
+ ### Know why every decision was made.
8
8
 
9
- Your coding agent sees the code, not the reasons behind it, so it "fixes"
10
- things that were deliberate. WhyKit keeps decisions and their sources as plain
11
- Markdown in Git, maps every change to the decisions that govern it, and flags
12
- the ones whose evidence or review has gone out of date: in the pull request,
13
- before merge, and for Claude Code, Cursor or Codex before they edit.
9
+ Decisions about code, product or go-to-market get made for reasons that end up
10
+ in someone's head or an old thread. WhyKit keeps those decisions and the sources
11
+ behind them as Markdown in Git. It flags a decision when a source changes or a
12
+ review is due, shows which decisions a pull request touches, and lets Claude
13
+ Code, Codex or Cursor look them up before they act, so an agent doesn't "fix"
14
+ something that was deliberate.
14
15
 
15
16
  [![CI](https://github.com/CometWeb-io/whykit/actions/workflows/ci.yml/badge.svg)](https://github.com/CometWeb-io/whykit/actions/workflows/ci.yml)
16
17
  [![PyPI](https://img.shields.io/pypi/v/whykit?color=05F29B)](https://pypi.org/project/whykit/)
17
18
  [![Python](https://img.shields.io/pypi/pyversions/whykit)](https://pypi.org/project/whykit/)
18
19
  [![License](https://img.shields.io/badge/license-Apache--2.0-blue)](https://opensource.org/licenses/Apache-2.0)
19
20
  [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/CometWeb-io/whykit/badge)](https://securityscorecards.dev/viewer/?uri=github.com/CometWeb-io/whykit)
21
+ [![CometWeb-io/whykit MCP server](https://glama.ai/mcp/servers/CometWeb-io/whykit/badges/score.svg)](https://glama.ai/mcp/servers/CometWeb-io/whykit)
20
22
  [![Website](https://img.shields.io/badge/website-whykit.cometweb.io-05F29B)](https://whykit.cometweb.io/)
21
23
 
22
- **No runtime dependencies · Offline by design · Your data stays Markdown**
24
+ **Open source from CometWeb · Apache-2.0 · No runtime dependencies · Your data stays Markdown**
23
25
 
24
- [Live demo](https://whykit.cometweb.io/demo/) · [Tutorial](docs/tutorials/catch-decision-drift.md) · [Connect agents](docs/agents.md) · [Docs](docs/README.md) · [Roadmap](ROADMAP.md)
26
+ [Live demo](https://whykit.cometweb.io/demo/#doc=notes%2Fledger-change) · [Tutorial](docs/tutorials/catch-decision-drift.md) · [Connect agents](docs/agents.md) · [Docs](docs/README.md) · [Roadmap](ROADMAP.md)
25
27
 
26
28
  ![WhyKit Explorer: decisions, their supersession chain and a timeline, from the synthetic Northline example vault.](docs/media/explorer-demo.gif)
27
29
 
28
30
  </div>
29
31
 
32
+ Source version **0.6.0** improves how WhyKit finds decisions affected by a Git
33
+ change, including when a file moves or a line is removed. See the
34
+ [changelog](CHANGELOG.md) for details and the [PyPI page](https://pypi.org/project/whykit/)
35
+ for the latest published package.
36
+
30
37
  ## What it does
31
38
 
32
- Each decision cites its sources (`E-001`) and declares the code it governs
33
- (`applies_to: ["src/payments/**"]`). Before a change lands, one command answers
34
- *which decisions does this touch, and has anything they rest on changed?*
39
+ Before a change lands, find the decisions it touches and any sources that
40
+ need another look. With Git, Python 3.11+ and uv 0.13.4+, run the bundled
41
+ payments example:
35
42
 
36
- ```console
37
- $ whykit affected --root examples/payments --today 2026-11-12 \
43
+ ```bash
44
+ uv tool install whykit
45
+ git clone --depth 1 https://github.com/CometWeb-io/whykit.git whykit-example
46
+ cd whykit-example
47
+ whykit affected --root examples/payments --today 2026-11-12 \
38
48
  --files src/payments/ledger.py src/webhooks/refunds.py README.md
49
+ ```
50
+
51
+ ```text
39
52
  WhyKit affected — 3 changed files · 2 decisions apply · 1 needs review · 1 file not covered by any decision
40
53
  D-001 review Store money as integer cents
41
54
  files: src/payments/ledger.py
@@ -46,11 +59,10 @@ WhyKit affected — 3 changed files · 2 decisions apply · 1 needs review · 1
46
59
  1 live decision(s) declare no applies_to scope: D-005
47
60
  ```
48
61
 
49
- That is real output from the synthetic [payments example](examples/payments/);
50
- a test keeps this block in step with the code. The ledger decision rests on an audit checklist
51
- that has since been replaced, so its reasoning needs a look before this change
52
- merges. WhyKit says what it checked and what it did not: uncovered files and
53
- unscoped decisions are listed, and it never claims a change is safe.
62
+ The [payments example](examples/payments/) uses a fixed date so review dates
63
+ stay reproducible. The ledger decision cites an audit checklist that was
64
+ replaced, so its reasoning needs a look before the change merges. The report
65
+ also identifies files and decisions without a matching scope.
54
66
 
55
67
  ![A source, a decision and a review, kept together in WhyKit.](docs/media/overview.svg)
56
68
 
@@ -108,14 +120,14 @@ draft's context, options and consequences, then
108
120
 
109
121
  ## Catch decision drift
110
122
 
111
- Declare what each decision governs, then ask about any change, planned or
112
- committed:
123
+ In your own vault, set `applies_to` on a draft to declare which files it
124
+ governs, then [approve the decision](docs/guide.md#approve-a-decision).
125
+ `affected` reports decisions that are already in force. Once the approved
126
+ decision covers `src/payments/ledger.py`, check a planned or committed change:
113
127
 
114
128
  ```bash
115
- whykit new --root my-ledger decision "Store money as integer cents" \
116
- --owner Payments --status draft --source E-001 --applies-to 'src/payments/**'
117
129
  whykit affected --root my-ledger --files src/payments/ledger.py # before you edit
118
- whykit affected --root my-ledger --base origin/main --format markdown # in a pull request
130
+ whykit affected --root my-ledger --base "$(git merge-base origin/main HEAD)" --format markdown
119
131
  ```
120
132
 
121
133
  Don't want to write scopes by hand? Let Git suggest them from the commits that
@@ -192,7 +204,7 @@ PR comments, SARIF and other CI systems.
192
204
 
193
205
  ## What would you like to do?
194
206
 
195
- - **See it on a real-looking vault:** [live Explorer demo](https://whykit.cometweb.io/demo/) of the payments example.
207
+ - **Review a payment change.** Follow the reviewer from the changed file to the decision and its replacement evidence in the [live Explorer demo](https://whykit.cometweb.io/demo/#doc=notes%2Fledger-change) of the payments example.
196
208
  - **Record a decision and change your mind later:** [record, check and supersede](docs/tutorials/record-and-supersede.md).
197
209
  - **Bring existing notes or ADRs:** [adopt existing Markdown](docs/guide.md#already-have-a-pile-of-markdown).
198
210
  - **Browse the vault in a web UI:** [run the Explorer](docs/guide.md#browse-the-vault-in-the-explorer).
@@ -13,9 +13,10 @@ tags: []
13
13
 
14
14
  # Harbor payments example vault
15
15
 
16
- A small, fictional payments team keeps its decisions next to its code. Every
17
- company, person, source and URL here is synthetic, and every note is `public`,
18
- so the whole vault can be published as an Explorer demo.
16
+ A fictional payments team keeps its decisions next to its code.
17
+ Start with [[notes/ledger-change|the ledger change]] to see why a retired audit
18
+ checklist sends a decision back for review. The Explorer demo includes the
19
+ public portion of this example.
19
20
 
20
21
  Each decision declares the code it covers with `applies_to`, so
21
22
  `whykit affected` can map a change to the decisions it touches:
@@ -0,0 +1,39 @@
1
+ ---
2
+ title: "What needs review before changing the payments ledger?"
3
+ aliases: []
4
+ type: guide
5
+ status: approved
6
+ owner: "Payments"
7
+ created: 2026-11-12
8
+ last_updated: 2026-11-12
9
+ source_of_truth: false
10
+ sensitivity: public
11
+ source_ids: ["E-001", "E-005"]
12
+ tags: []
13
+ ---
14
+
15
+ # What needs review before changing the payments ledger?
16
+
17
+ In this fictional payments service, a developer plans to edit `src/payments/ledger.py`.
18
+ The path falls under `src/payments/**`, the scope of
19
+ [[06-decisions/d-001-store-money-as-integer-cents|D-001, Store money as integer cents]].
20
+
21
+ **Needs review.** D-001 cites E-001, the retired 2025 finance audit checklist.
22
+ Its replacement, E-005, requires a currency code on every stored amount. Before
23
+ merging, check that each ledger entry carries its currency. If the team changes
24
+ the rule, record a successor to D-001 that cites E-005.
25
+
26
+ **Applies.** A change to `src/webhooks/refunds.py` matches
27
+ [[06-decisions/d-003-make-every-webhook-handler-idempotent|D-003, Make every webhook handler idempotent]].
28
+ On the same date, WhyKit found no review signal for that decision. The reviewer
29
+ still checks how the handler behaves when the provider retries a refund.
30
+
31
+ ## Reproduce the result
32
+
33
+ From a checkout of WhyKit, run the review as of 12 November 2026. The command
34
+ matches planned paths, so you can run it before creating either file.
35
+
36
+ ```bash
37
+ whykit affected --root examples/payments --today 2026-11-12 \
38
+ --files src/payments/ledger.py src/webhooks/refunds.py
39
+ ```
@@ -3,7 +3,7 @@
3
3
  # hatchling >= 1.27 is required for PEP 639 License-Expression metadata.
4
4
  # hatch-fancy-pypi-readme rewrites the README's relative links for PyPI; it is a
5
5
  # build-time plugin only and never reaches the installed package.
6
- requires = ["hatchling==1.32.4", "hatch-fancy-pypi-readme==25.1.0"]
6
+ requires = ["hatchling==1.33.0", "hatch-fancy-pypi-readme==25.1.0"]
7
7
  build-backend = "hatchling.build"
8
8
 
9
9
  [project]
@@ -48,9 +48,9 @@ mcp = ["mcp>=2.2,<2.4", "opentelemetry-api>=1.45.1", "PyJWT>=2.15.0"]
48
48
  # with --no-dev, so none of this reaches the runtime dependency graph.
49
49
  [dependency-groups]
50
50
  dev = [
51
- "mypy==2.4.0",
52
- "ruff==0.16.10",
53
- "zizmor==1.30.1",
51
+ "mypy==2.4.1",
52
+ "ruff==0.17.6",
53
+ "zizmor==1.32.0",
54
54
  ]
55
55
  # Release-artifact tooling: distribution metadata check (`twine check`) and the
56
56
  # CycloneDX SBOM generator (`cyclonedx-py`). Kept out of `dev` so a normal
@@ -64,7 +64,7 @@ dist = [
64
64
  # .pre-commit-hooks.yaml through `pre-commit try-repo`. Opt in with
65
65
  # `uv sync --group hooks`; the test skips when it is absent.
66
66
  hooks = [
67
- "pre-commit==4.6.2",
67
+ "pre-commit==4.7.0",
68
68
  ]
69
69
 
70
70
  [project.urls]
@@ -57,6 +57,11 @@
57
57
  "string",
58
58
  "null"
59
59
  ]
60
+ },
61
+ "merge_base": {
62
+ "description": "Effective common ancestor for a Git --base comparison.",
63
+ "type": "string",
64
+ "pattern": "^([a-f0-9]{40}|[a-f0-9]{64})$"
60
65
  }
61
66
  },
62
67
  "additionalProperties": true
@@ -10,7 +10,7 @@ shadow the `whykit.lint` submodule for anyone importing it.
10
10
  """
11
11
  from __future__ import annotations
12
12
 
13
- __version__ = "0.5.1"
13
+ __version__ = "0.6.0"
14
14
  __all__ = ["__version__", "TEMPLATE_DIR", "find_vault_root", "is_vault_root", "lint_vault"]
15
15
 
16
16
  from pathlib import Path