@codyswann/lisa 2.198.0 → 2.198.1
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/package.json +1 -1
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-debrief/SKILL.md +3 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-github-build-intake/SKILL.md +30 -34
- package/plugins/lisa/.codex-plugin/skills/lisa-implement/SKILL.md +6 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-intake/SKILL.md +10 -16
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-build-intake/SKILL.md +28 -32
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-build-intake/SKILL.md +28 -32
- package/plugins/lisa/.codex-plugin/skills/lisa-monitor/SKILL.md +3 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-plan/SKILL.md +6 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-repair-intake/SKILL.md +13 -42
- package/plugins/lisa/.codex-plugin/skills/lisa-research/SKILL.md +3 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-verify/SKILL.md +3 -1
- package/plugins/lisa/agents/github-agent.md +3 -1
- package/plugins/lisa/agents/github-build-intake.md +2 -2
- package/plugins/lisa/agents/jira-agent.md +3 -1
- package/plugins/lisa/agents/jira-build-intake.md +2 -2
- package/plugins/lisa/agents/linear-agent.md +3 -1
- package/plugins/lisa/agents/linear-build-intake.md +2 -2
- package/plugins/lisa/rules/eager/intent-routing.md +2 -2
- package/plugins/lisa/rules/reference/intent-routing.md +4 -4
- package/plugins/lisa/skills/lisa-debrief/SKILL.md +3 -1
- package/plugins/lisa/skills/lisa-github-build-intake/SKILL.md +31 -35
- package/plugins/lisa/skills/lisa-implement/SKILL.md +6 -2
- package/plugins/lisa/skills/lisa-intake/SKILL.md +10 -16
- package/plugins/lisa/skills/lisa-jira-build-intake/SKILL.md +29 -33
- package/plugins/lisa/skills/lisa-linear-build-intake/SKILL.md +29 -33
- package/plugins/lisa/skills/lisa-monitor/SKILL.md +3 -1
- package/plugins/lisa/skills/lisa-plan/SKILL.md +6 -2
- package/plugins/lisa/skills/lisa-repair-intake/SKILL.md +13 -42
- package/plugins/lisa/skills/lisa-research/SKILL.md +3 -1
- package/plugins/lisa/skills/lisa-verify/SKILL.md +3 -1
- package/plugins/lisa-agy/agents/github-agent.md +3 -1
- package/plugins/lisa-agy/agents/github-build-intake.md +2 -2
- package/plugins/lisa-agy/agents/jira-agent.md +3 -1
- package/plugins/lisa-agy/agents/jira-build-intake.md +2 -2
- package/plugins/lisa-agy/agents/linear-agent.md +3 -1
- package/plugins/lisa-agy/agents/linear-build-intake.md +2 -2
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-debrief/SKILL.md +3 -1
- package/plugins/lisa-agy/skills/lisa-github-build-intake/SKILL.md +31 -35
- package/plugins/lisa-agy/skills/lisa-implement/SKILL.md +6 -2
- package/plugins/lisa-agy/skills/lisa-intake/SKILL.md +10 -16
- package/plugins/lisa-agy/skills/lisa-jira-build-intake/SKILL.md +29 -33
- package/plugins/lisa-agy/skills/lisa-linear-build-intake/SKILL.md +29 -33
- package/plugins/lisa-agy/skills/lisa-monitor/SKILL.md +3 -1
- package/plugins/lisa-agy/skills/lisa-plan/SKILL.md +6 -2
- package/plugins/lisa-agy/skills/lisa-repair-intake/SKILL.md +13 -42
- package/plugins/lisa-agy/skills/lisa-research/SKILL.md +3 -1
- package/plugins/lisa-agy/skills/lisa-verify/SKILL.md +3 -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-copilot/agents/github-agent.agent.md +3 -1
- package/plugins/lisa-copilot/agents/github-build-intake.agent.md +2 -2
- package/plugins/lisa-copilot/agents/jira-agent.agent.md +3 -1
- package/plugins/lisa-copilot/agents/jira-build-intake.agent.md +2 -2
- package/plugins/lisa-copilot/agents/linear-agent.agent.md +3 -1
- package/plugins/lisa-copilot/agents/linear-build-intake.agent.md +2 -2
- package/plugins/lisa-copilot/rules/eager/intent-routing.md +2 -2
- package/plugins/lisa-copilot/rules/reference/intent-routing.md +4 -4
- package/plugins/lisa-copilot/skills/lisa-debrief/SKILL.md +3 -1
- package/plugins/lisa-copilot/skills/lisa-github-build-intake/SKILL.md +31 -35
- package/plugins/lisa-copilot/skills/lisa-implement/SKILL.md +6 -2
- package/plugins/lisa-copilot/skills/lisa-intake/SKILL.md +10 -16
- package/plugins/lisa-copilot/skills/lisa-jira-build-intake/SKILL.md +29 -33
- package/plugins/lisa-copilot/skills/lisa-linear-build-intake/SKILL.md +29 -33
- package/plugins/lisa-copilot/skills/lisa-monitor/SKILL.md +3 -1
- package/plugins/lisa-copilot/skills/lisa-plan/SKILL.md +6 -2
- package/plugins/lisa-copilot/skills/lisa-repair-intake/SKILL.md +13 -42
- package/plugins/lisa-copilot/skills/lisa-research/SKILL.md +3 -1
- package/plugins/lisa-copilot/skills/lisa-verify/SKILL.md +3 -1
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/agents/github-agent.md +3 -1
- package/plugins/lisa-cursor/agents/github-build-intake.md +2 -2
- package/plugins/lisa-cursor/agents/jira-agent.md +3 -1
- package/plugins/lisa-cursor/agents/jira-build-intake.md +2 -2
- package/plugins/lisa-cursor/agents/linear-agent.md +3 -1
- package/plugins/lisa-cursor/agents/linear-build-intake.md +2 -2
- package/plugins/lisa-cursor/rules/intent-routing-reference.mdc +4 -4
- package/plugins/lisa-cursor/rules/intent-routing.mdc +2 -2
- package/plugins/lisa-cursor/skills/lisa-debrief/SKILL.md +3 -1
- package/plugins/lisa-cursor/skills/lisa-github-build-intake/SKILL.md +31 -35
- package/plugins/lisa-cursor/skills/lisa-implement/SKILL.md +6 -2
- package/plugins/lisa-cursor/skills/lisa-intake/SKILL.md +10 -16
- package/plugins/lisa-cursor/skills/lisa-jira-build-intake/SKILL.md +29 -33
- package/plugins/lisa-cursor/skills/lisa-linear-build-intake/SKILL.md +29 -33
- package/plugins/lisa-cursor/skills/lisa-monitor/SKILL.md +3 -1
- package/plugins/lisa-cursor/skills/lisa-plan/SKILL.md +6 -2
- package/plugins/lisa-cursor/skills/lisa-repair-intake/SKILL.md +13 -42
- package/plugins/lisa-cursor/skills/lisa-research/SKILL.md +3 -1
- package/plugins/lisa-cursor/skills/lisa-verify/SKILL.md +3 -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/plugins/src/base/agents/github-agent.md +3 -1
- package/plugins/src/base/agents/github-build-intake.md +2 -2
- package/plugins/src/base/agents/jira-agent.md +3 -1
- package/plugins/src/base/agents/jira-build-intake.md +2 -2
- package/plugins/src/base/agents/linear-agent.md +3 -1
- package/plugins/src/base/agents/linear-build-intake.md +2 -2
- package/plugins/src/base/rules/eager/intent-routing.md +2 -2
- package/plugins/src/base/rules/reference/intent-routing.md +4 -4
- package/plugins/src/base/skills/lisa-debrief/SKILL.md +3 -1
- package/plugins/src/base/skills/lisa-github-build-intake/SKILL.md +31 -35
- package/plugins/src/base/skills/lisa-implement/SKILL.md +6 -2
- package/plugins/src/base/skills/lisa-intake/SKILL.md +10 -16
- package/plugins/src/base/skills/lisa-jira-build-intake/SKILL.md +29 -33
- package/plugins/src/base/skills/lisa-linear-build-intake/SKILL.md +29 -33
- package/plugins/src/base/skills/lisa-monitor/SKILL.md +3 -1
- package/plugins/src/base/skills/lisa-plan/SKILL.md +6 -2
- package/plugins/src/base/skills/lisa-repair-intake/SKILL.md +13 -42
- package/plugins/src/base/skills/lisa-research/SKILL.md +3 -1
- package/plugins/src/base/skills/lisa-verify/SKILL.md +3 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: lisa-linear-build-intake
|
|
3
|
-
description: "Symmetric counterpart to lisa-jira-build-intake on the Linear side. Scans a Linear team for Issues carrying the configured `ready` build label, claims the first eligible Issue by relabeling to the configured `claimed` label, runs the implementation/build flow via
|
|
3
|
+
description: "Symmetric counterpart to lisa-jira-build-intake on the Linear side. Scans a Linear team for Issues carrying the configured `ready` build label, claims the first eligible Issue by relabeling to the configured `claimed` label, runs the implementation/build flow via the linear-agent workflow in-session (culminating in lisa-implement), relabels to the configured `done` label on completion, then exits. Enforces the claim-time arm of the `leaf-only-lifecycle` rule: a parent/container with open child work (or a childless Epic) that still carries a stale build-ready label is skipped or safe-blocked with a lifecycle-repair comment, never claimed. The `ready` label is the human-flipped signal that an Issue is truly ready for development — mirroring how Notion PRDs work Draft → Ready → (us) In Review → Blocked|Ticketed."
|
|
4
4
|
allowed-tools: ["Skill", "Bash"]
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -12,7 +12,7 @@ allowed-tools: ["Skill", "Bash"]
|
|
|
12
12
|
2. The literal token `linear` — falls back to `linear.teamKey` from `.lisa.config.json`.
|
|
13
13
|
3. A pre-built Linear MCP filter (advanced) — used as-is.
|
|
14
14
|
|
|
15
|
-
Run one build-intake cycle. The first eligible ready Issue is claimed, built via the `
|
|
15
|
+
Run one build-intake cycle. The first eligible ready Issue is claimed, built via the `linear-agent` workflow run in-session (Phase 3c, culminating in `lisa-implement`), relabeled to the configured `done` label on completion, then the cycle exits. Remaining ready Issues stay queued for later scheduler invocations.
|
|
16
16
|
|
|
17
17
|
This skill is the destination of the `lisa-tracker-build-intake` shim when `tracker = "linear"`.
|
|
18
18
|
|
|
@@ -79,13 +79,13 @@ Reads `linear.workspace`, `linear.teamKey`, and `linear.labels.build.*` from `.l
|
|
|
79
79
|
|
|
80
80
|
## Confirmation policy
|
|
81
81
|
|
|
82
|
-
Do NOT ask the caller whether to proceed. Once invoked with a team key, run the cycle to completion — claim and dispatch the first eligible Issue through
|
|
82
|
+
Do NOT ask the caller whether to proceed. Once invoked with a team key, run the cycle to completion — claim and dispatch the first eligible Issue through the in-session lifecycle (Phase 3c), transition a successful build to `$DONE`, write the summary, and exit. The caller (a human or a cron) has already authorized the run by invoking the skill.
|
|
83
83
|
|
|
84
84
|
Specifically forbidden:
|
|
85
85
|
|
|
86
86
|
- Previewing projected scope (Issue count, projected PR count, build duration) and asking whether to continue.
|
|
87
87
|
- Offering A/B/C-style choices like "proceed / skip a few / dry-run only" — the documented behavior IS the default.
|
|
88
|
-
- Pausing because the queue is large, items look complex, or items are likely to be `status:blocked` by
|
|
88
|
+
- Pausing because the queue is large, items look complex, or items are likely to be `status:blocked` by the pre-flight gate. The pre-flight `status:blocked` outcome is a valid terminal state of the per-Issue lifecycle.
|
|
89
89
|
- Pausing because the build flow looks expensive.
|
|
90
90
|
|
|
91
91
|
The only legitimate reasons to stop early:
|
|
@@ -105,7 +105,7 @@ ready → claimed → review → done(env-keyed) (downstream)
|
|
|
105
105
|
|
|
106
106
|
(Defaults: `status:ready` / `status:in-progress` / `status:code-review` / `status:on-dev`/`status:on-stg`/`status:done`.)
|
|
107
107
|
|
|
108
|
-
This skill ONLY transitions `$READY → $CLAIMED` on claim, and `$CLAIMED → $DONE` on completion. It never touches `status:done`-as-terminal, `$REVIEW` (owned by
|
|
108
|
+
This skill ONLY transitions `$READY → $CLAIMED` on claim, and `$CLAIMED → $DONE` on completion. It never touches `status:done`-as-terminal, `$REVIEW` (owned by the lifecycle / `lisa-linear-evidence`), or `status:blocked` (owned by the pre-flight gate).
|
|
109
109
|
|
|
110
110
|
**Pre-flight check**: at start of each cycle, confirm `$READY`, `$CLAIMED`, and the relevant `$DONE` variants exist on the team via `lisa-linear-access operation: list-issue-labels`. If `$READY` is missing, stop and report adoption needed. The other labels can be created on demand.
|
|
111
111
|
|
|
@@ -147,7 +147,7 @@ A Linear team can oversee multiple repos (`frontend` / `backend` / `infrastructu
|
|
|
147
147
|
|
|
148
148
|
Build intake claims **only independently implementable leaf work units**. This enforces the claim-time arm of the vendor-neutral `leaf-only-lifecycle` rule: a parent/container that still carries a stale build-ready label (e.g. `status:ready` applied before this rule existed, or hand-applied to a Project-grouped parent Issue) is **never claimed** — intake skips it or safe-blocks it with a clear lifecycle-repair message. It is the claim-time complement to the write-time labeling in `lisa-linear-write-issue` and the validate-time S15 gate in `lisa-linear-validate-issue`; all three cite the same rule so the classification never drifts. **Never silently implement a container.**
|
|
149
149
|
|
|
150
|
-
Run this gate **before** the claim relabel, starting with the oldest/highest-priority ready candidate. Do NOT relabel, comment "Claimed", or
|
|
150
|
+
Run this gate **before** the claim relabel, starting with the oldest/highest-priority ready candidate. Do NOT relabel, comment "Claimed", or dispatch the lifecycle for an Issue that fails the gate.
|
|
151
151
|
|
|
152
152
|
**Resolve container vs. leaf — structural first, then nominal.** Per `leaf-only-lifecycle` the classification is structural: an Issue is a **container** if it has **open** child work, whatever its declared type; otherwise the **type label** decides. Resolve child work using the same hierarchy `lisa-linear-read-issue` uses — Linear's native parentage: an Issue groups **sub-issues** via `parentId`, and a **Project** (the Epic equivalent) groups Issues via `projectId`. Relations (`save_issue_relation` — `blocks` / `is blocked by`) express dependencies and are **not** parentage — do not count them as children.
|
|
153
153
|
|
|
@@ -196,43 +196,39 @@ 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.
|
|
199
|
+
#### 3c. Run the per-Issue lifecycle in-session (never as a subagent)
|
|
200
200
|
|
|
201
|
-
After the claim succeeds, the per-Issue
|
|
201
|
+
After the claim succeeds, run the per-Issue lifecycle defined by the `linear-agent` workflow **in the current session** — never by spawning `linear-agent` (or any named worker) via the `Agent` tool. The lifecycle culminates in a team-first flow (`lisa-implement`), and that flow can only create its agent team from the lead session: a spawned teammate cannot add named teammates (Claude teams are flat), so dispatching the build into a subagent strands `lisa-implement` without its team and collapses the build into a single inline worker. Concretely:
|
|
202
202
|
|
|
203
|
-
|
|
204
|
-
-
|
|
205
|
-
-
|
|
203
|
+
1. **Run the gates in-session** via their skills, exactly as `linear-agent.md` defines them and with all of its gating behaviors intact:
|
|
204
|
+
- `lisa-linear-read-issue` — the full Issue graph (mandatory; never ad-hoc reads)
|
|
205
|
+
- `lisa-linear-verify` — pre-flight quality gate, including the draft-then-block procedure on FAIL
|
|
206
|
+
- `lisa-ticket-triage` — analytical triage gate (a `BLOCKED` verdict stops the cycle with findings posted)
|
|
207
|
+
- Intent determination from the type label
|
|
208
|
+
2. **Dispatch the flow in-session:** when the gates pass, invoke the lifecycle skill via the Skill tool — `lisa-implement <ISSUE-ID>` for Build / Fix / Improve / Investigate-Only (or `lisa-plan` for an Epic-equivalent) — passing the full context bundle from the read step. `lisa-implement`'s own orchestration preamble then creates the per-item agent team (input-resolver, Roster Decision, specialist fanout) exactly as a direct invocation would.
|
|
209
|
+
3. **Milestone sync and evidence** (`lisa-linear-sync`, `lisa-linear-evidence`) happen at the milestones the `linear-agent` workflow defines, within the dispatched flow.
|
|
206
210
|
|
|
207
|
-
Return this payload
|
|
211
|
+
If you are somehow running this skill as a spawned teammate inside an existing team (nested misrouting — Intake keeps this chain in the lead session), do NOT run the lifecycle inline and do NOT spawn named peers. Return this payload to the lead so the lead session can run this Phase 3c in-session:
|
|
208
212
|
|
|
209
213
|
```json
|
|
210
214
|
{
|
|
211
215
|
"type": "delegation-request",
|
|
212
|
-
"
|
|
216
|
+
"phase": "linear-build-intake 3c",
|
|
213
217
|
"workItem": "<ISSUE-ID>",
|
|
214
218
|
"context": {
|
|
215
219
|
"claimedLabel": "$CLAIMED",
|
|
216
220
|
"doneResolution": "Resolve $DONE from the PR base branch per this skill's Workflow resolution section"
|
|
217
221
|
},
|
|
218
222
|
"onSuccess": "Confirm the returned PR is merged, then apply Phase 3d and Phase 3d.1",
|
|
219
|
-
"onBlockedOrError": "Leave the Issue where
|
|
223
|
+
"onBlockedOrError": "Leave the Issue where the lifecycle left it and record the surfaced outcome"
|
|
220
224
|
}
|
|
221
225
|
```
|
|
222
226
|
|
|
223
|
-
|
|
224
|
-
- Reading the full Issue graph (`lisa-linear-read-issue`)
|
|
225
|
-
- Running its own pre-flight quality gate (`lisa-linear-verify`)
|
|
226
|
-
- Running ticket triage (`lisa-ticket-triage`)
|
|
227
|
-
- Routing to the appropriate flow (Build / Fix / Investigate / Improve based on type)
|
|
228
|
-
- Posting progress comments via `lisa-linear-sync`
|
|
229
|
-
- Posting evidence via `lisa-linear-evidence`
|
|
230
|
-
|
|
231
|
-
The lead waits for `lisa-linear-agent` to return, then resumes this scanner with the returned outcome:
|
|
227
|
+
The lifecycle run returns one of the following outcomes; resume this scanner with it:
|
|
232
228
|
- **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.
|
|
233
|
-
- **Blocked by linear-verify pre-flight gate** —
|
|
234
|
-
- **Duplicate already fixed** — `lisa-
|
|
235
|
-
- **Blocked by ticket-triage ambiguities** —
|
|
229
|
+
- **Blocked by linear-verify pre-flight gate** — the pre-flight gate (linear-agent workflow step 2) relabels to `status:blocked` and assigns to creator. Let it stand. Record and move on.
|
|
230
|
+
- **Duplicate already fixed** — `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.
|
|
231
|
+
- **Blocked by ticket-triage ambiguities** — triage posts findings and the lifecycle stops. The Issue stays at `$CLAIMED`. Surface to human; do not auto-transition. Record under "Errors".
|
|
236
232
|
- **Errored** — exception, missing config, etc. Leave at `$CLAIMED`. Record with exception summary.
|
|
237
233
|
|
|
238
234
|
#### 3c.1 Close duplicate already fixed
|
|
@@ -254,7 +250,7 @@ This path is distinct from `BLOCKED`: ambiguity, open blockers, and duplicate-of
|
|
|
254
250
|
|
|
255
251
|
A `done` env state (`status:on-dev`, `status:on-stg`, or the terminal value) asserts that the code has actually reached that environment. Never set it for a PR that is merely open: auto-merge can be blocked indefinitely (a required rebase / `BEHIND` branch, failing checks, an unaddressed review), and the change may never land. Relabeling an Issue `status:on-stg` on an open PR makes it *claim* a deploy that never happened. Transition only after confirming the PR merged.
|
|
256
252
|
|
|
257
|
-
If
|
|
253
|
+
If the lifecycle run returned Success:
|
|
258
254
|
1. **Confirm the PR merged.** Read the live state of the Issue's PR — `gh pr view <pr> --json state,mergedAt,mergeStateStatus,url`:
|
|
259
255
|
- **Merged** (`state == MERGED`) → proceed to resolve and apply `$DONE` below. Where the env deploy is observable (a deploy workflow run / deployment status keyed to the merged-into branch via `deploy.branches`), confirm it did not fail before relabeling; a still-running deploy is treated like an open PR (leave at `$CLAIMED`), a failed deploy is recorded as an Error.
|
|
260
256
|
- **Open / not yet merged** → do **not** transition. The build is sound but the change has reached no environment yet. Record the Issue under **"PR open — awaiting merge"** in the summary (with the PR URL and its `mergeStateStatus`), leave it at `$CLAIMED`, and stop. A later `lisa-repair-intake` cycle drives the open PR to merge — re-syncing a `BEHIND` branch so the already-enabled auto-merge can land, or surfacing a real blocker — and, once merged, applies this same env transition. Do **not** comment "Build complete" or change the native state.
|
|
@@ -268,7 +264,7 @@ If `lisa-linear-agent` returned Success:
|
|
|
268
264
|
5. If `$DONE` is terminal, move the native Linear Issue state to the configured Done / Completed state. Resolve that state from project configuration if present; otherwise inspect the team workflow for a terminal state with `state.type = "completed"` and a name such as `Done` or `Completed`. If no terminal state can be resolved, record an Error and leave the labels as the source of truth — do not invent a state name.
|
|
269
265
|
6. Post a `[claude-build-intake]` comment: `"Build complete. PR <URL> merged. Transitioned to $DONE."` Include whether native closure was applied, already satisfied, skipped for an intermediate env, or unavailable for setup reasons.
|
|
270
266
|
|
|
271
|
-
For any non-Success outcome, do NOT transition. The Issue sits where the
|
|
267
|
+
For any non-Success outcome, do NOT transition. The Issue sits where the lifecycle left it — humans take it from there.
|
|
272
268
|
|
|
273
269
|
#### 3d.1 Roll up the parent chain (forward rollup)
|
|
274
270
|
|
|
@@ -315,8 +311,8 @@ Total PRs opened: <n>
|
|
|
315
311
|
## Idempotency & safety
|
|
316
312
|
|
|
317
313
|
- **Leaf-only claim gate runs first**: Phase 3a classifies each candidate before any claim; a container with open child work (or a childless Epic) is skipped/safe-blocked, never claimed (the `leaf-only-lifecycle` rule's claim-time arm). The safe-block comment is idempotent — a re-entrant cycle does not re-post it.
|
|
318
|
-
- **Claim-first ordering**: `$CLAIMED` set BEFORE
|
|
319
|
-
- **No writes outside the lifecycle**: this skill only adds/removes `$READY`, `$CLAIMED`, `$DONE`, plus terminal-only native state completion required by `leaf-only-lifecycle`. Every other label change (and non-terminal native state change) is owned by the
|
|
314
|
+
- **Claim-first ordering**: `$CLAIMED` set BEFORE the lifecycle dispatch — no double-pickup.
|
|
315
|
+
- **No writes outside the lifecycle**: this skill only adds/removes `$READY`, `$CLAIMED`, `$DONE`, plus terminal-only native state completion required by `leaf-only-lifecycle`. Every other label change (and non-terminal native state change) is owned by the per-Issue lifecycle or `lisa-linear-evidence`.
|
|
320
316
|
- **Duplicate terminal exception**: `DUPLICATE_ALREADY_FIXED` is the only triage outcome that may close a claimed Issue without a PR from this cycle. It must include a canonical Issue reference and empirical base-branch evidence, and it closes through the configured duplicate/canceled terminal path rather than as completed build work.
|
|
321
317
|
- **Terminal native closure**: after the `$DONE` label is applied, move the Linear Issue to a native completed state only when `$DONE` is the true terminal done value; intermediate env labels stay open / active.
|
|
322
318
|
- **One item per cycle**: per-Issue exceptions are caught and recorded, then the cycle exits. The scheduler owns retrying or moving on to the next ready item.
|
|
@@ -338,9 +334,9 @@ If the team hasn't adopted these labels, the first run exits with an adoption hi
|
|
|
338
334
|
|
|
339
335
|
- **Claim leaves only.** Per the `leaf-only-lifecycle` rule, never claim a container — an Issue with open child work, or a childless Epic — even if it carries the build-ready label. Skip or safe-block it (Phase 3a); never silently implement a container.
|
|
340
336
|
- Never relabel an Issue the cycle didn't claim. The `$CLAIMED` transition is the signature of cycle ownership.
|
|
341
|
-
- Never
|
|
337
|
+
- Never do build work directly from this scanner — the per-Issue lifecycle (the `linear-agent` workflow culminating in `lisa-implement`) owns it. And never spawn that lifecycle as a subagent; run it in-session per Phase 3c so `lisa-implement` can create its agent team.
|
|
342
338
|
- Never auto-transition past `$DONE`. Downstream labels are owned by QA / product / a future verification-intake skill.
|
|
343
339
|
- Never move the native Linear state to Done / Completed for intermediate env states (`status:on-dev`, `status:on-stg`, or configured equivalents). Native completion happens only at the terminal `done` value.
|
|
344
|
-
- If the Issue has no Validation Journey or no sign-in credentials in its description,
|
|
345
|
-
- On any unexpected
|
|
340
|
+
- If the Issue has no Validation Journey or no sign-in credentials in its description, the pre-flight verify gate will catch it and relabel to `status:blocked` — don't try to fix the Issue from here.
|
|
341
|
+
- On any unexpected outcome from the lifecycle run (label it doesn't claim, missing PR URL on success, etc.), record as Error and surface — never assume.
|
|
346
342
|
- Never pick an arbitrary env for `$DONE` resolution. If `done` is a map and env is ambiguous, fail loudly.
|
|
@@ -17,7 +17,9 @@ Spot-check application health, **audit observability completeness**, and **file
|
|
|
17
17
|
|
|
18
18
|
## Orchestration: agent team
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
You are "inside an agent team" only if you are yourself a spawned teammate or subagent — you were spawned into a team context, or your context names a team lead you report to. A lead/root session that has previously spawned subagents is still the lead and retains full authority to create this flow's team.
|
|
21
|
+
|
|
22
|
+
If you are NOT inside an agent team by that definition, the very first thing you do is establish team orchestration.
|
|
21
23
|
|
|
22
24
|
Use the team tool for the current runtime:
|
|
23
25
|
|
|
@@ -10,7 +10,9 @@ Decompose the PRD/spec at `$ARGUMENTS` into ordered work items with acceptance c
|
|
|
10
10
|
|
|
11
11
|
## Orchestration: agent team
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
You are "inside an agent team" only if you are yourself a spawned teammate or subagent — you were spawned into a team context, or your context names a team lead you report to. A lead/root session that has previously spawned subagents is still the lead: prior `Agent` calls in the session (e.g., an Intake cycle's bounded scan helpers) do NOT make this a nested flow, and the lead retains full authority to create this flow's team.
|
|
14
|
+
|
|
15
|
+
If you are NOT inside an agent team by that definition, the very first thing you do is establish team orchestration.
|
|
14
16
|
|
|
15
17
|
Use the team tool for the current runtime:
|
|
16
18
|
|
|
@@ -22,7 +24,9 @@ If no team creation or subagent delegation tool is available, explicitly state t
|
|
|
22
24
|
|
|
23
25
|
Until the team is established, the first Codex teammate has been spawned, or the no-team fallback has been declared, do NOT call any of: `TaskCreate`, `Skill`, MCP tools (Atlassian / Linear / GitHub / Notion), `Read`, `Write`, `Edit`, `Bash`, `Grep`, `Glob`. The initial Claude `Agent` spawn described above is the only pre-team exception because it establishes the team. Reading the PRD, exploring the code, fetching context — all of those are tasks for the team you are about to create, not for the lead session before orchestration exists.
|
|
24
26
|
|
|
25
|
-
|
|
27
|
+
Note that `lisa-intake` dispatching this skill is NOT the nested case: Intake is a thin dispatcher that creates no team of its own and invokes this skill via the Skill tool in the lead session precisely so this preamble fires — treat an Intake dispatch exactly like a direct invocation and run the full team-first flow above.
|
|
28
|
+
|
|
29
|
+
If you ARE already inside an agent team by the definition above (you are a teammate that was handed this skill via the Skill tool from within another flow's team), do NOT create a second team — many harnesses reject double-creates — and do NOT collapse the nested flow into a single inline worker. A nested team-first flow must still bring in the specialists it requires by adding them to the existing team, not by doing the work itself:
|
|
26
30
|
|
|
27
31
|
- **Claude:** teams are flat and only the lead can add named teammates, so do NOT call `Agent` with a `name` from a teammate (the harness rejects it: *"Teammates cannot spawn other teammates — the team roster is flat"*). Send the team lead a message naming the specialist teammate(s) this flow needs, their task assignments, and completion criteria, then coordinate through the shared task list until they finish. An anonymous subagent (`Agent` with `name` omitted) is permitted only for bounded one-shot work whose result returns directly to you — it is not a substitute for the required lifecycle specialists.
|
|
28
32
|
- **Codex:** do NOT call `TeamCreate`. If the lead/root agent is addressable (you were given its id/handle), send it a request to `multi_agent_v1.spawn_agent` the specialist agent(s), including each agent's prompt, ownership, and expected result. If no lead handle exists but `spawn_agent` is available to you, spawn only the bounded specialist agent(s) this flow needs, `wait_agent` for their results, and relay those results upward to the parent/lead.
|
|
@@ -112,48 +112,19 @@ The only legitimate reasons to stop early:
|
|
|
112
112
|
- No stuck/close-out candidates, or none actionable this cycle. Exit cleanly with the idle-case
|
|
113
113
|
summary.
|
|
114
114
|
|
|
115
|
-
## Orchestration:
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
with a query like `multi-agent tools` to load `multi_agent_v1`, then use
|
|
129
|
-
`multi_agent_v1.spawn_agent` for teammate delegation. Treat the first successful `spawn_agent`
|
|
130
|
-
call as establishing team orchestration.
|
|
131
|
-
- Other runtimes: use the current runtime's tool-discovery mechanism to discover and call the
|
|
132
|
-
appropriate multi-agent/team tool.
|
|
133
|
-
|
|
134
|
-
If no team creation or subagent delegation tool is available, explicitly state that team
|
|
135
|
-
orchestration is unavailable in this runtime, continue as the lead agent, and preserve the
|
|
136
|
-
workflow's review, verification, and task-tracking obligations locally.
|
|
137
|
-
|
|
138
|
-
Until the team is established, the first Codex teammate has been spawned, or the no-team
|
|
139
|
-
fallback has been declared, do NOT call any of: `TaskCreate`, `Skill`, MCP tools
|
|
140
|
-
(Atlassian / Linear / GitHub / Notion), `Read`, `Write`, `Edit`, `Bash`, `Grep`, `Glob`.
|
|
141
|
-
The initial Claude `Agent` spawn described above is the only pre-team exception because it
|
|
142
|
-
establishes the team.
|
|
143
|
-
Scanning the queue, evaluating staleness, and dispatching per-item repairs — all of those are
|
|
144
|
-
tasks for the team you are about to create, not for the lead session before orchestration
|
|
145
|
-
exists.
|
|
146
|
-
|
|
147
|
-
If you ARE already inside an agent team (e.g., a teammate invoked this skill via the Skill
|
|
148
|
-
tool), do NOT create a second team — many harnesses reject double-creates — and do NOT collapse the nested flow into a single inline worker. A nested team-first flow must still bring in the specialists it requires by adding them to the existing team, not by doing the work itself:
|
|
149
|
-
|
|
150
|
-
- **Claude:** teams are flat and only the lead can add named teammates, so do NOT call `Agent` with a `name` from a teammate (the harness rejects it: *"Teammates cannot spawn other teammates — the team roster is flat"*). Send the team lead a message naming the specialist teammate(s) this flow needs, their task assignments, and completion criteria, then coordinate through the shared task list until they finish. An anonymous subagent (`Agent` with `name` omitted) is permitted only for bounded one-shot work whose result returns directly to you — it is not a substitute for the required lifecycle specialists.
|
|
151
|
-
- **Codex:** do NOT call `TeamCreate`. If the lead/root agent is addressable (you were given its id/handle), send it a request to `multi_agent_v1.spawn_agent` the specialist agent(s), including each agent's prompt, ownership, and expected result. If no lead handle exists but `spawn_agent` is available to you, spawn only the bounded specialist agent(s) this flow needs, `wait_agent` for their results, and relay those results upward to the parent/lead.
|
|
152
|
-
|
|
153
|
-
Treat the first successful lead-spawn request (or, on the Codex fallback, the first specialist spawn) as preserving team orchestration. Never satisfy a team-first lifecycle flow by doing all the work inline. The cycle's outer team is created by repair-intake. Each per-item repair it runs
|
|
154
|
-
(`lisa:<source>-to-tracker` for a PRD, `lisa:<tracker>-agent` for a build item) executes within
|
|
155
|
-
the same team — those skills' orchestration preambles detect the existing team and skip creating
|
|
156
|
-
a second one. One team per cron cycle.
|
|
115
|
+
## Orchestration: thin dispatcher (no team of its own)
|
|
116
|
+
|
|
117
|
+
Repair-intake follows the same orchestration contract as `lisa-intake`: it creates NO agent team and spawns NO named teammates. It is a bounded scanner/dispatcher — resolve the queue, evaluate staleness, pick the actionable candidates, and run each repair in the current session.
|
|
118
|
+
|
|
119
|
+
The reasoning is the same as Intake's: a repair that resumes stalled build work may culminate in a team-first lifecycle skill (`lisa-implement`, `lisa-plan`), and those skills can only create their agent team from the lead session — a spawned teammate cannot add named teammates (Claude teams are flat), so pushing the repair into a subagent strands the lifecycle skill without its team and collapses it into a single inline worker. Therefore:
|
|
120
|
+
|
|
121
|
+
- **Scanning, staleness evaluation, and per-item repairs run inline in this session** (Bash / MCP / vendor skills via the Skill tool — `lisa-<source>-to-tracker` for a PRD, the `<tracker>-agent` workflow's gate skills for a build item).
|
|
122
|
+
- **Any repair that dispatches a lifecycle flow does so via the Skill tool in this same session — never an `Agent` spawn** — so the lifecycle skill's team-first preamble fires exactly as a direct invocation would.
|
|
123
|
+
- The only permissible `Agent` use is a bounded **anonymous** helper (`Agent` with `name` omitted) for scan-side legwork whose result returns directly to this session.
|
|
124
|
+
|
|
125
|
+
Codex: the same contract applies — run the scan inline in the root session and invoke any lifecycle skill there so it can `multi_agent_v1.spawn_agent` its own team; do not `spawn_agent` the lifecycle flow itself. Other runtimes: apply the same rule through their equivalent delegation surface; if the runtime has no team/subagent tooling at all, the lifecycle skill's own no-team fallback handles it.
|
|
126
|
+
|
|
127
|
+
If a teammate inside an existing team somehow invokes this skill (it is a session entry point, not a nested flow), do not scan or repair from there: return a structured `delegation-request` to the team lead asking it to run the repair cycle in the lead session, and surface the misrouting.
|
|
157
128
|
|
|
158
129
|
## Source dispatch
|
|
159
130
|
|
|
@@ -25,7 +25,9 @@ Produce a PRD for the problem in `$ARGUMENTS`, then create it in the configured
|
|
|
25
25
|
|
|
26
26
|
## Orchestration: agent team
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
You are "inside an agent team" only if you are yourself a spawned teammate or subagent — you were spawned into a team context, or your context names a team lead you report to. A lead/root session that has previously spawned subagents is still the lead and retains full authority to create this flow's team.
|
|
29
|
+
|
|
30
|
+
If you are NOT inside an agent team by that definition, the very first thing you do is establish team orchestration.
|
|
29
31
|
|
|
30
32
|
Use the team tool for the current runtime:
|
|
31
33
|
|
|
@@ -10,7 +10,9 @@ Ship the current branch and prove it works in the target environment.
|
|
|
10
10
|
|
|
11
11
|
## Orchestration: agent team
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
You are "inside an agent team" only if you are yourself a spawned teammate or subagent — you were spawned into a team context, or your context names a team lead you report to. A lead/root session that has previously spawned subagents is still the lead and retains full authority to create this flow's team.
|
|
14
|
+
|
|
15
|
+
If you are NOT inside an agent team by that definition, the very first thing you do is establish team orchestration.
|
|
14
16
|
|
|
15
17
|
Use the team tool for the current runtime:
|
|
16
18
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.198.
|
|
3
|
+
"version": "2.198.1",
|
|
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.198.
|
|
3
|
+
"version": "2.198.1",
|
|
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.198.
|
|
3
|
+
"version": "2.198.1",
|
|
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.198.
|
|
3
|
+
"version": "2.198.1",
|
|
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.198.
|
|
3
|
+
"version": "2.198.1",
|
|
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"
|