@codyswann/lisa 2.191.2 → 2.191.4
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/cdk/copy-overwrite/eslint.cdk.ts +71 -68
- package/package.json +1 -1
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-agy/plugin.json +1 -1
- package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
* eslint.cdk.ts (this file)
|
|
15
15
|
* └── eslint.typescript.ts
|
|
16
16
|
* └── eslint.base.ts
|
|
17
|
-
*
|
|
18
17
|
* @see https://eslint.org/docs/latest/use/configure/configuration-files-new
|
|
19
18
|
* @module eslint.cdk
|
|
20
19
|
*/
|
|
@@ -51,9 +50,76 @@ const cdkIgnores = [
|
|
|
51
50
|
"*.d.ts",
|
|
52
51
|
];
|
|
53
52
|
|
|
53
|
+
// CDK-specific rule adjustments layered over the shared base rules
|
|
54
|
+
const cdkRules = {
|
|
55
|
+
// Code organization
|
|
56
|
+
"code-organization/enforce-statement-order": "error",
|
|
57
|
+
|
|
58
|
+
// Configuration enforcement - prevent direct process.env access
|
|
59
|
+
// All configuration should go through config module
|
|
60
|
+
// @see .claude/rules/PROJECT_RULES.md
|
|
61
|
+
"no-restricted-syntax": [
|
|
62
|
+
"error",
|
|
63
|
+
{
|
|
64
|
+
selector: "MemberExpression[object.name='process'][property.name='env']",
|
|
65
|
+
message:
|
|
66
|
+
"Direct process.env access is forbidden. Use config module for type-safe configuration. See .claude/rules/PROJECT_RULES.md.",
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
|
|
70
|
+
// CDK uses classes for constructs and stacks
|
|
71
|
+
"functional/no-classes": "off",
|
|
72
|
+
|
|
73
|
+
// CDK constructs and stacks require documentation
|
|
74
|
+
"jsdoc/require-jsdoc": [
|
|
75
|
+
"error",
|
|
76
|
+
{
|
|
77
|
+
require: {
|
|
78
|
+
FunctionDeclaration: true,
|
|
79
|
+
MethodDefinition: true,
|
|
80
|
+
ClassDeclaration: true,
|
|
81
|
+
ArrowFunctionExpression: false,
|
|
82
|
+
FunctionExpression: false,
|
|
83
|
+
},
|
|
84
|
+
contexts: [
|
|
85
|
+
"TSInterfaceDeclaration",
|
|
86
|
+
"TSTypeAliasDeclaration",
|
|
87
|
+
"VariableDeclaration[declarations.0.init.type='ArrowFunctionExpression']:has([id.name=/^[A-Z]/])",
|
|
88
|
+
],
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
// Per-path rule relaxations for CDK project layout
|
|
94
|
+
const cdkPathOverrides = [
|
|
95
|
+
// CDK bin files - entry points can access process.env for stage selection
|
|
96
|
+
{
|
|
97
|
+
files: ["bin/**/*.ts"],
|
|
98
|
+
rules: {
|
|
99
|
+
"no-restricted-syntax": "off",
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
|
|
103
|
+
// Configuration files - allowed to use process.env directly
|
|
104
|
+
{
|
|
105
|
+
files: ["**/*config.*", "**/config/**/*.ts"],
|
|
106
|
+
rules: {
|
|
107
|
+
"no-restricted-syntax": "off",
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
|
|
111
|
+
// Lambda handlers - often have different constraints
|
|
112
|
+
{
|
|
113
|
+
files: ["**/lambda/**/*.ts", "**/lambdas/**/*.ts", "**/functions/**/*.ts"],
|
|
114
|
+
rules: {
|
|
115
|
+
// Lambda cold starts benefit from simpler code
|
|
116
|
+
"sonarjs/cognitive-complexity": ["error", 15],
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
];
|
|
120
|
+
|
|
54
121
|
/**
|
|
55
122
|
* Creates the CDK ESLint configuration.
|
|
56
|
-
*
|
|
57
123
|
* @param {object} options - Configuration options
|
|
58
124
|
* @param {string} options.tsconfigRootDir - Root directory for tsconfig.json
|
|
59
125
|
* @param {string[]} [options.ignorePatterns] - Patterns to ignore
|
|
@@ -87,44 +153,7 @@ export function getCdkConfig({
|
|
|
87
153
|
rules: {
|
|
88
154
|
// Shared rules from base
|
|
89
155
|
...getSharedRules(thresholds),
|
|
90
|
-
|
|
91
|
-
// Code organization
|
|
92
|
-
"code-organization/enforce-statement-order": "error",
|
|
93
|
-
|
|
94
|
-
// Configuration enforcement - prevent direct process.env access
|
|
95
|
-
// All configuration should go through config module
|
|
96
|
-
// @see .claude/rules/PROJECT_RULES.md
|
|
97
|
-
"no-restricted-syntax": [
|
|
98
|
-
"error",
|
|
99
|
-
{
|
|
100
|
-
selector:
|
|
101
|
-
"MemberExpression[object.name='process'][property.name='env']",
|
|
102
|
-
message:
|
|
103
|
-
"Direct process.env access is forbidden. Use config module for type-safe configuration. See .claude/rules/PROJECT_RULES.md.",
|
|
104
|
-
},
|
|
105
|
-
],
|
|
106
|
-
|
|
107
|
-
// CDK uses classes for constructs and stacks
|
|
108
|
-
"functional/no-classes": "off",
|
|
109
|
-
|
|
110
|
-
// CDK constructs and stacks require documentation
|
|
111
|
-
"jsdoc/require-jsdoc": [
|
|
112
|
-
"error",
|
|
113
|
-
{
|
|
114
|
-
require: {
|
|
115
|
-
FunctionDeclaration: true,
|
|
116
|
-
MethodDefinition: true,
|
|
117
|
-
ClassDeclaration: true,
|
|
118
|
-
ArrowFunctionExpression: false,
|
|
119
|
-
FunctionExpression: false,
|
|
120
|
-
},
|
|
121
|
-
contexts: [
|
|
122
|
-
"TSInterfaceDeclaration",
|
|
123
|
-
"TSTypeAliasDeclaration",
|
|
124
|
-
"VariableDeclaration[declarations.0.init.type='ArrowFunctionExpression']:has([id.name=/^[A-Z]/])",
|
|
125
|
-
],
|
|
126
|
-
},
|
|
127
|
-
],
|
|
156
|
+
...cdkRules,
|
|
128
157
|
},
|
|
129
158
|
},
|
|
130
159
|
|
|
@@ -143,33 +172,7 @@ export function getCdkConfig({
|
|
|
143
172
|
// TypeScript test files - disable immutable-data
|
|
144
173
|
getTsTestFilesOverride(["**/*.test.ts", "**/*.spec.ts"]),
|
|
145
174
|
|
|
146
|
-
//
|
|
147
|
-
|
|
148
|
-
files: ["bin/**/*.ts"],
|
|
149
|
-
rules: {
|
|
150
|
-
"no-restricted-syntax": "off",
|
|
151
|
-
},
|
|
152
|
-
},
|
|
153
|
-
|
|
154
|
-
// Configuration files - allowed to use process.env directly
|
|
155
|
-
{
|
|
156
|
-
files: ["**/*config.*", "**/config/**/*.ts"],
|
|
157
|
-
rules: {
|
|
158
|
-
"no-restricted-syntax": "off",
|
|
159
|
-
},
|
|
160
|
-
},
|
|
161
|
-
|
|
162
|
-
// Lambda handlers - often have different constraints
|
|
163
|
-
{
|
|
164
|
-
files: [
|
|
165
|
-
"**/lambda/**/*.ts",
|
|
166
|
-
"**/lambdas/**/*.ts",
|
|
167
|
-
"**/functions/**/*.ts",
|
|
168
|
-
],
|
|
169
|
-
rules: {
|
|
170
|
-
// Lambda cold starts benefit from simpler code
|
|
171
|
-
"sonarjs/cognitive-complexity": ["error", 15],
|
|
172
|
-
},
|
|
173
|
-
},
|
|
175
|
+
// Per-path CDK relaxations (bin, config, lambda handlers)
|
|
176
|
+
...cdkPathOverrides,
|
|
174
177
|
];
|
|
175
178
|
}
|
package/package.json
CHANGED
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"ws": ">=8.20.1"
|
|
96
96
|
},
|
|
97
97
|
"name": "@codyswann/lisa",
|
|
98
|
-
"version": "2.191.
|
|
98
|
+
"version": "2.191.4",
|
|
99
99
|
"description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
|
|
100
100
|
"main": "dist/index.js",
|
|
101
101
|
"exports": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.191.
|
|
3
|
+
"version": "2.191.4",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.191.
|
|
3
|
+
"version": "2.191.4",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, across Claude and Codex.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.191.
|
|
3
|
+
"version": "2.191.4",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.191.
|
|
3
|
+
"version": "2.191.4",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.191.
|
|
3
|
+
"version": "2.191.4",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|