@codyswann/lisa 2.196.1 → 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.
Files changed (59) hide show
  1. package/package.json +1 -1
  2. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  3. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  4. package/plugins/lisa/.codex-plugin/skills/lisa-setup-github-repo/SKILL.md +1 -0
  5. package/plugins/lisa/skills/lisa-setup-github-repo/SKILL.md +1 -0
  6. package/plugins/lisa-agy/plugin.json +1 -1
  7. package/plugins/lisa-agy/skills/lisa-setup-github-repo/SKILL.md +1 -0
  8. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  9. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  10. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  11. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  12. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  13. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  14. package/plugins/lisa-copilot/skills/lisa-setup-github-repo/SKILL.md +1 -0
  15. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  16. package/plugins/lisa-cursor/skills/lisa-setup-github-repo/SKILL.md +1 -0
  17. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  18. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  19. package/plugins/lisa-expo-agy/plugin.json +1 -1
  20. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  21. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  22. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  23. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  24. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  25. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  26. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  27. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  28. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  29. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  30. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  31. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  32. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  33. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  34. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  35. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  36. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  37. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  38. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  39. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  40. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  41. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  42. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  43. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  44. package/plugins/lisa-rails-agy/plugin.json +1 -1
  45. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  46. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  47. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  48. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  49. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  50. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  51. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  52. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  53. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  54. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  55. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  56. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  57. package/plugins/src/base/skills/lisa-setup-github-repo/SKILL.md +1 -0
  58. package/scripts/lisa-github-repo-settings.sh +30 -3
  59. package/scripts/lisa-github-rulesets.sh +43 -0
package/package.json CHANGED
@@ -94,7 +94,7 @@
94
94
  "ws": ">=8.20.1"
95
95
  },
96
96
  "name": "@codyswann/lisa",
97
- "version": "2.196.1",
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": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Universal governance: agents, skills, commands, hooks, and rules for all projects.",
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:
@@ -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",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
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:
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "AWS CDK-specific Lisa plugin.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
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:
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
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:
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Expo and React Native-specific skills, agents, rules, and MCP servers.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Harper/Fabric-specific Lisa rules for TypeScript component apps.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "NestJS-specific skills and migration write-protection hooks.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-openclaw",
3
- "version": "2.196.1",
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.196.1",
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.196.1",
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.196.1",
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.196.1",
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-phaser",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Ruby on Rails-specific skills and hooks for RuboCop and ast-grep scanning on edit.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "TypeScript-specific hooks for formatting, linting, and ast-grep scanning on edit.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "Distributable LLM Wiki kernel — ingest, query, lint, and maintain a git-native markdown knowledge base across Claude and Codex.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.196.1",
3
+ "version": "2.198.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base 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
- jq -n --argjson base "$(baseline_settings)" --argjson over "$overrides" '$base * $over'
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
@@ -309,6 +309,48 @@ strip_actions_checks_if_no_workflows() {
309
309
  else . end'
310
310
  }
311
311
 
312
+ # Per-repo opt-out: .lisa.config.json can list required-check contexts that
313
+ # must never be required on this repository, e.g. wikis that should not gate
314
+ # on CodeRabbit:
315
+ # { "github": { "rulesets": { "dropRequiredChecks": ["CodeRabbit"] } } }
316
+ strip_config_dropped_checks() {
317
+ local json="$1"
318
+ local project_path="$2"
319
+ local config="$project_path/.lisa.config.json"
320
+
321
+ if [[ ! -f "$config" ]]; then
322
+ echo "$json"
323
+ return 0
324
+ fi
325
+
326
+ local dropped
327
+ if ! dropped=$(jq -c '.github.rulesets.dropRequiredChecks // []' "$config" 2>/dev/null); then
328
+ log_warning ".lisa.config.json could not be parsed — ignoring github.rulesets overrides" >&2
329
+ dropped="[]"
330
+ fi
331
+
332
+ if [[ "$dropped" == "[]" ]]; then
333
+ echo "$json"
334
+ return 0
335
+ fi
336
+
337
+ echo "$json" | jq --argjson dropped "$dropped" '
338
+ if .rules then
339
+ .rules |= (
340
+ map(
341
+ if .type == "required_status_checks" then
342
+ .parameters.required_status_checks |=
343
+ map(select(.context as $c | ($dropped | index($c)) | not))
344
+ else . end
345
+ )
346
+ | map(select(
347
+ .type != "required_status_checks"
348
+ or (.parameters.required_status_checks | length) > 0
349
+ ))
350
+ )
351
+ else . end'
352
+ }
353
+
312
354
  apply_ruleset() {
313
355
  local repo="$1"
314
356
  local template_file="$2"
@@ -324,6 +366,7 @@ apply_ruleset() {
324
366
  local clean_template
325
367
  clean_template=$(strip_readonly_fields "$template_content")
326
368
  clean_template=$(strip_actions_checks_if_no_workflows "$clean_template" "$project_path")
369
+ clean_template=$(strip_config_dropped_checks "$clean_template" "$project_path")
327
370
 
328
371
  # A template whose rules were entirely stripped has nothing to enforce here.
329
372
  if [[ $(echo "$clean_template" | jq '(.rules // [1]) | length') -eq 0 ]]; then