@r1z4x/tezgah 1.9.0 → 1.11.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 (429) hide show
  1. package/CHANGELOG.md +98 -1
  2. package/MANIFEST +382 -144
  3. package/README.de.md +1 -1
  4. package/README.es.md +1 -1
  5. package/README.fr.md +1 -1
  6. package/README.md +1 -1
  7. package/README.tr.md +1 -1
  8. package/bin/codegen +5 -2
  9. package/bin/tezgah-design +288 -1
  10. package/bin/tezgah-docs +1 -1
  11. package/bin/tezgah-doctor +39 -2
  12. package/bin/tezgah-import-ai-research +26 -12
  13. package/bin/tezgah-ocr-review +296 -0
  14. package/bin/tezgah-research +216 -40
  15. package/bin/tezgah-review-quote +185 -0
  16. package/bin/tezgah-setup +136 -33
  17. package/bin/tezgah-skill +1 -1
  18. package/bin/tezgah-status +201 -3
  19. package/bin/tezgah-task +203 -3
  20. package/commands/adhd.md +2 -2
  21. package/commands/ponytail.md +4 -4
  22. package/docs/architecture.md +2 -2
  23. package/docs/citations-baseline.json +2 -2
  24. package/docs/clarity-baseline.json +2 -2
  25. package/docs/contract.md +87 -42
  26. package/docs/environment.md +5 -3
  27. package/docs/evidence.md +28 -9
  28. package/docs/feature-audit.md +2 -2
  29. package/docs/gate.md +54 -31
  30. package/docs/glossary.md +5 -2
  31. package/docs/hosts.md +17 -3
  32. package/docs/index.json +34 -8
  33. package/docs/judge.md +4 -2
  34. package/docs/layers.md +3 -3
  35. package/docs/models.md +31 -9
  36. package/docs/operations.md +148 -8
  37. package/docs/research.md +786 -5
  38. package/docs/skills.md +137 -13
  39. package/docs/status-line.md +115 -1
  40. package/hooks/hooks.json +1 -1
  41. package/hooks/lang/en.json +10 -0
  42. package/hooks/lang/tr.json +11 -1
  43. package/hooks/tezgah_agents.py +38 -22
  44. package/hooks/tezgah_apps.py +18 -0
  45. package/hooks/tezgah_components.py +4 -0
  46. package/hooks/tezgah_context.py +189 -50
  47. package/hooks/tezgah_extension.py +337 -0
  48. package/hooks/tezgah_gate.py +188 -56
  49. package/hooks/tezgah_integrity.py +652 -105
  50. package/hooks/tezgah_judge.py +6 -4
  51. package/hooks/tezgah_models.py +59 -19
  52. package/hooks/tezgah_orca.py +1 -1
  53. package/hooks/tezgah_paths.py +102 -6
  54. package/hooks/tezgah_policy.py +94 -45
  55. package/hooks/tezgah_rank.py +9 -6
  56. package/hooks/tezgah_replay.py +4 -4
  57. package/hooks/tezgah_research.py +1260 -65
  58. package/hooks/tezgah_research_capture.py +1544 -0
  59. package/hooks/tezgah_research_evidence.py +842 -0
  60. package/hooks/tezgah_research_stats.py +258 -0
  61. package/hooks/tezgah_skill_pick.py +408 -106
  62. package/hooks/tezgah_stopspec.py +8 -1
  63. package/hooks/tezgah_task.py +12 -4
  64. package/hooks/tezgah_taste_ledger.py +1 -1
  65. package/hosts/cursor/hook.py +29 -2
  66. package/hosts/opencode/plugins/tezgah.js +307 -46
  67. package/hosts/opencode/tui/cli/tui.tsx +100 -0
  68. package/hosts/opencode/tui/tezgah-tui.tsx +2 -1
  69. package/output-styles/tezgah.md +10 -10
  70. package/package.json +1 -1
  71. package/packaging/install.ps1 +36 -3
  72. package/packaging/install.sh +13 -3
  73. package/packaging/upgrade.sh +61 -7
  74. package/skills/ai-research/SKILL.md +21 -14
  75. package/skills/ai-research/SOURCE +7 -5
  76. package/skills/ai-research/index/1-frame.md +6 -6
  77. package/skills/ai-research/index/2-data.md +9 -9
  78. package/skills/ai-research/index/3-train.md +36 -36
  79. package/skills/ai-research/index/4-measure.md +13 -13
  80. package/skills/ai-research/index/5-run.md +11 -11
  81. package/skills/ai-research/index/6-write.md +23 -23
  82. package/skills/ai-research/library.json +104 -104
  83. package/skills/analyze-app/SKILL.md +17 -12
  84. package/skills/design-contract/SKILL.md +42 -7
  85. package/skills/design-contract/data-views.md +2 -2
  86. package/skills/design-library/EVALS.md +1 -1
  87. package/skills/design-library/INDEX.md +39 -39
  88. package/skills/design-library/SKILL.md +19 -13
  89. package/skills/design-library/SOURCE +45 -43
  90. package/skills/feature-audit/SKILL.md +20 -14
  91. package/skills/hallmark/LICENSE +21 -0
  92. package/skills/hallmark/SKILL.md +154 -0
  93. package/skills/hallmark/SOURCE +207 -0
  94. package/skills/hallmark/agents/openai.yaml +13 -0
  95. package/skills/hallmark/references/anatomy.md +71 -0
  96. package/skills/hallmark/references/brand-truth.md +40 -0
  97. package/skills/hallmark/references/comp.md +104 -0
  98. package/skills/hallmark/references/craft.md +116 -0
  99. package/skills/hallmark/references/dark-mode.md +49 -0
  100. package/skills/hallmark/references/data-viz.md +48 -0
  101. package/skills/hallmark/references/design-md.md +53 -0
  102. package/skills/hallmark/references/direction.md +52 -0
  103. package/skills/hallmark/references/export-formats.md +80 -0
  104. package/skills/hallmark/references/flow.md +131 -0
  105. package/skills/hallmark/references/fonts.md +58 -0
  106. package/skills/hallmark/references/gates.md +243 -0
  107. package/skills/hallmark/references/genres/atmospheric.md +24 -0
  108. package/skills/hallmark/references/genres/editorial.md +24 -0
  109. package/skills/hallmark/references/genres/modern-minimal.md +24 -0
  110. package/skills/hallmark/references/genres/playful.md +24 -0
  111. package/skills/hallmark/references/imagery.md +99 -0
  112. package/skills/hallmark/references/interaction-and-states.md +89 -0
  113. package/skills/hallmark/references/layout.md +104 -0
  114. package/skills/hallmark/references/macrostructures/01-bento-grid.md +21 -0
  115. package/skills/hallmark/references/macrostructures/02-long-document.md +35 -0
  116. package/skills/hallmark/references/macrostructures/03-marquee-hero.md +21 -0
  117. package/skills/hallmark/references/macrostructures/04-stat-led.md +21 -0
  118. package/skills/hallmark/references/macrostructures/05-workbench.md +21 -0
  119. package/skills/hallmark/references/macrostructures/06-conversational-faq.md +28 -0
  120. package/skills/hallmark/references/macrostructures/07-manifesto.md +28 -0
  121. package/skills/hallmark/references/macrostructures/08-photographic.md +21 -0
  122. package/skills/hallmark/references/macrostructures/09-quote-led.md +21 -0
  123. package/skills/hallmark/references/macrostructures/10-specimen.md +21 -0
  124. package/skills/hallmark/references/macrostructures/11-catalogue.md +21 -0
  125. package/skills/hallmark/references/macrostructures/12-letter.md +21 -0
  126. package/skills/hallmark/references/macrostructures/13-index-first.md +21 -0
  127. package/skills/hallmark/references/macrostructures/14-narrative-workflow.md +21 -0
  128. package/skills/hallmark/references/macrostructures/15-split-studio.md +21 -0
  129. package/skills/hallmark/references/macrostructures/16-feature-stack.md +23 -0
  130. package/skills/hallmark/references/macrostructures/17-type-specimen.md +19 -0
  131. package/skills/hallmark/references/macrostructures/18-portfolio-grid.md +21 -0
  132. package/skills/hallmark/references/macrostructures/19-map-diagram.md +21 -0
  133. package/skills/hallmark/references/macrostructures/20-ecosystem-index.md +19 -0
  134. package/skills/hallmark/references/macrostructures/21-component-playground.md +21 -0
  135. package/skills/hallmark/references/macrostructures.md +119 -0
  136. package/skills/hallmark/references/microinteractions.md +80 -0
  137. package/skills/hallmark/references/patterns.md +202 -0
  138. package/skills/hallmark/references/redesign.md +88 -0
  139. package/skills/hallmark/references/responsive.md +46 -0
  140. package/skills/hallmark/references/review-finish.md +19 -0
  141. package/skills/hallmark/references/review-hero.md +20 -0
  142. package/skills/hallmark/references/scroll-choreography.md +110 -0
  143. package/skills/hallmark/references/texture.md +90 -0
  144. package/skills/hallmark/references/themes/README.md +58 -0
  145. package/skills/hallmark/references/themes/almanac.jpg +0 -0
  146. package/skills/hallmark/references/themes/almanac.md +103 -0
  147. package/skills/hallmark/references/themes/arcade.jpg +0 -0
  148. package/skills/hallmark/references/themes/arcade.md +102 -0
  149. package/skills/hallmark/references/themes/atelier.jpg +0 -0
  150. package/skills/hallmark/references/themes/atelier.md +98 -0
  151. package/skills/hallmark/references/themes/bloom.jpg +0 -0
  152. package/skills/hallmark/references/themes/bloom.md +102 -0
  153. package/skills/hallmark/references/themes/blueprint.jpg +0 -0
  154. package/skills/hallmark/references/themes/blueprint.md +103 -0
  155. package/skills/hallmark/references/themes/broadside.jpg +0 -0
  156. package/skills/hallmark/references/themes/broadside.md +108 -0
  157. package/skills/hallmark/references/themes/brutal.jpg +0 -0
  158. package/skills/hallmark/references/themes/brutal.md +95 -0
  159. package/skills/hallmark/references/themes/carnival.jpg +0 -0
  160. package/skills/hallmark/references/themes/carnival.md +104 -0
  161. package/skills/hallmark/references/themes/cobalt.jpg +0 -0
  162. package/skills/hallmark/references/themes/cobalt.md +101 -0
  163. package/skills/hallmark/references/themes/console.jpg +0 -0
  164. package/skills/hallmark/references/themes/console.md +99 -0
  165. package/skills/hallmark/references/themes/coral.jpg +0 -0
  166. package/skills/hallmark/references/themes/coral.md +102 -0
  167. package/skills/hallmark/references/themes/darkroom.jpg +0 -0
  168. package/skills/hallmark/references/themes/darkroom.md +99 -0
  169. package/skills/hallmark/references/themes/dose.jpg +0 -0
  170. package/skills/hallmark/references/themes/dose.md +98 -0
  171. package/skills/hallmark/references/themes/dusk.jpg +0 -0
  172. package/skills/hallmark/references/themes/dusk.md +105 -0
  173. package/skills/hallmark/references/themes/editorial.jpg +0 -0
  174. package/skills/hallmark/references/themes/editorial.md +97 -0
  175. package/skills/hallmark/references/themes/formwork.jpg +0 -0
  176. package/skills/hallmark/references/themes/formwork.md +107 -0
  177. package/skills/hallmark/references/themes/furrow.jpg +0 -0
  178. package/skills/hallmark/references/themes/furrow.md +98 -0
  179. package/skills/hallmark/references/themes/garden.jpg +0 -0
  180. package/skills/hallmark/references/themes/garden.md +97 -0
  181. package/skills/hallmark/references/themes/grid.jpg +0 -0
  182. package/skills/hallmark/references/themes/grid.md +101 -0
  183. package/skills/hallmark/references/themes/halftone.jpg +0 -0
  184. package/skills/hallmark/references/themes/halftone.md +106 -0
  185. package/skills/hallmark/references/themes/hedgerow.jpg +0 -0
  186. package/skills/hallmark/references/themes/hedgerow.md +104 -0
  187. package/skills/hallmark/references/themes/hum.jpg +0 -0
  188. package/skills/hallmark/references/themes/hum.md +99 -0
  189. package/skills/hallmark/references/themes/index.json +2191 -0
  190. package/skills/hallmark/references/themes/ink.jpg +0 -0
  191. package/skills/hallmark/references/themes/ink.md +106 -0
  192. package/skills/hallmark/references/themes/kiln.jpg +0 -0
  193. package/skills/hallmark/references/themes/kiln.md +108 -0
  194. package/skills/hallmark/references/themes/loom.jpg +0 -0
  195. package/skills/hallmark/references/themes/loom.md +106 -0
  196. package/skills/hallmark/references/themes/lumen.jpg +0 -0
  197. package/skills/hallmark/references/themes/lumen.md +103 -0
  198. package/skills/hallmark/references/themes/manifesto.jpg +0 -0
  199. package/skills/hallmark/references/themes/manifesto.md +101 -0
  200. package/skills/hallmark/references/themes/midnight.jpg +0 -0
  201. package/skills/hallmark/references/themes/midnight.md +97 -0
  202. package/skills/hallmark/references/themes/newsprint.jpg +0 -0
  203. package/skills/hallmark/references/themes/newsprint.md +102 -0
  204. package/skills/hallmark/references/themes/overprint.jpg +0 -0
  205. package/skills/hallmark/references/themes/overprint.md +101 -0
  206. package/skills/hallmark/references/themes/pasteup.jpg +0 -0
  207. package/skills/hallmark/references/themes/pasteup.md +100 -0
  208. package/skills/hallmark/references/themes/piste.jpg +0 -0
  209. package/skills/hallmark/references/themes/piste.md +99 -0
  210. package/skills/hallmark/references/themes/ribbon.jpg +0 -0
  211. package/skills/hallmark/references/themes/ribbon.md +106 -0
  212. package/skills/hallmark/references/themes/rim.jpg +0 -0
  213. package/skills/hallmark/references/themes/rim.md +96 -0
  214. package/skills/hallmark/references/themes/riso.jpg +0 -0
  215. package/skills/hallmark/references/themes/riso.md +98 -0
  216. package/skills/hallmark/references/themes/solstice.jpg +0 -0
  217. package/skills/hallmark/references/themes/solstice.md +104 -0
  218. package/skills/hallmark/references/themes/specimen.jpg +0 -0
  219. package/skills/hallmark/references/themes/specimen.md +100 -0
  220. package/skills/hallmark/references/themes/spore.jpg +0 -0
  221. package/skills/hallmark/references/themes/spore.md +104 -0
  222. package/skills/hallmark/references/themes/sport.jpg +0 -0
  223. package/skills/hallmark/references/themes/sport.md +101 -0
  224. package/skills/hallmark/references/themes/squeeze.jpg +0 -0
  225. package/skills/hallmark/references/themes/squeeze.md +99 -0
  226. package/skills/hallmark/references/themes/sticker.jpg +0 -0
  227. package/skills/hallmark/references/themes/sticker.md +106 -0
  228. package/skills/hallmark/references/themes/studio.jpg +0 -0
  229. package/skills/hallmark/references/themes/studio.md +99 -0
  230. package/skills/hallmark/references/themes/terminal.jpg +0 -0
  231. package/skills/hallmark/references/themes/terminal.md +96 -0
  232. package/skills/hallmark/references/themes/terrazzo.jpg +0 -0
  233. package/skills/hallmark/references/themes/terrazzo.md +106 -0
  234. package/skills/hallmark/references/themes/ultraviolet.jpg +0 -0
  235. package/skills/hallmark/references/themes/ultraviolet.md +106 -0
  236. package/skills/hallmark/references/themes/vellum.jpg +0 -0
  237. package/skills/hallmark/references/themes/vellum.md +105 -0
  238. package/skills/hallmark/references/themes/wayfind.jpg +0 -0
  239. package/skills/hallmark/references/themes/wayfind.md +105 -0
  240. package/skills/hallmark/references/themes/werkstatt.jpg +0 -0
  241. package/skills/hallmark/references/themes/werkstatt.md +105 -0
  242. package/skills/hallmark/scripts/capture.mjs +125 -0
  243. package/skills/hallmark/scripts/fixtures/exemplars/atmospheric.html +324 -0
  244. package/skills/hallmark/scripts/fixtures/exemplars/editorial.html +363 -0
  245. package/skills/hallmark/scripts/fixtures/exemplars/modern-minimal.html +527 -0
  246. package/skills/hallmark/scripts/fixtures/exemplars/playful.html +353 -0
  247. package/skills/hallmark/scripts/fixtures/eyebrow-fail/index.html +118 -0
  248. package/skills/hallmark/scripts/fixtures/eyebrow-pass/index.html +137 -0
  249. package/skills/hallmark/scripts/fixtures/kept/after.html +27 -0
  250. package/skills/hallmark/scripts/fixtures/kept/before.html +26 -0
  251. package/skills/hallmark/scripts/fixtures/slopped.html +145 -0
  252. package/skills/hallmark/scripts/fixtures/tailwind-fail/Feature.vue +14 -0
  253. package/skills/hallmark/scripts/fixtures/tailwind-fail/Hero.tsx +33 -0
  254. package/skills/hallmark/scripts/fixtures/tailwind-fail/index.html +74 -0
  255. package/skills/hallmark/scripts/fixtures/tailwind-fail/style.css +6 -0
  256. package/skills/hallmark/scripts/fixtures/tailwind-pass/Hero.tsx +33 -0
  257. package/skills/hallmark/scripts/fixtures/tailwind-pass/index.html +57 -0
  258. package/skills/hallmark/scripts/fixtures/tailwind-pass/style.css +15 -0
  259. package/skills/hallmark/scripts/fixtures/waiver/index.html +54 -0
  260. package/skills/hallmark/scripts/imagegen.mjs +85 -0
  261. package/skills/hallmark/scripts/install-hook.mjs +70 -0
  262. package/skills/hallmark/scripts/install.mjs +141 -0
  263. package/skills/hallmark/scripts/lint-hook.mjs +49 -0
  264. package/skills/hallmark/scripts/photos.json +1 -0
  265. package/skills/hallmark/scripts/picture.mjs +71 -0
  266. package/skills/hallmark/scripts/refcheck.mjs +352 -0
  267. package/skills/hallmark/scripts/sloplint-render.mjs +1252 -0
  268. package/skills/hallmark/scripts/sloplint.mjs +4422 -0
  269. package/skills/hallmark/scripts/theme.mjs +650 -0
  270. package/skills/harness/SKILL.md +15 -8
  271. package/skills/i-have-adhd/SKILL.md +22 -11
  272. package/skills/no-ai-slop/SKILL.md +15 -1
  273. package/skills/plan-add/SKILL.md +33 -26
  274. package/skills/plan-status/SKILL.md +13 -7
  275. package/skills/plan-sync/SKILL.md +18 -12
  276. package/skills/pm-frameworks/SKILL.md +19 -10
  277. package/skills/pm-frameworks/SOURCE +7 -5
  278. package/skills/ponytail/SKILL.md +19 -14
  279. package/skills/product-analysis/SKILL.md +22 -18
  280. package/skills/product-flow/SKILL.md +14 -9
  281. package/skills/research/SKILL.md +75 -39
  282. package/skills/rl-env/SKILL.md +25 -13
  283. package/skills/rl-env/SOURCE +8 -6
  284. package/skills/tezgah-contract/SKILL.md +47 -42
  285. package/bin/tezgah-skill.py +0 -59
  286. /package/skills/ai-research/0-autoresearch-skill/{SKILL.md → ENTRY.md} +0 -0
  287. /package/skills/ai-research/01-model-architecture/litgpt/{SKILL.md → ENTRY.md} +0 -0
  288. /package/skills/ai-research/01-model-architecture/mamba/{SKILL.md → ENTRY.md} +0 -0
  289. /package/skills/ai-research/01-model-architecture/nanogpt/{SKILL.md → ENTRY.md} +0 -0
  290. /package/skills/ai-research/01-model-architecture/rwkv/{SKILL.md → ENTRY.md} +0 -0
  291. /package/skills/ai-research/01-model-architecture/torchtitan/{SKILL.md → ENTRY.md} +0 -0
  292. /package/skills/ai-research/02-tokenization/huggingface-tokenizers/{SKILL.md → ENTRY.md} +0 -0
  293. /package/skills/ai-research/02-tokenization/sentencepiece/{SKILL.md → ENTRY.md} +0 -0
  294. /package/skills/ai-research/03-fine-tuning/axolotl/{SKILL.md → ENTRY.md} +0 -0
  295. /package/skills/ai-research/03-fine-tuning/llama-factory/{SKILL.md → ENTRY.md} +0 -0
  296. /package/skills/ai-research/03-fine-tuning/peft/{SKILL.md → ENTRY.md} +0 -0
  297. /package/skills/ai-research/03-fine-tuning/unsloth/{SKILL.md → ENTRY.md} +0 -0
  298. /package/skills/ai-research/04-mechanistic-interpretability/nnsight/{SKILL.md → ENTRY.md} +0 -0
  299. /package/skills/ai-research/04-mechanistic-interpretability/pyvene/{SKILL.md → ENTRY.md} +0 -0
  300. /package/skills/ai-research/04-mechanistic-interpretability/saelens/{SKILL.md → ENTRY.md} +0 -0
  301. /package/skills/ai-research/04-mechanistic-interpretability/transformer-lens/{SKILL.md → ENTRY.md} +0 -0
  302. /package/skills/ai-research/05-data-processing/nemo-curator/{SKILL.md → ENTRY.md} +0 -0
  303. /package/skills/ai-research/05-data-processing/ray-data/{SKILL.md → ENTRY.md} +0 -0
  304. /package/skills/ai-research/06-post-training/grpo-rl-training/{SKILL.md → ENTRY.md} +0 -0
  305. /package/skills/ai-research/06-post-training/miles/{SKILL.md → ENTRY.md} +0 -0
  306. /package/skills/ai-research/06-post-training/openrlhf/{SKILL.md → ENTRY.md} +0 -0
  307. /package/skills/ai-research/06-post-training/simpo/{SKILL.md → ENTRY.md} +0 -0
  308. /package/skills/ai-research/06-post-training/slime/{SKILL.md → ENTRY.md} +0 -0
  309. /package/skills/ai-research/06-post-training/torchforge/{SKILL.md → ENTRY.md} +0 -0
  310. /package/skills/ai-research/06-post-training/trl-fine-tuning/{SKILL.md → ENTRY.md} +0 -0
  311. /package/skills/ai-research/06-post-training/verl/{SKILL.md → ENTRY.md} +0 -0
  312. /package/skills/ai-research/07-safety-alignment/constitutional-ai/{SKILL.md → ENTRY.md} +0 -0
  313. /package/skills/ai-research/07-safety-alignment/llamaguard/{SKILL.md → ENTRY.md} +0 -0
  314. /package/skills/ai-research/07-safety-alignment/nemo-guardrails/{SKILL.md → ENTRY.md} +0 -0
  315. /package/skills/ai-research/07-safety-alignment/prompt-guard/{SKILL.md → ENTRY.md} +0 -0
  316. /package/skills/ai-research/08-distributed-training/accelerate/{SKILL.md → ENTRY.md} +0 -0
  317. /package/skills/ai-research/08-distributed-training/deepspeed/{SKILL.md → ENTRY.md} +0 -0
  318. /package/skills/ai-research/08-distributed-training/megatron-core/{SKILL.md → ENTRY.md} +0 -0
  319. /package/skills/ai-research/08-distributed-training/pytorch-fsdp2/{SKILL.md → ENTRY.md} +0 -0
  320. /package/skills/ai-research/08-distributed-training/pytorch-lightning/{SKILL.md → ENTRY.md} +0 -0
  321. /package/skills/ai-research/08-distributed-training/ray-train/{SKILL.md → ENTRY.md} +0 -0
  322. /package/skills/ai-research/09-infrastructure/lambda-labs/{SKILL.md → ENTRY.md} +0 -0
  323. /package/skills/ai-research/09-infrastructure/modal/{SKILL.md → ENTRY.md} +0 -0
  324. /package/skills/ai-research/09-infrastructure/skypilot/{SKILL.md → ENTRY.md} +0 -0
  325. /package/skills/ai-research/10-optimization/awq/{SKILL.md → ENTRY.md} +0 -0
  326. /package/skills/ai-research/10-optimization/bitsandbytes/{SKILL.md → ENTRY.md} +0 -0
  327. /package/skills/ai-research/10-optimization/flash-attention/{SKILL.md → ENTRY.md} +0 -0
  328. /package/skills/ai-research/10-optimization/gguf/{SKILL.md → ENTRY.md} +0 -0
  329. /package/skills/ai-research/10-optimization/gptq/{SKILL.md → ENTRY.md} +0 -0
  330. /package/skills/ai-research/10-optimization/hqq/{SKILL.md → ENTRY.md} +0 -0
  331. /package/skills/ai-research/10-optimization/ml-training-recipes/{SKILL.md → ENTRY.md} +0 -0
  332. /package/skills/ai-research/11-evaluation/bigcode-evaluation-harness/{SKILL.md → ENTRY.md} +0 -0
  333. /package/skills/ai-research/11-evaluation/lm-evaluation-harness/{SKILL.md → ENTRY.md} +0 -0
  334. /package/skills/ai-research/11-evaluation/nemo-evaluator/{SKILL.md → ENTRY.md} +0 -0
  335. /package/skills/ai-research/12-inference-serving/llama-cpp/{SKILL.md → ENTRY.md} +0 -0
  336. /package/skills/ai-research/12-inference-serving/sglang/{SKILL.md → ENTRY.md} +0 -0
  337. /package/skills/ai-research/12-inference-serving/tensorrt-llm/{SKILL.md → ENTRY.md} +0 -0
  338. /package/skills/ai-research/12-inference-serving/vllm/{SKILL.md → ENTRY.md} +0 -0
  339. /package/skills/ai-research/13-mlops/mlflow/{SKILL.md → ENTRY.md} +0 -0
  340. /package/skills/ai-research/13-mlops/swanlab/{SKILL.md → ENTRY.md} +0 -0
  341. /package/skills/ai-research/13-mlops/tensorboard/{SKILL.md → ENTRY.md} +0 -0
  342. /package/skills/ai-research/13-mlops/weights-and-biases/{SKILL.md → ENTRY.md} +0 -0
  343. /package/skills/ai-research/14-agents/a-evolve/{SKILL.md → ENTRY.md} +0 -0
  344. /package/skills/ai-research/14-agents/autogpt/{SKILL.md → ENTRY.md} +0 -0
  345. /package/skills/ai-research/14-agents/crewai/{SKILL.md → ENTRY.md} +0 -0
  346. /package/skills/ai-research/14-agents/langchain/{SKILL.md → ENTRY.md} +0 -0
  347. /package/skills/ai-research/14-agents/llamaindex/{SKILL.md → ENTRY.md} +0 -0
  348. /package/skills/ai-research/15-rag/chroma/{SKILL.md → ENTRY.md} +0 -0
  349. /package/skills/ai-research/15-rag/faiss/{SKILL.md → ENTRY.md} +0 -0
  350. /package/skills/ai-research/15-rag/pinecone/{SKILL.md → ENTRY.md} +0 -0
  351. /package/skills/ai-research/15-rag/qdrant/{SKILL.md → ENTRY.md} +0 -0
  352. /package/skills/ai-research/15-rag/sentence-transformers/{SKILL.md → ENTRY.md} +0 -0
  353. /package/skills/ai-research/16-prompt-engineering/dspy/{SKILL.md → ENTRY.md} +0 -0
  354. /package/skills/ai-research/16-prompt-engineering/guidance/{SKILL.md → ENTRY.md} +0 -0
  355. /package/skills/ai-research/16-prompt-engineering/instructor/{SKILL.md → ENTRY.md} +0 -0
  356. /package/skills/ai-research/16-prompt-engineering/outlines/{SKILL.md → ENTRY.md} +0 -0
  357. /package/skills/ai-research/17-observability/langsmith/{SKILL.md → ENTRY.md} +0 -0
  358. /package/skills/ai-research/17-observability/phoenix/{SKILL.md → ENTRY.md} +0 -0
  359. /package/skills/ai-research/18-multimodal/audiocraft/{SKILL.md → ENTRY.md} +0 -0
  360. /package/skills/ai-research/18-multimodal/blip-2/{SKILL.md → ENTRY.md} +0 -0
  361. /package/skills/ai-research/18-multimodal/clip/{SKILL.md → ENTRY.md} +0 -0
  362. /package/skills/ai-research/18-multimodal/cosmos-policy/{SKILL.md → ENTRY.md} +0 -0
  363. /package/skills/ai-research/18-multimodal/llava/{SKILL.md → ENTRY.md} +0 -0
  364. /package/skills/ai-research/18-multimodal/openpi/{SKILL.md → ENTRY.md} +0 -0
  365. /package/skills/ai-research/18-multimodal/openvla-oft/{SKILL.md → ENTRY.md} +0 -0
  366. /package/skills/ai-research/18-multimodal/segment-anything/{SKILL.md → ENTRY.md} +0 -0
  367. /package/skills/ai-research/18-multimodal/stable-diffusion/{SKILL.md → ENTRY.md} +0 -0
  368. /package/skills/ai-research/18-multimodal/whisper/{SKILL.md → ENTRY.md} +0 -0
  369. /package/skills/ai-research/19-emerging-techniques/knowledge-distillation/{SKILL.md → ENTRY.md} +0 -0
  370. /package/skills/ai-research/19-emerging-techniques/long-context/{SKILL.md → ENTRY.md} +0 -0
  371. /package/skills/ai-research/19-emerging-techniques/model-merging/{SKILL.md → ENTRY.md} +0 -0
  372. /package/skills/ai-research/19-emerging-techniques/model-pruning/{SKILL.md → ENTRY.md} +0 -0
  373. /package/skills/ai-research/19-emerging-techniques/moe-training/{SKILL.md → ENTRY.md} +0 -0
  374. /package/skills/ai-research/19-emerging-techniques/speculative-decoding/{SKILL.md → ENTRY.md} +0 -0
  375. /package/skills/ai-research/20-ml-paper-writing/academic-plotting/{SKILL.md → ENTRY.md} +0 -0
  376. /package/skills/ai-research/20-ml-paper-writing/ml-paper-writing/{SKILL.md → ENTRY.md} +0 -0
  377. /package/skills/ai-research/20-ml-paper-writing/presenting-conference-talks/{SKILL.md → ENTRY.md} +0 -0
  378. /package/skills/ai-research/20-ml-paper-writing/systems-paper-writing/{SKILL.md → ENTRY.md} +0 -0
  379. /package/skills/ai-research/21-research-ideation/brainstorming-research-ideas/{SKILL.md → ENTRY.md} +0 -0
  380. /package/skills/ai-research/21-research-ideation/creative-thinking-for-research/{SKILL.md → ENTRY.md} +0 -0
  381. /package/skills/ai-research/22-agent-native-research-artifact/compiler/{SKILL.md → ENTRY.md} +0 -0
  382. /package/skills/ai-research/22-agent-native-research-artifact/research-manager/{SKILL.md → ENTRY.md} +0 -0
  383. /package/skills/ai-research/22-agent-native-research-artifact/rigor-reviewer/{SKILL.md → ENTRY.md} +0 -0
  384. /package/skills/design-library/adaptive-interfaces/skills/colour-independence/{SKILL.md → ENTRY.md} +0 -0
  385. /package/skills/design-library/adaptive-interfaces/skills/flexible-typography/{SKILL.md → ENTRY.md} +0 -0
  386. /package/skills/design-library/adaptive-interfaces/skills/information-density/{SKILL.md → ENTRY.md} +0 -0
  387. /package/skills/design-library/adaptive-interfaces/skills/preference-audit/{SKILL.md → ENTRY.md} +0 -0
  388. /package/skills/design-library/adaptive-interfaces/skills/responsive-accessibility/{SKILL.md → ENTRY.md} +0 -0
  389. /package/skills/design-library/adaptive-interfaces/skills/responsive-review/{SKILL.md → ENTRY.md} +0 -0
  390. /package/skills/design-library/adaptive-interfaces/skills/simplified-views/{SKILL.md → ENTRY.md} +0 -0
  391. /package/skills/design-library/adaptive-interfaces/skills/specify/{SKILL.md → ENTRY.md} +0 -0
  392. /package/skills/design-library/adaptive-interfaces/skills/user-preference-respect/{SKILL.md → ENTRY.md} +0 -0
  393. /package/skills/design-library/cognitive-accessibility/skills/adaptive-personalisation/{SKILL.md → ENTRY.md} +0 -0
  394. /package/skills/design-library/cognitive-accessibility/skills/assess-load/{SKILL.md → ENTRY.md} +0 -0
  395. /package/skills/design-library/cognitive-accessibility/skills/cognitive-load-assessment/{SKILL.md → ENTRY.md} +0 -0
  396. /package/skills/design-library/cognitive-accessibility/skills/contextual-help-design/{SKILL.md → ENTRY.md} +0 -0
  397. /package/skills/design-library/cognitive-accessibility/skills/error-prevention-recovery/{SKILL.md → ENTRY.md} +0 -0
  398. /package/skills/design-library/cognitive-accessibility/skills/focus-attention-design/{SKILL.md → ENTRY.md} +0 -0
  399. /package/skills/design-library/cognitive-accessibility/skills/memory-load-reduction/{SKILL.md → ENTRY.md} +0 -0
  400. /package/skills/design-library/cognitive-accessibility/skills/plain-language-design/{SKILL.md → ENTRY.md} +0 -0
  401. /package/skills/design-library/cognitive-accessibility/skills/review/{SKILL.md → ENTRY.md} +0 -0
  402. /package/skills/design-library/cognitive-accessibility/skills/simplify/{SKILL.md → ENTRY.md} +0 -0
  403. /package/skills/design-library/cognitive-accessibility/skills/wayfinding-navigation/{SKILL.md → ENTRY.md} +0 -0
  404. /package/skills/design-library/design-research/skills/behavioural-analytics/{SKILL.md → ENTRY.md} +0 -0
  405. /package/skills/design-library/design-research/skills/qual-quant-triangulation/{SKILL.md → ENTRY.md} +0 -0
  406. /package/skills/design-library/inclusive-interaction/skills/audit/{SKILL.md → ENTRY.md} +0 -0
  407. /package/skills/design-library/inclusive-interaction/skills/design-flow/{SKILL.md → ENTRY.md} +0 -0
  408. /package/skills/design-library/inclusive-interaction/skills/feedback-and-status/{SKILL.md → ENTRY.md} +0 -0
  409. /package/skills/design-library/inclusive-interaction/skills/gesture-alternatives/{SKILL.md → ENTRY.md} +0 -0
  410. /package/skills/design-library/inclusive-interaction/skills/keyboard-navigation/{SKILL.md → ENTRY.md} +0 -0
  411. /package/skills/design-library/inclusive-interaction/skills/keyboard-review/{SKILL.md → ENTRY.md} +0 -0
  412. /package/skills/design-library/inclusive-interaction/skills/motion-sensitivity/{SKILL.md → ENTRY.md} +0 -0
  413. /package/skills/design-library/inclusive-interaction/skills/multi-modal-input/{SKILL.md → ENTRY.md} +0 -0
  414. /package/skills/design-library/inclusive-interaction/skills/touch-target-design/{SKILL.md → ENTRY.md} +0 -0
  415. /package/skills/design-library/inclusive-interaction/skills/voice-interaction/{SKILL.md → ENTRY.md} +0 -0
  416. /package/skills/design-library/visual-critique/skills/critique-affordance/{SKILL.md → ENTRY.md} +0 -0
  417. /package/skills/design-library/visual-critique/skills/critique-brand-consistency/{SKILL.md → ENTRY.md} +0 -0
  418. /package/skills/design-library/visual-critique/skills/critique-color/{SKILL.md → ENTRY.md} +0 -0
  419. /package/skills/design-library/visual-critique/skills/critique-composition/{SKILL.md → ENTRY.md} +0 -0
  420. /package/skills/design-library/visual-critique/skills/critique-information-density/{SKILL.md → ENTRY.md} +0 -0
  421. /package/skills/design-library/visual-critique/skills/critique-typography/{SKILL.md → ENTRY.md} +0 -0
  422. /package/skills/design-library/visual-critique/skills/critique-visual-hierarchy/{SKILL.md → ENTRY.md} +0 -0
  423. /package/skills/pm-frameworks/intended-vs-implemented/{SKILL.md → ENTRY.md} +0 -0
  424. /package/skills/pm-frameworks/opportunity-solution-tree/{SKILL.md → ENTRY.md} +0 -0
  425. /package/skills/rl-env/generate-nemo-gym-env/{SKILL.md → ENTRY.md} +0 -0
  426. /package/skills/rl-env/generate-openenv-env/{SKILL.md → ENTRY.md} +0 -0
  427. /package/skills/rl-env/generate-ors-env/{SKILL.md → ENTRY.md} +0 -0
  428. /package/skills/rl-env/generate-verifiers-env/{SKILL.md → ENTRY.md} +0 -0
  429. /package/skills/rl-env/rl-env-from-description/{SKILL.md → ENTRY.md} +0 -0
@@ -1,22 +1,28 @@
1
1
  ---
2
2
  name: research
3
3
  description: >
4
- Runs an auditable research line in the repository: the two-loop rhythm
5
- (bootstrap, inner experiment loop, outer synthesis), the workspace that holds
6
- its state, protocol-before-run so a prediction is provably older than its
7
- results, a six-dimension review of the claims before they are reported, and a
8
- provenance record of what the session decided. Use when a task's deliverable is
9
- evidence rather than a code change: a literature or reference review, a
10
- hypothesis to test, a comparison of variants, a benchmark or ablation, a
11
- research report or figure, or when the user says "research", "investigate",
12
- "araştır", "literatür", "hipotez", "deney", "ablation", "benchmark". Route the
13
- execution through the OpenResearch CLI when it is installed. Do NOT use for
14
- code discovery ("where is X", "who calls Y") - that is the code graph. Not for
15
- a product question - use `product-analysis`.
4
+ Use when the deliverable is evidence: a literature or reference review;
5
+ literatür, araştır, hipotez, deney, kaynak. Not for products - use
6
+ `product-analysis`.
16
7
  ---
17
8
 
18
9
  # research
19
10
 
11
+ ## When to use
12
+
13
+ Runs an auditable research line in the repository: the two-loop rhythm
14
+ (bootstrap, inner experiment loop, outer synthesis), the workspace that holds
15
+ its state, protocol-before-run so a prediction is provably older than its
16
+ results, a six-dimension review of the claims before they are reported, and a
17
+ provenance record of what the session decided. Use when a task's deliverable is
18
+ evidence rather than a code change: a literature or reference review, a
19
+ hypothesis to test, a comparison of variants, a benchmark or ablation, a
20
+ research report or figure, or when the user says "research", "investigate",
21
+ "araştır", "literatür", "hipotez", "deney", "ablation", "benchmark". Route the
22
+ execution through the OpenResearch CLI when it is installed. Do NOT use for code
23
+ discovery ("where is X", "who calls Y") - that is the code graph. Not for a
24
+ product question - use `product-analysis`.
25
+
20
26
  A research task's deliverable is evidence. Everything here exists so that the
21
27
  evidence survives the session that produced it: the state on disk, the protocol
22
28
  committed before the run, the claims with their falsification criteria, and the
@@ -67,8 +73,8 @@ breaking one silently invalidates the run:
67
73
  - grow the experiment tree downward, not sideways.
68
74
 
69
75
  Load its manual before driving it: `orx skill`, then the module for the step
70
- (`orx skill lit-review` for sources; `orx skill experiment-tree` and
71
- `orx skill evidence` for a measured line).
76
+ (`orx skill lit-review` for sources; `orx skill experiment-tree`,
77
+ `orx skill orx-results` and `orx skill orx-logs` for a measured line).
72
78
  Local runs need no login; managed compute does - run locally at a scale that fits,
73
79
  and ask for `orx login` only when the question cannot be answered without it.
74
80
  If `orx` is absent, say the research tooling is unavailable and do not improvise
@@ -86,8 +92,8 @@ One directory per research line, `<repo>/.tezgah/research/<slug>/`:
86
92
  | `state.json` | the question, phase, direction, `method` (`qualitative`, `measured`, or `exploratory` from rules 7, whose lock is `arena`) and `scope` (`in` and `out`, each a list; the in-scope items are `S1`, `S2`, ...), the locked evaluation of a measured line (`metric`, `baseline`, `locked_at`, optional `environment`, and the optional two-gate pair `capability_tolerance` + `counter_metric`), the hypothesis list, `rules` (the rule set the line was opened under), `deliverable` (`kind`: design, plan, analysis, code or finding; `path`; `ask`, the ask's items one per entry; `min_variants`), and `supersedes` when it is a new version of an older line |
87
93
  | `log.md` | the decision timeline: one line per decision, experiment, dead end or pivot, with the evidence that drove it |
88
94
  | `findings.md` | `## What we know`, `## Patterns`, `## Lessons`, `## Open questions` |
89
- | `claims.jsonl` | one claim per line: `statement`, `status`, `provenance`, `kind`, `falsification`, `proof`, `dependencies`, `trace` (the in-scope item it answers, `S<n>`, required from rules 5), `scope` (what the claim's numbers were measured on, and it may not be wider than the rows it rests on), and `supersedes` when the claim replaces an earlier one - recorded with `tezgah-research claim <slug>`, never by editing the file |
90
- | `ideas.jsonl`, `stages.jsonl`, `tournament.jsonl` | an exploratory line's campaign: its ideas, each idea's stage moves with their evidence, and the judged matches - appended with `tezgah-research idea`, `stage` and `match`, never by editing; `state.json` `arena` is its lock (see "Exploratory lines") |
95
+ | `claims.jsonl` | one claim per line: `statement`, `status`, `provenance`, `kind`, `falsification`, `proof`, `dependencies`, `trace` (the in-scope item it answers, `S<n>`, required from rules 5), `scope` (what the claim's numbers were measured on, and it may not be wider than the rows it rests on), and `supersedes` when the claim replaces an earlier one - recorded with `~/.config/tezgah/bin/tezgah-research claim <slug>`, never by editing the file |
96
+ | `ideas.jsonl`, `stages.jsonl`, `tournament.jsonl` | an exploratory line's campaign: its ideas, each idea's stage moves with their evidence, and the judged matches - appended with `~/.config/tezgah/bin/tezgah-research idea`, `stage` and `match`, never by editing; `state.json` `arena` is its lock (see "Exploratory lines") |
91
97
  | `experiments/<hypothesis>/` | `protocol.md`, `results.jsonl` (one JSON object per row, each carrying its `source`, its `scope` - what the numbers were measured on - and, when that scope is `fixture`, the `fixture` description of the input that was generated), `analysis.md`, and `raw/<runId>.log` for a run read back from the engine |
92
98
  | `literature/` | one file per source, saved when you read it, not later, and each named by its row in `literature/INDEX.jsonl` - every file under it, at any depth and of any extension, is a source the index names |
93
99
  | `decisions/<id>/` | one comparison of the deliverable's variants: `criteria.json`, `variants.jsonl`, `comparison.jsonl` and `decision.md` - see "Variants" below |
@@ -116,12 +122,13 @@ Scaffold and check it with the CLI (`~/.config/tezgah/bin/tezgah-research`, or
116
122
 
117
123
  ```sh
118
124
  ~/.config/tezgah/bin/tezgah-research init my-line --ask "<the user's words>" --question "does X hold under Y?" \
119
- --method measured --in "X under Y" --out "X under Z"
125
+ --method measured --class R6 --in "X under Y" --out "X under Z"
120
126
  ~/.config/tezgah/bin/tezgah-research commit my-line "<message>" # commit in .tezgah's repo
121
127
  ~/.config/tezgah/bin/tezgah-research check # open lines + done/ seals; 0 clean, 1 broken rule, 2 misuse
122
128
  ~/.config/tezgah/bin/tezgah-research check --all-lines # every line in full, done/ included
123
129
  ~/.config/tezgah/bin/tezgah-research check --strict # the unprovable becomes a refusal
124
- ~/.config/tezgah/bin/tezgah-research check --orx # the run command registered here
130
+ ~/.config/tezgah/bin/tezgah-research check --orx # the run command registered here, and the run census
131
+ ~/.config/tezgah/bin/tezgah-research check --online # re-fetch the citation receipts (rules 8)
125
132
  ~/.config/tezgah/bin/tezgah-research status
126
133
  ~/.config/tezgah/bin/tezgah-research claim my-line # one JSON object on stdin
127
134
  ~/.config/tezgah/bin/tezgah-research migrate my-line [--dry-run]
@@ -129,6 +136,26 @@ Scaffold and check it with the CLI (`~/.config/tezgah/bin/tezgah-research`, or
129
136
  ~/.config/tezgah/bin/tezgah-research import <other-checkout> my-line # move a line with its history
130
137
  ```
131
138
 
139
+ `--class R1..R12` routes the line by question type (rules 8): `init` prints the
140
+ obligations - the step names `check` caps a claim's certainty with when one is
141
+ missing - the tier's budget, and every done line's claim that overlaps the question.
142
+ An R0 question (a fact or a reference) gets no line. On a rules-8 line `check`
143
+ prints `certainty <slug>: <claim> <level> start=<level> steps=<step>,...` per claim:
144
+ a missing obligation narrows the claim instead of refusing the line, and the report
145
+ states each claim's level.
146
+
147
+ On a rules-8 line, run `cite <slug>` after adding a formal INDEX row: it stores
148
+ each registry's receipt for its arXiv id or DOI - a bare DOI (`10.1109/...`), a
149
+ `doi:` one or a `https://doi.org/` URL. A source no registry indexes records
150
+ `unindexed_reason` and narrows its claims instead of failing the line. A registered
151
+ metric the report leaves out is named in the report; before the run it may instead
152
+ take a `not_reported: <metric>: <reason>` line in `protocol.md`, which is frozen
153
+ once the run is filed. Three or more words in double quotation marks in a claim's
154
+ `statement` are a quote, and `check` looks for them in the text `fetch` captured
155
+ and in the receipts' abstracts, so write a paraphrase without quotation marks. A
156
+ falsifier `check` evaluates reads `<field> <op> <number> [on <group>]` over the
157
+ results rows; free text narrows the claims citing it (`falsifier-not-evaluable`).
158
+
132
159
  `claim` reads that object from stdin and appends it as one line: exit 0,
133
160
  `claim <id> recorded` (just `claim recorded` when the object carries no `id`);
134
161
  exit 1 with one `FAIL <slug>: <problem>` line per problem
@@ -157,10 +184,14 @@ rather than inventing one. `--dry-run` prints the same report and writes nothing
157
184
  `source` files one run as the experiment's receipt: it runs `orx logs <runId>`,
158
185
  writes the log to `experiments/<hypothesis>/raw/<runId>.log`, and appends the row
159
186
  `{"source": "orx:<runId>", "log": "raw/<runId>.log"}`. The experiment must already
160
- have its `protocol.md` on disk; `source` does not check that it is committed, so
161
- commit the protocol first yourself. Even then the order rule proves commit order,
162
- not run order. Without orx it exits 2 and says so, and it writes nothing at all
163
- when the run cannot be read.
187
+ have its `protocol.md` on disk. On a rules-8 line `source` commits the capture
188
+ itself, so it first refuses, writing nothing, while the evaluation lock, the
189
+ arena or `protocol.md` is not committed, or the protocol holds an invalid
190
+ number or a metric other than the locked one: commit the line first
191
+ (`tezgah-research commit <slug> "<message>"`). On an older line it checks none
192
+ of that, so commit the protocol first yourself. Either way the order rule proves
193
+ commit order, not run order. Without orx it exits 2 and says so, and it writes
194
+ nothing at all when the run cannot be read.
164
195
 
165
196
  `check` enforces the rules a session tends to skip: `protocol.md` committed
166
197
  before `results.jsonl` - decided on the commit graph, so two commits inside the
@@ -221,7 +252,7 @@ rules the domain library enforces on a compiled artifact apply here:
221
252
  command or the node - and every recorded fact in `analysis.md` points at the row
222
253
  it came from. One row is one JSON object on its own line; a file whose line three
223
254
  is prose loads in nothing. When the source is a run the engine owns, file the log
224
- with `tezgah-research source`, so the row and the receipt are written together
255
+ with `~/.config/tezgah/bin/tezgah-research source`, so the row and the receipt are written together
225
256
  and the claim's `orx:<runId>` token resolves to something a reader can open.
226
257
  - **An input is part of the evidence: every row declares its `scope`.** `real` (the
227
258
  running system and its corpus), `fixture` (a temp HOME, a generated repository, a
@@ -317,7 +348,7 @@ cite the note on the paper or page itself beside it. The grey
317
348
  channel is allowed and often the only evidence a practice question has, so it is
318
349
  labelled and judged (`quality`) rather than skipped, and a row that records it as
319
350
  verified by fewer than two sources is reported: an unlabelled grey source is how a
320
- marketing claim enters a findings file as a fact. `tezgah-research migrate` writes
351
+ marketing claim enters a findings file as a fact. `~/.config/tezgah/bin/tezgah-research migrate` writes
321
352
  the rows it can derive from the notes already saved and tells you which fields
322
353
  they do not carry.
323
354
 
@@ -334,7 +365,7 @@ they do not carry.
334
365
 
335
366
  ```text
336
367
  prediction: prompt tokens per turn drop by a third over seven runs
337
- falsifier: prompt tokens per turn hold flat or rise
368
+ falsifier: tokens_per_turn >= 1500 on cache
338
369
  headroom: 40% of each prompt repeats the previous turn
339
370
  metric: prompt tokens per turn
340
371
  unit: tokens per turn
@@ -363,12 +394,17 @@ they do not carry.
363
394
  4. Record the raw result in `results.jsonl` with its `source`, then write what it
364
395
  means in `analysis.md`. Label each outcome CONFIRMATORY (predicted by the
365
396
  protocol) or EXPLORATORY (noticed during the run). A run the engine owns is
366
- recorded with `tezgah-research source <slug> <hypothesis> --run <orxRunId>`,
397
+ recorded with `~/.config/tezgah/bin/tezgah-research source <slug> <hypothesis> --run <orxRunId>`,
367
398
  which files the log under `raw/` and appends the row that names it. Rows are
368
399
  append-only once committed: a correction is a new row, and `check` refuses a
369
400
  committed row changed or removed afterwards (a line opened before `rules`
370
401
  existed is warned instead, like every rule of this rule set).
371
- 5. A negative result is a result: record what it rules out. When the line locked
402
+ 5. A negative result is a result: record what it rules out. Narrowing a claim to
403
+ what its evidence reaches, ending a hypothesis `inconclusive` and closing a line
404
+ with `close <slug> --limit "<what is left>"` are normal outcomes, not failures to
405
+ avoid: report each claim's certainty as `check` computes it (a claim below
406
+ `moderate` is exploratory and says so), and drop universal or causal wording the
407
+ evidence does not carry - `check` warns on it. When the line locked
372
408
  the two-gate pair (Bootstrap above), a run is a survivor only when it is inside
373
409
  the `capability_tolerance` **and** moves the `counter_metric`, and survivors are
374
410
  compared against each other on the Pareto frontier rather than by one number's
@@ -451,14 +487,14 @@ early, and spends runs only on what survived the cheaper stages.
451
487
  verbatim>"`, `--in`/`--out` (every idea traces to an `--in` item),
452
488
  `--budget "<ideas, pilots, full runs, wall time>"` and, when a number can judge a
453
489
  candidate, `--evaluator <path> --metric "<what it returns>"` (its sha256 is
454
- recorded). Commit it (`tezgah-research commit <slug> "arena"`) before the first
490
+ recorded). Commit it (`~/.config/tezgah/bin/tezgah-research commit <slug> "arena"`) before the first
455
491
  idea: `check` refuses ideas or results that entered the history before the arena,
456
492
  an arena changed after it, and every stage row while the evaluator no longer
457
493
  hashes as locked - the candidate never edits its judge. An arena with no evaluator
458
494
  is judged by review only and no idea of it reaches `confirmed`. One campaign is one
459
495
  line, so the one-open-line rule holds as it is.
460
496
 
461
- **Ideas are rows** (`tezgah-research idea <slug>`, one JSON object on stdin): `id`
497
+ **Ideas are rows** (`~/.config/tezgah/bin/tezgah-research idea <slug>`, one JSON object on stdin): `id`
462
498
  (`I1`, `I2`, ...), `statement` (two sentences at most), `mechanism`, `trace` (the
463
499
  `S<n>` it serves), `operator`, `generator` (`{"family", "model"}` as the host reports
464
500
  them), `parents` (required for `mutation` and `crossover`), `kill` (the result that
@@ -482,11 +518,11 @@ idea's move on purpose:
482
518
  | `mutation`, `crossover` | vary one idea, or join two (`parents`) | - |
483
519
  | `user` | an idea the person brought | - |
484
520
 
485
- The entries are `skills/ai-research/21-research-ideation/brainstorming-research-ideas/SKILL.md`
486
- and `.../creative-thinking-for-research/SKILL.md`. A closed line's dead ends
521
+ The entries are `skills/ai-research/21-research-ideation/brainstorming-research-ideas/ENTRY.md`
522
+ and `.../creative-thinking-for-research/ENTRY.md`. A closed line's dead ends
487
523
  (`done/`) are the first filter for a new idea.
488
524
 
489
- **The funnel** (`tezgah-research stage <slug> <idea> <stage> --evidence ...`); an
525
+ **The funnel** (`~/.config/tezgah/bin/tezgah-research stage <slug> <idea> <stage> --evidence ...`); an
490
526
  idea moves forward only, each stage after the one it needs (prior art before
491
527
  screening, screening before a pilot, a pilot before a full run, a full run
492
528
  before a confirmation), or to `killed --reason` from anywhere; its stage is its
@@ -500,7 +536,7 @@ newest row:
500
536
  `literature/INDEX.jsonl` (not agent summaries only), a verdict `novel`,
501
537
  `incremental` or `known`, and one sentence on what the idea does differently.
502
538
  `known` takes `--reason` and is killed in the same append; it stays on record.
503
- 3. `screened`: judged in `tezgah-research match <slug>` rows - pairs shown in both
539
+ 3. `screened`: judged in `~/.config/tezgah/bin/tezgah-research match <slug>` rows - pairs shown in both
504
540
  orders, two judges or more, of a model family that generated neither idea (else
505
541
  both generators' families). `board` fits a Bradley-Terry score: a prior for
506
542
  ordering the pilots, never a verdict, and `check` only warns about the judging.
@@ -516,9 +552,9 @@ Budget discipline: spend pilots only on screened ideas and full runs only on
516
552
  piloted ones, never let a ranking stand in for a pilot, and stop at the budget
517
553
  the arena names. The report says how many ideas reached piloted and promoted -
518
554
  `check` warns when it does not - because fifty ideas tested at the 5% level yield
519
- about 2.5 winners by chance. After a crash, `tezgah-research board <slug>` is the
555
+ about 2.5 winners by chance. After a crash, `~/.config/tezgah/bin/tezgah-research board <slug>` is the
520
556
  whole state: every idea's stage, score and next action, and any torn append to
521
- re-run. Before the next campaign, `tezgah-research yield` counts per operator and
557
+ re-run. Before the next campaign, `~/.config/tezgah/bin/tezgah-research yield` counts per operator and
522
558
  family how far ideas got, and prints the operator weights the next campaign draws
523
559
  with: uniform until something is promoted, then 80% in proportion to promoted /
524
560
  proposed and 20% kept uniform.
@@ -589,7 +625,7 @@ a finding. It reports a line with a report and no review at all, and `--strict`
589
625
  refuses it: a review is a judgement, so nothing can migrate one into existence.
590
626
  The review names its `producer` (the session that wrote the line) and its
591
627
  `reviewer`, and they differ - a line graded by the session that wrote it is not
592
- reviewed, so run the review as a fresh subagent or a `consult`. `findings: []`
628
+ reviewed, so run the review as a fresh subagent or a `~/.config/tezgah/bin/consult`. `findings: []`
593
629
  warns and `--strict` refuses it, and a review scoring `exploration_integrity` or
594
630
  `methodological_rigour` above 3 while `check` refuses the line's order is refused.
595
631
 
@@ -616,7 +652,7 @@ opened under):
616
652
  |---|---|
617
653
  | `criteria.json` | `question`, `baseline_variant` (V0, the status quo or current design) and `criteria[]`, each with `id` (`K1`), `name`, `kind` (`measured` or `judged`), `direction` (`max`, `min` or `pass`), optional `threshold` and `guardrail` |
618
654
  | `variants.jsonl` | one row per variant: `id`, `title`, `artifact` (a path in the line or the repository, `git:<branch>` or `orx:<expId>`), `status` (`produced` or `dropped` with `drop_reason`), and `line` when it is an older line's deliverable |
619
- | `comparison.jsonl` | one row per cell: `variant`, `criterion`, `value` with its `source`, or `not_checked` with the reason; `rater` on a judged cell. Append with `tezgah-research compare <slug> <id>` (one JSON object on stdin), which refuses what `check` refuses |
655
+ | `comparison.jsonl` | one row per cell: `variant`, `criterion`, `value` with its `source`, or `not_checked` with the reason; `rater` on a judged cell. Append with `~/.config/tezgah/bin/tezgah-research compare <slug> <id>` (one JSON object on stdin), which refuses what `check` refuses |
620
656
  | `decision.md` | `chosen: V2`, one line per rejected id naming the criterion id that ruled it out, and `flip:` - the result that would reverse the choice |
621
657
 
622
658
  `check` refuses: fewer produced variants than the deliverable takes; two produced
@@ -638,7 +674,7 @@ deliverable (`"line": "<old>"`); `init` refuses a line asking an existing line's
638
674
  question without it, and `check` refuses a line sharing another's
639
675
  `deliverable.path` that does not supersede it.
640
676
 
641
- A line that cannot finish is closed on purpose: `tezgah-research close <slug>
677
+ A line that cannot finish is closed on purpose: `~/.config/tezgah/bin/tezgah-research close <slug>
642
678
  --limit "<what is left and why>"` concludes it, writes the reasons it was still open
643
679
  into `state.json` `closed` and `log.md`, seals its experiments' file hashes
644
680
  (`order_seal`), and stops it counting as open; `conclude` seals the same
@@ -704,7 +740,7 @@ The two-loop rhythm, the workspace layout and the six review dimensions adapt th
704
740
  orchestration layer of Orchestra Research's MIT-licensed `AI-research-SKILLs`
705
741
  library (its `autoresearch`, `ara-rigor-reviewer` and `ara-research-manager`
706
742
  skills) to tezgah's contract: the execution engine here is OpenResearch, the
707
- reporting language is the contract's, the checks are `tezgah-research`'s own, and
743
+ reporting language is the contract's, the checks are `~/.config/tezgah/bin/tezgah-research`'s own, and
708
744
  nothing is copied verbatim. The scoring anchors, the finding record, the citation
709
745
  workflow and the figure rules come from the same library, which now ships whole
710
746
  under the `ai-research` skill.
@@ -1,18 +1,23 @@
1
1
  ---
2
2
  name: rl-env
3
3
  description: >
4
- Use when the task is to build, port or reason about an RL training environment
5
- - the vendored FineEnvs set for authoring one across OpenEnv (HTTP + MCP,
6
- Hugging Face), OpenReward / ORS (a reward with each tool call), Verifiers
7
- (Prime Intellect, in-process tools and rubrics) and NeMo Gym (HTTP plus a
8
- post-episode /verify grader), with the orchestrator that interviews the user
9
- and ports one description across all four, including prompts like "make an env
10
- where the agent does X" or "wrap my game in OpenEnv". Read one entry, never
11
- the tree.
4
+ Use when building an RL training environment; pekiştirmeli öğrenme, ortam;
5
+ port to OpenEnv, Verifiers, NeMo Gym. Not for model training - use
6
+ `ai-research`.
12
7
  ---
13
8
 
14
9
  # rl-env: authoring an RL environment
15
10
 
11
+ ## When to use
12
+
13
+ Use when the task is to build, port or reason about an RL training environment -
14
+ the vendored FineEnvs set for authoring one across OpenEnv (HTTP + MCP, Hugging
15
+ Face), OpenReward / ORS (a reward with each tool call), Verifiers (Prime
16
+ Intellect, in-process tools and rubrics) and NeMo Gym (HTTP plus a post-episode
17
+ /verify grader), with the orchestrator that interviews the user and ports one
18
+ description across all four, including prompts like "make an env where the agent
19
+ does X" or "wrap my game in OpenEnv". Read one entry, never the tree.
20
+
16
21
  Five upstream skills, vendored byte-for-byte from FineEnvs at the revision
17
22
  `SOURCE` names (Apache-2.0; the repository's root `NOTICE` records what changed,
18
23
  which is nothing but the vendoring itself). They are instructions, not
@@ -33,11 +38,18 @@ anything, and never claim a training result this skill cannot produce.
33
38
 
34
39
  | Entry | What it produces |
35
40
  |---|---|
36
- | `rl-env-from-description/SKILL.md` | The orchestrator: a clarifying interview (`references/interview.md`), then the same description ported to all four frameworks - start here unless the user has already named a framework |
37
- | `generate-openenv-env/SKILL.md` | OpenEnv (Hugging Face): HTTP + MCP, tools discovered through `list_tools()`, an optional Gradio UI, a Docker container or HF Space at the end |
38
- | `generate-ors-env/SKILL.md` | OpenReward (ORS): HTTP + REST + SSE, a reward inline with each tool call instead of after the episode, task-spec sessions, train/val/test splits |
39
- | `generate-verifiers-env/SKILL.md` | Verifiers (Prime Intellect): in-process tools with no HTTP server, composable rubrics, the shortest path from a prototype to a TRL `GRPOTrainer` |
40
- | `generate-nemo-gym-env/SKILL.md` | NeMo Gym (NVIDIA): tools as `app.post()` endpoints with cookie sessions, a post-episode `/verify` grader, Ray-based orchestration |
41
+ | `rl-env-from-description/ENTRY.md` | The orchestrator: a clarifying interview (`references/interview.md`), then the same description ported to all four frameworks - start here unless the user has already named a framework |
42
+ | `generate-openenv-env/ENTRY.md` | OpenEnv (Hugging Face): HTTP + MCP, tools discovered through `list_tools()`, an optional Gradio UI, a Docker container or HF Space at the end |
43
+ | `generate-ors-env/ENTRY.md` | OpenReward (ORS): HTTP + REST + SSE, a reward inline with each tool call instead of after the episode, task-spec sessions, train/val/test splits |
44
+ | `generate-verifiers-env/ENTRY.md` | Verifiers (Prime Intellect): in-process tools with no HTTP server, composable rubrics, the shortest path from a prototype to a TRL `GRPOTrainer` |
45
+ | `generate-nemo-gym-env/ENTRY.md` | NeMo Gym (NVIDIA): tools as `app.post()` endpoints with cookie sessions, a post-episode `/verify` grader, Ray-based orchestration |
46
+
47
+ Each entry file is upstream's `SKILL.md` renamed `ENTRY.md`, bytes unchanged, so a
48
+ host that lists every `SKILL.md` below its skills directory does not list it; a
49
+ body that says `SKILL.md` means its own `ENTRY.md`. Hosts no longer list the four
50
+ ports as skills either, so where the orchestrator says "trigger `generate-*-env`
51
+ skill" or "trigger the framework-specific skill", read that entry's `ENTRY.md`
52
+ (`generate-openenv-env/ENTRY.md` and so on) instead.
41
53
 
42
54
  Each of the four ports ships its own `references/architecture.md`; the
43
55
  orchestrator ships one reference per framework beside its interview notes. The
@@ -3,7 +3,9 @@
3
3
  Vendored from https://github.com/adithya-s-k/FineEnvs at
4
4
  `26ab9c60915005b6f536968ac0928482bb18c0f8` (2026-10-01), Apache-2.0 licence (the
5
5
  repository's root `LICENSE`). Every body below is byte-for-byte upstream,
6
- frontmatter included, at its upstream path under `.claude/skills/`. Checkout for
6
+ frontmatter included, at its upstream path under `.claude/skills/`, with one
7
+ rename: each entry's `SKILL.md` is `ENTRY.md` here, so a host that lists every
8
+ `SKILL.md` below its skills directory (codex, Cursor) does not list it. Checkout for
7
9
  a re-vendor: `git clone https://github.com/adithya-s-k/FineEnvs && git -C <clone>
8
10
  checkout 26ab9c60915005b6f536968ac0928482bb18c0f8`.
9
11
 
@@ -25,15 +27,15 @@ what was vetted is visible.
25
27
 
26
28
  | file | upstream path | sha256 |
27
29
  |---|---|---|
28
- | `generate-nemo-gym-env/SKILL.md` | `.claude/skills/generate-nemo-gym-env/SKILL.md` | `b051de706519973d23e1acb9211f7dee18a681b2b94f0fdc132c6cab0c035f3e` |
30
+ | `generate-nemo-gym-env/ENTRY.md` | `.claude/skills/generate-nemo-gym-env/SKILL.md` | `b051de706519973d23e1acb9211f7dee18a681b2b94f0fdc132c6cab0c035f3e` |
29
31
  | `generate-nemo-gym-env/references/architecture.md` | `.claude/skills/generate-nemo-gym-env/references/architecture.md` | `2329797c0881697c56d8dfee62396fb858bcfac3c313840155b23acf6720a77c` |
30
- | `generate-openenv-env/SKILL.md` | `.claude/skills/generate-openenv-env/SKILL.md` | `f8d7d65ec85ee228bf8ffe15df72492c5043541c853f287c5159d7b3eea383c9` |
32
+ | `generate-openenv-env/ENTRY.md` | `.claude/skills/generate-openenv-env/SKILL.md` | `f8d7d65ec85ee228bf8ffe15df72492c5043541c853f287c5159d7b3eea383c9` |
31
33
  | `generate-openenv-env/references/architecture.md` | `.claude/skills/generate-openenv-env/references/architecture.md` | `6ba32c5a1498c6660f79db3feeb0f49226344054bae7cdc1d84d8440147d5509` |
32
- | `generate-ors-env/SKILL.md` | `.claude/skills/generate-ors-env/SKILL.md` | `68385ef145bdcff61d2878be6db1d6b9652581ba7a5a05369ce6a61a6332ace5` |
34
+ | `generate-ors-env/ENTRY.md` | `.claude/skills/generate-ors-env/SKILL.md` | `68385ef145bdcff61d2878be6db1d6b9652581ba7a5a05369ce6a61a6332ace5` |
33
35
  | `generate-ors-env/references/architecture.md` | `.claude/skills/generate-ors-env/references/architecture.md` | `ee87650a409a8ae375935a99daa9a5141d1fae514a1d05abcd87293759e708e4` |
34
- | `generate-verifiers-env/SKILL.md` | `.claude/skills/generate-verifiers-env/SKILL.md` | `afd9c6d0521735acfed0f308a133e33a6b3d24534e79aabb659f8f20ccfc7a64` |
36
+ | `generate-verifiers-env/ENTRY.md` | `.claude/skills/generate-verifiers-env/SKILL.md` | `afd9c6d0521735acfed0f308a133e33a6b3d24534e79aabb659f8f20ccfc7a64` |
35
37
  | `generate-verifiers-env/references/architecture.md` | `.claude/skills/generate-verifiers-env/references/architecture.md` | `babda38780715a82f9b481ef4469221c8752befb5f9bf1dc7d9093f2b05d634e` |
36
- | `rl-env-from-description/SKILL.md` | `.claude/skills/rl-env-from-description/SKILL.md` | `fb2b92b92988655b4c4ddae5cfe07e58f18d4105fef4e21058925e48a680438b` |
38
+ | `rl-env-from-description/ENTRY.md` | `.claude/skills/rl-env-from-description/SKILL.md` | `fb2b92b92988655b4c4ddae5cfe07e58f18d4105fef4e21058925e48a680438b` |
37
39
  | `rl-env-from-description/references/interview.md` | `.claude/skills/rl-env-from-description/references/interview.md` | `8284ef8b809d6bcbbd76c9bee63baf1e23aae80a4f089d7daed02ec6cc285e9a` |
38
40
  | `rl-env-from-description/references/nemo_gym.md` | `.claude/skills/rl-env-from-description/references/nemo_gym.md` | `48e2b011ad13454e38245dcb791a98a6496c1ea53cc909895e2350d50a303e74` |
39
41
  | `rl-env-from-description/references/openenv.md` | `.claude/skills/rl-env-from-description/references/openenv.md` | `4550337161bac2e08fbf5ca6a5b58ca55c422cc06169669a784a9eb974e35bd6` |
@@ -1,20 +1,25 @@
1
1
  ---
2
2
  name: tezgah-contract
3
3
  description: >
4
- The full tezgah working contract. Load on demand when a tezgah session needs
5
- the deep detail behind the always-on core: instruction fidelity (deliver the
6
- whole ask, never a shortcut, no sycophantic openers), the code-graph-first
7
- rule and its deferred tool loading, the dynamic graph harnesses, the two-tier
8
- orchestration model with the cheap codegen bridge and its automatic
9
- fallback, external-model consult, OpenResearch routing for research tasks,
10
- and the exact kill switches. Use when the
11
- compact core points here, or when a task needs the code graph, a subagent
12
- fan-out, codegen, or a second opinion in full detail. Not for picking and
13
- running a multi-agent harness - use `harness`.
4
+ Use when a session needs the code graph, a subagent fan-out, codegen, a second
5
+ opinion; alt ajan, kod grafiği, ikinci görüş. Not for harnesses - use
6
+ `harness`.
14
7
  ---
15
8
 
16
9
  # tezgah-contract
17
10
 
11
+ ## When to use
12
+
13
+ The full tezgah working contract. Load on demand when a tezgah session needs the
14
+ deep detail behind the always-on core: instruction fidelity (deliver the whole
15
+ ask, never a shortcut, no sycophantic openers), the code-graph-first rule and
16
+ its deferred tool loading, the dynamic graph harnesses, the two-tier
17
+ orchestration model with the cheap codegen bridge and its automatic fallback,
18
+ external-model consult, OpenResearch routing for research tasks, and the exact
19
+ kill switches. Use when the compact core points here, or when a task needs the
20
+ code graph, a subagent fan-out, codegen, or a second opinion in full detail. Not
21
+ for picking and running a multi-agent harness - use `harness`.
22
+
18
23
  The always-on core is injected into every tezgah session; this skill is the
19
24
  deep detail, loaded on demand. `~/.config/tezgah/bin/consult` and
20
25
  `~/.config/tezgah/bin/codegen` are the tezgah-installed CLIs - use that stable
@@ -41,11 +46,11 @@ graph rule falls back to grep/find, the consult rule to a skipped second
41
46
  opinion - and carry on. Report the gap to the user once; do not chase it.
42
47
 
43
48
  Tezgah maintenance is in scope when the user asks for it, when the repo IS the
44
- tezgah checkout, or when tezgah's own check (`tezgah-setup --status`) is the
49
+ tezgah checkout, or when tezgah's own check (`~/.config/tezgah/bin/tezgah-setup --status`) is the
45
50
  requested task.
46
51
 
47
52
  Using the skills is the user's work, not maintenance: before working a topic
48
- an installed skill covers, run `tezgah-skill <words>` (BM25 over every
53
+ an installed skill covers, run `~/.config/tezgah/bin/tezgah-skill <words>` (BM25 over every
49
54
  installed skill's sections) and read only the `skill://<name>:<start>-<end>`
50
55
  range it returns - or the absolute path beside it on a host that does not
51
56
  resolve `skill://` - instead of loading the whole skill.
@@ -55,19 +60,19 @@ resolve `skill://` - instead of loading the whole skill.
55
60
  Every per-project tezgah artifact - plans, research lines, analysis, lessons -
56
61
  lives under `<repo>/.tezgah/`. Session start creates it, appends `/.tezgah/` and
57
62
  `/.codegraph/` to the project's `.gitignore` (user lines kept, nothing staged)
58
- and gives it a private git repository, so evidence that needs history - a
59
- research protocol committed before its results, a plan moved to `done/` - is
60
- committed with `git -C .tezgah ...` (or `tezgah-research commit <slug> "<msg>"`)
61
- and never enters the project's history. Never create `plans/`, `research/` or
62
- `analysis/` at the project root and never `git add -f` a path under `.tezgah/`:
63
- the gate refuses a write whose first path segment is one of those three unless
64
- the project itself already tracks files there. Off: `workspace-off`.
63
+ and gives it a private git repository: evidence that needs history - a research
64
+ protocol before its results, a plan moved to `done/` - is committed with
65
+ `git -C .tezgah ...`, or plain `git add`/`git commit` when the project tracks
66
+ it; `~/.config/tezgah/bin/tezgah-research commit` picks the right one. Never create `plans/`,
67
+ `research/` or `analysis/` at the project root and never `git add -f` a path
68
+ under `.tezgah/`: the gate refuses a write whose first path segment is one of
69
+ those three unless the project already tracks files there. Off: `workspace-off`.
65
70
 
66
71
  ## Kill switches (auto-armed, tezgah roots only)
67
72
 
68
73
  Each one removes its own rule from the injected text, not just a status mark. In
69
74
  `~/.config/tezgah/`: `exec-mode.off`, `orchestrate-off`, `consult-off`,
70
- `research-off`, `ponytail-auto.off`, `adhd-off`, `spec-off`, `reminder-off`,
75
+ `research-off`, `ponytail-auto.off`, `adhd-off`, `spec-off`, `design-off`, `reminder-off`,
71
76
  `verify-off`
72
77
  (the integrity rule: its prompt text, the shortcut denials and the Stop gate),
73
78
  `task-off` (all four refusals of the task rule: the phase, the allowlist, the
@@ -78,7 +83,7 @@ fallback alone), `lang-off` (the English-identifier rule in the gate),
78
83
  `workspace-off` (the gate's refusal of a root `plans/`, `research/` or
79
84
  `analysis/` write), `pretooluse-off` (the whole gate); per repo:
80
85
  `.no-ponytail`, `.no-adhd`, `.no-graph`, `.no-lessons`. The ponytail intensity
81
- level is not a switch: `tezgah-pony lite|full|ultra` (or `/tezgah:ponytail` on
86
+ level is not a switch: `~/.config/tezgah/bin/tezgah-pony lite|full|ultra` (or `/tezgah:ponytail` on
82
87
  Claude) sets it and a bare call shows it.
83
88
 
84
89
  ## Task record: the active plan's phase and its path allowlist (auto-armed, tezgah roots only)
@@ -98,8 +103,8 @@ consulted (a shell line's targets are not read); and a write whose target is the
98
103
  record itself, refused whatever the phase and the globs say. The lifecycle is the
99
104
  session's, never a command handed to the user: it runs
100
105
  `~/.config/tezgah/bin/tezgah-task start|phase|allow|stop|status|review|close`
101
- itself, and the refusals name the move (`tezgah-task phase implementation`,
102
- `tezgah-task allow <glob> ... --why "<reason>"`). That move is vetted by the CLI,
106
+ itself, and the refusals name the move (`~/.config/tezgah/bin/tezgah-task phase implementation`,
107
+ `~/.config/tezgah/bin/tezgah-task allow <glob> ... --why "<reason>"`). That move is vetted by the CLI,
103
108
  not by who runs it: a writing phase needs every Acceptance item to name its
104
109
  command, `implementation` an answered spike and a clean tree to record
105
110
  `checkpoint:`, `allow` a `--why` it records as `allowed_why:`, `close NNN done`
@@ -239,20 +244,20 @@ blocked on a running slice, `wait` and ending the turn are both fine: the host
239
244
  wakes it on the result. The per-turn checks of what changed still run in the
240
245
  turn, in the background when they share no state. Only the heavy tier - the
241
246
  full suite, neuter, the e2e scripts - is joined at merge. A turn ends only
242
- when no item is ready, never on a question about a step it can take. Fan out only when the subtasks share no mutable file and no interface: if two of them would edit the same file, or one's answer decides the other's, keep them in one context or sequence them. Every writing brief names its `Owns:` globs - the files only that slice writes - and declares its checkout on a `Worktree: <abs path>` line; the gate refuses a sibling's write into those globs and a slice's write into the main checkout when its brief declares a worktree. The integrator owns the shared append points (CHANGELOG.md, MANIFEST, the citation baseline) and merges in the order `tezgah-task slice merge-plan` prints. Siblings message each other (omp `write agent://<id>`, Claude `SendMessage`) only on an interface or ownership change; status goes to the parent, and `tezgah-task slice board` shows every sibling's lease. Only a single item - one file, one
247
+ when no item is ready, never on a question about a step it can take. Fan out only when the subtasks share no mutable file and no interface: if two of them would edit the same file, or one's answer decides the other's, keep them in one context or sequence them. Every writing brief names its `Owns:` globs - the files only that slice writes - and declares its checkout on a `Worktree: <abs path>` line; the gate refuses a sibling's write into those globs and a slice's write into the main checkout when its brief declares a worktree. The integrator owns the shared append points (CHANGELOG.md, MANIFEST, the citation baseline) and merges in the order `~/.config/tezgah/bin/tezgah-task slice merge-plan` prints. Siblings message each other (omp `write agent://<id>`, Claude `SendMessage`) only on an interface or ownership change; status goes to the parent, and `~/.config/tezgah/bin/tezgah-task slice board` shows every sibling's lease. Only a single item - one file, one
243
248
  bounded change, a strictly serial chain - is done directly; a list of
244
249
  independent items is never worked one by one on the main thread, however small
245
250
  each item is, and that holds at every phase: a plan's tasks, its acceptance
246
251
  commands and the sources of a survey fan out the same way.
247
252
  A slice that needs its own checkout: inside Orca (the session-start `Orca:`
248
253
  line) create it with `orca worktree create --name <slug> --parent-worktree
249
- active --json` and track it with `orca worktree ps --json` or `tezgah-status
254
+ active --json` and track it with `orca worktree ps --json` or `~/.config/tezgah/bin/tezgah-status
250
255
  --orca` - a raw `git worktree add` gets no card, terminal tracking or agent
251
256
  status in Orca; outside Orca, `git worktree add`. Either way the brief names
252
257
  absolute paths under that checkout. A writing slice commits `wip: <step>`
253
258
  after each step, so a crash leaves it resumable. A stopped slice (quota, abort,
254
- cut off) is resumed - `tezgah-task slice resume <id>` - or re-dispatched, never
255
- silently absorbed inline; run `tezgah-task slice reconcile --prune` before the
259
+ cut off) is resumed - `~/.config/tezgah/bin/tezgah-task slice resume <id>` - or re-dispatched, never
260
+ silently absorbed inline; run `~/.config/tezgah/bin/tezgah-task slice reconcile --prune` before the
256
261
  turn that merged slices ends.
257
262
  Routing: `~/.config/tezgah/bin/tezgah-route "<brief>"` names the worker - tezgah-cheap, -standard or
258
263
  -frontier, or the specialist whose whole job the brief is (tezgah-tester,
@@ -266,7 +271,7 @@ code-discovery brief names codegraph's tools (`codegraph callers`, `callees`,
266
271
  the graph, grep only for literal text"; never a grep-only explorer (observed).
267
272
  Subagents never orchestrate: no nested harnesses, no sub-subagents.
268
273
 
269
- ### The verification batch: `tezgah-optimize`
274
+ ### The verification batch: `~/.config/tezgah/bin/tezgah-optimize`
270
275
  `~/.config/tezgah/bin/tezgah-optimize next [--files PATH ...]` answers, per command
271
276
  the active plan's Acceptance names, one of `run now`, `defer` or `already green` -
272
277
  the first from no measurement or a median below the in-turn bar, the second from a
@@ -365,7 +370,7 @@ test); a complex ask ships the lazy version and names the fuller one in the
365
370
  same reply. These rules are in force from the first turn; the full skill
366
371
  (Skill(tezgah:ponytail) on Claude, the installed `ponytail` skill elsewhere)
367
372
  holds the level table and the examples.
368
- Level: `tezgah-pony lite|full|ultra` (bare call shows it; stored in
373
+ Level: `~/.config/tezgah/bin/tezgah-pony lite|full|ultra` (bare call shows it; stored in
369
374
  ~/.config/tezgah/ponytail.level, machine-wide until changed). The default `full`
370
375
  adds nothing to this reminder; a non-default level is named in it every turn.
371
376
  Off: user says "stop ponytail".
@@ -410,7 +415,7 @@ After three "still broken" turns, name the suspect assumption and ask one
410
415
  diagnostic question. Before sending, delete an opening sentence that announces,
411
416
  a closing one that recaps, any by-the-way sidebar and any empty hedge. In force
412
417
  from the first answer; the full `i-have-adhd` skill holds the examples.
413
- Off: `tezgah-adhd off` (the kill switch file), or a repo's `.no-adhd`.
418
+ Off: `~/.config/tezgah/bin/tezgah-adhd off` (the kill switch file), or a repo's `.no-adhd`.
414
419
 
415
420
 
416
421
 
@@ -595,11 +600,11 @@ rewrite it plainly.
595
600
  **Merge authority: standing, not per-PR.** The user is not the approval step
596
601
  on a merge. Review first with a FRESH reviewer (never my own read of my own
597
602
  code), run the full suite, and if the review is clean and every test passes,
598
- merge and close the plan yourself (`tezgah-task close NNN done`, which also
603
+ merge and close the plan yourself (`~/.config/tezgah/bin/tezgah-task close NNN done`, which also
599
604
  deactivates it and removes every merged worktree), then report the outcome. Nothing
600
605
  goes back to the user: a failing test you fix, and a critical or major finding
601
606
  left after round two you fix yourself, prove with a test and close with
602
- `tezgah-task close NNN done --resolved "<fix and test>"`. One review per plan, over its whole diff in the verification
607
+ `~/.config/tezgah/bin/tezgah-task close NNN done --resolved "<fix and test>"`. One review per plan, over its whole diff in the verification
603
608
  phase; at most two rounds - only a confirmed critical or major finding opens
604
609
  round two; a minor or suggestion one is fixed in the session without a new
605
610
  round, or recorded fix-later only when it waits on a user decision (DECISION,
@@ -609,10 +614,10 @@ a third round.
609
614
  A round spawns its reviewers in ONE message, one per dimension (correctness
610
615
  and contract, security, tests and performance) or file group; a diff under 300
611
616
  changed lines gets one reviewer. Per-task work gets tests, not a reviewer, and
612
- `tezgah-task review` refuses a third round.
617
+ `~/.config/tezgah/bin/tezgah-task review` refuses a third round.
613
618
 
614
619
  **The process is yours: never hand a step back.** The orchestrator runs the
615
- plan lifecycle itself - `tezgah-task start`, every `phase` move, `review`,
620
+ plan lifecycle itself - `~/.config/tezgah/bin/tezgah-task start`, every `phase` move, `review`,
616
621
  `close`, the merge, and removing a slice's worktree once its branch is merged -
617
622
  and never ends a reply with "run this command" or "shall I close it?" for a
618
623
  step it can take. A process parameter the user did not set (a sample size, a
@@ -783,7 +788,7 @@ stays on the codegraph index.
783
788
  **Lock the line to the question asked.** Restate the user's question verbatim as
784
789
  the line's scope (`--ask`) and name what is in it and what is out (`--in`,
785
790
  `--out`: state.json `scope`). Every finding answers an in-scope item - a claim's
786
- `trace` names its `S<n>`, and `tezgah-research check` refuses one that names none -
791
+ `trace` names its `S<n>`, and `~/.config/tezgah/bin/tezgah-research check` refuses one that names none -
787
792
  and a finding that answers nothing asked is dropped, not reported as a bonus. Do
788
793
  not widen the question, add sub-questions or chase an adjacent topic; a tangent
789
794
  worth having is one line under Open questions for the user to pick. The question
@@ -798,12 +803,12 @@ stating its confidence (high, medium or low, and why); a summary of summaries is
798
803
  not an answer.
799
804
 
800
805
  **New ideas are an exploratory line.** When the user asks for new ideas, methods
801
- or approaches rather than an answer, open `tezgah-research init --method
806
+ or approaches rather than an answer, open `~/.config/tezgah/bin/tezgah-research init --method
802
807
  exploratory` with `--ask` and its arena - `--arena` (the problem, verbatim), `--in`,
803
808
  `--out`, `--budget`, and `--evaluator` with `--metric` when a number can judge a candidate -
804
809
  committed before the first idea; every other line keeps the question lock above.
805
810
  Ideas, stage moves and judged matches are rows (`idea`, `stage`, `match`), a
806
- ranking is a prior and never a verdict, and `tezgah-research board <slug>` names
811
+ ranking is a prior and never a verdict, and `~/.config/tezgah/bin/tezgah-research board <slug>` names
807
812
  each idea's next step.
808
813
 
809
814
  When the task is research and the OpenResearch CLI is installed, drive it
@@ -811,8 +816,8 @@ through that CLI instead of ad-hoc local scripting. Resolve it as `orx` on PATH,
811
816
  else `~/.cargo/bin/orx` (the installer's location, which a non-interactive shell
812
817
  does not put on PATH). Load the operating manual first:
813
818
  the `orx` skill if the host has it, otherwise run `orx skill` from the shell; then
814
- the module the method needs - `orx skill lit-review` for sources,
815
- `orx skill experiment-tree` and `orx skill evidence` for a measured line. On a
819
+ the module the method needs - `orx skill lit-review` for sources, `orx skill experiment-tree`,
820
+ `orx skill orx-results` and `orx skill orx-logs` for a measured line. On a
816
821
  measured line its cardinal rules are not style preferences - they
817
822
  are what keeps results comparable, and breaking one silently invalidates the run:
818
823
  never edit a node once a run has answered it (branch a child instead); the run
@@ -844,7 +849,7 @@ in the report, a decision or a claim `trace`, or written `A<n> not delivered:
844
849
  <reason>`. A design or plan the user will choose between is produced as >= 3
845
850
  variants in
846
851
  `decisions/<id>/` - `criteria.json` committed before any cell, `variants.jsonl` (V0
847
- the status quo), cells appended by `tezgah-research compare`, `decision.md` naming
852
+ the status quo), cells appended by `~/.config/tezgah/bin/tezgah-research compare`, `decision.md` naming
848
853
  the chosen id, each rejected id with the criterion that ruled it out, and a `flip:`
849
854
  condition (an analysis answers its question once); a new version of a line is
850
855
  opened `init --supersedes <old>` and carries
@@ -852,7 +857,7 @@ the old one as a variant. Code or config variants are sibling orx nodes under on
852
857
  head node. Literature is found with `orx discover` and read with `orx paper`; an
853
858
  agent's summary is indexed as `agent-report` and never alone carries a literature
854
859
  claim. At most one line is open at a time; `init --allow-open "<reason>"` is refused
855
- beside a line `check` fails, and `tezgah-research close <slug> --limit "<reason>"`
860
+ beside a line `check` fails, and `~/.config/tezgah/bin/tezgah-research close <slug> --limit "<reason>"`
856
861
  concludes a line as a deliberate limit, writing what was left.
857
862
  Load the `research` skill for the two-loop rhythm, the ideation step, the
858
863
  six-dimension review a claim passes before it is reported, and the provenance tags
@@ -956,7 +961,7 @@ best, cited. Read the `product-analysis` skill for the artifact shape and the
956
961
  scorecard - the same 1-5 anchors as the `research` skill, so two sessions'
957
962
  analyses stay comparable - and `feature-audit` for the layer-coherence matrices
958
963
  when the ask is one feature. A new capability built from data or an ask runs the
959
- `product-flow` skill: `tezgah-research next --topic <t>` is the step source, and
964
+ `product-flow` skill: `~/.config/tezgah/bin/tezgah-research next --topic <t>` is the step source, and
960
965
  its first missing or due step is the next one. Kill switch: `research-off`.
961
966
 
962
967