@codyswann/lisa 1.77.0 → 1.78.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.
- package/package.json +1 -1
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/rules/base-rules.md +2 -0
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/src/base/rules/base-rules.md +2 -0
- package/scripts/lisa-update-local.sh +25 -1
- package/typescript/deletions.json +3 -18
package/package.json
CHANGED
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"flatted": "^3.4.2"
|
|
75
75
|
},
|
|
76
76
|
"name": "@codyswann/lisa",
|
|
77
|
-
"version": "1.
|
|
77
|
+
"version": "1.78.1",
|
|
78
78
|
"description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
|
|
79
79
|
"main": "dist/index.js",
|
|
80
80
|
"exports": {
|
|
@@ -9,6 +9,8 @@ Never assume the person providing instructions has given you complete, correct,
|
|
|
9
9
|
|
|
10
10
|
DO NOT START WORK if any of the above are unclear. Asking a clarifying question is always cheaper than implementing the wrong thing.
|
|
11
11
|
|
|
12
|
+
Do not begin a task if there are any blockers, ambiguities, access requirements, unanswered questions, or unknowns that would prevent you from completing it. Identify these before starting — not during implementation. If you cannot confirm that you have everything needed to finish the work end-to-end, stop and surface what is missing.
|
|
13
|
+
|
|
12
14
|
Project Discovery:
|
|
13
15
|
- Determine the project's package manager before installing or running anything.
|
|
14
16
|
- Read the project manifest (e.g. package.json, pyproject.toml, Cargo.toml, go.mod) to understand available scripts and dependencies.
|
|
@@ -9,6 +9,8 @@ Never assume the person providing instructions has given you complete, correct,
|
|
|
9
9
|
|
|
10
10
|
DO NOT START WORK if any of the above are unclear. Asking a clarifying question is always cheaper than implementing the wrong thing.
|
|
11
11
|
|
|
12
|
+
Do not begin a task if there are any blockers, ambiguities, access requirements, unanswered questions, or unknowns that would prevent you from completing it. Identify these before starting — not during implementation. If you cannot confirm that you have everything needed to finish the work end-to-end, stop and surface what is missing.
|
|
13
|
+
|
|
12
14
|
Project Discovery:
|
|
13
15
|
- Determine the project's package manager before installing or running anything.
|
|
14
16
|
- Read the project manifest (e.g. package.json, pyproject.toml, Cargo.toml, go.mod) to understand available scripts and dependencies.
|
|
@@ -107,7 +107,8 @@ while IFS=$'\t' read -r project_path target_branch; do
|
|
|
107
107
|
if [[ "$DRY_RUN" == true ]]; then
|
|
108
108
|
log_dry_run "Would checkout '$target_branch' in $expanded_path"
|
|
109
109
|
log_dry_run "Would pull latest from origin/$target_branch"
|
|
110
|
-
log_dry_run "Would
|
|
110
|
+
log_dry_run "Would update @codyswann/lisa via detected package manager"
|
|
111
|
+
log_dry_run "Would rewrite any local workflow references (./.github/workflows/) to Lisa reusable workflows"
|
|
111
112
|
((success_count++)) || true
|
|
112
113
|
continue
|
|
113
114
|
fi
|
|
@@ -173,6 +174,29 @@ while IFS=$'\t' read -r project_path target_branch; do
|
|
|
173
174
|
continue
|
|
174
175
|
fi
|
|
175
176
|
|
|
177
|
+
# Check for local workflow references that will break after deletions.
|
|
178
|
+
# These can't be auto-fixed because external workflows don't support
|
|
179
|
+
# secrets: inherit — each workflow needs manual conversion to pass
|
|
180
|
+
# secrets explicitly.
|
|
181
|
+
workflow_dir="$expanded_path/.github/workflows"
|
|
182
|
+
if [[ -d "$workflow_dir" ]]; then
|
|
183
|
+
broken_refs=()
|
|
184
|
+
for wf in "$workflow_dir"/*.yml; do
|
|
185
|
+
[[ -f "$wf" ]] || continue
|
|
186
|
+
if grep -q 'uses: \./\.github/workflows/' "$wf" 2>/dev/null; then
|
|
187
|
+
broken_refs+=("$(basename "$wf")")
|
|
188
|
+
fi
|
|
189
|
+
done
|
|
190
|
+
if [[ ${#broken_refs[@]} -gt 0 ]]; then
|
|
191
|
+
log_warning "These workflows reference local files that were deleted:"
|
|
192
|
+
for ref in "${broken_refs[@]}"; do
|
|
193
|
+
echo -e " ${YELLOW}→${NC} $ref"
|
|
194
|
+
done
|
|
195
|
+
log_warning "Update them to use CodySwannGT/lisa/.github/workflows/...@main"
|
|
196
|
+
log_warning "Note: secrets: inherit must be replaced with explicit secret passing for external workflows"
|
|
197
|
+
fi
|
|
198
|
+
fi
|
|
199
|
+
|
|
176
200
|
log_success "Updated $project_path"
|
|
177
201
|
((success_count++)) || true
|
|
178
202
|
|
|
@@ -32,23 +32,8 @@
|
|
|
32
32
|
".github/workflows/reusable-claude-deploy-auto-fix.yml",
|
|
33
33
|
".github/workflows/reusable-claude-nightly-code-complexity.yml",
|
|
34
34
|
".github/workflows/reusable-claude-nightly-test-coverage.yml",
|
|
35
|
-
".github/workflows/reusable-claude-nightly-test-improvement.yml"
|
|
35
|
+
".github/workflows/reusable-claude-nightly-test-improvement.yml",
|
|
36
|
+
".github/workflows/load-test.yml"
|
|
36
37
|
],
|
|
37
|
-
"keep": [
|
|
38
|
-
"eslint-plugin-code-organization",
|
|
39
|
-
".github/workflows/create-issue-on-failure.yml",
|
|
40
|
-
".github/workflows/create-github-issue-on-failure.yml",
|
|
41
|
-
".github/workflows/create-jira-issue-on-failure.yml",
|
|
42
|
-
".github/workflows/create-sentry-issue-on-failure.yml",
|
|
43
|
-
".github/workflows/quality.yml",
|
|
44
|
-
".github/workflows/release.yml",
|
|
45
|
-
".github/workflows/reusable-auto-update-pr-branches.yml",
|
|
46
|
-
".github/workflows/reusable-claude.yml",
|
|
47
|
-
".github/workflows/reusable-claude-ci-auto-fix.yml",
|
|
48
|
-
".github/workflows/reusable-claude-code-review-response.yml",
|
|
49
|
-
".github/workflows/reusable-claude-deploy-auto-fix.yml",
|
|
50
|
-
".github/workflows/reusable-claude-nightly-code-complexity.yml",
|
|
51
|
-
".github/workflows/reusable-claude-nightly-test-coverage.yml",
|
|
52
|
-
".github/workflows/reusable-claude-nightly-test-improvement.yml"
|
|
53
|
-
]
|
|
38
|
+
"keep": []
|
|
54
39
|
}
|