@codyswann/lisa 2.176.8 → 2.176.10

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 (102) hide show
  1. package/package.json +1 -1
  2. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  3. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  4. package/plugins/lisa/agents/github-agent.md +11 -9
  5. package/plugins/lisa/agents/jira-agent.md +8 -7
  6. package/plugins/lisa/agents/linear-agent.md +7 -6
  7. package/plugins/lisa/rules/eager/pre-flight-autofill.md +65 -0
  8. package/plugins/lisa/rules/reference/base-rules.md +1 -1
  9. package/plugins/lisa/rules/reference/config-resolution.md +2 -2
  10. package/plugins/lisa/rules/reference/pre-flight-autofill.md +142 -0
  11. package/plugins/lisa/skills/github-build-intake/SKILL.md +25 -3
  12. package/plugins/lisa/skills/jira-build-intake/SKILL.md +25 -3
  13. package/plugins/lisa/skills/linear-build-intake/SKILL.md +25 -3
  14. package/plugins/lisa/skills/repair-intake/SKILL.md +5 -2
  15. package/plugins/lisa-agy/agents/github-agent.md +11 -9
  16. package/plugins/lisa-agy/agents/jira-agent.md +8 -7
  17. package/plugins/lisa-agy/agents/linear-agent.md +7 -6
  18. package/plugins/lisa-agy/plugin.json +1 -1
  19. package/plugins/lisa-agy/skills/github-build-intake/SKILL.md +25 -3
  20. package/plugins/lisa-agy/skills/jira-build-intake/SKILL.md +25 -3
  21. package/plugins/lisa-agy/skills/linear-build-intake/SKILL.md +25 -3
  22. package/plugins/lisa-agy/skills/repair-intake/SKILL.md +5 -2
  23. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  24. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  25. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  26. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  27. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  28. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  29. package/plugins/lisa-copilot/agents/github-agent.agent.md +11 -9
  30. package/plugins/lisa-copilot/agents/jira-agent.agent.md +8 -7
  31. package/plugins/lisa-copilot/agents/linear-agent.agent.md +7 -6
  32. package/plugins/lisa-copilot/rules/eager/pre-flight-autofill.md +65 -0
  33. package/plugins/lisa-copilot/rules/reference/base-rules.md +1 -1
  34. package/plugins/lisa-copilot/rules/reference/config-resolution.md +2 -2
  35. package/plugins/lisa-copilot/rules/reference/pre-flight-autofill.md +142 -0
  36. package/plugins/lisa-copilot/skills/github-build-intake/SKILL.md +25 -3
  37. package/plugins/lisa-copilot/skills/jira-build-intake/SKILL.md +25 -3
  38. package/plugins/lisa-copilot/skills/linear-build-intake/SKILL.md +25 -3
  39. package/plugins/lisa-copilot/skills/repair-intake/SKILL.md +5 -2
  40. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  41. package/plugins/lisa-cursor/agents/github-agent.md +11 -9
  42. package/plugins/lisa-cursor/agents/jira-agent.md +8 -7
  43. package/plugins/lisa-cursor/agents/linear-agent.md +7 -6
  44. package/plugins/lisa-cursor/rules/base-rules-reference.mdc +1 -1
  45. package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +2 -2
  46. package/plugins/lisa-cursor/rules/pre-flight-autofill-reference.mdc +147 -0
  47. package/plugins/lisa-cursor/rules/pre-flight-autofill.mdc +70 -0
  48. package/plugins/lisa-cursor/skills/github-build-intake/SKILL.md +25 -3
  49. package/plugins/lisa-cursor/skills/jira-build-intake/SKILL.md +25 -3
  50. package/plugins/lisa-cursor/skills/linear-build-intake/SKILL.md +25 -3
  51. package/plugins/lisa-cursor/skills/repair-intake/SKILL.md +5 -2
  52. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  53. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  54. package/plugins/lisa-expo-agy/plugin.json +1 -1
  55. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  56. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  57. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  58. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  59. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  60. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  61. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  62. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  63. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  64. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  65. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  66. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  67. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  68. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  69. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  70. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  71. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  72. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  73. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  74. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  75. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  76. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  77. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  78. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  79. package/plugins/lisa-rails-agy/plugin.json +1 -1
  80. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  81. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  82. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  83. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  84. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  85. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  86. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  87. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  88. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  89. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  90. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  91. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  92. package/plugins/src/base/agents/github-agent.md +11 -9
  93. package/plugins/src/base/agents/jira-agent.md +8 -7
  94. package/plugins/src/base/agents/linear-agent.md +7 -6
  95. package/plugins/src/base/rules/eager/pre-flight-autofill.md +65 -0
  96. package/plugins/src/base/rules/reference/base-rules.md +1 -1
  97. package/plugins/src/base/rules/reference/config-resolution.md +2 -2
  98. package/plugins/src/base/rules/reference/pre-flight-autofill.md +142 -0
  99. package/plugins/src/base/skills/github-build-intake/SKILL.md +25 -3
  100. package/plugins/src/base/skills/jira-build-intake/SKILL.md +25 -3
  101. package/plugins/src/base/skills/linear-build-intake/SKILL.md +25 -3
  102. package/plugins/src/base/skills/repair-intake/SKILL.md +5 -2
@@ -196,9 +196,31 @@ This is the idempotency lock — a re-entrant cycle's `label: $READY` filter wil
196
196
 
197
197
  If the relabel fails (permission, race), record under "Errors" and skip. **Do not invoke the build flow on an Issue you didn't successfully claim.**
198
198
 
199
- #### 3c. Run the build flow
199
+ #### 3c. Return or run the build delegation
200
+
201
+ After the claim succeeds, the per-Issue build must run under `lisa:linear-agent` (the per-Issue lifecycle agent), but a teammate running this skill must not spawn that named peer itself. Claude teams are flat: only the lead can add a named teammate. Therefore:
202
+
203
+ - If you are the team lead/root agent, spawn or invoke `lisa:linear-agent` with the Issue identifier and wait for its structured result.
204
+ - If you are a teammate, stop this skill's direct work and return a structured `delegation-request` to the lead instead of calling `Agent` with `name` or otherwise spawning `linear-agent` as a named peer.
205
+ - A private anonymous helper is allowed only when the helper is not a roster peer and the `Agent` call omits `name`; it must not replace this `linear-agent` delegation.
206
+
207
+ Return this payload shape to the lead:
208
+
209
+ ```json
210
+ {
211
+ "type": "delegation-request",
212
+ "agent": "linear-agent",
213
+ "workItem": "<ISSUE-ID>",
214
+ "context": {
215
+ "claimedLabel": "$CLAIMED",
216
+ "doneResolution": "Resolve $DONE from the PR base branch per this skill's Workflow resolution section"
217
+ },
218
+ "onSuccess": "Confirm the returned PR is merged, then apply Phase 3d and Phase 3d.1",
219
+ "onBlockedOrError": "Leave the Issue where linear-agent left it and record the surfaced outcome"
220
+ }
221
+ ```
200
222
 
201
- Invoke `lisa:linear-agent` (per-Issue lifecycle agent) with the Issue identifier. `lisa:linear-agent` owns:
223
+ `lisa:linear-agent` owns:
202
224
  - Reading the full Issue graph (`lisa:linear-read-issue`)
203
225
  - Running its own pre-flight quality gate (`lisa:linear-verify`)
204
226
  - Running ticket triage (`lisa:ticket-triage`)
@@ -206,7 +228,7 @@ Invoke `lisa:linear-agent` (per-Issue lifecycle agent) with the Issue identifier
206
228
  - Posting progress comments via `lisa:linear-sync`
207
229
  - Posting evidence via `lisa:linear-evidence`
208
230
 
209
- Wait for the agent to return. Capture its outcome:
231
+ The lead waits for `lisa:linear-agent` to return, then resumes this scanner with the returned outcome:
210
232
  - **Success** — the build flow completed and a PR exists; evidence posted. The PR may already be **merged** or still **open** (auto-merge enabled, awaiting checks/merge). "Success" means the build work is sound — it does **not** assert the change reached an environment. The env transition in 3d gates on the PR actually being merged; an open PR does not advance the Issue to a `done` env status.
211
233
  - **Blocked by linear-verify pre-flight gate** — `lisa:linear-agent` itself relabels to `status:blocked` and assigns to creator. Let it stand. Record and move on.
212
234
  - **Duplicate already fixed** — `lisa:linear-agent` / `lisa:ticket-triage` returned `DUPLICATE_ALREADY_FIXED` with a canonical Issue reference and empirical base-branch evidence. Post the triage finding, ensure the native `duplicates <canonical>` relationship exists when Linear exposes it (otherwise leave an explicit relation/comment reference), apply the terminal `$DONE` label, move the native Issue to the configured canceled-as-duplicate or completed terminal state, and do not open a PR. If the canonical fix is merged but not yet on the production branch, the close comment must say the production error can recur until the canonical Issue promotes and that recurrence is tracked by the canonical Issue; do not reopen this duplicate for that recurrence.
@@ -334,8 +334,11 @@ If the PR is healthy in-flight and no blocker is found, the work simply died mid
334
334
  the vendor build-intake runs**, skipping the claim transition (the item is already `claimed`):
335
335
 
336
336
  1. Dispatch the item to the vendor agent — `lisa:jira-agent` / `lisa:github-agent` /
337
- `lisa:linear-agent` (matching the queue's tracker) — with the item ref. This resumes the work
338
- in place, preserving its existing branch/PR and prior comments.
337
+ `lisa:linear-agent` (matching the queue's tracker) — with the item ref. If repair-intake is
338
+ running as a teammate rather than the lead/root agent, return a structured `delegation-request`
339
+ to the lead instead of spawning that named peer yourself; only the lead can add named teammates
340
+ in Claude's flat roster. This resumes the work in place, preserving its existing branch/PR and
341
+ prior comments.
339
342
  2. **On agent success**, apply the scanner's post-agent transition yourself: `claimed → done`,
340
343
  where `done` is **env-resolved** exactly as `lisa:<tracker>-build-intake` resolves it (per
341
344
  `config-resolution` env-keyed `done`: explicit `target_env` arg wins; else reverse-lookup the