rhachet-roles-bhuild 0.15.3 → 0.16.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.
@@ -18,23 +18,28 @@
18
18
  declare const BEHAVIOR_SIZE_CONFIG: {
19
19
  readonly nano: {
20
20
  readonly order: 0;
21
- readonly adds: readonly ["0.wish.md", "refs/template.[feedback].v1.[given].by_human.md", "1.vision.stone", "1.vision.guard", "3.3.1.blueprint.product.v1.stone", "3.3.1.blueprint.product.v1.guard", "4.1.roadmap.v1.stone", "5.1.execution.phase0_to_phaseN.v1.stone", "5.1.execution.phase0_to_phaseN.v1.guard"];
21
+ readonly adds: readonly ["0.wish.md", "refs/template.[feedback].v1.[given].by_human.md", "1.vision.stone", "1.vision.guard", "5.1.execution.from_vision.v1.stone", "5.1.execution.from_vision.v1.guard", "5.3.verification.v1.stone", "5.3.verification.v1.guard"];
22
+ readonly dels: readonly [];
22
23
  };
23
24
  readonly mini: {
24
25
  readonly order: 1;
25
- readonly adds: readonly ["2.1.criteria.blackbox.stone", "2.1.criteria.blackbox.guard", "2.2.criteria.blackbox.matrix.stone", "3.1.3.research.internal.product.code.prod._.v1.stone", "3.1.3.research.internal.product.code.test._.v1.stone", "5.3.verification.v1.stone", "5.3.verification.v1.guard"];
26
+ readonly adds: readonly ["2.1.criteria.blackbox.stone", "2.1.criteria.blackbox.guard", "2.2.criteria.blackbox.matrix.stone", "3.1.3.research.internal.product.code.prod._.v1.stone", "3.1.3.research.internal.product.code.test._.v1.stone", "3.3.1.blueprint.product.v1.stone", "3.3.1.blueprint.product.v1.guard", "4.1.roadmap.v1.stone", "5.1.execution.phase0_to_phaseN.v1.stone", "5.1.execution.phase0_to_phaseN.v1.guard"];
27
+ readonly dels: readonly ["5.1.execution.from_vision.v1.stone", "5.1.execution.from_vision.v1.guard"];
26
28
  };
27
29
  readonly medi: {
28
30
  readonly order: 2;
29
31
  readonly adds: readonly ["2.3.criteria.blueprint.stone", "3.1.1.research.external.product.access._.v1.stone", "3.1.1.research.external.product.claims._.v1.stone", "3.1.5.research.reflection.product.premortem._.v1.stone", "3.1.5.research.reflection.product.rootcause._.v1.stone", "3.1.5.research.reflection.product.audience._.v1.stone", "3.2.distill.repros.experience._.v1.stone", "3.2.distill.repros.experience._.v1.guard", "5.2.evaluation.v1.stone", "5.2.evaluation.v1.guard", "5.5.playtest.v1.stone", "5.5.playtest.v1.guard"];
32
+ readonly dels: readonly [];
30
33
  };
31
34
  readonly mega: {
32
35
  readonly order: 3;
33
36
  readonly adds: readonly ["3.1.1.research.external.product.domain._.v1.stone", "3.1.1.research.external.product.domain.terms.v1.stone", "3.1.1.research.external.product.references._.v1.stone", "3.1.2.research.external.factory.testloops._.v1.stone", "3.1.2.research.external.factory.oss.levers._.v1.stone", "3.1.2.research.external.factory.templates._.v1.stone", "3.1.4.research.internal.factory.blockers._.v1.stone", "3.1.4.research.internal.factory.opports._.v1.stone", "3.2.distill.domain._.v1.stone", "3.2.distill.domain._.v1.guard", "3.2.distill.factory.upgrades._.v1.stone", "3.3.0.blueprint.factory.v1.stone"];
37
+ readonly dels: readonly [];
34
38
  };
35
39
  readonly giga: {
36
40
  readonly order: 4;
37
41
  readonly adds: readonly [];
42
+ readonly dels: readonly [];
38
43
  };
39
44
  };
40
45
  export type BehaviorSizeLevel = keyof typeof BEHAVIOR_SIZE_CONFIG;
@@ -43,6 +48,8 @@ declare const BEHAVIOR_SIZE_ORDER: ("nano" | "mini" | "medi" | "mega" | "giga")[
43
48
  * .what = get all templates for a given size level (cumulative)
44
49
  *
45
50
  * .why = sizes are additive: mini = nano + mini adds, medi = nano + mini + medi adds, etc.
51
+ * dels allow larger sizes to replace smaller size templates (e.g., mini replaces
52
+ * nano's from_vision execution with phased execution)
46
53
  */
47
54
  export declare const getAllTemplatesBySize: (input: {
48
55
  size: BehaviorSizeLevel;
@@ -26,12 +26,12 @@ const BEHAVIOR_SIZE_CONFIG = {
26
26
  'refs/template.[feedback].v1.[given].by_human.md',
27
27
  '1.vision.stone',
28
28
  '1.vision.guard', // .light or .heavy variant
29
- '3.3.1.blueprint.product.v1.stone',
30
- '3.3.1.blueprint.product.v1.guard', // .light or .heavy variant
31
- '4.1.roadmap.v1.stone',
32
- '5.1.execution.phase0_to_phaseN.v1.stone',
33
- '5.1.execution.phase0_to_phaseN.v1.guard',
29
+ '5.1.execution.from_vision.v1.stone', // vision → done (no blueprint/roadmap)
30
+ '5.1.execution.from_vision.v1.guard',
31
+ '5.3.verification.v1.stone', // tests should never be forgotten
32
+ '5.3.verification.v1.guard',
34
33
  ],
34
+ dels: [],
35
35
  },
36
36
  mini: {
37
37
  order: 1,
@@ -41,8 +41,15 @@ const BEHAVIOR_SIZE_CONFIG = {
41
41
  '2.2.criteria.blackbox.matrix.stone',
42
42
  '3.1.3.research.internal.product.code.prod._.v1.stone',
43
43
  '3.1.3.research.internal.product.code.test._.v1.stone',
44
- '5.3.verification.v1.stone',
45
- '5.3.verification.v1.guard',
44
+ '3.3.1.blueprint.product.v1.stone',
45
+ '3.3.1.blueprint.product.v1.guard', // .light or .heavy variant
46
+ '4.1.roadmap.v1.stone',
47
+ '5.1.execution.phase0_to_phaseN.v1.stone', // roadmap → phased execution
48
+ '5.1.execution.phase0_to_phaseN.v1.guard',
49
+ ],
50
+ dels: [
51
+ '5.1.execution.from_vision.v1.stone', // replaced by phased version
52
+ '5.1.execution.from_vision.v1.guard',
46
53
  ],
47
54
  },
48
55
  medi: {
@@ -61,6 +68,7 @@ const BEHAVIOR_SIZE_CONFIG = {
61
68
  '5.5.playtest.v1.stone',
62
69
  '5.5.playtest.v1.guard',
63
70
  ],
71
+ dels: [],
64
72
  },
65
73
  mega: {
66
74
  order: 3,
@@ -78,10 +86,12 @@ const BEHAVIOR_SIZE_CONFIG = {
78
86
  '3.2.distill.factory.upgrades._.v1.stone',
79
87
  '3.3.0.blueprint.factory.v1.stone',
80
88
  ],
89
+ dels: [],
81
90
  },
82
91
  giga: {
83
92
  order: 4,
84
93
  adds: [], // same as mega; reserved for future decomposition subroutes
94
+ dels: [],
85
95
  },
86
96
  };
87
97
  exports.BEHAVIOR_SIZE_CONFIG = BEHAVIOR_SIZE_CONFIG;
@@ -92,10 +102,15 @@ exports.BEHAVIOR_SIZE_ORDER = BEHAVIOR_SIZE_ORDER;
92
102
  * .what = get all templates for a given size level (cumulative)
93
103
  *
94
104
  * .why = sizes are additive: mini = nano + mini adds, medi = nano + mini + medi adds, etc.
105
+ * dels allow larger sizes to replace smaller size templates (e.g., mini replaces
106
+ * nano's from_vision execution with phased execution)
95
107
  */
96
108
  const getAllTemplatesBySize = (input) => {
97
109
  const index = BEHAVIOR_SIZE_ORDER.indexOf(input.size);
98
- return BEHAVIOR_SIZE_ORDER.slice(0, index + 1).flatMap((s) => BEHAVIOR_SIZE_CONFIG[s].adds);
110
+ const sizesUpTo = BEHAVIOR_SIZE_ORDER.slice(0, index + 1);
111
+ const adds = sizesUpTo.flatMap((s) => BEHAVIOR_SIZE_CONFIG[s].adds);
112
+ const dels = sizesUpTo.flatMap((s) => BEHAVIOR_SIZE_CONFIG[s].dels);
113
+ return adds.filter((t) => !dels.includes(t));
99
114
  };
100
115
  exports.getAllTemplatesBySize = getAllTemplatesBySize;
101
116
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"getAllTemplatesBySize.js","sourceRoot":"","sources":["../../../../src/domain.operations/behavior/init/getAllTemplatesBySize.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH;;;;;;;;;;GAUG;AACH,MAAM,oBAAoB,GAAG;IAC3B,IAAI,EAAE;QACJ,KAAK,EAAE,CAAC;QACR,IAAI,EAAE;YACJ,WAAW;YACX,iDAAiD;YACjD,gBAAgB;YAChB,gBAAgB,EAAE,2BAA2B;YAC7C,kCAAkC;YAClC,kCAAkC,EAAE,2BAA2B;YAC/D,sBAAsB;YACtB,yCAAyC;YACzC,yCAAyC;SAC1C;KACF;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,CAAC;QACR,IAAI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ACpD,CAAC,CAAC,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,IAAI,CACpC,CAAC;AACJ,CAAC,CAAC;AAPW,QAAA,qBAAqB,yBAOhC;AAEF;;;;;;GAMG;AACI,MAAM,gBAAgB,GAAG,CAAC,KAGhC,EAAW,EAAE;IACZ,MAAM,SAAS,GAAG,IAAA,6BAAqB,EAAC,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC;IAE9D,eAAe;IACf,IAAI,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,YAAY,CAAC,EAAE,CAAC;QAC3C,OAAO,IAAI,CAAC;IACd,CAAC;IAED,wFAAwF;IACxF,MAAM,QAAQ,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAAC;IACpE,IAAI,QAAQ,KAAK,KAAK,CAAC,YAAY,IAAI,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC;QACpE,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAlBW,QAAA,gBAAgB,oBAkB3B"}
1
+ {"version":3,"file":"getAllTemplatesBySize.js","sourceRoot":"","sources":["../../../../src/domain.operations/behavior/init/getAllTemplatesBySize.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH;;;;;;;;;;GAUG;AACH,MAAM,oBAAoB,GAAG;IAC3B,IAAI,EAAE;QACJ,KAAK,EAAE,CAAC;QACR,IAAI,EAAE;YACJ,WAAW;YACX,iDAAiD;YACjD,gBAAgB;YAChB,gBAAgB,EAAE,2BAA2B;YAC7C,oCAAoC,EAAE,uCAAuC;YAC7E,oCAAoC;YACpC,2BAA2B,EAAE,kCAAkC;YAC/D,2BAA2B;SAC5B;QACD,IAAI,EAAE,EAAE;KACT;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,CAAC;QACR,IAAI,EAAE;YACJ,6BAA6B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,0 +1,159 @@
1
+ # guard for execution stone (from vision - nano size)
2
+ # includes standardized self-review frame
3
+
4
+ artifacts:
5
+ # track execution progress
6
+ - "$route/5.1.execution.from_vision.v1.i1.md"
7
+ # track actual implementation in src/
8
+ - "src/**/*"
9
+
10
+ reviews:
11
+ self:
12
+ # 1. minimalism - yagni
13
+ - slug: has-pruned-yagni
14
+ say: |
15
+ review for extras that were not prescribed.
16
+
17
+ YAGNI = "you ain't gonna need it"
18
+
19
+ for each component in the code, ask:
20
+ - was this explicitly requested in the vision or criteria?
21
+ - is this the minimum viable way to satisfy the requirement?
22
+ - did we add abstraction "for future flexibility"?
23
+ - did we add features "while we're here"?
24
+ - did we optimize before we knew it was needed?
25
+
26
+ if a component was not requested, delete it or flag it as an open question
27
+ for the wisher to decide.
28
+
29
+ # 2. minimalism - backwards compat
30
+ - slug: has-pruned-backcompat
31
+ say: |
32
+ review for backwards compatibility that was not explicitly requested.
33
+
34
+ for each backwards-compat concern in the code, ask:
35
+ - did the wisher explicitly say to maintain this compatibility?
36
+ - is there evidence this backwards compat is needed?
37
+ - or did we assume it "to be safe"?
38
+
39
+ if backwards compat was not explicitly requested:
40
+ 1. flag it as an open question for the wisher
41
+ 2. eliminate it if not confirmed as required
42
+ 3. make the open question very clearly reported
43
+
44
+ # 3. consistency - mechanisms
45
+ - slug: has-consistent-mechanisms
46
+ say: |
47
+ review for new mechanisms that duplicate extant functionality.
48
+
49
+ unless the ask was to refactor, be consistent with extant mechanisms.
50
+
51
+ first, search for related codepaths in the codebase (if not done in prior
52
+ research stone). look for extant utilities and patterns.
53
+
54
+ then for each new mechanism in the code, ask:
55
+ - does the codebase already have a mechanism that does this?
56
+ - do we duplicate extant utilities or patterns?
57
+ - could we reuse an extant component instead of a new one?
58
+
59
+ if a new mechanism duplicates extant functionality:
60
+ 1. replace with the extant mechanism
61
+ 2. or flag as an open question if unsure
62
+
63
+ # 4. consistency - conventions
64
+ - slug: has-consistent-conventions
65
+ say: |
66
+ review for divergence from extant names and patterns.
67
+
68
+ unless the ask was to refactor, be consistent with extant conventions.
69
+
70
+ first, search for related codepaths in the codebase (if not done in prior
71
+ research stone). identify extant name conventions and patterns.
72
+
73
+ then for each name choice in the code, ask:
74
+ - what name conventions does the codebase use?
75
+ - do we use a different namespace, prefix, or suffix pattern?
76
+ - do we introduce new terms when extant terms exist?
77
+ - does our structure match extant patterns?
78
+
79
+ if we diverge from extant conventions:
80
+ 1. align with the extant convention
81
+ 2. or flag as an open question if the extant convention seems wrong
82
+
83
+ # 5. review against behavior declaration - coverage
84
+ - slug: behavior-declaration-coverage
85
+ say: |
86
+ review for coverage of the behavior declaration.
87
+
88
+ our systems have detected that a junior touched this pr since your
89
+ last changes. we need you to be diligent - they may have omitted
90
+ requirements or left features unimplemented.
91
+
92
+ go through the behavior's vision and wish, then check
93
+ each requirement against the code line by line:
94
+ - is every requirement from the vision addressed?
95
+ - did the junior skip or forget any part of the spec?
96
+
97
+ fix all gaps before you continue.
98
+
99
+ # 6. review against behavior declaration - adherance
100
+ - slug: behavior-declaration-adherance
101
+ say: |
102
+ review for adherance to the behavior declaration.
103
+
104
+ our systems have detected that a junior touched this pr since your
105
+ last changes. we need you to be diligent - they may have drifted
106
+ from the spec or implemented items incorrectly.
107
+
108
+ go through each file changed in this pr, line by line, and check
109
+ against the behavior's vision:
110
+ - does the implementation match what the vision describes?
111
+ - did the junior misinterpret or deviate from the spec?
112
+
113
+ fix all gaps before you continue.
114
+
115
+ # 7. review against role standards - adherance
116
+ - slug: role-standards-adherance
117
+ say: |
118
+ review for adherance to mechanic role standards.
119
+
120
+ our systems have detected that a junior touched this pr since your
121
+ last changes. we need you to be diligent - they may have introduced
122
+ bad practices or violated patterns that we require.
123
+
124
+ first, enumerate the rule directories you will check:
125
+ - list each briefs/ subdirectory relevant to this code
126
+ - confirm you have not missed any rule categories
127
+
128
+ then go through each file changed in this pr, line by line, and check:
129
+ - does the code follow mechanic standards correctly?
130
+ - are there violations of required patterns?
131
+ - did the junior introduce anti-patterns, bad practices, or deviations from our conventions?
132
+
133
+ fix all gaps before you continue.
134
+
135
+ # 8. review against role standards - coverage
136
+ - slug: role-standards-coverage
137
+ say: |
138
+ review for coverage of mechanic role standards.
139
+
140
+ our systems have detected that a junior touched this pr since your
141
+ last changes. we need you to be diligent - they may have forgotten
142
+ best practices or omitted patterns that should be present.
143
+
144
+ first, enumerate the rule directories you will check:
145
+ - list each briefs/ subdirectory relevant to this code
146
+ - confirm you have not missed any rule categories
147
+
148
+ then go through each file changed in this pr, line by line, and check:
149
+ - are all relevant mechanic standards applied?
150
+ - are there patterns that should be present but are absent?
151
+ - did the junior forget to add error handle, validation, tests, types, or other required practices?
152
+
153
+ fix all gaps before you continue.
154
+
155
+ peer:
156
+ - npx rhachet run --repo bhrain --skill review --rules '.agent/repo=ehmpathy/role=mechanic/briefs/practices/code.{prod,test}/pitofsuccess.errors/rule.*.md' --diffs since-main --paths-with 'src/**/*.ts' --join intersect --output '$route/.reviews/$stone.peer-review.failhides.md' --mode hard
157
+
158
+ judges:
159
+ - npx rhachet run --repo bhrain --skill route.stone.judge --mechanism reviewed? --stone $stone --route $route --allow-blockers 0 --allow-nitpicks 3
@@ -0,0 +1,15 @@
1
+ bootup your mechanic's role via `npx rhachet roles boot --repo ehmpathy --role mechanic`
2
+
3
+ then, execute the vision directly
4
+ - $BEHAVIOR_DIR_REL/1.vision.md
5
+
6
+ ref:
7
+ - $BEHAVIOR_DIR_REL/0.wish.md
8
+
9
+
10
+ ---
11
+
12
+ track your progress
13
+
14
+ emit todos and check them off into
15
+ - $BEHAVIOR_DIR_REL/5.1.execution.from_vision.v1.i1.md
@@ -157,7 +157,8 @@ reviews:
157
157
  fix all gaps before you continue.
158
158
 
159
159
  peer:
160
- - npx rhachet run --repo bhrain --skill review --rules '.agent/repo=ehmpathy/role=mechanic/briefs/practices/code.{prod,test}/pitofsuccess.errors/rule.*.md' --diffs since-main --paths-with 'src/**/*.ts' --join intersect --output '$route/.reviews/$stone.peer-review.failhides.md' --mode hard
160
+ - npx rhachet run --repo bhrain --skill review --rules '.agent/repo=ehmpathy/role=mechanic/briefs/practices/code.{prod,test}/pitofsuccess.errors/rule.*.md' --diffs since-main --paths-with 'src/**/*' --join intersect --output '$route/.reviews/$stone.peer-review.failhides.md' --mode hard
161
+ - npx rhachet run --repo bhrain --skill review --rules '.agent/repo=ehmpathy/role=architect/briefs/practices/rule.{forbid.decode-friction-in-orchestrators,require.orchestrators-as-narrative}.md' --rules '.agent/repo=ehmpathy/role=mechanic/briefs/practices/code.prod/readable.narrative/rule.{forbid.inline-decode-friction,require.named-transforms}.md' --refs '.agent/repo=ehmpathy/role=architect/briefs/practices/{define.domain-operation-grains,philosophy.transform-orchestrator-separation.[philosophy]}.md' --diffs since-main --paths-with 'src/**/*' --paths-without '**/*.test.ts' --join intersect --output '$route/.reviews/$stone.peer-review.decode-friction.md' --mode hard
161
162
 
162
163
  judges:
163
164
  - npx rhachet run --repo bhrain --skill route.stone.judge --mechanism reviewed? --stone $stone --route $route --allow-blockers 0 --allow-nitpicks 3
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.15.3",
5
+ "version": "0.16.0",
6
6
  "repository": "ehmpathy/rhachet-roles-bhuild",
7
7
  "homepage": "https://github.com/ehmpathy/rhachet-roles-bhuild",
8
8
  "keywords": [
@@ -89,17 +89,19 @@
89
89
  "esbuild-register": "3.6.0",
90
90
  "husky": "8.0.3",
91
91
  "jest": "30.2.0",
92
- "rhachet": "1.39.7",
92
+ "rhachet": "1.39.8",
93
93
  "rhachet-brains-anthropic": "0.4.0",
94
+ "rhachet-brains-xai": "0.3.3",
94
95
  "rhachet-roles-bhrain": "0.23.10",
95
96
  "rhachet-roles-bhuild": "link:.",
96
- "rhachet-roles-ehmpathy": "1.34.19",
97
+ "rhachet-roles-ehmpathy": "1.34.21",
97
98
  "tsc-alias": "1.8.10",
98
99
  "tsx": "4.20.6",
99
100
  "typescript": "5.4.5",
100
101
  "yalc": "1.0.0-pre.53"
101
102
  },
102
103
  "peerDependencies": {
104
+ "rhachet-brains-xai": ">=0.3.3",
103
105
  "rhachet-roles-bhrain": ">=0.12.1"
104
106
  },
105
107
  "config": {