@turri-dev/cli 0.4.3-next.7ada234 → 0.4.3-next.8c1b0fa

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 (538) hide show
  1. package/README.md +22 -2
  2. package/dist/banner.js +248 -0
  3. package/dist/capture-cli.js +1 -1
  4. package/dist/capture-view.js +99 -0
  5. package/dist/chat-commands.js +6 -6
  6. package/dist/chat-models.js +17 -15
  7. package/dist/chat-tab-header.js +0 -1
  8. package/dist/chat-tabs.js +1 -1
  9. package/dist/chat-terminal.js +115 -73
  10. package/dist/chat-waiting.js +0 -20
  11. package/dist/cli-options.js +11 -7
  12. package/dist/cli-root.js +101 -0
  13. package/dist/cli.js +20 -26
  14. package/dist/conform-cli.js +4 -6
  15. package/dist/cultivate-cli.js +65 -97
  16. package/dist/doctor-cli.js +99 -0
  17. package/dist/drift-cli.js +2 -7
  18. package/dist/entry-renderers.js +107 -0
  19. package/dist/extension.js +14 -3379
  20. package/dist/init-config-cli.js +209 -0
  21. package/dist/launch-cli.js +55 -91
  22. package/dist/lineage-cli.js +2 -4
  23. package/dist/loop-cli.js +118 -237
  24. package/dist/panel-view.js +409 -0
  25. package/dist/parse-cli.js +5 -2
  26. package/dist/pi-launch.js +41 -13
  27. package/dist/pi-themes.js +2 -2
  28. package/dist/plain-code-blocks.js +1 -1
  29. package/dist/print-mode.js +20 -0
  30. package/dist/quiet.js +7 -106
  31. package/dist/regenerate/diff-view.js +6 -87
  32. package/dist/regenerate/jobs-tree.js +2 -17
  33. package/dist/regenerate/spec-map-view.js +3 -68
  34. package/dist/regenerate-cli.js +7 -11
  35. package/dist/reopen.js +40 -7
  36. package/dist/skill-progress.js +25 -0
  37. package/dist/skill-report.js +52 -0
  38. package/dist/terminal-marks.js +21 -0
  39. package/dist/terminal-notifications.js +74 -19
  40. package/dist/terminal-view.js +275 -0
  41. package/dist/turri-versions.js +64 -6
  42. package/docs/README.md +2 -2
  43. package/docs/chats.md +4 -4
  44. package/docs/claude-subscription.md +1 -1
  45. package/docs/config.md +5 -4
  46. package/docs/development.md +30 -64
  47. package/docs/headless.md +3 -1
  48. package/docs/hosting.md +3 -251
  49. package/docs/installation.md +4 -2
  50. package/docs/launch.md +1 -1
  51. package/docs/sentinel.md +3 -3
  52. package/docs/using.md +3 -3
  53. package/package.json +10 -28
  54. package/dist/ask.d.ts +0 -90
  55. package/dist/ask.js +0 -170
  56. package/dist/background-skills.d.ts +0 -56
  57. package/dist/background-skills.js +0 -129
  58. package/dist/bedrock-region.d.ts +0 -66
  59. package/dist/bedrock-region.js +0 -144
  60. package/dist/brand.d.ts +0 -13
  61. package/dist/btw.d.ts +0 -69
  62. package/dist/btw.js +0 -174
  63. package/dist/capture/agents.d.ts +0 -406
  64. package/dist/capture/agents.js +0 -379
  65. package/dist/capture/area.d.ts +0 -58
  66. package/dist/capture/area.js +0 -197
  67. package/dist/capture/assemble.d.ts +0 -112
  68. package/dist/capture/assemble.js +0 -453
  69. package/dist/capture/capture.d.ts +0 -116
  70. package/dist/capture/capture.js +0 -1315
  71. package/dist/capture/chat.d.ts +0 -29
  72. package/dist/capture/chat.js +0 -94
  73. package/dist/capture/checks.d.ts +0 -142
  74. package/dist/capture/checks.js +0 -649
  75. package/dist/capture/config.d.ts +0 -13
  76. package/dist/capture/config.js +0 -66
  77. package/dist/capture/interface.d.ts +0 -71
  78. package/dist/capture/interface.js +0 -199
  79. package/dist/capture/map.d.ts +0 -56
  80. package/dist/capture/map.js +0 -530
  81. package/dist/capture/models.d.ts +0 -4
  82. package/dist/capture/models.js +0 -16
  83. package/dist/capture/plan.d.ts +0 -7
  84. package/dist/capture/plan.js +0 -13
  85. package/dist/capture/progress.d.ts +0 -111
  86. package/dist/capture/progress.js +0 -266
  87. package/dist/capture/python-interface.d.ts +0 -3
  88. package/dist/capture/python-interface.js +0 -17
  89. package/dist/capture/report.d.ts +0 -75
  90. package/dist/capture/report.js +0 -268
  91. package/dist/capture/runners.d.ts +0 -6
  92. package/dist/capture/runners.js +0 -59
  93. package/dist/capture/scripts.d.ts +0 -26
  94. package/dist/capture/scripts.js +0 -38
  95. package/dist/capture/state.d.ts +0 -310
  96. package/dist/capture/state.js +0 -43
  97. package/dist/capture/trial.d.ts +0 -34
  98. package/dist/capture/trial.js +0 -89
  99. package/dist/capture-cli.d.ts +0 -1
  100. package/dist/chat-commands.d.ts +0 -17
  101. package/dist/chat-idle.d.ts +0 -7
  102. package/dist/chat-idle.js +0 -20
  103. package/dist/chat-models.d.ts +0 -22
  104. package/dist/chat-records.d.ts +0 -50
  105. package/dist/chat-records.js +0 -107
  106. package/dist/chat-scope.d.ts +0 -14
  107. package/dist/chat-scope.js +0 -15
  108. package/dist/chat-skills.d.ts +0 -17
  109. package/dist/chat-skills.js +0 -18
  110. package/dist/chat-tab-header.d.ts +0 -16
  111. package/dist/chat-tabs.d.ts +0 -26
  112. package/dist/chat-terminal.d.ts +0 -24
  113. package/dist/chat-ui.d.ts +0 -33
  114. package/dist/chat-waiting.d.ts +0 -67
  115. package/dist/chats.d.ts +0 -346
  116. package/dist/chats.js +0 -1022
  117. package/dist/cli-options.d.ts +0 -24
  118. package/dist/cli.d.ts +0 -9
  119. package/dist/config-edit.d.ts +0 -83
  120. package/dist/config-edit.js +0 -393
  121. package/dist/config.d.ts +0 -428
  122. package/dist/config.js +0 -816
  123. package/dist/conform-cli.d.ts +0 -1
  124. package/dist/conformance-switch.d.ts +0 -25
  125. package/dist/conformance-switch.js +0 -86
  126. package/dist/cultivate-cli.d.ts +0 -1
  127. package/dist/doctor-tool.d.ts +0 -11
  128. package/dist/doctor-tool.js +0 -33
  129. package/dist/drift-cli.d.ts +0 -1
  130. package/dist/environment.d.ts +0 -37
  131. package/dist/environment.js +0 -109
  132. package/dist/extension.d.ts +0 -209
  133. package/dist/genome.d.ts +0 -77
  134. package/dist/genome.js +0 -288
  135. package/dist/graph.d.ts +0 -52
  136. package/dist/graph.js +0 -247
  137. package/dist/host-session.d.ts +0 -112
  138. package/dist/host-session.js +0 -103
  139. package/dist/host.d.ts +0 -40
  140. package/dist/host.js +0 -54
  141. package/dist/identity.d.ts +0 -7
  142. package/dist/identity.js +0 -75
  143. package/dist/init-config.d.ts +0 -172
  144. package/dist/init-config.js +0 -867
  145. package/dist/installed-providers.d.ts +0 -40
  146. package/dist/installed-providers.js +0 -98
  147. package/dist/jellyfish.d.ts +0 -40
  148. package/dist/judge.d.ts +0 -25
  149. package/dist/judge.js +0 -62
  150. package/dist/launch-agent.d.ts +0 -62
  151. package/dist/launch-agent.js +0 -339
  152. package/dist/launch-cli.d.ts +0 -1
  153. package/dist/launch-session.d.ts +0 -68
  154. package/dist/launch-session.js +0 -225
  155. package/dist/launch-tools.d.ts +0 -28
  156. package/dist/launch-tools.js +0 -72
  157. package/dist/launch-track.d.ts +0 -175
  158. package/dist/launch-track.js +0 -497
  159. package/dist/lineage-cli.d.ts +0 -1
  160. package/dist/loop-cli.d.ts +0 -35
  161. package/dist/loop-tools.d.ts +0 -103
  162. package/dist/loop-tools.js +0 -361
  163. package/dist/model-check.d.ts +0 -72
  164. package/dist/model-check.js +0 -162
  165. package/dist/module-report.d.ts +0 -9
  166. package/dist/new-project.d.ts +0 -10
  167. package/dist/new-project.js +0 -42
  168. package/dist/notice.d.ts +0 -115
  169. package/dist/notice.js +0 -61
  170. package/dist/parse-cli.d.ts +0 -1
  171. package/dist/parse-tool.d.ts +0 -9
  172. package/dist/parse-tool.js +0 -33
  173. package/dist/pi-launch.d.ts +0 -1
  174. package/dist/pi-settings.d.ts +0 -4
  175. package/dist/pi-themes.d.ts +0 -3
  176. package/dist/pi.d.ts +0 -248
  177. package/dist/pi.js +0 -889
  178. package/dist/picture-row.d.ts +0 -10
  179. package/dist/plain/check.d.ts +0 -63
  180. package/dist/plain/check.js +0 -236
  181. package/dist/plain/concepts.d.ts +0 -37
  182. package/dist/plain/concepts.js +0 -283
  183. package/dist/plain/cycles.d.ts +0 -21
  184. package/dist/plain/cycles.js +0 -190
  185. package/dist/plain/errors.d.ts +0 -26
  186. package/dist/plain/errors.js +0 -50
  187. package/dist/plain/files.d.ts +0 -47
  188. package/dist/plain/files.js +0 -161
  189. package/dist/plain/graph.d.ts +0 -107
  190. package/dist/plain/graph.js +0 -194
  191. package/dist/plain/highlight.d.ts +0 -43
  192. package/dist/plain/highlight.js +0 -196
  193. package/dist/plain/index.d.ts +0 -18
  194. package/dist/plain/index.js +0 -18
  195. package/dist/plain/liquid.d.ts +0 -22
  196. package/dist/plain/liquid.js +0 -124
  197. package/dist/plain/markdown.d.ts +0 -103
  198. package/dist/plain/markdown.js +0 -330
  199. package/dist/plain/module-concepts.d.ts +0 -32
  200. package/dist/plain/module-concepts.js +0 -80
  201. package/dist/plain/parser.d.ts +0 -163
  202. package/dist/plain/parser.js +0 -930
  203. package/dist/plain/plain.tmLanguage.json +0 -150
  204. package/dist/plain/project.d.ts +0 -48
  205. package/dist/plain/project.js +0 -155
  206. package/dist/plain/spec.d.ts +0 -152
  207. package/dist/plain/spec.js +0 -265
  208. package/dist/plain/stdlib.d.ts +0 -16
  209. package/dist/plain/stdlib.js +0 -48
  210. package/dist/plain/test-plain-file.d.ts +0 -59
  211. package/dist/plain/test-plain-file.js +0 -232
  212. package/dist/plain-code-blocks.d.ts +0 -14
  213. package/dist/plain-files.d.ts +0 -21
  214. package/dist/plain-files.js +0 -156
  215. package/dist/pointer-hover.d.ts +0 -12
  216. package/dist/question-dialog.d.ts +0 -60
  217. package/dist/questioning.d.ts +0 -55
  218. package/dist/questioning.js +0 -109
  219. package/dist/quiet.d.ts +0 -34
  220. package/dist/regenerate/activity.d.ts +0 -227
  221. package/dist/regenerate/activity.js +0 -250
  222. package/dist/regenerate/agent-env.d.ts +0 -51
  223. package/dist/regenerate/agent-env.js +0 -315
  224. package/dist/regenerate/agent-shell.d.ts +0 -54
  225. package/dist/regenerate/agent-shell.js +0 -121
  226. package/dist/regenerate/arbiter.d.ts +0 -68
  227. package/dist/regenerate/arbiter.js +0 -133
  228. package/dist/regenerate/audit.d.ts +0 -69
  229. package/dist/regenerate/audit.js +0 -212
  230. package/dist/regenerate/base-folder.d.ts +0 -70
  231. package/dist/regenerate/base-folder.js +0 -186
  232. package/dist/regenerate/cases.d.ts +0 -12
  233. package/dist/regenerate/cases.js +0 -149
  234. package/dist/regenerate/change-view.d.ts +0 -23
  235. package/dist/regenerate/change-view.js +0 -153
  236. package/dist/regenerate/chunk-plan.d.ts +0 -217
  237. package/dist/regenerate/chunk-plan.js +0 -937
  238. package/dist/regenerate/codebase.d.ts +0 -21
  239. package/dist/regenerate/codebase.js +0 -75
  240. package/dist/regenerate/command-check.d.ts +0 -66
  241. package/dist/regenerate/command-check.js +0 -577
  242. package/dist/regenerate/compaction.d.ts +0 -13
  243. package/dist/regenerate/compaction.js +0 -20
  244. package/dist/regenerate/confine.d.ts +0 -69
  245. package/dist/regenerate/confine.js +0 -311
  246. package/dist/regenerate/conform.d.ts +0 -66
  247. package/dist/regenerate/conform.js +0 -132
  248. package/dist/regenerate/conformance-agents.d.ts +0 -388
  249. package/dist/regenerate/conformance-agents.js +0 -1162
  250. package/dist/regenerate/conformance.d.ts +0 -191
  251. package/dist/regenerate/conformance.js +0 -1035
  252. package/dist/regenerate/conversation-writes.d.ts +0 -10
  253. package/dist/regenerate/conversation-writes.js +0 -100
  254. package/dist/regenerate/credentials.d.ts +0 -18
  255. package/dist/regenerate/credentials.js +0 -88
  256. package/dist/regenerate/debug-log.d.ts +0 -56
  257. package/dist/regenerate/debug-log.js +0 -236
  258. package/dist/regenerate/debugger.d.ts +0 -36
  259. package/dist/regenerate/debugger.js +0 -133
  260. package/dist/regenerate/delivery.d.ts +0 -2
  261. package/dist/regenerate/diagnose-job.d.ts +0 -2
  262. package/dist/regenerate/diagnose-job.js +0 -40
  263. package/dist/regenerate/diagnose.d.ts +0 -46
  264. package/dist/regenerate/diagnose.js +0 -92
  265. package/dist/regenerate/diff-view.d.ts +0 -64
  266. package/dist/regenerate/drift.d.ts +0 -120
  267. package/dist/regenerate/drift.js +0 -285
  268. package/dist/regenerate/environment-error.d.ts +0 -167
  269. package/dist/regenerate/environment-error.js +0 -342
  270. package/dist/regenerate/failure-reports.d.ts +0 -28
  271. package/dist/regenerate/failure-reports.js +0 -79
  272. package/dist/regenerate/job-log.d.ts +0 -30
  273. package/dist/regenerate/job-log.js +0 -105
  274. package/dist/regenerate/job-panel.d.ts +0 -20
  275. package/dist/regenerate/job-panel.js +0 -54
  276. package/dist/regenerate/jobs-tree.d.ts +0 -76
  277. package/dist/regenerate/jobs.d.ts +0 -231
  278. package/dist/regenerate/jobs.js +0 -522
  279. package/dist/regenerate/lanes.d.ts +0 -16
  280. package/dist/regenerate/lanes.js +0 -32
  281. package/dist/regenerate/launch.d.ts +0 -256
  282. package/dist/regenerate/launch.js +0 -689
  283. package/dist/regenerate/ledger-view.d.ts +0 -87
  284. package/dist/regenerate/ledger-view.js +0 -325
  285. package/dist/regenerate/ledger.d.ts +0 -368
  286. package/dist/regenerate/ledger.js +0 -357
  287. package/dist/regenerate/lineage.d.ts +0 -105
  288. package/dist/regenerate/lineage.js +0 -485
  289. package/dist/regenerate/list-arguments.d.ts +0 -21
  290. package/dist/regenerate/list-arguments.js +0 -121
  291. package/dist/regenerate/loop.d.ts +0 -423
  292. package/dist/regenerate/loop.js +0 -2087
  293. package/dist/regenerate/masking.d.ts +0 -19
  294. package/dist/regenerate/masking.js +0 -95
  295. package/dist/regenerate/model-names.d.ts +0 -33
  296. package/dist/regenerate/model-names.js +0 -92
  297. package/dist/regenerate/notes.d.ts +0 -159
  298. package/dist/regenerate/notes.js +0 -446
  299. package/dist/regenerate/os-sandbox.d.ts +0 -93
  300. package/dist/regenerate/os-sandbox.js +0 -283
  301. package/dist/regenerate/panel-dock.d.ts +0 -23
  302. package/dist/regenerate/paths.d.ts +0 -110
  303. package/dist/regenerate/paths.js +0 -190
  304. package/dist/regenerate/plain-palette.d.ts +0 -34
  305. package/dist/regenerate/prompt.d.ts +0 -230
  306. package/dist/regenerate/prompt.js +0 -741
  307. package/dist/regenerate/pulse-files.d.ts +0 -14
  308. package/dist/regenerate/pulse-files.js +0 -63
  309. package/dist/regenerate/records.d.ts +0 -132
  310. package/dist/regenerate/records.js +0 -327
  311. package/dist/regenerate/regenerate.d.ts +0 -106
  312. package/dist/regenerate/regenerate.js +0 -660
  313. package/dist/regenerate/regression.d.ts +0 -58
  314. package/dist/regenerate/regression.js +0 -188
  315. package/dist/regenerate/renames.d.ts +0 -42
  316. package/dist/regenerate/renames.js +0 -185
  317. package/dist/regenerate/requires.d.ts +0 -117
  318. package/dist/regenerate/requires.js +0 -377
  319. package/dist/regenerate/resources.d.ts +0 -57
  320. package/dist/regenerate/resources.js +0 -162
  321. package/dist/regenerate/scripts-being-written.d.ts +0 -19
  322. package/dist/regenerate/scripts-being-written.js +0 -30
  323. package/dist/regenerate/self-check.d.ts +0 -29
  324. package/dist/regenerate/self-check.js +0 -119
  325. package/dist/regenerate/services.d.ts +0 -28
  326. package/dist/regenerate/services.js +0 -158
  327. package/dist/regenerate/shell.d.ts +0 -91
  328. package/dist/regenerate/shell.js +0 -320
  329. package/dist/regenerate/side-panel.d.ts +0 -64
  330. package/dist/regenerate/spec-map-view.d.ts +0 -147
  331. package/dist/regenerate/spec-map.d.ts +0 -160
  332. package/dist/regenerate/spec-map.js +0 -596
  333. package/dist/regenerate/spec-steps.d.ts +0 -180
  334. package/dist/regenerate/spec-steps.js +0 -729
  335. package/dist/regenerate/standing.d.ts +0 -28
  336. package/dist/regenerate/standing.js +0 -30
  337. package/dist/regenerate/state.d.ts +0 -21
  338. package/dist/regenerate/state.js +0 -10
  339. package/dist/regenerate/steering.d.ts +0 -56
  340. package/dist/regenerate/steering.js +0 -119
  341. package/dist/regenerate/stop-report.d.ts +0 -43
  342. package/dist/regenerate/stop-report.js +0 -160
  343. package/dist/regenerate/submit-work.d.ts +0 -44
  344. package/dist/regenerate/submit-work.js +0 -76
  345. package/dist/regenerate/test-kinds.d.ts +0 -85
  346. package/dist/regenerate/test-kinds.js +0 -171
  347. package/dist/regenerate/test-scripts.d.ts +0 -240
  348. package/dist/regenerate/test-scripts.js +0 -847
  349. package/dist/regenerate/testing-steps.d.ts +0 -52
  350. package/dist/regenerate/testing-steps.js +0 -129
  351. package/dist/regenerate/testing.d.ts +0 -150
  352. package/dist/regenerate/testing.js +0 -438
  353. package/dist/regenerate/transcript-view.d.ts +0 -21
  354. package/dist/regenerate/unit-gate.d.ts +0 -27
  355. package/dist/regenerate/unit-gate.js +0 -20
  356. package/dist/regenerate/unit-review.d.ts +0 -152
  357. package/dist/regenerate/unit-review.js +0 -361
  358. package/dist/regenerate/web.d.ts +0 -61
  359. package/dist/regenerate/web.js +0 -256
  360. package/dist/regenerate/workspace.d.ts +0 -12
  361. package/dist/regenerate/workspace.js +0 -99
  362. package/dist/regenerate-cli.d.ts +0 -1
  363. package/dist/reopen.d.ts +0 -29
  364. package/dist/resume-line.d.ts +0 -5
  365. package/dist/review/live.d.ts +0 -72
  366. package/dist/review/live.js +0 -166
  367. package/dist/rules.d.ts +0 -20
  368. package/dist/rules.js +0 -47
  369. package/dist/run-report.d.ts +0 -88
  370. package/dist/run-report.js +0 -338
  371. package/dist/screen-padding.d.ts +0 -28
  372. package/dist/self-invocation.d.ts +0 -36
  373. package/dist/self-invocation.js +0 -137
  374. package/dist/sentinel-chat.d.ts +0 -19
  375. package/dist/sentinel-chat.js +0 -226
  376. package/dist/sentinel-check.d.ts +0 -36
  377. package/dist/sentinel-check.js +0 -78
  378. package/dist/sentinel.d.ts +0 -107
  379. package/dist/sentinel.js +0 -601
  380. package/dist/settings.d.ts +0 -45
  381. package/dist/settings.js +0 -378
  382. package/dist/setup.d.ts +0 -97
  383. package/dist/setup.js +0 -436
  384. package/dist/skill-progress.d.ts +0 -46
  385. package/dist/skill.d.ts +0 -102
  386. package/dist/skill.js +0 -147
  387. package/dist/skills.d.ts +0 -54
  388. package/dist/skills.js +0 -111
  389. package/dist/spawn-async.d.ts +0 -18
  390. package/dist/spawn-async.js +0 -35
  391. package/dist/stack.d.ts +0 -80
  392. package/dist/stack.js +0 -206
  393. package/dist/stdlib.d.ts +0 -43
  394. package/dist/stdlib.js +0 -118
  395. package/dist/surface.d.ts +0 -5
  396. package/dist/surface.js +0 -18
  397. package/dist/terminal-images.d.ts +0 -2
  398. package/dist/terminal-notifications.d.ts +0 -37
  399. package/dist/test-plain-files.d.ts +0 -41
  400. package/dist/test-plain-files.js +0 -172
  401. package/dist/tools.d.ts +0 -101
  402. package/dist/tools.js +0 -242
  403. package/dist/turri-versions.d.ts +0 -71
  404. package/genome/capture/capture.md +0 -26
  405. package/genome/capture/check-conventions.md +0 -5
  406. package/genome/capture/check-reference.md +0 -12
  407. package/genome/capture/compact.md +0 -7
  408. package/genome/capture/concepts.md +0 -3
  409. package/genome/capture/divide.md +0 -9
  410. package/genome/capture/feature.md +0 -45
  411. package/genome/capture/interface.md +0 -9
  412. package/genome/capture/modules.md +0 -25
  413. package/genome/capture/outline.md +0 -11
  414. package/genome/capture/python-interface.py +0 -111
  415. package/genome/capture/readability.md +0 -12
  416. package/genome/capture/reference.md +0 -10
  417. package/genome/capture/runners/python-requirements.sh +0 -67
  418. package/genome/capture/split.md +0 -9
  419. package/genome/capture/survey.md +0 -39
  420. package/genome/capture/trial.md +0 -18
  421. package/genome/capture/verify.md +0 -7
  422. package/genome/rules/bullet-continuation.md +0 -61
  423. package/genome/rules/concise-specs-examples.md +0 -460
  424. package/genome/rules/concise-specs-integration-examples.md +0 -281
  425. package/genome/rules/concise-specs.md +0 -80
  426. package/genome/rules/definitions.md +0 -107
  427. package/genome/rules/examples/integration-embedded-testing/run_conformance_tests_java.sh +0 -161
  428. package/genome/rules/examples/integration-embedded-testing/run_unittests_java.sh +0 -50
  429. package/genome/rules/exported-concepts.md +0 -39
  430. package/genome/rules/func-specs.md +0 -164
  431. package/genome/rules/impl-reqs.md +0 -68
  432. package/genome/rules/import-modules.md +0 -49
  433. package/genome/rules/integration-embedded-testing.md +0 -273
  434. package/genome/rules/integration-embedded.md +0 -171
  435. package/genome/rules/integration-standalone.md +0 -135
  436. package/genome/rules/integrations.md +0 -136
  437. package/genome/rules/linked-resources.md +0 -76
  438. package/genome/rules/module-structure.md +0 -112
  439. package/genome/rules/project-model.md +0 -69
  440. package/genome/rules/required-concepts.md +0 -44
  441. package/genome/rules/requires-modules.md +0 -81
  442. package/genome/rules/semantic-ids.md +0 -49
  443. package/genome/rules/stdlib.md +0 -37
  444. package/genome/rules/test-plain-files.md +0 -138
  445. package/genome/rules/test-reqs.md +0 -57
  446. package/genome/rules/turri-regeneration.md +0 -66
  447. package/genome/skills/analyze-2-func-specs/SKILL.md +0 -116
  448. package/genome/skills/analyze-func-specs/SKILL.md +0 -137
  449. package/genome/skills/break-down-func-spec/SKILL.md +0 -229
  450. package/genome/skills/consolidate-concepts/SKILL.md +0 -192
  451. package/genome/skills/convert-old-syntax/SKILL.md +0 -68
  452. package/genome/skills/convert-old-syntax/references/rubric.md +0 -11
  453. package/genome/skills/debug-specs/SKILL.md +0 -194
  454. package/genome/skills/implement-conformance-testing-script/SKILL.md +0 -247
  455. package/genome/skills/implement-conformance-testing-script/assets/run_conformance_tests_cypress.ps1 +0 -337
  456. package/genome/skills/implement-conformance-testing-script/assets/run_conformance_tests_golang.ps1 +0 -111
  457. package/genome/skills/implement-conformance-testing-script/assets/run_conformance_tests_java.sh +0 -151
  458. package/genome/skills/implement-conformance-testing-script/assets/run_conformance_tests_python.ps1 +0 -103
  459. package/genome/skills/implement-conformance-testing-script/assets/run_conformance_tests_python.sh +0 -146
  460. package/genome/skills/implement-unit-testing-script/SKILL.md +0 -171
  461. package/genome/skills/implement-unit-testing-script/assets/run_unittests_flutter.ps1 +0 -87
  462. package/genome/skills/implement-unit-testing-script/assets/run_unittests_golang.ps1 +0 -73
  463. package/genome/skills/implement-unit-testing-script/assets/run_unittests_java.sh +0 -82
  464. package/genome/skills/implement-unit-testing-script/assets/run_unittests_python.ps1 +0 -81
  465. package/genome/skills/implement-unit-testing-script/assets/run_unittests_python.sh +0 -102
  466. package/genome/skills/implement-unit-testing-script/assets/run_unittests_react.ps1 +0 -87
  467. package/genome/skills/refactor-module/SKILL.md +0 -218
  468. package/genome/skills/resolve-section-ownership/SKILL.md +0 -64
  469. package/genome/skills/resolve-spec-conflict/SKILL.md +0 -102
  470. package/stdlib/backend/common.plain +0 -25
  471. package/stdlib/backend/conformance/common.plain +0 -12
  472. package/stdlib/backend/conformance/go-gin.plain +0 -9
  473. package/stdlib/backend/conformance/go-nethttp.plain +0 -9
  474. package/stdlib/backend/conformance/java-springboot.plain +0 -9
  475. package/stdlib/backend/conformance/python-django.plain +0 -9
  476. package/stdlib/backend/conformance/python-fastapi.plain +0 -9
  477. package/stdlib/backend/conformance/python-flask.plain +0 -9
  478. package/stdlib/backend/conformance/rust-axum.plain +0 -9
  479. package/stdlib/backend/conformance/typescript-express.plain +0 -9
  480. package/stdlib/backend/conformance/typescript-fastify.plain +0 -9
  481. package/stdlib/backend/conformance/typescript-nestjs.plain +0 -9
  482. package/stdlib/backend/go-gin.plain +0 -18
  483. package/stdlib/backend/go-nethttp.plain +0 -18
  484. package/stdlib/backend/java-springboot.plain +0 -19
  485. package/stdlib/backend/python-django.plain +0 -19
  486. package/stdlib/backend/python-fastapi.plain +0 -23
  487. package/stdlib/backend/python-flask.plain +0 -23
  488. package/stdlib/backend/rust-axum.plain +0 -17
  489. package/stdlib/backend/typescript-express.plain +0 -19
  490. package/stdlib/backend/typescript-fastify.plain +0 -19
  491. package/stdlib/backend/typescript-nestjs.plain +0 -19
  492. package/stdlib/cli/common.plain +0 -17
  493. package/stdlib/cli/conformance/common.plain +0 -11
  494. package/stdlib/cli/conformance/go-cobra.plain +0 -9
  495. package/stdlib/cli/conformance/go-flag.plain +0 -9
  496. package/stdlib/cli/conformance/java-picocli.plain +0 -9
  497. package/stdlib/cli/conformance/python-argparse.plain +0 -9
  498. package/stdlib/cli/conformance/python-click.plain +0 -9
  499. package/stdlib/cli/conformance/python-typer.plain +0 -9
  500. package/stdlib/cli/conformance/rust-clap.plain +0 -9
  501. package/stdlib/cli/conformance/typescript-commander.plain +0 -9
  502. package/stdlib/cli/go-cobra.plain +0 -14
  503. package/stdlib/cli/go-flag.plain +0 -14
  504. package/stdlib/cli/java-picocli.plain +0 -15
  505. package/stdlib/cli/python-argparse.plain +0 -18
  506. package/stdlib/cli/python-click.plain +0 -16
  507. package/stdlib/cli/python-typer.plain +0 -16
  508. package/stdlib/cli/rust-clap.plain +0 -14
  509. package/stdlib/cli/typescript-commander.plain +0 -17
  510. package/stdlib/frontend/angular.plain +0 -17
  511. package/stdlib/frontend/common.plain +0 -17
  512. package/stdlib/frontend/conformance/angular.plain +0 -5
  513. package/stdlib/frontend/conformance/common.plain +0 -11
  514. package/stdlib/frontend/conformance/react-vite.plain +0 -5
  515. package/stdlib/frontend/conformance/sveltekit-spa.plain +0 -5
  516. package/stdlib/frontend/conformance/vue-vite.plain +0 -5
  517. package/stdlib/frontend/react-vite.plain +0 -16
  518. package/stdlib/frontend/sveltekit-spa.plain +0 -16
  519. package/stdlib/frontend/vue-vite.plain +0 -16
  520. package/stdlib/lang/go.plain +0 -13
  521. package/stdlib/lang/java.plain +0 -12
  522. package/stdlib/lang/python.plain +0 -18
  523. package/stdlib/lang/rust.plain +0 -12
  524. package/stdlib/lang/typescript.plain +0 -13
  525. package/stdlib/library/common.plain +0 -15
  526. package/stdlib/library/conformance/common.plain +0 -9
  527. package/stdlib/library/conformance/go.plain +0 -9
  528. package/stdlib/library/conformance/java-gradle.plain +0 -9
  529. package/stdlib/library/conformance/java-maven.plain +0 -9
  530. package/stdlib/library/conformance/python.plain +0 -9
  531. package/stdlib/library/conformance/rust.plain +0 -9
  532. package/stdlib/library/conformance/typescript.plain +0 -9
  533. package/stdlib/library/go.plain +0 -12
  534. package/stdlib/library/java-gradle.plain +0 -13
  535. package/stdlib/library/java-maven.plain +0 -13
  536. package/stdlib/library/python.plain +0 -13
  537. package/stdlib/library/rust.plain +0 -12
  538. package/stdlib/library/typescript.plain +0 -15
@@ -1,10 +0,0 @@
1
- # Take the interface from the code
2
-
3
- You take the software's interface from its code, as data: every command, argument, option, route and environment variable a user, a client or a script calls by name - in the files you are given, and any of their interface the map missed. It becomes the part's interface reference: kept beside the ***plain as a linked resource, given whole to every agent that regenerates the code or tests it, and the one place its details are written. So it is exact, whole, and taken from the code alone - never from a name, the docs, or what a framework would do. Call `submit_capture_reference` once.
4
-
5
- - **Read each file you are given whole,** and follow what defines the interface to where it is worked out: a list of choices built elsewhere, a computed default, a group of options a helper adds. Then grep the part for interface the map missed: subcommands, positional arguments, routes a router adds, variables read through a helper.
6
- - **One entry each,** of its kind: `command`, `argument` (positional), `option`, `route`, `env`, or `other` - a configuration key, a file it reads: what a user or a script names. Its `name` exactly as the code has it - a route as `METHOD /path` in the code's own parameter syntax - and every other name it has in `aliases`. For an argument or an option, `command`: the command it belongs to, as its users type it.
7
- - **Exactly as the code has it:** `takes` (its metavar or type), `choices` (each value, from wherever the code lists them), `default`, `repeatable`, `required`, `hidden` when it is left out of its help, and `help` word for word, placeholders and all - the whole text `--help` prints, every paragraph: where the code keeps a short help and a long one, the one `--help` prints. Choices or a default the code works out when it runs - filtered by what the machine has, taken from what is installed - go in `details`, saying how, never as a fixed list that is not always the list. A route's parameters, the fields it takes and answers, and its statuses, a line each in `details`. Leave a field out rather than guess it: what the code does not say, the entry does not.
8
- - **Before you say what a set, a list or a mapping holds,** grep every line that builds it or adds to it - a set defined in one place is often added to in another - and read each.
9
- - **`where`: the file and the line it is defined on.** Every literal you give - each name, alias, choice, default, and the help - is checked against that file and the files you name in `also` (where a default or the choices are worked out): one the code does not have sends the entry back.
10
- - **Whole:** every surface the map found in your files is an entry, or is in `excluded` with why - only what is not the software's interface: an option of a development script, a variable only its tests read. An option users rarely pass is the interface still.
@@ -1,67 +0,0 @@
1
- #!/usr/bin/env bash
2
- # Self-contained runner for a Python project run from its root. Inputs are read-only.
3
- set -eu -o pipefail
4
- mode='@MODE@'; build_var='@BUILD_VAR@'; python_var='@PYTHON_VAR@'
5
- if [[ $mode == unit ]]; then [[ $# == 1 ]] || exit 1; else [[ $# == 2 ]] || exit 69; fi
6
- src=$(cd "$1" && pwd) || exit 2
7
- if [[ $mode != unit ]]; then
8
- tests=$(cd "$2" && pwd) || exit 2
9
- misplaced=$(grep -rlE --exclude='.turri*' --exclude-dir=.venv --exclude-dir=.git '(conformance tests|(conformance|acceptance) scenario [a-z0-9-]+) of [^[:space:]:]+:[a-z0-9-]+' "$src" || true
10
- find "$src" -type f \( -ipath '*conformance*' -o -ipath '*acceptance*' \) -iname '*test*' ! -name '.turri*')
11
- if [[ -n $misplaced ]]; then echo "Conformance tests belong in $tests, not the build: $misplaced"; exit 1; fi
12
- fi
13
- work=$(mktemp -d "${TMPDIR:-/tmp}/turri-tests.XXXXXXXX") || exit 2
14
- trap 'rm -rf "$work"' EXIT
15
- mkdir -p "$work/build" "$work/tmp"
16
- tar -C "$src" --exclude=.git --exclude=.venv --exclude=__pycache__ -cf - . | tar -C "$work/build" -xf - || exit 2
17
- cd "$work/build"
18
- export TMPDIR="$work/tmp" PYTHONDONTWRITEBYTECODE=1 PIP_DISABLE_PIP_VERSION_CHECK=1
19
- unset PYTHONPATH PYTHONHOME
20
- for py in python3 python; do "$py" -c 'import sys; assert sys.version_info.major == 3' 2>/dev/null && break; done
21
- "$py" -m venv "$work/venv" || { echo 'Python 3 with venv is required'; exit 69; }
22
- bin="$work/venv/bin"; [[ -d "$bin" ]] || bin="$work/venv/Scripts"
23
- export PATH="$bin:$PATH"
24
- if [[ '@INSTALL@' == package ]]; then
25
- "$bin/python" -m pip install --cache-dir "$work/pip" '@EXTRA@' || exit $?
26
- else
27
- "$bin/python" -m pip install --cache-dir "$work/pip" -r requirements.txt || exit $?
28
- fi
29
- [[ -z $build_var ]] || export "$build_var=$PWD"
30
- [[ -z $python_var ]] || export "$python_var=$bin/python"
31
- checks=0
32
- if [[ $mode == bats ]]; then
33
- if ! command -v bats >/dev/null; then
34
- git clone -q --depth 1 --branch v1.12.0 https://github.com/bats-core/bats-core.git "$work/bats" || exit 69
35
- export PATH="$work/bats/bin:$PATH"
36
- fi
37
- # Bats preprocessing checks the suite's shell syntax. Count first: zero tests must never pass.
38
- count=$(bats --recursive --count "$tests") || exit 1
39
- [[ $count =~ ^[1-9][0-9]*$ ]] || { echo 'No Bats tests discovered'; exit 1; }
40
- bats --recursive --formatter tap "$tests"
41
- else
42
- if [[ '@CHECKS@' == black ]]; then
43
- "$bin/python" -m pip install --cache-dir "$work/pip" pytest black isort flake8 mypy || exit $?
44
- target=.; [[ $mode == unit ]] || target=$tests
45
- "$bin/python" -m black --check --config pyproject.toml "$target" || checks=80
46
- "$bin/python" -m isort --check-only --settings-path pyproject.toml "$target" || checks=80
47
- "$bin/python" -m flake8 --isolated "$target" || checks=80
48
- else
49
- "$bin/python" -m pip install --cache-dir "$work/pip" pytest ruff mypy || exit $?
50
- fi
51
- if [[ $mode == unit ]]; then
52
- if [[ '@CHECKS@' != black ]]; then
53
- "$bin/python" -m ruff format --check . || checks=80
54
- "$bin/python" -m ruff check . || checks=80
55
- fi
56
- "$bin/python" -m mypy . || checks=80
57
- "$bin/python" -m pytest
58
- else
59
- if [[ '@CHECKS@' != black ]]; then
60
- "$bin/python" -m ruff format --check --isolated --no-cache "$tests" || checks=80
61
- "$bin/python" -m ruff check --isolated --no-cache "$tests" || checks=80
62
- fi
63
- "$bin/python" -m mypy --config-file= --disallow-untyped-defs --follow-imports=silent "$tests" || checks=80
64
- "$bin/python" -m pytest -c /dev/null -p no:cacheprovider --basetemp="$work/pytest" "$tests"
65
- fi
66
- fi
67
- exit "$checks"
@@ -1,9 +0,0 @@
1
- # Split an area
2
-
3
- Your area of the codebase is too large for one agent to outline: split it into smaller areas, each a cohesive part of what the software does - authentication, billing, the editor, the admin screens - so each can be captured on its own. Call `submit_capture_areas` once.
4
-
5
- - Each area gets a short kebab-case `name` from what it does, a line `about` what it does, and its `paths`: folders or files of your area, relative to the codebase.
6
- - Divide by what the software does, not by technical layer, where the code allows it: an area's routes, its data and its screens together. Where the code is layered - a `models/` folder for everything - follow the folders, and name an area by what it does.
7
- - Every file of your area belongs to one area, or is in `left_out` with why: vendored, generated, tooling. A path in one area is in no other.
8
- - At least two areas, each smaller than yours. Fewer, larger areas are better than many small ones: an area is worth an agent when it holds a few thousand lines.
9
- - List them in build order: the foundations first - the data model, shared services - then what is built on them. The harness also orders them by what imports what.
@@ -1,39 +0,0 @@
1
- # Survey the codebase
2
-
3
- You start the capture: from the map of the whole codebase, its manifests and its docs, you say what the software is built on and how it divides into parts, you settle the conventions every feature follows, and you write what every part's ***plain shares. Call `submit_capture_survey` once, with all of it.
4
-
5
- ## Parts
6
-
7
- A part is software on one stack: a backend, a frontend, a command-line tool, a library. Most codebases are one part. A codebase with a Python backend and a React frontend is two - each captured as a chain of modules of its own, built and tested with its own toolchain. Two parts never share a folder.
8
-
9
- - `name`: short kebab-case, what the part is - `api`, `web`, `cli`, or the product's name when there is one part.
10
- - `paths`: the folders and files that are the part, relative to the codebase - `.` for the whole of it when there is one part.
11
- - Leave out what is not the software: vendored code, generated code, build and deployment tooling, editor settings, the docs themselves - each in `left_out`, with why. A part's own tests are part of it, never left out: they are the evidence of what it does.
12
-
13
- ## The stack
14
-
15
- Select stock testing `runners` only where they match the part. Ordinary pytest can use a requirements.txt build or a standard pip-installable pyproject.toml package, including src layouts and installed console scripts. The runner installs the build in a fresh venv and runs pytest with the staged project as cwd (for conformance, only the supplied external tests). For conformance on a requirements.txt build, Bats is also available. Read any test helper for the exact environment variable names for the build folder and Python interpreter. Choose custom for any different checkers, services, flags or setup. Do not change the original's stack to make a stock runner fit.
16
-
17
- The parts are captured on the stack they are on now - the same language, framework, storage and main libraries, with their versions from the manifests.
18
-
19
- - `stdlib_stack`: turri's standard library has templates that settle a stack (the catalogue is below). Read the one that matches. Name it only when the original agrees with it - its framework, its layout, its libraries - since everything in it becomes a requirement. When it contradicts the original anywhere that matters, name none, and write the stack in `implementation_reqs` instead.
20
- - `stdlib_conformance`: true to import the stack's conformance template too - when you named a stack that has one and the original's black-box tests, if it has any, run the way it says.
21
- - `implementation_reqs`: how the part is built, one fact a line, without the `- `: the language and its version, the framework, storage, the libraries that shape behaviour or architecture - an ORM, an outside service such as a payment provider - and how it starts. Write :Implementation: as the subject. Not what a named `stdlib_stack` says already; not utility libraries. When the original has unit tests, how they run - their framework - with :UnitTests: as the subject.
22
- - `test_reqs`: how the black-box conformance tests run, with :ConformanceTests: as the subject - the framework, how they reach the software (start the server and call it over HTTP, run the command, drive the page). Take it from the original's own black-box tests when it has them, and from how they run the software: read their harness - fixtures, helpers, `conftest` - for what standard input is (a terminal, empty, piped), the environment and the servers they start, and say it. A conformance test run any other way tests another program: a command that reads piped standard input as its body acts differently when its tests give it none.
23
- - Then what every test sets up so the software acts the same on every run and every machine - read the code for what would otherwise vary: whatever it fetches or checks on its own - an update check, telemetry, a remote configuration - turned off, or pointed at a local stand-in; a home and a configuration folder of the test's own, empty unless the test fills them; the terminal width fixed (`COLUMNS`) where its output wraps or cuts to it; a pseudo-terminal where it prompts on one - a password - or acts otherwise on one; the servers it talks to started locally, never the internet. Each as one fact, with how: the variable and its value, the file and what it holds. Leave `test_reqs` empty only when the conformance template you named says it all.
24
-
25
- ## Conventions
26
-
27
- `conventions`: what every feature of a part does the same way and a user or a script relies on, settled here once - the agents that capture each feature follow them, and never decide them again. Four agents each deciding a command's exit code on a usage error decide it differently. For a command-line tool: how an error is written - the stream, its exact form - the exit code of each kind of failure (a usage error, a failed request, a timeout, Ctrl-C), and what changes when standard input or output is not a terminal. For a backend: the error body, the status of each kind of failure, what every request needs. For a frontend: how errors and loading show.
28
-
29
- For software that talks to other software - a client that sends requests, a server that answers them, a tool that writes files another program reads - also what reaches the other side, exactly, whichever feature makes the call: the headers it adds of its own and when (`User-Agent`, `Accept`, `Content-Type`, `Content-Length`); how a body is encoded - JSON's separators and whether non-ASCII is escaped, the charset, a form's encoding; how a header's value is encoded and trimmed; when a body is sent or read whole, streamed, or not read at all. No feature's writer looks at the wire; the other side sees it on every call.
30
-
31
- - Settle each from the code that does it: follow the entry point to where it catches errors and exits, and read what it does there. A declaration is no evidence - an enum lists codes the code may never use - and neither is a framework's default the entry point changes: argparse exits 2 on a usage error unless the program catches it and exits otherwise.
32
- - One fact a line, without the `- `, exact: the stream, the text, the code. In `where`, the files whose code decides it.
33
- - Only what the stack you named does not say the same way: where the original departs from it, or what it leaves open.
34
-
35
- ## Concepts
36
-
37
- `definitions`: the core concepts of each part's domain - what its data model, its tables and its screens are about: `:User:`, `:Order:`, `:Invoice:`. Each is one plain sentence that starts with the concept and says what it is, with its attributes when they matter to what users see. Only those used across the software; the agents that capture each feature define their own. Concept names are CamelCase between colons, and never one of the predefined ones (:Implementation:, :UnitTests:, :ConformanceTests:, :AcceptanceTests: and the rest).
38
-
39
- Every concept your bullets use must be one of yours or a predefined one. Two definitions never name each other - `:Link:` naming `:LinkCode:` and `:LinkCode:` naming `:Link:` is a circle ***plain refuses: the one built on the other names it, and that one names nothing back.
@@ -1,18 +0,0 @@
1
- # Try the scenarios on the original
2
-
3
- The scenarios below are what the conformance tests of the regenerated code will check. Agents wrote them from the original's code and tests, and never ran it - so one can expect a terminal its test will not give, a site on the internet, output wrapped at a width nobody set, a message the original never prints. A scenario the original itself fails is wrong: a coding agent builds to it and breaks what users rely on, or its module's conformance tests fail for good.
4
-
5
- You have a shell. Your folder is a copy of the original codebase - its files, none of its dependencies installed. Install it there, as its manifests and README say, then run each scenario against it the way its conformance test will: from outside, through its interface - the command run, the request sent, the page driven - under the test reqs below: what standard input and output are, the environment, the servers it talks to. Never change the original's files to make a scenario hold.
6
-
7
- Call `submit_capture_trial` once, with every scenario you were given, each with its `outcome`:
8
-
9
- - `held`: the original does what it says. In `ran`, what you ran and what it answered, in a line.
10
- - `corrected`: it does otherwise. Its whole new text in `text`, saying what the original does; `why`; and in `ran`, what you ran and what it answered. Keep what it checks - change its values, what it expects, or how it gets there: a local server for a site on the internet, the option that forces colour when its test's output is not a terminal. Never check less. Where its functional spec says the same wrong thing, correct the functional spec too, in `functional_specs`, its whole new text and why.
11
- - `removed`: nothing outside the software can check it - it calls a function, mocks a library, needs a real terminal no test can give - with `why`. Rare: first look for a way to check it from outside.
12
- - `untried`: you could not run it - the original would not install or start here, it needs a service this machine lacks - with `why`. It stays as written. Never `held` or `removed` for a scenario you did not run.
13
-
14
- What every conformance test of the part must set up for the original to act as the scenarios say goes in `test_reqs`, one fact a line, with :ConformanceTests: as the subject, when the test reqs below do not say it already: an environment variable such as `COLUMNS`, a configuration folder of the test's own, an update check or telemetry turned off, how bodies are compared, a local server in place of the internet.
15
-
16
- The test reqs are read by whoever writes any conformance test of the part, for every scenario of every module. So what only some scenarios need - a file one sends, a session file one starts from, a server that answers one exact body, a pseudo-terminal for the one password prompt, a variable unset for one case - is never a test req: it goes in those scenarios' own text. Return each `corrected`, its text saying the setup it needs as part of what it does, and `why`: the setup it did not say. A test req names no scenario and no functional spec.
17
-
18
- Run the smallest batch of actual commands that demonstrates all the scenarios, capturing stdout, stderr and exit status separately. A standard-library CLI you can run from its source tree needs no install: invoke it directly. A test framework is not needed to observe what its black-box tests observe. Do not spend a turn installing a framework just to launch the same command.
@@ -1,7 +0,0 @@
1
- # Check the interface against the code
2
-
3
- Below is a module's ***plain - each functional spec with its scenarios - and the interface the code of its features defines. From now on the ***plain is the source of truth and the code is regenerated from it: what it says of the interface must be what the original does, exactly. Check every interface fact it states against the code that decides it - each option's names, the value it takes, its choices and default; each command; each route's method, path, parameters, fields and status codes; each message, output format and exit code a user or a script sees; each environment variable. Read the definition and follow it: never take the ***plain's word, a name, a help text or a docstring when the code does otherwise. The agents that wrote it were offline and read in a hurry; expect mistakes.
4
-
5
- When the part has an interface reference, its entries are listed: taken from the code, every literal checked against it. The ***plain must agree with it - an option, a choice, a default it gives otherwise is wrong, unless the code shows the reference is - and an option the ***plain names that the reference does not have is listed for you to settle against the code.
6
-
7
- Correct what is wrong, and add what is missing of the interface it already describes: a choice left out, a default unsaid, an alias, a message's exact text, a field. A scenario that would fail against the original is corrected too. Call `submit_capture_corrections` once, with each correction: the functional spec's func-id - and the scenario's id when the correction is to the scenario - its whole new text, and why, citing the code. Change nothing else: a functional spec that holds keeps its words, behaviour that is not interface is not yours, and no fact is cut. None at all when everything holds.
@@ -1,61 +0,0 @@
1
- ---
2
- description: Bullet and continuation syntax for the definitions, implementation reqs and test reqs of .plain files
3
- ---
4
-
5
- # Rules for bullets and continuations in `.plain` files
6
-
7
- These rules apply to `***definitions***`, `***implementation reqs***`, and `***test reqs***`, and to concept explanations. The body of a functional spec, and of a scenario in a test plain file, is free text: these rules do not apply there (see `func-specs.md` and `test-plain-files.md`).
8
-
9
- ## No line-length limit
10
-
11
- - `.plain` does not impose a maximum number of characters per line
12
- - Do not split a valid line merely to satisfy an arbitrary formatting width
13
- - Prefer clear, precise wording; concision must never remove required detail
14
- - Length is bounded by content, not by width: say everything required, in the fewest plain words that stay exact (see `concise-specs.md`)
15
-
16
- ## One statement per line
17
-
18
- This is the preferred `.plain` authoring convention, not something turri enforces. A line break in these sections means one of exactly two things: a new `- ` statement, or a nested `- ` clarification of the statement above it. There is no third, typographic reason to break a line.
19
-
20
- - Write each statement on a single line, however long
21
- - Never break a line just for width: a bare continuation (an indented line without `- `) adds a line break that carries no structure — to every future reader and editing agent it is indistinguishable from a deliberate sub-point
22
- - The test: if content deserves its own line, it deserves its own `- ` bullet; if it doesn't, keep it on the parent's line
23
- - What turri does enforce is the top level of `***definitions***`, `***implementation reqs***` and `***test reqs***`: every statement there must be a `- ` list item - a flush-left prose line is a syntax error. A bare continuation, by contrast, is accepted and folded into its parent item verbatim
24
-
25
- BAD — line broken for width (bare continuation):
26
-
27
- ```plain
28
- ***definitions***
29
-
30
- - :GatewayWebhook: hands off :StripeRequest: to :StripeIntegration:.handle(),
31
- which returns a list of :EventEnvelope: dicts conforming to the gateway contract.
32
- ```
33
-
34
- GOOD — one valid list item:
35
-
36
- ```plain
37
- ***definitions***
38
-
39
- - :GatewayWebhook: hands off :StripeRequest: to :StripeIntegration:.handle(), which returns a list of :EventEnvelope: dicts conforming to the gateway contract.
40
- ```
41
-
42
- BEST — separate clarifications expressed as nested bullets:
43
-
44
- ```plain
45
- ***definitions***
46
-
47
- - :GatewayWebhook: hands off :StripeRequest: to :StripeIntegration:.handle().
48
- - The method returns a list of :EventEnvelope: dicts.
49
- - The dicts conform to the gateway's :EventEnvelope: contract.
50
- ```
51
-
52
- ## Presenting `.plain` examples
53
-
54
- - Show every example under its owning section header
55
- - Separate top-level list items, functional specs and scenarios with one blank line
56
- - Keep nested clarifications directly under their parent without a blank line
57
- - BAD, WRONG, `Before:`, and `Too complex:` examples may intentionally demonstrate invalid syntax
58
-
59
- ## Content that belongs in resources
60
-
61
- Long URLs, schema fragments, and example payloads belong in `resources/` because they are external artifacts, not because of their character count. Follow `linked-resources.md`.