@codyswann/lisa 3.48.2 → 3.48.4
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/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +5 -3
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/expo/package-lisa/package.lisa.json +1 -0
- package/nestjs/package-lisa/package.lisa.json +1 -0
- package/package.json +1 -1
- 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/typescript/copy-contents/.husky/pre-push +32 -2
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
"test:unit": "NODE_ENV=test jest --testPathIgnorePatterns=\"\\.integration[.\\\\-](test|spec)\\.(ts|tsx)$\"",
|
|
56
56
|
"test:integration": "NODE_ENV=test jest --testPathPatterns=\"\\.integration[.\\\\-](test|spec)\\.(ts|tsx)$\"",
|
|
57
57
|
"test:cov": "NODE_ENV=test jest --coverage",
|
|
58
|
+
"test:cov:unit": "NODE_ENV=test jest --coverage --testPathIgnorePatterns=\"\\.integration[.\\\\-](test|spec)\\.(ts|tsx)$\"",
|
|
58
59
|
"test:mutation": "node scripts/lisa-mutation.mjs",
|
|
59
60
|
"test:watch": "NODE_ENV=test jest --watch",
|
|
60
61
|
"lint": "oxlint && eslint . --quiet",
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"test:unit": "vitest run --exclude='**/integration/**'",
|
|
44
44
|
"test:integration": "vitest run '.integration.'",
|
|
45
45
|
"test:cov": "vitest run --coverage",
|
|
46
|
+
"test:cov:unit": "vitest run --coverage --exclude='**/integration/**' --exclude='**/*.integration.*'",
|
|
46
47
|
"test:mutation": "node scripts/lisa-mutation.mjs",
|
|
47
48
|
"test:watch": "vitest",
|
|
48
49
|
"lint": "oxlint && eslint . --quiet",
|
package/package.json
CHANGED
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"zod-validation-error": "^4.0.0"
|
|
142
142
|
},
|
|
143
143
|
"name": "@codyswann/lisa",
|
|
144
|
-
"version": "3.48.
|
|
144
|
+
"version": "3.48.4",
|
|
145
145
|
"description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
|
|
146
146
|
"main": "dist/index.js",
|
|
147
147
|
"exports": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "3.48.
|
|
3
|
+
"version": "3.48.4",
|
|
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.48.
|
|
3
|
+
"version": "3.48.4",
|
|
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.48.
|
|
3
|
+
"version": "3.48.4",
|
|
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.48.
|
|
3
|
+
"version": "3.48.4",
|
|
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.48.
|
|
3
|
+
"version": "3.48.4",
|
|
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"
|
|
@@ -499,11 +499,41 @@ fi
|
|
|
499
499
|
# Run unit tests with coverage. `test:cov` proves two properties in one run —
|
|
500
500
|
# the suite passes AND the coverage thresholds hold — so it stands down only
|
|
501
501
|
# when both have a gate declared.
|
|
502
|
+
#
|
|
503
|
+
# WHICH coverage script, and why it decides the cost of every push (#2827).
|
|
504
|
+
# `test:cov` is force-pinned to `vitest run --coverage` with no integration
|
|
505
|
+
# exclusion, so it collects the whole `tests/integration/**` tree — and the
|
|
506
|
+
# integration step below then collects the same tree a second time. Every push
|
|
507
|
+
# paid twice for the slowest population in the repository, and every push had
|
|
508
|
+
# two independent chances for a spawn-heavy integration suite to block it on
|
|
509
|
+
# unchanged code.
|
|
510
|
+
#
|
|
511
|
+
# This is the path that matters, because it is the path host projects take.
|
|
512
|
+
# Nothing seeds a `gates` block into a consumer's `.lisa.config.json`, so the
|
|
513
|
+
# gate runner above exits NO_GATES for them and control arrives here. Fixing
|
|
514
|
+
# only the declared path would have fixed only the Lisa repository itself.
|
|
515
|
+
#
|
|
516
|
+
# `test:cov:unit` is the same run scoped to the unit tree, so the coverage step
|
|
517
|
+
# and the integration step stop overlapping. It is force-pinned by the
|
|
518
|
+
# TypeScript template, so any project on a current Lisa has it. A project whose
|
|
519
|
+
# package.json predates it falls back to `test:cov` and behaves exactly as it
|
|
520
|
+
# did before — slower, but never with the integration tree silently dropped,
|
|
521
|
+
# which is the failure direction that would actually cost something.
|
|
522
|
+
#
|
|
523
|
+
# Resolved with node rather than jq: this hook already refuses to run at all
|
|
524
|
+
# without node, whereas jq may legitimately be absent — the audit block above
|
|
525
|
+
# says so in as many words. Deciding this with jq would hand every jq-less
|
|
526
|
+
# machine the slow path without a word.
|
|
527
|
+
COVERAGE_SCRIPT="test:cov"
|
|
528
|
+
if node -e 'const s=require("./package.json").scripts||{};process.exit(s["test:cov:unit"]?0:1)' >/dev/null 2>&1; then
|
|
529
|
+
COVERAGE_SCRIPT="test:cov:unit"
|
|
530
|
+
fi
|
|
531
|
+
|
|
502
532
|
if lisa_gate_covers test-correctness coverage-adequacy; then
|
|
503
533
|
echo "ℹ️ Covered by the test-correctness and coverage-adequacy gates; the built-in run stands down."
|
|
504
534
|
else
|
|
505
|
-
echo "🧪 Running unit tests with coverage..."
|
|
506
|
-
$RUNNER
|
|
535
|
+
echo "🧪 Running unit tests with coverage ($COVERAGE_SCRIPT)..."
|
|
536
|
+
$RUNNER "$COVERAGE_SCRIPT"
|
|
507
537
|
if [ $? -ne 0 ]; then
|
|
508
538
|
echo "❌ Unit tests or coverage thresholds failed. Please fix before pushing."
|
|
509
539
|
exit 1
|