rhachet-roles-bhuild 0.5.0 → 0.5.1

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.
@@ -6,11 +6,7 @@ exports.ROLE_BEHAVER = rhachet_1.Role.build({
6
6
  slug: 'behaver',
7
7
  name: 'Behaver',
8
8
  purpose: 'declare clear, buildable, and testable behaviors',
9
- readme: `
10
- ## 📐 Behaver
11
-
12
- Used to declare clear and testable behaviors that can be reliably built and verified.
13
- `.trim(),
9
+ readme: { uri: __dirname + '/readme.md' },
14
10
  traits: [],
15
11
  skills: {
16
12
  dirs: [{ uri: __dirname + '/skills' }],
@@ -1 +1 @@
1
- {"version":3,"file":"getBehaverRole.js","sourceRoot":"","sources":["../../../src/domain.roles/behaver/getBehaverRole.ts"],"names":[],"mappings":";;;AAAA,qCAA+B;AAElB,QAAA,YAAY,GAAS,cAAI,CAAC,KAAK,CAAC;IAC3C,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,kDAAkD;IAC3D,MAAM,EAAE;;;;GAIP,CAAC,IAAI,EAAE;IACR,MAAM,EAAE,EAAE;IACV,MAAM,EAAE;QACN,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;QACtC,IAAI,EAAE,EAAE;KACT;IACD,MAAM,EAAE;QACN,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;KACvC;IACD,KAAK,EAAE;QACL,IAAI,EAAE,EAAE,GAAG,EAAE,SAAS,GAAG,QAAQ,EAAE;QACnC,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,SAAS,GAAG,6BAA6B,EAAE,CAAC;KAC3D;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"getBehaverRole.js","sourceRoot":"","sources":["../../../src/domain.roles/behaver/getBehaverRole.ts"],"names":[],"mappings":";;;AAAA,qCAA+B;AAElB,QAAA,YAAY,GAAS,cAAI,CAAC,KAAK,CAAC;IAC3C,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,kDAAkD;IAC3D,MAAM,EAAE,EAAE,GAAG,EAAE,SAAS,GAAG,YAAY,EAAE;IACzC,MAAM,EAAE,EAAE;IACV,MAAM,EAAE;QACN,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;QACtC,IAAI,EAAE,EAAE;KACT;IACD,MAAM,EAAE;QACN,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;KACvC;IACD,KAAK,EAAE;QACL,IAAI,EAAE,EAAE,GAAG,EAAE,SAAS,GAAG,QAAQ,EAAE;QACnC,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,SAAS,GAAG,6BAA6B,EAAE,CAAC;KAC3D;CACF,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ ## 🌲 behaver
2
+
3
+ used to declare clear and testable behaviors that can be reliably built and verified.
@@ -2,12 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ROLE_DECOMPOSER = void 0;
4
4
  const rhachet_1 = require("rhachet");
5
- const getDecomposerRole_readme_1 = require("./getDecomposerRole.readme");
6
5
  exports.ROLE_DECOMPOSER = rhachet_1.Role.build({
7
6
  slug: 'decomposer',
8
7
  name: 'Decomposer',
9
8
  purpose: 'decompose large behaviors into focused sub-behaviors',
10
- readme: getDecomposerRole_readme_1.DECOMPOSER_ROLE_README,
9
+ readme: { uri: __dirname + '/readme.md' },
11
10
  traits: [],
12
11
  skills: {
13
12
  dirs: [{ uri: __dirname + '/skills' }],
@@ -1 +1 @@
1
- {"version":3,"file":"getDecomposerRole.js","sourceRoot":"","sources":["../../../src/domain.roles/decomposer/getDecomposerRole.ts"],"names":[],"mappings":";;;AAAA,qCAA+B;AAE/B,yEAAoE;AAEvD,QAAA,eAAe,GAAS,cAAI,CAAC,KAAK,CAAC;IAC9C,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,sDAAsD;IAC/D,MAAM,EAAE,iDAAsB;IAC9B,MAAM,EAAE,EAAE;IACV,MAAM,EAAE;QACN,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;QACtC,IAAI,EAAE,EAAE;KACT;IACD,MAAM,EAAE;QACN,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;KACvC;IACD,KAAK,EAAE;QACL,IAAI,EAAE,EAAE,GAAG,EAAE,SAAS,GAAG,QAAQ,EAAE;QACnC,IAAI,EAAE,EAAE;KACT;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"getDecomposerRole.js","sourceRoot":"","sources":["../../../src/domain.roles/decomposer/getDecomposerRole.ts"],"names":[],"mappings":";;;AAAA,qCAA+B;AAElB,QAAA,eAAe,GAAS,cAAI,CAAC,KAAK,CAAC;IAC9C,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,sDAAsD;IAC/D,MAAM,EAAE,EAAE,GAAG,EAAE,SAAS,GAAG,YAAY,EAAE;IACzC,MAAM,EAAE,EAAE;IACV,MAAM,EAAE;QACN,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;QACtC,IAAI,EAAE,EAAE;KACT;IACD,MAAM,EAAE;QACN,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;KACvC;IACD,KAAK,EAAE;QACL,IAAI,EAAE,EAAE,GAAG,EAAE,SAAS,GAAG,QAAQ,EAAE;QACnC,IAAI,EAAE,EAAE;KACT;CACF,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ ## 🍄 decomposer
2
+
3
+ used to decompose large behaviors into focused, independent sub-behaviors.
@@ -4,7 +4,6 @@ exports.getRoleRegistry = void 0;
4
4
  const rhachet_1 = require("rhachet");
5
5
  const getBehaverRole_1 = require("./behaver/getBehaverRole");
6
6
  const getDecomposerRole_1 = require("./decomposer/getDecomposerRole");
7
- const getRoleRegistry_readme_1 = require("./getRoleRegistry.readme");
8
7
  /**
9
8
  * .what = returns the core registry of predefined roles and skills
10
9
  * .why =
@@ -13,7 +12,7 @@ const getRoleRegistry_readme_1 = require("./getRoleRegistry.readme");
13
12
  */
14
13
  const getRoleRegistry = () => new rhachet_1.RoleRegistry({
15
14
  slug: 'bhuild',
16
- readme: getRoleRegistry_readme_1.BHUILD_REGISTRY_README,
15
+ readme: { uri: __dirname + '/readme.md' },
17
16
  roles: [getBehaverRole_1.ROLE_BEHAVER, getDecomposerRole_1.ROLE_DECOMPOSER],
18
17
  });
19
18
  exports.getRoleRegistry = getRoleRegistry;
@@ -1 +1 @@
1
- {"version":3,"file":"getRoleRegistry.js","sourceRoot":"","sources":["../../src/domain.roles/getRoleRegistry.ts"],"names":[],"mappings":";;;AAAA,qCAAuC;AAEvC,6DAAwD;AACxD,sEAAiE;AACjE,qEAAkE;AAElE;;;;;GAKG;AACI,MAAM,eAAe,GAAG,GAAiB,EAAE,CAChD,IAAI,sBAAY,CAAC;IACf,IAAI,EAAE,QAAQ;IACd,MAAM,EAAE,+CAAsB;IAC9B,KAAK,EAAE,CAAC,6BAAY,EAAE,mCAAe,CAAC;CACvC,CAAC,CAAC;AALQ,QAAA,eAAe,mBAKvB"}
1
+ {"version":3,"file":"getRoleRegistry.js","sourceRoot":"","sources":["../../src/domain.roles/getRoleRegistry.ts"],"names":[],"mappings":";;;AAAA,qCAAuC;AAEvC,6DAAwD;AACxD,sEAAiE;AAEjE;;;;;GAKG;AACI,MAAM,eAAe,GAAG,GAAiB,EAAE,CAChD,IAAI,sBAAY,CAAC;IACf,IAAI,EAAE,QAAQ;IACd,MAAM,EAAE,EAAE,GAAG,EAAE,SAAS,GAAG,YAAY,EAAE;IACzC,KAAK,EAAE,CAAC,6BAAY,EAAE,mCAAe,CAAC;CACvC,CAAC,CAAC;AALQ,QAAA,eAAe,mBAKvB"}
@@ -0,0 +1,21 @@
1
+ # đŸĻĢ bhuild role registry
2
+
3
+ this registry defines roles used to build systems and solutions.
4
+
5
+ ---
6
+
7
+ ## 🌲 behaver
8
+
9
+ used to declare clear and testable behaviors that can be reliably built and verified.
10
+
11
+ ---
12
+
13
+ ## 💧 dispatcher
14
+
15
+ used to maximize prioritized throughput within a resource bandwidth.
16
+
17
+ ---
18
+
19
+ ## 🍄 decomposer
20
+
21
+ used to decompose large behaviors into focused, independent sub-behaviors.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "rhachet-roles-bhuild",
3
3
  "author": "ehmpathy",
4
4
  "description": "reliable thought concept navigation roles, briefs, and skills, via rhachet",
5
- "version": "0.5.0",
5
+ "version": "0.5.1",
6
6
  "repository": "ehmpathy/rhachet-roles-bhuild",
7
7
  "homepage": "https://github.com/ehmpathy/rhachet-roles-bhuild",
8
8
  "keywords": [
@@ -27,7 +27,7 @@
27
27
  "fix": "npm run fix:format && npm run fix:lint",
28
28
  "build:clean": "chmod -R u+w dist 2>/dev/null; rm -rf dist/",
29
29
  "build:compile": "tsc -p ./tsconfig.build.json && tsc-alias -p ./tsconfig.build.json",
30
- "build:complete": "rsync -a --prune-empty-dirs --include='*/' --exclude='**/.route/**' --exclude='**/.scratch/**' --exclude='**/.behavior/**' --exclude='**/*.test.sh' --include='**/*.template.md' --include='**/briefs/**/*.md' --include='**/briefs/*.md' --include='**/skills/**/*.sh' --include='**/skills/*.sh' --include='**/skills/**/*.jsonc' --include='**/skills/*.jsonc' --include='**/inits/**/*.sh' --include='**/inits/*.sh' --exclude='*' src/ dist/",
30
+ "build:complete": "rsync -a --prune-empty-dirs --include='*/' --exclude='**/.route/**' --exclude='**/.scratch/**' --exclude='**/.behavior/**' --exclude='**/*.test.sh' --include='**/*.template.md' --include='**/briefs/**/*.md' --include='**/briefs/*.md' --include='**/skills/**/*.sh' --include='**/skills/*.sh' --include='**/skills/**/*.jsonc' --include='**/skills/*.jsonc' --include='**/inits/**/*.sh' --include='**/inits/*.sh' --include='**/readme.md' --exclude='*' src/ dist/",
31
31
  "build": "npm run build:clean && npm run build:compile && npm run build:complete --if-present",
32
32
  "test:commits": "LAST_TAG=$(git describe --tags --abbrev=0 @^ 2> /dev/null || git rev-list --max-parents=0 HEAD) && npx commitlint --from $LAST_TAG --to HEAD --verbose",
33
33
  "test:types": "tsc -p ./tsconfig.json --noEmit",
@@ -53,7 +53,6 @@
53
53
  "dependencies": {
54
54
  "domain-objects": "0.31.7",
55
55
  "helpful-errors": "1.5.3",
56
- "rhachet": "1.15.2",
57
56
  "rhachet-roles-bhrain": "0.3.0",
58
57
  "test-fns": "1.7.2"
59
58
  },
@@ -77,9 +76,9 @@
77
76
  "esbuild-register": "3.6.0",
78
77
  "husky": "8.0.3",
79
78
  "jest": "30.2.0",
80
- "rhachet": "1.13.11",
79
+ "rhachet": "1.19.11",
81
80
  "rhachet-roles-bhuild": "0.1.3",
82
- "rhachet-roles-ehmpathy": "1.15.18",
81
+ "rhachet-roles-ehmpathy": "1.17.8",
83
82
  "tsc-alias": "1.8.10",
84
83
  "tsx": "4.20.6",
85
84
  "typescript": "5.4.5",
package/readme.md CHANGED
@@ -23,21 +23,27 @@ npx rhachet readme --registry bhuild
23
23
  produces
24
24
 
25
25
  ```md
26
- # đŸ—ī¸ bhuild role registry
26
+ # đŸĻĢ bhuild role registry
27
27
 
28
- This registry defines roles used to build systems and solutions.
28
+ this registry defines roles used to build systems and solutions.
29
29
 
30
30
  ---
31
31
 
32
- ## 📐 Behaver
32
+ ## 🌲 behaver
33
33
 
34
- Used to declare clear and testable behaviors that can be reliably built and verified.
34
+ used to declare clear and testable behaviors that can be reliably built and verified.
35
35
 
36
36
  ---
37
37
 
38
- ## đŸ“Ŗ Dispatcher
38
+ ## 💧 dispatcher
39
39
 
40
- Used to maximize prioritized throughput within a resource bandwidth.
40
+ used to maximize prioritized throughput within a resource bandwidth.
41
+
42
+ ---
43
+
44
+ ## 🍄 decomposer
45
+
46
+ used to decompose large behaviors into focused, independent sub-behaviors.
41
47
  ```
42
48
 
43
49
  ## skills
@@ -73,3 +79,13 @@ npx rhachet run --repo bhuild --skill review.deliverable \
73
79
  output:
74
80
  - creates `.behavior/<behavior>/7.1.review.behavior.per_<targets>.[feedback].v1.[given].by_robot.v1.md`
75
81
  - logs to `.log/bhuild/review.deliverable/<timestamp>/`
82
+
83
+ # mascots
84
+
85
+ this repo houses roles for beavers đŸĻĢ â€” industrious builders of resilient ecosystems, who carefully construct the behaviors that shape their communities.
86
+
87
+ they wield:
88
+
89
+ - 🌲 evergreen — for behavers — to grow the behaviors which define the system, dependably
90
+ - 💧 water — for dispatchers — to channel work through constrained resources, optimally
91
+ - 🍄 mushroom — for decomposers — to break down complexity into parts that nourish, reusably
@@ -1 +0,0 @@
1
- export declare const DECOMPOSER_ROLE_README: string;
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DECOMPOSER_ROLE_README = void 0;
4
- exports.DECOMPOSER_ROLE_README = `
5
- ## 🍄 Decomposer
6
-
7
- Used to decompose large behaviors into focused, independent sub-behaviors.
8
- `.trim();
9
- //# sourceMappingURL=getDecomposerRole.readme.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getDecomposerRole.readme.js","sourceRoot":"","sources":["../../../src/domain.roles/decomposer/getDecomposerRole.readme.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG;;;;CAIrC,CAAC,IAAI,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- export declare const BHUILD_REGISTRY_README: string;
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BHUILD_REGISTRY_README = void 0;
4
- // todo: how to keep in sync with @repo/readme.md ?
5
- exports.BHUILD_REGISTRY_README = `
6
- # đŸ—ī¸ bhuild role registry
7
-
8
- This registry defines roles used to build systems and solutions.
9
-
10
- ---
11
-
12
- ## 📐 Behaver
13
-
14
- Used to declare clear and testable behaviors that can be reliably built and verified.
15
-
16
- ---
17
-
18
- ## đŸ“Ŗ Dispatcher
19
-
20
- Used to maximize prioritized throughput within a resource bandwidth.
21
-
22
- ---
23
-
24
- ## 🍄 Decomposer
25
-
26
- Used to decompose large behaviors into focused, independent sub-behaviors.
27
- `.trim();
28
- //# sourceMappingURL=getRoleRegistry.readme.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getRoleRegistry.readme.js","sourceRoot":"","sources":["../../src/domain.roles/getRoleRegistry.readme.ts"],"names":[],"mappings":";;;AAAA,mDAAmD;AACtC,QAAA,sBAAsB,GAAG;;;;;;;;;;;;;;;;;;;;;;GAsBnC,CAAC,IAAI,EAAE,CAAC"}