rhachet-roles-ehmpathy 1.0.0 → 1.1.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 (306) hide show
  1. package/dist/.test/getContextOpenAI.js +2 -1
  2. package/dist/.test/getContextOpenAI.js.map +1 -1
  3. package/dist/contract/commands/codegenBriefOptions.js +1 -0
  4. package/dist/contract/commands/codegenBriefOptions.js.map +1 -1
  5. package/dist/contract/sdk/index.d.ts +1 -0
  6. package/dist/contract/sdk/index.js +6 -0
  7. package/dist/contract/sdk/index.js.map +1 -0
  8. package/dist/data/sdk/sdkOpenAi.js +5 -1
  9. package/dist/data/sdk/sdkOpenAi.js.map +1 -1
  10. package/dist/index.d.ts +1 -0
  11. package/dist/index.js +16 -0
  12. package/dist/index.js.map +1 -1
  13. package/dist/logic/artifact/asDotRhachetFile.d.ts +5 -0
  14. package/dist/logic/artifact/asDotRhachetFile.js +16 -0
  15. package/dist/logic/artifact/asDotRhachetFile.js.map +1 -0
  16. package/dist/logic/artifact/genLoopFeedback.d.ts +18 -0
  17. package/dist/logic/artifact/genLoopFeedback.js +40 -0
  18. package/dist/logic/artifact/genLoopFeedback.js.map +1 -0
  19. package/dist/logic/artifact/genStepArtSet.d.ts +2 -1
  20. package/dist/logic/artifact/genStepArtSet.js +24 -4
  21. package/dist/logic/artifact/genStepArtSet.js.map +1 -1
  22. package/dist/logic/artifact/genStepGrabCallerFeedbackToArtifact.js +7 -0
  23. package/dist/logic/artifact/genStepGrabCallerFeedbackToArtifact.js.map +1 -1
  24. package/dist/logic/artifact/genStepResetFeedback.d.ts +12 -0
  25. package/dist/logic/artifact/genStepResetFeedback.js +27 -0
  26. package/dist/logic/artifact/genStepResetFeedback.js.map +1 -0
  27. package/dist/logic/artifact/genStepSwapArtifact.d.ts +57 -0
  28. package/dist/logic/artifact/genStepSwapArtifact.js +58 -0
  29. package/dist/logic/artifact/genStepSwapArtifact.js.map +1 -0
  30. package/dist/logic/artifact/genStepSwapArtifact.test.js +131 -0
  31. package/dist/logic/artifact/genStepSwapArtifact.test.js.map +1 -0
  32. package/dist/logic/roles/architect/.briefs/ubiqlang.ambiguous-from-overload.md +1 -0
  33. package/dist/logic/roles/bhrain/.briefs/cognition/cog021.treestruct.md +85 -0
  34. package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.definition.md +115 -0
  35. package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct._.md +112 -0
  36. package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct.gravity.md +89 -0
  37. package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct.persp.1.perspectives.md +88 -0
  38. package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct.persp.2.universal.md +82 -0
  39. package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct.persp.3.relative.md +106 -0
  40. package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct.persp.4.fractal.md +83 -0
  41. package/dist/logic/roles/bhrain/.briefs/cognition/cog101.cortal.focus.p1.definition.md +182 -0
  42. package/dist/logic/roles/bhrain/.briefs/cognition/cog101.cortal.focus.p1.examples.cont.md +82 -0
  43. package/dist/logic/roles/bhrain/.briefs/cognition/cog101.cortal.focus.p2.acuity.md +107 -0
  44. package/dist/logic/roles/bhrain/.briefs/cognition/cog101.cortal.focus.p2.breadth.md +118 -0
  45. package/dist/logic/roles/bhrain/.briefs/cognition/cog101.cortal.focus.p2.depth.md +121 -0
  46. package/dist/logic/roles/bhrain/.briefs/cognition/cog101.cortal.focus.p3.mode.md +68 -0
  47. package/dist/logic/roles/bhrain/.briefs/cognition/cog101.cortal.focus.p3.rythm.md +56 -0
  48. package/dist/logic/roles/bhrain/.briefs/cognition/cog301.concept.traversal.p1.universal.md +108 -0
  49. package/dist/logic/roles/bhrain/.briefs/cognition/cog301.concept.traversal.p2.relative.md +76 -0
  50. package/dist/logic/roles/bhrain/.briefs/cognition/cog301.concept.traversal.p3.directions.md +42 -0
  51. package/dist/logic/roles/bhrain/.briefs/distilisys.grammar.compressed.md +19 -0
  52. package/dist/logic/roles/bhrain/.briefs/physics/optics.focal.acuity.md +77 -0
  53. package/dist/logic/roles/bhrain/.briefs/physics/optics.focal.breadth.md +74 -0
  54. package/dist/logic/roles/bhrain/.briefs/physics/optics.focal.depth.md +77 -0
  55. package/dist/logic/roles/bhrain/.briefs/physics/optics.focal.distance.md +92 -0
  56. package/dist/logic/roles/bhrain/.briefs/physics/optics.focal.tradeoffs.md +107 -0
  57. package/dist/logic/roles/bhrain/.briefs/tactic.<think>[idea]/composite/<triangulate>[concept].md +66 -0
  58. package/dist/logic/roles/bhrain/.briefs/tactic.<think>[idea]/primitive/<zoom>._.md +124 -0
  59. package/dist/logic/roles/bhrain/.briefs/tactic.<think>[idea]/primitive/<zoomin>[acuity]<sharpen>[concept].md +53 -0
  60. package/dist/logic/roles/bhrain/.briefs/tactic.<think>[idea]/primitive/<zoomin>[breadth]<decompose>[concept].md +67 -0
  61. package/dist/logic/roles/bhrain/.briefs/tactic.<think>[idea]/primitive/<zoomin>[depth]<abstractify>[concept].md +124 -0
  62. package/dist/logic/roles/bhrain/.briefs/tactic.<think>[idea]/primitive/<zoomout>[acuity]<blurren>[concept].md +56 -0
  63. package/dist/logic/roles/bhrain/.briefs/tactic.<think>[idea]/primitive/<zoomout>[breadth]<broaden>[concept].md +71 -0
  64. package/dist/logic/roles/bhrain/.briefs/tactic.<think>[idea]/primitive/<zoomout>[depth]<elaborate>[concept].md +74 -0
  65. package/dist/logic/roles/bhrain/.briefs/terms.motive.intent.goal.md +46 -0
  66. package/dist/logic/roles/bhrain/.briefs/trait.ocd.md +5 -0
  67. package/dist/logic/roles/bhrain/getBhrainBrief.Options.codegen.d.ts +10 -0
  68. package/dist/logic/roles/bhrain/getBhrainBrief.Options.codegen.js +15 -0
  69. package/dist/logic/roles/bhrain/getBhrainBrief.Options.codegen.js.map +1 -0
  70. package/dist/logic/roles/bhrain/getBhrainBrief.d.ts +13 -0
  71. package/dist/logic/roles/bhrain/getBhrainBrief.js +21 -0
  72. package/dist/logic/roles/bhrain/getBhrainBrief.js.map +1 -0
  73. package/dist/logic/roles/bhrain/getBhrainRole.d.ts +2 -0
  74. package/dist/logic/roles/bhrain/getBhrainRole.js +27 -0
  75. package/dist/logic/roles/bhrain/getBhrainRole.js.map +1 -0
  76. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/cluster/stepCluster.d.ts +51 -0
  77. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/cluster/stepCluster.integration.test.js +102 -0
  78. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/cluster/stepCluster.integration.test.js.map +1 -0
  79. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/cluster/stepCluster.js +59 -0
  80. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/cluster/stepCluster.js.map +1 -0
  81. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/cluster/stepCluster.template.md +127 -0
  82. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/collect/stepCollect.d.ts +15 -0
  83. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/collect/stepCollect.integration.test.js +91 -0
  84. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/collect/stepCollect.integration.test.js.map +1 -0
  85. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/collect/stepCollect.js +33 -0
  86. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/collect/stepCollect.js.map +1 -0
  87. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/diverge/stepDiverge.d.ts +49 -0
  88. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/diverge/stepDiverge.integration.test.d.ts +1 -0
  89. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/diverge/stepDiverge.integration.test.js +122 -0
  90. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/diverge/stepDiverge.integration.test.js.map +1 -0
  91. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/diverge/stepDiverge.js +59 -0
  92. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/diverge/stepDiverge.js.map +1 -0
  93. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/diverge/stepDiverge.template.md +125 -0
  94. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/envision/stepEnvision.d.ts +53 -0
  95. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/envision/stepEnvision.integration.test.d.ts +1 -0
  96. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/envision/stepEnvision.integration.test.js +126 -0
  97. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/envision/stepEnvision.integration.test.js.map +1 -0
  98. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/envision/stepEnvision.js +61 -0
  99. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/envision/stepEnvision.js.map +1 -0
  100. package/dist/logic/roles/bhrain/primitive.idealogic.atomic/envision/stepEnvision.template.md +105 -0
  101. package/dist/logic/roles/bhrain/primitive.idealogic.composite/expand/stepExpand.d.ts +24 -0
  102. package/dist/logic/roles/bhrain/primitive.idealogic.composite/expand/stepExpand.integration.test.d.ts +1 -0
  103. package/dist/logic/roles/bhrain/primitive.idealogic.composite/expand/stepExpand.integration.test.js +118 -0
  104. package/dist/logic/roles/bhrain/primitive.idealogic.composite/expand/stepExpand.integration.test.js.map +1 -0
  105. package/dist/logic/roles/bhrain/primitive.idealogic.composite/expand/stepExpand.js +38 -0
  106. package/dist/logic/roles/bhrain/primitive.idealogic.composite/expand/stepExpand.js.map +1 -0
  107. package/dist/logic/roles/bhrain/primitive.strategic.atomic/interpret/stepInterpret.d.ts +45 -0
  108. package/dist/logic/roles/bhrain/primitive.strategic.atomic/interpret/stepInterpret.integration.test.d.ts +1 -0
  109. package/dist/logic/roles/bhrain/primitive.strategic.atomic/interpret/stepInterpret.integration.test.js +115 -0
  110. package/dist/logic/roles/bhrain/primitive.strategic.atomic/interpret/stepInterpret.integration.test.js.map +1 -0
  111. package/dist/logic/roles/bhrain/primitive.strategic.atomic/interpret/stepInterpret.js +59 -0
  112. package/dist/logic/roles/bhrain/primitive.strategic.atomic/interpret/stepInterpret.js.map +1 -0
  113. package/dist/logic/roles/bhrain/primitive.strategic.atomic/interpret/stepInterpret.skill.d.ts +24 -0
  114. package/dist/logic/roles/bhrain/primitive.strategic.atomic/interpret/stepInterpret.skill.js +64 -0
  115. package/dist/logic/roles/bhrain/primitive.strategic.atomic/interpret/stepInterpret.skill.js.map +1 -0
  116. package/dist/logic/roles/bhrain/primitive.strategic.atomic/interpret/stepInterpret.template.md +143 -0
  117. package/dist/logic/roles/designer/.briefs/declarative-over-imperative.md +79 -0
  118. package/dist/logic/roles/designer/.briefs/declarative-over-imperative.stub.md +14 -0
  119. package/dist/logic/roles/designer/.briefs/pit-of-success.md +70 -0
  120. package/dist/logic/roles/designer/.briefs/pit-of-success.stub.md +3 -0
  121. package/dist/logic/roles/designer/outlineDistilisys/stepOutlineDistilisys.js +4 -2
  122. package/dist/logic/roles/designer/outlineDistilisys/stepOutlineDistilisys.js.map +1 -1
  123. package/dist/logic/roles/designer/outlineDistilisys/stepOutlineDistilisys.template.md +173 -0
  124. package/dist/logic/roles/designer/outlineRoadmap/stepOutlineRoadmap.js +1 -1
  125. package/dist/logic/roles/designer/outlineRoadmap/stepOutlineRoadmap.js.map +1 -1
  126. package/dist/logic/roles/designer/outlineRoadmap/stepOutlineRoadmap.template.md +88 -0
  127. package/dist/logic/roles/designer/outlineVision/stepOutlineVision.template.md +47 -0
  128. package/dist/logic/roles/ecologist/.briefs/.readme.md +17 -0
  129. package/dist/logic/roles/ecologist/.briefs/distilisys/sys101.distilisys.grammar.md +221 -0
  130. package/dist/logic/roles/ecologist/.briefs/distilisys/sys201.actor.motive._.summary.md +82 -0
  131. package/dist/logic/roles/ecologist/.briefs/distilisys/sys201.actor.motive.p1.reversibility.entropy.md +39 -0
  132. package/dist/logic/roles/ecologist/.briefs/distilisys/sys201.actor.motive.p2.option.chance.choice.md +140 -0
  133. package/dist/logic/roles/ecologist/.briefs/distilisys/sys201.actor.motive.p3.chance.motive.polarity.threat.md +72 -0
  134. package/dist/logic/roles/ecologist/.briefs/distilisys/sys201.actor.motive.p4.motive.horizon.md +101 -0
  135. package/dist/logic/roles/ecologist/.briefs/distilisys/sys201.actor.motive.p5.motive.grammar.md +131 -0
  136. package/dist/logic/roles/ecologist/.briefs/distilisys/sys211.actor.resources._.primitives.summary.md +108 -0
  137. package/dist/logic/roles/ecologist/.briefs/distilisys/sys211.actor.resources.pt1.primitive.time.md +56 -0
  138. package/dist/logic/roles/ecologist/.briefs/distilisys/sys211.actor.resources.pt2.primitive.energy.md +69 -0
  139. package/dist/logic/roles/ecologist/.briefs/distilisys/sys211.actor.resources.pt3.primitive.space.md +85 -0
  140. package/dist/logic/roles/ecologist/.briefs/distilisys/sys211.actor.resources.pt4.primitive.claim.md +113 -0
  141. package/dist/logic/roles/ecologist/.briefs/distilisys/sys211.actor.resources.pt5.composites.md +146 -0
  142. package/dist/logic/roles/ecologist/.briefs/distilisys/sys231.actor.claims.p1.primitive.exchange.md +130 -0
  143. package/dist/logic/roles/ecologist/.briefs/ecology/.eco001.origin.prompt.md +11 -0
  144. package/dist/logic/roles/ecologist/.briefs/ecology/eco001.overview.md +44 -0
  145. package/dist/logic/roles/ecologist/.briefs/ecology/eco101.core-system-understanding.md +70 -0
  146. package/dist/logic/roles/ecologist/.briefs/ecology/eco101.p1.ecosystem-structure.md +62 -0
  147. package/dist/logic/roles/ecologist/.briefs/ecology/eco101.p2.trophic-dynamics.md +59 -0
  148. package/dist/logic/roles/ecologist/.briefs/ecology/eco101.p3.population-ecology.md +71 -0
  149. package/dist/logic/roles/ecologist/.briefs/ecology/eco101.p4.community-interactions.md +78 -0
  150. package/dist/logic/roles/ecologist/.briefs/ecology/eco505.systems-thinking.md +62 -0
  151. package/dist/logic/roles/ecologist/.briefs/economy/econ001.overview.md +65 -0
  152. package/dist/logic/roles/ecologist/.briefs/economy/econ101.core-mechanics.md +65 -0
  153. package/dist/logic/roles/ecologist/.briefs/economy/econ101.p1.supply-and-demand.md +76 -0
  154. package/dist/logic/roles/ecologist/.briefs/economy/econ101.p2.opportunity-cost.md +106 -0
  155. package/dist/logic/roles/ecologist/.briefs/economy/econ101.p3.marginal-analysis.md +79 -0
  156. package/dist/logic/roles/ecologist/.briefs/economy/econ101.p4.rational-choice.md +81 -0
  157. package/dist/logic/roles/ecologist/.briefs/economy/econ201.market-structures-and-failures.md +81 -0
  158. package/dist/logic/roles/ecologist/.briefs/economy/econ301.production-and-growth.md +71 -0
  159. package/dist/logic/roles/ecologist/.briefs/economy/econ401.macro-systems.md +92 -0
  160. package/dist/logic/roles/ecologist/.briefs/economy/econ501.global-and-institutional.md +85 -0
  161. package/dist/logic/roles/ecologist/.briefs/economy/econ501.p1.game-theory.md +142 -0
  162. package/dist/logic/roles/ecologist/.briefs/economy/econ501.p4.behavioral-economics.md +146 -0
  163. package/dist/logic/roles/ecologist/.briefs/term.distillation.md +93 -0
  164. package/dist/logic/roles/ecologist/domain.sketch/loopStudyDomain.d.ts +24 -0
  165. package/dist/logic/roles/ecologist/domain.sketch/loopStudyDomain.integration.test.d.ts +1 -0
  166. package/dist/logic/roles/ecologist/domain.sketch/loopStudyDomain.integration.test.js +57 -0
  167. package/dist/logic/roles/ecologist/domain.sketch/loopStudyDomain.integration.test.js.map +1 -0
  168. package/dist/logic/roles/ecologist/domain.sketch/loopStudyDomain.js +11 -0
  169. package/dist/logic/roles/ecologist/domain.sketch/loopStudyDomain.js.map +1 -0
  170. package/dist/logic/roles/ecologist/domain.sketch/skillStudyDomain.d.ts +25 -0
  171. package/dist/logic/roles/ecologist/domain.sketch/skillStudyDomain.js +90 -0
  172. package/dist/logic/roles/ecologist/domain.sketch/skillStudyDomain.js.map +1 -0
  173. package/dist/logic/roles/ecologist/{distill/distillDomain.ActionsAndActors.d.ts → domain.sketch/stepStudyDomain.d.ts} +8 -3
  174. package/dist/logic/roles/ecologist/domain.sketch/stepStudyDomain.integration.test.d.ts +1 -0
  175. package/dist/logic/roles/ecologist/domain.sketch/stepStudyDomain.integration.test.js +65 -0
  176. package/dist/logic/roles/ecologist/domain.sketch/stepStudyDomain.integration.test.js.map +1 -0
  177. package/dist/logic/roles/ecologist/domain.sketch/stepStudyDomain.js +60 -0
  178. package/dist/logic/roles/ecologist/domain.sketch/stepStudyDomain.js.map +1 -0
  179. package/dist/logic/roles/ecologist/domain.sketch/stepStudyDomain.template.md +93 -0
  180. package/dist/logic/roles/ecologist/domain.term/stepCollectTermUsecases.d.ts +45 -0
  181. package/dist/logic/roles/ecologist/domain.term/stepCollectTermUsecases.integration.test.d.ts +1 -0
  182. package/dist/logic/roles/ecologist/domain.term/stepCollectTermUsecases.integration.test.js +69 -0
  183. package/dist/logic/roles/ecologist/domain.term/stepCollectTermUsecases.integration.test.js.map +1 -0
  184. package/dist/logic/roles/ecologist/domain.term/stepCollectTermUsecases.js +67 -0
  185. package/dist/logic/roles/ecologist/domain.term/stepCollectTermUsecases.js.map +1 -0
  186. package/dist/logic/roles/ecologist/domain.term/stepCollectTermUsecases.skill.d.ts +25 -0
  187. package/dist/logic/roles/ecologist/domain.term/stepCollectTermUsecases.skill.js +85 -0
  188. package/dist/logic/roles/ecologist/domain.term/stepCollectTermUsecases.skill.js.map +1 -0
  189. package/dist/logic/roles/ecologist/domain.term/stepCollectTermUsecases.template.md +160 -0
  190. package/dist/logic/roles/ecologist/domain.term/stepDistillTerm.d.ts +47 -0
  191. package/dist/logic/roles/ecologist/domain.term/stepDistillTerm.integration.test.d.ts +1 -0
  192. package/dist/logic/roles/ecologist/domain.term/stepDistillTerm.integration.test.js +127 -0
  193. package/dist/logic/roles/ecologist/domain.term/stepDistillTerm.integration.test.js.map +1 -0
  194. package/dist/logic/roles/ecologist/domain.term/stepDistillTerm.js +68 -0
  195. package/dist/logic/roles/ecologist/domain.term/stepDistillTerm.js.map +1 -0
  196. package/dist/logic/roles/ecologist/domain.term/stepDistillTerm.skill.d.ts +26 -0
  197. package/dist/logic/roles/ecologist/domain.term/stepDistillTerm.skill.js +92 -0
  198. package/dist/logic/roles/ecologist/domain.term/stepDistillTerm.skill.js.map +1 -0
  199. package/dist/logic/roles/ecologist/domain.term/stepDistillTerm.template.md +173 -0
  200. package/dist/logic/roles/ecologist/domain.usecases/stepCollectUsecases.d.ts +45 -0
  201. package/dist/logic/roles/ecologist/domain.usecases/stepCollectUsecases.integration.test.d.ts +1 -0
  202. package/dist/logic/roles/ecologist/domain.usecases/stepCollectUsecases.integration.test.js +69 -0
  203. package/dist/logic/roles/ecologist/domain.usecases/stepCollectUsecases.integration.test.js.map +1 -0
  204. package/dist/logic/roles/ecologist/domain.usecases/stepCollectUsecases.js +67 -0
  205. package/dist/logic/roles/ecologist/domain.usecases/stepCollectUsecases.js.map +1 -0
  206. package/dist/logic/roles/ecologist/domain.usecases/stepCollectUsecases.skill.d.ts +25 -0
  207. package/dist/logic/roles/ecologist/domain.usecases/stepCollectUsecases.skill.js +85 -0
  208. package/dist/logic/roles/ecologist/domain.usecases/stepCollectUsecases.skill.js.map +1 -0
  209. package/dist/logic/roles/ecologist/domain.usecases/stepCollectUsecases.template.md +160 -0
  210. package/dist/logic/roles/ecologist/domain.usecases/stepDiscoverUsecases.d.ts +45 -0
  211. package/dist/logic/roles/ecologist/domain.usecases/stepDiscoverUsecases.js +67 -0
  212. package/dist/logic/roles/ecologist/domain.usecases/stepDiscoverUsecases.js.map +1 -0
  213. package/dist/logic/roles/ecologist/envision/stepEnvision.d.ts +0 -0
  214. package/dist/logic/roles/ecologist/envision/stepEnvision.integration.test.d.ts +0 -0
  215. package/dist/logic/roles/ecologist/envision/stepEnvision.integration.test.js +78 -0
  216. package/dist/logic/roles/ecologist/envision/stepEnvision.integration.test.js.map +1 -0
  217. package/dist/logic/roles/ecologist/envision/stepEnvision.js +96 -0
  218. package/dist/logic/roles/ecologist/envision/stepEnvision.js.map +1 -0
  219. package/dist/logic/roles/ecologist/envision/stepEnvision.skill.d.ts +0 -0
  220. package/dist/logic/roles/ecologist/envision/stepEnvision.skill.js +72 -0
  221. package/dist/logic/roles/ecologist/envision/stepEnvision.skill.js.map +1 -0
  222. package/dist/logic/roles/ecologist/envision/stepEnvision.template.md +92 -0
  223. package/dist/logic/roles/ecologist/getEcologistBrief.Options.codegen.d.ts +1 -1
  224. package/dist/logic/roles/ecologist/getEcologistBrief.Options.codegen.js +34 -27
  225. package/dist/logic/roles/ecologist/getEcologistBrief.Options.codegen.js.map +1 -1
  226. package/dist/logic/roles/ecologist/getEcologistRole.d.ts +2 -0
  227. package/dist/logic/roles/ecologist/getEcologistRole.js +29 -0
  228. package/dist/logic/roles/ecologist/getEcologistRole.js.map +1 -0
  229. package/dist/logic/roles/getRoleRegistry.js +7 -1
  230. package/dist/logic/roles/getRoleRegistry.js.map +1 -1
  231. package/dist/logic/roles/mechanic/.briefs/architecture/bounded-contexts.md +61 -0
  232. package/dist/logic/roles/mechanic/.briefs/architecture/directional-dependencies.md +73 -0
  233. package/dist/logic/roles/mechanic/.briefs/architecture/domain-driven-design.md +61 -0
  234. package/dist/logic/roles/mechanic/.briefs/architecture/ubiqlang.md +37 -0
  235. package/dist/logic/roles/mechanic/.briefs/codestyle/_mech.compressed.md +57 -0
  236. package/dist/logic/roles/mechanic/.briefs/codestyle/_mech.compressed.prompt.md +5 -0
  237. package/dist/logic/roles/mechanic/.briefs/codestyle/flow.failfast.md +37 -0
  238. package/dist/logic/roles/mechanic/.briefs/codestyle/flow.idempotency.md +63 -0
  239. package/dist/logic/roles/mechanic/.briefs/codestyle/flow.immutability.md +48 -0
  240. package/dist/logic/roles/mechanic/.briefs/codestyle/flow.narratives.md +74 -0
  241. package/dist/logic/roles/mechanic/.briefs/codestyle/flow.single-responsibility.md +67 -0
  242. package/dist/logic/roles/mechanic/.briefs/codestyle/mech.args.input-context.md +61 -0
  243. package/dist/logic/roles/mechanic/.briefs/codestyle/mech.arrowonly.md +47 -0
  244. package/dist/logic/roles/mechanic/.briefs/codestyle/mech.clear-contracts.md +53 -0
  245. package/dist/logic/roles/mechanic/.briefs/codestyle/mech.tests.given-when-then.md +62 -0
  246. package/dist/logic/roles/mechanic/.briefs/codestyle/mech.what-why.md +88 -0
  247. package/dist/logic/roles/mechanic/.briefs/codestyle/mech.what-why.v2.md +98 -0
  248. package/dist/logic/roles/mechanic/.briefs/engineer/dependency-injection.md +118 -0
  249. package/dist/logic/roles/mechanic/.briefs/engineer/dependency-injection.stub.md +11 -0
  250. package/dist/logic/roles/mechanic/.briefs/style.compressed.md +29 -0
  251. package/dist/logic/roles/mechanic/.briefs/style.compressed.prompt.md +5 -0
  252. package/dist/logic/roles/mechanic/.briefs/style.names.treestruct.md +48 -0
  253. package/dist/logic/roles/mechanic/.briefs/style.names.ubiqlang.md +37 -0
  254. package/dist/logic/roles/mechanic/.briefs/style.words.lowercase.md +36 -0
  255. package/dist/logic/roles/mechanic/codediff/routeArtistCodeDiff.template.md +46 -0
  256. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReviewArchitecture.template.md +78 -0
  257. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReviewCodestyle.template.md +75 -0
  258. package/dist/logic/roles/mechanic/codediff/routeJudgeReleasable.template.md +67 -0
  259. package/dist/logic/roles/mechanic/getMechanicBrief.Options.codegen.d.ts +1 -1
  260. package/dist/logic/roles/mechanic/getMechanicBrief.Options.codegen.js +1 -1
  261. package/dist/logic/roles/mechanic/getMechanicBrief.Options.codegen.js.map +1 -1
  262. package/dist/logic/roles/mechanic/getMechanicRole.js +3 -137
  263. package/dist/logic/roles/mechanic/getMechanicRole.js.map +1 -1
  264. package/dist/logic/roles/mechanic/skills/getSkillCodePropose.d.ts +2 -0
  265. package/dist/logic/roles/mechanic/skills/getSkillCodePropose.js +140 -0
  266. package/dist/logic/roles/mechanic/skills/getSkillCodePropose.js.map +1 -0
  267. package/dist/logic/roles/mechanic/study/routeStudyAsk.template.md +73 -0
  268. package/dist/logic/roles/mechanic/write/.test/prior.template.md +21 -0
  269. package/dist/logic/roles/mechanic/write/loopWrite.d.ts +25 -0
  270. package/dist/logic/roles/mechanic/write/loopWrite.integration.test.d.ts +1 -0
  271. package/dist/logic/roles/mechanic/write/loopWrite.integration.test.js +57 -0
  272. package/dist/logic/roles/mechanic/write/loopWrite.integration.test.js.map +1 -0
  273. package/dist/logic/roles/mechanic/write/loopWrite.js +11 -0
  274. package/dist/logic/roles/mechanic/write/loopWrite.js.map +1 -0
  275. package/dist/logic/roles/mechanic/write/loopWrite.skill.d.ts +25 -0
  276. package/dist/logic/roles/mechanic/write/loopWrite.skill.js +100 -0
  277. package/dist/logic/roles/mechanic/write/loopWrite.skill.js.map +1 -0
  278. package/dist/logic/roles/mechanic/write/stepWrite.d.ts +22 -0
  279. package/dist/logic/roles/mechanic/write/stepWrite.integration.test.d.ts +1 -0
  280. package/dist/logic/roles/mechanic/write/stepWrite.integration.test.js +189 -0
  281. package/dist/logic/roles/mechanic/write/stepWrite.integration.test.js.map +1 -0
  282. package/dist/logic/roles/mechanic/write/stepWrite.js +50 -0
  283. package/dist/logic/roles/mechanic/write/stepWrite.js.map +1 -0
  284. package/dist/logic/roles/mechanic/write/stepWrite.template.md +34 -0
  285. package/package.json +9 -6
  286. package/readme.md +1 -1
  287. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.d.ts +0 -17
  288. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.integration.test.js +0 -107
  289. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.integration.test.js.map +0 -1
  290. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.js +0 -76
  291. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.js.map +0 -1
  292. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.imagine.ResourcesAndMechanisms.d.ts +0 -17
  293. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.imagine.ResourcesAndMechanisms.js +0 -73
  294. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.imagine.ResourcesAndMechanisms.js.map +0 -1
  295. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.d.ts +0 -18
  296. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.integration.test.js +0 -73
  297. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.integration.test.js.map +0 -1
  298. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.js +0 -62
  299. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.js.map +0 -1
  300. package/dist/logic/roles/ecologist/distill/distillDomain.ActionsAndActors.integration.test.js +0 -120
  301. package/dist/logic/roles/ecologist/distill/distillDomain.ActionsAndActors.integration.test.js.map +0 -1
  302. package/dist/logic/roles/ecologist/distill/distillDomain.ActionsAndActors.js +0 -69
  303. package/dist/logic/roles/ecologist/distill/distillDomain.ActionsAndActors.js.map +0 -1
  304. /package/dist/logic/{roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.integration.test.d.ts → artifact/genStepSwapArtifact.test.d.ts} +0 -0
  305. /package/dist/logic/roles/{ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.integration.test.d.ts → bhrain/primitive.idealogic.atomic/cluster/stepCluster.integration.test.d.ts} +0 -0
  306. /package/dist/logic/roles/{ecologist/distill/distillDomain.ActionsAndActors.integration.test.d.ts → bhrain/primitive.idealogic.atomic/collect/stepCollect.integration.test.d.ts} +0 -0
@@ -0,0 +1,81 @@
1
+ ## `.brief.econ101.rational-choice`
2
+
3
+ ### 🧠 topic: rational choice theory
4
+ **how agents optimize given preferences and constraints**
5
+
6
+ ---
7
+
8
+ ### 🎯 goal
9
+ understand the basic model of human behavior in economics: how people and firms **make choices to maximize value**, given their goals and limitations.
10
+
11
+ ---
12
+
13
+ ### 🧠 what is rational choice theory?
14
+
15
+ - a foundational idea in economics:
16
+ **people act with purpose** — choosing what best serves their goals within their limits
17
+ - not about being “smart” — it’s about being **intentional and consistent**
18
+
19
+ ---
20
+
21
+ ### ⚙️ assumptions of rational agents
22
+
23
+ - **consistent preferences**
24
+ → if A is preferred to B, and B to C, then A is preferred to C
25
+
26
+ - **cost-benefit reasoning**
27
+ → agents compare **what they gain** vs. **what they give up**
28
+
29
+ - **utility maximization**
30
+ → individuals aim to get the **most satisfaction (utility)**
31
+ → firms aim to get the **most profit**
32
+
33
+ ---
34
+
35
+ ### ⛓ constraints on choice
36
+
37
+ - **budget** – can’t spend more than you have (money, time, energy)
38
+ - **information** – sometimes complete, often limited or biased
39
+ - **rules** – prices, laws, social norms, contracts
40
+
41
+ 💡 rational choices happen **within a framework of trade-offs and limits**
42
+
43
+ ---
44
+
45
+ ### 📈 why it matters
46
+
47
+ - rational choice is the **default model** in economics
48
+ → used to predict: demand, savings, labor effort, voting, consumption
49
+
50
+ - **when behavior deviates** from this model (e.g., emotion, habit, bias),
51
+ → we get insights from **behavioral economics**
52
+
53
+ ---
54
+
55
+ ### 🧍‍♀️ everyday examples
56
+
57
+ #### 💵 grocery shopping on a budget
58
+ - pick the basket of goods that gives the most nutrition and enjoyment per dollar
59
+ - constraint = your wallet
60
+
61
+ #### 📅 scheduling your weekend
62
+ - pick activities that maximize fun, rest, or productivity
63
+ - constraint = 48 hours and competing priorities
64
+
65
+ #### 🧑‍💻 choosing between job offers
66
+ - compare benefits, pay, commute, culture
67
+ - choose what aligns best with goals, within real-world limits
68
+
69
+ ---
70
+
71
+ ### 🚫 common misunderstandings
72
+
73
+ - rational ≠ selfish
74
+ - rational ≠ correct
75
+ - rational ≠ emotionless
76
+ → it just means: **based on consistent goals + trade-off logic**
77
+
78
+ ---
79
+
80
+ ### 🔁 mental model
81
+ > rational choice theory sees people as **goal-seeking decision-makers** — weighing costs, benefits, and constraints to make the **best available choice**, even if it’s not perfect.
@@ -0,0 +1,81 @@
1
+ ## `.brief.econ201.market-structures-and-failures`
2
+
3
+ ### 🏛️ Tier 2: market structures and failures
4
+ **cluster**: how systems work (or break)
5
+
6
+ ---
7
+
8
+ ### 🎯 goal
9
+ understand how real-world markets **stabilize, shift, or fail**, and when **government intervention** may improve outcomes.
10
+
11
+ ---
12
+
13
+ ## ⚖️ market equilibrium & dynamics
14
+ **how prices and quantities stabilize or shift over time**
15
+
16
+ - equilibrium is **not static** — it responds to changing conditions
17
+ - **dynamic equilibrium**: markets adjust continually to new info, shocks, and feedback
18
+ - shifts can come from:
19
+ - demand changes (e.g., new trends, income swings)
20
+ - supply shocks (e.g., war, resource depletion)
21
+ - **over time**, price and quantity move to reflect new realities
22
+ - some markets adjust quickly (e.g., stocks), others slowly (e.g., housing)
23
+
24
+ ---
25
+
26
+ ## 📈 elasticity
27
+ **how responsive buyers and sellers are to changes in price**
28
+
29
+ - **price elasticity of demand (Ed)**:
30
+ % change in quantity demanded ÷ % change in price
31
+ - elastic (>1): buyers react strongly (e.g., luxury goods)
32
+ - inelastic (<1): buyers react weakly (e.g., insulin)
33
+
34
+ - **price elasticity of supply (Es)**:
35
+ how much sellers change output in response to price
36
+
37
+ - also relevant:
38
+ - income elasticity (how demand changes with income)
39
+ - cross-price elasticity (how demand changes when related goods’ prices change)
40
+
41
+ 💡 elasticity affects:
42
+ - **who bears the burden** of taxes
43
+ - **revenue effects** of price changes
44
+ - **speed and scale** of market adjustment
45
+
46
+ ---
47
+
48
+ ## 🌫 externalities
49
+ **costs or benefits imposed on third parties**
50
+
51
+ - **negative externalities**:
52
+ - impose costs without compensation (e.g., pollution, traffic, noise)
53
+ - result in **overproduction** relative to the social optimum
54
+
55
+ - **positive externalities**:
56
+ - create unearned benefits (e.g., vaccines, education, pollinator habitats)
57
+ - result in **underproduction** unless subsidized
58
+
59
+ 📊 without intervention, markets **ignore external effects**, leading to inefficient outcomes
60
+
61
+ ---
62
+
63
+ ## 🏛 market failure & government intervention
64
+ **when and how policy steps in**
65
+
66
+ - **market failure**: when self-regulating markets don’t allocate resources efficiently
67
+ - causes: externalities, public goods, asymmetric info, monopolies
68
+
69
+ - **types of interventions**:
70
+ - **taxes** on negative externalities (e.g., carbon tax)
71
+ - **subsidies** for positive externalities (e.g., education grants)
72
+ - **regulation** (e.g., emissions caps, product standards)
73
+ - **public provision** (e.g., roads, fire protection)
74
+ - **antitrust enforcement** to prevent monopolies
75
+
76
+ ⚠️ interventions can help or hurt — success depends on **incentive design**, **information**, and **enforcement**
77
+
78
+ ---
79
+
80
+ ### 🔁 mental model
81
+ > markets are powerful but **imperfect tools** — they often reach stable outcomes, but those outcomes may not be **fair, efficient, or sustainable** without thoughtful correction.
@@ -0,0 +1,71 @@
1
+ ## `.brief.econ301.production-and-growth`
2
+
3
+ ### 💸 Tier 3: production and growth
4
+ **cluster**: inputs → outputs → scale
5
+
6
+ ---
7
+
8
+ ### 🎯 goal
9
+ understand how economies **turn inputs into outputs**, how firms and nations make efficient choices, and what drives **long-term growth in living standards**.
10
+
11
+ ---
12
+
13
+ ## 🏗 factors of production
14
+ **the basic ingredients of economic output**
15
+
16
+ - **land** – natural resources (soil, water, minerals, forests)
17
+ - **labor** – human effort and skills
18
+ - **capital** – tools, machines, infrastructure (not money itself)
19
+ - **entrepreneurship** – risk-taking, innovation, and coordination
20
+
21
+ 💡 production requires **combining these inputs** efficiently to create goods and services
22
+
23
+ ---
24
+
25
+ ## 🧠 firm behavior & cost structures
26
+ **how businesses minimize cost and maximize profit**
27
+
28
+ - firms choose **how much to produce**, **what inputs to use**, and **how to organize production**
29
+ - guided by:
30
+ - **marginal cost**: cost of producing one more unit
31
+ - **marginal revenue**: revenue from selling one more unit
32
+ - **profit max rule**: produce until MR = MC
33
+
34
+ - **cost structures** matter:
35
+ - **fixed costs** (don’t change with output)
36
+ - **variable costs** (scale with output)
37
+ - **economies of scale**: average cost falls as output rises (up to a point)
38
+
39
+ ---
40
+
41
+ ## 🌍 comparative advantage & trade
42
+ **who should produce what, and why trade benefits all**
43
+
44
+ - **absolute advantage**: can produce more with same inputs
45
+ - **comparative advantage**: lower **opportunity cost** of producing something
46
+
47
+ 💡 even if one party is “better” at everything, both sides **gain from trade** by specializing in what they’re relatively best at
48
+
49
+ #### example:
50
+ - country A makes wheat efficiently
51
+ - country B makes steel efficiently
52
+ → trade wheat for steel = both get more than going solo
53
+
54
+ ---
55
+
56
+ ## 📈 economic growth & productivity
57
+ **what drives long-term output per person**
58
+
59
+ - **growth** = increase in real GDP per capita
60
+ - driven by:
61
+ - **investment in capital** (machines, infrastructure)
62
+ - **human capital** (education, health)
63
+ - **innovation & tech** (doing more with less)
64
+ - **institutions** (laws, markets, property rights)
65
+
66
+ 💡 growth compounds over time — small gains now = huge gains later
67
+
68
+ ---
69
+
70
+ ### 🔁 mental model
71
+ > economies grow when they **use inputs wisely**, **specialize where efficient**, and **innovate over time** — turning today’s effort into tomorrow’s abundance.
@@ -0,0 +1,92 @@
1
+ ## `.brief.econ401.macro-systems`
2
+
3
+ ### 🧾 Tier 4: macro systems
4
+ **cluster**: aggregate flows and cycles
5
+
6
+ ---
7
+
8
+ ### 🎯 goal
9
+ zoom out from individual decisions to see how **entire economies function** — how we measure them, what causes booms and busts, and how governments try to smooth the ride.
10
+
11
+ ---
12
+
13
+ ## 💰 GDP & national income accounting
14
+ **how total economic output is measured**
15
+
16
+ - **GDP (Gross Domestic Product)** = total market value of all final goods and services produced in a country over a period
17
+ - measured via:
18
+ - **production approach** (total output)
19
+ - **income approach** (wages + profits + rents + taxes)
20
+ - **expenditure approach**:
21
+ `GDP = C + I + G + NX`
22
+ where:
23
+ - `C` = consumption
24
+ - `I` = investment
25
+ - `G` = government spending
26
+ - `NX` = net exports (exports – imports)
27
+
28
+ 💡 GDP tracks economic size and growth, but **not well-being**, equity, or sustainability
29
+
30
+ ---
31
+
32
+ ## 📉 unemployment & inflation
33
+ **tradeoffs, measurement, and impacts**
34
+
35
+ - **unemployment rate** = % of labor force without a job but actively seeking
36
+ - types: frictional (short-term), structural (skills mismatch), cyclical (recession)
37
+
38
+ - **inflation** = general rise in prices over time
39
+ - measured by CPI or PCE index
40
+ - reduces purchasing power
41
+
42
+ - often a **tradeoff**:
43
+ ↓ unemployment ↔️ ↑ inflation (in short run)
44
+ → managed via policy levers
45
+
46
+ ---
47
+
48
+ ## 🔄 business cycles
49
+ **expansions and contractions in economic activity**
50
+
51
+ - economies naturally go through cycles:
52
+ - **expansion** – growth, job creation, rising incomes
53
+ - **peak** – growth slows
54
+ - **recession** – decline in output & jobs
55
+ - **recovery** – activity rebounds
56
+
57
+ - caused by:
58
+ - demand shocks (e.g., housing crash)
59
+ - supply shocks (e.g., oil spike, pandemic)
60
+ - credit and investment cycles
61
+
62
+ 💡 policy tries to **flatten the extremes** without choking growth
63
+
64
+ ---
65
+
66
+ ## 🏛 monetary & fiscal policy
67
+ **how governments and central banks manage the economy**
68
+
69
+ ### monetary policy (central bank)
70
+ - controls **money supply and interest rates**
71
+ - tools:
72
+ - set base interest rates
73
+ - open market operations (buy/sell bonds)
74
+ - reserve requirements
75
+
76
+ → goal: stabilize inflation and support full employment
77
+
78
+ ### fiscal policy (government)
79
+ - changes in **spending and taxation**
80
+ - tools:
81
+ - stimulus packages
82
+ - tax cuts/increases
83
+ - public investment
84
+
85
+ → goal: boost demand in recessions or cool off overheating
86
+
87
+ 💡 timing, scale, and coordination matter — poor policy = more volatility
88
+
89
+ ---
90
+
91
+ ### 🔁 mental model
92
+ > macroeconomics treats the economy like a **living system** — pulsing with flows of spending, working, investing, and adjusting — with policy as the **steering and brakes** to keep things on track.
@@ -0,0 +1,85 @@
1
+ ## `.brief.econ501.global-and-institutional`
2
+
3
+ ### 🌍 Tier 5: global and institutional context
4
+ **cluster**: rules, incentives, and outcomes
5
+
6
+ ---
7
+
8
+ ### 🎯 goal
9
+ explore how **rules, expectations, and context shape economic behavior** — from global development to everyday decision-making.
10
+
11
+ ---
12
+
13
+ ## 🎲 game theory & strategic interaction
14
+ **how agents act when outcomes depend on others**
15
+
16
+ - decisions aren’t made in a vacuum — other people's choices affect your payoff
17
+ - key concepts:
18
+ - **payoff matrix** – tracks outcomes for all players
19
+ - **dominant strategy** – best move regardless of what others do
20
+ - **Nash equilibrium** – no one has an incentive to deviate given others' choices
21
+
22
+ - famous games:
23
+ - **prisoner’s dilemma** – mutual cooperation is better, but self-interest leads to worse outcome
24
+ - **coordination games** – success depends on aligning actions (e.g., driving side of the road, tech standards)
25
+
26
+ 💡 game theory explains pricing wars, political negotiation, market entry, and more
27
+
28
+ ---
29
+
30
+ ## 🏛 institutions & property rights
31
+ **rules that shape incentives and transaction costs**
32
+
33
+ - **institutions** = formal and informal “rules of the game”
34
+ → laws, norms, contracts, enforcement mechanisms
35
+
36
+ - **property rights** define who owns what and under what terms
37
+ → clarity and enforcement reduce conflict and unlock investment
38
+
39
+ 💡 strong institutions reduce friction, encourage trust, and attract capital
40
+ 💡 weak or corrupt institutions raise risk and discourage long-term growth
41
+
42
+ ---
43
+
44
+ ## 🌱 development economics
45
+ **why some nations grow and others stagnate**
46
+
47
+ - looks at persistent gaps in wealth, health, and opportunity
48
+ - key barriers:
49
+ - lack of infrastructure
50
+ - weak institutions
51
+ - poor education or health systems
52
+ - dependency on resource exports
53
+ - corruption and conflict
54
+
55
+ - solutions involve:
56
+ - **aid** (targeted, conditional, or direct)
57
+ - **microfinance** and entrepreneurship
58
+ - **policy reform** and capacity building
59
+ - **community-driven development**
60
+
61
+ 💡 development is multi-dimensional — not just about income, but human well-being
62
+
63
+ ---
64
+
65
+ ## 🧠 behavioral economics
66
+ **bounded rationality, heuristics, and irrational tendencies**
67
+
68
+ - challenges the rational choice model
69
+ - key findings:
70
+ - **loss aversion** – losses hurt more than gains feel good
71
+ - **present bias** – short-term rewards outweigh long-term gains
72
+ - **anchoring** – decisions are swayed by irrelevant reference points
73
+ - **default effects** – people stick with pre-set options
74
+
75
+ - used in:
76
+ - **nudges** (opt-out savings plans, organ donation defaults)
77
+ - **policy design** that aligns with real human behavior
78
+
79
+ 💡 behavior is shaped by emotion, framing, fatigue, and habit — not just logic
80
+
81
+ ---
82
+
83
+ ### 🔁 mental model
84
+ > economic outcomes are never just about prices or math — they’re shaped by **rules, relationships, psychology, and power**.
85
+ > to understand real economies, you must also understand **the systems people move within**.
@@ -0,0 +1,142 @@
1
+ ## `.brief.econ501.game-theory`
2
+
3
+ ### 🎲 topic: game theory & strategic interaction
4
+ **how agents act when outcomes depend on others**
5
+
6
+ ---
7
+
8
+ ### 🎯 goal
9
+ develop intuition for **strategic decision-making** — where success depends not just on what you choose, but on what **others choose too**.
10
+
11
+ ---
12
+
13
+ ### 🔁 what makes a game?
14
+
15
+ - multiple **players**
16
+ - each has **choices (strategies)**
17
+ - each outcome gives a **payoff** to every player
18
+ - players are **interdependent** — your result depends on their actions
19
+
20
+ 💡 game theory helps explain **competition, cooperation, and conflict** — in markets, politics, and daily life
21
+
22
+ ---
23
+
24
+ ### 📊 key concepts
25
+
26
+ #### **payoff matrix**
27
+ - a table showing all outcomes based on players’ choices
28
+ - each cell = combination of actions + resulting payoffs
29
+
30
+ #### **dominant strategy**
31
+ - a move that gives better results **no matter what others do**
32
+ - not all games have one — but when it exists, it simplifies decisions
33
+
34
+ #### **Nash equilibrium**
35
+ - a stable outcome where **no player has an incentive to change**
36
+ - everyone is doing the best they can **given what others are doing**
37
+
38
+ ---
39
+
40
+ ### 🎮 famous games
41
+
42
+ #### **prisoner’s dilemma**
43
+ - two individuals can cooperate or betray
44
+ - mutual cooperation = better for both
45
+ - but self-interest leads each to defect
46
+ → result: both worse off than if they had trusted
47
+
48
+ 💡 reveals tension between **individual incentives and collective good**
49
+
50
+ ---
51
+
52
+ #### **coordination games**
53
+ - success depends on **matching** the other player
54
+ - e.g., choosing same technology, meeting place, driving side
55
+
56
+ - often multiple Nash equilibria — problem is **getting aligned**
57
+
58
+ 💡 shows that **expectations** and **culture** matter
59
+
60
+ ---
61
+
62
+ ### 🧠 real-world use cases
63
+
64
+ - **pricing wars** – undercutting vs. holding firm
65
+ - **negotiation** – when to concede or hold
66
+ - **market entry** – launch now or wait for a competitor
67
+ - **voting systems** – strategic voting, coalition formation
68
+ - **arms races** – invest or disarm?
69
+
70
+ ---
71
+
72
+ ### 🔁 mental model
73
+ > in strategic settings, outcomes depend on **what everyone does** — not just you.
74
+ > game theory helps map out those choices, clarify incentives, and reveal when **cooperation beats competition** — or when it doesn’t.
75
+
76
+ ---
77
+
78
+
79
+ ## 🎯 strategic use cases of game theory
80
+ **non-obvious but powerful real-world applications**
81
+
82
+
83
+ ### 💵 1. **pricing in competitive markets**
84
+ - two firms competing: lower prices to gain share, but risk a price war
85
+ → understanding the **prisoner’s dilemma** helps explain why firms may **agree tacitly** to hold prices steady
86
+
87
+ 💡 usecase: airline pricing, gas stations, e-commerce discounting
88
+
89
+
90
+ ### 🗳 2. **political positioning and platform design**
91
+ - candidates don’t just state beliefs — they **position relative to rivals**
92
+ → game theory explains **why moderates converge** toward center in two-party races (median voter theorem)
93
+
94
+ 💡 use in political strategy, debate prep, polling analysis
95
+
96
+
97
+ ### 📦 3. **product launch timing**
98
+ - should you enter the market first and risk failure, or wait and risk being late?
99
+ → game theory helps model **first-mover advantage vs. fast-follower strategy**
100
+
101
+ 💡 usecase: tech products, pharma trials, media releases
102
+
103
+
104
+ ### ⚖️ 4. **cartel stability and cheating**
105
+ - firms collude to raise prices — but each has an incentive to secretly undercut
106
+ → payoff matrix predicts that **collusion is fragile without enforcement**
107
+
108
+ 💡 use in antitrust, industry analysis, global oil markets (e.g., OPEC)
109
+
110
+
111
+ ### 🧪 5. **clinical trial design**
112
+ - multiple companies racing to develop the same drug
113
+ → do you go fast and cut corners or wait for better data?
114
+ → decisions depend on **others’ actions and expected payoffs**
115
+
116
+ 💡 use in biopharma R&D strategy
117
+
118
+
119
+ ### 🤝 6. **negotiation & brinkmanship**
120
+ - each side wants more but risks collapse if they push too far
121
+ → understanding **credible threats**, **bluffs**, and **mutual interest zones** is key
122
+
123
+ 💡 usecase: labor talks, trade deals, hostage negotiations
124
+
125
+
126
+ ### 🚧 7. **public goods & coordination failure**
127
+ - everyone benefits from a clean park or safe internet
128
+ → but if **each waits for others to act**, nothing happens
129
+ → coordination games explain **why policy or first movers matter**
130
+
131
+ 💡 use in climate action, cybersecurity, city planning
132
+
133
+
134
+ ### 🧠 8. **crowd behavior and tipping points**
135
+ - when will people panic, protest, or adopt a trend?
136
+ → threshold models (a type of game) show how one person’s choice can trigger **cascades**
137
+
138
+ 💡 use in marketing virality, movement building, crisis response
139
+
140
+
141
+ ### 🔁 mental model
142
+ > game theory reveals the **hidden strategy layers** behind everyday decisions — where what you do depends not just on **what you want**, but on **what others do, expect, and believe**.
@@ -0,0 +1,146 @@
1
+ ## `.brief.econ501.behavioral-economics`
2
+
3
+ ### 🧠 topic: behavioral economics
4
+ **bounded rationality, heuristics, and irrational tendencies**
5
+
6
+ ---
7
+
8
+ ### 🎯 goal
9
+ understand how **real people actually behave** — not as perfect calculators, but as emotional, shortcut-using humans prone to bias, habit, and context effects.
10
+
11
+ ---
12
+
13
+ ### 🧠 beyond rational choice
14
+
15
+ - traditional economics assumes people are **rational optimizers**
16
+ - behavioral economics says: not always
17
+ → we have **limited attention**, **imperfect willpower**, and **emotional reactions**
18
+
19
+ 💡 we often choose what feels right, not what **is** right on paper
20
+
21
+ ---
22
+
23
+ ### 🧪 key behavioral patterns
24
+
25
+ #### **loss aversion**
26
+ - losses feel **twice as painful** as equivalent gains feel good
27
+ → people avoid risks even when upside is worth it
28
+
29
+ #### **present bias**
30
+ - we **overvalue immediate rewards**, undervalue the future
31
+ → procrastination, overspending, under-saving
32
+
33
+ #### **anchoring**
34
+ - decisions are skewed by irrelevant starting points
35
+ → e.g., seeing a $200 shirt makes a $100 one seem cheap
36
+
37
+ #### **default effects**
38
+ - people tend to stick with **pre-set options**
39
+ → auto-enrollment boosts savings, organ donation rates
40
+
41
+ ---
42
+
43
+ ### 🎯 applied behavioral tools
44
+
45
+ #### **nudges**
46
+ - small design tweaks that guide better choices without removing freedom
47
+ - auto opt-in (savings, benefits)
48
+ - smart defaults (green energy plans)
49
+ - reminders and framing (vaccine text messages)
50
+
51
+ #### **choice architecture**
52
+ - how options are presented affects decisions
53
+ → fewer choices = less overload
54
+ → framing gains vs. losses shifts behavior
55
+
56
+ ---
57
+
58
+ ### 📍 real-world examples
59
+
60
+ - retirement plans with default contributions → more savings
61
+ - calorie counts on menus → healthier eating
62
+ - donation ask framed as “$1/day” vs. “$30/month” → higher conversions
63
+ - limited-time offers → trigger urgency and FOMO
64
+
65
+ ---
66
+
67
+ ### 🚫 common traps we fall into
68
+
69
+ - trusting gut feelings over data
70
+ - sticking with bad choices due to sunk costs
71
+ - avoiding change, even when beneficial
72
+ - misjudging probabilities (lotteries, insurance)
73
+
74
+ ---
75
+
76
+ ### 🔁 mental model
77
+ > behavioral economics reminds us: **we're not robots** — we're biased, emotional, and shaped by context.
78
+ > better outcomes come from designing systems that work **with**, not against, real human nature.
79
+
80
+
81
+ ---
82
+
83
+ ## 🧠 strategic use cases of behavioral economics
84
+ **non-obvious but powerful applications in the real world**
85
+
86
+ ---
87
+
88
+ ### 💰 1. boosting retirement savings with default design
89
+ - setting **default contribution rates** (e.g., 6%) drastically increases participation
90
+ - most people don’t opt out or adjust
91
+ → behavior driven by **inertia**, not intent
92
+
93
+ 💡 use in HR, pension design, financial planning
94
+
95
+
96
+ ### 🧾 2. framing to increase tax compliance
97
+ - messages like “**9 out of 10 people in your area already paid**”
98
+ → taps into **social norms** and guilt
99
+ → outperforms penalty reminders
100
+
101
+ 💡 used by governments to improve voluntary compliance
102
+
103
+
104
+ ### 💡 3. energy use reduction via peer comparison
105
+ - showing homeowners how their energy use compares to neighbors
106
+ → triggers **competitive instincts and social pressure**
107
+ → more effective than financial incentives alone
108
+
109
+ 💡 usecase: utilities, smart home dashboards, climate campaigns
110
+
111
+
112
+ ### 🍽 4. changing food choices with placement, not rules
113
+ - placing healthy items at eye level or first in line
114
+ → increases uptake **without removing choice**
115
+ → works better than education or labels alone
116
+
117
+ 💡 cafeteria design, grocery stores, school lunch programs
118
+
119
+
120
+ ### 📈 5. increasing conversion through chunking & anchoring
121
+ - breaking a price into **daily or weekly terms**
122
+ → “just $1/day” feels easier than “$30/month”
123
+ - placing an expensive decoy next to mid-tier item
124
+ → makes the middle choice feel like a deal
125
+
126
+ 💡 use in subscription pricing, fundraising, SaaS plans
127
+
128
+
129
+ ### 💬 6. structuring decisions to reduce regret and dropout
130
+ - offering a “pause my subscription” button instead of “cancel”
131
+ → leverages **status quo bias**
132
+ → preserves revenue and gives users a soft exit
133
+
134
+ 💡 usecase: churn reduction in memberships, apps, and media
135
+
136
+
137
+ ### 🎓 7. motivating learning and training through **progress framing**
138
+ - “you’ve completed 3 of 5 lessons” > “2 left”
139
+ → taps into **goal gradient effect**: motivation increases as the end approaches
140
+
141
+ 💡 used in edtech, onboarding flows, productivity apps
142
+
143
+
144
+ ### 🔁 mental model
145
+ > smart systems don’t fight human bias — they **account for it**.
146
+ > by applying behavioral economics, we can **unlock better outcomes** in finance, health, sustainability, education, and beyond — not by force, but by **thoughtful design**.