@codyswann/lisa 2.322.3 → 2.322.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.
Files changed (70) hide show
  1. package/dist/core/upstream-evidence-manifest.js +3 -3
  2. package/package.json +1 -1
  3. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  4. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  5. package/plugins/lisa/.codex-plugin/skills/lisa-remote-dispatch/scripts/dispatch.mjs +23 -1
  6. package/plugins/lisa/.codex-plugin/skills/lisa-setup-remote-env/SKILL.md +16 -8
  7. package/plugins/lisa/.codex-plugin/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +16 -7
  8. package/plugins/lisa/skills/lisa-remote-dispatch/scripts/dispatch.mjs +23 -1
  9. package/plugins/lisa/skills/lisa-setup-remote-env/SKILL.md +16 -8
  10. package/plugins/lisa/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +16 -7
  11. package/plugins/lisa-agy/plugin.json +1 -1
  12. package/plugins/lisa-agy/skills/lisa-remote-dispatch/scripts/dispatch.mjs +23 -1
  13. package/plugins/lisa-agy/skills/lisa-setup-remote-env/SKILL.md +16 -8
  14. package/plugins/lisa-agy/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +16 -7
  15. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  16. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  17. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  18. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  19. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  20. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  21. package/plugins/lisa-copilot/skills/lisa-remote-dispatch/scripts/dispatch.mjs +23 -1
  22. package/plugins/lisa-copilot/skills/lisa-setup-remote-env/SKILL.md +16 -8
  23. package/plugins/lisa-copilot/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +16 -7
  24. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  25. package/plugins/lisa-cursor/skills/lisa-remote-dispatch/scripts/dispatch.mjs +23 -1
  26. package/plugins/lisa-cursor/skills/lisa-setup-remote-env/SKILL.md +16 -8
  27. package/plugins/lisa-cursor/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +16 -7
  28. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  29. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  30. package/plugins/lisa-expo-agy/plugin.json +1 -1
  31. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  32. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  33. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  34. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  35. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  36. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  37. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  38. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  39. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  40. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  41. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  42. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  43. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  44. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  45. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  46. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  47. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  48. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  49. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  50. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  51. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  52. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  53. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  54. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  55. package/plugins/lisa-rails-agy/plugin.json +1 -1
  56. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  57. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  58. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  59. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  60. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  61. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  62. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  63. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  64. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  65. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  66. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  67. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  68. package/plugins/src/base/skills/lisa-remote-dispatch/scripts/dispatch.mjs +23 -1
  69. package/plugins/src/base/skills/lisa-setup-remote-env/SKILL.md +16 -8
  70. package/plugins/src/base/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +16 -7
@@ -308,20 +308,29 @@ export function installAssets(cwd = process.cwd()) {
308
308
  * at all — so a `$HOME` glob matched nothing there and bash was handed a path
309
309
  * still containing a literal asterisk.
310
310
  *
311
- * Both candidates are therefore tried relative to cwd. `exec` on the first hit
312
- * avoids a subshell and avoids parsing `ls`; the explicit `exit 1` means a
313
- * missing entrypoint says so rather than the field quietly succeeding. The
314
- * script then anchors itself on the repository root and installs dependencies
315
- * from whichever lockfile the project commits.
311
+ * Both candidates are therefore tried relative to cwd, and EVERY match is
312
+ * prepared rather than the first. A Claude Code web environment can hold more
313
+ * than one checkout, so stopping at the first hit would prepare whichever
314
+ * repository sorts first and silently ignore the rest arbitrary rather than
315
+ * merely limited. Each script anchors itself on its own repository root and
316
+ * each project materializes under its own `secrets.namespace`, so preparing
317
+ * several is well defined rather than a collision.
318
+ *
319
+ * The status is the first failure and every checkout is still attempted: one
320
+ * broken repository must neither hide the others nor report success. The
321
+ * explicit `exit 1` on no matches matters because a `for` loop over a glob that
322
+ * matches nothing otherwise exits 0 — the quiet success this guards against.
316
323
  *
317
324
  * A field that named the repository and package manager was a string a human
318
325
  * had to get right, in a settings box with no review, no version history and no
319
326
  * test — and the logic it encoded belongs in a file that has all three.
320
327
  */
321
328
  export const SETUP_FIELD =
329
+ "n=0; rc=0; " +
322
330
  "for f in scripts/lisa-remote-env/setup.sh */scripts/lisa-remote-env/setup.sh; " +
323
- 'do [ -f "$f" ] && exec bash "$f"; done; ' +
324
- 'echo "lisa-remote-env entrypoint not found under $PWD" >&2; exit 1';
331
+ 'do [ -f "$f" ] || continue; n=$((n+1)); bash "$f" || rc=$?; done; ' +
332
+ '[ "$n" -gt 0 ] || { echo "lisa-remote-env entrypoint not found under $PWD" >&2; exit 1; }; ' +
333
+ 'exit "$rc"';
325
334
 
326
335
  /**
327
336
  * The settings block that wires the session-start hook into a repository.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -416,6 +416,28 @@ function resolveBearerToken(block) {
416
416
  }
417
417
  }
418
418
 
419
+ /**
420
+ * How each agent spells "run this skill".
421
+ *
422
+ * Codex invokes a skill with `$name`, Claude with `/name`. The prefix is the
423
+ * whole invocation: get it wrong and the agent reads a sentence that merely
424
+ * mentions a skill rather than a command that runs one — and being a capable
425
+ * model it will often do *something*, which is worse than failing, because the
426
+ * run looks successful while executing none of the skill's contract.
427
+ *
428
+ * Nothing downstream catches it either. The routine accepts any text, so the
429
+ * dispatch succeeds, a session identifier is recorded, and the ledger says the
430
+ * work was handed off. Only reading the session shows otherwise.
431
+ * @param {string} surface Execution surface.
432
+ * @param {string} skill Skill slug, without a prefix.
433
+ * @param {string} rest The payload the skill is invoked with.
434
+ * @returns {string} The thin invocation to send.
435
+ */
436
+ export function buildInvocation(surface, skill, rest) {
437
+ const prefix = surface === "claude-web" ? "/" : "$";
438
+ return `${prefix}${skill} ${rest}`.trim();
439
+ }
440
+
419
441
  async function main() {
420
442
  const { skill, raw } = splitSkillFlag(process.argv.slice(2));
421
443
  const { params, rest } = parseInvocation(raw);
@@ -432,7 +454,7 @@ async function main() {
432
454
  // The invocation stays thin on purpose. Every durable instruction lives in
433
455
  // the repository-local skill, so an interactive run, a scheduled run, and a
434
456
  // recovery run all execute one contract.
435
- const prompt = `$${skill} ${rest}`.trim();
457
+ const prompt = buildInvocation(surface, skill, rest);
436
458
 
437
459
  if (surface === "claude-web") {
438
460
  const { sessionId, url } = await dispatchClaudeWeb(block, prompt, rest);
@@ -13,8 +13,8 @@ Prepare a remote surface so a host project can execute there. Today that means *
13
13
  The remote environment's own configuration fields stay **one line into the repository**. Nothing else is pasted into a vendor UI.
14
14
 
15
15
  ```text
16
- setup: for f in scripts/lisa-remote-env/setup.sh */scripts/lisa-remote-env/setup.sh; do [ -f "$f" ] && exec bash "$f"; done; echo "lisa-remote-env entrypoint not found under $PWD" >&2; exit 1
17
- maintenance: for f in scripts/lisa-remote-env/setup.sh */scripts/lisa-remote-env/setup.sh; do [ -f "$f" ] && exec bash "$f"; done; echo "lisa-remote-env entrypoint not found under $PWD" >&2; exit 1
16
+ setup: n=0; rc=0; for f in scripts/lisa-remote-env/setup.sh */scripts/lisa-remote-env/setup.sh; do [ -f "$f" ] || continue; n=$((n+1)); bash "$f" || rc=$?; done; [ "$n" -gt 0 ] || { echo "lisa-remote-env entrypoint not found under $PWD" >&2; exit 1; }; exit "$rc"
17
+ maintenance: n=0; rc=0; for f in scripts/lisa-remote-env/setup.sh */scripts/lisa-remote-env/setup.sh; do [ -f "$f" ] || continue; n=$((n+1)); bash "$f" || rc=$?; done; [ "$n" -gt 0 ] || { echo "lisa-remote-env entrypoint not found under $PWD" >&2; exit 1; }; exit "$rc"
18
18
  ```
19
19
 
20
20
  **That line is identical for every project AND every surface.** Nothing in it names the
@@ -34,10 +34,18 @@ and neither mentions `$HOME`. An earlier version of this field used
34
34
  the checkout is not under `$HOME` at all: the glob matches nothing and bash reports
35
35
  `No such file or directory` for a path still containing a literal `*`.
36
36
 
37
- `exec` on the first hit means no subshell and no `ls` output to parse, and the explicit
38
- `exit 1` means a missing entrypoint says so rather than the field silently succeeding. The
39
- script then anchors itself on the repository root, so it behaves the same however it was
40
- reached.
37
+ **Every** match is prepared, not the first. A Claude Code web environment can hold more than
38
+ one checkout, and stopping at the first glob hit would prepare whichever repository sorts
39
+ first and silently ignore the rest arbitrary rather than merely limited. Each script
40
+ anchors itself on its own repository root, and each project's secrets land under its own
41
+ `secrets.namespace`, so preparing several is well defined rather than a collision.
42
+
43
+ The exit status is the **first failure**, and every checkout is still attempted: one broken
44
+ repository must not hide the state of the others, and it must not report success either.
45
+
46
+ The explicit `exit 1` on `n=0` means a missing entrypoint says so rather than the field
47
+ silently succeeding — a `for` loop over a glob that matches nothing otherwise exits `0`,
48
+ which is the quiet failure this whole section exists to avoid.
41
49
 
42
50
  They are the same command. A container may be built fresh or resumed from cache; every step is idempotent and version-aware, so running it twice is correct, and running it on resume is what picks up a rotated value, an edited note, or a changed version pin.
43
51
 
@@ -156,8 +164,8 @@ When emitting, produce exactly:
156
164
  ```text
157
165
  Environment name: <project> remote executor
158
166
  Repository: <org>/<repo> (must be the default checkout)
159
- Setup script: for f in scripts/lisa-remote-env/setup.sh */scripts/lisa-remote-env/setup.sh; do [ -f "$f" ] && exec bash "$f"; done; echo "lisa-remote-env entrypoint not found under $PWD" >&2; exit 1
160
- Maintenance: for f in scripts/lisa-remote-env/setup.sh */scripts/lisa-remote-env/setup.sh; do [ -f "$f" ] && exec bash "$f"; done; echo "lisa-remote-env entrypoint not found under $PWD" >&2; exit 1
167
+ Setup script: n=0; rc=0; for f in scripts/lisa-remote-env/setup.sh */scripts/lisa-remote-env/setup.sh; do [ -f "$f" ] || continue; n=$((n+1)); bash "$f" || rc=$?; done; [ "$n" -gt 0 ] || { echo "lisa-remote-env entrypoint not found under $PWD" >&2; exit 1; }; exit "$rc"
168
+ Maintenance: n=0; rc=0; for f in scripts/lisa-remote-env/setup.sh */scripts/lisa-remote-env/setup.sh; do [ -f "$f" ] || continue; n=$((n+1)); bash "$f" || rc=$?; done; [ "$n" -gt 0 ] || { echo "lisa-remote-env entrypoint not found under $PWD" >&2; exit 1; }; exit "$rc"
161
169
  (identical for every project — the script finds the
162
170
  checkout and installs from the committed lockfile)
163
171
  Environment vars: LISA_SECRETS_SURFACE=codex-cloud
@@ -308,20 +308,29 @@ export function installAssets(cwd = process.cwd()) {
308
308
  * at all — so a `$HOME` glob matched nothing there and bash was handed a path
309
309
  * still containing a literal asterisk.
310
310
  *
311
- * Both candidates are therefore tried relative to cwd. `exec` on the first hit
312
- * avoids a subshell and avoids parsing `ls`; the explicit `exit 1` means a
313
- * missing entrypoint says so rather than the field quietly succeeding. The
314
- * script then anchors itself on the repository root and installs dependencies
315
- * from whichever lockfile the project commits.
311
+ * Both candidates are therefore tried relative to cwd, and EVERY match is
312
+ * prepared rather than the first. A Claude Code web environment can hold more
313
+ * than one checkout, so stopping at the first hit would prepare whichever
314
+ * repository sorts first and silently ignore the rest arbitrary rather than
315
+ * merely limited. Each script anchors itself on its own repository root and
316
+ * each project materializes under its own `secrets.namespace`, so preparing
317
+ * several is well defined rather than a collision.
318
+ *
319
+ * The status is the first failure and every checkout is still attempted: one
320
+ * broken repository must neither hide the others nor report success. The
321
+ * explicit `exit 1` on no matches matters because a `for` loop over a glob that
322
+ * matches nothing otherwise exits 0 — the quiet success this guards against.
316
323
  *
317
324
  * A field that named the repository and package manager was a string a human
318
325
  * had to get right, in a settings box with no review, no version history and no
319
326
  * test — and the logic it encoded belongs in a file that has all three.
320
327
  */
321
328
  export const SETUP_FIELD =
329
+ "n=0; rc=0; " +
322
330
  "for f in scripts/lisa-remote-env/setup.sh */scripts/lisa-remote-env/setup.sh; " +
323
- 'do [ -f "$f" ] && exec bash "$f"; done; ' +
324
- 'echo "lisa-remote-env entrypoint not found under $PWD" >&2; exit 1';
331
+ 'do [ -f "$f" ] || continue; n=$((n+1)); bash "$f" || rc=$?; done; ' +
332
+ '[ "$n" -gt 0 ] || { echo "lisa-remote-env entrypoint not found under $PWD" >&2; exit 1; }; ' +
333
+ 'exit "$rc"';
325
334
 
326
335
  /**
327
336
  * The settings block that wires the session-start hook into a repository.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "Expo and React Native-specific skills, agents, rules, and MCP servers.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "Harper/Fabric-specific Lisa rules for TypeScript component apps.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "NestJS-specific skills and migration write-protection hooks.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-openclaw",
3
- "version": "2.322.3",
3
+ "version": "2.322.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": "2.322.3",
3
+ "version": "2.322.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": "2.322.3",
3
+ "version": "2.322.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": "2.322.3",
3
+ "version": "2.322.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": "2.322.3",
3
+ "version": "2.322.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-phaser",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "Ruby on Rails-specific skills and hooks for RuboCop and ast-grep scanning on edit.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "TypeScript-specific hooks for formatting, linting, and ast-grep scanning on edit.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "Distributable LLM Wiki kernel — ingest, query, lint, and maintain a git-native markdown knowledge base across Claude and Codex.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.322.3",
3
+ "version": "2.322.4",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -416,6 +416,28 @@ function resolveBearerToken(block) {
416
416
  }
417
417
  }
418
418
 
419
+ /**
420
+ * How each agent spells "run this skill".
421
+ *
422
+ * Codex invokes a skill with `$name`, Claude with `/name`. The prefix is the
423
+ * whole invocation: get it wrong and the agent reads a sentence that merely
424
+ * mentions a skill rather than a command that runs one — and being a capable
425
+ * model it will often do *something*, which is worse than failing, because the
426
+ * run looks successful while executing none of the skill's contract.
427
+ *
428
+ * Nothing downstream catches it either. The routine accepts any text, so the
429
+ * dispatch succeeds, a session identifier is recorded, and the ledger says the
430
+ * work was handed off. Only reading the session shows otherwise.
431
+ * @param {string} surface Execution surface.
432
+ * @param {string} skill Skill slug, without a prefix.
433
+ * @param {string} rest The payload the skill is invoked with.
434
+ * @returns {string} The thin invocation to send.
435
+ */
436
+ export function buildInvocation(surface, skill, rest) {
437
+ const prefix = surface === "claude-web" ? "/" : "$";
438
+ return `${prefix}${skill} ${rest}`.trim();
439
+ }
440
+
419
441
  async function main() {
420
442
  const { skill, raw } = splitSkillFlag(process.argv.slice(2));
421
443
  const { params, rest } = parseInvocation(raw);
@@ -432,7 +454,7 @@ async function main() {
432
454
  // The invocation stays thin on purpose. Every durable instruction lives in
433
455
  // the repository-local skill, so an interactive run, a scheduled run, and a
434
456
  // recovery run all execute one contract.
435
- const prompt = `$${skill} ${rest}`.trim();
457
+ const prompt = buildInvocation(surface, skill, rest);
436
458
 
437
459
  if (surface === "claude-web") {
438
460
  const { sessionId, url } = await dispatchClaudeWeb(block, prompt, rest);