rhachet-roles-ehmpathy 1.0.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 (165) hide show
  1. package/LICENSE +21 -0
  2. package/dist/.test/genContextLogTrail.d.ts +2 -0
  3. package/dist/.test/genContextLogTrail.js +12 -0
  4. package/dist/.test/genContextLogTrail.js.map +1 -0
  5. package/dist/.test/genContextStitchTrail.d.ts +2 -0
  6. package/dist/.test/genContextStitchTrail.js +8 -0
  7. package/dist/.test/genContextStitchTrail.js.map +1 -0
  8. package/dist/.test/getContextOpenAI.d.ts +2 -0
  9. package/dist/.test/getContextOpenAI.js +18 -0
  10. package/dist/.test/getContextOpenAI.js.map +1 -0
  11. package/dist/contract/cases/mechanicGoalStubout.integration.test.d.ts +0 -0
  12. package/dist/contract/cases/mechanicGoalStubout.integration.test.js +2 -0
  13. package/dist/contract/cases/mechanicGoalStubout.integration.test.js.map +1 -0
  14. package/dist/contract/cases/mechanicStubFillout.integration.test.d.ts +0 -0
  15. package/dist/contract/cases/mechanicStubFillout.integration.test.js +2 -0
  16. package/dist/contract/cases/mechanicStubFillout.integration.test.js.map +1 -0
  17. package/dist/contract/commands/codegenBriefOptions.d.ts +1 -0
  18. package/dist/contract/commands/codegenBriefOptions.js +57 -0
  19. package/dist/contract/commands/codegenBriefOptions.js.map +1 -0
  20. package/dist/data/sdk/sdkOpenAi.d.ts +16 -0
  21. package/dist/data/sdk/sdkOpenAi.js +38 -0
  22. package/dist/data/sdk/sdkOpenAi.js.map +1 -0
  23. package/dist/index.d.ts +0 -0
  24. package/dist/index.js +2 -0
  25. package/dist/index.js.map +1 -0
  26. package/dist/logic/artifact/genStepArtSet.d.ts +13 -0
  27. package/dist/logic/artifact/genStepArtSet.integration.test.d.ts +1 -0
  28. package/dist/logic/artifact/genStepArtSet.integration.test.js +142 -0
  29. package/dist/logic/artifact/genStepArtSet.integration.test.js.map +1 -0
  30. package/dist/logic/artifact/genStepArtSet.js +29 -0
  31. package/dist/logic/artifact/genStepArtSet.js.map +1 -0
  32. package/dist/logic/artifact/genStepGrabCallerFeedbackToArtifact.d.ts +19 -0
  33. package/dist/logic/artifact/genStepGrabCallerFeedbackToArtifact.integration.test.d.ts +1 -0
  34. package/dist/logic/artifact/genStepGrabCallerFeedbackToArtifact.integration.test.js +97 -0
  35. package/dist/logic/artifact/genStepGrabCallerFeedbackToArtifact.integration.test.js.map +1 -0
  36. package/dist/logic/artifact/genStepGrabCallerFeedbackToArtifact.js +84 -0
  37. package/dist/logic/artifact/genStepGrabCallerFeedbackToArtifact.js.map +1 -0
  38. package/dist/logic/roles/designer/getDesignerBrief.Options.codegen.d.ts +10 -0
  39. package/dist/logic/roles/designer/getDesignerBrief.Options.codegen.js +14 -0
  40. package/dist/logic/roles/designer/getDesignerBrief.Options.codegen.js.map +1 -0
  41. package/dist/logic/roles/designer/getDesignerBrief.d.ts +13 -0
  42. package/dist/logic/roles/designer/getDesignerBrief.js +21 -0
  43. package/dist/logic/roles/designer/getDesignerBrief.js.map +1 -0
  44. package/dist/logic/roles/designer/outlineDistilisys/loopOutlineDistilisys.d.ts +26 -0
  45. package/dist/logic/roles/designer/outlineDistilisys/loopOutlineDistilisys.integration.test.d.ts +1 -0
  46. package/dist/logic/roles/designer/outlineDistilisys/loopOutlineDistilisys.integration.test.js +77 -0
  47. package/dist/logic/roles/designer/outlineDistilisys/loopOutlineDistilisys.integration.test.js.map +1 -0
  48. package/dist/logic/roles/designer/outlineDistilisys/loopOutlineDistilisys.js +53 -0
  49. package/dist/logic/roles/designer/outlineDistilisys/loopOutlineDistilisys.js.map +1 -0
  50. package/dist/logic/roles/designer/outlineDistilisys/stepOutlineDistilisys.d.ts +22 -0
  51. package/dist/logic/roles/designer/outlineDistilisys/stepOutlineDistilisys.integration.test.d.ts +1 -0
  52. package/dist/logic/roles/designer/outlineDistilisys/stepOutlineDistilisys.integration.test.js +142 -0
  53. package/dist/logic/roles/designer/outlineDistilisys/stepOutlineDistilisys.integration.test.js.map +1 -0
  54. package/dist/logic/roles/designer/outlineDistilisys/stepOutlineDistilisys.js +55 -0
  55. package/dist/logic/roles/designer/outlineDistilisys/stepOutlineDistilisys.js.map +1 -0
  56. package/dist/logic/roles/designer/outlineRoadmap/loopOutlineRoadmap.d.ts +26 -0
  57. package/dist/logic/roles/designer/outlineRoadmap/loopOutlineRoadmap.integration.test.d.ts +1 -0
  58. package/dist/logic/roles/designer/outlineRoadmap/loopOutlineRoadmap.integration.test.js +71 -0
  59. package/dist/logic/roles/designer/outlineRoadmap/loopOutlineRoadmap.integration.test.js.map +1 -0
  60. package/dist/logic/roles/designer/outlineRoadmap/loopOutlineRoadmap.js +53 -0
  61. package/dist/logic/roles/designer/outlineRoadmap/loopOutlineRoadmap.js.map +1 -0
  62. package/dist/logic/roles/designer/outlineRoadmap/stepOutlineRoadmap.d.ts +22 -0
  63. package/dist/logic/roles/designer/outlineRoadmap/stepOutlineRoadmap.integration.test.d.ts +1 -0
  64. package/dist/logic/roles/designer/outlineRoadmap/stepOutlineRoadmap.integration.test.js +130 -0
  65. package/dist/logic/roles/designer/outlineRoadmap/stepOutlineRoadmap.integration.test.js.map +1 -0
  66. package/dist/logic/roles/designer/outlineRoadmap/stepOutlineRoadmap.js +48 -0
  67. package/dist/logic/roles/designer/outlineRoadmap/stepOutlineRoadmap.js.map +1 -0
  68. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.d.ts +17 -0
  69. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.integration.test.d.ts +1 -0
  70. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.integration.test.js +107 -0
  71. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.integration.test.js.map +1 -0
  72. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.js +76 -0
  73. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.js.map +1 -0
  74. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.imagine.ResourcesAndMechanisms.d.ts +17 -0
  75. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.imagine.ResourcesAndMechanisms.js +73 -0
  76. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.imagine.ResourcesAndMechanisms.js.map +1 -0
  77. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.d.ts +18 -0
  78. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.integration.test.d.ts +1 -0
  79. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.integration.test.js +73 -0
  80. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.integration.test.js.map +1 -0
  81. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.js +62 -0
  82. package/dist/logic/roles/ecologist/distill/.deprecate/distillDomain.refine.ResourcesAndMechanisms.js.map +1 -0
  83. package/dist/logic/roles/ecologist/distill/distillDomain.ActionsAndActors.d.ts +16 -0
  84. package/dist/logic/roles/ecologist/distill/distillDomain.ActionsAndActors.integration.test.d.ts +1 -0
  85. package/dist/logic/roles/ecologist/distill/distillDomain.ActionsAndActors.integration.test.js +120 -0
  86. package/dist/logic/roles/ecologist/distill/distillDomain.ActionsAndActors.integration.test.js.map +1 -0
  87. package/dist/logic/roles/ecologist/distill/distillDomain.ActionsAndActors.js +69 -0
  88. package/dist/logic/roles/ecologist/distill/distillDomain.ActionsAndActors.js.map +1 -0
  89. package/dist/logic/roles/ecologist/getEcologistBrief.Options.codegen.d.ts +10 -0
  90. package/dist/logic/roles/ecologist/getEcologistBrief.Options.codegen.js +39 -0
  91. package/dist/logic/roles/ecologist/getEcologistBrief.Options.codegen.js.map +1 -0
  92. package/dist/logic/roles/ecologist/getEcologistBrief.d.ts +13 -0
  93. package/dist/logic/roles/ecologist/getEcologistBrief.js +21 -0
  94. package/dist/logic/roles/ecologist/getEcologistBrief.js.map +1 -0
  95. package/dist/logic/roles/getRoleRegistry.d.ts +8 -0
  96. package/dist/logic/roles/getRoleRegistry.js +19 -0
  97. package/dist/logic/roles/getRoleRegistry.js.map +1 -0
  98. package/dist/logic/roles/getRoleRegistry.readme.d.ts +5 -0
  99. package/dist/logic/roles/getRoleRegistry.readme.js +75 -0
  100. package/dist/logic/roles/getRoleRegistry.readme.js.map +1 -0
  101. package/dist/logic/roles/mechanic/codediff/getRefOrgPatterns.d.ts +5 -0
  102. package/dist/logic/roles/mechanic/codediff/getRefOrgPatterns.js +22 -0
  103. package/dist/logic/roles/mechanic/codediff/getRefOrgPatterns.js.map +1 -0
  104. package/dist/logic/roles/mechanic/codediff/routeArtistCodeDiff.d.ts +34 -0
  105. package/dist/logic/roles/mechanic/codediff/routeArtistCodeDiff.integration.test.d.ts +1 -0
  106. package/dist/logic/roles/mechanic/codediff/routeArtistCodeDiff.integration.test.js +246 -0
  107. package/dist/logic/roles/mechanic/codediff/routeArtistCodeDiff.integration.test.js.map +1 -0
  108. package/dist/logic/roles/mechanic/codediff/routeArtistCodeDiff.js +56 -0
  109. package/dist/logic/roles/mechanic/codediff/routeArtistCodeDiff.js.map +1 -0
  110. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReview.d.ts +34 -0
  111. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReview.integration.test.d.ts +1 -0
  112. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReview.integration.test.js +144 -0
  113. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReview.integration.test.js.map +1 -0
  114. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReview.js +33 -0
  115. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReview.js.map +1 -0
  116. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReviewArchitecture.d.ts +34 -0
  117. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReviewArchitecture.integration.test.d.ts +1 -0
  118. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReviewArchitecture.integration.test.js +138 -0
  119. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReviewArchitecture.integration.test.js.map +1 -0
  120. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReviewArchitecture.js +49 -0
  121. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReviewArchitecture.js.map +1 -0
  122. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReviewBehavior.d.ts +28 -0
  123. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReviewBehavior.js +35 -0
  124. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReviewBehavior.js.map +1 -0
  125. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReviewCodestyle.d.ts +28 -0
  126. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReviewCodestyle.integration.test.d.ts +1 -0
  127. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReviewCodestyle.integration.test.js +294 -0
  128. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReviewCodestyle.integration.test.js.map +1 -0
  129. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReviewCodestyle.js +44 -0
  130. package/dist/logic/roles/mechanic/codediff/routeCriticCodeReviewCodestyle.js.map +1 -0
  131. package/dist/logic/roles/mechanic/codediff/routeJudgeReleasable.d.ts +38 -0
  132. package/dist/logic/roles/mechanic/codediff/routeJudgeReleasable.integration.test.d.ts +1 -0
  133. package/dist/logic/roles/mechanic/codediff/routeJudgeReleasable.integration.test.js +162 -0
  134. package/dist/logic/roles/mechanic/codediff/routeJudgeReleasable.integration.test.js.map +1 -0
  135. package/dist/logic/roles/mechanic/codediff/routeJudgeReleasable.js +32 -0
  136. package/dist/logic/roles/mechanic/codediff/routeJudgeReleasable.js.map +1 -0
  137. package/dist/logic/roles/mechanic/codediff/routeMechanicCodeIterate.d.ts +56 -0
  138. package/dist/logic/roles/mechanic/codediff/routeMechanicCodeIterate.integration.test.d.ts +1 -0
  139. package/dist/logic/roles/mechanic/codediff/routeMechanicCodeIterate.integration.test.js +169 -0
  140. package/dist/logic/roles/mechanic/codediff/routeMechanicCodeIterate.integration.test.js.map +1 -0
  141. package/dist/logic/roles/mechanic/codediff/routeMechanicCodeIterate.js +30 -0
  142. package/dist/logic/roles/mechanic/codediff/routeMechanicCodeIterate.js.map +1 -0
  143. package/dist/logic/roles/mechanic/codediff/routeMechanicCodePropose.d.ts +53 -0
  144. package/dist/logic/roles/mechanic/codediff/routeMechanicCodePropose.integration.test.d.ts +1 -0
  145. package/dist/logic/roles/mechanic/codediff/routeMechanicCodePropose.integration.test.js +203 -0
  146. package/dist/logic/roles/mechanic/codediff/routeMechanicCodePropose.integration.test.js.map +1 -0
  147. package/dist/logic/roles/mechanic/codediff/routeMechanicCodePropose.js +72 -0
  148. package/dist/logic/roles/mechanic/codediff/routeMechanicCodePropose.js.map +1 -0
  149. package/dist/logic/roles/mechanic/getMechanicBrief.Options.codegen.d.ts +10 -0
  150. package/dist/logic/roles/mechanic/getMechanicBrief.Options.codegen.js +35 -0
  151. package/dist/logic/roles/mechanic/getMechanicBrief.Options.codegen.js.map +1 -0
  152. package/dist/logic/roles/mechanic/getMechanicBrief.d.ts +13 -0
  153. package/dist/logic/roles/mechanic/getMechanicBrief.js +21 -0
  154. package/dist/logic/roles/mechanic/getMechanicBrief.js.map +1 -0
  155. package/dist/logic/roles/mechanic/getMechanicRole.d.ts +2 -0
  156. package/dist/logic/roles/mechanic/getMechanicRole.js +157 -0
  157. package/dist/logic/roles/mechanic/getMechanicRole.js.map +1 -0
  158. package/dist/logic/roles/mechanic/study/routeStudyAsk.d.ts +19 -0
  159. package/dist/logic/roles/mechanic/study/routeStudyAsk.integration.test.d.ts +1 -0
  160. package/dist/logic/roles/mechanic/study/routeStudyAsk.integration.test.js +98 -0
  161. package/dist/logic/roles/mechanic/study/routeStudyAsk.integration.test.js.map +1 -0
  162. package/dist/logic/roles/mechanic/study/routeStudyAsk.js +30 -0
  163. package/dist/logic/roles/mechanic/study/routeStudyAsk.js.map +1 -0
  164. package/package.json +95 -0
  165. package/readme.md +110 -0
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const uni_time_1 = require("@ehmpathy/uni-time");
4
+ const rhachet_1 = require("rhachet");
5
+ const rhachet_artifact_git_1 = require("rhachet-artifact-git");
6
+ const test_fns_1 = require("test-fns");
7
+ const genContextLogTrail_1 = require("../../../../.test/genContextLogTrail");
8
+ const genContextStitchTrail_1 = require("../../../../.test/genContextStitchTrail");
9
+ const getContextOpenAI_1 = require("../../../../.test/getContextOpenAI");
10
+ const loopOutlineRoadmap_1 = require("./loopOutlineRoadmap");
11
+ jest.setTimeout((0, uni_time_1.toMilliseconds)({ minutes: 30 }));
12
+ describe('loopOutlineRoadmap', () => {
13
+ const context = {
14
+ ...(0, genContextLogTrail_1.genContextLogTrail)(),
15
+ ...(0, genContextStitchTrail_1.genContextStitchTrail)(),
16
+ ...(0, getContextOpenAI_1.getContextOpenAI)(),
17
+ };
18
+ const route = loopOutlineRoadmap_1.loopOutlineRoadmap;
19
+ (0, test_fns_1.given)('we want to create the rhachet cli', () => {
20
+ const askText = `
21
+ i need to outline a design for a npm typescript cli which calls an existingp rocedure within my repo
22
+
23
+ the product spec is
24
+
25
+ 1. register the "roles" and "skills" that we can access (w/ readme's)
26
+ 2. invoke the roles and skills via cli (e.g., \`npx rhachet -r mechanic -s produce -t target/file/path -a "the ask to execute against\`)
27
+
28
+ note
29
+ - dynamic registration is NOT required. we can declare the RoleRegistry at devtime. the cli can then getRoleRegistry and use it at runtime.
30
+ `.trim();
31
+ const roadmapArt = (0, rhachet_artifact_git_1.genArtifactGitFile)({
32
+ uri: __dirname + '/.temp/loopOutlineRoadmap/rhachetCli.roadmap.md',
33
+ }, { versions: true });
34
+ const feedbackArt = (0, rhachet_artifact_git_1.genArtifactGitFile)({
35
+ uri: __dirname + '/.temp/loopOutlineRoadmap/rhachetCli.feedback.md',
36
+ }, { versions: true });
37
+ beforeEach(async () => {
38
+ await roadmapArt.del();
39
+ });
40
+ (0, test_fns_1.when)('executed', () => {
41
+ const threads = (0, test_fns_1.usePrep)(async () => ({
42
+ designer: await (0, rhachet_1.enrollThread)({
43
+ role: 'designer',
44
+ stash: {
45
+ ask: askText,
46
+ art: {
47
+ roadmap: roadmapArt,
48
+ },
49
+ },
50
+ }),
51
+ caller: await (0, rhachet_1.enrollThread)({
52
+ role: 'caller',
53
+ stash: {
54
+ ask: askText,
55
+ art: {
56
+ feedback: feedbackArt,
57
+ },
58
+ },
59
+ }),
60
+ }));
61
+ (0, test_fns_1.then)('updates the usecases artifact', async () => {
62
+ const outcome = await (0, rhachet_1.enweaveOneStitcher)({ stitcher: route, threads }, context);
63
+ console.log(JSON.stringify(outcome, null, 2));
64
+ const { content } = await roadmapArt.get().expect('isPresent');
65
+ expect(content).toMatch(/cli/i);
66
+ expect(content).toMatch(/role/i);
67
+ });
68
+ });
69
+ });
70
+ });
71
+ //# sourceMappingURL=loopOutlineRoadmap.integration.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loopOutlineRoadmap.integration.test.js","sourceRoot":"","sources":["../../../../../src/logic/roles/designer/outlineRoadmap/loopOutlineRoadmap.integration.test.ts"],"names":[],"mappings":";;AAAA,iDAAoD;AACpD,qCAA2D;AAC3D,+DAA0D;AAC1D,uCAAsD;AAEtD,6EAA0E;AAC1E,mFAAgF;AAChF,yEAAsE;AACtE,6DAA0D;AAE1D,IAAI,CAAC,UAAU,CAAC,IAAA,yBAAc,EAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;AAEjD,QAAQ,CAAC,oBAAoB,EAAE,GAAG,EAAE;IAClC,MAAM,OAAO,GAAG;QACd,GAAG,IAAA,uCAAkB,GAAE;QACvB,GAAG,IAAA,6CAAqB,GAAE;QAC1B,GAAG,IAAA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,CACR,CAAC;gBAEF,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;gBAE9C,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,UAAU,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;gBAC/D,MAAM,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;gBAChC,MAAM,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACnC,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.loopOutlineRoadmap = void 0;
4
+ const rhachet_1 = require("rhachet");
5
+ const genStepGrabCallerFeedbackToArtifact_1 = require("../../../artifact/genStepGrabCallerFeedbackToArtifact");
6
+ const stepOutlineRoadmap_1 = require("./stepOutlineRoadmap");
7
+ /**
8
+ * .what = await feedback
9
+ */
10
+ const stepGetFeedback = (0, genStepGrabCallerFeedbackToArtifact_1.genStepGrabCallerFeedbackToArtifact)({
11
+ stitchee: 'designer',
12
+ artee: 'roadmap',
13
+ });
14
+ /**
15
+ * .what = iteration of imagine + feedback
16
+ */
17
+ const routeImagineThenFeedback = (0, rhachet_1.asStitcher)((0, rhachet_1.genStitchRoute)({
18
+ slug: '[designer]<outline>[roadmap]<iterate>-><feedback>',
19
+ readme: '@[designer]<outline>[roadmap] then @[caller]<feedback>',
20
+ sequence: [stepOutlineRoadmap_1.stepOutlineRoadmap, stepGetFeedback],
21
+ }));
22
+ /**
23
+ * .what = looks at feedback artifact to decide whether to repeat or halt
24
+ */
25
+ const stepDecideHasNotes = new rhachet_1.StitchStepCompute({
26
+ form: 'COMPUTE',
27
+ slug: `[caller]<feedback><hasNotes?>`,
28
+ stitchee: 'caller',
29
+ readme: 'checks if the last feedback was null (no notes)',
30
+ invoke: async ({ threads }) => {
31
+ const feedback = await threads.caller.context.stash.art.feedback.get();
32
+ return {
33
+ input: { feedback },
34
+ output: { choice: feedback ? 'repeat' : 'release' },
35
+ };
36
+ },
37
+ });
38
+ /**
39
+ * .what = loop until caller confirms no more notes
40
+ * todo: generalize this loop wrapper onto any stitcher
41
+ */
42
+ exports.loopOutlineRoadmap = (0, rhachet_1.asStitcherFlat)((0, rhachet_1.genStitchCycle)({
43
+ slug: '[designer]<outline>[roadmap]<🌀loop>',
44
+ readme: '@[designer]<outline> -> @[caller]<feedback> -> { notes? repeat, none?: <release>[roadmap] }',
45
+ repeatee: routeImagineThenFeedback,
46
+ decider: stepDecideHasNotes,
47
+ halter: {
48
+ threshold: {
49
+ repetitions: 10,
50
+ },
51
+ },
52
+ }));
53
+ //# sourceMappingURL=loopOutlineRoadmap.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loopOutlineRoadmap.js","sourceRoot":"","sources":["../../../../../src/logic/roles/designer/outlineRoadmap/loopOutlineRoadmap.ts"],"names":[],"mappings":";;;AAAA,qCASiB;AAKjB,+GAA4G;AAC5G,6DAA0D;AA6B1D;;GAEG;AACH,MAAM,eAAe,GAAG,IAAA,yEAAmC,EAAC;IAC1D,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,SAAS;CACjB,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,wBAAwB,GAAG,IAAA,oBAAU,EACzC,IAAA,wBAAc,EAAC;IACb,IAAI,EAAE,mDAAmD;IACzD,MAAM,EAAE,wDAAwD;IAChE,QAAQ,EAAE,CAAC,uCAAkB,EAAE,eAAe,CAAC;CAChD,CAAC,CACH,CAAC;AAEF;;GAEG;AACH,MAAM,kBAAkB,GAAG,IAAI,2BAAiB,CAM9C;IACA,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,+BAA+B;IACrC,QAAQ,EAAE,QAAQ;IAClB,MAAM,EAAE,iDAAiD;IACzD,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;QAC5B,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC;QACvE,OAAO;YACL,KAAK,EAAE,EAAE,QAAQ,EAAE;YACnB,MAAM,EAAE,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,EAAE;SACpD,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH;;;GAGG;AACU,QAAA,kBAAkB,GAAG,IAAA,wBAAc,EAC9C,IAAA,wBAAc,EAAC;IACb,IAAI,EAAE,sCAAsC;IAC5C,MAAM,EACJ,6FAA6F;IAC/F,QAAQ,EAAE,wBAAwB;IAClC,OAAO,EAAE,kBAAkB;IAC3B,MAAM,EAAE;QACN,SAAS,EAAE;YACT,WAAW,EAAE,EAAE;SAChB;KACF;CACF,CAAC,CACH,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { GStitcher, Threads, RoleContext } from 'rhachet';
2
+ import { Artifact } from 'rhachet-artifact';
3
+ import { GitFile } from 'rhachet-artifact-git';
4
+ import { ContextOpenAI } from '../../../../data/sdk/sdkOpenAi';
5
+ type StitcherDesired = GStitcher<Threads<{
6
+ designer: RoleContext<'designer', {
7
+ ask: string;
8
+ art: {
9
+ roadmap: Artifact<typeof GitFile>;
10
+ };
11
+ }>;
12
+ caller: RoleContext<'caller', {
13
+ ask: string;
14
+ art: {
15
+ feedback: Artifact<typeof GitFile>;
16
+ };
17
+ }>;
18
+ }>, ContextOpenAI & GStitcher['context'], {
19
+ content: string;
20
+ }>;
21
+ export declare const stepOutlineRoadmap: import("rhachet").Stitcher<StitcherDesired>;
22
+ export {};
@@ -0,0 +1,130 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const uni_time_1 = require("@ehmpathy/uni-time");
4
+ const rhachet_1 = require("rhachet");
5
+ const rhachet_artifact_git_1 = require("rhachet-artifact-git");
6
+ const test_fns_1 = require("test-fns");
7
+ const genContextLogTrail_1 = require("../../../../.test/genContextLogTrail");
8
+ const genContextStitchTrail_1 = require("../../../../.test/genContextStitchTrail");
9
+ const getContextOpenAI_1 = require("../../../../.test/getContextOpenAI");
10
+ const stepOutlineRoadmap_1 = require("./stepOutlineRoadmap");
11
+ jest.setTimeout((0, uni_time_1.toMilliseconds)({ minutes: 3 }));
12
+ describe('stepOutlineRoadmap', () => {
13
+ const context = {
14
+ ...(0, genContextLogTrail_1.genContextLogTrail)(),
15
+ ...(0, genContextStitchTrail_1.genContextStitchTrail)(),
16
+ ...(0, getContextOpenAI_1.getContextOpenAI)(),
17
+ };
18
+ const route = stepOutlineRoadmap_1.stepOutlineRoadmap;
19
+ (0, test_fns_1.given)('we want to create the rhachet cli, from scratch', () => {
20
+ const askText = `
21
+ i need to outline a design for a npm typescript cli which calls an existingp rocedure within my repo
22
+
23
+ the product spec is
24
+
25
+ 1. register the "roles" and "skills" that we can access (w/ readme's)
26
+ 2. invoke the roles and skills via cli (e.g., \`npx rhachet -r mechanic -s produce -t target/file/path -a "the ask to execute against\`)
27
+
28
+ note
29
+ - no dynamic registration. we'll register the skills and roles at devtime
30
+ - at registration, each skill and role shoudl get a mini readme, declared at the registration point
31
+ `.trim();
32
+ const roadmapArt = (0, rhachet_artifact_git_1.genArtifactGitFile)({
33
+ uri: __dirname +
34
+ '/.temp/stepOutlineRoadmap/rhachetCli.fromscratch.roadmap.md',
35
+ }, { versions: true });
36
+ const feedbackArt = (0, rhachet_artifact_git_1.genArtifactGitFile)({
37
+ uri: __dirname +
38
+ '/.temp/stepOutlineRoadmap/rhachetCli.fromscratch.feedback.md',
39
+ }, { versions: true });
40
+ beforeEach(async () => {
41
+ await roadmapArt.del();
42
+ });
43
+ (0, test_fns_1.when)('executed', () => {
44
+ const threads = (0, test_fns_1.usePrep)(async () => ({
45
+ designer: await (0, rhachet_1.enrollThread)({
46
+ role: 'designer',
47
+ stash: {
48
+ ask: askText,
49
+ art: {
50
+ roadmap: roadmapArt,
51
+ },
52
+ },
53
+ }),
54
+ caller: await (0, rhachet_1.enrollThread)({
55
+ role: 'caller',
56
+ stash: {
57
+ ask: askText,
58
+ art: {
59
+ feedback: feedbackArt,
60
+ },
61
+ },
62
+ }),
63
+ }));
64
+ (0, test_fns_1.then)('updates the usecases artifact', async () => {
65
+ const outcome = await (0, rhachet_1.enweaveOneStitcher)({ stitcher: route, threads }, context);
66
+ console.log(JSON.stringify(outcome, null, 2));
67
+ const { content } = await roadmapArt.get().expect('isPresent');
68
+ expect(content).toMatch(/cli/i);
69
+ expect(content).toMatch(/role/i);
70
+ });
71
+ });
72
+ });
73
+ (0, test_fns_1.given)('we want to create the rhachet cli, with feedback on prior proposal', () => {
74
+ const askText = `
75
+ i need to outline a design for a npm typescript cli which calls an existingp rocedure within my repo
76
+
77
+ the product spec is
78
+
79
+ 1. register the "roles" and "skills" that we can access (w/ readme's)
80
+ 2. invoke the roles and skills via cli (e.g., \`npx rhachet -r mechanic -s produce -t target/file/path -a "the ask to execute against\`)
81
+ `.trim();
82
+ const roadmapPriorArt = (0, rhachet_artifact_git_1.genArtifactGitFile)({
83
+ uri: __dirname + '/.test/rhachetCli.roadmap.example.md',
84
+ }, { access: 'readonly' });
85
+ const roadmapArt = (0, rhachet_artifact_git_1.genArtifactGitFile)({
86
+ uri: __dirname +
87
+ '/.temp/stepOutlineRoadmap/rhachetCli.withfeedback.roadmap.md',
88
+ }, { versions: true });
89
+ const feedbackArt = (0, rhachet_artifact_git_1.genArtifactGitFile)({
90
+ uri: __dirname +
91
+ '/.temp/stepOutlineRoadmap/rhachetCli.withfeedback.feedback.md',
92
+ }, { versions: true });
93
+ beforeEach(async () => {
94
+ await roadmapArt.set(await roadmapPriorArt.get().expect('isPresent')); // bootstrap the prior roadmap
95
+ await feedbackArt.set({
96
+ content: 'move the registry under /contract/cli/registry.ts, since its only used for the cli',
97
+ });
98
+ });
99
+ (0, test_fns_1.when)('executed', () => {
100
+ const threads = (0, test_fns_1.usePrep)(async () => ({
101
+ designer: await (0, rhachet_1.enrollThread)({
102
+ role: 'designer',
103
+ stash: {
104
+ ask: askText,
105
+ art: {
106
+ roadmap: roadmapArt,
107
+ },
108
+ },
109
+ }),
110
+ caller: await (0, rhachet_1.enrollThread)({
111
+ role: 'caller',
112
+ stash: {
113
+ ask: askText,
114
+ art: {
115
+ feedback: feedbackArt,
116
+ },
117
+ },
118
+ }),
119
+ }));
120
+ (0, test_fns_1.then)('updates the usecases artifact', async () => {
121
+ const outcome = await (0, rhachet_1.enweaveOneStitcher)({ stitcher: route, threads }, context);
122
+ console.log(JSON.stringify(outcome, null, 2));
123
+ const { content } = await roadmapArt.get().expect('isPresent');
124
+ expect(content).toMatch(/cli/i);
125
+ expect(content).toMatch(/role/i);
126
+ });
127
+ });
128
+ });
129
+ });
130
+ //# sourceMappingURL=stepOutlineRoadmap.integration.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stepOutlineRoadmap.integration.test.js","sourceRoot":"","sources":["../../../../../src/logic/roles/designer/outlineRoadmap/stepOutlineRoadmap.integration.test.ts"],"names":[],"mappings":";;AAAA,iDAAoD;AACpD,qCAA2D;AAC3D,+DAA0D;AAC1D,uCAAsD;AAEtD,6EAA0E;AAC1E,mFAAgF;AAChF,yEAAsE;AACtE,6DAA0D;AAE1D,IAAI,CAAC,UAAU,CAAC,IAAA,yBAAc,EAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAEhD,QAAQ,CAAC,oBAAoB,EAAE,GAAG,EAAE;IAClC,MAAM,OAAO,GAAG;QACd,GAAG,IAAA,uCAAkB,GAAE;QACvB,GAAG,IAAA,6CAAqB,GAAE;QAC1B,GAAG,IAAA,mCAAgB,GAAE;KACtB,CAAC;IACF,MAAM,KAAK,GAAG,uCAAkB,CAAC;IAEjC,IAAA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E,CAAC,CAAC;gBACnC,QAAQ,EAAE,MAAM,IAAA,sBAAY,EAAC;oBAC3B,IAAI,EAAE,UAAU;oBAChB,KAAK,EAAE;wBACL,GAAG,EAAE,OAAO;wBACZ,GAAG,EAAE;4BACH,OAAO,EAAE,UAAU;yBACpB;qBACF;iBACF,CAAC;gBACF,MAAM,EAAE,MAAM,IAAA,sBAAY,EAAC;oBACzB,IAAI,EAAE,QAAQ;oBACd,KAAK,EAAE;wBACL,GAAG,EAAE,OAAO;wBACZ,GAAG,EAAE;4BACH,QAAQ,EAAE,WAAW;yBACtB;qBACF;iBACF,CAAC;aACH,CAAC,CAAC,CAAC;YAEJ,IAAA,eAAI,EAAC,+BAA+B,EAAE,KAAK,IAAI,EAAE;gBAC/C,MAAM,OAAO,GAAG,MAAM,IAAA,4BAAkB,EACtC,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,EAC5B,OAAO,CACR,CAAC;gBAEF,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;gBAE9C,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,UAAU,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;gBAC/D,MAAM,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;gBAChC,MAAM,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACnC,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC,CACF,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.stepOutlineRoadmap = void 0;
4
+ const rhachet_1 = require("rhachet");
5
+ const sdkOpenAi_1 = require("../../../../data/sdk/sdkOpenAi");
6
+ const genStepArtSet_1 = require("../../../artifact/genStepArtSet");
7
+ const getEcologistBrief_1 = require("../../ecologist/getEcologistBrief");
8
+ const getMechanicBrief_1 = require("../../mechanic/getMechanicBrief");
9
+ const getDesignerBrief_1 = require("../getDesignerBrief");
10
+ const template = (0, rhachet_1.genTemplate)({
11
+ ref: { uri: __filename.replace('.ts', '.template.md') },
12
+ getVariables: async ({ threads }) => ({
13
+ ...(await (0, rhachet_1.getTemplateVarsFromRoleInherit)({ thread: threads.designer })),
14
+ ask: threads.designer.context.stash.ask,
15
+ briefs: await (0, rhachet_1.getTemplateValFromArtifacts)({
16
+ artifacts: [
17
+ // cool to see explicit "cross-train" scenes
18
+ ...(0, getEcologistBrief_1.getEcologistBriefs)(['distilisys.md']),
19
+ ...(0, getDesignerBrief_1.getDesignerBriefs)(['declarative-over-imperative.md']),
20
+ ...(0, getMechanicBrief_1.getMechanicBriefs)([
21
+ 'architecture/ubiqlang.md',
22
+ 'style.names.treestruct.md',
23
+ 'architecture/directional-dependencies.md',
24
+ 'architecture/bounded-contexts.md',
25
+ ]),
26
+ ],
27
+ }),
28
+ feedback: (await threads.caller.context.stash.art.feedback.get())?.content ?? '',
29
+ inflight: (await threads.designer.context.stash.art.roadmap.get())?.content ?? '',
30
+ }),
31
+ });
32
+ const stepImagine = (0, rhachet_1.genStepImagineViaTemplate)({
33
+ slug: '[designer]<outline>[roadmap]<imagine>',
34
+ stitchee: 'designer',
35
+ readme: 'intent(design an outline.roadmap for the ask)',
36
+ template,
37
+ imagine: sdkOpenAi_1.sdkOpenAi.imagine,
38
+ });
39
+ const stepArtSet = (0, genStepArtSet_1.genStepArtSet)({
40
+ stitchee: 'designer',
41
+ artee: 'roadmap',
42
+ });
43
+ exports.stepOutlineRoadmap = (0, rhachet_1.asStitcherFlat)((0, rhachet_1.genStitchRoute)({
44
+ slug: '[designer]<outline>[roadmap]',
45
+ readme: '@[designer]<outline>[roadmap] -> [roadmap]',
46
+ sequence: [stepImagine, stepArtSet],
47
+ }));
48
+ //# sourceMappingURL=stepOutlineRoadmap.js.map
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CACH,CAAC,CAAC;AAEH,MAAM,WAAW,GAAG,IAAA,mCAAyB,EAAkB;IAC7D,IAAI,EAAE,uCAAuC;IAC7C,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,+CAA+C;IACvD,QAAQ;IACR,OAAO,EAAE,qBAAS,CAAC,OAAO;CAC3B,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,IAAA,6BAAa,EAAC;IAC/B,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,SAAS;CACjB,CAAC,CAAC;AAEU,QAAA,kBAAkB,GAAG,IAAA,wBAAc,EAC9C,IAAA,wBAAc,EAAC;IACb,IAAI,EAAE,8BAA8B;IACpC,MAAM,EAAE,4CAA4C;IACpD,QAAQ,EAAE,CAAC,WAAW,EAAE,UAAU,CAAC;CACpC,CAAC,CACH,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { GStitcher, Threads } from 'rhachet';
2
+ import { RoleContext } from 'rhachet';
3
+ import { Artifact } from 'rhachet-artifact';
4
+ import { GitFile } from 'rhachet-artifact-git';
5
+ import { ContextOpenAI } from '../../../../../data/sdk/sdkOpenAi';
6
+ type StitcherDesired = GStitcher<Threads<{
7
+ student: RoleContext<'student', {
8
+ ask: string;
9
+ art: {
10
+ distilledResourcesAndMechanisms: Artifact<typeof GitFile>;
11
+ };
12
+ }>;
13
+ }>, ContextOpenAI & GStitcher['context'], {
14
+ content: string;
15
+ }>;
16
+ export declare const distillDomainExpandResourcesAndMechanisms: import("rhachet").Stitcher<StitcherDesired>;
17
+ export {};
@@ -0,0 +1,107 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const rhachet_1 = require("rhachet");
4
+ const rhachet_2 = require("rhachet");
5
+ const rhachet_artifact_git_1 = require("rhachet-artifact-git");
6
+ const test_fns_1 = require("test-fns");
7
+ const test_fns_2 = require("test-fns");
8
+ const genContextLogTrail_1 = require("../../../../../.test/genContextLogTrail");
9
+ const genContextStitchTrail_1 = require("../../../../../.test/genContextStitchTrail");
10
+ const getContextOpenAI_1 = require("../../../../../.test/getContextOpenAI");
11
+ const distillDomain_expand_ResourcesAndMechanisms_1 = require("./distillDomain.expand.ResourcesAndMechanisms");
12
+ describe('distillDomainExpandResourcesAndMechanisms', () => {
13
+ const context = {
14
+ ...(0, genContextLogTrail_1.genContextLogTrail)(),
15
+ ...(0, genContextStitchTrail_1.genContextStitchTrail)(),
16
+ ...(0, getContextOpenAI_1.getContextOpenAI)(),
17
+ };
18
+ const route = distillDomain_expand_ResourcesAndMechanisms_1.distillDomainExpandResourcesAndMechanisms;
19
+ (0, test_fns_1.given)('we want to getSchedulableWindows for a pro', () => {
20
+ const askText = `
21
+ we want to add an endpoint to getSchedulableWindows for a pro
22
+
23
+ we think we should operate per pro.crew, since each crew has its own availability
24
+
25
+ we'll need to track:
26
+ - availabilities
27
+ - appointments
28
+
29
+ we'll need to know:
30
+ - per job, the required appointment duration
31
+ - given current appointments + availabilities, which windows are schedulable
32
+
33
+ also, we'll want to refine the terms used to eliminate ambiguity, but this is a starter point. greenfield terms
34
+ `.trim();
35
+ const distillateArt = (0, rhachet_artifact_git_1.genArtifactGitFile)({
36
+ uri: __dirname +
37
+ '/.temp/distillDomain/ResourcesAndMechanisms/getSchedulableWindows.expanded.md',
38
+ }, {
39
+ versions: true,
40
+ });
41
+ const distillate2Art = (0, rhachet_artifact_git_1.genArtifactGitFile)({
42
+ uri: __dirname +
43
+ '/.temp/distillDomain/ResourcesAndMechanisms/getSchedulableWindows.expandedAgain.md',
44
+ }, {
45
+ versions: true,
46
+ });
47
+ const sofarArt = (0, rhachet_artifact_git_1.genArtifactGitFile)({
48
+ uri: __dirname +
49
+ '/.test/getSchedulableWindows.distillate.resourcesAndMechanisms.json',
50
+ }, { access: 'readonly' });
51
+ beforeEach(async () => {
52
+ await distillateArt.set({
53
+ content: (await sofarArt.get().expect('isPresent')).content, // set the current distillate to a prior version of what we found "so far"
54
+ });
55
+ });
56
+ (0, test_fns_1.when)('executed', () => {
57
+ const threads = (0, test_fns_2.usePrep)(async () => ({
58
+ student: await (0, rhachet_2.enrollThread)({
59
+ role: 'student',
60
+ stash: {
61
+ ask: askText,
62
+ art: {
63
+ distilledResourcesAndMechanisms: distillateArt,
64
+ // domainTerms: null,
65
+ // domainBounds: null,
66
+ },
67
+ },
68
+ }),
69
+ }));
70
+ (0, test_fns_1.then)('updates the usecases artifact', async () => {
71
+ const outcome = await (0, rhachet_1.enweaveOneStitcher)({ stitcher: route, threads }, context);
72
+ console.log(JSON.stringify(outcome, null, 2));
73
+ const { content } = await distillateArt.get().expect('isPresent');
74
+ expect(content).toContain('"resources":');
75
+ expect(content).toContain('"mechanisms":');
76
+ });
77
+ });
78
+ (0, test_fns_1.when)('executed again', () => {
79
+ const threads = (0, test_fns_2.usePrep)(async () => ({
80
+ student: await (0, rhachet_2.enrollThread)({
81
+ role: 'student',
82
+ stash: {
83
+ ask: askText,
84
+ art: {
85
+ distilledResourcesAndMechanisms: distillate2Art,
86
+ // domainTerms: null,
87
+ // domainBounds: null,
88
+ },
89
+ },
90
+ }),
91
+ }));
92
+ beforeEach(async () => {
93
+ await distillate2Art.set({
94
+ content: (await distillateArt.get().expect('isPresent')).content, // set the "distillate2" to the latest from the output above
95
+ });
96
+ });
97
+ (0, test_fns_1.then)('updates the usecases artifact', async () => {
98
+ const outcome = await (0, rhachet_1.enweaveOneStitcher)({ stitcher: route, threads }, context);
99
+ console.log(JSON.stringify(outcome, null, 2));
100
+ const { content } = await distillateArt.get().expect('isPresent');
101
+ expect(content).toContain('"resources":');
102
+ expect(content).toContain('"mechanisms":');
103
+ });
104
+ });
105
+ });
106
+ });
107
+ //# sourceMappingURL=distillDomain.expand.ResourcesAndMechanisms.integration.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"distillDomain.expand.ResourcesAndMechanisms.integration.test.js","sourceRoot":"","sources":["../../../../../../src/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.integration.test.ts"],"names":[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,CAAC,GAAG,CAAC;oBACvB,OAAO,EAAE,CAAC,MAAM,aAAa,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,EAAE,4DAA4D;iBAC/H,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;YAEH,IAAA,eAAI,EAAC,+BAA+B,EAAE,KAAK,IAAI,EAAE;gBAC/C,MAAM,OAAO,GAAG,MAAM,IAAA,4BAAkB,EACtC,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,EAC5B,OAAO,CACR,CAAC;gBAEF,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;gBAE9C,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,aAAa,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;gBAClE,MAAM,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;gBAC1C,MAAM,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC;YAC7C,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.distillDomainExpandResourcesAndMechanisms = void 0;
4
+ const rhachet_1 = require("rhachet");
5
+ const rhachet_2 = require("rhachet");
6
+ const rhachet_3 = require("rhachet");
7
+ const rhachet_4 = require("rhachet");
8
+ const rhachet_5 = require("rhachet");
9
+ const sdkOpenAi_1 = require("../../../../../data/sdk/sdkOpenAi");
10
+ const genStepArtSet_1 = require("../../../../artifact/genStepArtSet");
11
+ const getMechanicBrief_1 = require("../../../mechanic/getMechanicBrief");
12
+ const getEcologistBrief_1 = require("../../getEcologistBrief");
13
+ const template = (0, rhachet_3.genTemplate)({
14
+ ref: { uri: __filename.replace('.ts', '.template.md') },
15
+ getVariables: async ({ threads }) => ({
16
+ ...(await (0, rhachet_5.getTemplateVarsFromRoleInherit)({ thread: threads.student })),
17
+ ask: threads.student.context.stash.ask,
18
+ ecologist: {
19
+ briefs: await (0, rhachet_4.getTemplateValFromArtifacts)({
20
+ artifacts: [
21
+ ...(0, getMechanicBrief_1.getMechanicBriefs)([
22
+ 'architecture/ubiqlang.md',
23
+ 'architecture/domain-driven-design.md',
24
+ ]),
25
+ ...(0, getEcologistBrief_1.getEcologistBriefs)([
26
+ 'distilisys.md',
27
+ 'distill.refine.terms.ubiqlang.md',
28
+ 'analysis.behavior-reveals-system.md',
29
+ 'core.term.price.v2.md',
30
+ // 'eco001.overview.md',
31
+ 'eco101.core-system-understanding.md',
32
+ 'eco505.systems-thinking.md',
33
+ // 'econ001.overview.md',
34
+ 'econ101.core-mechanics.md',
35
+ 'econ501.p1.game-theory.md',
36
+ 'econ501.p4.behavioral-economics.md',
37
+ ]),
38
+ ],
39
+ }),
40
+ },
41
+ domain: {
42
+ // terms:
43
+ // (
44
+ // await threads.student.context.stash.art.domainTerms
45
+ // ?.get()
46
+ // .expect('isPresent')
47
+ // )?.content ?? 'none relevant',
48
+ // bounds:
49
+ // (
50
+ // await threads.student.context.stash.art.domainBounds
51
+ // ?.get()
52
+ // .expect('isPresent')
53
+ // )?.content ?? 'none relevant',
54
+ },
55
+ inflight: (await threads.student.context.stash.art.distilledResourcesAndMechanisms
56
+ .get()
57
+ .expect('isPresent')).content,
58
+ }),
59
+ });
60
+ const stepStudyAskExpand = (0, rhachet_2.genStepImagineViaTemplate)({
61
+ slug: '[student]<distill>[domain][resources+mechanisms]<expand>',
62
+ stitchee: 'student',
63
+ readme: 'intent(expand on the imagined resources and mechanisms of a domain)',
64
+ template,
65
+ imagine: sdkOpenAi_1.sdkOpenAi.imagine,
66
+ });
67
+ const stepArtSet = (0, genStepArtSet_1.genStepArtSet)({
68
+ stitchee: 'student',
69
+ artee: 'distilledResourcesAndMechanisms',
70
+ });
71
+ exports.distillDomainExpandResourcesAndMechanisms = (0, rhachet_1.asStitcherFlat)((0, rhachet_1.genStitchRoute)({
72
+ slug: '[student]<distill>[domain][resources+mechanisms]<expand>',
73
+ readme: '@[student]<distill>[domain][resources+mechanisms]<expand> -> [[domain.claims]]s',
74
+ sequence: [stepStudyAskExpand, stepArtSet],
75
+ }));
76
+ //# sourceMappingURL=distillDomain.expand.ResourcesAndMechanisms.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"distillDomain.expand.ResourcesAndMechanisms.js","sourceRoot":"","sources":["../../../../../../src/logic/roles/ecologist/distill/.deprecate/distillDomain.expand.ResourcesAndMechanisms.ts"],"names":[],"mappings":";;;AAAA,qCAA6E;AAE7E,qCAAoD;AACpD,qCAAsC;AACtC,qCAAsD;AACtD,qCAAyD;AAIzD,iEAA6E;AAC7E,sEAAmE;AACnE,yEAAuE;AACvE,+DAA6D;AAoB7D,MAAM,QAAQ,GAAG,IAAA,qBAAW,EAA6B;IACvD,GAAG,EAAE,EAAE,GAAG,EAAE,UAAU,CAAC,OAAO,CAAC,KAAK,EAAE,cAAc,CAAC,EAAE;IACvD,YAAY,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAAC;QACpC,GAAG,CAAC,MAAM,IAAA,wCAA8B,EAAC,EAAE,MAAM,EAAE,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;QACtE,GAAG,EAAE,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG;QACtC,SAAS,EAAE;YACT,MAAM,EAAE,MAAM,IAAA,qCAA2B,EAAC;gBACxC,SAAS,EAAE;oBACT,GAAG,IAAA,oCAAiB,EAAC;wBACnB,0BAA0B;wBAC1B,sCAAsC;qBACvC,CAAC;oBACF,GAAG,IAAA,sCAAkB,EAAC;wBACpB,eAAe;wBACf,kCAAkC;wBAClC,qCAAqC;wBACrC,uBAAuB;wBACvB,wBAAwB;wBACxB,qCAAqC;wBACrC,4BAA4B;wBAC5B,yBAAyB;wBACzB,2BAA2B;wBAC3B,2BAA2B;wBAC3B,oCAAoC;qBACrC,CAAC;iBACH;aACF,CAAC;SACH;QACD,MAAM,EAAE;QACN,SAAS;QACT,MAAM;QACN,0DAA0D;QAC1D,gBAAgB;QAChB,6BAA6B;QAC7B,mCAAmC;QACnC,UAAU;QACV,MAAM;QACN,2DAA2D;QAC3D,gBAAgB;QAChB,6BAA6B;QAC7B,mCAAmC;SACpC;QACD,QAAQ,EAAE,CACR,MAAM,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,+BAA+B;aACpE,GAAG,EAAE;aACL,MAAM,CAAC,WAAW,CAAC,CACvB,CAAC,OAAO;KACV,CAAC;CACH,CAAC,CAAC;AAEH,MAAM,kBAAkB,GAAG,IAAA,mCAAyB,EAAkB;IACpE,IAAI,EAAE,0DAA0D;IAChE,QAAQ,EAAE,SAAS;IACnB,MAAM,EAAE,qEAAqE;IAC7E,QAAQ;IACR,OAAO,EAAE,qBAAS,CAAC,OAAO;CAC3B,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,IAAA,6BAAa,EAAC;IAC/B,QAAQ,EAAE,SAAS;IACnB,KAAK,EAAE,iCAAiC;CACzC,CAAC,CAAC;AAEU,QAAA,yCAAyC,GACpD,IAAA,wBAAc,EACZ,IAAA,wBAAc,EAAC;IACb,IAAI,EAAE,0DAA0D;IAChE,MAAM,EACJ,iFAAiF;IACnF,QAAQ,EAAE,CAAC,kBAAkB,EAAE,UAAU,CAAC;CAC3C,CAAC,CACH,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { GStitcher, Threads } from 'rhachet';
2
+ import { RoleContext } from 'rhachet';
3
+ import { Artifact } from 'rhachet-artifact';
4
+ import { GitFile } from 'rhachet-artifact-git';
5
+ import { ContextOpenAI } from '../../../../../data/sdk/sdkOpenAi';
6
+ type StitcherDesired = GStitcher<Threads<{
7
+ student: RoleContext<'student', {
8
+ ask: string;
9
+ art: {
10
+ distilledResourcesAndMechanisms: Artifact<typeof GitFile>;
11
+ };
12
+ }>;
13
+ }>, ContextOpenAI & GStitcher['context'], {
14
+ content: string;
15
+ }>;
16
+ export declare const distillDomainImagineResourcesAndMechanisms: import("rhachet").Stitcher<StitcherDesired>;
17
+ export {};