@codyswann/lisa 4.69.2 → 4.69.3
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/README.md +2 -0
- 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 -2
- 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/rails/create-only/spec/rails_helper.rb +78 -6
- package/scripts/two-channel-couplings.json +1 -1
package/package.json
CHANGED
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
"zod-validation-error": "^4.0.0"
|
|
188
188
|
},
|
|
189
189
|
"name": "@codyswann/lisa",
|
|
190
|
-
"version": "4.69.
|
|
190
|
+
"version": "4.69.3",
|
|
191
191
|
"description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
|
|
192
192
|
"main": "dist/index.js",
|
|
193
193
|
"exports": {
|
|
@@ -336,7 +336,7 @@
|
|
|
336
336
|
"test": "tests"
|
|
337
337
|
},
|
|
338
338
|
"types": "./dist/index.d.ts",
|
|
339
|
-
"lisaReleaseCommit": "
|
|
340
|
-
"gitHead": "
|
|
341
|
-
"lisaReleaseTag": "v4.69.
|
|
339
|
+
"lisaReleaseCommit": "ce7d04cb888627d03cdbe74191bc2a09a5e15184",
|
|
340
|
+
"gitHead": "ce7d04cb888627d03cdbe74191bc2a09a5e15184",
|
|
341
|
+
"lisaReleaseTag": "v4.69.3"
|
|
342
342
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.69.
|
|
3
|
+
"version": "4.69.3",
|
|
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.69.
|
|
3
|
+
"version": "4.69.3",
|
|
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.69.
|
|
3
|
+
"version": "4.69.3",
|
|
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.69.
|
|
3
|
+
"version": "4.69.3",
|
|
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.69.
|
|
3
|
+
"version": "4.69.3",
|
|
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,21 +1,93 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
|
+
|
|
2
3
|
# Seeded by Lisa on first setup — this file is YOURS.
|
|
3
4
|
# Lisa will not overwrite it. (copy-overwrite assets ARE replaced each run.)
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
# Every supplied environment must be exactly test, before loading host code.
|
|
7
|
+
# Customize this host-owned regexp here for an explicit isolated naming policy.
|
|
8
|
+
LISA_TEST_DATABASE_NAME = /(?:\A|[_-])test(?:\z|[_-]|\.)/ unless defined?(LISA_TEST_DATABASE_NAME)
|
|
6
9
|
|
|
7
|
-
|
|
10
|
+
# Preflight uses Rails' parser and Active Record's real URL/config resolution.
|
|
11
|
+
# Trusted ERB, boot code and initializers remain host-owned executable code.
|
|
12
|
+
module LisaTestIsolation
|
|
13
|
+
module_function
|
|
8
14
|
|
|
9
|
-
|
|
15
|
+
def refuse!
|
|
16
|
+
abort 'Rails test isolation: use only test environment and isolated test database names. ' \
|
|
17
|
+
'See docs/rails-test-isolation.md in Lisa.'
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
def environment!
|
|
21
|
+
refuse! if %w[RAILS_ENV RACK_ENV].any? { |name| ENV.key?(name) && ENV[name] != 'test' }
|
|
22
|
+
ENV['RAILS_ENV'] ||= 'test'
|
|
23
|
+
refuse! if defined?(Rails) && Rails.respond_to?(:env) && Rails.env.to_s != 'test'
|
|
24
|
+
end
|
|
10
25
|
|
|
11
|
-
|
|
26
|
+
def merge_shared!(config, shared)
|
|
27
|
+
return config unless shared
|
|
28
|
+
|
|
29
|
+
config.each_value do |environment|
|
|
30
|
+
if environment.is_a?(Hash) && environment.values.all?(Hash)
|
|
31
|
+
merge_roles!(environment, shared)
|
|
32
|
+
else
|
|
33
|
+
environment.reverse_merge!(shared)
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
config
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
def merge_roles!(environment, shared)
|
|
40
|
+
environment.each do |name, database|
|
|
41
|
+
defaults = shared.is_a?(Hash) && shared.values.all?(Hash) ? shared[name] : shared
|
|
42
|
+
database.reverse_merge!(defaults) if defaults
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
def databases!(configurations)
|
|
47
|
+
databases = configurations.configs_for(env_name: 'test', include_hidden: true)
|
|
48
|
+
refuse! if databases.empty? || !LISA_TEST_DATABASE_NAME.is_a?(Regexp)
|
|
49
|
+
databases.each do |database|
|
|
50
|
+
name = database.database
|
|
51
|
+
refuse! unless name.is_a?(String) && LISA_TEST_DATABASE_NAME.match?(File.basename(name))
|
|
52
|
+
end
|
|
53
|
+
rescue StandardError
|
|
54
|
+
refuse!
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
def preflight!
|
|
58
|
+
raw = ActiveSupport::ConfigurationFile.parse(File.expand_path('../config/database.yml', __dir__))
|
|
59
|
+
refuse! unless raw.is_a?(Hash) && raw.key?('test')
|
|
60
|
+
shared = raw.delete('shared')
|
|
61
|
+
databases!(ActiveRecord::DatabaseConfigurations.new(merge_shared!(raw, shared)))
|
|
62
|
+
rescue StandardError
|
|
63
|
+
refuse!
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
LisaTestIsolation.environment!
|
|
68
|
+
|
|
69
|
+
require_relative '../config/boot'
|
|
70
|
+
LisaTestIsolation.environment!
|
|
71
|
+
require 'active_record'
|
|
72
|
+
require 'active_record/database_configurations'
|
|
73
|
+
require 'active_support/configuration_file'
|
|
74
|
+
|
|
75
|
+
LisaTestIsolation.preflight!
|
|
76
|
+
|
|
77
|
+
require 'spec_helper'
|
|
78
|
+
|
|
79
|
+
LisaTestIsolation.environment!
|
|
80
|
+
require_relative '../config/environment'
|
|
12
81
|
|
|
13
82
|
require 'rspec/rails'
|
|
14
83
|
|
|
84
|
+
LisaTestIsolation.environment!
|
|
85
|
+
LisaTestIsolation.databases!(ActiveRecord::Base.configurations)
|
|
86
|
+
|
|
15
87
|
begin
|
|
16
88
|
ActiveRecord::Migration.maintain_test_schema!
|
|
17
|
-
rescue ActiveRecord::PendingMigrationError =>
|
|
18
|
-
raise
|
|
89
|
+
rescue ActiveRecord::PendingMigrationError => error
|
|
90
|
+
raise error.to_s.strip
|
|
19
91
|
end
|
|
20
92
|
|
|
21
93
|
RSpec.configure do |config|
|