@codyswann/lisa 4.34.5 → 4.34.6

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 (97) hide show
  1. package/all/copy-overwrite/scripts/lisa-hooks/block-managed-file-edits.sh +436 -9
  2. package/all/copy-overwrite/scripts/lisa-hooks/block-no-verify.sh +636 -101
  3. package/all/copy-overwrite/scripts/lisa-test-node.mjs +44 -1
  4. package/dist/codex/scripts/block-no-verify.sh +608 -99
  5. package/dist/configs/vitest/scratch-global-setup.d.ts +29 -0
  6. package/dist/configs/vitest/scratch-global-setup.d.ts.map +1 -1
  7. package/dist/configs/vitest/scratch-global-setup.js +77 -12
  8. package/dist/configs/vitest/scratch-global-setup.js.map +1 -1
  9. package/dist/core/config-shadowing.d.ts +72 -0
  10. package/dist/core/config-shadowing.d.ts.map +1 -0
  11. package/dist/core/config-shadowing.js +152 -0
  12. package/dist/core/config-shadowing.js.map +1 -0
  13. package/dist/core/config.d.ts +16 -1
  14. package/dist/core/config.d.ts.map +1 -1
  15. package/dist/core/config.js +1 -0
  16. package/dist/core/config.js.map +1 -1
  17. package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
  18. package/dist/core/lisa-owned-hash-ledger.js +8 -0
  19. package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
  20. package/dist/core/lisa.d.ts +21 -0
  21. package/dist/core/lisa.d.ts.map +1 -1
  22. package/dist/core/lisa.js +46 -0
  23. package/dist/core/lisa.js.map +1 -1
  24. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  25. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  26. package/dist/core/upstream-evidence-manifest.js +17 -9
  27. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  28. package/dist/opencode/plugin-templates/block-no-verify.sh +636 -101
  29. package/dist/strategies/copy-overwrite.d.ts +42 -0
  30. package/dist/strategies/copy-overwrite.d.ts.map +1 -1
  31. package/dist/strategies/copy-overwrite.js +69 -5
  32. package/dist/strategies/copy-overwrite.js.map +1 -1
  33. package/expo/copy-overwrite/scripts/check-lighthouse-details.mjs +138 -11
  34. package/expo/create-only/.github/workflows/deploy.yml +51 -4
  35. package/package.json +4 -4
  36. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  37. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  38. package/plugins/lisa/hooks/block-managed-file-edits.sh +436 -9
  39. package/plugins/lisa/hooks/block-no-verify.agy.sh +608 -99
  40. package/plugins/lisa/hooks/block-no-verify.sh +636 -101
  41. package/plugins/lisa-agy/hooks/block-no-verify.agy.sh +608 -99
  42. package/plugins/lisa-agy/plugin.json +1 -1
  43. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  44. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  45. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  46. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  47. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  48. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  49. package/plugins/lisa-copilot/hooks/block-managed-file-edits.sh +436 -9
  50. package/plugins/lisa-copilot/hooks/block-no-verify.sh +636 -101
  51. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  52. package/plugins/lisa-cursor/hooks/block-managed-file-edits.sh +436 -9
  53. package/plugins/lisa-cursor/hooks/block-no-verify.sh +636 -101
  54. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  55. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  56. package/plugins/lisa-expo-agy/plugin.json +1 -1
  57. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  58. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  59. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  60. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  61. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  62. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  63. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  64. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  65. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  66. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  67. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  68. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  69. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  70. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  71. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  72. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  73. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  74. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  75. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  76. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  77. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  78. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  79. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  80. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  81. package/plugins/lisa-rails-agy/plugin.json +1 -1
  82. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  83. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  84. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  85. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  86. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  87. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  88. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  89. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  90. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  91. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  92. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  93. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  94. package/plugins/src/base/hooks/block-managed-file-edits.sh +436 -9
  95. package/plugins/src/base/hooks/block-no-verify.agy.sh +608 -99
  96. package/plugins/src/base/hooks/block-no-verify.sh +636 -101
  97. package/rails/create-only/.github/workflows/deploy.yml +45 -1
@@ -58,7 +58,17 @@ jobs:
58
58
  deploy_rails:
59
59
  name: Deploy
60
60
  needs: [release]
61
- if: ${{ github.event_name != 'push' || !startsWith(github.event.head_commit.message, 'chore(release):') }}
61
+ # `!cancelled()` suppresses the implicit `success()` GitHub otherwise ANDs
62
+ # onto this condition. Without it a failed release SKIPPED this job, and a
63
+ # skipped job renders as neutral and counts as a satisfied required check —
64
+ # so the deploy that never happened left no signal at all. The release
65
+ # result is now read by the guard STEP below, which fails this job loudly
66
+ # instead (#3467). The `chore(release):` clause is unchanged: that push is
67
+ # the release commit coming back round, and skipping it is correct.
68
+ if: >-
69
+ !cancelled() &&
70
+ (github.event_name != 'push' ||
71
+ !startsWith(github.event.head_commit.message, 'chore(release):'))
62
72
  runs-on: ubuntu-latest
63
73
  timeout-minutes: 30
64
74
  permissions:
@@ -77,6 +87,40 @@ jobs:
77
87
  GITHUB_REF_NAME: ${{ github.ref_name }}
78
88
 
79
89
  steps:
90
+ # Deploy-outcome guard. Deliberately the FIRST step: it decides whether the
91
+ # rest of this job may proceed, and it reports a verdict on EVERY run, so
92
+ # this check is green or red and never the third, silent state.
93
+ #
94
+ # Keep the `run:` body byte-identical to the guard in every other Lisa
95
+ # deploy workflow — an operator reads the same words whichever stack they
96
+ # are on, and a test asserts the copies have not drifted apart.
97
+ - name: 🚨 Confirm the release shipped
98
+ env:
99
+ DEPLOY_ENVIRONMENT: ${{ github.ref_name }}
100
+ RELEASE_RESULT: ${{ needs.release.result }}
101
+ run: |
102
+ if [ "${RELEASE_RESULT}" = "success" ]; then
103
+ echo "✅ The release succeeded. Deploying to ${DEPLOY_ENVIRONMENT}."
104
+ exit 0
105
+ fi
106
+ {
107
+ echo "### 🚨 Nothing new was deployed to ${DEPLOY_ENVIRONMENT}"
108
+ echo ""
109
+ echo "The **Release** step did not succeed (it reported \`${RELEASE_RESULT}\`), so no"
110
+ echo "new version reached \`${DEPLOY_ENVIRONMENT}\`. Whatever was already running"
111
+ echo "there is untouched and still working — this change simply has not shipped."
112
+ echo ""
113
+ echo "**What to do next**"
114
+ echo ""
115
+ echo "1. Open the **Release** job in this run and read the step marked in red."
116
+ echo "2. The most common cause is that this version number was already released from"
117
+ echo " another branch. The fix is to raise \`version\` in \`package.json\` above every"
118
+ echo " version already released, then merge again."
119
+ echo "3. If anything here is unclear, send this run's link to whoever looks after"
120
+ echo " deployments. Do not merge anything else into this branch until it is fixed."
121
+ } >> "${GITHUB_STEP_SUMMARY:-/dev/stdout}"
122
+ echo "::error title=Nothing new was deployed to ${DEPLOY_ENVIRONMENT}::The release did not succeed (${RELEASE_RESULT}), so this change did not ship and the previous version is still running. Open the Release job in this run to see why, fix it, then merge again."
123
+ exit 1
80
124
  - name: Checkout code
81
125
  uses: actions/checkout@v6
82
126
  with: