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.
- package/dist/.test/getContextOpenAI.js +2 -1
- package/dist/.test/getContextOpenAI.js.map +1 -1
- package/dist/contract/commands/codegenBriefOptions.js +1 -0
- package/dist/contract/commands/codegenBriefOptions.js.map +1 -1
- package/dist/contract/sdk/index.d.ts +1 -0
- package/dist/contract/sdk/index.js +6 -0
- package/dist/contract/sdk/index.js.map +1 -0
- package/dist/data/sdk/sdkOpenAi.js +5 -1
- package/dist/data/sdk/sdkOpenAi.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -1
- package/dist/logic/artifact/asDotRhachetFile.d.ts +5 -0
- package/dist/logic/artifact/asDotRhachetFile.js +16 -0
- package/dist/logic/artifact/asDotRhachetFile.js.map +1 -0
- package/dist/logic/artifact/genLoopFeedback.d.ts +18 -0
- package/dist/logic/artifact/genLoopFeedback.js +40 -0
- package/dist/logic/artifact/genLoopFeedback.js.map +1 -0
- package/dist/logic/artifact/genStepArtSet.d.ts +2 -1
- package/dist/logic/artifact/genStepArtSet.js +24 -4
- package/dist/logic/artifact/genStepArtSet.js.map +1 -1
- package/dist/logic/artifact/genStepGrabCallerFeedbackToArtifact.js +7 -0
- package/dist/logic/artifact/genStepGrabCallerFeedbackToArtifact.js.map +1 -1
- package/dist/logic/artifact/genStepResetFeedback.d.ts +12 -0
- package/dist/logic/artifact/genStepResetFeedback.js +27 -0
- package/dist/logic/artifact/genStepResetFeedback.js.map +1 -0
- package/dist/logic/artifact/genStepSwapArtifact.d.ts +57 -0
- package/dist/logic/artifact/genStepSwapArtifact.js +58 -0
- package/dist/logic/artifact/genStepSwapArtifact.js.map +1 -0
- package/dist/logic/artifact/genStepSwapArtifact.test.js +131 -0
- package/dist/logic/artifact/genStepSwapArtifact.test.js.map +1 -0
- package/dist/logic/roles/architect/.briefs/ubiqlang.ambiguous-from-overload.md +1 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog021.treestruct.md +85 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.definition.md +115 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct._.md +112 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct.gravity.md +89 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct.persp.1.perspectives.md +88 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct.persp.2.universal.md +82 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct.persp.3.relative.md +106 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog101.concept.treestruct.persp.4.fractal.md +83 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog101.cortal.focus.p1.definition.md +182 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog101.cortal.focus.p1.examples.cont.md +82 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog101.cortal.focus.p2.acuity.md +107 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog101.cortal.focus.p2.breadth.md +118 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog101.cortal.focus.p2.depth.md +121 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog101.cortal.focus.p3.mode.md +68 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog101.cortal.focus.p3.rythm.md +56 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog301.concept.traversal.p1.universal.md +108 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog301.concept.traversal.p2.relative.md +76 -0
- package/dist/logic/roles/bhrain/.briefs/cognition/cog301.concept.traversal.p3.directions.md +42 -0
- package/dist/logic/roles/bhrain/.briefs/distilisys.grammar.compressed.md +19 -0
- package/dist/logic/roles/bhrain/.briefs/physics/optics.focal.acuity.md +77 -0
- package/dist/logic/roles/bhrain/.briefs/physics/optics.focal.breadth.md +74 -0
- package/dist/logic/roles/bhrain/.briefs/physics/optics.focal.depth.md +77 -0
- package/dist/logic/roles/bhrain/.briefs/physics/optics.focal.distance.md +92 -0
- package/dist/logic/roles/bhrain/.briefs/physics/optics.focal.tradeoffs.md +107 -0
- package/dist/logic/roles/bhrain/.briefs/tactic.<think>[idea]/composite/<triangulate>[concept].md +66 -0
- package/dist/logic/roles/bhrain/.briefs/tactic.<think>[idea]/primitive/<zoom>._.md +124 -0
- package/dist/logic/roles/bhrain/.briefs/tactic.<think>[idea]/primitive/<zoomin>[acuity]<sharpen>[concept].md +53 -0
- package/dist/logic/roles/bhrain/.briefs/tactic.<think>[idea]/primitive/<zoomin>[breadth]<decompose>[concept].md +67 -0
- package/dist/logic/roles/bhrain/.briefs/tactic.<think>[idea]/primitive/<zoomin>[depth]<abstractify>[concept].md +124 -0
- package/dist/logic/roles/bhrain/.briefs/tactic.<think>[idea]/primitive/<zoomout>[acuity]<blurren>[concept].md +56 -0
- package/dist/logic/roles/bhrain/.briefs/tactic.<think>[idea]/primitive/<zoomout>[breadth]<broaden>[concept].md +71 -0
- package/dist/logic/roles/bhrain/.briefs/tactic.<think>[idea]/primitive/<zoomout>[depth]<elaborate>[concept].md +74 -0
- package/dist/logic/roles/bhrain/.briefs/terms.motive.intent.goal.md +46 -0
- package/dist/logic/roles/bhrain/.briefs/trait.ocd.md +5 -0
- package/dist/logic/roles/bhrain/getBhrainBrief.Options.codegen.d.ts +10 -0
- package/dist/logic/roles/bhrain/getBhrainBrief.Options.codegen.js +15 -0
- package/dist/logic/roles/bhrain/getBhrainBrief.Options.codegen.js.map +1 -0
- package/dist/logic/roles/bhrain/getBhrainBrief.d.ts +13 -0
- package/dist/logic/roles/bhrain/getBhrainBrief.js +21 -0
- package/dist/logic/roles/bhrain/getBhrainBrief.js.map +1 -0
- package/dist/logic/roles/bhrain/getBhrainRole.d.ts +2 -0
- package/dist/logic/roles/bhrain/getBhrainRole.js +27 -0
- package/dist/logic/roles/bhrain/getBhrainRole.js.map +1 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/cluster/stepCluster.d.ts +51 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/cluster/stepCluster.integration.test.js +102 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/cluster/stepCluster.integration.test.js.map +1 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/cluster/stepCluster.js +59 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/cluster/stepCluster.js.map +1 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/cluster/stepCluster.template.md +127 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/collect/stepCollect.d.ts +15 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/collect/stepCollect.integration.test.js +91 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/collect/stepCollect.integration.test.js.map +1 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/collect/stepCollect.js +33 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/collect/stepCollect.js.map +1 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/diverge/stepDiverge.d.ts +49 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/diverge/stepDiverge.integration.test.d.ts +1 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/diverge/stepDiverge.integration.test.js +122 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/diverge/stepDiverge.integration.test.js.map +1 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/diverge/stepDiverge.js +59 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/diverge/stepDiverge.js.map +1 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/diverge/stepDiverge.template.md +125 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/envision/stepEnvision.d.ts +53 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/envision/stepEnvision.integration.test.d.ts +1 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/envision/stepEnvision.integration.test.js +126 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/envision/stepEnvision.integration.test.js.map +1 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/envision/stepEnvision.js +61 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/envision/stepEnvision.js.map +1 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.atomic/envision/stepEnvision.template.md +105 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.composite/expand/stepExpand.d.ts +24 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.composite/expand/stepExpand.integration.test.d.ts +1 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.composite/expand/stepExpand.integration.test.js +118 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.composite/expand/stepExpand.integration.test.js.map +1 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.composite/expand/stepExpand.js +38 -0
- package/dist/logic/roles/bhrain/primitive.idealogic.composite/expand/stepExpand.js.map +1 -0
- package/dist/logic/roles/bhrain/primitive.strategic.atomic/interpret/stepInterpret.d.ts +45 -0
- package/dist/logic/roles/bhrain/primitive.strategic.atomic/interpret/stepInterpret.integration.test.d.ts +1 -0
- package/dist/logic/roles/bhrain/primitive.strategic.atomic/interpret/stepInterpret.integration.test.js +115 -0
- package/dist/logic/roles/bhrain/primitive.strategic.atomic/interpret/stepInterpret.integration.test.js.map +1 -0
- package/dist/logic/roles/bhrain/primitive.strategic.atomic/interpret/stepInterpret.js +59 -0
- package/dist/logic/roles/bhrain/primitive.strategic.atomic/interpret/stepInterpret.js.map +1 -0
- package/dist/logic/roles/bhrain/primitive.strategic.atomic/interpret/stepInterpret.skill.d.ts +24 -0
- package/dist/logic/roles/bhrain/primitive.strategic.atomic/interpret/stepInterpret.skill.js +64 -0
- package/dist/logic/roles/bhrain/primitive.strategic.atomic/interpret/stepInterpret.skill.js.map +1 -0
- package/dist/logic/roles/bhrain/primitive.strategic.atomic/interpret/stepInterpret.template.md +143 -0
- package/dist/logic/roles/designer/.briefs/declarative-over-imperative.md +79 -0
- package/dist/logic/roles/designer/.briefs/declarative-over-imperative.stub.md +14 -0
- package/dist/logic/roles/designer/.briefs/pit-of-success.md +70 -0
- package/dist/logic/roles/designer/.briefs/pit-of-success.stub.md +3 -0
- package/dist/logic/roles/designer/outlineDistilisys/stepOutlineDistilisys.js +4 -2
- package/dist/logic/roles/designer/outlineDistilisys/stepOutlineDistilisys.js.map +1 -1
- package/dist/logic/roles/designer/outlineDistilisys/stepOutlineDistilisys.template.md +173 -0
- package/dist/logic/roles/designer/outlineRoadmap/stepOutlineRoadmap.js +1 -1
- package/dist/logic/roles/designer/outlineRoadmap/stepOutlineRoadmap.js.map +1 -1
- package/dist/logic/roles/designer/outlineRoadmap/stepOutlineRoadmap.template.md +88 -0
- package/dist/logic/roles/designer/outlineVision/stepOutlineVision.template.md +47 -0
- package/dist/logic/roles/ecologist/.briefs/.readme.md +17 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys101.distilisys.grammar.md +221 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys201.actor.motive._.summary.md +82 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys201.actor.motive.p1.reversibility.entropy.md +39 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys201.actor.motive.p2.option.chance.choice.md +140 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys201.actor.motive.p3.chance.motive.polarity.threat.md +72 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys201.actor.motive.p4.motive.horizon.md +101 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys201.actor.motive.p5.motive.grammar.md +131 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys211.actor.resources._.primitives.summary.md +108 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys211.actor.resources.pt1.primitive.time.md +56 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys211.actor.resources.pt2.primitive.energy.md +69 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys211.actor.resources.pt3.primitive.space.md +85 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys211.actor.resources.pt4.primitive.claim.md +113 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys211.actor.resources.pt5.composites.md +146 -0
- package/dist/logic/roles/ecologist/.briefs/distilisys/sys231.actor.claims.p1.primitive.exchange.md +130 -0
- package/dist/logic/roles/ecologist/.briefs/ecology/.eco001.origin.prompt.md +11 -0
- package/dist/logic/roles/ecologist/.briefs/ecology/eco001.overview.md +44 -0
- package/dist/logic/roles/ecologist/.briefs/ecology/eco101.core-system-understanding.md +70 -0
- package/dist/logic/roles/ecologist/.briefs/ecology/eco101.p1.ecosystem-structure.md +62 -0
- package/dist/logic/roles/ecologist/.briefs/ecology/eco101.p2.trophic-dynamics.md +59 -0
- package/dist/logic/roles/ecologist/.briefs/ecology/eco101.p3.population-ecology.md +71 -0
- package/dist/logic/roles/ecologist/.briefs/ecology/eco101.p4.community-interactions.md +78 -0
- package/dist/logic/roles/ecologist/.briefs/ecology/eco505.systems-thinking.md +62 -0
- package/dist/logic/roles/ecologist/.briefs/economy/econ001.overview.md +65 -0
- package/dist/logic/roles/ecologist/.briefs/economy/econ101.core-mechanics.md +65 -0
- package/dist/logic/roles/ecologist/.briefs/economy/econ101.p1.supply-and-demand.md +76 -0
- package/dist/logic/roles/ecologist/.briefs/economy/econ101.p2.opportunity-cost.md +106 -0
- package/dist/logic/roles/ecologist/.briefs/economy/econ101.p3.marginal-analysis.md +79 -0
- package/dist/logic/roles/ecologist/.briefs/economy/econ101.p4.rational-choice.md +81 -0
- package/dist/logic/roles/ecologist/.briefs/economy/econ201.market-structures-and-failures.md +81 -0
- package/dist/logic/roles/ecologist/.briefs/economy/econ301.production-and-growth.md +71 -0
- package/dist/logic/roles/ecologist/.briefs/economy/econ401.macro-systems.md +92 -0
- package/dist/logic/roles/ecologist/.briefs/economy/econ501.global-and-institutional.md +85 -0
- package/dist/logic/roles/ecologist/.briefs/economy/econ501.p1.game-theory.md +142 -0
- package/dist/logic/roles/ecologist/.briefs/economy/econ501.p4.behavioral-economics.md +146 -0
- package/dist/logic/roles/ecologist/.briefs/term.distillation.md +93 -0
- package/dist/logic/roles/ecologist/domain.sketch/loopStudyDomain.d.ts +24 -0
- package/dist/logic/roles/ecologist/domain.sketch/loopStudyDomain.integration.test.d.ts +1 -0
- package/dist/logic/roles/ecologist/domain.sketch/loopStudyDomain.integration.test.js +57 -0
- package/dist/logic/roles/ecologist/domain.sketch/loopStudyDomain.integration.test.js.map +1 -0
- package/dist/logic/roles/ecologist/domain.sketch/loopStudyDomain.js +11 -0
- package/dist/logic/roles/ecologist/domain.sketch/loopStudyDomain.js.map +1 -0
- package/dist/logic/roles/ecologist/domain.sketch/skillStudyDomain.d.ts +25 -0
- package/dist/logic/roles/ecologist/domain.sketch/skillStudyDomain.js +90 -0
- package/dist/logic/roles/ecologist/domain.sketch/skillStudyDomain.js.map +1 -0
- package/dist/logic/roles/ecologist/{distill/distillDomain.ActionsAndActors.d.ts → domain.sketch/stepStudyDomain.d.ts} +8 -3
- package/dist/logic/roles/ecologist/domain.sketch/stepStudyDomain.integration.test.d.ts +1 -0
- package/dist/logic/roles/ecologist/domain.sketch/stepStudyDomain.integration.test.js +65 -0
- package/dist/logic/roles/ecologist/domain.sketch/stepStudyDomain.integration.test.js.map +1 -0
- package/dist/logic/roles/ecologist/domain.sketch/stepStudyDomain.js +60 -0
- package/dist/logic/roles/ecologist/domain.sketch/stepStudyDomain.js.map +1 -0
- package/dist/logic/roles/ecologist/domain.sketch/stepStudyDomain.template.md +93 -0
- package/dist/logic/roles/ecologist/domain.term/stepCollectTermUsecases.d.ts +45 -0
- package/dist/logic/roles/ecologist/domain.term/stepCollectTermUsecases.integration.test.d.ts +1 -0
- package/dist/logic/roles/ecologist/domain.term/stepCollectTermUsecases.integration.test.js +69 -0
- package/dist/logic/roles/ecologist/domain.term/stepCollectTermUsecases.integration.test.js.map +1 -0
- package/dist/logic/roles/ecologist/domain.term/stepCollectTermUsecases.js +67 -0
- package/dist/logic/roles/ecologist/domain.term/stepCollectTermUsecases.js.map +1 -0
- package/dist/logic/roles/ecologist/domain.term/stepCollectTermUsecases.skill.d.ts +25 -0
- package/dist/logic/roles/ecologist/domain.term/stepCollectTermUsecases.skill.js +85 -0
- package/dist/logic/roles/ecologist/domain.term/stepCollectTermUsecases.skill.js.map +1 -0
- package/dist/logic/roles/ecologist/domain.term/stepCollectTermUsecases.template.md +160 -0
- package/dist/logic/roles/ecologist/domain.term/stepDistillTerm.d.ts +47 -0
- package/dist/logic/roles/ecologist/domain.term/stepDistillTerm.integration.test.d.ts +1 -0
- package/dist/logic/roles/ecologist/domain.term/stepDistillTerm.integration.test.js +127 -0
- package/dist/logic/roles/ecologist/domain.term/stepDistillTerm.integration.test.js.map +1 -0
- package/dist/logic/roles/ecologist/domain.term/stepDistillTerm.js +68 -0
- package/dist/logic/roles/ecologist/domain.term/stepDistillTerm.js.map +1 -0
- package/dist/logic/roles/ecologist/domain.term/stepDistillTerm.skill.d.ts +26 -0
- package/dist/logic/roles/ecologist/domain.term/stepDistillTerm.skill.js +92 -0
- package/dist/logic/roles/ecologist/domain.term/stepDistillTerm.skill.js.map +1 -0
- package/dist/logic/roles/ecologist/domain.term/stepDistillTerm.template.md +173 -0
- package/dist/logic/roles/ecologist/domain.usecases/stepCollectUsecases.d.ts +45 -0
- package/dist/logic/roles/ecologist/domain.usecases/stepCollectUsecases.integration.test.d.ts +1 -0
- package/dist/logic/roles/ecologist/domain.usecases/stepCollectUsecases.integration.test.js +69 -0
- package/dist/logic/roles/ecologist/domain.usecases/stepCollectUsecases.integration.test.js.map +1 -0
- package/dist/logic/roles/ecologist/domain.usecases/stepCollectUsecases.js +67 -0
- package/dist/logic/roles/ecologist/domain.usecases/stepCollectUsecases.js.map +1 -0
- package/dist/logic/roles/ecologist/domain.usecases/stepCollectUsecases.skill.d.ts +25 -0
- package/dist/logic/roles/ecologist/domain.usecases/stepCollectUsecases.skill.js +85 -0
- package/dist/logic/roles/ecologist/domain.usecases/stepCollectUsecases.skill.js.map +1 -0
- package/dist/logic/roles/ecologist/domain.usecases/stepCollectUsecases.template.md +160 -0
- package/dist/logic/roles/ecologist/domain.usecases/stepDiscoverUsecases.d.ts +45 -0
- package/dist/logic/roles/ecologist/domain.usecases/stepDiscoverUsecases.js +67 -0
- package/dist/logic/roles/ecologist/domain.usecases/stepDiscoverUsecases.js.map +1 -0
- package/dist/logic/roles/ecologist/envision/stepEnvision.d.ts +0 -0
- package/dist/logic/roles/ecologist/envision/stepEnvision.integration.test.d.ts +0 -0
- package/dist/logic/roles/ecologist/envision/stepEnvision.integration.test.js +78 -0
- package/dist/logic/roles/ecologist/envision/stepEnvision.integration.test.js.map +1 -0
- package/dist/logic/roles/ecologist/envision/stepEnvision.js +96 -0
- package/dist/logic/roles/ecologist/envision/stepEnvision.js.map +1 -0
- package/dist/logic/roles/ecologist/envision/stepEnvision.skill.d.ts +0 -0
- package/dist/logic/roles/ecologist/envision/stepEnvision.skill.js +72 -0
- package/dist/logic/roles/ecologist/envision/stepEnvision.skill.js.map +1 -0
- package/dist/logic/roles/ecologist/envision/stepEnvision.template.md +92 -0
- package/dist/logic/roles/ecologist/getEcologistBrief.Options.codegen.d.ts +1 -1
- package/dist/logic/roles/ecologist/getEcologistBrief.Options.codegen.js +34 -27
- package/dist/logic/roles/ecologist/getEcologistBrief.Options.codegen.js.map +1 -1
- package/dist/logic/roles/ecologist/getEcologistRole.d.ts +2 -0
- package/dist/logic/roles/ecologist/getEcologistRole.js +29 -0
- package/dist/logic/roles/ecologist/getEcologistRole.js.map +1 -0
- package/dist/logic/roles/getRoleRegistry.js +7 -1
- package/dist/logic/roles/getRoleRegistry.js.map +1 -1
- package/dist/logic/roles/mechanic/.briefs/architecture/bounded-contexts.md +61 -0
- package/dist/logic/roles/mechanic/.briefs/architecture/directional-dependencies.md +73 -0
- package/dist/logic/roles/mechanic/.briefs/architecture/domain-driven-design.md +61 -0
- package/dist/logic/roles/mechanic/.briefs/architecture/ubiqlang.md +37 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/_mech.compressed.md +57 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/_mech.compressed.prompt.md +5 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/flow.failfast.md +37 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/flow.idempotency.md +63 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/flow.immutability.md +48 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/flow.narratives.md +74 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/flow.single-responsibility.md +67 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/mech.args.input-context.md +61 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/mech.arrowonly.md +47 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/mech.clear-contracts.md +53 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/mech.tests.given-when-then.md +62 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/mech.what-why.md +88 -0
- package/dist/logic/roles/mechanic/.briefs/codestyle/mech.what-why.v2.md +98 -0
- package/dist/logic/roles/mechanic/.briefs/engineer/dependency-injection.md +118 -0
- package/dist/logic/roles/mechanic/.briefs/engineer/dependency-injection.stub.md +11 -0
- package/dist/logic/roles/mechanic/.briefs/style.compressed.md +29 -0
- package/dist/logic/roles/mechanic/.briefs/style.compressed.prompt.md +5 -0
- package/dist/logic/roles/mechanic/.briefs/style.names.treestruct.md +48 -0
- package/dist/logic/roles/mechanic/.briefs/style.names.ubiqlang.md +37 -0
- package/dist/logic/roles/mechanic/.briefs/style.words.lowercase.md +36 -0
- package/dist/logic/roles/mechanic/codediff/routeArtistCodeDiff.template.md +46 -0
- package/dist/logic/roles/mechanic/codediff/routeCriticCodeReviewArchitecture.template.md +78 -0
- package/dist/logic/roles/mechanic/codediff/routeCriticCodeReviewCodestyle.template.md +75 -0
- package/dist/logic/roles/mechanic/codediff/routeJudgeReleasable.template.md +67 -0
- package/dist/logic/roles/mechanic/getMechanicBrief.Options.codegen.d.ts +1 -1
- package/dist/logic/roles/mechanic/getMechanicBrief.Options.codegen.js +1 -1
- package/dist/logic/roles/mechanic/getMechanicBrief.Options.codegen.js.map +1 -1
- package/dist/logic/roles/mechanic/getMechanicRole.js +3 -137
- package/dist/logic/roles/mechanic/getMechanicRole.js.map +1 -1
- package/dist/logic/roles/mechanic/skills/getSkillCodePropose.d.ts +2 -0
- package/dist/logic/roles/mechanic/skills/getSkillCodePropose.js +140 -0
- package/dist/logic/roles/mechanic/skills/getSkillCodePropose.js.map +1 -0
- package/dist/logic/roles/mechanic/study/routeStudyAsk.template.md +73 -0
- package/dist/logic/roles/mechanic/write/.test/prior.template.md +21 -0
- package/dist/logic/roles/mechanic/write/loopWrite.d.ts +25 -0
- package/dist/logic/roles/mechanic/write/loopWrite.integration.test.d.ts +1 -0
- package/dist/logic/roles/mechanic/write/loopWrite.integration.test.js +57 -0
- package/dist/logic/roles/mechanic/write/loopWrite.integration.test.js.map +1 -0
- package/dist/logic/roles/mechanic/write/loopWrite.js +11 -0
- package/dist/logic/roles/mechanic/write/loopWrite.js.map +1 -0
- package/dist/logic/roles/mechanic/write/loopWrite.skill.d.ts +25 -0
- package/dist/logic/roles/mechanic/write/loopWrite.skill.js +100 -0
- package/dist/logic/roles/mechanic/write/loopWrite.skill.js.map +1 -0
- package/dist/logic/roles/mechanic/write/stepWrite.d.ts +22 -0
- package/dist/logic/roles/mechanic/write/stepWrite.integration.test.d.ts +1 -0
- package/dist/logic/roles/mechanic/write/stepWrite.integration.test.js +189 -0
- package/dist/logic/roles/mechanic/write/stepWrite.integration.test.js.map +1 -0
- package/dist/logic/roles/mechanic/write/stepWrite.js +50 -0
- package/dist/logic/roles/mechanic/write/stepWrite.js.map +1 -0
- package/dist/logic/roles/mechanic/write/stepWrite.template.md +34 -0
- package/package.json +9 -6
- package/readme.md +1 -1
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.d.ts +0 -17
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.integration.test.js +0 -107
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.integration.test.js.map +0 -1
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.js +0 -76
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.js.map +0 -1
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.imagine.ResourcesAndMechanisms.d.ts +0 -17
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.imagine.ResourcesAndMechanisms.js +0 -73
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.imagine.ResourcesAndMechanisms.js.map +0 -1
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.d.ts +0 -18
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.integration.test.js +0 -73
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.integration.test.js.map +0 -1
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.js +0 -62
- package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.js.map +0 -1
- package/dist/logic/roles/ecologist/distill/distillDomain.ActionsAndActors.integration.test.js +0 -120
- package/dist/logic/roles/ecologist/distill/distillDomain.ActionsAndActors.integration.test.js.map +0 -1
- package/dist/logic/roles/ecologist/distill/distillDomain.ActionsAndActors.js +0 -69
- package/dist/logic/roles/ecologist/distill/distillDomain.ActionsAndActors.js.map +0 -1
- /package/dist/logic/{roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.integration.test.d.ts → artifact/genStepSwapArtifact.test.d.ts} +0 -0
- /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
- /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,59 @@
|
|
|
1
|
+
## `.brief.eco101.trophic-dynamics`
|
|
2
|
+
|
|
3
|
+
### 🧠 topic: trophic dynamics
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
### 🎯 goal
|
|
8
|
+
understand how energy moves through ecosystems by examining who eats whom, how much energy transfers, and what happens when the balance shifts.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
### 🧭 trophic levels
|
|
13
|
+
|
|
14
|
+
- **autotrophs (producers)** – organisms that create energy-rich compounds from sunlight or chemicals (e.g., plants, algae)
|
|
15
|
+
- **herbivores (primary consumers)** – eat autotrophs (e.g., deer, insects)
|
|
16
|
+
- **carnivores (secondary+ consumers)** – eat other consumers (e.g., wolves, hawks)
|
|
17
|
+
- **decomposers** – break down dead organisms and recycle nutrients (e.g., fungi, bacteria)
|
|
18
|
+
|
|
19
|
+
🔄 energy flows **up**, nutrients **cycle**
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
### ⚡ energy transfer efficiency
|
|
24
|
+
|
|
25
|
+
- only ~**10%** of energy is passed to the next trophic level
|
|
26
|
+
- ~**90%** is lost as heat, movement, metabolism, or undigested material
|
|
27
|
+
- explains why:
|
|
28
|
+
- food chains rarely extend beyond 4–5 levels
|
|
29
|
+
- top predators are few in number and require large territories
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
### 🔗 food chains vs. food webs
|
|
34
|
+
|
|
35
|
+
#### **food chain**
|
|
36
|
+
- a **linear** sequence of who eats whom
|
|
37
|
+
example: grass → grasshopper → frog → snake → hawk
|
|
38
|
+
|
|
39
|
+
#### **food web**
|
|
40
|
+
- a **network** of interconnected food chains
|
|
41
|
+
- reflects real-world complexity
|
|
42
|
+
- shows redundancy, indirect effects, and resilience potential
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
### 🔄 top-down vs. bottom-up control
|
|
47
|
+
|
|
48
|
+
#### **top-down (predator-driven)**
|
|
49
|
+
- predators suppress herbivores, allowing plant populations to grow
|
|
50
|
+
example: adding wolves to Yellowstone → fewer deer → more willow trees
|
|
51
|
+
|
|
52
|
+
#### **bottom-up (resource-driven)**
|
|
53
|
+
- changes in resource availability (e.g., nutrients, water) affect producers, which cascade upward
|
|
54
|
+
example: nutrient-poor soil → fewer plants → fewer herbivores → fewer predators
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
### 🔁 mental model
|
|
59
|
+
> trophic dynamics describe the **flow of energy and influence** in an ecosystem — like a supply chain where **efficiency is low** and **imbalances ripple** in either direction.
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
## `.brief.eco101.population-ecology`
|
|
2
|
+
|
|
3
|
+
### 🧠 topic: population ecology
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
### 🎯 goal
|
|
8
|
+
learn how populations grow, shrink, and stabilize — and what forces shape their numbers over time.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
### 📈 population growth models
|
|
13
|
+
|
|
14
|
+
#### **exponential growth**
|
|
15
|
+
- occurs when resources are unlimited
|
|
16
|
+
- population grows at a constant rate
|
|
17
|
+
- **J-shaped curve**
|
|
18
|
+
- equation: `dN/dt = rN`
|
|
19
|
+
where `r` = intrinsic rate of increase, `N` = population size
|
|
20
|
+
|
|
21
|
+
#### **logistic growth**
|
|
22
|
+
- growth slows as resources become limited
|
|
23
|
+
- approaches a maximum size: **carrying capacity (K)**
|
|
24
|
+
- **S-shaped curve**
|
|
25
|
+
- equation: `dN/dt = rN(1 - N/K)`
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
### 🏞 carrying capacity & density dependence
|
|
30
|
+
|
|
31
|
+
#### **carrying capacity (K)**
|
|
32
|
+
- the max population size an environment can sustain over time
|
|
33
|
+
- shaped by resource availability, habitat space, and ecosystem limits
|
|
34
|
+
|
|
35
|
+
#### **density-dependent factors**
|
|
36
|
+
- effects that increase with population size
|
|
37
|
+
e.g., disease, competition, predation, stress
|
|
38
|
+
|
|
39
|
+
#### **density-independent factors**
|
|
40
|
+
- effects unrelated to population size
|
|
41
|
+
e.g., weather events, natural disasters, pollution
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
### 🧮 population change drivers
|
|
46
|
+
|
|
47
|
+
- **births (B)** – increase population
|
|
48
|
+
- **deaths (D)** – decrease population
|
|
49
|
+
- **immigration (I)** – individuals entering the population
|
|
50
|
+
- **emigration (E)** – individuals leaving the population
|
|
51
|
+
|
|
52
|
+
📊 total change: `ΔN = (B + I) - (D + E)`
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
### 📊 life tables & survivorship curves
|
|
57
|
+
|
|
58
|
+
#### **life tables**
|
|
59
|
+
- track survival and reproduction across age classes
|
|
60
|
+
- used to calculate life expectancy, mortality rates, and reproduction output
|
|
61
|
+
|
|
62
|
+
#### **survivorship curves**
|
|
63
|
+
- graph survival probability over lifespan
|
|
64
|
+
- **Type I**: low early mortality (e.g., humans)
|
|
65
|
+
- **Type II**: constant mortality (e.g., birds)
|
|
66
|
+
- **Type III**: high early mortality (e.g., fish, plants)
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
### 🔁 mental model
|
|
71
|
+
> population ecology reveals how a species’ **numbers respond to internal feedbacks and external forces** — shaped by **births, deaths, limits, and movement** over time.
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
## `.brief.eco101.community-interactions`
|
|
2
|
+
|
|
3
|
+
### 🧠 topic: community interactions
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
### 🎯 goal
|
|
8
|
+
understand how species interact, compete, and cooperate — and how these relationships shape the structure and function of ecological communities.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
### 🔗 interaction types
|
|
13
|
+
|
|
14
|
+
#### **competition (– / –)**
|
|
15
|
+
- both species are harmed by shared resource use
|
|
16
|
+
e.g., two plants competing for sunlight
|
|
17
|
+
|
|
18
|
+
#### **predation (+ / –)**
|
|
19
|
+
- one species benefits by consuming another
|
|
20
|
+
e.g., wolf hunting deer
|
|
21
|
+
|
|
22
|
+
#### **mutualism (+ / +)**
|
|
23
|
+
- both species benefit
|
|
24
|
+
e.g., bees pollinate flowers while collecting nectar
|
|
25
|
+
|
|
26
|
+
#### **parasitism (+ / –)**
|
|
27
|
+
- one species benefits by exploiting another
|
|
28
|
+
e.g., tapeworm in a mammal’s intestine
|
|
29
|
+
|
|
30
|
+
#### **commensalism (+ / 0)**
|
|
31
|
+
- one species benefits, the other is unaffected
|
|
32
|
+
e.g., barnacles on a whale
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
### 📈 impact on fitness & composition
|
|
37
|
+
|
|
38
|
+
- interactions affect **reproductive success**, survival, and access to resources
|
|
39
|
+
- over time, these interactions shape:
|
|
40
|
+
- **who thrives or disappears**
|
|
41
|
+
- **which species coexist**
|
|
42
|
+
- **what niches get filled**
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
### 🧩 keystone species & niche partitioning
|
|
47
|
+
|
|
48
|
+
#### **keystone species**
|
|
49
|
+
- has a **disproportionate impact** on community structure
|
|
50
|
+
- removing it can collapse food webs or shift ecosystems
|
|
51
|
+
e.g., sea otters controlling sea urchins, preserving kelp forests
|
|
52
|
+
|
|
53
|
+
#### **niche partitioning**
|
|
54
|
+
- species avoid direct competition by **dividing resources**
|
|
55
|
+
- by time (e.g., day vs. night feeders)
|
|
56
|
+
- by space (e.g., canopy vs. ground dwellers)
|
|
57
|
+
- by food type (e.g., seeds vs. insects)
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
### 🌱 succession: community change over time
|
|
62
|
+
|
|
63
|
+
#### **primary succession**
|
|
64
|
+
- starts from bare substrate (e.g., lava flow, glacier retreat)
|
|
65
|
+
- slow buildup of soil and life from scratch
|
|
66
|
+
|
|
67
|
+
#### **secondary succession**
|
|
68
|
+
- recovery after disturbance (e.g., fire, flood, logging)
|
|
69
|
+
- faster, since soil and seed banks may remain
|
|
70
|
+
|
|
71
|
+
#### **climax community**
|
|
72
|
+
- stable endpoint (in theory)
|
|
73
|
+
- actual systems often remain dynamic due to ongoing disturbance
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
### 🔁 mental model
|
|
78
|
+
> communities are **living tapestries woven by interaction** — shaped by who competes, who cooperates, and how species carve out niches, respond to change, and shape each other over time.
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
## `.brief.eco505.systems-thinking`
|
|
2
|
+
|
|
3
|
+
### 🧠 topic: systems thinking in ecology
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
### 🎯 goal
|
|
8
|
+
train ecologists to see ecosystems as **interconnected, flow-based systems** — governed by **resource pools**, **biological flows**, and **cyclical feedbacks** that shape system behavior over time.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
### 🔁 what is systems thinking?
|
|
13
|
+
|
|
14
|
+
- a framework for understanding **how parts interact** in complex, living systems
|
|
15
|
+
- focuses on **relationships, flows, and cycles** instead of isolated events
|
|
16
|
+
- asks:
|
|
17
|
+
- what’s accumulating or depleting? (**pools**)
|
|
18
|
+
- what’s moving? (**flows**)
|
|
19
|
+
- what reinforces or stabilizes patterns? (**cycles**)
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
### 🧱 key elements
|
|
24
|
+
|
|
25
|
+
#### **pools**
|
|
26
|
+
- quantities that can build up or run down
|
|
27
|
+
e.g., biomass, soil carbon, water stored in a wetland, total population size
|
|
28
|
+
|
|
29
|
+
#### **flows**
|
|
30
|
+
- processes that transfer material or energy between pools
|
|
31
|
+
e.g., birth, death, migration, photosynthesis, runoff
|
|
32
|
+
|
|
33
|
+
#### **cycles (feedback loops)**
|
|
34
|
+
- **reinforcing cycles** (positive): amplify change
|
|
35
|
+
- e.g., more vegetation → more shade → more moisture → more vegetation
|
|
36
|
+
- **balancing cycles** (negative): dampen change
|
|
37
|
+
- e.g., more prey → more predators → fewer prey → fewer predators
|
|
38
|
+
|
|
39
|
+
ecosystems often contain **nested and competing cycles** that drive both resilience and transformation
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
### 🧠 how to think like a systems ecologist
|
|
44
|
+
|
|
45
|
+
- follow the **flow paths**, not just the endpoints
|
|
46
|
+
- look for **delays, thresholds, and accumulations**
|
|
47
|
+
- identify **leverage points** where small changes affect the whole system
|
|
48
|
+
- embrace **nonlinear outcomes** and emergent patterns
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
### 🧰 applied tools
|
|
53
|
+
- **causal diagrams** – map pools, flows, and cycles visually
|
|
54
|
+
- **dynamic models** – simulate changes over time
|
|
55
|
+
- **resilience mapping** – understand how systems recover or collapse under pressure
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
### 🔁 mental model
|
|
60
|
+
> systems thinking helps ecologists ask:
|
|
61
|
+
> “**what’s flowing where, what’s building up, and what cycles are at play?**”
|
|
62
|
+
> it’s a shift from describing parts to **understanding living systems as patterns of interaction and change**.
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# economist.briefs.grouped
|
|
2
|
+
|
|
3
|
+
## 🧠 Tier 1: core mechanics
|
|
4
|
+
### cluster: scarcity, trade, and behavior
|
|
5
|
+
- **supply and demand**
|
|
6
|
+
how prices and quantities adjust in a market
|
|
7
|
+
- **opportunity cost & trade-offs**
|
|
8
|
+
what choosing one option costs in terms of the next-best
|
|
9
|
+
- **marginal analysis**
|
|
10
|
+
decisions happen at the margin: marginal cost vs marginal benefit
|
|
11
|
+
- **rational choice theory**
|
|
12
|
+
how agents optimize given preferences and constraints
|
|
13
|
+
|
|
14
|
+
## 🏛️ Tier 2: market structures and failures
|
|
15
|
+
### cluster: how systems work (or break)
|
|
16
|
+
- **market equilibrium & dynamics**
|
|
17
|
+
how prices and quantities stabilize or shift over time
|
|
18
|
+
- **elasticity**
|
|
19
|
+
how responsive buyers/sellers are to changes in price
|
|
20
|
+
- **externalities**
|
|
21
|
+
costs or benefits imposed on third parties (pollution, public goods)
|
|
22
|
+
- **market failure & government intervention**
|
|
23
|
+
when and how policy steps in to correct inefficiencies
|
|
24
|
+
|
|
25
|
+
## 💸 Tier 3: production and growth
|
|
26
|
+
### cluster: inputs → outputs → scale
|
|
27
|
+
- **factors of production**
|
|
28
|
+
land, labor, capital, entrepreneurship
|
|
29
|
+
- **firm behavior & cost structures**
|
|
30
|
+
how businesses minimize cost and maximize profit
|
|
31
|
+
- **comparative advantage & trade**
|
|
32
|
+
who should produce what, and why trade benefits all
|
|
33
|
+
- **economic growth & productivity**
|
|
34
|
+
drivers of long-term improvement in output per person
|
|
35
|
+
|
|
36
|
+
## 🧾 Tier 4: macro systems
|
|
37
|
+
### cluster: aggregate flows and cycles
|
|
38
|
+
- **GDP & national income accounting**
|
|
39
|
+
how total economic output is measured
|
|
40
|
+
- **unemployment & inflation**
|
|
41
|
+
tradeoffs, measurement, and impacts
|
|
42
|
+
- **business cycles**
|
|
43
|
+
expansions and contractions in aggregate demand/supply
|
|
44
|
+
- **monetary & fiscal policy**
|
|
45
|
+
how central banks and governments stabilize the economy
|
|
46
|
+
|
|
47
|
+
## 🌍 Tier 5: global and institutional context
|
|
48
|
+
### cluster: rules, incentives, and outcomes
|
|
49
|
+
- **game theory & strategic interaction**
|
|
50
|
+
how agents act when outcomes depend on others
|
|
51
|
+
- **institutions & property rights**
|
|
52
|
+
rules that shape incentives and transaction costs
|
|
53
|
+
- **development economics**
|
|
54
|
+
why some nations grow and others stagnate
|
|
55
|
+
- **behavioral economics**
|
|
56
|
+
bounded rationality, heuristics, and irrational tendencies
|
|
57
|
+
|
|
58
|
+
## 📊 Tier 6: tools & analysis
|
|
59
|
+
### cluster: measurement & modeling
|
|
60
|
+
- **data, statistics, and econometrics**
|
|
61
|
+
how economists test hypotheses with real-world data
|
|
62
|
+
- **models and assumptions**
|
|
63
|
+
simplifications to understand complex systems
|
|
64
|
+
- **welfare analysis**
|
|
65
|
+
who gains, who loses, and how much
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
## `.brief.econ101.core-mechanics`
|
|
2
|
+
|
|
3
|
+
### 🧠 Tier 1: core mechanics
|
|
4
|
+
**cluster**: scarcity, trade, and behavior
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
### 🎯 goal
|
|
9
|
+
build foundational intuition for **how people, firms, and systems make choices** in a world of limited resources — and how those choices shape prices, trade, and outcomes.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## ⚖️ supply and demand
|
|
14
|
+
**how prices and quantities adjust in a market**
|
|
15
|
+
|
|
16
|
+
- **demand**: how much buyers want at each price
|
|
17
|
+
– downward-sloping: lower price → more buyers
|
|
18
|
+
- **supply**: how much sellers provide at each price
|
|
19
|
+
– upward-sloping: higher price → more incentive to produce
|
|
20
|
+
- **equilibrium**: where supply = demand
|
|
21
|
+
– determines the **market price** and **quantity exchanged**
|
|
22
|
+
- shocks (e.g., drought, innovation, policy) shift curves and change outcomes
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## 💸 opportunity cost & trade-offs
|
|
27
|
+
**what choosing one option costs in terms of the next-best**
|
|
28
|
+
|
|
29
|
+
- resources are limited, so every choice **comes at a cost**
|
|
30
|
+
- **opportunity cost** = value of the next-best alternative foregone
|
|
31
|
+
e.g., the cost of going to college = tuition + lost income from working
|
|
32
|
+
- clear thinking requires comparing **what you get** vs. **what you give up**
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## ➕ marginal analysis
|
|
37
|
+
**decisions happen at the margin**
|
|
38
|
+
|
|
39
|
+
- people respond to **incremental changes**, not total values
|
|
40
|
+
- compare:
|
|
41
|
+
- **marginal benefit (MB)** = extra gain from one more unit
|
|
42
|
+
- **marginal cost (MC)** = extra cost from one more unit
|
|
43
|
+
- rule: **do more** if MB > MC, **stop** when MB = MC
|
|
44
|
+
e.g., hire an extra worker if they generate more revenue than they cost
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## 🧠 rational choice theory
|
|
49
|
+
**how agents optimize given preferences and constraints**
|
|
50
|
+
|
|
51
|
+
- agents (people, firms) assumed to:
|
|
52
|
+
- have **consistent preferences**
|
|
53
|
+
- weigh **costs vs. benefits**
|
|
54
|
+
- choose options that **maximize utility (happiness) or profit**
|
|
55
|
+
- subject to constraints:
|
|
56
|
+
- **budget** (money, time)
|
|
57
|
+
- **information** (perfect or limited)
|
|
58
|
+
- **rules** (laws, norms, prices)
|
|
59
|
+
|
|
60
|
+
📈 used as a baseline model for predicting behavior — deviations from it reveal behavioral patterns, biases, or external forces
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
### 🔁 mental model
|
|
65
|
+
> economics begins with a simple truth: **we can’t have everything**, so we must **choose**. those choices ripple outward — shaping **markets, trade, and behavior** through prices, costs, and marginal gains.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
## `.brief.econ101.supply-and-demand`
|
|
2
|
+
|
|
3
|
+
### 🧠 topic: supply and demand
|
|
4
|
+
**how prices and quantities adjust in a market**
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
### 🎯 goal
|
|
9
|
+
understand how **markets coordinate trade** by adjusting prices and quantities through the interaction of buyers and sellers.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
### 📉 demand
|
|
14
|
+
**how much consumers want to buy at each price**
|
|
15
|
+
|
|
16
|
+
- governed by the **law of demand**:
|
|
17
|
+
→ as price **falls**, quantity demanded **rises**
|
|
18
|
+
- why?
|
|
19
|
+
- substitution effect: cheaper goods are more attractive
|
|
20
|
+
- income effect: lower prices stretch purchasing power
|
|
21
|
+
- visual: **downward-sloping curve**
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
### 📈 supply
|
|
26
|
+
**how much producers are willing to sell at each price**
|
|
27
|
+
|
|
28
|
+
- governed by the **law of supply**:
|
|
29
|
+
→ as price **rises**, quantity supplied **rises**
|
|
30
|
+
- why?
|
|
31
|
+
- higher prices cover costs and increase profit incentive
|
|
32
|
+
- visual: **upward-sloping curve**
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
### ⚖️ market equilibrium
|
|
37
|
+
**where supply meets demand**
|
|
38
|
+
|
|
39
|
+
- occurs at the price where quantity demanded = quantity supplied
|
|
40
|
+
- determines the **market-clearing price** and traded quantity
|
|
41
|
+
- market naturally moves toward this point unless restricted
|
|
42
|
+
|
|
43
|
+
#### ⛓ if price is too high:
|
|
44
|
+
- surplus (excess supply) → downward pressure on price
|
|
45
|
+
|
|
46
|
+
#### ⛓ if price is too low:
|
|
47
|
+
- shortage (excess demand) → upward pressure on price
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
### 🌪 shifts vs. movement
|
|
52
|
+
|
|
53
|
+
#### **movement along curves**
|
|
54
|
+
- caused by a **change in price**
|
|
55
|
+
|
|
56
|
+
#### **shifts of curves**
|
|
57
|
+
- caused by external factors:
|
|
58
|
+
|
|
59
|
+
**demand shifters**:
|
|
60
|
+
- income, tastes, number of buyers, expectations, price of related goods
|
|
61
|
+
|
|
62
|
+
**supply shifters**:
|
|
63
|
+
- input costs, technology, number of sellers, expectations, regulations
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
### 🌍 real-world shocks
|
|
68
|
+
|
|
69
|
+
- **drought** → supply shift left (less produced) → higher price
|
|
70
|
+
- **innovation** → supply shift right (more efficient production) → lower price
|
|
71
|
+
- **policy** (e.g., tax, subsidy) → alters supply or demand depending on target
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
### 🔁 mental model
|
|
76
|
+
> prices are the **signals** and quantities are the **responses** — together they form a **self-adjusting system** that matches what people want with what producers provide.
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
## `.brief.econ101.opportunity-cost`
|
|
2
|
+
|
|
3
|
+
### 💸 topic: opportunity cost & trade-offs
|
|
4
|
+
**what choosing one option costs in terms of the next-best**
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
### 🎯 goal
|
|
9
|
+
build intuition for how **every choice has a cost**, even when no money changes hands — and how good decision-making depends on recognizing what’s **given up**.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
### 🌍 scarcity forces choices
|
|
14
|
+
|
|
15
|
+
- we live in a world of **limited time, money, energy, and resources**
|
|
16
|
+
- choosing one path means **not choosing others**
|
|
17
|
+
- this trade-off is the foundation of economics
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
### 🧠 opportunity cost defined
|
|
22
|
+
|
|
23
|
+
- **opportunity cost** = the value of the **next-best alternative foregone**
|
|
24
|
+
- not just money — includes time, effort, enjoyment, and risk
|
|
25
|
+
|
|
26
|
+
#### examples:
|
|
27
|
+
- going to college → lose 4 years of income
|
|
28
|
+
- taking a job → give up leisure or other offers
|
|
29
|
+
- buying a truck → give up the chance to invest that money
|
|
30
|
+
|
|
31
|
+
💡 the true cost of any action is **everything you gave up to do it**
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
### ⚖️ trade-off thinking
|
|
36
|
+
|
|
37
|
+
- helps compare options **on equal footing**
|
|
38
|
+
- sharpens decisions by shifting the frame from:
|
|
39
|
+
→ “can I afford this?” to
|
|
40
|
+
→ “is this **worth more** than what I’d give up?”
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
### 🚫 common traps
|
|
45
|
+
|
|
46
|
+
- ignoring **non-obvious costs** (e.g., time, flexibility)
|
|
47
|
+
- falling for **sunk cost fallacy**: continuing just because you’ve already invested
|
|
48
|
+
- thinking in **absolutes**, not **alternatives**
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
### 🔁 mental model
|
|
53
|
+
> every “yes” is a “no” to something else — smart choices require **clear comparisons**, not just **gut reactions** or dollar signs.
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
### 🧠 strategic use cases of opportunity cost
|
|
59
|
+
**real-life examples for everyday decision-making**
|
|
60
|
+
|
|
61
|
+
#### 🕒 1. saying yes to overtime
|
|
62
|
+
- working extra hours brings more money
|
|
63
|
+
- **but costs**: time with family, rest, hobbies, long-term health
|
|
64
|
+
|
|
65
|
+
💡 ask: “am I trading money for something I’ll regret missing?”
|
|
66
|
+
|
|
67
|
+
#### 🍽 2. eating out vs. cooking at home
|
|
68
|
+
- dining out saves time and adds enjoyment
|
|
69
|
+
- **but costs**: money, nutrition, and maybe missed cooking skills
|
|
70
|
+
|
|
71
|
+
💡 usecase: weekly planning, budgeting, health decisions
|
|
72
|
+
|
|
73
|
+
#### 🚗 3. buying a new car
|
|
74
|
+
- new car = convenience + reliability
|
|
75
|
+
- **but costs**: thousands in financing that could go toward a vacation, savings, or debt payoff
|
|
76
|
+
|
|
77
|
+
💡 ask: “is this comfort worth the next-best use of that money?”
|
|
78
|
+
|
|
79
|
+
#### 🎓 4. going back to school
|
|
80
|
+
- education can boost long-term income
|
|
81
|
+
- **but costs**: time, tuition, lost work income, delayed experience
|
|
82
|
+
|
|
83
|
+
💡 usecase: career pivots, side hustle vs. grad school decisions
|
|
84
|
+
|
|
85
|
+
#### 📺 5. watching TV vs. doing something else
|
|
86
|
+
- shows offer relaxation and entertainment
|
|
87
|
+
- **but costs**: opportunity to read, exercise, sleep, or create
|
|
88
|
+
|
|
89
|
+
💡 ask: “am I recharging or just escaping?”
|
|
90
|
+
|
|
91
|
+
#### 🛍 6. impulse purchases
|
|
92
|
+
- buying a trendy gadget feels good now
|
|
93
|
+
- **but costs**: that money can’t go toward travel, gifts, or emergencies later
|
|
94
|
+
|
|
95
|
+
💡 usecase: practicing mindful spending
|
|
96
|
+
|
|
97
|
+
#### 🧠 7. staying in a job you don’t like
|
|
98
|
+
- stable income and routine
|
|
99
|
+
- **but costs**: growth, purpose, new experiences, higher-paying roles elsewhere
|
|
100
|
+
|
|
101
|
+
💡 ask: “what is this comfort costing me over the next 5 years?”
|
|
102
|
+
|
|
103
|
+
### 🔁 mental model
|
|
104
|
+
> opportunity cost shows up in **everyday trade-offs** — not just big purchases, but in **how you spend time, energy, and attention**.
|
|
105
|
+
> better choices come from asking:
|
|
106
|
+
> “what else could I be doing with this?”
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
## `.brief.econ101.marginal-analysis`
|
|
2
|
+
|
|
3
|
+
### ➕ topic: marginal analysis
|
|
4
|
+
**decisions happen at the margin**
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
### 🎯 goal
|
|
9
|
+
shift from all-or-nothing thinking to **incremental decision-making** — evaluating whether doing a little more (or less) creates more value than it costs.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
### 📐 key concept: the margin
|
|
14
|
+
|
|
15
|
+
- **"the margin"** = the next unit
|
|
16
|
+
→ next hour, next dollar, next slice, next mile
|
|
17
|
+
|
|
18
|
+
- most real-world decisions aren’t yes/no — they’re **“how much?”**
|
|
19
|
+
→ work 1 more hour? eat 1 more bite? add 1 more staff member?
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
### 🔍 marginal comparison
|
|
24
|
+
|
|
25
|
+
#### **marginal benefit (MB)**
|
|
26
|
+
- the **extra gain** from doing one more
|
|
27
|
+
e.g., extra sales from 1 more ad, extra joy from 1 more cookie
|
|
28
|
+
|
|
29
|
+
#### **marginal cost (MC)**
|
|
30
|
+
- the **extra cost** of doing one more
|
|
31
|
+
e.g., time, money, fatigue, risk
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
### ✅ decision rule
|
|
36
|
+
- **if MB > MC** → keep going
|
|
37
|
+
- **if MB < MC** → stop
|
|
38
|
+
- **if MB = MC** → optimal stopping point
|
|
39
|
+
|
|
40
|
+
💡 don’t judge based on total cost vs. total benefit — judge by **what the next step adds or subtracts**
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
### 📊 everyday examples
|
|
45
|
+
|
|
46
|
+
#### 🍕 eating another slice
|
|
47
|
+
- MB = more taste & fullness
|
|
48
|
+
- MC = discomfort, calories
|
|
49
|
+
→ **stop when enjoyment no longer outweighs regret**
|
|
50
|
+
|
|
51
|
+
#### 👩💼 hiring more help
|
|
52
|
+
- MB = extra output or sales
|
|
53
|
+
- MC = wages, overhead
|
|
54
|
+
→ **hire until the last person pays for themselves**
|
|
55
|
+
|
|
56
|
+
#### 🧠 studying for a test
|
|
57
|
+
- MB = better score, confidence
|
|
58
|
+
- MC = fatigue, missed sleep
|
|
59
|
+
→ **study until new info doesn’t stick or help**
|
|
60
|
+
|
|
61
|
+
#### 📺 watching another episode
|
|
62
|
+
- MB = relaxation, suspense payoff
|
|
63
|
+
- MC = lost sleep, time, next-day grogginess
|
|
64
|
+
→ **quit when the thrill isn't worth tomorrow's drag**
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
### 🚫 common traps
|
|
69
|
+
|
|
70
|
+
- looking only at **totals** instead of **next-step gains/losses**
|
|
71
|
+
- assuming “more = better” even when **returns diminish**
|
|
72
|
+
- failing to stop when benefits flatten out
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
### 🔁 mental model
|
|
77
|
+
> marginal analysis means always asking:
|
|
78
|
+
> **“is this next step worth it?”**
|
|
79
|
+
> when you think on the margin, you avoid waste, burnout, and regret — and make sharper, more efficient decisions.
|