@codyswann/lisa 3.58.0 → 3.59.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.
Files changed (113) hide show
  1. package/{scripts → all/copy-overwrite/scripts}/check-conflict-markers.mjs +15 -8
  2. package/all/copy-overwrite/scripts/lisa-gates.mjs +1006 -14
  3. package/dist/cli/gate-report-upstream.d.ts +33 -4
  4. package/dist/cli/gate-report-upstream.d.ts.map +1 -1
  5. package/dist/cli/gate-report-upstream.js +69 -11
  6. package/dist/cli/gate-report-upstream.js.map +1 -1
  7. package/dist/cli/gate-report.d.ts.map +1 -1
  8. package/dist/cli/gate-report.js +2 -10
  9. package/dist/cli/gate-report.js.map +1 -1
  10. package/dist/configs/vitest/base.d.ts +16 -12
  11. package/dist/configs/vitest/base.d.ts.map +1 -1
  12. package/dist/configs/vitest/base.js +51 -0
  13. package/dist/configs/vitest/base.js.map +1 -1
  14. package/dist/configs/vitest/cdk.d.ts +2 -2
  15. package/dist/configs/vitest/cdk.d.ts.map +1 -1
  16. package/dist/configs/vitest/cdk.js +4 -2
  17. package/dist/configs/vitest/cdk.js.map +1 -1
  18. package/dist/configs/vitest/harper-fabric.d.ts +2 -2
  19. package/dist/configs/vitest/harper-fabric.d.ts.map +1 -1
  20. package/dist/configs/vitest/harper-fabric.js +4 -2
  21. package/dist/configs/vitest/harper-fabric.js.map +1 -1
  22. package/dist/configs/vitest/nestjs.d.ts +2 -2
  23. package/dist/configs/vitest/nestjs.d.ts.map +1 -1
  24. package/dist/configs/vitest/nestjs.js +4 -2
  25. package/dist/configs/vitest/nestjs.js.map +1 -1
  26. package/dist/configs/vitest/phaser.d.ts +2 -2
  27. package/dist/configs/vitest/phaser.d.ts.map +1 -1
  28. package/dist/configs/vitest/phaser.js +4 -2
  29. package/dist/configs/vitest/phaser.js.map +1 -1
  30. package/dist/configs/vitest/scratch-global-setup.d.ts +72 -0
  31. package/dist/configs/vitest/scratch-global-setup.d.ts.map +1 -0
  32. package/dist/configs/vitest/scratch-global-setup.js +168 -0
  33. package/dist/configs/vitest/scratch-global-setup.js.map +1 -0
  34. package/dist/configs/vitest/scratch-setup.d.ts +12 -0
  35. package/dist/configs/vitest/scratch-setup.d.ts.map +1 -0
  36. package/dist/configs/vitest/scratch-setup.js +70 -0
  37. package/dist/configs/vitest/scratch-setup.js.map +1 -0
  38. package/dist/configs/vitest/scratch.d.ts +192 -0
  39. package/dist/configs/vitest/scratch.d.ts.map +1 -0
  40. package/dist/configs/vitest/scratch.js +301 -0
  41. package/dist/configs/vitest/scratch.js.map +1 -0
  42. package/dist/configs/vitest/typescript.d.ts +2 -2
  43. package/dist/configs/vitest/typescript.d.ts.map +1 -1
  44. package/dist/configs/vitest/typescript.js +4 -2
  45. package/dist/configs/vitest/typescript.js.map +1 -1
  46. package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
  47. package/dist/core/lisa-owned-hash-ledger.js +19 -0
  48. package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
  49. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  50. package/dist/core/upstream-evidence-manifest.js +23 -6
  51. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  52. package/dist/migrations/ensure-seeded-gates.d.ts +47 -0
  53. package/dist/migrations/ensure-seeded-gates.d.ts.map +1 -0
  54. package/dist/migrations/ensure-seeded-gates.js +139 -0
  55. package/dist/migrations/ensure-seeded-gates.js.map +1 -0
  56. package/dist/migrations/index.d.ts +1 -0
  57. package/dist/migrations/index.d.ts.map +1 -1
  58. package/dist/migrations/index.js +3 -0
  59. package/dist/migrations/index.js.map +1 -1
  60. package/package.json +2 -2
  61. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  62. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  63. package/plugins/lisa-agy/plugin.json +1 -1
  64. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  65. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  66. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  67. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  68. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  69. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  70. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  71. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  72. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  73. package/plugins/lisa-expo-agy/plugin.json +1 -1
  74. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  75. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  76. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  77. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  78. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  79. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  80. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  81. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  82. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  83. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  84. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  85. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  86. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  87. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  88. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  89. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  90. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  91. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  92. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  93. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  94. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  95. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  96. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  97. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  98. package/plugins/lisa-rails-agy/plugin.json +1 -1
  99. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  100. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  101. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  102. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  103. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  104. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  105. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  106. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  107. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  108. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  109. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  110. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  111. package/typescript/copy-contents/.husky/pre-push +21 -0
  112. package/typescript/copy-overwrite/.prettierignore +1 -0
  113. package/typescript/package-lisa/package.lisa.json +1 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "3.58.0",
3
+ "version": "3.59.1",
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.58.0",
3
+ "version": "3.59.1",
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.58.0",
3
+ "version": "3.59.1",
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.58.0",
3
+ "version": "3.59.1",
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.58.0",
3
+ "version": "3.59.1",
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.58.0",
3
+ "version": "3.59.1",
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.58.0",
3
+ "version": "3.59.1",
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.58.0",
3
+ "version": "3.59.1",
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.58.0",
3
+ "version": "3.59.1",
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.58.0",
3
+ "version": "3.59.1",
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.58.0",
3
+ "version": "3.59.1",
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.58.0",
3
+ "version": "3.59.1",
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.58.0",
3
+ "version": "3.59.1",
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"
@@ -55,6 +55,25 @@ do
55
55
  done
56
56
  unset LISA_GATE_REGISTRY_CANDIDATE
57
57
 
58
+ # Say, once, which properties the built-in steps below are about to prove with a
59
+ # command written into this file that no declaration governs.
60
+ #
61
+ # REPORT ONLY, and deliberately so. On essentially every installed project the
62
+ # written-in path is the DEFAULT rather than the exception — nothing seeds a
63
+ # `gates` block into a consumer — so a reporter that could fail a push would be
64
+ # a new gate nobody declared. The order this has to happen in is: guarantee a
65
+ # declaration exists (`lisa-gates.mjs seed`), THEN make an absent one a hard
66
+ # failure. Deleting the built-in before either would be worse than both: a
67
+ # required context that runs zero steps reports GREEN.
68
+ #
69
+ # Never changes the exit status. `|| true` covers a resolver that cannot run,
70
+ # and the whole call is skipped when no resolver was found.
71
+ lisa_report_unconfigured() {
72
+ [ -n "$GATE_REGISTRY" ] || return 0
73
+ node "$GATE_REGISTRY" unconfigured --moment=push --surface=pre-push-hook || true
74
+ return 0
75
+ }
76
+
58
77
  # Nothing here discards stderr. A resolver that failed and a project that
59
78
  # declared nothing produce the same empty answer, and both send this hook to the
60
79
  # built-in step — which is the safe direction — but only one of them is a
@@ -181,6 +200,8 @@ lisa_gate_covers() {
181
200
  return 0
182
201
  }
183
202
 
203
+ lisa_report_unconfigured
204
+
184
205
  # BEGIN: built-in checks — the pre-registry path, kept step for step so a
185
206
  # project without a `gates` block behaves exactly as it did before.
186
207
 
@@ -64,6 +64,7 @@ amplify
64
64
  # *.sh rule above. All no-ops for projects without these files.
65
65
  scripts/bdd-matrix.mjs
66
66
  scripts/check-bdd-coverage.mjs
67
+ scripts/check-conflict-markers.mjs
67
68
  scripts/check-e2e-coverage.mjs
68
69
  scripts/check-nightly-e2e-health.mjs
69
70
  scripts/check-skipped-required-checks.mjs
@@ -25,6 +25,7 @@
25
25
  "check:vacuous-required-checks": "node scripts/check-skipped-required-checks.mjs",
26
26
  "test:node": "node scripts/lisa-test-node.mjs",
27
27
  "check:work-item": "node scripts/lisa-work-item.mjs validate-pr",
28
+ "check:conflict-markers": "node scripts/check-conflict-markers.mjs",
28
29
  "check:work-item:push": "node scripts/lisa-work-item.mjs validate-push"
29
30
  },
30
31
  "devDependencies": {