@shllg/recense 0.0.1-bootstrap.0 → 0.18.0

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 (475) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +118 -4
  3. package/bin/emend +34 -0
  4. package/bin/recense +43 -0
  5. package/dist/publish-worker.mjs +59726 -0
  6. package/dist/recense.mjs +107418 -0
  7. package/dist/skills/recense-feedback/SKILL.md +253 -0
  8. package/dist/skills/recense-publish/SKILL.md +92 -0
  9. package/dist/skills/recense-review/SKILL.md +447 -0
  10. package/dist/skills/recense-review/references/manifest.md +329 -0
  11. package/dist/skills/recense-review/references/writing.md +554 -0
  12. package/dist/web/assets/App-u0iZM_YS.js +6 -0
  13. package/dist/web/assets/DiffPane-JLKQ2aWP.js +239 -0
  14. package/dist/web/assets/abap-CLvhMVsD.js +1 -0
  15. package/dist/web/assets/actionscript-3-Cs6JJXT5.js +1 -0
  16. package/dist/web/assets/ada-X3Y2mlq2.js +1 -0
  17. package/dist/web/assets/ahk-DwADkxyd.js +1 -0
  18. package/dist/web/assets/ahk2-_6rzW9BS.js +1 -0
  19. package/dist/web/assets/andromeeda-vGVdxbeo.js +1 -0
  20. package/dist/web/assets/angular-html-BswFT_28.js +1 -0
  21. package/dist/web/assets/angular-html-DOLkzBtu.js +1 -0
  22. package/dist/web/assets/angular-ts-DOMhGxLQ.js +1 -0
  23. package/dist/web/assets/apache-U0d_L8uA.js +1 -0
  24. package/dist/web/assets/apex-KFGFyKwG.js +1 -0
  25. package/dist/web/assets/apl-Dio8Ke0X.js +1 -0
  26. package/dist/web/assets/app-BWwVlYjp.js +10 -0
  27. package/dist/web/assets/app-DZgLlLEE.css +2 -0
  28. package/dist/web/assets/applescript-CCn79oCD.js +1 -0
  29. package/dist/web/assets/ara-4CJ0cIlV.js +1 -0
  30. package/dist/web/assets/asciidoc-SCjQUq34.js +1 -0
  31. package/dist/web/assets/asm-Cmm7eHzH.js +1 -0
  32. package/dist/web/assets/astro-CN6YWUG3.js +1 -0
  33. package/dist/web/assets/atkinson-hyperlegible-next-latin-ext-wght-normal-C6vrW8VD.woff2 +0 -0
  34. package/dist/web/assets/atkinson-hyperlegible-next-latin-wght-italic-DC5MiAaX.woff2 +0 -0
  35. package/dist/web/assets/atkinson-hyperlegible-next-latin-wght-normal-BcXVPD7q.woff2 +0 -0
  36. package/dist/web/assets/aurora-x-CDeNXAV0.js +1 -0
  37. package/dist/web/assets/awk-BWXHIvNe.js +1 -0
  38. package/dist/web/assets/ayu-dark-DluEY0Gj.js +1 -0
  39. package/dist/web/assets/ayu-light-C3h-C4tm.js +1 -0
  40. package/dist/web/assets/ayu-mirage-Bqwy1Gya.js +1 -0
  41. package/dist/web/assets/ballerina-B7ZEbQpA.js +1 -0
  42. package/dist/web/assets/bat-C7sJWglS.js +1 -0
  43. package/dist/web/assets/bat-HFWzIrao.js +1 -0
  44. package/dist/web/assets/beancount-C2IN4Vk8.js +1 -0
  45. package/dist/web/assets/berry-DKpUyyne.js +1 -0
  46. package/dist/web/assets/bibtex-Conh3HYz.js +1 -0
  47. package/dist/web/assets/bibtex-DUQXB5kJ.js +1 -0
  48. package/dist/web/assets/bicep-CUHmPFLl.js +1 -0
  49. package/dist/web/assets/bird2-CYIUgYqB.js +1 -0
  50. package/dist/web/assets/blade-BrDpNfUX.js +1 -0
  51. package/dist/web/assets/bsl-gRq8cI6V.js +1 -0
  52. package/dist/web/assets/c-Cz4nF6n_.js +1 -0
  53. package/dist/web/assets/c-SSSlmE39.js +1 -0
  54. package/dist/web/assets/c3-D0apG41V.js +1 -0
  55. package/dist/web/assets/cadence-CQ2zXKGN.js +1 -0
  56. package/dist/web/assets/cairo-D66nqRlU.js +1 -0
  57. package/dist/web/assets/catppuccin-frappe-C9Q5zVZY.js +1 -0
  58. package/dist/web/assets/catppuccin-latte-CtsyrtPq.js +1 -0
  59. package/dist/web/assets/catppuccin-macchiato-R8nAf1vR.js +1 -0
  60. package/dist/web/assets/catppuccin-mocha-DjuaAJKi.js +1 -0
  61. package/dist/web/assets/chapel-C1sUNn9S.js +1 -0
  62. package/dist/web/assets/clarity-CtfBBspg.js +1 -0
  63. package/dist/web/assets/clojure-CAE6QLVB.js +1 -0
  64. package/dist/web/assets/clojure-zIjcJonk.js +1 -0
  65. package/dist/web/assets/cmake-Cpsd-0Y4.js +1 -0
  66. package/dist/web/assets/cmake-T_kMSWuN.js +1 -0
  67. package/dist/web/assets/cobol-BvqUwMCV.js +1 -0
  68. package/dist/web/assets/codeowners-C8r90Shi.js +1 -0
  69. package/dist/web/assets/codeql-oeQT6MSM.js +1 -0
  70. package/dist/web/assets/coffee-BSYIIMkB.js +1 -0
  71. package/dist/web/assets/coffee-NEqv5HL5.js +1 -0
  72. package/dist/web/assets/common-lisp-Cv5bFMCO.js +1 -0
  73. package/dist/web/assets/coq-CGaSfhwR.js +1 -0
  74. package/dist/web/assets/core-D1wsrn6h.js +1 -0
  75. package/dist/web/assets/core-DeNxjJfs.js +4 -0
  76. package/dist/web/assets/core-Do9T5j9E.js +1 -0
  77. package/dist/web/assets/cpp-BDT6bThX.js +1 -0
  78. package/dist/web/assets/cpp-vothkh01.js +1 -0
  79. package/dist/web/assets/crystal-DEF7AEJQ.js +1 -0
  80. package/dist/web/assets/csharp-B3DbjJyj.js +1 -0
  81. package/dist/web/assets/csharp-CFKDkFDZ.js +1 -0
  82. package/dist/web/assets/css-BGIxQoYs.js +1 -0
  83. package/dist/web/assets/css-DgaLhXQH.js +1 -0
  84. package/dist/web/assets/csv-B_R7vXwK.js +1 -0
  85. package/dist/web/assets/csv-k4CB9lhx.js +1 -0
  86. package/dist/web/assets/cue-CE9AQfxI.js +1 -0
  87. package/dist/web/assets/cypher-ClKdZ_lG.js +1 -0
  88. package/dist/web/assets/d-qD-0Kul2.js +1 -0
  89. package/dist/web/assets/dark-plus-Cs2F2srj.js +1 -0
  90. package/dist/web/assets/dart-DjhkpiWP.js +1 -0
  91. package/dist/web/assets/dart-_dH3dQdM.js +1 -0
  92. package/dist/web/assets/dax-BkyTk9wS.js +1 -0
  93. package/dist/web/assets/desktop-Dlh5hvp9.js +1 -0
  94. package/dist/web/assets/diff-CR4ZX0DC.js +1 -0
  95. package/dist/web/assets/diff-counts-CdprTo7g.css +1 -0
  96. package/dist/web/assets/diff-counts-CsDjtKV3.js +43 -0
  97. package/dist/web/assets/diff-eeGLjE2V.js +1 -0
  98. package/dist/web/assets/docker-CAzcIhYn.js +1 -0
  99. package/dist/web/assets/docker-D0LTq72f.js +1 -0
  100. package/dist/web/assets/dotenv-CuH5my32.js +1 -0
  101. package/dist/web/assets/dracula-BHWKrbxM.js +1 -0
  102. package/dist/web/assets/dracula-soft-5eyTD99u.js +1 -0
  103. package/dist/web/assets/dream-maker-DW3nJb8Q.js +1 -0
  104. package/dist/web/assets/edge-B_SBzXGF.js +1 -0
  105. package/dist/web/assets/elixir-BL8v4QDr.js +1 -0
  106. package/dist/web/assets/elixir-BN3BkYei.js +1 -0
  107. package/dist/web/assets/elm-CC1TmzeR.js +1 -0
  108. package/dist/web/assets/emacs-lisp-DR2vtWaj.js +1 -0
  109. package/dist/web/assets/engine-javascript-DKxkqixV.js +141 -0
  110. package/dist/web/assets/engine-javascript-DgfjoSY2.js +141 -0
  111. package/dist/web/assets/erb-BjlLGk-_.js +1 -0
  112. package/dist/web/assets/erlang-CCXss5H6.js +1 -0
  113. package/dist/web/assets/erlang-ir39Pet8.js +1 -0
  114. package/dist/web/assets/everforest-dark-sB-x3p7T.js +1 -0
  115. package/dist/web/assets/everforest-light-Df2xbC6M.js +1 -0
  116. package/dist/web/assets/fennel-DQxkIbk2.js +1 -0
  117. package/dist/web/assets/fira-code-latin-ext-wght-normal-Dvfvaomy.woff2 +0 -0
  118. package/dist/web/assets/fira-code-latin-wght-normal-CHoedHDv.woff2 +0 -0
  119. package/dist/web/assets/fish-BJitypiv.js +1 -0
  120. package/dist/web/assets/fluent-C03EYrpw.js +1 -0
  121. package/dist/web/assets/fortran-fixed-form-1cK5gXa1.js +1 -0
  122. package/dist/web/assets/fortran-free-form-C5q_0aPq.js +1 -0
  123. package/dist/web/assets/fortran-free-form-uHOymLAb.js +1 -0
  124. package/dist/web/assets/fsharp-C37UASp4.js +1 -0
  125. package/dist/web/assets/fsharp-SO2Zcqp5.js +1 -0
  126. package/dist/web/assets/gdresource-LxjHb83i.js +1 -0
  127. package/dist/web/assets/gdscript-CJEqcM-5.js +1 -0
  128. package/dist/web/assets/gdscript-DJFPOtzS.js +1 -0
  129. package/dist/web/assets/gdshader-BNp4G147.js +1 -0
  130. package/dist/web/assets/gdshader-kiBtQlv1.js +1 -0
  131. package/dist/web/assets/geist-latin-ext-wght-normal-DC-KSUi6.woff2 +0 -0
  132. package/dist/web/assets/geist-latin-wght-italic-dTnRTFFJ.woff2 +0 -0
  133. package/dist/web/assets/geist-latin-wght-normal-BgDaEnEv.woff2 +0 -0
  134. package/dist/web/assets/geist-mono-latin-ext-wght-normal-Bwz-egvJ.woff2 +0 -0
  135. package/dist/web/assets/geist-mono-latin-wght-italic-B6UMSHyz.woff2 +0 -0
  136. package/dist/web/assets/geist-mono-latin-wght-normal-XN7g48iV.woff2 +0 -0
  137. package/dist/web/assets/genie-CV2tkWYe.js +1 -0
  138. package/dist/web/assets/gherkin-DExj1W_8.js +1 -0
  139. package/dist/web/assets/git-commit-BAuDFD-1.js +1 -0
  140. package/dist/web/assets/git-commit-DaNUDv1O.js +1 -0
  141. package/dist/web/assets/git-rebase-Bh7mDoAc.js +1 -0
  142. package/dist/web/assets/git-rebase-qxk4jQ_Z.js +1 -0
  143. package/dist/web/assets/github-dark-C-LZuMrd.js +1 -0
  144. package/dist/web/assets/github-dark-default-DXG-b-1a.js +1 -0
  145. package/dist/web/assets/github-dark-dimmed-Bx1FflLF.js +1 -0
  146. package/dist/web/assets/github-dark-high-contrast-B_tTalzw.js +1 -0
  147. package/dist/web/assets/github-light-EUqPIrTm.js +1 -0
  148. package/dist/web/assets/github-light-default-BXViO-2h.js +1 -0
  149. package/dist/web/assets/github-light-high-contrast-B68TUdTA.js +1 -0
  150. package/dist/web/assets/gleam-CSRkHgEL.js +1 -0
  151. package/dist/web/assets/glimmer-js-CIdbWayl.js +1 -0
  152. package/dist/web/assets/glimmer-ts-B16xCo2k.js +1 -0
  153. package/dist/web/assets/glsl-CaPTrB3a.js +1 -0
  154. package/dist/web/assets/glsl-D01ELkOo.js +1 -0
  155. package/dist/web/assets/gn-CAXYAgV-.js +1 -0
  156. package/dist/web/assets/gnuplot-7GGW24-e.js +1 -0
  157. package/dist/web/assets/go-CC6EVc1J.js +1 -0
  158. package/dist/web/assets/go-CFMhVTkq.js +1 -0
  159. package/dist/web/assets/graphql-BZEhxNwM.js +1 -0
  160. package/dist/web/assets/graphql-DEIChqxY.js +1 -0
  161. package/dist/web/assets/groovy-Dj7WCBJM.js +1 -0
  162. package/dist/web/assets/groovy-_MokPXAr.js +1 -0
  163. package/dist/web/assets/gruvbox-dark-hard-C820rvS2.js +1 -0
  164. package/dist/web/assets/gruvbox-dark-medium-BPjhmG05.js +1 -0
  165. package/dist/web/assets/gruvbox-dark-soft-MrdJrrXF.js +1 -0
  166. package/dist/web/assets/gruvbox-light-hard-BC_s9l72.js +1 -0
  167. package/dist/web/assets/gruvbox-light-medium-BAWPOn9u.js +1 -0
  168. package/dist/web/assets/gruvbox-light-soft-BSMLrYjP.js +1 -0
  169. package/dist/web/assets/hack-C30D-q0p.js +1 -0
  170. package/dist/web/assets/haml-BU6KMePS.js +1 -0
  171. package/dist/web/assets/haml-C1zHJAQt.js +1 -0
  172. package/dist/web/assets/handlebars-WZCg7K7Q.js +1 -0
  173. package/dist/web/assets/handlebars-g-3gLrXt.js +1 -0
  174. package/dist/web/assets/haskell-D8IpX4py.js +1 -0
  175. package/dist/web/assets/hastToHtml-CyL2cunL.js +3 -0
  176. package/dist/web/assets/haxe-B0BMDyun.js +1 -0
  177. package/dist/web/assets/haxe-CD8O8Ul0.js +1 -0
  178. package/dist/web/assets/hcl-Dh228itO.js +1 -0
  179. package/dist/web/assets/hjson-CxZEssPk.js +1 -0
  180. package/dist/web/assets/hlsl-DQJgUA8P.js +1 -0
  181. package/dist/web/assets/hlsl-ajL2FB-w.js +1 -0
  182. package/dist/web/assets/horizon-CE9ld1lL.js +1 -0
  183. package/dist/web/assets/horizon-bright-DSNQnXHK.js +1 -0
  184. package/dist/web/assets/houston-CsvMBhTu.js +1 -0
  185. package/dist/web/assets/html-BCy9P6D2.js +1 -0
  186. package/dist/web/assets/html-DSw1lh5G.js +1 -0
  187. package/dist/web/assets/html-derivative-DyzJkWO6.js +1 -0
  188. package/dist/web/assets/html-derivative-ekTk9Unt.js +1 -0
  189. package/dist/web/assets/http-BjrBtiM6.js +1 -0
  190. package/dist/web/assets/hurl-B4P9s9G3.js +1 -0
  191. package/dist/web/assets/hxml-DPF7XkXa.js +1 -0
  192. package/dist/web/assets/hy-CZbG8q4J.js +1 -0
  193. package/dist/web/assets/imba-DsUTQ-LC.js +1 -0
  194. package/dist/web/assets/ini-0B7NLFlx.js +1 -0
  195. package/dist/web/assets/ini-DiZ1IqbV.js +1 -0
  196. package/dist/web/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
  197. package/dist/web/assets/inter-latin-wght-italic-DpCbqKDY.woff2 +0 -0
  198. package/dist/web/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
  199. package/dist/web/assets/java-BtIQNnN0.js +1 -0
  200. package/dist/web/assets/java-_ATy9zCa.js +1 -0
  201. package/dist/web/assets/javascript-BzbQS41l.js +1 -0
  202. package/dist/web/assets/javascript-CpIGwZ_Y.js +1 -0
  203. package/dist/web/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2 +0 -0
  204. package/dist/web/assets/jetbrains-mono-latin-wght-italic-B2M6KQje.woff2 +0 -0
  205. package/dist/web/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2 +0 -0
  206. package/dist/web/assets/jinja-dRcm23Ea.js +1 -0
  207. package/dist/web/assets/jison-D3aJooqo.js +1 -0
  208. package/dist/web/assets/json-B88Oqtu5.js +1 -0
  209. package/dist/web/assets/json-C3WlssX3.js +1 -0
  210. package/dist/web/assets/json5-BR5RXkoi.js +1 -0
  211. package/dist/web/assets/jsonc-BzJ54Uh_.js +1 -0
  212. package/dist/web/assets/jsonc-dcnCvL0G.js +1 -0
  213. package/dist/web/assets/jsonl-CmCQp5Yx.js +1 -0
  214. package/dist/web/assets/jsonnet-CJTPZ8u_.js +1 -0
  215. package/dist/web/assets/jssm-DXw9l8Rf.js +1 -0
  216. package/dist/web/assets/jsx-C4yDKi0A.js +1 -0
  217. package/dist/web/assets/jsx-D3KKoC5L.js +1 -0
  218. package/dist/web/assets/jsx-runtime-BBGSBHwQ.js +55 -0
  219. package/dist/web/assets/julia-C8a5hZkp.js +1 -0
  220. package/dist/web/assets/julia-hqywDEUR.js +1 -0
  221. package/dist/web/assets/just-CP_wDfXI.js +1 -0
  222. package/dist/web/assets/kanagawa-dragon-Bozd7klA.js +1 -0
  223. package/dist/web/assets/kanagawa-lotus-BmuOG9ZW.js +1 -0
  224. package/dist/web/assets/kanagawa-wave-BML5mF2J.js +1 -0
  225. package/dist/web/assets/kdl-CsD5j6eV.js +1 -0
  226. package/dist/web/assets/kotlin-DhhofPvG.js +1 -0
  227. package/dist/web/assets/kusto-C7mF5XQf.js +1 -0
  228. package/dist/web/assets/langs-XfjJeIZX.js +2 -0
  229. package/dist/web/assets/laserwave-C_8bwKvT.js +1 -0
  230. package/dist/web/assets/latex-B_Ztlc7G.js +1 -0
  231. package/dist/web/assets/latex-Bn9nYtub.js +1 -0
  232. package/dist/web/assets/lean-CewbzKMR.js +1 -0
  233. package/dist/web/assets/less-B64L-FWb.js +1 -0
  234. package/dist/web/assets/less-CXhFgJ4v.js +1 -0
  235. package/dist/web/assets/lib-6HYXi0_j.js +9 -0
  236. package/dist/web/assets/light-plus-DVQuIRkW.js +1 -0
  237. package/dist/web/assets/liquid-CQNtsgCr.js +1 -0
  238. package/dist/web/assets/llvm-DqHOMS-s.js +1 -0
  239. package/dist/web/assets/log-Bu1ZtrH6.js +1 -0
  240. package/dist/web/assets/log-BvtJ4bSl.js +1 -0
  241. package/dist/web/assets/logo-Cluzi2Zq.js +1 -0
  242. package/dist/web/assets/lua-DjuecEsk.js +1 -0
  243. package/dist/web/assets/lua-fPRBWD-V.js +1 -0
  244. package/dist/web/assets/luau-VGWVLoqX.js +1 -0
  245. package/dist/web/assets/make-B54cR2A1.js +1 -0
  246. package/dist/web/assets/make-URElk0GJ.js +1 -0
  247. package/dist/web/assets/markdown-CboqBxpY.js +1 -0
  248. package/dist/web/assets/markdown-CjQmuOi1.js +1 -0
  249. package/dist/web/assets/marko-DPS0EkZ1.js +1 -0
  250. package/dist/web/assets/material-theme-Bm3Qr25_.js +1 -0
  251. package/dist/web/assets/material-theme-darker-2IIEA8gg.js +1 -0
  252. package/dist/web/assets/material-theme-lighter-uhdI0v04.js +1 -0
  253. package/dist/web/assets/material-theme-ocean-CHQ94UKr.js +1 -0
  254. package/dist/web/assets/material-theme-palenight-B5W6OYN7.js +1 -0
  255. package/dist/web/assets/matlab-D7qyCx1q.js +1 -0
  256. package/dist/web/assets/mdc-C6srEd4p.js +1 -0
  257. package/dist/web/assets/mdx-DQZ5AkYe.js +1 -0
  258. package/dist/web/assets/mermaid-BxpfTIzt.js +1 -0
  259. package/dist/web/assets/mermaid-frame-DGAglotE.js +4257 -0
  260. package/dist/web/assets/min-dark-BSWPekZh.js +1 -0
  261. package/dist/web/assets/min-light-DDpmG2fV.js +1 -0
  262. package/dist/web/assets/mipsasm-BMqwQI7S.js +1 -0
  263. package/dist/web/assets/mojo-fg40_ntQ.js +1 -0
  264. package/dist/web/assets/monokai-BscAjiQZ.js +1 -0
  265. package/dist/web/assets/moonbit-D9W784E_.js +1 -0
  266. package/dist/web/assets/move-BYnGhZoM.js +1 -0
  267. package/dist/web/assets/narrat-_X_XdTYD.js +1 -0
  268. package/dist/web/assets/nextflow-groovy-C770ykRh.js +1 -0
  269. package/dist/web/assets/nextflow-groovy-D5vAge1Z.js +1 -0
  270. package/dist/web/assets/nextflow-uA5IJerx.js +1 -0
  271. package/dist/web/assets/nginx-BxRBJ-Af.js +1 -0
  272. package/dist/web/assets/night-owl-DhmEMT88.js +1 -0
  273. package/dist/web/assets/night-owl-light-eJ-hLW7d.js +1 -0
  274. package/dist/web/assets/nim-DN3EGtL-.js +1 -0
  275. package/dist/web/assets/nim-ZjzS1dcU.js +1 -0
  276. package/dist/web/assets/nix-IvuFDN5E.js +1 -0
  277. package/dist/web/assets/nord-Cb4Vim4T.js +1 -0
  278. package/dist/web/assets/nsis-CjNLYCLg.js +1 -0
  279. package/dist/web/assets/nushell--0fT3PI1.js +1 -0
  280. package/dist/web/assets/objective-c-CsonrGpd.js +1 -0
  281. package/dist/web/assets/objective-c-D_ECFp-D.js +1 -0
  282. package/dist/web/assets/objective-cpp-BsSzOQcm.js +1 -0
  283. package/dist/web/assets/ocaml-BuP2SoBQ.js +1 -0
  284. package/dist/web/assets/ocaml-D6dNsUd0.js +1 -0
  285. package/dist/web/assets/odin-B1RWQWA5.js +1 -0
  286. package/dist/web/assets/one-dark-pro-C6YyR8OD.js +1 -0
  287. package/dist/web/assets/one-light-D7Lr4KcI.js +1 -0
  288. package/dist/web/assets/openscad-BUDT5pXO.js +1 -0
  289. package/dist/web/assets/org-BRAbLUOJ.js +1 -0
  290. package/dist/web/assets/pairing-secret-DN-Aaol0.js +2 -0
  291. package/dist/web/assets/parse.worker-DkIMf7Rx.js +23 -0
  292. package/dist/web/assets/pascal-4ZHwLPI5.js +1 -0
  293. package/dist/web/assets/perl-Ciba4h2-.js +1 -0
  294. package/dist/web/assets/perl-sgZsTtaf.js +1 -0
  295. package/dist/web/assets/php-D9QpVhjP.js +1 -0
  296. package/dist/web/assets/php-DBfnyu6d.js +1 -0
  297. package/dist/web/assets/pierre-dark-CpLgRqie.js +1 -0
  298. package/dist/web/assets/pierre-dark-protanopia-deuteranopia-B35FxJx-.js +1 -0
  299. package/dist/web/assets/pierre-dark-soft-kZQmAZld.js +1 -0
  300. package/dist/web/assets/pierre-dark-tritanopia-CpjhbsIL.js +1 -0
  301. package/dist/web/assets/pierre-dark-vibrant-CpQYzh95.js +1 -0
  302. package/dist/web/assets/pierre-light-CoaEpmwp.js +1 -0
  303. package/dist/web/assets/pierre-light-protanopia-deuteranopia-0fSaH845.js +1 -0
  304. package/dist/web/assets/pierre-light-soft-lWLdNTOI.js +1 -0
  305. package/dist/web/assets/pierre-light-tritanopia-CEbqgOJL.js +1 -0
  306. package/dist/web/assets/pierre-light-vibrant-D80Fkn33.js +1 -0
  307. package/dist/web/assets/pkl-ot-7Btpt.js +1 -0
  308. package/dist/web/assets/plastic-DQwYfKfQ.js +1 -0
  309. package/dist/web/assets/plsql-DGHpHOYJ.js +1 -0
  310. package/dist/web/assets/po-BiJDBrnU.js +1 -0
  311. package/dist/web/assets/poimandres-DRFjx7u4.js +1 -0
  312. package/dist/web/assets/polar-C7UOKdEL.js +1 -0
  313. package/dist/web/assets/postcss-D_Wz94rJ.js +1 -0
  314. package/dist/web/assets/postcss-DkKB82OS.js +1 -0
  315. package/dist/web/assets/powerquery-DNMTfnFr.js +1 -0
  316. package/dist/web/assets/powershell-Blb2ISmZ.js +1 -0
  317. package/dist/web/assets/powershell-CItYMEtV.js +1 -0
  318. package/dist/web/assets/preload-helper-BLdHbfdN.js +1 -0
  319. package/dist/web/assets/prisma-DMgNhnYS.js +1 -0
  320. package/dist/web/assets/prolog-iXnhIJG7.js +1 -0
  321. package/dist/web/assets/proto-DB4EqR-F.js +1 -0
  322. package/dist/web/assets/pug-C_nSP9Mg.js +1 -0
  323. package/dist/web/assets/pug-nGRwXpob.js +1 -0
  324. package/dist/web/assets/puppet-CDv2pdJW.js +1 -0
  325. package/dist/web/assets/purescript-9MfHhQsQ.js +1 -0
  326. package/dist/web/assets/python-C5TF47hQ.js +1 -0
  327. package/dist/web/assets/python-CzFU0dpx.js +1 -0
  328. package/dist/web/assets/qml-BxleM7bJ.js +1 -0
  329. package/dist/web/assets/qmldir-DCQb3MpD.js +1 -0
  330. package/dist/web/assets/qss-Fe1Jh2GI.js +1 -0
  331. package/dist/web/assets/r-BXEss897.js +1 -0
  332. package/dist/web/assets/r-DWzjseEo.js +1 -0
  333. package/dist/web/assets/racket-DcIDlBhZ.js +1 -0
  334. package/dist/web/assets/raku-BtFKomnU.js +1 -0
  335. package/dist/web/assets/raku-Cj6OV6qV.js +1 -0
  336. package/dist/web/assets/razor-UAq-8THt.js +1 -0
  337. package/dist/web/assets/rbs-C0MpOrj4.js +1 -0
  338. package/dist/web/assets/red-CYlAq2b0.js +1 -0
  339. package/dist/web/assets/reg-CRGYupPL.js +1 -0
  340. package/dist/web/assets/regexp-BWpGejPw.js +1 -0
  341. package/dist/web/assets/regexp-wOX-4MEz.js +1 -0
  342. package/dist/web/assets/rel-BtDbiS_P.js +1 -0
  343. package/dist/web/assets/riscv-Ckw8ddFX.js +1 -0
  344. package/dist/web/assets/roboto-latin-ext-wght-normal-DYIxWhlt.woff2 +0 -0
  345. package/dist/web/assets/roboto-latin-wght-italic-BZYj8CJm.woff2 +0 -0
  346. package/dist/web/assets/roboto-latin-wght-normal-ccAYIvAh.woff2 +0 -0
  347. package/dist/web/assets/roboto-mono-latin-ext-wght-normal-QAYlOegK.woff2 +0 -0
  348. package/dist/web/assets/roboto-mono-latin-wght-italic-CLakWGv2.woff2 +0 -0
  349. package/dist/web/assets/roboto-mono-latin-wght-normal-CZtBPCCa.woff2 +0 -0
  350. package/dist/web/assets/rolldown-runtime-XKyaHtl9.js +1 -0
  351. package/dist/web/assets/ron-VUp2lXgN.js +1 -0
  352. package/dist/web/assets/rose-pine-aMsaMD1D.js +1 -0
  353. package/dist/web/assets/rose-pine-dawn-8PwUyIlP.js +1 -0
  354. package/dist/web/assets/rose-pine-moon-DO-qXg-I.js +1 -0
  355. package/dist/web/assets/rosmsg-CAekHB0j.js +1 -0
  356. package/dist/web/assets/rst-BCaXiUC4.js +1 -0
  357. package/dist/web/assets/ruby-C4ARPOX3.js +1 -0
  358. package/dist/web/assets/ruby-Dl3oLoVp.js +1 -0
  359. package/dist/web/assets/rust-Ch0zZBV0.js +1 -0
  360. package/dist/web/assets/rust-DBZE5Si3.js +1 -0
  361. package/dist/web/assets/sas-BowjnAvi.js +1 -0
  362. package/dist/web/assets/sass-DXrisJhu.js +1 -0
  363. package/dist/web/assets/scala-CTTBu_35.js +1 -0
  364. package/dist/web/assets/scala-o2NiCLJc.js +1 -0
  365. package/dist/web/assets/scheme-DQCgrYNe.js +1 -0
  366. package/dist/web/assets/scss-CWs8DVSa.js +1 -0
  367. package/dist/web/assets/scss-D3wBkj3d.js +1 -0
  368. package/dist/web/assets/sdbl-CpzYUp7e.js +1 -0
  369. package/dist/web/assets/sdbl-CyKdwm0B.js +1 -0
  370. package/dist/web/assets/shaderlab-DY7g_Ava.js +1 -0
  371. package/dist/web/assets/shellscript-CVTB3cr6.js +1 -0
  372. package/dist/web/assets/shellscript-CqHdAlCp.js +1 -0
  373. package/dist/web/assets/shellsession-DDrivR0a.js +1 -0
  374. package/dist/web/assets/shiki-Ci4cdHsM-DwWkVu3x.js +15 -0
  375. package/dist/web/assets/shiki-Csah4CI4.js +4 -0
  376. package/dist/web/assets/slack-dark-DnToyrRv.js +1 -0
  377. package/dist/web/assets/slack-ochin-B2OO5cIa.js +1 -0
  378. package/dist/web/assets/smalltalk-BHpQb5nM.js +1 -0
  379. package/dist/web/assets/smithy-Dgaz7aur.js +1 -0
  380. package/dist/web/assets/snazzy-light-4G7pJPwS.js +1 -0
  381. package/dist/web/assets/solarized-dark-b97czJOk.js +1 -0
  382. package/dist/web/assets/solarized-light-DFPxpIYQ.js +1 -0
  383. package/dist/web/assets/solidity-Bj7E1mRn.js +1 -0
  384. package/dist/web/assets/soy-CUUUw2U6.js +1 -0
  385. package/dist/web/assets/sparql-Dy5Sx-zJ.js +1 -0
  386. package/dist/web/assets/splunk-BC2Px7Mm.js +1 -0
  387. package/dist/web/assets/sql-CNu3Or2W.js +1 -0
  388. package/dist/web/assets/sql-CfM2IJm3.js +1 -0
  389. package/dist/web/assets/ssh-config-BgfXC-Er.js +1 -0
  390. package/dist/web/assets/stata-Dj4sbAEx.js +1 -0
  391. package/dist/web/assets/stylus-LiTfbrWi.js +1 -0
  392. package/dist/web/assets/stylus-y-ZXgJGq.js +1 -0
  393. package/dist/web/assets/surrealql-NoXzmj18.js +1 -0
  394. package/dist/web/assets/svelte-BaCIHHWd.js +1 -0
  395. package/dist/web/assets/swift-CCLoYZtx.js +1 -0
  396. package/dist/web/assets/swift-DQ24oLw9.js +1 -0
  397. package/dist/web/assets/synthwave-84-nFMaYfgc.js +1 -0
  398. package/dist/web/assets/system-verilog-DFpyZzg3.js +1 -0
  399. package/dist/web/assets/system-verilog-Dp2k_mze.js +1 -0
  400. package/dist/web/assets/systemd-BxMlprV5.js +1 -0
  401. package/dist/web/assets/talonscript-CohzipZa.js +1 -0
  402. package/dist/web/assets/tasl-DMoTqEGO.js +1 -0
  403. package/dist/web/assets/tcl-CZd0xW_V.js +1 -0
  404. package/dist/web/assets/templ-BfgLc4ra.js +1 -0
  405. package/dist/web/assets/terraform-DswuEJGm.js +1 -0
  406. package/dist/web/assets/tex-C9L8xJex.js +1 -0
  407. package/dist/web/assets/tex-CNYz7bLJ.js +1 -0
  408. package/dist/web/assets/themes-DmprMKgK.js +2 -0
  409. package/dist/web/assets/tokyo-night-oM2G3aXe.js +1 -0
  410. package/dist/web/assets/toml-CcmNWLt0.js +1 -0
  411. package/dist/web/assets/ts-tags-DLz2GTd3.js +1 -0
  412. package/dist/web/assets/tsv-sltzmVWM.js +1 -0
  413. package/dist/web/assets/tsx-BOvsFOI6.js +1 -0
  414. package/dist/web/assets/tsx-CGosfAUg.js +1 -0
  415. package/dist/web/assets/turtle-CQ9kcy0m.js +1 -0
  416. package/dist/web/assets/turtle-CcN57yC0.js +1 -0
  417. package/dist/web/assets/twig-HaHkB3PH.js +1 -0
  418. package/dist/web/assets/twig-lMQ09cjh.js +1 -0
  419. package/dist/web/assets/typescript-Bb1J8qyy.js +1 -0
  420. package/dist/web/assets/typescript-j_1H8WHN.js +1 -0
  421. package/dist/web/assets/typespec-BGhR2SqG.js +1 -0
  422. package/dist/web/assets/typst-DDNSzYFN.js +1 -0
  423. package/dist/web/assets/unused-diff-backend-BGwiCqNL.js +1 -0
  424. package/dist/web/assets/unwrapDefault-ByDmBtHB.js +1 -0
  425. package/dist/web/assets/v-DBj4K9d_.js +1 -0
  426. package/dist/web/assets/vala-zf12oZj6.js +1 -0
  427. package/dist/web/assets/vb-3nVziYZS.js +1 -0
  428. package/dist/web/assets/vb-CP6Ec8nh.js +1 -0
  429. package/dist/web/assets/verilog-1j7BQk-h.js +1 -0
  430. package/dist/web/assets/verilog-kL8Dwv27.js +1 -0
  431. package/dist/web/assets/vesper-DdrHHSXu.js +1 -0
  432. package/dist/web/assets/vhdl-BroJfC0k.js +1 -0
  433. package/dist/web/assets/viml-DvXPmvsu.js +1 -0
  434. package/dist/web/assets/vitesse-black-fwtXNY1n.js +1 -0
  435. package/dist/web/assets/vitesse-dark-BZCL-v6S.js +1 -0
  436. package/dist/web/assets/vitesse-light-VbXTXTou.js +1 -0
  437. package/dist/web/assets/vue-html-CGMs_6qn.js +1 -0
  438. package/dist/web/assets/vue-qH43U_rv.js +1 -0
  439. package/dist/web/assets/vue-vine-6XI2pIvQ.js +1 -0
  440. package/dist/web/assets/vyper-CgoNMtux.js +1 -0
  441. package/dist/web/assets/wasm-ByWQv1Qj.js +1 -0
  442. package/dist/web/assets/wenyan-C8pVoKbM.js +1 -0
  443. package/dist/web/assets/wgsl-BsKzXJz4.js +1 -0
  444. package/dist/web/assets/wikitext-ClFFjSW2.js +1 -0
  445. package/dist/web/assets/wit-DdvCle-K.js +1 -0
  446. package/dist/web/assets/wolfram-DLL8P-h_.js +1 -0
  447. package/dist/web/assets/worker-CngezK-p.js +13 -0
  448. package/dist/web/assets/worker-registries-DNgFn7hx.js +1 -0
  449. package/dist/web/assets/xml-DuKfbPI6.js +1 -0
  450. package/dist/web/assets/xml-WY0zc4PG.js +1 -0
  451. package/dist/web/assets/xsl-CW58cerL.js +1 -0
  452. package/dist/web/assets/xsl-Czhm44Ae.js +1 -0
  453. package/dist/web/assets/yaml-DDA_XMNu.js +1 -0
  454. package/dist/web/assets/yaml-DijMHRDA.js +1 -0
  455. package/dist/web/assets/zenscript-BnlCZFoB.js +1 -0
  456. package/dist/web/assets/zig-B7sSDI6F.js +1 -0
  457. package/dist/web/assets/zig-cFafUZna.js +1 -0
  458. package/dist/web/icons/apple-touch-icon.png +0 -0
  459. package/dist/web/icons/icon-192.png +0 -0
  460. package/dist/web/icons/icon-512.png +0 -0
  461. package/dist/web/index.html +22 -0
  462. package/dist/web/licenses/atkinson-hyperlegible-next-OFL.txt +93 -0
  463. package/dist/web/licenses/fira-code-OFL.txt +93 -0
  464. package/dist/web/licenses/geist-OFL.txt +93 -0
  465. package/dist/web/licenses/geist-mono-OFL.txt +93 -0
  466. package/dist/web/licenses/inter-OFL.txt +93 -0
  467. package/dist/web/licenses/jetbrains-mono-OFL.txt +93 -0
  468. package/dist/web/licenses/roboto-OFL.txt +93 -0
  469. package/dist/web/licenses/roboto-mono-OFL.txt +93 -0
  470. package/dist/web/manifest.webmanifest +13 -0
  471. package/dist/web/mermaid-frame.html +13 -0
  472. package/dist/web/pub-frame.css +1 -0
  473. package/dist/web/sw.js +1 -0
  474. package/dist/web/theme-boot.js +36 -0
  475. package/package.json +26 -5
@@ -0,0 +1,554 @@
1
+ # Writing for the reader
2
+
3
+ recense-review, recense-feedback and recense-publish share these rules. Follow them for a review
4
+ writeup, a feedback reply and every document you write to publish. Each section says where it
5
+ applies. A document the user wrote is published as it is.
6
+
7
+ ## Sentences
8
+
9
+ Keep each section useful to someone who has not opened the code.
10
+ Put the effect before the mechanism, explain unfamiliar terms, and cite paths you inspected.
11
+ Answer first, then give the reason and relevant validation.
12
+ Use one fact per sentence and short sentences of 20 words or fewer.
13
+
14
+ ## Titles and paragraphs
15
+
16
+ This section applies to a review writeup.
17
+
18
+ - A topic title names the effect and the stake: "Failed requests stop after three tries", not
19
+ "Retry changes".
20
+ - The first sentence of each paragraph carries its point.
21
+ - Keep a paragraph to two or three sentences.
22
+
23
+ A document follows these rules loosely: a TL;DR first, short sections, the point first.
24
+
25
+ ## TL;DR
26
+
27
+ Open with two or three short sentences on what this work is and why it matters for the project.
28
+ Name the issue or plan task it serves when there is one.
29
+ The reader reads it first, often straight from other work.
30
+
31
+ - A review writeup holds it in `tldr`.
32
+ State what changes for the user, with the before state when it helps.
33
+ `whyItMatters` says what the change gives the product or prepares for, in one or two sentences.
34
+ - A document opens with it, under a "TL;DR" heading right after the title.
35
+ In a Markdown document, a `## TL;DR` section shows as the writeup's card.
36
+
37
+ ## Callouts
38
+
39
+ This section applies to a Markdown document, a review writeup and a feedback reply.
40
+ A quote that starts with a GitHub alert marker shows as a callout.
41
+ Put the marker alone on the quote's first line:
42
+
43
+ ```markdown
44
+ > [!NOTE]
45
+ > Search results stay in the cache for five minutes.
46
+ ```
47
+
48
+ - `[!NOTE]` shows a note and `[!WARNING]` a warning.
49
+ - `[!TIP]` and `[!IMPORTANT]` show as notes, `[!CAUTION]` as a warning, each with its own label.
50
+ - A quote without a marker stays a plain quote.
51
+ - A callout holds text, lists and code. A quote with a Mermaid diagram stays a plain quote, so put the diagram outside it.
52
+ - An HTML page uses `<aside class="note">` or `<aside class="warning">` instead.
53
+
54
+ ## No filler
55
+
56
+ Leave out a fact, a field or a line that has nothing real to say.
57
+ Never write "None", "N/A" or a sentence that only repeats its label.
58
+ Checked, Not checked and Deviations are the exception. They are never empty.
59
+
60
+ ## Why and Example
61
+
62
+ A review topic's `why` explains what the area does, the problem and the fix.
63
+ Its `example` shows a concrete before/after case.
64
+ Give every topic above Low risk (`skim`) an Example of at most six lines.
65
+ Keep examples grounded in the actual change: use its real input and real output.
66
+ Write a before/after case in one paragraph, with lines starting `Before:` and `After:`.
67
+ recense shows those lines as aligned rows.
68
+ A line without `Before:` or `After:` at its start continues the row above it.
69
+ Put any other note in its own paragraph.
70
+ For two or more cases, you can use a table: `Input | Before | After`.
71
+ A document that explains a change or a proposal gives the same why and a grounded example.
72
+
73
+ ## State diagrams
74
+
75
+ This section applies to a review writeup.
76
+ When a topic changes how something moves between states, show those states as a diagram in that topic.
77
+ A lifecycle, a protocol, retries and a hand-off are such changes.
78
+ Other topics need a diagram only when it shows what you claim, as "Pictures" says.
79
+
80
+ - Put a Mermaid `stateDiagram-v2` in a `mermaid` code fence in the topic's `why`, right after the **Fix:** paragraph.
81
+ The `why` shows open; `body` starts folded under Details.
82
+ An **Undo:** paragraph still comes last.
83
+ - Name states and arrows in the reviewer's words, not with code names.
84
+ Write "Waiting for review", not `PENDING_REVIEW`.
85
+ - Keep a diagram to about 20 arrows.
86
+ For a bigger flow, merge states into broader ones, or split it into one diagram per part.
87
+ - Keep arrow labels as short as state names, or they overlap.
88
+
89
+ When the statechart skill is installed and the change is risky enough to model, use its checked chart.
90
+ A flow that can lose work, repeat a step or hang is risky enough.
91
+ Leave out the chart's `classDef` lines for `breaks` and `mayBreak`, so recense's light and dark colours apply.
92
+ Under the chart, list each bug path as one item: the rule, the reader's sentence for it, and the path.
93
+
94
+ Otherwise, write under the diagram that it was drawn by hand and not checked.
95
+ The statechart skill is never required. Never install it.
96
+
97
+ A hand-drawn diagram for the retry topic in the worked examples below:
98
+
99
+ ````markdown
100
+ **Fix:** The loop stops after three attempts.
101
+
102
+ ```mermaid
103
+ stateDiagram-v2
104
+ [*] --> Sending
105
+ Sending --> Done: answered
106
+ Sending --> Waiting: failed, tries left
107
+ Waiting --> Sending: pause over
108
+ Sending --> Failed: third failure
109
+ ```
110
+
111
+ Drawn by hand, not checked.
112
+ ````
113
+
114
+ A bug path from a checked chart, as one item:
115
+
116
+ ```markdown
117
+ - `ChargedOnce`: an order is charged at most once. Path: Checkout → Charging → Timed out → Charging.
118
+ ```
119
+
120
+ ## Change graphs
121
+
122
+ This section applies to a review writeup. A document that explains a change follows it loosely.
123
+ Draw a change graph when a change crosses two or more parts, or adds a flow.
124
+ A part is a package, a service, a module or a group of files the reviewer would name.
125
+
126
+ - Put a Mermaid `flowchart LR` in a `mermaid` code fence in a topic's `why`, right after the **Fix:** paragraph. Use the topic the graph explains, or the first topic for the whole change.
127
+ - Keep the graph out of `overview`: a third block there stops Goal and Change showing side by side.
128
+ - Give each part one node, named in the reviewer's words.
129
+ - Mark parts with `:::added`, `:::changed` or `:::removed`.
130
+ Leave parts the change only reaches unmarked.
131
+ - Draw a removed arrow as `-.->|removed|`.
132
+ - Leave out `classDef` lines for these classes, so recense's light and dark colours apply.
133
+ A removed part is dashed as well as red, so it reads without colour.
134
+ - Every change graph carries a legend inside the picture: a `Legend` subgraph with one node per
135
+ class the graph uses, joined by `~~~`.
136
+ - Keep a graph to about 20 arrows. For a bigger change, merge parts into broader ones.
137
+
138
+ ```mermaid
139
+ flowchart LR
140
+ CLI[Command line] --> Server[Local server]
141
+ Server --> Cache[Search cache]:::added
142
+ Server --> Store[Review store]:::changed
143
+ Server -.->|removed| Poller[Poller]:::removed
144
+ subgraph Legend
145
+ direction LR
146
+ A1[Added]:::added ~~~ C1[Changed]:::changed ~~~ R1[Removed]:::removed
147
+ end
148
+ ```
149
+
150
+ ### Dependency graphs
151
+
152
+ When the reviewer must judge what a change reaches, add a dependency graph after the change graph.
153
+ Limit it to the changed files and their direct neighbours: the files they import and the files that import them.
154
+ Print it as Mermaid with a dependency tool the project already has, on your machine.
155
+ Run such a tool only in a working tree whose install, build and tests already ran in this task.
156
+ Every change there that has not run yet must be your own.
157
+ Also run it without the project's config, and never through a package script or `npx`.
158
+ These are extra guards, not the boundary.
159
+ For example, dependency-cruiser prints a file and its direct neighbours with `--no-config`, `--focus` and `--output-type mermaid`.
160
+ Never install a tool or fetch one for this.
161
+ For code you did not write, or without such a tool, draw the graph by hand.
162
+ Read the changed files' imports, and search the project for the files that import them.
163
+ Write under a hand-drawn graph that it was drawn by hand.
164
+ Mark the changed files with the change classes and add the legend.
165
+ Over about 20 arrows, group files by folder.
166
+
167
+ ### Diagram types
168
+
169
+ recense draws these Mermaid types in light and dark mode: `flowchart`, `stateDiagram-v2`,
170
+ `sequenceDiagram`, `erDiagram`, `xychart`, `block` and `timeline`.
171
+ The `xychart-beta` and `block-beta` forms draw too.
172
+ `C4Context` draws, but it keeps its own colours, and its arrow labels are faint in dark mode.
173
+ Draw a flowchart instead.
174
+ Other types are not checked, so use one of these.
175
+
176
+ ## Charts
177
+
178
+ This section applies to a review writeup and a Markdown document.
179
+ Show numbers before and after a change as a small chart: timings, sizes and counts.
180
+ Put a JSON spec in a `chart` code fence.
181
+ In a review writeup, put it in a topic's `why` after the **Fix:** paragraph, or in `body`.
182
+ In a Markdown document, put it next to the text that discusses the numbers.
183
+
184
+ ```chart
185
+ {
186
+ "type": "bar",
187
+ "title": "Search time",
188
+ "unit": "ms",
189
+ "labels": ["Cold start", "Warm cache"],
190
+ "series": [
191
+ { "name": "Before", "values": [420, 95] },
192
+ { "name": "After", "values": [180, 40] }
193
+ ]
194
+ }
195
+ ```
196
+
197
+ - `type` is `bar`, `line` or `sparkline`.
198
+ Bars compare a few values, a line shows a trend, and a sparkline shows one small trend per series.
199
+ - `labels` names each value: 1 to 12 for bars, 2 to 24 for a line.
200
+ A sparkline may leave them out. It holds 2 to 60 values, the same count in every series.
201
+ - `series` holds 1 to 4 series, each with its own `name` and one value per label.
202
+ Name them in the reader's words, such as "Before" and "After".
203
+ - Values are numbers from 0 to 1,000,000,000,000.
204
+ `unit` follows each value, up to 8 characters; `title` heads the chart, up to 80.
205
+ - Labels and names have up to 32 characters. Other keys are refused.
206
+ - Keep the whole spec to 4000 characters.
207
+ - recense picks the colours for light and dark mode, so the spec has none.
208
+ - A spec that is not valid JSON or breaks a rule shows as its source. Check it before you publish.
209
+
210
+ ## Risk and proof
211
+
212
+ This section applies to a review writeup. The writeup is a decision brief: the reviewer decides
213
+ from it whether the change passes. Rate the risk, show the proof, and leave the verdict to the
214
+ reviewer.
215
+
216
+ ### Risk, in plain words
217
+
218
+ Give each topic one risk level in `attention`. Set the value in brackets; the app shows the word.
219
+
220
+ - Low (`skim`): a rare path, and tests cover it. Mechanical changes, renames and wording are Low.
221
+ - Medium (`review`): a common path can break, and users notice.
222
+ - High (`critical`): data loss, a security hole, money, or an outage.
223
+
224
+ Rate what breaks if the change is wrong, not what the code touches.
225
+ Touching auth is not risky by itself; breaking it is.
226
+ Most reviews have no High topic. Mark at most one topic High.
227
+ If two topics seem High, the change is too big. Say so under **Biggest risk** in `whereToLook`.
228
+
229
+ ### Sensitivity
230
+
231
+ Sensitivity is a plain tag, not a level. Put it in the topic's `blastRadius.scope`.
232
+ Use `auth`, `data`, `money`, `privacy` or `network` when the topic touches one of them.
233
+ Otherwise use one word for who or what is affected.
234
+ `blastRadius.note` says how a break would show.
235
+
236
+ ### Undo, in plain words
237
+
238
+ Every topic has one of three undos:
239
+
240
+ - Revert.
241
+ - Revert, then a named repair: "Revert, then rerun the import."
242
+ - Cannot be undone, with the step named: "Cannot be undone: drops column `x`."
243
+
244
+ Without a named step, the undo is a revert.
245
+ When a revert is not enough, end the topic's `why` with a paragraph of its own that starts with **Undo:**.
246
+ A feature flag does not undo writes already made.
247
+
248
+ ### No verdict
249
+
250
+ Leave `review` out of the writeup. The reviewer gives the verdict, not you.
251
+ A choice the reviewer must make goes into `needsYou`.
252
+
253
+ ### Where to look
254
+
255
+ `whereToLook` holds two labelled lines:
256
+
257
+ - **Biggest risk:** one concrete case of what goes wrong, and for whom.
258
+ "The retry loop changed" names an area. "A request that fails three times shows the user an
259
+ empty list, with no error" is a case.
260
+ - **Look yourself:** at most three spots, each with why no test settles it.
261
+ "`src/retry.ts`, where the loop counts attempts: the tests fake the clock" is one spot.
262
+
263
+ ### Checked and Not checked
264
+
265
+ `checked` holds the proof: at most five items, strongest first. Each item says what it showed:
266
+ "A test that fails the third attempt failed before the fix and passes now."
267
+ Leave out process, such as running the gate, the linter or the type check, or reading the diff.
268
+ `notChecked` holds only real gaps, each with what could go wrong.
269
+ Neither is ever empty. If you ran nothing, say so in `checked`.
270
+
271
+ The higher the risk, the stronger the proof. A data migration shows row counts and sums before
272
+ and after, plus a few sample rows.
273
+
274
+ ### Needs you
275
+
276
+ Write one line per item in `needsYou`, at most four:
277
+
278
+ - Decide (`decide`): a choice only the reviewer can make.
279
+ - Accept (`accept`): a risk or trade-off the reviewer takes on knowingly.
280
+ - Confirm drift (`confirm-drift`): a departure from the request that needs a yes.
281
+ - Answer (`answer`): a question the work waits on.
282
+
283
+ Name the topic slug when the item belongs to one. Use `[]` when nothing needs the reviewer.
284
+ Write it only with first-hand intent, alongside `decisions`; with `decisions: null`, leave it out.
285
+
286
+ ### Decisions
287
+
288
+ Keep a line in `decisions` only if the reviewer might decide, or judge the risk, differently
289
+ because of it. Write it in this order:
290
+
291
+ - **Decided for you:** one line per choice nobody asked for, in the form "Chose X over Y
292
+ because Z. Would change if W."
293
+ - Drift: each departure from the user's latest stated intent, marked as drift, with the short
294
+ request it departs from quoted.
295
+ - **Trail:** process facts in a short list, such as the independent review findings and whether
296
+ they were fixed, disputed or remain open, or that no independent review ran.
297
+
298
+ ### Data migrations
299
+
300
+ A data migration always states, in its topic:
301
+
302
+ - what data changes, and roughly how much;
303
+ - whether it can be reversed, and how;
304
+ - how it was tried: a dry run or a copy of the data, with row counts and sums before and after,
305
+ and a few sample rows;
306
+ - what to watch after the deploy.
307
+
308
+ ### Worked examples
309
+
310
+ These cases are synthetic. Each shows a topic, the brief's lines and its proof.
311
+
312
+ **Low.** A change renames `fetchUser` to `loadUser` in eight files.
313
+
314
+ - Topic "User pages keep loading after the loader rename": Low. The undo is a revert.
315
+ - **Biggest risk:** a call the type checker cannot see, such as a lookup by string, still asks
316
+ for `fetchUser`, and that page fails to load.
317
+ - `checked`: a search finds no `fetchUser` outside the changelog.
318
+ - `notChecked`: plugins outside this repository; one that calls `fetchUser` breaks on upgrade.
319
+
320
+ **Medium.** A change caps request retries at three.
321
+
322
+ - Topic "Failed requests stop after three tries": Medium, because every request passes the loop.
323
+ The undo is a revert.
324
+ - **Biggest risk:** a request that fails a third time shows the user an empty list, with no
325
+ error.
326
+ - **Look yourself:** `src/retry.ts`, where the loop counts attempts: the tests fake the clock, so
327
+ they cannot show real pauses.
328
+ - `checked`: tests for one, two and three failed attempts; the third shows the error message.
329
+ - `notChecked`: a real network that drops requests; a slow server could reach the cap sooner.
330
+
331
+ **High.** A data migration moves invoice amounts from decimals to whole cents.
332
+
333
+ - Topic "Stored invoice amounts become whole cents": High, because it rewrites stored money. Its
334
+ `why` ends with "**Undo:** Cannot be undone: drops column `amount_decimal`."
335
+ - The topic states the migration facts: it rewrites about 1.2 million invoice rows. Only the
336
+ backup taken before the deploy reverses it. After the deploy, watch the nightly totals report
337
+ and failed invoice creation.
338
+ - `checked`: a dry run on a copy of last week's data. Before: 1,204,311 rows summing to
339
+ 48,113,902.17. After: the same rows, summing to 4,811,390,217 cents. Five sample rows match to
340
+ the cent.
341
+ - `notChecked`: the run time on the live table under load; a long lock could block new invoices.
342
+ - `needsYou`: `[{ "kind": "decide", "text": "Run it in the nightly window, or now with a short lock?" }]`
343
+
344
+ ## Intent reviews
345
+
346
+ This section applies to an intent review: the short review a larger change gets before any code.
347
+ Keep it short enough to read in two minutes.
348
+
349
+ - `tldr`: what the change does, and the issue or plan task it serves.
350
+ - `whyItMatters`: why the change is worth doing.
351
+ - `overview`: **Goal** is the end state. **Change** is the approach: the parts you will touch, and how.
352
+ - One topic per part you will change, with the risk you expect in `attention`, as "Risk and proof"
353
+ rates it. Its `why` says what will change there and why. An Example is not needed.
354
+ - `needsYou`: the decisions you expect to need, as `decide` items, at most four. `[]` when you expect
355
+ none. Write `decisions` as usual.
356
+ - `whereToLook`: **Biggest risk** is the case most likely to go wrong.
357
+ - `checked`: what you read or tried to plan the change. `notChecked`: what only the code will show.
358
+
359
+ ### Deviations
360
+
361
+ This section applies to a code review whose manifest names its intent review in `intentReview`.
362
+ `writeup.deviations` shows as "Deviations from the approved intent".
363
+
364
+ - One item per departure from the approved intent: what the intent said, what the code does, and why.
365
+ - Name the topic that holds the deviation.
366
+ - A deviation the reviewer must accept also goes into `needsYou` as a `confirm-drift` item.
367
+ - When the code follows the intent, write "None." It is never empty.
368
+
369
+ ## Glossary
370
+
371
+ Give brief definitions of the domain terms the text uses.
372
+ Prefer existing project meanings and omit general programming terms.
373
+ Keep it to at most 12 terms and one short sentence per definition.
374
+ A review writeup holds it in `glossary` as a list of entries with `term`, `definition` and optional `aliases`.
375
+ recense marks each term's first use in every section.
376
+ It shows the definition when the reader points at it.
377
+ Add an alias for another form the text uses, such as an abbreviation.
378
+ A Markdown document keeps its glossary as one list under a "Glossary" heading, one term per item:
379
+ `- **Term** (also: a, b): definition`, or `- **Term:** definition`.
380
+ An HTML document keeps it in the first `<dl>` after a "Glossary" heading: a `<dt>` for the term, an
381
+ extra `<dt>` for each alias, then a `<dd>` with the definition.
382
+ recense marks each term's first use in the document and shows the same card.
383
+
384
+ ## Pictures
385
+
386
+ Show what you claim. A review writeup or a document can show images.
387
+ A review writeup follows the two rules below; a document follows them loosely.
388
+
389
+ - A change the user can see needs a screenshot. Show Before and After at the same viewport.
390
+ A single shot, or an After-only shot when there is no Before, is fine.
391
+ - A change without a UI gets a picture too, such as a terminal transcript in a code block, or a
392
+ table as "Tables" says.
393
+
394
+ Capture screenshots with a headless browser.
395
+ Each project picks its own capture tool: use one the project or the user already provides.
396
+ Never add a dependency or download a browser to capture.
397
+ Capture Before from the base commit in a separate worktree or from an existing build.
398
+ Never stash, reset or check out over the working tree to reach it.
399
+ Capture with synthetic data, and crop to the change.
400
+ Never show secrets, personal data, private hostnames, URLs or paths, or real customer or client content.
401
+ If you cannot capture a shot, or a screen cannot avoid such data, skip it and say why under Not checked (`notChecked`).
402
+
403
+ In a review writeup:
404
+
405
+ - List each image under `media`, as [the manifest reference](manifest.md) says.
406
+ - Reference it from any writeup section with `![Alt](path)`. The alt text becomes the caption.
407
+ - Put the pair in one paragraph, with alt text "Before" and "After":
408
+ `![Before](media/before.png) ![After](media/after.png)`.
409
+ On the next line of that paragraph, state the effect in one line.
410
+ recense shows Before, After and Side by side controls, with the effect line underneath.
411
+ - A third image with alt text "Diff" may follow the pair in the same paragraph:
412
+ `![Before](media/before.png) ![After](media/after.png) ![Diff](media/diff.png)`.
413
+ recense then adds a Diff control that shows that image alone.
414
+ Make the diff from the two shots on your machine, with an image diff tool the project or the
415
+ user already provides. Never add a dependency to the repo under review or download a tool for it.
416
+ Without such a tool, leave the Diff image out.
417
+ - Every image path in the writeup must be listed under `media`.
418
+ - Publish refuses an image path that is not listed, such as a typo in the file name.
419
+ - `recense publish` names the path, so you can fix the link or list the file.
420
+ - A path with `..`, a leading `/` or a backslash never shows. Use the listed path exactly.
421
+ - Remote image URLs do not show. List the file under `media` instead.
422
+
423
+ In a Markdown document, put the image beside it and reference it with a relative path,
424
+ `![Alt](shots/before.png)`. PNG, JPEG, GIF, WebP and AVIF show; remote image URLs do not.
425
+ A Before and After pair, with or without a Diff image, shows the same way.
426
+
427
+ ## Tables
428
+
429
+ This section applies to a review writeup. A document follows it loosely.
430
+
431
+ Show these changes as a table:
432
+
433
+ - A config change: one row per key path, with Before and After.
434
+ - A schema change: the columns, with their type and what changed.
435
+ - Numbers: Before, After and the change.
436
+
437
+ Show a query plan as its steps, one per line.
438
+
439
+ ## HTML pages
440
+
441
+ These rules hold for every HTML document you write to publish.
442
+
443
+ - Keep the page self-contained. recense runs none of its scripts and loads nothing from other hosts.
444
+ Use no CDN scripts, styles or fonts.
445
+ - Keep images and styles beside the file, using relative paths.
446
+ - Use recense's page structure below unless the user asks for a custom page.
447
+
448
+ ### recense's page structure
449
+
450
+ Build the page from these elements. It needs no CSS.
451
+ recense adds its own styles to every page it serves, unless the page is marked custom.
452
+ The page then has the fonts, colours, sizes and spacing of a Markdown document.
453
+ It follows recense's light or dark mode.
454
+
455
+ - Title and sections: `h1` for the title, `h2` and `h3` for sections.
456
+ Contents lists the `h2` and `h3` headings.
457
+ - Text: `p`, `ul`, `ol`, `a`, `strong`, `em`, `code`, `pre` with `code`, `blockquote`, `table`,
458
+ `hr`, `kbd` and `dl`.
459
+ - Code: `<pre><code class="language-ts">` shows the code in the same colours as a Markdown fence.
460
+ - TL;DR: `<section class="tldr">` with the "TL;DR" heading first. It shows as the writeup's card.
461
+ - Key facts: `<dl class="facts">`, with one `div` holding a `dt` and a `dd` per fact.
462
+ - Figure: `figure` with an `img` and a `figcaption`.
463
+ - Diagram: `<pre class="mermaid">` holding Mermaid source.
464
+ `<pre><code class="language-mermaid">`, the form a Markdown fence becomes, works too.
465
+ Escape `<` as `&lt;` and `&` as `&amp;` in the source, because recense reads the `pre`'s text.
466
+ recense draws it with its own Mermaid, in light and dark mode, also on a custom page.
467
+ Opened on its own outside recense, the page shows the source.
468
+ - Before and After: `<div class="pair">` with two figures captioned "Before" and "After".
469
+ A `p` after them states the effect.
470
+ - Callout: `<aside class="note">` or `<aside class="warning">`.
471
+ - Collapsible section: `details` with a `summary`.
472
+ - Status label: `<span class="status">`. Add `ok`, `warn` or `bad` for green, amber or red.
473
+ - Containers such as `main`, `section`, `div` and `span` are fine.
474
+
475
+ `recense publish` names the elements a page uses outside this structure.
476
+ recense's look has no styles for them.
477
+
478
+ ```html
479
+ <!doctype html>
480
+ <html lang="en">
481
+ <head>
482
+ <meta charset="utf-8">
483
+ <title>Search cache</title>
484
+ </head>
485
+ <body>
486
+ <h1>Search cache</h1>
487
+ <section class="tldr">
488
+ <h2>TL;DR</h2>
489
+ <p>Search now answers from a five-minute cache. A search takes 40 ms instead of 900 ms.</p>
490
+ </section>
491
+ <dl class="facts">
492
+ <div><dt>Status</dt><dd><span class="status ok">Live</span></dd></div>
493
+ <div><dt>Undo</dt><dd>Turn the cache flag off.</dd></div>
494
+ </dl>
495
+ <h2>What changed</h2>
496
+ <p>Search reads the cache first and falls back to the database.</p>
497
+ <pre class="mermaid">
498
+ flowchart LR
499
+ Search --> Cache
500
+ Cache -->|Miss| Database
501
+ </pre>
502
+ <aside class="warning"><p>A price change shows after at most five minutes.</p></aside>
503
+ <div class="pair">
504
+ <figure><img src="shots/before.png" alt="Search page with a spinner"><figcaption>Before</figcaption></figure>
505
+ <figure><img src="shots/after.png" alt="Search page with results"><figcaption>After</figcaption></figure>
506
+ <p>Results appear without the spinner.</p>
507
+ </div>
508
+ <details>
509
+ <summary>How it was measured</summary>
510
+ <p>1000 searches for the same term, run against a local build.</p>
511
+ </details>
512
+ </body>
513
+ </html>
514
+ ```
515
+
516
+ ### The page's own copy of recense's look
517
+
518
+ recense adds its look only while it serves the page.
519
+ To give the file itself that look when opened on its own, run `recense look <file.html>` after writing it.
520
+ Run it again after each change.
521
+ The file follows the reader's light or dark mode.
522
+ It uses the user's theme when exactly one is valid.
523
+ `--theme <name>` picks one; `--no-theme` uses none.
524
+ The file stays self-contained, with about 200 KB more for the fonts.
525
+ A custom page is left unchanged.
526
+ Publishing still works the same.
527
+
528
+ ### Your own styles
529
+
530
+ recense's styles sit in a cascade layer, so each of your own rules wins over them.
531
+ Add a few rules when the structure above is not enough. The rest of the page keeps recense's look.
532
+
533
+ When your styles set colours, style both modes.
534
+ Put the dark colours in a `@media (prefers-color-scheme: dark)` rule in a `style` element, or use
535
+ `light-dark()`.
536
+ A page that sets colours without such a rule shows in light mode only, also while recense is dark,
537
+ so its text stays readable.
538
+ Colours count when a `style` element or `style` attribute sets one, when an attribute such as
539
+ `bgcolor` or an SVG `fill` or `stroke` sets one, and when the page links or imports a stylesheet:
540
+ recense does not read those files.
541
+
542
+ ### Custom pages
543
+
544
+ When the user asks for a custom page, mark it in its `head` with
545
+ `<meta name="recense-look" content="custom">`.
546
+ recense then shows the page with its own styles only.
547
+ Diagrams use the same `<pre class="mermaid">` markup.
548
+ On a custom page:
549
+
550
+ - Give the main column a max width of 1024px.
551
+ - Use body text around 18px with a line height around 1.65.
552
+
553
+ `recense publish` says for each HTML page whether it shows in recense's look or as a custom page,
554
+ and why. It also says when a page shows in light mode only.