@codyswann/lisa 2.197.0 → 2.198.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.
- 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/.codex-plugin/skills/lisa-setup-github-repo/SKILL.md +1 -0
- package/plugins/lisa/skills/lisa-setup-github-repo/SKILL.md +1 -0
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-setup-github-repo/SKILL.md +1 -0
- 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-copilot/skills/lisa-setup-github-repo/SKILL.md +1 -0
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/skills/lisa-setup-github-repo/SKILL.md +1 -0
- 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
- package/plugins/src/base/skills/lisa-setup-github-repo/SKILL.md +1 -0
- package/scripts/lisa-github-repo-settings.sh +30 -3
package/package.json
CHANGED
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"ws": ">=8.20.1"
|
|
95
95
|
},
|
|
96
96
|
"name": "@codyswann/lisa",
|
|
97
|
-
"version": "2.
|
|
97
|
+
"version": "2.198.0",
|
|
98
98
|
"description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
|
|
99
99
|
"main": "dist/index.js",
|
|
100
100
|
"exports": {
|
|
@@ -20,6 +20,7 @@ Apply the fleet-standard GitHub repository configuration to this project's repo.
|
|
|
20
20
|
(any key under `github.settings` overrides the baseline)
|
|
21
21
|
- Delete head branches after merge (environment branches survive — the rulesets' `deletion` rule means GitHub refuses to delete them)
|
|
22
22
|
- "Always suggest updating pull request branches" on
|
|
23
|
+
- Default branch set to the lowest-tier environment branch that exists (dev → staging → main); override with `github.settings.default_branch`
|
|
23
24
|
- GitHub wiki tab off (Lisa projects use in-repo `wiki/`)
|
|
24
25
|
- Secret scanning + push protection enabled where the plan supports it
|
|
25
26
|
2. **Rulesets** (`scripts/lisa-github-rulesets.sh`) from Lisa's `<type>/github-rulesets/` templates, matched by project type:
|
|
@@ -20,6 +20,7 @@ Apply the fleet-standard GitHub repository configuration to this project's repo.
|
|
|
20
20
|
(any key under `github.settings` overrides the baseline)
|
|
21
21
|
- Delete head branches after merge (environment branches survive — the rulesets' `deletion` rule means GitHub refuses to delete them)
|
|
22
22
|
- "Always suggest updating pull request branches" on
|
|
23
|
+
- Default branch set to the lowest-tier environment branch that exists (dev → staging → main); override with `github.settings.default_branch`
|
|
23
24
|
- GitHub wiki tab off (Lisa projects use in-repo `wiki/`)
|
|
24
25
|
- Secret scanning + push protection enabled where the plan supports it
|
|
25
26
|
2. **Rulesets** (`scripts/lisa-github-rulesets.sh`) from Lisa's `<type>/github-rulesets/` templates, matched by project type:
|
|
@@ -20,6 +20,7 @@ Apply the fleet-standard GitHub repository configuration to this project's repo.
|
|
|
20
20
|
(any key under `github.settings` overrides the baseline)
|
|
21
21
|
- Delete head branches after merge (environment branches survive — the rulesets' `deletion` rule means GitHub refuses to delete them)
|
|
22
22
|
- "Always suggest updating pull request branches" on
|
|
23
|
+
- Default branch set to the lowest-tier environment branch that exists (dev → staging → main); override with `github.settings.default_branch`
|
|
23
24
|
- GitHub wiki tab off (Lisa projects use in-repo `wiki/`)
|
|
24
25
|
- Secret scanning + push protection enabled where the plan supports it
|
|
25
26
|
2. **Rulesets** (`scripts/lisa-github-rulesets.sh`) from Lisa's `<type>/github-rulesets/` templates, matched by project type:
|
|
@@ -20,6 +20,7 @@ Apply the fleet-standard GitHub repository configuration to this project's repo.
|
|
|
20
20
|
(any key under `github.settings` overrides the baseline)
|
|
21
21
|
- Delete head branches after merge (environment branches survive — the rulesets' `deletion` rule means GitHub refuses to delete them)
|
|
22
22
|
- "Always suggest updating pull request branches" on
|
|
23
|
+
- Default branch set to the lowest-tier environment branch that exists (dev → staging → main); override with `github.settings.default_branch`
|
|
23
24
|
- GitHub wiki tab off (Lisa projects use in-repo `wiki/`)
|
|
24
25
|
- Secret scanning + push protection enabled where the plan supports it
|
|
25
26
|
2. **Rulesets** (`scripts/lisa-github-rulesets.sh`) from Lisa's `<type>/github-rulesets/` templates, matched by project type:
|
|
@@ -20,6 +20,7 @@ Apply the fleet-standard GitHub repository configuration to this project's repo.
|
|
|
20
20
|
(any key under `github.settings` overrides the baseline)
|
|
21
21
|
- Delete head branches after merge (environment branches survive — the rulesets' `deletion` rule means GitHub refuses to delete them)
|
|
22
22
|
- "Always suggest updating pull request branches" on
|
|
23
|
+
- Default branch set to the lowest-tier environment branch that exists (dev → staging → main); override with `github.settings.default_branch`
|
|
23
24
|
- GitHub wiki tab off (Lisa projects use in-repo `wiki/`)
|
|
24
25
|
- Secret scanning + push protection enabled where the plan supports it
|
|
25
26
|
2. **Rulesets** (`scripts/lisa-github-rulesets.sh`) from Lisa's `<type>/github-rulesets/` templates, matched by project type:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.198.0",
|
|
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.
|
|
3
|
+
"version": "2.198.0",
|
|
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.
|
|
3
|
+
"version": "2.198.0",
|
|
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.
|
|
3
|
+
"version": "2.198.0",
|
|
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.
|
|
3
|
+
"version": "2.198.0",
|
|
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"
|
|
@@ -20,6 +20,7 @@ Apply the fleet-standard GitHub repository configuration to this project's repo.
|
|
|
20
20
|
(any key under `github.settings` overrides the baseline)
|
|
21
21
|
- Delete head branches after merge (environment branches survive — the rulesets' `deletion` rule means GitHub refuses to delete them)
|
|
22
22
|
- "Always suggest updating pull request branches" on
|
|
23
|
+
- Default branch set to the lowest-tier environment branch that exists (dev → staging → main); override with `github.settings.default_branch`
|
|
23
24
|
- GitHub wiki tab off (Lisa projects use in-repo `wiki/`)
|
|
24
25
|
- Secret scanning + push protection enabled where the plan supports it
|
|
25
26
|
2. **Rulesets** (`scripts/lisa-github-rulesets.sh`) from Lisa's `<type>/github-rulesets/` templates, matched by project type:
|
|
@@ -13,8 +13,12 @@
|
|
|
13
13
|
# - GitHub wiki tab disabled (Lisa projects use in-repo wiki/)
|
|
14
14
|
# - secret scanning + push protection enabled where the plan supports it
|
|
15
15
|
#
|
|
16
|
+
# - default branch set to the lowest-tier environment branch that exists
|
|
17
|
+
# on the repository (dev > staging > main); repos with none of the
|
|
18
|
+
# environment branches keep their current default
|
|
19
|
+
#
|
|
16
20
|
# Per-repo overrides come from .lisa.config.json:
|
|
17
|
-
# { "github": { "settings": { "allow_auto_merge": false } } }
|
|
21
|
+
# { "github": { "settings": { "allow_auto_merge": false, "default_branch": "main" } } }
|
|
18
22
|
# Any key in github.settings replaces the baseline value for that repo.
|
|
19
23
|
#
|
|
20
24
|
# Usage:
|
|
@@ -68,9 +72,23 @@ baseline_settings() {
|
|
|
68
72
|
}'
|
|
69
73
|
}
|
|
70
74
|
|
|
75
|
+
# The default branch is the lowest-tier environment branch the repo has.
|
|
76
|
+
resolve_default_branch() {
|
|
77
|
+
local repo="$1"
|
|
78
|
+
local branch
|
|
79
|
+
for branch in dev staging main; do
|
|
80
|
+
if gh api "repos/$repo/branches/$branch" > /dev/null 2>&1; then
|
|
81
|
+
echo "$branch"
|
|
82
|
+
return 0
|
|
83
|
+
fi
|
|
84
|
+
done
|
|
85
|
+
echo ""
|
|
86
|
+
}
|
|
87
|
+
|
|
71
88
|
# Merge .lisa.config.json github.settings overrides on top of the baseline.
|
|
72
89
|
resolved_settings() {
|
|
73
90
|
local project_path="$1"
|
|
91
|
+
local repo="$2"
|
|
74
92
|
local overrides="{}"
|
|
75
93
|
|
|
76
94
|
if [[ -f "$project_path/.lisa.config.json" ]]; then
|
|
@@ -80,7 +98,16 @@ resolved_settings() {
|
|
|
80
98
|
fi
|
|
81
99
|
fi
|
|
82
100
|
|
|
83
|
-
|
|
101
|
+
local base
|
|
102
|
+
base=$(baseline_settings)
|
|
103
|
+
|
|
104
|
+
local default_branch
|
|
105
|
+
default_branch=$(resolve_default_branch "$repo")
|
|
106
|
+
if [[ -n "$default_branch" ]]; then
|
|
107
|
+
base=$(echo "$base" | jq --arg b "$default_branch" '. + {default_branch: $b}')
|
|
108
|
+
fi
|
|
109
|
+
|
|
110
|
+
jq -n --argjson base "$base" --argjson over "$overrides" '$base * $over'
|
|
84
111
|
}
|
|
85
112
|
|
|
86
113
|
main() {
|
|
@@ -115,7 +142,7 @@ main() {
|
|
|
115
142
|
log_info "Repository: $repo"
|
|
116
143
|
|
|
117
144
|
local settings
|
|
118
|
-
settings=$(resolved_settings "$PROJECT_PATH")
|
|
145
|
+
settings=$(resolved_settings "$PROJECT_PATH" "$repo")
|
|
119
146
|
log_verbose "Settings payload: $(echo "$settings" | jq -c .)"
|
|
120
147
|
|
|
121
148
|
if [[ "$DRY_RUN" == "true" ]]; then
|