@codyswann/lisa 4.95.1 → 4.95.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.
Files changed (98) hide show
  1. package/dist/cli/doctor-learnings-driver-command.d.ts +12 -0
  2. package/dist/cli/doctor-learnings-driver-command.d.ts.map +1 -0
  3. package/dist/cli/doctor-learnings-driver-command.js +80 -0
  4. package/dist/cli/doctor-learnings-driver-command.js.map +1 -0
  5. package/dist/cli/doctor-merge-drivers.d.ts +7 -3
  6. package/dist/cli/doctor-merge-drivers.d.ts.map +1 -1
  7. package/dist/cli/doctor-merge-drivers.js +43 -5
  8. package/dist/cli/doctor-merge-drivers.js.map +1 -1
  9. package/dist/cli/gate-commands.d.ts.map +1 -1
  10. package/dist/cli/gate-commands.js +1 -0
  11. package/dist/cli/gate-commands.js.map +1 -1
  12. package/dist/cli/merge-learnings-cmd.d.ts +6 -0
  13. package/dist/cli/merge-learnings-cmd.d.ts.map +1 -1
  14. package/dist/cli/merge-learnings-cmd.js +24 -1
  15. package/dist/cli/merge-learnings-cmd.js.map +1 -1
  16. package/dist/core/learnings-merge-driver-command.d.ts +38 -0
  17. package/dist/core/learnings-merge-driver-command.d.ts.map +1 -0
  18. package/dist/core/learnings-merge-driver-command.js +151 -0
  19. package/dist/core/learnings-merge-driver-command.js.map +1 -0
  20. package/dist/core/learnings-merge-driver-install.d.ts +19 -3
  21. package/dist/core/learnings-merge-driver-install.d.ts.map +1 -1
  22. package/dist/core/learnings-merge-driver-install.js +65 -32
  23. package/dist/core/learnings-merge-driver-install.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 +4 -0
  27. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  28. package/package.json +4 -4
  29. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  30. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  31. package/plugins/lisa-agy/plugin.json +1 -1
  32. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  33. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  34. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  35. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  36. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  37. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  38. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  39. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  40. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  41. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  42. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  43. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  44. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  45. package/plugins/lisa-expo-agy/plugin.json +1 -1
  46. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  47. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  48. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  49. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  50. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  51. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  52. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  53. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  54. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  55. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  56. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  57. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  58. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  59. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  60. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  61. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  62. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  63. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  64. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  65. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  66. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  67. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  68. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  69. package/plugins/lisa-openclaw-devin/.claude-plugin/plugin.json +1 -1
  70. package/plugins/lisa-openclaw-devin/.devin-plugin/plugin.json +1 -1
  71. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  72. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  73. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  74. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  75. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  76. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  77. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  78. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  79. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  80. package/plugins/lisa-rails-agy/plugin.json +1 -1
  81. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  82. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  83. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  84. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  85. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  86. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  87. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  88. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  89. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  90. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  91. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  92. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  93. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  94. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  95. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  96. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  97. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  98. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
@@ -9,6 +9,9 @@
9
9
  * `lisa install-merge-driver` command an operator can re-run by hand.
10
10
  * @module core/learnings-merge-driver-install
11
11
  */
12
+ import { readFile } from "node:fs/promises";
13
+ import * as path from "node:path";
14
+ import { HOST_LISA_ENTRY, SELF_LISA_ENTRY, buildPortableLearningsMergeDriverCommand, classifyLearningsDriverCommand, } from "./learnings-merge-driver-command.js";
12
15
  import { LEARNINGS_MERGE_DRIVER_DESCRIPTION, LEARNINGS_MERGE_DRIVER_NAME, buildLearningsMergeDriverCommand, } from "./learnings-merge-driver.js";
13
16
  const GIT_COMMAND_ENV = {
14
17
  PATH: "/usr/bin:/bin:/usr/sbin:/sbin",
@@ -64,36 +67,57 @@ async function probeRepository(projectRoot) {
64
67
  return result.stdout === "true" ? "repository" : NO_REPO;
65
68
  }
66
69
  /**
67
- * Quote one path for the POSIX shell that git runs a merge driver through.
70
+ * The worktree-relative path of the Lisa entry this project runs.
68
71
  *
69
- * Single quotes, not double: git executes `merge.<name>.driver` via `sh`, where
70
- * `$`, a backtick, and a backslash stay special inside double quotes. A path
71
- * containing `$` would silently expand to nothing and the driver would fail to
72
- * launch; a backtick would run a command substitution. Inside single quotes the
73
- * shell treats every byte literally, so only an embedded single quote needs
74
- * handling — closed, escaped, and reopened as `'\''`.
75
- * @param value - Raw filesystem path
76
- * @returns Shell-safe single-quoted token
72
+ * Relative to the TOP of the worktree, because that is git's cwd when it runs
73
+ * a driver — so a project nested below the repository root carries its
74
+ * prefix. Inside the Lisa repository itself the entry is its own build;
75
+ * everywhere else it is the installed package.
76
+ * @param projectRoot - Project directory being registered
77
+ * @returns Entry such as `./node_modules/@codyswann/lisa/dist/index.js`
77
78
  */
78
- function shellQuote(value) {
79
- return `'${value.replaceAll("'", "'\\''")}'`;
79
+ async function resolvePortableEntry(projectRoot) {
80
+ const prefix = await tryGit(["rev-parse", "--show-prefix"], projectRoot);
81
+ const relative = prefix.ok ? prefix.stdout : "";
82
+ const entry = (await isLisaRepository(projectRoot))
83
+ ? SELF_LISA_ENTRY
84
+ : HOST_LISA_ENTRY;
85
+ return `./${path.posix.join(relative, entry)}`;
80
86
  }
81
87
  /**
82
- * Resolve how to re-invoke the currently running Lisa CLI.
88
+ * Whether the project is Lisa's own repository.
89
+ * @param projectRoot - Project directory being registered
90
+ * @returns True when package.json names `@codyswann/lisa`
91
+ */
92
+ async function isLisaRepository(projectRoot) {
93
+ try {
94
+ const manifest = JSON.parse(await readFile(path.join(projectRoot, "package.json"), "utf8"));
95
+ return (typeof manifest === "object" &&
96
+ manifest !== null &&
97
+ "name" in manifest &&
98
+ manifest.name === "@codyswann/lisa");
99
+ }
100
+ catch {
101
+ return false;
102
+ }
103
+ }
104
+ /**
105
+ * The detail reported when a registration is written.
83
106
  *
84
- * Uses `process.execPath` as the runtime rather than a hardcoded `node`, so a
85
- * checkout running under Bun registers a Bun-executable command and a published
86
- * package running under Node registers a Node one. Returns undefined when the
87
- * entry script is unknown: registering a command that can never launch is worse
88
- * than leaving git on its default driver, which at least fails visibly.
89
- * @returns Shell-safe `<runtime> <entry script>` invocation, when resolvable
107
+ * Names the command it replaced, so `lisa apply` tells the operator that an
108
+ * absolute registration — one that breaks when its checkout is removed — was
109
+ * migrated, rather than reporting an indistinguishable "registered".
110
+ * @param previous - Previously registered command, when there was one
111
+ * @returns Single-line, operator-facing detail
90
112
  */
91
- function resolveLisaInvocation() {
92
- const entry = process.argv[1];
93
- if (entry === undefined || entry === "") {
94
- return undefined;
113
+ function installedDetail(previous) {
114
+ if (previous === undefined || previous === "") {
115
+ return `registered the ${LEARNINGS_MERGE_DRIVER_NAME} merge driver`;
95
116
  }
96
- return `${shellQuote(process.execPath)} ${shellQuote(entry)}`;
117
+ const kind = classifyLearningsDriverCommand(previous).kind === "absolute"
118
+ ? "absolute"
119
+ : "previous";
120
+ return `replaced the ${LEARNINGS_MERGE_DRIVER_NAME} merge driver's ${kind} registration '${previous}' with a worktree-portable command`;
97
121
  }
98
122
  /**
99
123
  * Whether this directory is a git working tree the driver can be registered in.
@@ -127,6 +151,20 @@ export async function probeLearningsMergeDriverRegistration(projectRoot) {
127
151
  const current = await tryGit(["config", "--get", DRIVER_KEY], projectRoot);
128
152
  return current.ok && current.stdout !== "" ? "registered" : "unregistered";
129
153
  }
154
+ /**
155
+ * Read the registered driver command, for checks that must know whether it
156
+ * can actually run here rather than merely whether it is set.
157
+ * @param projectRoot - Project directory to inspect
158
+ * @returns The command and worktree top, or undefined when unset
159
+ */
160
+ export async function readLearningsMergeDriverRegistration(projectRoot) {
161
+ const current = await tryGit(["config", "--get", DRIVER_KEY], projectRoot);
162
+ const top = await tryGit(["rev-parse", "--show-toplevel"], projectRoot);
163
+ if (!current.ok || current.stdout === "" || !top.ok) {
164
+ return undefined;
165
+ }
166
+ return { command: current.stdout, worktreeTop: top.stdout };
167
+ }
130
168
  /**
131
169
  * Register the union merge driver in one project's local git config.
132
170
  *
@@ -150,14 +188,9 @@ export async function installLearningsMergeDriver(projectRoot, dependencies = {}
150
188
  detail: "not a git repository — nothing to register",
151
189
  };
152
190
  }
153
- const invocation = dependencies.invocation ?? resolveLisaInvocation();
154
- if (invocation === undefined) {
155
- return {
156
- kind: "failed",
157
- detail: `could not resolve the Lisa entry point — ${NOT_REGISTERED}`,
158
- };
159
- }
160
- const desired = buildLearningsMergeDriverCommand(invocation);
191
+ const desired = dependencies.invocation === undefined
192
+ ? buildPortableLearningsMergeDriverCommand(await resolvePortableEntry(projectRoot))
193
+ : buildLearningsMergeDriverCommand(dependencies.invocation);
161
194
  const current = await tryGit(["config", "--local", "--get", DRIVER_KEY], projectRoot);
162
195
  if (current.ok && current.stdout === desired) {
163
196
  return {
@@ -175,7 +208,7 @@ export async function installLearningsMergeDriver(projectRoot, dependencies = {}
175
208
  }
176
209
  return {
177
210
  kind: "installed",
178
- detail: `registered the ${LEARNINGS_MERGE_DRIVER_NAME} merge driver`,
211
+ detail: installedDetail(current.ok ? current.stdout : undefined),
179
212
  };
180
213
  }
181
214
  //# sourceMappingURL=learnings-merge-driver-install.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"learnings-merge-driver-install.js","sourceRoot":"","sources":["../../src/core/learnings-merge-driver-install.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EACL,kCAAkC,EAClC,2BAA2B,EAC3B,gCAAgC,GACjC,MAAM,6BAA6B,CAAC;AAErC,MAAM,eAAe,GAAsB;IACzC,IAAI,EAAE,+BAA+B;CACtC,CAAC;AACF,MAAM,UAAU,GAAG,SAAS,2BAA2B,SAAS,CAAC;AACjE,MAAM,QAAQ,GAAG,SAAS,2BAA2B,OAAO,CAAC;AAC7D,MAAM,cAAc,GAAG,6BAA6B,CAAC;AASrD,MAAM,OAAO,GAAoB,kBAAkB,CAAC;AA4BpD;;;;;;;;;;GAUG;AACH,KAAK,UAAU,MAAM,CAAC,IAAuB,EAAE,GAAW;IACxD,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,CAAC;IACxD,MAAM,EAAE,SA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ChE,MAAM,OAAO,GAAG,MAAM,MAAM,CAC1B,CAAC,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,CAAC,EAC1C,WAAW,CACZ,CAAC;IACF,IAAI,OAAO,CAAC,EAAE,IAAI,OAAO,CAAC,MAAM,KAAK,OAAO,EAAE,CAAC;QAC7C,OAAO;YACL,IAAI,EAAE,WAAW;YACjB,MAAM,EAAE,GAAG,2BAA2B,kCAAkC;SACzE,CAAC;IACJ,CAAC;IACD,MAAM,MAAM,CACV,CAAC,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,kCAAkC,CAAC,EACnE,WAAW,CACZ,CAAC;IACF,MAAM,GAAG,GAAG,MAAM,MAAM,CACtB,CAAC,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,CAAC,EAC1C,WAAW,CACZ,CAAC;IACF,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC;QACZ,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,sCAAsC,cAAc,EAAE;SAC/D,CAAC;IACJ,CAAC;IACD,OAAO;QACL,IAAI,EAAE,WAAW;QACjB,MAAM,EAAE,eAAe,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;KACjE,CAAC;AACJ,CAAC"}
@@ -41,9 +41,9 @@ export const NIGHTLY_E2E_GUARD_BEHAVIOR_CERTIFICATES = Object.freeze({
41
41
  }),
42
42
  d1b26caeaf65950e3b60ff41964d234c032c50470072e7643310b1f6722e34e6: Object.freeze({
43
43
  contractVersion: "1.9.0",
44
- packageVersions: Object.freeze(["4.95.1"]),
44
+ packageVersions: Object.freeze(["4.95.2"]),
45
45
  provenances: Object.freeze([
46
- "workspace package @codyswann/lisa@4.95.1 (typescript/copy-overwrite/scripts/check-nightly-e2e-health.mjs)",
46
+ "workspace package @codyswann/lisa@4.95.2 (typescript/copy-overwrite/scripts/check-nightly-e2e-health.mjs)",
47
47
  ]),
48
48
  }),
49
49
  dfd2fef680de5ef03e63075e8a61c62ca4d95cdfdff6201939b79c748d3397f6: Object.freeze({
@@ -1 +1 @@
1
- {"version":3,"file":"upstream-evidence-manifest.d.ts","sourceRoot":"","sources":["../../src/core/upstream-evidence-manifest.ts"],"names":[],"mappings":"AACA,iFAAiF;AACjF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA4hGpE,CAAC;AAEL,4EAA4E;AAC5E,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAq8UjE,CAAC;AAEL,sFAAsF;AACtF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAk6I/D,CAAC"}
1
+ {"version":3,"file":"upstream-evidence-manifest.d.ts","sourceRoot":"","sources":["../../src/core/upstream-evidence-manifest.ts"],"names":[],"mappings":"AACA,iFAAiF;AACjF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA4hGpE,CAAC;AAEL,4EAA4E;AAC5E,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAy8UjE,CAAC;AAEL,sFAAsF;AACtF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAk6I/D,CAAC"}
@@ -9112,6 +9112,7 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
9112
9112
  "src/cli/doctor-git-hooks.ts": true,
9113
9113
  "src/cli/doctor-hook-copy-parity.ts": true,
9114
9114
  "src/cli/doctor-kane.ts": true,
9115
+ "src/cli/doctor-learnings-driver-command.ts": true,
9115
9116
  "src/cli/doctor-learnings-ledger.ts": true,
9116
9117
  "src/cli/doctor-legacy-overlay.ts": true,
9117
9118
  "src/cli/doctor-lisa-owned-artifact-copies.ts": true,
@@ -9444,6 +9445,7 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
9444
9445
  "src/core/learnings-lock-capability.ts": true,
9445
9446
  "src/core/learnings-lock-fs.ts": true,
9446
9447
  "src/core/learnings-lock.ts": true,
9448
+ "src/core/learnings-merge-driver-command.ts": true,
9447
9449
  "src/core/learnings-merge-driver-install.ts": true,
9448
9450
  "src/core/learnings-merge-driver.ts": true,
9449
9451
  "src/core/learnings-merge.ts": true,
@@ -10651,7 +10653,9 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
10651
10653
  "tests/unit/core/learnings-lock-acquire.test.ts": true,
10652
10654
  "tests/unit/core/learnings-lock-reclaim.test.ts": true,
10653
10655
  "tests/unit/core/learnings-lost-write-detection.test.ts": true,
10656
+ "tests/unit/core/learnings-merge-driver-command.test.ts": true,
10654
10657
  "tests/unit/core/learnings-merge-driver-install.test.ts": true,
10658
+ "tests/unit/core/learnings-merge-driver-worktree.test.ts": true,
10655
10659
  "tests/unit/core/learnings-merge-driver.test.ts": true,
10656
10660
  "tests/unit/core/learnings-merge-reports-every-invalid-entry.test.ts": true,
10657
10661
  "tests/unit/core/learnings-merge.test.ts": true,