@codyswann/lisa 4.31.0 → 4.31.2
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/all/copy-overwrite/scripts/lisa-hooks/parity-safety-net-heredoc.py +961 -0
- package/cdk/create-only/stryker.conf.json +44 -0
- package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.js +28 -0
- package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +9 -3
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/package.json +4 -4
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- 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-cursor/.claude-plugin/plugin.json +1 -1
- 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/materialized-artifacts.json +1 -0
- package/scripts/build-plugins.sh +25 -0
- package/scripts/materialize-copy-overwrite.mjs +9 -0
- package/scripts/two-channel-couplings.json +1 -1
package/package.json
CHANGED
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
"zod-validation-error": "^4.0.0"
|
|
166
166
|
},
|
|
167
167
|
"name": "@codyswann/lisa",
|
|
168
|
-
"version": "4.31.
|
|
168
|
+
"version": "4.31.2",
|
|
169
169
|
"description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
|
|
170
170
|
"main": "dist/index.js",
|
|
171
171
|
"exports": {
|
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
"test": "tests"
|
|
314
314
|
},
|
|
315
315
|
"types": "./dist/index.d.ts",
|
|
316
|
-
"lisaReleaseCommit": "
|
|
317
|
-
"gitHead": "
|
|
318
|
-
"lisaReleaseTag": "v4.31.
|
|
316
|
+
"lisaReleaseCommit": "cca12dd48d16dfbd52346b5ce80218244b4127a4",
|
|
317
|
+
"gitHead": "cca12dd48d16dfbd52346b5ce80218244b4127a4",
|
|
318
|
+
"lisaReleaseTag": "v4.31.2"
|
|
319
319
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.31.
|
|
3
|
+
"version": "4.31.2",
|
|
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": "4.31.
|
|
3
|
+
"version": "4.31.2",
|
|
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": "4.31.
|
|
3
|
+
"version": "4.31.2",
|
|
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": "4.31.
|
|
3
|
+
"version": "4.31.2",
|
|
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": "4.31.
|
|
3
|
+
"version": "4.31.2",
|
|
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"
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
"all/copy-overwrite/scripts/lisa-hooks/block-managed-file-edits.sh",
|
|
8
8
|
"all/copy-overwrite/scripts/lisa-hooks/block-no-verify.sh",
|
|
9
9
|
"all/copy-overwrite/scripts/lisa-hooks/block-shell-json-parsing.sh",
|
|
10
|
+
"all/copy-overwrite/scripts/lisa-hooks/parity-safety-net-heredoc.py",
|
|
10
11
|
"all/copy-overwrite/scripts/lisa-hooks/parity-safety-net.sh",
|
|
11
12
|
"all/copy-overwrite/scripts/lisa-hooks/sonar-secrets.sh",
|
|
12
13
|
"expo/copy-overwrite/scripts/lib/bounded-spawn.mjs",
|
package/scripts/build-plugins.sh
CHANGED
|
@@ -172,6 +172,31 @@ for guard in block-no-verify parity-safety-net block-shell-json-parsing \
|
|
|
172
172
|
chmod +x "$HOST_GUARD_DIR/$guard.sh"
|
|
173
173
|
fi
|
|
174
174
|
done
|
|
175
|
+
# Companions: files a guard resolves as a SIBLING OF ITSELF at run time.
|
|
176
|
+
#
|
|
177
|
+
# The loop above appends `.sh` to every roster entry, so it can only ever
|
|
178
|
+
# deliver a guard's shell half. `parity-safety-net.sh` resolves its heredoc
|
|
179
|
+
# classifier at `$(dirname "${BASH_SOURCE[0]}")/parity-safety-net-heredoc.py`,
|
|
180
|
+
# and that literal `.sh` was an extension filter no roster entry could get past:
|
|
181
|
+
# the plugin trees all carry the classifier, the host tree carried seven `.sh`
|
|
182
|
+
# files and nothing else, and the sibling lookup in an applied host checkout
|
|
183
|
+
# therefore failed on every machine. The guard fails closed, correctly, so the
|
|
184
|
+
# consequence was that EVERY heredoc was blocked in every host project that had
|
|
185
|
+
# taken these hooks — permanently, and not fixable by installing anything
|
|
186
|
+
# (issue #3483).
|
|
187
|
+
#
|
|
188
|
+
# Enumerated rather than globbed, for the reason the roster itself is: a file
|
|
189
|
+
# appearing in `plugins/src/base/hooks/` is not by itself a decision to ship it
|
|
190
|
+
# to hosts. What makes this list safe is that it is not the only thing holding
|
|
191
|
+
# the property — `tests/unit/hooks/shipped-hook-companions.test.ts` reads the
|
|
192
|
+
# sibling references back out of the shipped scripts, so a companion added to a
|
|
193
|
+
# guard and not added here fails as a missing dependency rather than waiting to
|
|
194
|
+
# be discovered as a permanent block downstream.
|
|
195
|
+
for companion in parity-safety-net-heredoc.py; do
|
|
196
|
+
if [ -f "$SRC_DIR/base/hooks/$companion" ]; then
|
|
197
|
+
materialize "$SRC_DIR/base/hooks/$companion" "$HOST_GUARD_DIR/$companion"
|
|
198
|
+
fi
|
|
199
|
+
done
|
|
175
200
|
# The Sonar hook wrapper, which ships alongside the guards but is not one.
|
|
176
201
|
#
|
|
177
202
|
# The guards above are dispatched by lisa-enforcement-fallback.sh and take a tool
|
|
@@ -47,6 +47,14 @@ export const OWNERSHIP_HEADER = [
|
|
|
47
47
|
* listed makes `materialize` throw, so wiring a new generated asset through
|
|
48
48
|
* here is a decision someone has to make — the alternative is a silent
|
|
49
49
|
* pass-through that reintroduces the headerless copy this module exists to end.
|
|
50
|
+
*
|
|
51
|
+
* `.py` is here because a guard's dependency does not have to share the guard's
|
|
52
|
+
* language. `parity-safety-net.sh` resolves its heredoc classifier as a sibling
|
|
53
|
+
* of itself, and that classifier is Python; with `.py` absent from this map the
|
|
54
|
+
* companion could not have been materialized even once someone named it, so the
|
|
55
|
+
* closed map was the second of the two extension filters that kept it out of
|
|
56
|
+
* the shipped tree (issue #3483). A `#` comment above a module docstring is a
|
|
57
|
+
* comment, not a statement, so stamping the header leaves `__doc__` intact.
|
|
50
58
|
*/
|
|
51
59
|
const COMMENT_PREFIX = new Map([
|
|
52
60
|
[".sh", "#"],
|
|
@@ -54,6 +62,7 @@ const COMMENT_PREFIX = new Map([
|
|
|
54
62
|
[".mjs", "//"],
|
|
55
63
|
[".cjs", "//"],
|
|
56
64
|
[".js", "//"],
|
|
65
|
+
[".py", "#"],
|
|
57
66
|
]);
|
|
58
67
|
|
|
59
68
|
/**
|