rhachet-roles-bhuild 0.21.1 → 0.21.2
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/domain.roles/behaver/boot.yml +38 -0
- package/dist/domain.roles/behaver/briefs/practices/behavior.verification/philosophy.verification-strictness.md.min +36 -0
- package/dist/domain.roles/behaver/getBehaverRole.js +1 -0
- package/dist/domain.roles/behaver/getBehaverRole.js.map +1 -1
- package/dist/domain.roles/decomposer/boot.yml +15 -0
- package/dist/domain.roles/decomposer/getDecomposerRole.js +1 -0
- package/dist/domain.roles/decomposer/getDecomposerRole.js.map +1 -1
- package/dist/domain.roles/dispatcher/boot.yml +4 -0
- package/dist/domain.roles/dreamer/boot.yml +4 -0
- package/package.json +5 -5
- package/rhachet.repo.yml +2 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
always:
|
|
2
|
+
briefs:
|
|
3
|
+
say:
|
|
4
|
+
# philosophy
|
|
5
|
+
- briefs/practices/behavior.verification/philosophy.verification-strictness.md
|
|
6
|
+
|
|
7
|
+
ref:
|
|
8
|
+
# definitions
|
|
9
|
+
- briefs/practices/behavior.criteria/define.behavior-thoughtroute-hierarchy.md
|
|
10
|
+
- briefs/practices/behavior.criteria/define.criteria-blackbox.md
|
|
11
|
+
- briefs/practices/behavior.criteria/define.criteria-blueprint.md
|
|
12
|
+
- briefs/practices/behavior.criteria/define.criteria-blackbox-vs-blueprint.md
|
|
13
|
+
|
|
14
|
+
# wish rules
|
|
15
|
+
- briefs/practices/behavior.wish/rule.prefer.clear-desires.md
|
|
16
|
+
- briefs/practices/behavior.wish/rule.prefer.bounded-scope.md
|
|
17
|
+
|
|
18
|
+
# criteria rules
|
|
19
|
+
- briefs/practices/behavior.criteria/rule.require.bdd-format.md
|
|
20
|
+
- briefs/practices/behavior.criteria/rule.require.blackbox-no-implementation.md
|
|
21
|
+
- briefs/practices/behavior.criteria/rule.require.blueprint-contract-layer-only.md
|
|
22
|
+
- briefs/practices/behavior.criteria/rule.prefer.usecase-groups.md
|
|
23
|
+
- briefs/practices/behavior.criteria/rule.prefer.depth-groups.md
|
|
24
|
+
- briefs/practices/behavior.criteria/rule.prefer.dependency-order.md
|
|
25
|
+
|
|
26
|
+
# blueprint rules
|
|
27
|
+
- briefs/practices/behavior.blueprint/rule.require.criteria-satisfied.md
|
|
28
|
+
- briefs/practices/behavior.blueprint/rule.require.test-coverage-specified.md
|
|
29
|
+
- briefs/practices/behavior.blueprint/rule.require.test-patterns-specified.md
|
|
30
|
+
- briefs/practices/behavior.blueprint/rule.require.determinism-declared.md
|
|
31
|
+
|
|
32
|
+
# roadmap rules
|
|
33
|
+
- briefs/practices/behavior.roadmap/rule.prefer.clear-deliverables.md
|
|
34
|
+
- briefs/practices/behavior.roadmap/rule.prefer.dependency-order.md
|
|
35
|
+
|
|
36
|
+
# verification rules
|
|
37
|
+
- briefs/practices/behavior.verification/rule.require.external-contract-integration-tests.md
|
|
38
|
+
- briefs/practices/behavior.verification/rule.require.contract-snapshot-exhaustiveness.md
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# philosophy: verification strictness
|
|
2
|
+
|
|
3
|
+
a behavior is a promise. verification is the proof.
|
|
4
|
+
|
|
5
|
+
## .zero tolerance
|
|
6
|
+
|
|
7
|
+
- **deferrals** — a deferred test is a lie
|
|
8
|
+
- **fake tests** — fraud that provides false confidence
|
|
9
|
+
- **unproven claims** — cite command + output or it's a guess
|
|
10
|
+
- **credential excuses** — blocker, not deferral
|
|
11
|
+
- **skips** — hidden lies that pass ci
|
|
12
|
+
|
|
13
|
+
## .exhaustive coverage
|
|
14
|
+
|
|
15
|
+
every positive path, negative path, edge case. no gaps.
|
|
16
|
+
|
|
17
|
+
if not snapped:
|
|
18
|
+
- reviewers can't vibecheck
|
|
19
|
+
- drift goes undetected
|
|
20
|
+
- regressions ship silent
|
|
21
|
+
|
|
22
|
+
## .real integration tests
|
|
23
|
+
|
|
24
|
+
mocks lie. only real calls prove integration works.
|
|
25
|
+
|
|
26
|
+
credential difficulty = blocker. not exception.
|
|
27
|
+
|
|
28
|
+
## .cost of leniency
|
|
29
|
+
|
|
30
|
+
leniency compounds → erodes trust → ships defects
|
|
31
|
+
|
|
32
|
+
## .benefit of strictness
|
|
33
|
+
|
|
34
|
+
strictness compounds → builds trust → prevents defects
|
|
35
|
+
|
|
36
|
+
zero tolerance. zero exceptions. that's the price of trust.
|
|
@@ -7,6 +7,7 @@ exports.ROLE_BEHAVER = rhachet_1.Role.build({
|
|
|
7
7
|
name: 'Behaver',
|
|
8
8
|
purpose: 'declare clear, buildable, and testable behaviors',
|
|
9
9
|
readme: { uri: __dirname + '/readme.md' },
|
|
10
|
+
boot: { uri: __dirname + '/boot.yml' },
|
|
10
11
|
traits: [],
|
|
11
12
|
skills: {
|
|
12
13
|
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,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;IACD,KAAK,EAAE;QACL,OAAO,EAAE;YACP,MAAM,EAAE;gBACN;oBACE,OAAO,EAAE,uCAAuC;oBAChD,OAAO,EAAE,OAAO;iBACjB;gBACD;oBACE,OAAO,EACL,6GAA6G;oBAC/G,OAAO,EAAE,OAAO;iBACjB;aACF;YACD,MAAM,EAAE,EAAE;YACV,MAAM,EAAE,EAAE;SACX;KACF;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,IAAI,EAAE,EAAE,GAAG,EAAE,SAAS,GAAG,WAAW,EAAE;IACtC,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;IACD,KAAK,EAAE;QACL,OAAO,EAAE;YACP,MAAM,EAAE;gBACN;oBACE,OAAO,EAAE,uCAAuC;oBAChD,OAAO,EAAE,OAAO;iBACjB;gBACD;oBACE,OAAO,EACL,6GAA6G;oBAC/G,OAAO,EAAE,OAAO;iBACjB;aACF;YACD,MAAM,EAAE,EAAE;YACV,MAAM,EAAE,EAAE;SACX;KACF;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
always:
|
|
2
|
+
briefs:
|
|
3
|
+
say: []
|
|
4
|
+
|
|
5
|
+
ref:
|
|
6
|
+
# decompose rules
|
|
7
|
+
- briefs/decompose/rule.require.contexts.bounded.md
|
|
8
|
+
- briefs/decompose/rule.require.dependencies.directional.md
|
|
9
|
+
- briefs/decompose/rule.require.wish.scoped.md
|
|
10
|
+
- briefs/decompose/rule.require.vision.scoped.md
|
|
11
|
+
- briefs/decompose/rule.require.names.ubiquitous.md
|
|
12
|
+
|
|
13
|
+
# review rules
|
|
14
|
+
- briefs/review/rule.require.context.threshold.md
|
|
15
|
+
- briefs/review/rule.require.domain.bounded.md
|
|
@@ -7,6 +7,7 @@ exports.ROLE_DECOMPOSER = rhachet_1.Role.build({
|
|
|
7
7
|
name: 'Decomposer',
|
|
8
8
|
purpose: 'decompose large behaviors into focused sub-behaviors',
|
|
9
9
|
readme: { uri: __dirname + '/readme.md' },
|
|
10
|
+
boot: { uri: __dirname + '/boot.yml' },
|
|
10
11
|
traits: [],
|
|
11
12
|
skills: {
|
|
12
13
|
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;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;IACD,KAAK,EAAE;QACL,OAAO,EAAE;YACP,MAAM,EAAE;gBACN;oBACE,OAAO,EAAE,0CAA0C;oBACnD,OAAO,EAAE,OAAO;iBACjB;aACF;YACD,MAAM,EAAE,EAAE;YACV,MAAM,EAAE,EAAE;SACX;KACF;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,IAAI,EAAE,EAAE,GAAG,EAAE,SAAS,GAAG,WAAW,EAAE;IACtC,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;IACD,KAAK,EAAE;QACL,OAAO,EAAE;YACP,MAAM,EAAE;gBACN;oBACE,OAAO,EAAE,0CAA0C;oBACnD,OAAO,EAAE,OAAO;iBACjB;aACF;YACD,MAAM,EAAE,EAAE;YACV,MAAM,EAAE,EAAE;SACX;KACF;CACF,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "rhachet-roles-bhuild",
|
|
3
3
|
"author": "ehmpathy",
|
|
4
4
|
"description": "roles for building resilient systems, via rhachet",
|
|
5
|
-
"version": "0.21.
|
|
5
|
+
"version": "0.21.2",
|
|
6
6
|
"repository": "ehmpathy/rhachet-roles-bhuild",
|
|
7
7
|
"homepage": "https://github.com/ehmpathy/rhachet-roles-bhuild",
|
|
8
8
|
"keywords": [
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"fix": "npm run fix:format && npm run fix:lint",
|
|
36
36
|
"build:clean": "chmod -R u+w dist 2>/dev/null; rm -rf dist/",
|
|
37
37
|
"build:compile": "tsc -p ./tsconfig.build.json && tsc-alias -p ./tsconfig.build.json",
|
|
38
|
-
"build:complete:dist": "rsync -a --prune-empty-dirs --include='*/' --exclude='**/.route/**' --exclude='**/.scratch/**' --exclude='**/.behavior/**' --exclude='**/*.test.sh' --include='**/readme.md' --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='**/inits/**/*.jsonc' --include='**/inits/*.jsonc' --include='**/templates/**/*.md' --include='**/templates/*.md' --include='**/templates/*.stone' --include='**/templates/*.guard' --include='**/templates/*.guard.*' --exclude='*' src/ dist/",
|
|
38
|
+
"build:complete:dist": "rsync -a --prune-empty-dirs --include='*/' --exclude='**/.route/**' --exclude='**/.scratch/**' --exclude='**/.behavior/**' --exclude='**/*.test.sh' --include='**/readme.md' --include='**/*.template.md' --include='**/boot.yml' --include='**/briefs/**/*.md' --include='**/briefs/**/*.md.min' --include='**/briefs/*.md' --include='**/briefs/*.md.min' --include='**/skills/**/*.sh' --include='**/skills/*.sh' --include='**/skills/**/*.jsonc' --include='**/skills/*.jsonc' --include='**/inits/**/*.sh' --include='**/inits/*.sh' --include='**/inits/**/*.jsonc' --include='**/inits/*.jsonc' --include='**/templates/**/*.md' --include='**/templates/*.md' --include='**/templates/*.stone' --include='**/templates/*.guard' --include='**/templates/*.guard.*' --exclude='*' src/ dist/",
|
|
39
39
|
"build:complete:permissions": "find dist -name '*.sh' -type f -exec chmod +x {} \\;",
|
|
40
40
|
"build:complete:repo": "npx rhachet repo introspect",
|
|
41
41
|
"build:complete": "npm run build:complete:dist && npm run build:complete:permissions && npm run build:complete:repo",
|
|
@@ -90,11 +90,11 @@
|
|
|
90
90
|
"husky": "8.0.3",
|
|
91
91
|
"jest": "30.2.0",
|
|
92
92
|
"rhachet": "1.40.7",
|
|
93
|
-
"rhachet-brains-anthropic": "0.4.
|
|
93
|
+
"rhachet-brains-anthropic": "0.4.1",
|
|
94
94
|
"rhachet-brains-xai": "0.3.3",
|
|
95
|
-
"rhachet-roles-bhrain": "0.27.
|
|
95
|
+
"rhachet-roles-bhrain": "0.27.4",
|
|
96
96
|
"rhachet-roles-bhuild": "link:.",
|
|
97
|
-
"rhachet-roles-ehmpathy": "1.
|
|
97
|
+
"rhachet-roles-ehmpathy": "1.35.0",
|
|
98
98
|
"tsc-alias": "1.8.10",
|
|
99
99
|
"tsx": "4.20.6",
|
|
100
100
|
"typescript": "5.4.5",
|
package/rhachet.repo.yml
CHANGED
|
@@ -9,6 +9,7 @@ roles:
|
|
|
9
9
|
dirs: dist/domain.roles/behaver/skills
|
|
10
10
|
inits:
|
|
11
11
|
dirs: dist/domain.roles/behaver/inits
|
|
12
|
+
boot: dist/domain.roles/behaver/boot.yml
|
|
12
13
|
- slug: decomposer
|
|
13
14
|
readme: dist/domain.roles/decomposer/readme.md
|
|
14
15
|
briefs:
|
|
@@ -17,6 +18,7 @@ roles:
|
|
|
17
18
|
dirs: dist/domain.roles/decomposer/skills
|
|
18
19
|
inits:
|
|
19
20
|
dirs: dist/domain.roles/decomposer/inits
|
|
21
|
+
boot: dist/domain.roles/decomposer/boot.yml
|
|
20
22
|
- slug: dispatcher
|
|
21
23
|
readme: dist/domain.roles/dispatcher/readme.md
|
|
22
24
|
briefs:
|