@codyswann/lisa 4.47.0 → 4.48.0
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/host-rules-pointer.d.ts.map +1 -1
- package/dist/core/host-rules-pointer.js +30 -22
- package/dist/core/host-rules-pointer.js.map +1 -1
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host-rules-pointer.d.ts","sourceRoot":"","sources":["../../src/core/host-rules-pointer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"host-rules-pointer.d.ts","sourceRoot":"","sources":["../../src/core/host-rules-pointer.ts"],"names":[],"mappings":"AA6BA,8DAA8D;AAC9D,eAAO,MAAM,4BAA4B,mCAAmC,CAAC;AAC7E,8DAA8D;AAC9D,eAAO,MAAM,0BAA0B,iCAAiC,CAAC;AAEzE;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,GAClB,MAAM,CA6BR;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,eAAe,CAAC,EAAE,MAAM,GAAG,MAAM,CAStE;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAO1D"}
|
|
@@ -11,6 +11,18 @@
|
|
|
11
11
|
* Pointer only. Lisa never writes rule bodies into `AGENTS.md` or into
|
|
12
12
|
* `.agents/rules/`; that is what distinguishes this block from the legacy
|
|
13
13
|
* `LISA_RULES_START..END` bake that PR #1150 removed.
|
|
14
|
+
*
|
|
15
|
+
* The block is a plain-prose instruction, and short on purpose. Every line of
|
|
16
|
+
* it is loaded into every agent's context in every session, forever, so it
|
|
17
|
+
* carries the instruction and nothing else: the ownership and transition
|
|
18
|
+
* explanations it used to carry are Lisa internals that no agent acts on, and
|
|
19
|
+
* they live in this file's comments now instead of in every host's `AGENTS.md`.
|
|
20
|
+
*
|
|
21
|
+
* Prose rather than an import directive, because prose is the only form all six
|
|
22
|
+
* agents can act on. `@path` is Claude Code syntax that the other five do not
|
|
23
|
+
* parse, and it resolves files rather than directories even on Claude — an
|
|
24
|
+
* `@.agents/rules/` line was measured to load nothing at all, producing a block
|
|
25
|
+
* that reads as instruction-bearing while instructing no one.
|
|
14
26
|
* @module core/host-rules-pointer
|
|
15
27
|
*/
|
|
16
28
|
import { HOST_RULES_DIR } from "./project-config.js";
|
|
@@ -68,16 +80,8 @@ export function buildHostRulesPointer(legacyRulesFile) {
|
|
|
68
80
|
LISA_HOST_RULES_START_MARKER,
|
|
69
81
|
"## Host Rules",
|
|
70
82
|
"",
|
|
71
|
-
`
|
|
72
|
-
|
|
73
|
-
"injected at session start, so consult them on demand — which also means every",
|
|
74
|
-
"agent reads them through this one pointer and no agent loads them twice.",
|
|
75
|
-
"",
|
|
76
|
-
`**Ownership.** The host owns every file in \`${HOST_RULES_DIR}/\`. Lisa never writes`,
|
|
77
|
-
"rule bodies there; Lisa's own rules ship through its per-agent plugins. This",
|
|
78
|
-
"marked block is the only Lisa-managed content in this file — everything outside",
|
|
79
|
-
"the markers belongs to the host and is never touched.",
|
|
80
|
-
...transitionParagraph(legacyRulesFile),
|
|
83
|
+
`Read every file under \`${HOST_RULES_DIR}/\` for this project's standing rules.`,
|
|
84
|
+
...transitionSentence(legacyRulesFile),
|
|
81
85
|
LISA_HOST_RULES_END_MARKER,
|
|
82
86
|
].join("\n");
|
|
83
87
|
}
|
|
@@ -91,25 +95,29 @@ export function stripHostRulesPointer(body) {
|
|
|
91
95
|
return replaceManagedBlock(body, LISA_HOST_RULES_START_MARKER, LISA_HOST_RULES_END_MARKER, "");
|
|
92
96
|
}
|
|
93
97
|
/**
|
|
94
|
-
*
|
|
95
|
-
* stays reachable while the project transitions. Empty when the project
|
|
96
|
-
* none — the
|
|
98
|
+
* The clause naming a surviving legacy single-file rules document, so its
|
|
99
|
+
* content stays reachable while the project transitions. Empty when the project
|
|
100
|
+
* has none — the sentence then disappears on its own, which is what keeps the
|
|
101
|
+
* block from sending an agent after a path that is not there.
|
|
102
|
+
*
|
|
103
|
+
* The auto-load caveat is the one piece of the retired transition paragraph
|
|
104
|
+
* that has to survive: `.agents/rules/` is not a native auto-load tree for any
|
|
105
|
+
* runtime, but a legacy path can be. Claude Code auto-loads `.claude/rules/`,
|
|
106
|
+
* so an unqualified "also read it" would reintroduce exactly the double-load
|
|
107
|
+
* this block exists to prevent. It is phrased against the runtime rather than
|
|
108
|
+
* against the path because `projectRulesFile` may point somewhere Claude does
|
|
109
|
+
* not auto-load, and naming `.claude/rules/` unconditionally would be false
|
|
110
|
+
* there.
|
|
97
111
|
* @param legacyRulesFile - Project-relative legacy rules path, if any.
|
|
98
112
|
* @returns Zero or more block lines.
|
|
99
113
|
*/
|
|
100
|
-
function
|
|
114
|
+
function transitionSentence(legacyRulesFile) {
|
|
101
115
|
if (legacyRulesFile === undefined) {
|
|
102
116
|
return [];
|
|
103
117
|
}
|
|
104
118
|
return [
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
"They remain authoritative and are left exactly as written — Lisa does not",
|
|
108
|
-
"move, rewrite, or delete them. Agents whose runtime auto-loads that path",
|
|
109
|
-
"(Claude Code auto-loads `.claude/rules/`) already have that content and must",
|
|
110
|
-
"not read it a second time; every other agent should read it alongside",
|
|
111
|
-
`\`${HOST_RULES_DIR}/\`. Reclassifying or relocating it is a human-gated`,
|
|
112
|
-
"decision, never an automated rewrite.",
|
|
119
|
+
`Also read \`${legacyRulesFile}\`, unless your runtime auto-loads it —`,
|
|
120
|
+
"Claude Code auto-loads `.claude/rules/`.",
|
|
113
121
|
];
|
|
114
122
|
}
|
|
115
123
|
//# sourceMappingURL=host-rules-pointer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host-rules-pointer.js","sourceRoot":"","sources":["../../src/core/host-rules-pointer.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"host-rules-pointer.js","sourceRoot":"","sources":["../../src/core/host-rules-pointer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,8DAA8D;AAC9D,MAAM,CAAC,MAAM,4BAA4B,GAAG,gCAAgC,CAAC;AAC7E,8DAA8D;AAC9D,MAAM,CAAC,MAAM,0BAA0B,GAAG,8BAA8B,CAAC;AAEzE;;;;;;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pD,MAAM,IAAI,GAAG,GAAG,MAAM,GAAG,WAAW,GAAG,KAAK,EAAE,CAAC;IAC/C,+EAA+E;IAC/E,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,IAAI,EAAE,IAAI,CAAC;AACxD,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB,CAAC,eAAwB;IAC5D,OAAO;QACL,4BAA4B;QAC5B,eAAe;QACf,EAAE;QACF,2BAA2B,cAAc,wCAAwC;QACjF,GAAG,kBAAkB,CAAC,eAAe,CAAC;QACtC,0BAA0B;KAC3B,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB,CAAC,IAAY;IAChD,OAAO,mBAAmB,CACxB,IAAI,EACJ,4BAA4B,EAC5B,0BAA0B,EAC1B,EAAE,CACH,CAAC;AACJ,CAAC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,SAAS,kBAAkB,CAAC,eAAmC;IAC7D,IAAI,eAAe,KAAK,SAAS,EAAE,CAAC;QAClC,OAAO,EAAE,CAAC;IACZ,CAAC;IACD,OAAO;QACL,eAAe,eAAe,yCAAyC;QACvE,0CAA0C;KAC3C,CAAC;AACJ,CAAC"}
|
|
@@ -34,9 +34,9 @@ export const NIGHTLY_E2E_GUARD_BEHAVIOR_CERTIFICATES = Object.freeze({
|
|
|
34
34
|
}),
|
|
35
35
|
dfd2fef680de5ef03e63075e8a61c62ca4d95cdfdff6201939b79c748d3397f6: Object.freeze({
|
|
36
36
|
contractVersion: "1.9.0",
|
|
37
|
-
packageVersions: Object.freeze(["4.
|
|
37
|
+
packageVersions: Object.freeze(["4.48.0"]),
|
|
38
38
|
provenances: Object.freeze([
|
|
39
|
-
"workspace package @codyswann/lisa@4.
|
|
39
|
+
"workspace package @codyswann/lisa@4.48.0 (typescript/copy-overwrite/scripts/check-nightly-e2e-health.mjs)",
|
|
40
40
|
]),
|
|
41
41
|
}),
|
|
42
42
|
});
|
package/package.json
CHANGED
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
"zod-validation-error": "^4.0.0"
|
|
177
177
|
},
|
|
178
178
|
"name": "@codyswann/lisa",
|
|
179
|
-
"version": "4.
|
|
179
|
+
"version": "4.48.0",
|
|
180
180
|
"description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
|
|
181
181
|
"main": "dist/index.js",
|
|
182
182
|
"exports": {
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
"test": "tests"
|
|
325
325
|
},
|
|
326
326
|
"types": "./dist/index.d.ts",
|
|
327
|
-
"lisaReleaseCommit": "
|
|
328
|
-
"gitHead": "
|
|
329
|
-
"lisaReleaseTag": "v4.
|
|
327
|
+
"lisaReleaseCommit": "aeffdd306e3b665a31c273741ab56a8ac0181c74",
|
|
328
|
+
"gitHead": "aeffdd306e3b665a31c273741ab56a8ac0181c74",
|
|
329
|
+
"lisaReleaseTag": "v4.48.0"
|
|
330
330
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.48.0",
|
|
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.
|
|
3
|
+
"version": "4.48.0",
|
|
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.
|
|
3
|
+
"version": "4.48.0",
|
|
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.
|
|
3
|
+
"version": "4.48.0",
|
|
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.
|
|
3
|
+
"version": "4.48.0",
|
|
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"
|