@hone-ai/cli 1.21.0 → 1.22.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.
@@ -48,6 +48,11 @@ const ARCHITECT_AXES = Object.freeze({
48
48
  EXTERNAL_COORDINATION: 'external-coordination',
49
49
  CROSS_REPO_DEPENDENCY: 'cross-repo-dependency',
50
50
  SECURITY_IMPLICATIONS: 'security-implications',
51
+ // HC-DH-001: the story gates/wraps/re-bills/re-routes a function shared by
52
+ // 2+ consumers (billing, auth, quota, dispatch, refusal). Origin: a billing
53
+ // story with single-module surface + one obvious design engaged NO axis —
54
+ // exactly where an independent architect caught a money leak.
55
+ SHARED_CHOKEPOINT: 'shared-chokepoint',
51
56
  });
52
57
 
53
58
  // Estimate ordering for threshold comparisons
@@ -97,6 +102,11 @@ function shouldEngageArchitect(input) {
97
102
  if (input.has_security_implications === true) {
98
103
  axes.push(ARCHITECT_AXES.SECURITY_IMPLICATIONS);
99
104
  }
105
+ // Shared chokepoint → architect for whole-repo call-site + invariant review
106
+ // (HC-DH-001). Missing/false input = today's behavior — additive-only.
107
+ if (input.touches_shared_chokepoint === true) {
108
+ axes.push(ARCHITECT_AXES.SHARED_CHOKEPOINT);
109
+ }
100
110
  return { engage: axes.length > 0, axes };
101
111
  }
102
112
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hone-ai/cli",
3
- "version": "1.21.0",
3
+ "version": "1.22.0",
4
4
  "description": "Hone AI — Enterprise SDLC Pipeline CLI",
5
5
  "main": "hone-cli.js",
6
6
  "bin": {