@codyswann/lisa 3.11.9 → 3.13.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 (145) hide show
  1. package/all/copy-overwrite/scripts/lisa-command-envelope.mjs +10 -0
  2. package/all/copy-overwrite/scripts/lisa-destructive-guard.mjs +267 -0
  3. package/all/copy-overwrite/scripts/lisa-hooks/block-no-verify.sh +15 -2
  4. package/all/create-only/scripts/remote-agent-aws-setup.sh +3 -0
  5. package/cdk/create-only/.github/workflows/deploy.yml +2 -1
  6. package/cdk/create-only/vitest.config.local.ts +3 -0
  7. package/dist/cli/doctor-lisa-owned-artifacts.d.ts +11 -2
  8. package/dist/cli/doctor-lisa-owned-artifacts.d.ts.map +1 -1
  9. package/dist/cli/doctor-lisa-owned-artifacts.js +60 -15
  10. package/dist/cli/doctor-lisa-owned-artifacts.js.map +1 -1
  11. package/dist/core/config.d.ts +21 -1
  12. package/dist/core/config.d.ts.map +1 -1
  13. package/dist/core/config.js +1 -0
  14. package/dist/core/config.js.map +1 -1
  15. package/dist/core/guard-capabilities.d.ts +60 -0
  16. package/dist/core/guard-capabilities.d.ts.map +1 -0
  17. package/dist/core/guard-capabilities.js +102 -0
  18. package/dist/core/guard-capabilities.js.map +1 -0
  19. package/dist/core/lisa-owned-hash-ledger.d.ts +11 -0
  20. package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -0
  21. package/dist/core/lisa-owned-hash-ledger.js +127 -0
  22. package/dist/core/lisa-owned-hash-ledger.js.map +1 -0
  23. package/dist/core/lisa-owned-provenance.d.ts +75 -0
  24. package/dist/core/lisa-owned-provenance.d.ts.map +1 -0
  25. package/dist/core/lisa-owned-provenance.js +127 -0
  26. package/dist/core/lisa-owned-provenance.js.map +1 -0
  27. package/dist/core/lisa.d.ts +18 -0
  28. package/dist/core/lisa.d.ts.map +1 -1
  29. package/dist/core/lisa.js +38 -0
  30. package/dist/core/lisa.js.map +1 -1
  31. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  32. package/dist/core/upstream-evidence-manifest.js +66 -53
  33. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  34. package/dist/strategies/copy-overwrite.d.ts +28 -1
  35. package/dist/strategies/copy-overwrite.d.ts.map +1 -1
  36. package/dist/strategies/copy-overwrite.js +53 -3
  37. package/dist/strategies/copy-overwrite.js.map +1 -1
  38. package/dist/strategies/strategy.interface.d.ts +13 -0
  39. package/dist/strategies/strategy.interface.d.ts.map +1 -1
  40. package/expo/create-only/.github/workflows/ci.yml +3 -0
  41. package/expo/create-only/.github/workflows/deploy.yml +2 -1
  42. package/expo/create-only/.github/workflows/maestro-e2e.yml +3 -0
  43. package/expo/create-only/.github/workflows/nightly-e2e-bypass-reaper.yml +3 -0
  44. package/expo/create-only/.github/workflows/nightly-e2e-health.yml +3 -0
  45. package/expo/create-only/.github/workflows/nightly-e2e-report.yml +3 -0
  46. package/expo/create-only/babel.config.js +3 -0
  47. package/expo/create-only/jest.config.local.ts +3 -0
  48. package/expo/create-only/jest.config.react-native-mock.js +3 -0
  49. package/expo/create-only/jest.setup.local.ts +3 -0
  50. package/expo/create-only/jest.setup.pre.local.js +3 -0
  51. package/expo/create-only/scripts/zap-baseline.sh +3 -0
  52. package/harper-fabric/create-only/.github/workflows/deploy.yml +3 -0
  53. package/harper-fabric/create-only/.github/workflows/zap-baseline.yml +3 -0
  54. package/harper-fabric/create-only/scripts/zap-baseline.sh +3 -0
  55. package/nestjs/create-only/.github/workflows/deploy.yml +3 -0
  56. package/nestjs/create-only/scripts/zap-baseline.sh +3 -0
  57. package/nestjs/create-only/vitest.config.local.ts +3 -0
  58. package/npm-package/create-only/.github/workflows/publish-to-npm.yml +2 -1
  59. package/package.json +3 -1
  60. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  61. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  62. package/plugins/lisa/hooks/block-no-verify.sh +15 -2
  63. package/plugins/lisa/rules/eager/reset-seed-coverage.md +2 -0
  64. package/plugins/lisa-agy/plugin.json +1 -1
  65. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  66. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  67. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  68. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  69. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  70. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  71. package/plugins/lisa-copilot/hooks/block-no-verify.sh +15 -2
  72. package/plugins/lisa-copilot/rules/eager/reset-seed-coverage.md +2 -0
  73. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  74. package/plugins/lisa-cursor/hooks/block-no-verify.sh +15 -2
  75. package/plugins/lisa-cursor/rules/reset-seed-coverage.mdc +2 -0
  76. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  77. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  78. package/plugins/lisa-expo-agy/plugin.json +1 -1
  79. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  80. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  81. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  82. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  83. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  84. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  85. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  86. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  87. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  88. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  89. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  90. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  91. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  92. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  93. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  94. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  95. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  96. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  97. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  98. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  99. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  100. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  101. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  102. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  103. package/plugins/lisa-rails-agy/plugin.json +1 -1
  104. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  105. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  106. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  107. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  108. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  109. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  110. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  111. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  112. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  113. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  114. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  115. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  116. package/plugins/src/base/hooks/block-no-verify.sh +15 -2
  117. package/plugins/src/base/rules/eager/reset-seed-coverage.md +2 -0
  118. package/rails/create-only/.github/workflows/claude-code-review-response.yml +2 -1
  119. package/rails/create-only/.github/workflows/claude-nightly-code-complexity.yml +2 -1
  120. package/rails/create-only/.github/workflows/claude-nightly-test-coverage.yml +2 -1
  121. package/rails/create-only/.github/workflows/claude-nightly-test-improvement.yml +2 -1
  122. package/rails/create-only/.github/workflows/claude-sync-down-branches.yml +2 -1
  123. package/rails/create-only/.github/workflows/deploy.yml +2 -1
  124. package/rails/create-only/.mutant.yml +3 -0
  125. package/rails/create-only/.reek.yml +3 -0
  126. package/rails/create-only/.rubocop_todo.yml +3 -0
  127. package/rails/create-only/mutation.gate.yml +3 -0
  128. package/rails/create-only/rubocop.thresholds.yml +3 -0
  129. package/rails/create-only/spec/rails_helper.rb +2 -0
  130. package/rails/create-only/spec/spec_helper.rb +2 -0
  131. package/scripts/generate-lisa-owned-hash-ledger.mjs +226 -0
  132. package/typescript/create-only/.github/workflows/auto-update-pr-branches-dispatch.yml +2 -1
  133. package/typescript/create-only/.github/workflows/auto-update-pr-branches.yml +2 -1
  134. package/typescript/create-only/.github/workflows/claude-ci-auto-fix.yml +2 -1
  135. package/typescript/create-only/.github/workflows/claude-code-review-response.yml +2 -1
  136. package/typescript/create-only/.github/workflows/claude-deploy-auto-fix.yml +2 -1
  137. package/typescript/create-only/.github/workflows/claude-nightly-code-complexity.yml +2 -1
  138. package/typescript/create-only/.github/workflows/claude-nightly-test-coverage.yml +2 -1
  139. package/typescript/create-only/.github/workflows/claude-nightly-test-improvement.yml +2 -1
  140. package/typescript/create-only/.github/workflows/claude-sync-down-branches.yml +2 -1
  141. package/typescript/create-only/.github/workflows/claude.yml +2 -1
  142. package/typescript/create-only/.github/workflows/required-checks-drift.yml +2 -1
  143. package/typescript/create-only/eslint.config.local.ts +3 -0
  144. package/typescript/create-only/jest.config.local.ts +3 -0
  145. package/typescript/create-only/vitest.config.local.ts +3 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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": "3.11.9",
3
+ "version": "3.13.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"
@@ -5,9 +5,22 @@
5
5
  # check. See feedback_never_no_verify in user memory.
6
6
  #
7
7
  # Blocked bypass vectors:
8
- # 1. the --no-verify long flag (any subcommand, any position, incl. subshells);
8
+ # 1. --no-verify, and any prefix abbreviation git would accept for it;
9
9
  # 2. HUSKY=0 / HUSKY_SKIP_HOOKS=... — disables husky-managed git hooks;
10
- # 3. core.hooksPath pointed at /dev/null or set empty disables ALL git hooks.
10
+ # 3. core.hooksPath pointed anywhere but an allowlisted in-repo hooks dir;
11
+ # 4. --config-env=core.hooksPath=VAR, in both the one- and two-token spellings;
12
+ # 5. GIT_CONFIG_KEY_<n>=core.hooksPath env-var-style command-scope config.
13
+ #
14
+ # The line below is what lets `lisa apply` tell a downstream copy of this guard
15
+ # that is BEHIND from one that is AHEAD. Byte comparison cannot: both look like
16
+ # "differs from mine", and guessing "behind" is how a fork's stronger guard gets
17
+ # silently replaced by a weaker upstream one. Refresh compares the two declared
18
+ # sets, and refuses to overwrite a copy declaring anything this one does not.
19
+ #
20
+ # Add a name here in the same commit that closes a vector. A hardening that
21
+ # forgets to is invisible to refresh, and shows up as an unexplained diff at
22
+ # review time instead of a named capability.
23
+ # lisa-guard-capabilities: no-verify-abbrev, husky-env, hookspath-allowlist, config-env, git-config-key
11
24
  #
12
25
  # Shell-token matching avoids false positives from issue bodies, heredocs, and
13
26
  # commit-message prose while still catching quoted real argv values such as
@@ -45,4 +45,6 @@ A project with no state contract yet is not exempt: the first work item touching
45
45
 
46
46
  Every reset, seed, verify, inventory, and classification adapter answers the **same interface** — one validated JSON result on stdout, exit 0 only when the operation both completed **and** verified, `--dry-run` mandatory before anything destructive, and a requested stage always re-checked against server-resolved identity rather than trusted. The envelope is specified in the reference body and is what makes "every repo answers the same question the same way" checkable instead of aspirational.
47
47
 
48
+ **The production arm of this is executable, not advisory.** `scripts/lisa-destructive-guard.mjs` ships to every adopter and is wired into the envelope itself: a destructive run against a production-resolved — or unresolvable — environment has **no representable success envelope**, so it can never exit 0, and there is no parameter, field, or environment variable anywhere in the guard that changes the answer. A dry run is not an exemption, and `--dry-run` is the default rather than an opt-in. Read this as what it is: a check at the one interface every adapter passes through, which an adapter that misreports its own environment still defeats. The end state is a destructive capability that is **not deployed to production at all** — non-existence beats refusal — and that design, with the failure modes it must still close, is recorded in `docs/design/reset-production-absence.md`.
49
+
48
50
  Full contract (state-contract schema, check semantics, detectors, envelope schema, enforcement patterns, bootstrap procedure): [reference/reset-seed-coverage.md](../reference/reset-seed-coverage.md).
@@ -1,4 +1,5 @@
1
- # This file was created by Lisa on first setup.
1
+ # Seeded by Lisa on first setup — this file is YOURS.
2
+ # Lisa will not overwrite it. (copy-overwrite assets ARE replaced each run.)
2
3
  # You can customize this file — Lisa will not overwrite it.
3
4
 
4
5
  name: Claude Code Review Response
@@ -1,4 +1,5 @@
1
- # This file was created by Lisa on first setup.
1
+ # Seeded by Lisa on first setup — this file is YOURS.
2
+ # Lisa will not overwrite it. (copy-overwrite assets ARE replaced each run.)
2
3
  # You can customize this file — Lisa will not overwrite it.
3
4
 
4
5
  name: Claude Nightly Code Complexity
@@ -1,4 +1,5 @@
1
- # This file was created by Lisa on first setup.
1
+ # Seeded by Lisa on first setup — this file is YOURS.
2
+ # Lisa will not overwrite it. (copy-overwrite assets ARE replaced each run.)
2
3
  # You can customize this file — Lisa will not overwrite it.
3
4
 
4
5
  name: Claude Nightly Test Coverage
@@ -1,4 +1,5 @@
1
- # This file was created by Lisa on first setup.
1
+ # Seeded by Lisa on first setup — this file is YOURS.
2
+ # Lisa will not overwrite it. (copy-overwrite assets ARE replaced each run.)
2
3
  # You can customize this file — Lisa will not overwrite it.
3
4
 
4
5
  name: Claude Nightly Test Improvement
@@ -1,4 +1,5 @@
1
- # This file was created by Lisa on first setup.
1
+ # Seeded by Lisa on first setup — this file is YOURS.
2
+ # Lisa will not overwrite it. (copy-overwrite assets ARE replaced each run.)
2
3
  # You can customize this file — Lisa will not overwrite it.
3
4
  #
4
5
  # Back-syncs merges down the env chain so hotfixes propagate.
@@ -1,4 +1,5 @@
1
- # This file is created by Lisa (create-only edit freely, Lisa won't overwrite).
1
+ # Seeded by Lisa on first setupthis file is YOURS.
2
+ # Lisa will not overwrite it. (copy-overwrite assets ARE replaced each run.)
2
3
  # Release + Deploy workflow for Rails on AWS ECS Fargate.
3
4
  #
4
5
  # Step 1: Call the reusable release workflow for version bumping and tagging.
@@ -1,3 +1,6 @@
1
+ # Seeded by Lisa on first setup — this file is YOURS.
2
+ # Lisa will not overwrite it. (copy-overwrite assets ARE replaced each run.)
3
+
1
4
  # Mutant configuration (project-owned).
2
5
  # Docs: https://github.com/mbj/mutant/blob/main/docs/configuration.md
3
6
  #
@@ -1,3 +1,6 @@
1
+ # Seeded by Lisa on first setup — this file is YOURS.
2
+ # Lisa will not overwrite it. (copy-overwrite assets ARE replaced each run.)
3
+
1
4
  ---
2
5
  detectors:
3
6
  IrresponsibleModule:
@@ -1,3 +1,6 @@
1
+ # Seeded by Lisa on first setup — this file is YOURS.
2
+ # Lisa will not overwrite it. (copy-overwrite assets ARE replaced each run.)
3
+
1
4
  # This is the standard RuboCop "fix later" file.
2
5
  # Lisa creates it empty so .rubocop.yml's `inherit_from` resolves cleanly
3
6
  # in projects that don't yet have legacy violations to track.
@@ -1,3 +1,6 @@
1
+ # Seeded by Lisa on first setup — this file is YOURS.
2
+ # Lisa will not overwrite it. (copy-overwrite assets ARE replaced each run.)
3
+
1
4
  # Mutation-testing gate toggle (project-owned).
2
5
  # Flip `enabled` to true to turn on the diff-only mutant gate in the pre-push
3
6
  # hook and CI. The mutation subjects are configured in `.mutant.yml`.
@@ -1,3 +1,6 @@
1
+ # Seeded by Lisa on first setup — this file is YOURS.
2
+ # Lisa will not overwrite it. (copy-overwrite assets ARE replaced each run.)
3
+
1
4
  # RuboCop complexity thresholds — nightly workflows adjust these programmatically.
2
5
  # This file is create-only: Lisa won't overwrite it after initial setup.
3
6
 
@@ -1,4 +1,6 @@
1
1
  # frozen_string_literal: true
2
+ # Seeded by Lisa on first setup — this file is YOURS.
3
+ # Lisa will not overwrite it. (copy-overwrite assets ARE replaced each run.)
2
4
 
3
5
  require 'spec_helper'
4
6
 
@@ -1,4 +1,6 @@
1
1
  # frozen_string_literal: true
2
+ # Seeded by Lisa on first setup — this file is YOURS.
3
+ # Lisa will not overwrite it. (copy-overwrite assets ARE replaced each run.)
2
4
 
3
5
  require 'simplecov'
4
6