rhachet-roles-ehmpathy 1.0.0 → 1.2.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 (435) hide show
  1. package/dist/.test/getContextOpenAI.js +2 -1
  2. package/dist/.test/getContextOpenAI.js.map +1 -1
  3. package/dist/_topublish/domain-glossary-brief/src/domain/objects/Catalog.d.ts +0 -0
  4. package/dist/_topublish/domain-glossary-brief/src/domain/objects/Catalog.js +2 -0
  5. package/dist/_topublish/domain-glossary-brief/src/domain/objects/Catalog.js.map +1 -0
  6. package/dist/_topublish/domain-glossary-brief/src/domain/objects/TriageCatalog.d.ts +18 -0
  7. package/dist/_topublish/domain-glossary-brief/src/domain/objects/TriageCatalog.js +3 -0
  8. package/dist/_topublish/domain-glossary-brief/src/domain/objects/TriageCatalog.js.map +1 -0
  9. package/dist/_topublish/rhachet-roles-bhrain/src/domain/objects/Focus.d.ts +34 -0
  10. package/dist/_topublish/rhachet-roles-bhrain/src/domain/objects/Focus.js +9 -0
  11. package/dist/_topublish/rhachet-roles-bhrain/src/domain/objects/Focus.js.map +1 -0
  12. package/dist/_topublish/rhachet-roles-bhrain/src/domain/objects/PonderCatalog.d.ts +9 -0
  13. package/dist/_topublish/rhachet-roles-bhrain/src/domain/objects/PonderCatalog.js +3 -0
  14. package/dist/_topublish/rhachet-roles-bhrain/src/domain/objects/PonderCatalog.js.map +1 -0
  15. package/dist/_topublish/rhachet-roles-bhrain/src/domain/objects/Question.d.ts +1 -0
  16. package/dist/_topublish/rhachet-roles-bhrain/src/domain/objects/Question.js +3 -0
  17. package/dist/_topublish/rhachet-roles-bhrain/src/domain/objects/Question.js.map +1 -0
  18. package/dist/contract/commands/codegenBriefOptions.js +1 -0
  19. package/dist/contract/commands/codegenBriefOptions.js.map +1 -1
  20. package/dist/contract/sdk/index.d.ts +1 -0
  21. package/dist/contract/sdk/index.js +6 -0
  22. package/dist/contract/sdk/index.js.map +1 -0
  23. package/dist/data/sdk/sdkOpenAi.js +5 -1
  24. package/dist/data/sdk/sdkOpenAi.js.map +1 -1
  25. package/dist/index.d.ts +1 -0
  26. package/dist/index.js +16 -0
  27. package/dist/index.js.map +1 -1
  28. package/dist/logic/artifact/asDotRhachetFile.d.ts +5 -0
  29. package/dist/logic/artifact/asDotRhachetFile.js +16 -0
  30. package/dist/logic/artifact/asDotRhachetFile.js.map +1 -0
  31. package/dist/logic/artifact/genLoopFeedback.d.ts +18 -0
  32. package/dist/logic/artifact/genLoopFeedback.js +40 -0
  33. package/dist/logic/artifact/genLoopFeedback.js.map +1 -0
  34. package/dist/logic/artifact/genStepArtSet.d.ts +2 -1
  35. package/dist/logic/artifact/genStepArtSet.js +24 -4
  36. package/dist/logic/artifact/genStepArtSet.js.map +1 -1
  37. package/dist/logic/artifact/genStepGrabCallerFeedbackToArtifact.js +7 -0
  38. package/dist/logic/artifact/genStepGrabCallerFeedbackToArtifact.js.map +1 -1
  39. package/dist/logic/artifact/genStepResetFeedback.d.ts +12 -0
  40. package/dist/logic/artifact/genStepResetFeedback.js +27 -0
  41. package/dist/logic/artifact/genStepResetFeedback.js.map +1 -0
  42. package/dist/logic/artifact/genStepSwapArtifact.d.ts +57 -0
  43. package/dist/logic/artifact/genStepSwapArtifact.js +58 -0
  44. package/dist/logic/artifact/genStepSwapArtifact.js.map +1 -0
  45. package/dist/logic/artifact/genStepSwapArtifact.test.js +131 -0
  46. package/dist/logic/artifact/genStepSwapArtifact.test.js.map +1 -0
  47. package/dist/logic/roles/architect/.briefs/ubiqlang.ambiguous-from-overload.md +1 -0
  48. package/dist/logic/roles/bhrain/.briefs/cognition/cog000.overview.and.premise.md +115 -0
  49. package/dist/logic/roles/bhrain/.briefs/cognition/cog021.coordinates.spherical.md +69 -0
  50. package/dist/logic/roles/bhrain/.briefs/cognition/cog021.metaphor.cauliflorous.md +44 -0
  51. package/dist/logic/roles/bhrain/.briefs/cognition/cog021.structs.catalog.md +51 -0
  52. package/dist/logic/roles/bhrain/.briefs/cognition/cog021.structs.treestruct.md +85 -0
  53. package/dist/logic/roles/bhrain/.briefs/cognition/cog021.structs.vector.md +112 -0
  54. package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.definition.md +115 -0
  55. package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct._.md +112 -0
  56. package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct.coords.1.spherical.md +80 -0
  57. package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct.coords.2.abstractive.md +59 -0
  58. package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct.coords.3.descriptive.md +64 -0
  59. package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct.persp.1.perspectives.md +88 -0
  60. package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct.persp.2.universal.md +82 -0
  61. package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct.persp.3.relative.md +106 -0
  62. package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct.persp.4.fractal.md +83 -0
  63. package/dist/logic/roles/bhrain/.briefs/cognition/cog151.concept.treestruct.gravity.md +89 -0
  64. package/dist/logic/roles/bhrain/.briefs/cognition/cog201.cortal.focus.p1.definition.md +231 -0
  65. package/dist/logic/roles/bhrain/.briefs/cognition/cog201.cortal.focus.p1.examples.cont.md +82 -0
  66. package/dist/logic/roles/bhrain/.briefs/cognition/cog201.cortal.focus.p2.acuity.md +134 -0
  67. package/dist/logic/roles/bhrain/.briefs/cognition/cog201.cortal.focus.p2.breadth.md +151 -0
  68. package/dist/logic/roles/bhrain/.briefs/cognition/cog201.cortal.focus.p2.depth.md +147 -0
  69. package/dist/logic/roles/bhrain/.briefs/cognition/cog251.cortal.focus.p3.fabric.md +96 -0
  70. package/dist/logic/roles/bhrain/.briefs/cognition/cog251.cortal.focus.p3.mode.md +68 -0
  71. package/dist/logic/roles/bhrain/.briefs/cognition/cog251.cortal.focus.p3.rythm.md +56 -0
  72. package/dist/logic/roles/bhrain/.briefs/cognition/cog251.cortal.focus.p3.usecases.md +76 -0
  73. package/dist/logic/roles/bhrain/.briefs/cognition/cog301.traversal.1.motion.primitives._.md +155 -0
  74. package/dist/logic/roles/bhrain/.briefs/cognition/cog301.traversal.1.motion.primitives.acuity.md +94 -0
  75. package/dist/logic/roles/bhrain/.briefs/cognition/cog301.traversal.1.motion.primitives.breadth.md +114 -0
  76. package/dist/logic/roles/bhrain/.briefs/cognition/cog301.traversal.1.motion.primitives.breadth.vary.md +105 -0
  77. package/dist/logic/roles/bhrain/.briefs/cognition/cog301.traversal.1.motion.primitives.depth.md +132 -0
  78. package/dist/logic/roles/bhrain/.briefs/cognition/cog301.traversal.2.motion.composites._.md +106 -0
  79. package/dist/logic/roles/bhrain/.briefs/cognition/cog301.traversal.2.motion.composites.grammar.md +105 -0
  80. package/dist/logic/roles/bhrain/.briefs/cognition/cog401.questions.._.md +209 -0
  81. package/dist/logic/roles/bhrain/.briefs/cognition/cog401.questions.1.persp.as.berries.md +168 -0
  82. package/dist/logic/roles/bhrain/.briefs/cognition/cog401.questions.1.persp.as.vectors.md +74 -0
  83. package/dist/logic/roles/bhrain/.briefs/cognition/cog401.questions.1.persp.has.precision.tunable.md +80 -0
  84. package/dist/logic/roles/bhrain/.briefs/cognition/cog401.questions.2.1.primitives.rough._.md +99 -0
  85. package/dist/logic/roles/bhrain/.briefs/cognition/cog401.questions.2.1.primitives.rough.interrogative.md +108 -0
  86. package/dist/logic/roles/bhrain/.briefs/cognition/cog401.questions.2.1.primitives.rough.why.[article].md +55 -0
  87. package/dist/logic/roles/bhrain/.briefs/cognition/cog401.questions.2.2.composite.smooth._.md +83 -0
  88. package/dist/logic/roles/bhrain/.briefs/cognition/cog401.questions.2.2.composite.smooth.examples.md +101 -0
  89. package/dist/logic/roles/bhrain/.briefs/cognition/cog501.cortal.assemblylang.1.primitives._.md +134 -0
  90. package/dist/logic/roles/bhrain/.briefs/cognition/cog501.cortal.assemblylang.1.primitives.recall.md +149 -0
  91. package/dist/logic/roles/bhrain/.briefs/cognition/cog501.cortal.assemblylang.1.primitives.steer.md +146 -0
  92. package/dist/logic/roles/bhrain/.briefs/cognition/cog501.cortal.assemblylang.1.primitives.think.md +141 -0
  93. package/dist/logic/roles/bhrain/.briefs/cognition/cog501.cortal.assemblylang.2.composites.zoom.md +127 -0
  94. package/dist/logic/roles/bhrain/.briefs/cognition/cog501.cortal.assemblylang.3.catalogs.md +107 -0
  95. package/dist/logic/roles/bhrain/.briefs/cognition/cog501.cortal.assemblylang.3.grammar.md +124 -0
  96. package/dist/logic/roles/bhrain/.briefs/cognition/cog501.cortal.assemblylang_.md +0 -0
  97. package/dist/logic/roles/bhrain/.briefs/cognition/inflight/concept.vs.idea.md +70 -0
  98. package/dist/logic/roles/bhrain/.briefs/cognition/inflight/core.concept.adjectives.md +8 -0
  99. package/dist/logic/roles/bhrain/.briefs/distilisys.grammar.compressed.md +19 -0
  100. package/dist/logic/roles/bhrain/.briefs/knowledge/kno101.primitives.1.ontology.[article].frame.docs_as_materializations.md +63 -0
  101. package/dist/logic/roles/bhrain/.briefs/knowledge/kno101.primitives.1.ontology.[article].frame.docs_as_references.md +45 -0
  102. package/dist/logic/roles/bhrain/.briefs/knowledge/kno101.primitives.2.rel.many_to_many.[article].md +37 -0
  103. package/dist/logic/roles/bhrain/.briefs/knowledge/kno101.primitives.3.instances.[article].md +39 -0
  104. package/dist/logic/roles/bhrain/.briefs/knowledge/kno101.primitives.4.documents.[article].md +37 -0
  105. package/dist/logic/roles/bhrain/.briefs/knowledge/kno101.primitives.5.concepts.[article].md +39 -0
  106. package/dist/logic/roles/bhrain/.briefs/knowledge/kno201.documents._.[article].md +48 -0
  107. package/dist/logic/roles/bhrain/.briefs/knowledge/kno201.documents._.[catalog].md +52 -0
  108. package/dist/logic/roles/bhrain/.briefs/knowledge/kno201.documents.articles.[article].md +40 -0
  109. package/dist/logic/roles/bhrain/.briefs/knowledge/kno201.documents.catalogs.[article].md +41 -0
  110. package/dist/logic/roles/bhrain/.briefs/knowledge/kno201.documents.demos.[article].md +42 -0
  111. package/dist/logic/roles/bhrain/.briefs/knowledge/kno201.documents.lessons.[article].md +42 -0
  112. package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.compression.1.refs._.[article].md +41 -0
  113. package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.compression.2.kernels._.[article].i1.md +50 -0
  114. package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.compression.3.briefs._.[article].md +40 -0
  115. package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.compression._.[article].md +90 -0
  116. package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.compression._.[catalog].persp.garden.md +64 -0
  117. package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.1.from_instances.[article].md +45 -0
  118. package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.1.from_instances.[demo].algorithm.md +54 -0
  119. package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.1.from_instances.[demo].color.md +56 -0
  120. package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.1.from_instances.[demo].empathy.md +54 -0
  121. package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.1.from_instances.[demo].entropy.md +54 -0
  122. package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.1.from_instances.[demo].gravity.md +54 -0
  123. package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.1.from_instances.[demo].joke.md +56 -0
  124. package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.1.from_instances.[demo].value.md +54 -0
  125. package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.2._.[catalog].md +43 -0
  126. package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.2.articulate.[article].md +27 -0
  127. package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.2.articulate.[lesson].md +49 -0
  128. package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.2.catalogize.[article].md +27 -0
  129. package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.2.catalogize.[lesson].md +54 -0
  130. package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.2.demonstrate.[article].md +26 -0
  131. package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.2.demonstrate.[lesson].md +49 -0
  132. package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.2.lessonize.[article].md +26 -0
  133. package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.enbrief.2.lessonize.[lesson].md +54 -0
  134. package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.kernelize._.[article].md +58 -0
  135. package/dist/logic/roles/bhrain/.briefs/knowledge/kno301.doc.kernelize._.[lesson].md +88 -0
  136. package/dist/logic/roles/bhrain/.briefs/knowledge/kno351.docs.are_instances.[article].md +34 -0
  137. package/dist/logic/roles/bhrain/.briefs/knowledge/kno351.docs.recursion.[catalog].md +44 -0
  138. package/dist/logic/roles/bhrain/.briefs/knowledge/kno401.actors.1.role.author.[article].md +36 -0
  139. package/dist/logic/roles/bhrain/.briefs/knowledge/kno401.actors.1.role.librarian.[article].md +40 -0
  140. package/dist/logic/roles/bhrain/.briefs/knowledge/kno401.actors.2.interdependence.[article].md +52 -0
  141. package/dist/logic/roles/bhrain/.briefs/knowledge/kno501.doc.enbrief.catalog.structure1.[article].md +53 -0
  142. package/dist/logic/roles/bhrain/.briefs/knowledge/kno501.doc.enbrief.catalog.structure1.[lesson].template.md +101 -0
  143. package/dist/logic/roles/bhrain/.briefs/librarian.context/article.variant.vision.[article].md +60 -0
  144. package/dist/logic/roles/bhrain/.briefs/librarian.context/term.expectation.vs_assumption._.md +60 -0
  145. package/dist/logic/roles/bhrain/.briefs/librarian.context/term.frame.vs_perspective.[article].md +96 -0
  146. package/dist/logic/roles/bhrain/.briefs/librarian.context/term.invariant.[article].md +29 -0
  147. package/dist/logic/roles/bhrain/.briefs/librarian.context/term.lesson._vs_article.[article].md +36 -0
  148. package/dist/logic/roles/bhrain/.briefs/librarian.context/term.ref._vs_brief.md +90 -0
  149. package/dist/logic/roles/bhrain/.briefs/librarian.context/term.referent.[article].md +43 -0
  150. package/dist/logic/roles/bhrain/.briefs/librarian.context/usage.lesson_vs_article.[lesson].md +31 -0
  151. package/dist/logic/roles/bhrain/.briefs/librarian.context/usage.lesson_vs_article_vs_demo.[lesson].md +37 -0
  152. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/.readme.md +12 -0
  153. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<articulate>.TriageCatalog.[gallery][example].structure.md +18 -0
  154. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<articulate>._.[article].frame.cognitive.md +33 -0
  155. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<articulate>._.[article].frame.tactical.md +45 -0
  156. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<articulate>.tactic.[catalog].md +83 -0
  157. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<articulate>.tactic.concept_dimension.examples.[article][seed].md +4 -0
  158. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<articulate>.tactic.concept_dimension.invariants.[article].md +36 -0
  159. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<articulate>.tactic.from.examples.md +44 -0
  160. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<articulate>.tactic.from.seed.md +48 -0
  161. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<articulate>.tactic.with.templates.[article].md +57 -0
  162. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<articulate>.tactic.with.templates.[gallery][review].effective.md +1 -0
  163. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<articulate>.tone.bluecollar.[article][seed].md +5 -0
  164. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<catalogize>._.[article][seed].md +3 -0
  165. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<catalogize>.observation.via_clusterage_over_via_imagination.[seed].md +6 -0
  166. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<catalogize>.vs_diverge.[article].persp.save_compute.md +46 -0
  167. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>._.[article].frame.colloquial.i2.by_grok.md +64 -0
  168. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.[catalog].md +106 -0
  169. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.contrast.[demo].usecase.vs_userjourney.by_chatgpt.md +45 -0
  170. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.counter.[demo].usecase.flyer.by_chargpt.md +38 -0
  171. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.counter.[demo].walkability.phoenix.by_chargpt.md +41 -0
  172. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.example.[demo].shear_force.scissors.by_grok.md +52 -0
  173. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.example.[demo].tea.darjeeling.by_grok.md +50 -0
  174. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.example.[demo].usecase.book_flight.by_grok.md +54 -0
  175. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.example.[demo].usecase.order_food.by_chatgpt.md +40 -0
  176. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.example.[demo].walkability.portland.by_chatgpt.i3.md +42 -0
  177. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.example.[demo].walkability.portland.by_grok.i2.md +49 -0
  178. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.example.[lesson].howto.md +28 -0
  179. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.example.structure.[article].i2.md +73 -0
  180. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.narrative.[demo].usecase.order_online.by_chatgpt.md +34 -0
  181. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/<demonstrate>.variants.walkthrough.[demo].usecase.book_online.by_chatgpt.md +47 -0
  182. package/dist/logic/roles/bhrain/.briefs/librarian.tactics/[brief].verbiage.outline.over.narrative.md +55 -0
  183. package/dist/logic/roles/bhrain/.briefs/physics/optics.focal.acuity.md +77 -0
  184. package/dist/logic/roles/bhrain/.briefs/physics/optics.focal.breadth.md +74 -0
  185. package/dist/logic/roles/bhrain/.briefs/physics/optics.focal.depth.md +77 -0
  186. package/dist/logic/roles/bhrain/.briefs/physics/optics.focal.distance.md +92 -0
  187. package/dist/logic/roles/bhrain/.briefs/physics/optics.focal.tradeoffs.md +107 -0
  188. package/dist/logic/roles/bhrain/.briefs/terms.motive.intent.goal.md +46 -0
  189. package/dist/logic/roles/bhrain/.briefs/thinker.tactics/<cluster>._.[article].frame.tactical._.md +85 -0
  190. package/dist/logic/roles/bhrain/.briefs/thinker.tactics/<cluster>.vs_<diverge>.duality.[article].md +43 -0
  191. package/dist/logic/roles/bhrain/.briefs/thinker.tactics/<diverge>._.[article].frame.cognitive.[seed].md +4 -0
  192. package/dist/logic/roles/bhrain/.briefs/thinker.tactics/<diverge>._.[article].frame.tactical.md +89 -0
  193. package/dist/logic/roles/bhrain/.briefs/thinker.tactics/<elaborate>_vs_<elucidate>.[seed].md +1 -0
  194. package/dist/logic/roles/bhrain/.briefs/thinker.tactics/<enquestion>._.[article].md +113 -0
  195. package/dist/logic/roles/bhrain/.briefs/thinker.tactics/<enquestion>._.[gallery].plumber.diagnose.md +130 -0
  196. package/dist/logic/roles/bhrain/.briefs/thinker.tactics/<enquestion>._.[gallery].thinker.enquestion.md +125 -0
  197. package/dist/logic/roles/bhrain/.briefs/thinker.tactics/<enquestion>.tactic.perspectives.[article].md +36 -0
  198. package/dist/logic/roles/bhrain/.briefs/thinker.tactics/<triage>._.[article].frame.tactical.md +85 -0
  199. package/dist/logic/roles/bhrain/.briefs/thinker.tactics/<triage>.persp.grades_from_context.[article].md +48 -0
  200. package/dist/logic/roles/bhrain/.briefs/thinker.tactics/<triage>.persp.implicit_question.[article].md +65 -0
  201. package/dist/logic/roles/bhrain/.briefs/trait.ocd.md +5 -0
  202. package/dist/logic/roles/bhrain/.briefs/worders/core.matmuls_vecmuls_elemuls.md +93 -0
  203. package/dist/logic/roles/bhrain/.briefs/worders/core.transformers.as_origin.md +62 -0
  204. package/dist/logic/roles/bhrain/.briefs/worders/core.transformers.self_attention.[article].md +93 -0
  205. package/dist/logic/roles/bhrain/.briefs/worders/core.transformers.self_attention.[demo].ambig.bank.md +80 -0
  206. package/dist/logic/roles/bhrain/.briefs/worders/core.transformers.self_attention.[demo].cat_sat.md +67 -0
  207. package/dist/logic/roles/bhrain/.briefs/worders/force.repeat_input_structures.md +48 -0
  208. package/dist/logic/roles/bhrain/.briefs/worders/knowledge.interdependence.[article].md +37 -0
  209. package/dist/logic/roles/bhrain/.briefs/worders/knowledge.interdependence.[demo].domain.physics.md +30 -0
  210. package/dist/logic/roles/bhrain/.briefs/worders/knowledge.internal_vs_external.[article].artist_vs_librarian.md +44 -0
  211. package/dist/logic/roles/bhrain/.briefs/worders/knowledge.internal_vs_external.[demo].artist_vs_librarian.md +37 -0
  212. package/dist/logic/roles/bhrain/.briefs/worders/knowledge.internal_vs_external.[demo].domain.physics.md +39 -0
  213. package/dist/logic/roles/bhrain/.briefs/worders/knowledge.internalized.[article].md +35 -0
  214. package/dist/logic/roles/bhrain/.briefs/worders/knowledge.internalized.[demo].artist.md +36 -0
  215. package/dist/logic/roles/bhrain/.briefs/worders/knowledge.internalized.[demo].neural.md +37 -0
  216. package/dist/logic/roles/bhrain/.briefs/worders/knowledge.internalized.[demo].pianist.md +34 -0
  217. package/dist/logic/roles/bhrain/.briefs/worders/limits.rhyme.md +46 -0
  218. package/dist/logic/roles/bhrain/.briefs/worders/limits.spell.md +49 -0
  219. package/dist/logic/roles/bhrain/.briefs/worders/teach.via.library.examples.md +28 -0
  220. package/dist/logic/roles/bhrain/.briefs/worders/teach.via.library.explanations_vs_examples.md +40 -0
  221. package/dist/logic/roles/bhrain/.briefs/worders/trend.prefer_reuse.[seed].md +10 -0
  222. package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.d.ts +61 -0
  223. package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.integration.test.js +96 -0
  224. package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.integration.test.js.map +1 -0
  225. package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.js +94 -0
  226. package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.js.map +1 -0
  227. package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.skill.d.ts +31 -0
  228. package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.skill.js +137 -0
  229. package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.skill.js.map +1 -0
  230. package/dist/logic/roles/bhrain/brief.articulate/stepArticulate.template.md +129 -0
  231. package/dist/logic/roles/bhrain/brief.catalogize/stepCatalogize.d.ts +55 -0
  232. package/dist/logic/roles/bhrain/brief.catalogize/stepCatalogize.integration.test.js +118 -0
  233. package/dist/logic/roles/bhrain/brief.catalogize/stepCatalogize.integration.test.js.map +1 -0
  234. package/dist/logic/roles/bhrain/brief.catalogize/stepCatalogize.js +72 -0
  235. package/dist/logic/roles/bhrain/brief.catalogize/stepCatalogize.js.map +1 -0
  236. package/dist/logic/roles/bhrain/brief.catalogize/stepCatalogize.skill.d.ts +28 -0
  237. package/dist/logic/roles/bhrain/brief.catalogize/stepCatalogize.skill.js +119 -0
  238. package/dist/logic/roles/bhrain/brief.catalogize/stepCatalogize.skill.js.map +1 -0
  239. package/dist/logic/roles/bhrain/brief.demonstrate/stepDemonstrate.d.ts +59 -0
  240. package/dist/logic/roles/bhrain/brief.demonstrate/stepDemonstrate.integration.test.d.ts +1 -0
  241. package/dist/logic/roles/bhrain/brief.demonstrate/stepDemonstrate.integration.test.js +119 -0
  242. package/dist/logic/roles/bhrain/brief.demonstrate/stepDemonstrate.integration.test.js.map +1 -0
  243. package/dist/logic/roles/bhrain/brief.demonstrate/stepDemonstrate.js +103 -0
  244. package/dist/logic/roles/bhrain/brief.demonstrate/stepDemonstrate.js.map +1 -0
  245. package/dist/logic/roles/bhrain/brief.demonstrate/stepDemonstrate.skill.d.ts +30 -0
  246. package/dist/logic/roles/bhrain/brief.demonstrate/stepDemonstrate.skill.js +138 -0
  247. package/dist/logic/roles/bhrain/brief.demonstrate/stepDemonstrate.skill.js.map +1 -0
  248. package/dist/logic/roles/bhrain/brief.demonstrate/stepDemonstrate.template.md +135 -0
  249. package/dist/logic/roles/bhrain/getBhrainBrief.Options.codegen.d.ts +10 -0
  250. package/dist/logic/roles/bhrain/getBhrainBrief.Options.codegen.js +181 -0
  251. package/dist/logic/roles/bhrain/getBhrainBrief.Options.codegen.js.map +1 -0
  252. package/dist/logic/roles/bhrain/getBhrainBrief.d.ts +13 -0
  253. package/dist/logic/roles/bhrain/getBhrainBrief.js +21 -0
  254. package/dist/logic/roles/bhrain/getBhrainBrief.js.map +1 -0
  255. package/dist/logic/roles/bhrain/getBhrainRole.d.ts +2 -0
  256. package/dist/logic/roles/bhrain/getBhrainRole.js +41 -0
  257. package/dist/logic/roles/bhrain/getBhrainRole.js.map +1 -0
  258. package/dist/logic/roles/bhrain/khue.cluster/stepCluster.d.ts +57 -0
  259. package/dist/logic/roles/bhrain/khue.cluster/stepCluster.integration.test.d.ts +1 -0
  260. package/dist/logic/roles/bhrain/khue.cluster/stepCluster.integration.test.js +140 -0
  261. package/dist/logic/roles/bhrain/khue.cluster/stepCluster.integration.test.js.map +1 -0
  262. package/dist/logic/roles/bhrain/khue.cluster/stepCluster.js +91 -0
  263. package/dist/logic/roles/bhrain/khue.cluster/stepCluster.js.map +1 -0
  264. package/dist/logic/roles/bhrain/khue.cluster/stepCluster.skill.d.ts +29 -0
  265. package/dist/logic/roles/bhrain/khue.cluster/stepCluster.skill.js +127 -0
  266. package/dist/logic/roles/bhrain/khue.cluster/stepCluster.skill.js.map +1 -0
  267. package/dist/logic/roles/bhrain/khue.cluster/stepCluster.template.md +134 -0
  268. package/dist/logic/roles/bhrain/khue.diverge/stepDiverge.d.ts +57 -0
  269. package/dist/logic/roles/bhrain/khue.diverge/stepDiverge.integration.test.d.ts +1 -0
  270. package/dist/logic/roles/bhrain/khue.diverge/stepDiverge.integration.test.js +115 -0
  271. package/dist/logic/roles/bhrain/khue.diverge/stepDiverge.integration.test.js.map +1 -0
  272. package/dist/logic/roles/bhrain/khue.diverge/stepDiverge.js +92 -0
  273. package/dist/logic/roles/bhrain/khue.diverge/stepDiverge.js.map +1 -0
  274. package/dist/logic/roles/bhrain/khue.diverge/stepDiverge.skill.d.ts +29 -0
  275. package/dist/logic/roles/bhrain/khue.diverge/stepDiverge.skill.js +112 -0
  276. package/dist/logic/roles/bhrain/khue.diverge/stepDiverge.skill.js.map +1 -0
  277. package/dist/logic/roles/bhrain/khue.diverge/stepDiverge.template.md +110 -0
  278. package/dist/logic/roles/bhrain/khue.instantiate/stepInstantiate.d.ts +55 -0
  279. package/dist/logic/roles/bhrain/khue.instantiate/stepInstantiate.integration.test.d.ts +1 -0
  280. package/dist/logic/roles/bhrain/khue.instantiate/stepInstantiate.integration.test.js +119 -0
  281. package/dist/logic/roles/bhrain/khue.instantiate/stepInstantiate.integration.test.js.map +1 -0
  282. package/dist/logic/roles/bhrain/khue.instantiate/stepInstantiate.js +75 -0
  283. package/dist/logic/roles/bhrain/khue.instantiate/stepInstantiate.js.map +1 -0
  284. package/dist/logic/roles/bhrain/khue.instantiate/stepInstantiate.skill.d.ts +28 -0
  285. package/dist/logic/roles/bhrain/khue.instantiate/stepInstantiate.skill.js +119 -0
  286. package/dist/logic/roles/bhrain/khue.instantiate/stepInstantiate.skill.js.map +1 -0
  287. package/dist/logic/roles/bhrain/khue.instantiate/stepInstantiate.template.md +73 -0
  288. package/dist/logic/roles/bhrain/khue.triage/stepTriage.d.ts +57 -0
  289. package/dist/logic/roles/bhrain/khue.triage/stepTriage.integration.test.d.ts +1 -0
  290. package/dist/logic/roles/bhrain/khue.triage/stepTriage.integration.test.js +143 -0
  291. package/dist/logic/roles/bhrain/khue.triage/stepTriage.integration.test.js.map +1 -0
  292. package/dist/logic/roles/bhrain/khue.triage/stepTriage.js +93 -0
  293. package/dist/logic/roles/bhrain/khue.triage/stepTriage.js.map +1 -0
  294. package/dist/logic/roles/bhrain/khue.triage/stepTriage.skill.d.ts +29 -0
  295. package/dist/logic/roles/bhrain/khue.triage/stepTriage.skill.js +127 -0
  296. package/dist/logic/roles/bhrain/khue.triage/stepTriage.skill.js.map +1 -0
  297. package/dist/logic/roles/bhrain/khue.triage/stepTriage.template.md +128 -0
  298. package/dist/logic/roles/designer/.briefs/declarative-over-imperative.md +79 -0
  299. package/dist/logic/roles/designer/.briefs/declarative-over-imperative.stub.md +14 -0
  300. package/dist/logic/roles/designer/.briefs/pit-of-success.md +70 -0
  301. package/dist/logic/roles/designer/.briefs/pit-of-success.stub.md +3 -0
  302. package/dist/logic/roles/designer/outlineDistilisys/stepOutlineDistilisys.js +4 -2
  303. package/dist/logic/roles/designer/outlineDistilisys/stepOutlineDistilisys.js.map +1 -1
  304. package/dist/logic/roles/designer/outlineDistilisys/stepOutlineDistilisys.template.md +173 -0
  305. package/dist/logic/roles/designer/outlineRoadmap/stepOutlineRoadmap.js +1 -1
  306. package/dist/logic/roles/designer/outlineRoadmap/stepOutlineRoadmap.js.map +1 -1
  307. package/dist/logic/roles/designer/outlineRoadmap/stepOutlineRoadmap.template.md +88 -0
  308. package/dist/logic/roles/designer/outlineVision/stepOutlineVision.template.md +47 -0
  309. package/dist/logic/roles/ecologist/.briefs/.readme.md +17 -0
  310. package/dist/logic/roles/ecologist/.briefs/distilisys/sys101.distilisys.grammar.md +221 -0
  311. package/dist/logic/roles/ecologist/.briefs/distilisys/sys201.actor.motive._.summary.md +82 -0
  312. package/dist/logic/roles/ecologist/.briefs/distilisys/sys201.actor.motive.p1.reversibility.entropy.md +39 -0
  313. package/dist/logic/roles/ecologist/.briefs/distilisys/sys201.actor.motive.p2.option.chance.choice.md +140 -0
  314. package/dist/logic/roles/ecologist/.briefs/distilisys/sys201.actor.motive.p3.chance.motive.polarity.threat.md +72 -0
  315. package/dist/logic/roles/ecologist/.briefs/distilisys/sys201.actor.motive.p4.motive.horizon.md +101 -0
  316. package/dist/logic/roles/ecologist/.briefs/distilisys/sys201.actor.motive.p5.motive.grammar.md +131 -0
  317. package/dist/logic/roles/ecologist/.briefs/distilisys/sys211.actor.resources._.primitives.summary.md +108 -0
  318. package/dist/logic/roles/ecologist/.briefs/distilisys/sys211.actor.resources.pt1.primitive.time.md +56 -0
  319. package/dist/logic/roles/ecologist/.briefs/distilisys/sys211.actor.resources.pt2.primitive.energy.md +69 -0
  320. package/dist/logic/roles/ecologist/.briefs/distilisys/sys211.actor.resources.pt3.primitive.space.md +85 -0
  321. package/dist/logic/roles/ecologist/.briefs/distilisys/sys211.actor.resources.pt4.primitive.claim.md +113 -0
  322. package/dist/logic/roles/ecologist/.briefs/distilisys/sys211.actor.resources.pt5.composites.md +146 -0
  323. package/dist/logic/roles/ecologist/.briefs/distilisys/sys231.actor.claims.p1.primitive.exchange.md +130 -0
  324. package/dist/logic/roles/ecologist/.briefs/ecology/.eco001.origin.prompt.md +11 -0
  325. package/dist/logic/roles/ecologist/.briefs/ecology/eco001.overview.md +44 -0
  326. package/dist/logic/roles/ecologist/.briefs/ecology/eco101.core-system-understanding.md +70 -0
  327. package/dist/logic/roles/ecologist/.briefs/ecology/eco101.p1.ecosystem-structure.md +62 -0
  328. package/dist/logic/roles/ecologist/.briefs/ecology/eco101.p2.trophic-dynamics.md +59 -0
  329. package/dist/logic/roles/ecologist/.briefs/ecology/eco101.p3.population-ecology.md +71 -0
  330. package/dist/logic/roles/ecologist/.briefs/ecology/eco101.p4.community-interactions.md +78 -0
  331. package/dist/logic/roles/ecologist/.briefs/ecology/eco505.systems-thinking.md +62 -0
  332. package/dist/logic/roles/ecologist/.briefs/economy/econ001.overview.md +65 -0
  333. package/dist/logic/roles/ecologist/.briefs/economy/econ101.core-mechanics.md +65 -0
  334. package/dist/logic/roles/ecologist/.briefs/economy/econ101.p1.supply-and-demand.md +76 -0
  335. package/dist/logic/roles/ecologist/.briefs/economy/econ101.p2.opportunity-cost.md +106 -0
  336. package/dist/logic/roles/ecologist/.briefs/economy/econ101.p3.marginal-analysis.md +79 -0
  337. package/dist/logic/roles/ecologist/.briefs/economy/econ101.p4.rational-choice.md +81 -0
  338. package/dist/logic/roles/ecologist/.briefs/economy/econ201.market-structures-and-failures.md +81 -0
  339. package/dist/logic/roles/ecologist/.briefs/economy/econ301.production-and-growth.md +71 -0
  340. package/dist/logic/roles/ecologist/.briefs/economy/econ401.macro-systems.md +92 -0
  341. package/dist/logic/roles/ecologist/.briefs/economy/econ501.global-and-institutional.md +85 -0
  342. package/dist/logic/roles/ecologist/.briefs/economy/econ501.p1.game-theory.md +142 -0
  343. package/dist/logic/roles/ecologist/.briefs/economy/econ501.p4.behavioral-economics.md +146 -0
  344. package/dist/logic/roles/ecologist/.briefs/product/user.journey._.[article].i1.md +68 -0
  345. package/dist/logic/roles/ecologist/.briefs/product/user.journey._.[article].md +0 -0
  346. package/dist/logic/roles/ecologist/.briefs/product/user.journey.purpose.[article].i1.md +52 -0
  347. package/dist/logic/roles/ecologist/.briefs/product/user.journey.purpose.[article].md +52 -0
  348. package/dist/logic/roles/ecologist/.briefs/term.distillation.md +93 -0
  349. package/dist/logic/roles/ecologist/getEcologistBrief.Options.codegen.d.ts +1 -1
  350. package/dist/logic/roles/ecologist/getEcologistBrief.Options.codegen.js +38 -27
  351. package/dist/logic/roles/ecologist/getEcologistBrief.Options.codegen.js.map +1 -1
  352. package/dist/logic/roles/ecologist/getEcologistRole.d.ts +2 -0
  353. package/dist/logic/roles/ecologist/getEcologistRole.js +29 -0
  354. package/dist/logic/roles/ecologist/getEcologistRole.js.map +1 -0
  355. package/dist/logic/roles/getRoleRegistry.js +7 -1
  356. package/dist/logic/roles/getRoleRegistry.js.map +1 -1
  357. package/dist/logic/roles/mechanic/.briefs/architecture/bounded-contexts.md +61 -0
  358. package/dist/logic/roles/mechanic/.briefs/architecture/directional-dependencies.md +73 -0
  359. package/dist/logic/roles/mechanic/.briefs/architecture/domain-driven-design.md +61 -0
  360. package/dist/logic/roles/mechanic/.briefs/architecture/ubiqlang.md +37 -0
  361. package/dist/logic/roles/mechanic/.briefs/codestyle/_mech.compressed.md +57 -0
  362. package/dist/logic/roles/mechanic/.briefs/codestyle/_mech.compressed.prompt.md +5 -0
  363. package/dist/logic/roles/mechanic/.briefs/codestyle/flow.failfast.md +37 -0
  364. package/dist/logic/roles/mechanic/.briefs/codestyle/flow.idempotency.md +63 -0
  365. package/dist/logic/roles/mechanic/.briefs/codestyle/flow.immutability.md +48 -0
  366. package/dist/logic/roles/mechanic/.briefs/codestyle/flow.narratives.md +74 -0
  367. package/dist/logic/roles/mechanic/.briefs/codestyle/flow.single-responsibility.md +67 -0
  368. package/dist/logic/roles/mechanic/.briefs/codestyle/mech.args.input-context.md +61 -0
  369. package/dist/logic/roles/mechanic/.briefs/codestyle/mech.args.input-inline.md +63 -0
  370. package/dist/logic/roles/mechanic/.briefs/codestyle/mech.arrowonly.md +47 -0
  371. package/dist/logic/roles/mechanic/.briefs/codestyle/mech.clear-contracts.md +53 -0
  372. package/dist/logic/roles/mechanic/.briefs/codestyle/mech.tests.given-when-then.md +62 -0
  373. package/dist/logic/roles/mechanic/.briefs/codestyle/mech.what-why.md +88 -0
  374. package/dist/logic/roles/mechanic/.briefs/codestyle/mech.what-why.v2.md +98 -0
  375. package/dist/logic/roles/mechanic/.briefs/codestyle/pit-of-success.via.minimize-surface-area.md +58 -0
  376. package/dist/logic/roles/mechanic/.briefs/engineer/dependency-injection.md +118 -0
  377. package/dist/logic/roles/mechanic/.briefs/engineer/dependency-injection.stub.md +11 -0
  378. package/dist/logic/roles/mechanic/.briefs/style.compressed.md +29 -0
  379. package/dist/logic/roles/mechanic/.briefs/style.compressed.prompt.md +5 -0
  380. package/dist/logic/roles/mechanic/.briefs/style.names.treestruct.md +48 -0
  381. package/dist/logic/roles/mechanic/.briefs/style.names.ubiqlang.md +37 -0
  382. package/dist/logic/roles/mechanic/.briefs/style.words.lowercase.md +36 -0
  383. package/dist/logic/roles/mechanic/codediff/routeArtistCodeDiff.template.md +46 -0
  384. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReviewArchitecture.template.md +78 -0
  385. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReviewCodestyle.template.md +75 -0
  386. package/dist/logic/roles/mechanic/codediff/routeJudgeReleasable.template.md +67 -0
  387. package/dist/logic/roles/mechanic/getMechanicBrief.Options.codegen.d.ts +1 -1
  388. package/dist/logic/roles/mechanic/getMechanicBrief.Options.codegen.js +3 -1
  389. package/dist/logic/roles/mechanic/getMechanicBrief.Options.codegen.js.map +1 -1
  390. package/dist/logic/roles/mechanic/getMechanicRole.js +3 -137
  391. package/dist/logic/roles/mechanic/getMechanicRole.js.map +1 -1
  392. package/dist/logic/roles/mechanic/skills/getSkillCodePropose.d.ts +2 -0
  393. package/dist/logic/roles/mechanic/skills/getSkillCodePropose.js +140 -0
  394. package/dist/logic/roles/mechanic/skills/getSkillCodePropose.js.map +1 -0
  395. package/dist/logic/roles/mechanic/study/routeStudyAsk.template.md +73 -0
  396. package/dist/logic/roles/mechanic/write/.test/prior.template.md +21 -0
  397. package/dist/logic/roles/mechanic/write/loopWrite.d.ts +25 -0
  398. package/dist/logic/roles/mechanic/write/loopWrite.integration.test.d.ts +1 -0
  399. package/dist/logic/roles/mechanic/write/loopWrite.integration.test.js +57 -0
  400. package/dist/logic/roles/mechanic/write/loopWrite.integration.test.js.map +1 -0
  401. package/dist/logic/roles/mechanic/write/loopWrite.js +11 -0
  402. package/dist/logic/roles/mechanic/write/loopWrite.js.map +1 -0
  403. package/dist/logic/roles/mechanic/write/loopWrite.skill.d.ts +25 -0
  404. package/dist/logic/roles/mechanic/write/loopWrite.skill.js +100 -0
  405. package/dist/logic/roles/mechanic/write/loopWrite.skill.js.map +1 -0
  406. package/dist/logic/roles/{ecologist/distill/distillDomain.ActionsAndActors.d.ts → mechanic/write/stepWrite.d.ts} +9 -3
  407. package/dist/logic/roles/mechanic/write/stepWrite.integration.test.d.ts +1 -0
  408. package/dist/logic/roles/mechanic/write/stepWrite.integration.test.js +189 -0
  409. package/dist/logic/roles/mechanic/write/stepWrite.integration.test.js.map +1 -0
  410. package/dist/logic/roles/mechanic/write/stepWrite.js +51 -0
  411. package/dist/logic/roles/mechanic/write/stepWrite.js.map +1 -0
  412. package/dist/logic/roles/mechanic/write/stepWrite.template.md +38 -0
  413. package/package.json +10 -6
  414. package/readme.[seed].md +2 -0
  415. package/readme.md +1 -1
  416. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.d.ts +0 -17
  417. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.integration.test.js +0 -107
  418. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.integration.test.js.map +0 -1
  419. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.js +0 -76
  420. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.js.map +0 -1
  421. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.imagine.ResourcesAndMechanisms.d.ts +0 -17
  422. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.imagine.ResourcesAndMechanisms.js +0 -73
  423. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.imagine.ResourcesAndMechanisms.js.map +0 -1
  424. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.d.ts +0 -18
  425. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.integration.test.js +0 -73
  426. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.integration.test.js.map +0 -1
  427. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.js +0 -62
  428. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.js.map +0 -1
  429. package/dist/logic/roles/ecologist/distill/distillDomain.ActionsAndActors.integration.test.js +0 -120
  430. package/dist/logic/roles/ecologist/distill/distillDomain.ActionsAndActors.integration.test.js.map +0 -1
  431. package/dist/logic/roles/ecologist/distill/distillDomain.ActionsAndActors.js +0 -69
  432. package/dist/logic/roles/ecologist/distill/distillDomain.ActionsAndActors.js.map +0 -1
  433. /package/dist/logic/{roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.integration.test.d.ts → artifact/genStepSwapArtifact.test.d.ts} +0 -0
  434. /package/dist/logic/roles/{ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.integration.test.d.ts → bhrain/brief.articulate/stepArticulate.integration.test.d.ts} +0 -0
  435. /package/dist/logic/roles/{ecologist/distill/distillDomain.ActionsAndActors.integration.test.d.ts → bhrain/brief.catalogize/stepCatalogize.integration.test.d.ts} +0 -0
@@ -0,0 +1,63 @@
1
+ .tactic = proc:require-idempotency
2
+
3
+ .what = all procedures must be idempotent unless explicitly marked otherwise — calling the same logic twice must not cause double effects
4
+
5
+ .scope:
6
+ - applies to all stitched procedures, exports, and service logic
7
+ - especially required for write operations, upserts, queues, retries, and workflows
8
+
9
+ .why:
10
+ - prevents duplicate side effects from retries, race conditions, or concurrent execution
11
+ - enables safe reruns, resume-after-failure, and audit-friendly execution
12
+ - makes all logic safer to test, stitch, compose, and scale
13
+
14
+ .how:
15
+ - all procedures must **guard against re-entry**
16
+ - check whether the action has already occurred before executing
17
+ - e.g., `if (invoice.status === 'FINAL') return invoice;`
18
+ - any **side-effect-producing operation** must:
19
+ - check for an existing result (e.g. existing record, idempotency key, state flag)
20
+ - return early if already complete
21
+ - **external writes** (db, api, fs, queues) must be safe to call multiple times without duplication
22
+ - use upserts, conflict-ignore inserts, or external idempotency tokens
23
+ - **procedures that are not idempotent** must be marked:
24
+ - include `.note = non-idempotent` in header comment
25
+ - include a guard against accidental retries (e.g. check `context.traceId`)
26
+ - stitched logic should not assume “exactly once” semantics — instead, enforce “at-least once, safely”
27
+
28
+ .enforcement:
29
+ - procedures with `set`, `push`, `post`, or other side-effect verbs must show idempotency check
30
+ - non-idempotent procedures must be annotated with a `.note`
31
+ - workflows and retry logic must assume re-entry and prove safety
32
+ - test cases must show repeat-calling has no additional effect
33
+
34
+ .examples:
35
+
36
+ .positive:
37
+ ```ts
38
+ // skip if already finalized
39
+ if (invoice.status === 'FINAL') return invoice;
40
+
41
+ // finalize invoice
42
+ const updated = invoice.clone({ status: 'FINAL' });
43
+ await saveInvoice(updated);
44
+ return updated;
45
+ ```
46
+
47
+ ```ts
48
+ // deduplicate outbound message
49
+ const alreadySent = await Message.find({ idempotencyKey });
50
+ if (alreadySent) return alreadySent;
51
+
52
+ await sendMessage({ to, body });
53
+ ```
54
+
55
+ .negative:
56
+ ```ts
57
+ await sendEmail(input); // ⛔ no check for previous send
58
+ ```
59
+
60
+ ```ts
61
+ const saved = await insertLog({ ... }) // ⛔ may insert duplicate on retry
62
+ ```
63
+
@@ -0,0 +1,48 @@
1
+ .tactic = vars:require-immutable
2
+
3
+ .what = require all code to use immutable variables, objects, and update patterns — mutation is a blocker
4
+
5
+ .scope:
6
+ - applies to all variable declarations, function arguments, object updates, and data flows
7
+ - enforced in all modules, logic layers, stitched routes, and tests
8
+
9
+ .why:
10
+ - eliminates side effects from shared mutable state
11
+ - enables predictable execution, safer concurrency, and undoable flows
12
+ - enforces functional purity and simplifies debugging
13
+ - guarantees compatibility with clone-based and parallel architectures
14
+
15
+ .how:
16
+ - all bindings must use `const`; `let` or `var` are **forbidden** unless explicitly scoped to a mutation block
17
+ - input arguments must never be mutated — always treat as read-only
18
+ - objects must never be mutated in place:
19
+ - use object spreads (`{ ...original, field }`) or `.clone()` on domain objects
20
+ - arrays must not be mutated directly:
21
+ - never use `.push()`, `.pop()`, `.splice()`, or `.sort()` on the original array
22
+ - use spread + map/filter/reduce or copy before mutating
23
+ - use `withImmute()` and `.clone()` for all updates to domain objects
24
+ - avoid shared reference mutation:
25
+ - never change shared singletons or top-level config objects after import
26
+ - if mutation is unavoidable (e.g. caching, metrics), isolate it in a clearly scoped, documented zone with `.note = deliberate mutation` comment
27
+
28
+ .enforcement:
29
+ - `let`, `var`, and in-place mutation are blockers unless specifically exempted
30
+ - mutation of input arguments or shared objects must fail review
31
+ - mutation of domain object instances is forbidden; use `.clone()` instead
32
+ - functions with mutation behavior must be annotated and justified
33
+
34
+ .examples:
35
+
36
+ .positive:
37
+ - `const updated = { ...original, status: 'complete' }`
38
+ - `const newInvoice = invoice.clone({ total: 1200 })`
39
+ - `const next = [...current].sort(byDate)`
40
+
41
+ .negative:
42
+ - `let count = 0; count++`
43
+ - `input.customer.name = 'bob'` // ⛔ input mutation
44
+ - `config.debug = false` // ⛔ shared singleton mutation
45
+ - `arr.push(1)` // ⛔ in-place array mutation
46
+
47
+ .links:
48
+ - see also: `arch:immutable-core`, `args:input-context`, `domain-objects.withImmute`
@@ -0,0 +1,74 @@
1
+ .tactic = flow:narrative
2
+
3
+ .what = structure all logic as flat, linear code paragraphs — never nested branches — to improve clarity and scanability
4
+
5
+ .scope:
6
+ - applies to all procedural code: stitched logic, exports, and internal helpers
7
+ - required for all conditional flows, validation paths, and stateful transformations
8
+
9
+ .why:
10
+ - reduces visual complexity by eliminating indentation creep
11
+ - aligns code with natural narrative flow: guard clauses → main path → fallback
12
+ - makes logic easier to read, debug, test, and extend
13
+ - allows each "paragraph" of logic to be summarized with a single comment
14
+
15
+ .how:
16
+ - eliminate `if/else` and nested `if` blocks entirely
17
+ - use early returns (`if (x) return`, `if (error) throw`) instead
18
+ - prefer `return`, `throw`, or `continue` to flatten control flow
19
+ - define and use **code paragraphs**:
20
+ - a group of 1–5 lines that do one thing together
21
+ - each paragraph must be preceded by a `//` one-line title explaining **what** or **why**
22
+ - paragraph titles act like section headers — they are not optional
23
+ - paragraphs must be separated by a blank line
24
+ - paragraph comments must **not** describe how the code works — only why this paragraph exists
25
+ - deeply nested branches should be broken into separate procedures if needed
26
+
27
+ .enforcement:
28
+ - `else` and nested `if` blocks are blockers and must be refactored
29
+ - any multi-line logic block without a paragraph title is a violation
30
+ - paragraph comments must be one-liners — multiline `//` is forbidden (see `comment-discipline`)
31
+ - code that reads like a decision tree must be flattened into a readable narrative
32
+
33
+ .definitions:
34
+ - **code paragraph** = a contiguous block of related lines, preceded by a single-line `//` title and separated by a blank line
35
+ ```ts
36
+ // validate input format
37
+ const isValid = validateShape(input);
38
+ if (!isValid) return failure();
39
+
40
+ // attempt fallback resolution
41
+ const resolved = tryToResolve(input);
42
+ if (!resolved) UnexpectedCodePathError.throw('resolution failed');
43
+ ```
44
+
45
+ .examples:
46
+
47
+ .positive:
48
+ ```ts
49
+ // return early if invalid
50
+ if (!input.email) return failure();
51
+
52
+ // check for banned domains
53
+ if (input.email.endsWith('@spam.com')) return forbidden();
54
+
55
+ // process verified email
56
+ const result = handleVerifiedEmail(input.email);
57
+ ```
58
+
59
+ .negative:
60
+ ```ts
61
+ if (!input.email) {
62
+ return failure();
63
+ } else {
64
+ if (input.email.endsWith('@spam.com')) {
65
+ return forbidden();
66
+ } else {
67
+ const result = handleVerifiedEmail(input.email);
68
+ ...
69
+ }
70
+ }
71
+ ```
72
+
73
+ .links:
74
+ - see also: `comment-discipline`, `funcs:shape-and-signal`, `flow:guard-first`
@@ -0,0 +1,67 @@
1
+ ### .tactic = codestyle:single-responsibility
2
+
3
+ #### .what
4
+ enforce that every code file and procedure has a singular, clearly-defined responsibility
5
+
6
+ #### .why
7
+ - makes code easier to locate, understand, and test
8
+ - ensures separation of concerns between logic, validation, and orchestration
9
+ - prevents files from bloating with unrelated logic or creeping concerns
10
+
11
+ #### .rules
12
+
13
+ ✅ required
14
+ - every file must export **exactly one** named procedure
15
+ - filename must match the exported procedure
16
+ - all logic in the file must directly support the procedure’s **domain intent**
17
+ - runtime typechecks are only allowed **if** the file's sole purpose is validation
18
+
19
+ ❌ forbidden
20
+ - more than one exported procedure per file
21
+ - co-locating validation, parsing, or orchestration logic alongside domain logic
22
+ - runtime type assertions or guards inside general-purpose logic
23
+ - dead code, TODOs, or unrelated comments in the file
24
+ - guards that apply redundant runtime typechecks (we trust typescript)
25
+
26
+
27
+ #### .examples
28
+
29
+ **✅ good**
30
+ ```ts
31
+ // getCustomerInvoices.ts
32
+ /**
33
+ * .what = retrieves all invoices for a given customer
34
+ * .why = isolates domain logic for invoice lookup by customer
35
+ */
36
+ export const getCustomerInvoices = ({ customerId }: { customerId: string }) => {
37
+ return invoiceDao.findMany({ customerId });
38
+ };
39
+ ```
40
+
41
+
42
+
43
+ **⛔ bad**
44
+ ```ts
45
+ // customerUtils.ts
46
+ // utility file that contains many things
47
+
48
+ export const getCustomerInvoices = (...) => { ... }
49
+
50
+ export const validateCustomer = (...) => { ... } // ❌ multiple responsibilities
51
+
52
+ // random comment about edge cases — ❌ unrelated noise
53
+
54
+ ```
55
+
56
+
57
+ **⛔ bad**
58
+ ```ts
59
+ // getCustomerInvoices.ts
60
+ export const getCustomerInvoices = ({ customerId }: { customerId: string }) => {
61
+ if (typeof customerId !== 'string') // ❌ redundant runtime check
62
+ throw new Error('bad id');
63
+
64
+ return invoiceDao.findMany({ customerId });
65
+ };
66
+ ```
67
+
@@ -0,0 +1,61 @@
1
+ ### .tactic = args:input-context
2
+
3
+ #### .what
4
+ enforce hard requirement that all procedure args to follow the canonical pattern: `(input, context?)` — even for simple one-liners
5
+
6
+ #### .why
7
+ - promotes long-term clarity and change-resilience over short-term brevity
8
+ - prevents positional argument confusion
9
+ - supports context injection without argument churn
10
+ - aligns with domain patterns: input = upstream data, context = runtime environment
11
+ - enables safe refactoring and consistent documentation across codebase
12
+
13
+ #### .where
14
+ - applies to **all function definitions** (sync or async)
15
+ - required for all exported and internal functions in production code
16
+ - expected in tests, hooks, utils, and logic modules
17
+ - only anonymous inline callbacks are **exempt** if tightly scoped
18
+
19
+ #### .how
20
+
21
+ ##### ✅ required
22
+ - every function must accept exactly:
23
+ - one `input` arg — a destructurable object
24
+ - optional second `context` arg — also a destructurable object
25
+
26
+ - **hard requirement** — applies even to trivial utilities, pure transforms, and data extractors
27
+
28
+ - `input` does **not** need to be destructured at the function boundary; shape like `(input: { ... })` is fine
29
+ - `function` keyword is forbidden unless implementing class methods (see `.tactic:funcs:arrow-only`)
30
+
31
+ ##### ❌ forbidden
32
+ - more than 2 positional args
33
+ - non-destructurable inputs
34
+ - context blended into input
35
+ - inline positional args unless anonymous
36
+
37
+
38
+ ---
39
+
40
+ ### .examples
41
+
42
+ ##### ✅ positive
43
+ ```ts
44
+ // standard function
45
+ export const genRoute = async (input: { slug: string }, context?: { traceId?: string }) => { ... }
46
+
47
+ // internal logic
48
+ const updateUser = ({ userId }: { userId: string }, context: { userDao: UserDao }) => { ... }
49
+
50
+ // test
51
+ expect(hasChanges({ before, after })).toBe(true);
52
+ ```ts
53
+
54
+ ##### ❌ negative
55
+ ```ts
56
+ export function doThing(a, b, c) {} // ⛔ positional args & function keyword
57
+
58
+ handleRequest(input, options, env) // ⛔ more than two args
59
+
60
+ export const getTotal = (invoice) => ... // ⛔ input not typed
61
+ ```
@@ -0,0 +1,63 @@
1
+ # 🧩 .brief: `args:inline-input`
2
+
3
+ ## .what
4
+ **`args:inline-input`** is a declaration style for function arguments where the primary argument is a **single `input` object** with **inline type annotations**.
5
+
6
+ \`\`\`ts
7
+ export const doSomething = (input: { foo: string; bar: number }): void => {
8
+ // ...
9
+ };
10
+ \`\`\`
11
+
12
+ - **inline types**: the shape of `input` is declared directly at the point of use, not as a separate named type (unless truly reused across contexts).
13
+ - **non-destructured**: `input` remains intact in the parameter list.
14
+
15
+ ---
16
+
17
+ ## .why
18
+ this pattern maximizes **maintainability** and **readability** by:
19
+
20
+ 1. **keeping type info local**
21
+ - no need to jump to another file or scroll to find the interface/type definition.
22
+ - changes to argument structure are quick and visible in one place.
23
+
24
+ 2. **reinforcing origin clarity**
25
+ - variables from `input` are always referenced as `input.foo` or `input.bar`, making their provenance explicit.
26
+ - this avoids ambiguity in larger scopes, especially when a function mixes locals, constants, and context values.
27
+
28
+ 3. **avoiding premature fragmentation**
29
+ - not all shapes deserve a named type. we only extract to `type` or `interface` when the same shape is reused across multiple functions or modules.
30
+
31
+ ---
32
+
33
+ ## 📏 rules
34
+ - declare the first parameter as `(input: { ... })` with inline types by default.
35
+ - destructuring is allowed **inside** the function body, never in the parameter list.
36
+ - optional `context` parameter follows the same pattern `(context?: { ... })` and is always second.
37
+ - if the type is reused in 3+ places, extract to a named `type` but keep the `input` wrapper.
38
+
39
+ ---
40
+
41
+ ## ✅ example
42
+
43
+ \`\`\`ts
44
+ export const sendEmail = (
45
+ input: { to: string; subject: string; body: string },
46
+ context?: { retries?: number }
47
+ ): Promise<void> => {
48
+ const { to, subject, body } = input;
49
+ // ...
50
+ };
51
+ \`\`\`
52
+
53
+ ---
54
+
55
+ ## ❌ anti-pattern
56
+
57
+ \`\`\`ts
58
+ // ❌ loses "input" provenance
59
+ export const sendEmail = ({ to, subject, body }: { to: string; subject: string; body: string }) => {};
60
+
61
+ // ❌ type drift — must look up the type definition elsewhere for basic usage
62
+ export const sendEmail = (input: EmailInput) => {};
63
+ \`\`\`
@@ -0,0 +1,47 @@
1
+ ### .tactic = funcs:arrow-only
2
+
3
+ #### .what
4
+ enforce that all procedures are declared using arrow functions
5
+ disallow use of `function` keyword for any procedure
6
+
7
+ #### .where
8
+ - applies to all exported and internal functions across codebase
9
+ - required in modules, utilities, hooks, logic, and test declarations
10
+ - exempt only for class methods or dynamic `this` binding (rare)
11
+
12
+ #### .why
13
+ - enforces lexical `this` binding for predictable behavior
14
+ - aligns code structure with uniform declaration style
15
+ - improves visual clarity and reduces syntactic noise
16
+ - simplifies use with higher-order functions, closures, and composability
17
+
18
+ #### .how
19
+
20
+ ##### .rules
21
+ - use arrow syntax (`const fn = (input) => {}`) for all functions
22
+ - never use `function` keyword for standalone or inline functions
23
+ - use object methods only when tied to a `class` or API contract
24
+ - always destructure input as the first arg if applicable
25
+
26
+ ##### .examples
27
+
28
+ ###### .positive
29
+ ```ts
30
+ export const setCustomerPhone = ({ customer, phone }) => {
31
+ return { ...customer, phone };
32
+ };
33
+
34
+ const getName = (input) => input.name;
35
+ ```
36
+
37
+
38
+ ###### .negative
39
+ ```ts
40
+ function setCustomerPhone({ customer, phone }) { // ⛔ function keyword
41
+ return { ...customer, phone };
42
+ }
43
+
44
+ export function doWork() { // ⛔ export with function
45
+ ...
46
+ }
47
+ ```
@@ -0,0 +1,53 @@
1
+
2
+ .tactic = mech:contract-before-implementation
3
+
4
+ .what = declare the shape and expectations of behavior (the contract) before writing its implementation
5
+
6
+ .why:
7
+ - forces clarity about what is being built and why
8
+ - prevents premature optimization and over-engineering
9
+ - creates a shared agreement for both the builder and consumer
10
+ - enables parallel work (e.g., backend + frontend, or logic + UI)
11
+
12
+ .scope:
13
+ - applies to procedures, stitched flows, and any domain mechanisms
14
+ - applies at both macro (API endpoint, service) and micro (function, component) levels
15
+
16
+ .how:
17
+ - always begin with a **procedure type** that defines:
18
+ - function signature or interface
19
+ - expected inputs and output shape
20
+ - error modes and invariants
21
+ - why it exists (motivation or business rule)
22
+
23
+ .examples:
24
+
25
+ ✅ good
26
+ // domain/procedures/sendInvoice.ts
27
+
28
+ /**
29
+ * .what = sends an invoice to the customer and marks it as sent
30
+ * .why = required for customer billing compliance and automation
31
+ */
32
+ export const sendInvoice = async ({
33
+ invoice,
34
+ customer,
35
+ }: {
36
+ invoice: Invoice;
37
+ customer: Customer;
38
+ }): Promise<{ success: true }> => {
39
+ // ...
40
+ };
41
+
42
+ ❌ bad
43
+ // logic/sendInvoice.ts
44
+
45
+ export const sendInvoice = async (invoice, customer) => {
46
+ // suddenly starts doing 4 things and mutates stuff randomly
47
+ };
48
+
49
+ .enforcement:
50
+ - if a PR implements logic without any visible contract: **blocker**
51
+ - if types are vague or inferred (e.g. `any`, `unknown`): **blocker**
52
+ - if behavior differs from contract or lacks a test: **blocker**
53
+
@@ -0,0 +1,62 @@
1
+ ### .tactic = tests:given-when-then
2
+
3
+ #### .what
4
+ use `jest` in combination with `test-fns` to structure tests with `given / when / then` hierarchy
5
+
6
+ #### .where
7
+ - applies to all test suites across core logic and modules
8
+ - required for integration tests and expected for unit tests
9
+ - recommended for test readability, maintainability, and intent traceability
10
+
11
+ #### .why
12
+ - expresses test intent and flow in human-readable structure
13
+ - aligns test structure with natural reasoning: context → action → result
14
+ - improves ability to isolate, debug, and extend test scenarios
15
+ - keeps test surface minimal and expressive, especially for high-context logic
16
+
17
+ #### .how
18
+
19
+ ##### .rules
20
+ - use `describe()` for grouping related logic (e.g., a route or stitcher)
21
+ - use `given()` to describe the setup scenario
22
+ - must establish all required input (e.g., files, threads, role context)
23
+ - use `when()` to declare the act or trigger
24
+ - should define one clear execution path
25
+ - use `then()` to assert outcomes
26
+ - may include async calls, file checks, or output inspection
27
+
28
+ ##### .examples
29
+
30
+ ###### .positive
31
+ ```ts
32
+ import { given, when, then } from 'test-fns';
33
+
34
+ given('a mechanic with ask, claim, and coderefs', () => {
35
+ const coderef = genArtifactGitFile({ uri: 'file.md' });
36
+
37
+ beforeEach(async () => {
38
+ await coderef.set({ content: '...' });
39
+ });
40
+
41
+ when('executed', () => {
42
+ const threads = { /* setup threads */ };
43
+
44
+ then('updates the claims artifact', async () => {
45
+ const result = await enweaveOneStitcher({ stitcher, threads }, context);
46
+ const content = await claimsArt.get();
47
+ expect(content).toContain('...');
48
+ });
49
+
50
+ then('throws on invalid input', async () => {
51
+ const error = await getError(enweaveOneStitcher({ stitcher, threads: {} }, context));
52
+ expect(error).toBeInstanceOf(ThreadMissError)
53
+ });
54
+ });
55
+ });
56
+ ```
57
+
58
+ ```ts
59
+ when('executed', async () => { // ⛔ async not allowed in when()
60
+ const result = await doSomething();
61
+ });
62
+ ```
@@ -0,0 +1,88 @@
1
+
2
+ ### .tactic = funcs:what-why-comments
3
+
4
+ #### .what
5
+ require `.what` and `.why` comments to prefix every named procedure and code paragraph
6
+
7
+ #### .why
8
+ - improves readability for future travelers
9
+ - captures intent behind decisions, not just behavior
10
+ - speeds up audits, refactors, and onboarding
11
+ - reinforces consistent communication in code
12
+
13
+ ---
14
+
15
+ #### .how
16
+
17
+ ##### .procedure headers
18
+
19
+ every named function must begin with a jsdoc block like:
20
+
21
+ ```ts
22
+ /**
23
+ * .what = summarize the intent of the procedure
24
+ * .why = explain why it exists or why it matters
25
+ * .note = optional; record special behaviors, edge cases, caveats
26
+ */
27
+ ```
28
+
29
+ - mandatory for all exported procedures => this is a BLOCKER
30
+ - required for helpers that aren’t self-evident
31
+ - optional for anonymous one-liners or trivial passthroughs
32
+
33
+
34
+ ##### .paragraph summaries
35
+
36
+ every logical paragraph (group of lines) must be prefixed with a `//` comment summarizing its purpose:
37
+
38
+ ```ts
39
+ // load invoice from database, for status check later in flow
40
+ const invoice = await getInvoiceById(invoiceId);
41
+ ```
42
+
43
+ - avoid duplicating code — focus on *intent*
44
+ - explain why something matters, not just what it is
45
+ - group related lines under a shared summary
46
+ - important: compress into one line. if a paragraph summary is multiline, then the code paragraph is complex enough to need its own procedure and testsuite
47
+
48
+
49
+ #### .examples
50
+
51
+ ##### ✅ positive
52
+
53
+ ```ts
54
+ /**
55
+ * .what = generates a proposal by iterating until a releasable version is judged
56
+ * .why = ensures only clean code reaches the reviewer, via mechanic feedback loop
57
+ */
58
+ export const proposeCode = async ({ threads }) => {
59
+ // iterate to gather feedback and judgment on inflight code
60
+ const result = await runIterateCycle({ threads });
61
+
62
+ // expose artifact for downstream routes
63
+ return result.threads.artist.context.stash.art.inflight;
64
+ };
65
+ ```
66
+
67
+ ##### ❌ negative
68
+
69
+ ```ts
70
+ // run flow ⛔ unclear
71
+ const r = await run();
72
+
73
+ return r.artifact; // ⛔ what is this? why return this?
74
+
75
+ // very long comment describing why this block exists
76
+ // and what it does and why it's written in this particular way
77
+ // suggests the code below is too complex and should be split out
78
+ const result = someLogic(input);
79
+ const adjusted = adjustResult(result);
80
+ const validated = validate(adjusted);
81
+ const final = finalize(validated);
82
+ ```
83
+
84
+ #### .where
85
+
86
+ - applies to all production code: modules, utilities, logic, and exports
87
+ - expected in test files for setup blocks and assertions
88
+ - exempt only for tiny, obviously self-contained expressions