@codyswann/lisa 5.12.0 → 5.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +29 -8
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/package.json +4 -4
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/lisa/agents/spec-conformance-specialist.md +1 -1
- package/plugins/lisa/agents/verification-specialist.md +1 -1
- package/plugins/lisa/rules/reference/base-rules.md +10 -8
- package/plugins/lisa/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/lisa/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/lisa/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/lisa/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/lisa-agy/agents/spec-conformance-specialist.md +1 -1
- package/plugins/lisa-agy/agents/verification-specialist.md +1 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/lisa-agy/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/lisa-agy/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/lisa-agy/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa-agy/skills/lisa-tracker-journey/SKILL.md +1 -0
- 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-cdk-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/agents/spec-conformance-specialist.agent.md +1 -1
- package/plugins/lisa-copilot/agents/verification-specialist.agent.md +1 -1
- package/plugins/lisa-copilot/rules/reference/base-rules.md +10 -8
- package/plugins/lisa-copilot/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/lisa-copilot/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/lisa-copilot/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/lisa-copilot/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa-copilot/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/agents/spec-conformance-specialist.md +1 -1
- package/plugins/lisa-cursor/agents/verification-specialist.md +1 -1
- package/plugins/lisa-cursor/rules/base-rules-reference.mdc +10 -8
- package/plugins/lisa-cursor/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/lisa-cursor/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/lisa-cursor/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/lisa-cursor/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa-cursor/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/agents/spec-conformance-specialist.md +1 -1
- package/plugins/lisa-devin/agents/verification-specialist.md +1 -1
- package/plugins/lisa-devin/rules/reference/base-rules.md +10 -8
- package/plugins/lisa-devin/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/lisa-devin/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/lisa-devin/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/lisa-devin/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa-devin/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/skills/journey-guidance/SKILL.md +77 -0
- package/plugins/lisa-expo/.codex-plugin/skills/journey-guidance/agents/openai.yaml +4 -0
- package/plugins/lisa-expo/skills/journey-guidance/SKILL.md +75 -0
- package/plugins/lisa-expo/skills/journey-guidance/agents/openai.yaml +4 -0
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-agy/skills/journey-guidance/SKILL.md +75 -0
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/skills/journey-guidance/SKILL.md +75 -0
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/skills/journey-guidance/SKILL.md +75 -0
- package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/skills/journey-guidance/SKILL.md +75 -0
- 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-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.devin-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-nestjs-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.devin-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-phaser-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.devin-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/.codex-plugin/skills/journey-guidance/SKILL.md +39 -0
- package/plugins/lisa-rails/.codex-plugin/skills/journey-guidance/agents/openai.yaml +4 -0
- package/plugins/lisa-rails/skills/journey-guidance/SKILL.md +37 -0
- package/plugins/lisa-rails/skills/journey-guidance/agents/openai.yaml +4 -0
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-agy/skills/journey-guidance/SKILL.md +37 -0
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/skills/journey-guidance/SKILL.md +37 -0
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/skills/journey-guidance/SKILL.md +37 -0
- package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/skills/journey-guidance/SKILL.md +37 -0
- 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-typescript-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.devin-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/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/src/base/agents/spec-conformance-specialist.md +1 -1
- package/plugins/src/base/agents/verification-specialist.md +1 -1
- package/plugins/src/base/rules/reference/base-rules.md +10 -8
- package/plugins/src/base/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/src/base/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/src/base/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/src/base/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/src/base/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/src/expo/skills/journey-guidance/SKILL.md +75 -0
- package/plugins/src/rails/skills/journey-guidance/SKILL.md +37 -0
package/package.json
CHANGED
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
"qs": "^6.16.0"
|
|
189
189
|
},
|
|
190
190
|
"name": "@codyswann/lisa",
|
|
191
|
-
"version": "5.
|
|
191
|
+
"version": "5.13.0",
|
|
192
192
|
"description": "Governance-as-code for AI coding agents: turns a repository into agent-operated software factories with guardrails, guidance and automated enforcement for Claude Code, Codex, Cursor, OpenCode, Antigravity, Copilot and Devin",
|
|
193
193
|
"main": "dist/index.js",
|
|
194
194
|
"exports": {
|
|
@@ -351,7 +351,7 @@
|
|
|
351
351
|
"test": "tests"
|
|
352
352
|
},
|
|
353
353
|
"types": "./dist/index.d.ts",
|
|
354
|
-
"lisaReleaseCommit": "
|
|
355
|
-
"gitHead": "
|
|
356
|
-
"lisaReleaseTag": "v5.
|
|
354
|
+
"lisaReleaseCommit": "cfa0948495455e1d1e828c28f48a44d37aca3db5",
|
|
355
|
+
"gitHead": "cfa0948495455e1d1e828c28f48a44d37aca3db5",
|
|
356
|
+
"lisaReleaseTag": "v5.13.0"
|
|
357
357
|
}
|
|
@@ -8,7 +8,7 @@ Check a ticket before implementation: find ambiguities, edge cases, how to verif
|
|
|
8
8
|
|
|
9
9
|
# Ticket Triage: $ARGUMENTS
|
|
10
10
|
|
|
11
|
-
Perform analytical triage on the ticket. The caller MUST have run `lisa-tracker-read` (or its vendor-specific underlying skill — `lisa-jira-read-ticket` for JIRA, `lisa-github-read-issue` for GitHub) first and provided the resulting context bundle — which includes the primary ticket, all linked tickets (blocks / is blocked by / relates to / duplicates), parent (Epic in JIRA, parent sub-issue in GitHub), siblings, sub-tasks / sub-issues, and remote PR state. Do not triage from a bare ticket summary — if the bundle is missing link or parent context, stop and instruct the caller to run `/tracker-read` first.
|
|
11
|
+
Perform analytical triage on the ticket. The caller MUST have run `lisa-tracker-read` (or its vendor-specific underlying skill — `lisa-jira-read-ticket` for JIRA, `lisa-github-read-issue` for GitHub, `lisa-linear-read-issue` for Linear) first and provided the resulting context bundle — which includes the primary ticket, all linked tickets (blocks / is blocked by / relates to / duplicates), parent (Epic in JIRA, parent sub-issue in GitHub, parent Project or parent Issue in Linear), siblings, sub-tasks / sub-issues, and remote PR state. Do not triage from a bare ticket summary — if the bundle is missing link or parent context, stop and instruct the caller to run `/tracker-read` first.
|
|
12
12
|
|
|
13
13
|
Repository name for scoped labels and comment headers: determine via `basename $(git rev-parse --show-toplevel)`.
|
|
14
14
|
|
|
@@ -16,7 +16,7 @@ Repository name for scoped labels and comment headers: determine via `basename $
|
|
|
16
16
|
|
|
17
17
|
Before any analytical work, confirm the ticket carries the content an implementer needs to start. The caller should already have run `lisa-tracker-verify`; this phase consumes its output. If `lisa-tracker-verify` returned `FAIL` for any of the following, emit `BLOCKED` immediately with the missing-requirements list and skip to Phase 6:
|
|
18
18
|
|
|
19
|
-
- Parent missing (Epic parent for JIRA non-bug-non-epic; parent sub-issue for GitHub non-bug-non-epic)
|
|
19
|
+
- Parent missing (Epic parent for JIRA non-bug-non-epic; parent sub-issue for GitHub non-bug-non-epic; parent Project — or parent Issue for a sub-Issue — for Linear non-bug-non-epic)
|
|
20
20
|
- Description quality failures (no Gherkin acceptance criteria, missing audience sections)
|
|
21
21
|
- Validation Journey missing on a runtime-behavior ticket
|
|
22
22
|
- Target backend environment missing on a runtime-behavior ticket
|
|
@@ -25,7 +25,7 @@ Before any analytical work, confirm the ticket carries the content an implemente
|
|
|
25
25
|
|
|
26
26
|
Single-repo scope is handled separately — see below.
|
|
27
27
|
|
|
28
|
-
The caller (jira-agent or
|
|
28
|
+
The caller (jira-agent, github-agent, or linear-agent) is responsible for moving the ticket to the configured `blocked` lifecycle role — the `Blocked` status in JIRA, the `status:blocked` label in GitHub, the configured `blocked` workflow state in Linear — reassigning to the **Reporter / original author**, and posting a comment listing the missing requirements. This skill only emits the verdict and the missing-requirements list.
|
|
29
29
|
|
|
30
30
|
**Single-repo scope is split, not blocked.** A cross-repo leaf work unit (Bug / Task / Sub-task / Improvement spanning repos) is a decomposition error the agent owns, not a terminal BLOCKED. Do not emit BLOCKED for it. The caller runs the **work-time split procedure** in the `repo-scope-split` rule (narrow the original to one repo, spin off a sibling per additional repo, link the producer→consumer dependency), then re-runs `tracker-verify` and re-enters triage on the now single-repo ticket. Only fall back to BLOCKED if the split is ambiguous (see "When to block instead of split" in that rule).
|
|
31
31
|
|
|
@@ -172,7 +172,7 @@ Evaluate the findings and produce exactly one verdict:
|
|
|
172
172
|
|
|
173
173
|
- **`NOT_RELEVANT`** -- No relevant code was found in this repository (Phase 1). The caller should add the triage label and skip implementation in this repo.
|
|
174
174
|
- **`DUPLICATE_ALREADY_FIXED`** -- This ticket duplicates canonical work whose fix is already merged/deployed and empirically confirmed present on the relevant base branch. Work MUST NOT proceed. The caller must post the triage finding, ensure the native `duplicates <canonical>` link exists when the tracker supports one, and return the structured canonical reference/evidence to build intake for terminal duplicate closeout.
|
|
175
|
-
- **`BLOCKED`** -- Blocking conditions were found in Phase 0 (missing required description content), Phase 1.5 (open blockers, duplicate-of-open), and/or Phase 3 (ambiguities). Work MUST NOT proceed until resolved by a human. When the block is from Phase 0, the caller (jira-agent) MUST
|
|
175
|
+
- **`BLOCKED`** -- Blocking conditions were found in Phase 0 (missing required description content), Phase 1.5 (open blockers, duplicate-of-open), and/or Phase 3 (ambiguities). Work MUST NOT proceed until resolved by a human. When the block is from Phase 0, the caller (jira-agent, github-agent, or linear-agent) MUST move the ticket to the configured `blocked` lifecycle role and reassign to the Reporter — not just leave it in place. For Phase 1.5 / Phase 3 blocks, post findings, add the triage label, and STOP.
|
|
176
176
|
- **`PASSED_WITH_FINDINGS`** -- No ambiguities, but edge cases or verification findings were identified. Work can proceed. The caller should post findings and add the triage label.
|
|
177
177
|
- **`PASSED`** -- No ambiguities, edge cases, or verification gaps found. Work can proceed. The caller should add the triage label.
|
|
178
178
|
|
|
@@ -209,8 +209,8 @@ Structure all output with clear section headers so the caller can parse and post
|
|
|
209
209
|
```
|
|
210
210
|
|
|
211
211
|
The caller is responsible for:
|
|
212
|
-
1. Posting the findings as comments on the ticket
|
|
212
|
+
1. Posting the findings as comments on the ticket with the configured tracker's comment mechanism — the vendor agent's triage step owns it: jira-agent for JIRA, github-agent (`gh issue comment`) for GitHub, linear-agent (`lisa-linear-access`) for Linear
|
|
213
213
|
2. Adding the `claude-triaged-{repo}` label to the ticket
|
|
214
|
-
3. If `BLOCKED` due to Phase 0 (missing required description content):
|
|
214
|
+
3. If `BLOCKED` due to Phase 0 (missing required description content): moving the ticket to the configured `blocked` lifecycle role, reassigning to the **Reporter**, posting a comment listing the missing requirements, and stopping all work.
|
|
215
215
|
4. If `DUPLICATE_ALREADY_FIXED`: return the canonical ticket reference and empirical base-branch evidence to build intake so it can close the ticket as a terminal duplicate without opening a PR.
|
|
216
216
|
5. If `BLOCKED` due to Phase 1.5 (open blockers, duplicate-of-open) or Phase 3 (ambiguities): stopping all work and reporting to the human; do NOT auto-transition status in these cases.
|
|
@@ -15,6 +15,7 @@ See the `config-resolution` rule for configuration and dispatch table.
|
|
|
15
15
|
## Workflow
|
|
16
16
|
|
|
17
17
|
1. Resolve tracker config (same logic as `lisa-tracker-write`).
|
|
18
|
+
Then, when an installed stack plugin ships a `journey-guidance` skill (the Expo and Rails plugins do), invoke it and carry its guidance — when a ticket needs a journey and how to write its steps, markers, viewports, and assertions — into the vendor skill below. It is tracker-neutral, so it applies to `jira`, `github`, and `linear` alike. When no stack plugin ships one, continue with the base behaviour; that is not an error.
|
|
18
19
|
2. Dispatch:
|
|
19
20
|
- Missing / empty → stop and report `"No tracker configured in .lisa.config.json. Run /lisa:setup:jira, /lisa:setup:github, or /lisa:setup:linear first."`
|
|
20
21
|
- `jira` → invoke `lisa-jira-add-journey` with `$ARGUMENTS` verbatim. Arg: a JIRA ticket key.
|
|
@@ -15,6 +15,7 @@ See the `config-resolution` rule for configuration and dispatch table.
|
|
|
15
15
|
## Workflow
|
|
16
16
|
|
|
17
17
|
1. Resolve tracker config (same logic as `lisa-tracker-write`).
|
|
18
|
+
Then, when an installed stack plugin ships a `journey-guidance` skill (the Expo and Rails plugins do), invoke it and carry its guidance — which planned tickets need a Validation Journey and how to draft it, plus stack reuse expectations — into the vendor skill below. It is tracker-neutral, so it applies to `jira`, `github`, and `linear` alike. When no stack plugin ships one, continue with the base behaviour; that is not an error.
|
|
18
19
|
2. Dispatch:
|
|
19
20
|
- Missing / empty → stop and report `"No tracker configured in .lisa.config.json. Run /lisa:setup:jira, /lisa:setup:github, or /lisa:setup:linear first."`
|
|
20
21
|
- `jira` → invoke `lisa-jira-create` with `$ARGUMENTS` verbatim.
|
|
@@ -22,6 +22,7 @@ or publishing completion proof. It ships with the skill even on runtimes that
|
|
|
22
22
|
omit the plugin rules tree; do not assume a runtime-specific rules directory.
|
|
23
23
|
|
|
24
24
|
1. Resolve tracker config (same logic as `lisa-tracker-write`).
|
|
25
|
+
Then, when an installed stack plugin ships a `journey-guidance` skill (the Expo and Rails plugins do), invoke it and carry its guidance — how the stack names its evidence files — into the vendor skill below. It is tracker-neutral, so it applies to `jira`, `github`, and `linear` alike. When no stack plugin ships one, continue with the base behaviour; that is not an error.
|
|
25
26
|
2. Missing / empty → stop and report `"No tracker configured in .lisa.config.json. Run /lisa:setup:jira, /lisa:setup:github, or /lisa:setup:linear first."`
|
|
26
27
|
3. Before dispatching, update the generated evidence artifact through `lisa-usage-accounting` so the comment body / PR evidence section carries a direct `lisa-verify` usage entry in the canonical `## Lisa Usage` section. If the originating work item's parentage or child refs are already known, prefer `record_and_rollup` so ancestor totals refresh in the same write; otherwise still write the direct entry, and if trustworthy runtime usage is unavailable, write `source: unavailable` with nullable token/cost fields instead of skipping the row.
|
|
27
28
|
4. Dispatch:
|
|
@@ -15,6 +15,7 @@ See the `config-resolution` rule for configuration and dispatch table.
|
|
|
15
15
|
## Workflow
|
|
16
16
|
|
|
17
17
|
1. Resolve tracker config (same logic as `lisa-tracker-write`).
|
|
18
|
+
Then, when an installed stack plugin ships a `journey-guidance` skill (the Expo and Rails plugins do), invoke it and carry its guidance — how to satisfy prerequisites, run the steps (for example, once per viewport), and name the captured evidence — into the vendor skill below. It is tracker-neutral, so it applies to `jira`, `github`, and `linear` alike. When no stack plugin ships one, continue with the base behaviour; that is not an error.
|
|
18
19
|
2. Dispatch:
|
|
19
20
|
- Missing / empty → stop and report `"No tracker configured in .lisa.config.json. Run /lisa:setup:jira, /lisa:setup:github, or /lisa:setup:linear first."`
|
|
20
21
|
- `jira` → invoke `lisa-jira-journey` with `$ARGUMENTS` verbatim. Arg shape: `<TICKET_ID> [PR_NUMBER]`.
|
|
@@ -3,7 +3,7 @@ name: spec-conformance-specialist
|
|
|
3
3
|
description: "Checks that shipped work matches its spec — acceptance criteria, Out of Scope, technical approach, journey, deliverables — with a coverage matrix, scope creep flagged separately, and a CONFORMS / PARTIAL / DIVERGES verdict."
|
|
4
4
|
skills:
|
|
5
5
|
- spec-conformance
|
|
6
|
-
-
|
|
6
|
+
- tracker-read
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Spec Conformance Specialist Agent
|
|
@@ -46,21 +46,23 @@ Testing Discipline:
|
|
|
46
46
|
- Never lower thresholds to pass a pre-push hook. Increase test coverage to make it pass.
|
|
47
47
|
- Never duplicate test helper functions without appropriate lint suppression when duplication is intentional for test isolation.
|
|
48
48
|
|
|
49
|
-
|
|
50
|
-
-
|
|
51
|
-
- If working on a
|
|
52
|
-
-
|
|
53
|
-
- When
|
|
54
|
-
-
|
|
49
|
+
Tracker Discipline:
|
|
50
|
+
These rules apply whichever tracker the project uses — the `tracker` in `.lisa.config.json` (`jira`, `github`, or `linear`). Route the vendor mechanics through the tracker dispatch skills — `lisa-tracker-read` to read, `lisa-tracker-write` to create or edit, `lisa-tracker-sync` to post progress — rather than calling one vendor's tools from generic work. The Jira-specific commands below are the Jira case only.
|
|
51
|
+
- If working on a ticket, make sure the branch you're working on references it and is attached to it (`lisa-tracker-sync` posts the branch and PR links).
|
|
52
|
+
- If working on a ticket, update it as you work through it. For example, if working on a Bug Triage, update the ticket with your questions/feedback/suggestions.
|
|
53
|
+
- When reading a ticket, always read ALL comments — not just the description. Comments contain critical context: stakeholder decisions, scope changes, blockers, triage findings from other repos, and implementation notes. `lisa-tracker-read` fetches the complete comment collection for every tracker (GitHub through the paginated comments endpoint, Linear by paging `list-comments` to exhaustion) and reports when it could not read them all.
|
|
54
|
+
- Jira case: use the Atlassian MCP, or first resolve the project root from `$CLAUDE_PROJECT_DIR` or `git rev-parse --show-toplevel`. When `$PROJECT_ROOT/.lisa/jira-cli/.config.yml` exists, run both `jira --config "$PROJECT_ROOT/.lisa/jira-cli/.config.yml" issue view <TICKET_ID>` and `jira --config "$PROJECT_ROOT/.lisa/jira-cli/.config.yml" issue comment list <TICKET_ID>`; the dedicated comment-list command returns the complete comment collection instead of a fixed recent-comment window. If that project config is absent, omit `--config` from both commands to use the machine's own `~/.config/.jira/.config.yml`.
|
|
55
|
+
- When requesting clarification on a ticket, post the question as a comment and @mention the reporter (the GitHub issue author, the Linear creator, the Jira Reporter) so they receive a notification. Jira case: write the comment in ADF (Atlassian Document Format) so the mention resolves.
|
|
56
|
+
- When creating tickets, establish relationship links (e.g. "is blocked by", "blocks", "relates to", "is duplicated by") between tickets that have dependencies or logical connections, using the tracker's native relations — Jira issue links, GitHub sub-issues and issue references, Linear relations. Do not leave related tickets unlinked. Relationship discovery is mandatory on every create and update — search BOTH the local git history (`git log --all --grep=<keyword>`, `git log -- <path>`) AND the tracker (Jira: JQL by component, keyword, label, epic siblings; GitHub: `gh issue list --search`; Linear: issue search by keyword, label, project) before declaring "no related work." Record the searches you ran and their outcomes in the description (or a comment) so a reviewer can see the search was real.
|
|
55
57
|
- Ticket scope by type: Bug, Task, and Sub-task tickets MUST be single-repo (one work unit, one repo). Epic, Spike, and Story tickets MAY span multiple repos. If a Bug/Task/Sub-task crosses repos, split it per the `repo-scope-split` rule — at PRD-decomposition time via `task-decomposition` step 1.5 (parent Story + per-repo children); at work-time (an existing ticket an agent is about to implement) via the work-time split procedure (narrow the original to one repo, spin off a sibling per additional repo cloning its metadata, link the producer→consumer dependency, then proceed). A cross-repo work unit is a decomposition error the agent fixes by splitting, not a reason to bounce the ticket to the reporter.
|
|
56
58
|
- Ticket descriptions MUST contain everything an implementer needs to start work without asking the reporter. In particular:
|
|
57
59
|
- **Target backend environment** (`dev` / `staging` / `prod`) when the ticket has runtime behavior. QA/product report against a deployed env; the implementer verifies locally first against that backend before CI/CD. Skip only for doc-only, config-only, type-only, test-only, or Epic tickets (the closed no-runtime reason set shared with `NO_RUNTIME_REASONS` in `scripts/lib/completion-proof-shape.mjs`).
|
|
58
60
|
- **Sign-in account / credentials** when the work requires being signed in. Name the account (or the source — 1Password item, env var, seeded fixture) and the role. Omit entirely when sign-in is not required.
|
|
59
61
|
- **Gherkin acceptance criteria** (Given/When/Then) so the implementer can verify behavior without guessing.
|
|
60
|
-
- **Relationship discovery evidence** — either an issue link to a related ticket, or a documented search showing none was found (see Relationship Discovery in
|
|
62
|
+
- **Relationship discovery evidence** — either an issue link to a related ticket, or a documented search showing none was found (see Relationship Discovery in the vendor write skill `lisa-tracker-write` dispatches to).
|
|
61
63
|
- Ticket metadata MUST include an **epic parent** for non-bug, non-epic tickets so every Story/Task/Sub-task is traceable to a strategic goal.
|
|
62
64
|
- Pre-flight gate before starting work on any ticket: if the description is missing target backend environment (when applicable), sign-in credentials (when applicable), Gherkin acceptance criteria, epic parent (non-bug/non-epic), or relationship discovery evidence, first **draft** the authorable missing sections into the ticket as clearly-labeled assumptions (the `pre-flight-autofill` draft-then-block procedure — the agent writes spec, never code, here), then transition the ticket to Blocked, reassign to the **Reporter**, and post a **confirmation** comment asking them to confirm the drafted assumptions (not a bare "go write all this" checklist). Do not start work. This is the one place where auto-transitioning status is allowed.
|
|
63
|
-
- When checking for associated pull requests on a
|
|
65
|
+
- When checking for associated pull requests on a ticket, check the tracker's own record of linked development work — not just comments or description text. `lisa-tracker-read` returns the linked PRs for every tracker (GitHub: PRs referenced from the issue and its `Resolves`/`Closes`/`Fixes` links; Linear: PR attachments on the issue). Jira case: check the **Development panel**, which shows PRs, commits, branches, and builds linked via the GitHub-Jira integration. Query it via the dev-status API:
|
|
64
66
|
```bash
|
|
65
67
|
ISSUE_ID=$(curl -s -u "${JIRA_LOGIN}:${JIRA_API_TOKEN}" \
|
|
66
68
|
"${JIRA_SERVER}/rest/api/2/issue/${TICKET_ID}?fields=id" | jq -r '.id')
|
|
@@ -6,7 +6,7 @@ allowed-tools: ["Read", "Glob", "Grep", "Bash"]
|
|
|
6
6
|
|
|
7
7
|
# Ticket Triage: $ARGUMENTS
|
|
8
8
|
|
|
9
|
-
Perform analytical triage on the ticket. The caller MUST have run `lisa-tracker-read` (or its vendor-specific underlying skill — `lisa-jira-read-ticket` for JIRA, `lisa-github-read-issue` for GitHub) first and provided the resulting context bundle — which includes the primary ticket, all linked tickets (blocks / is blocked by / relates to / duplicates), parent (Epic in JIRA, parent sub-issue in GitHub), siblings, sub-tasks / sub-issues, and remote PR state. Do not triage from a bare ticket summary — if the bundle is missing link or parent context, stop and instruct the caller to run `/tracker-read` first.
|
|
9
|
+
Perform analytical triage on the ticket. The caller MUST have run `lisa-tracker-read` (or its vendor-specific underlying skill — `lisa-jira-read-ticket` for JIRA, `lisa-github-read-issue` for GitHub, `lisa-linear-read-issue` for Linear) first and provided the resulting context bundle — which includes the primary ticket, all linked tickets (blocks / is blocked by / relates to / duplicates), parent (Epic in JIRA, parent sub-issue in GitHub, parent Project or parent Issue in Linear), siblings, sub-tasks / sub-issues, and remote PR state. Do not triage from a bare ticket summary — if the bundle is missing link or parent context, stop and instruct the caller to run `/tracker-read` first.
|
|
10
10
|
|
|
11
11
|
Repository name for scoped labels and comment headers: determine via `basename $(git rev-parse --show-toplevel)`.
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ Repository name for scoped labels and comment headers: determine via `basename $
|
|
|
14
14
|
|
|
15
15
|
Before any analytical work, confirm the ticket carries the content an implementer needs to start. The caller should already have run `lisa-tracker-verify`; this phase consumes its output. If `lisa-tracker-verify` returned `FAIL` for any of the following, emit `BLOCKED` immediately with the missing-requirements list and skip to Phase 6:
|
|
16
16
|
|
|
17
|
-
- Parent missing (Epic parent for JIRA non-bug-non-epic; parent sub-issue for GitHub non-bug-non-epic)
|
|
17
|
+
- Parent missing (Epic parent for JIRA non-bug-non-epic; parent sub-issue for GitHub non-bug-non-epic; parent Project — or parent Issue for a sub-Issue — for Linear non-bug-non-epic)
|
|
18
18
|
- Description quality failures (no Gherkin acceptance criteria, missing audience sections)
|
|
19
19
|
- Validation Journey missing on a runtime-behavior ticket
|
|
20
20
|
- Target backend environment missing on a runtime-behavior ticket
|
|
@@ -23,7 +23,7 @@ Before any analytical work, confirm the ticket carries the content an implemente
|
|
|
23
23
|
|
|
24
24
|
Single-repo scope is handled separately — see below.
|
|
25
25
|
|
|
26
|
-
The caller (jira-agent or
|
|
26
|
+
The caller (jira-agent, github-agent, or linear-agent) is responsible for moving the ticket to the configured `blocked` lifecycle role — the `Blocked` status in JIRA, the `status:blocked` label in GitHub, the configured `blocked` workflow state in Linear — reassigning to the **Reporter / original author**, and posting a comment listing the missing requirements. This skill only emits the verdict and the missing-requirements list.
|
|
27
27
|
|
|
28
28
|
**Single-repo scope is split, not blocked.** A cross-repo leaf work unit (Bug / Task / Sub-task / Improvement spanning repos) is a decomposition error the agent owns, not a terminal BLOCKED. Do not emit BLOCKED for it. The caller runs the **work-time split procedure** in the `repo-scope-split` rule (narrow the original to one repo, spin off a sibling per additional repo, link the producer→consumer dependency), then re-runs `tracker-verify` and re-enters triage on the now single-repo ticket. Only fall back to BLOCKED if the split is ambiguous (see "When to block instead of split" in that rule).
|
|
29
29
|
|
|
@@ -170,7 +170,7 @@ Evaluate the findings and produce exactly one verdict:
|
|
|
170
170
|
|
|
171
171
|
- **`NOT_RELEVANT`** -- No relevant code was found in this repository (Phase 1). The caller should add the triage label and skip implementation in this repo.
|
|
172
172
|
- **`DUPLICATE_ALREADY_FIXED`** -- This ticket duplicates canonical work whose fix is already merged/deployed and empirically confirmed present on the relevant base branch. Work MUST NOT proceed. The caller must post the triage finding, ensure the native `duplicates <canonical>` link exists when the tracker supports one, and return the structured canonical reference/evidence to build intake for terminal duplicate closeout.
|
|
173
|
-
- **`BLOCKED`** -- Blocking conditions were found in Phase 0 (missing required description content), Phase 1.5 (open blockers, duplicate-of-open), and/or Phase 3 (ambiguities). Work MUST NOT proceed until resolved by a human. When the block is from Phase 0, the caller (jira-agent) MUST
|
|
173
|
+
- **`BLOCKED`** -- Blocking conditions were found in Phase 0 (missing required description content), Phase 1.5 (open blockers, duplicate-of-open), and/or Phase 3 (ambiguities). Work MUST NOT proceed until resolved by a human. When the block is from Phase 0, the caller (jira-agent, github-agent, or linear-agent) MUST move the ticket to the configured `blocked` lifecycle role and reassign to the Reporter — not just leave it in place. For Phase 1.5 / Phase 3 blocks, post findings, add the triage label, and STOP.
|
|
174
174
|
- **`PASSED_WITH_FINDINGS`** -- No ambiguities, but edge cases or verification findings were identified. Work can proceed. The caller should post findings and add the triage label.
|
|
175
175
|
- **`PASSED`** -- No ambiguities, edge cases, or verification gaps found. Work can proceed. The caller should add the triage label.
|
|
176
176
|
|
|
@@ -207,8 +207,8 @@ Structure all output with clear section headers so the caller can parse and post
|
|
|
207
207
|
```
|
|
208
208
|
|
|
209
209
|
The caller is responsible for:
|
|
210
|
-
1. Posting the findings as comments on the ticket
|
|
210
|
+
1. Posting the findings as comments on the ticket with the configured tracker's comment mechanism — the vendor agent's triage step owns it: jira-agent for JIRA, github-agent (`gh issue comment`) for GitHub, linear-agent (`lisa-linear-access`) for Linear
|
|
211
211
|
2. Adding the `claude-triaged-{repo}` label to the ticket
|
|
212
|
-
3. If `BLOCKED` due to Phase 0 (missing required description content):
|
|
212
|
+
3. If `BLOCKED` due to Phase 0 (missing required description content): moving the ticket to the configured `blocked` lifecycle role, reassigning to the **Reporter**, posting a comment listing the missing requirements, and stopping all work.
|
|
213
213
|
4. If `DUPLICATE_ALREADY_FIXED`: return the canonical ticket reference and empirical base-branch evidence to build intake so it can close the ticket as a terminal duplicate without opening a PR.
|
|
214
214
|
5. If `BLOCKED` due to Phase 1.5 (open blockers, duplicate-of-open) or Phase 3 (ambiguities): stopping all work and reporting to the human; do NOT auto-transition status in these cases.
|
|
@@ -13,6 +13,7 @@ See the `config-resolution` rule for configuration and dispatch table.
|
|
|
13
13
|
## Workflow
|
|
14
14
|
|
|
15
15
|
1. Resolve tracker config (same logic as `lisa-tracker-write`).
|
|
16
|
+
Then, when an installed stack plugin ships a `journey-guidance` skill (the Expo and Rails plugins do), invoke it and carry its guidance — when a ticket needs a journey and how to write its steps, markers, viewports, and assertions — into the vendor skill below. It is tracker-neutral, so it applies to `jira`, `github`, and `linear` alike. When no stack plugin ships one, continue with the base behaviour; that is not an error.
|
|
16
17
|
2. Dispatch:
|
|
17
18
|
- Missing / empty → stop and report `"No tracker configured in .lisa.config.json. Run /lisa:setup:jira, /lisa:setup:github, or /lisa:setup:linear first."`
|
|
18
19
|
- `jira` → invoke `lisa-jira-add-journey` with `$ARGUMENTS` verbatim. Arg: a JIRA ticket key.
|
|
@@ -13,6 +13,7 @@ See the `config-resolution` rule for configuration and dispatch table.
|
|
|
13
13
|
## Workflow
|
|
14
14
|
|
|
15
15
|
1. Resolve tracker config (same logic as `lisa-tracker-write`).
|
|
16
|
+
Then, when an installed stack plugin ships a `journey-guidance` skill (the Expo and Rails plugins do), invoke it and carry its guidance — which planned tickets need a Validation Journey and how to draft it, plus stack reuse expectations — into the vendor skill below. It is tracker-neutral, so it applies to `jira`, `github`, and `linear` alike. When no stack plugin ships one, continue with the base behaviour; that is not an error.
|
|
16
17
|
2. Dispatch:
|
|
17
18
|
- Missing / empty → stop and report `"No tracker configured in .lisa.config.json. Run /lisa:setup:jira, /lisa:setup:github, or /lisa:setup:linear first."`
|
|
18
19
|
- `jira` → invoke `lisa-jira-create` with `$ARGUMENTS` verbatim.
|
|
@@ -20,6 +20,7 @@ or publishing completion proof. It ships with the skill even on runtimes that
|
|
|
20
20
|
omit the plugin rules tree; do not assume a runtime-specific rules directory.
|
|
21
21
|
|
|
22
22
|
1. Resolve tracker config (same logic as `lisa-tracker-write`).
|
|
23
|
+
Then, when an installed stack plugin ships a `journey-guidance` skill (the Expo and Rails plugins do), invoke it and carry its guidance — how the stack names its evidence files — into the vendor skill below. It is tracker-neutral, so it applies to `jira`, `github`, and `linear` alike. When no stack plugin ships one, continue with the base behaviour; that is not an error.
|
|
23
24
|
2. Missing / empty → stop and report `"No tracker configured in .lisa.config.json. Run /lisa:setup:jira, /lisa:setup:github, or /lisa:setup:linear first."`
|
|
24
25
|
3. Before dispatching, update the generated evidence artifact through `lisa-usage-accounting` so the comment body / PR evidence section carries a direct `lisa-verify` usage entry in the canonical `## Lisa Usage` section. If the originating work item's parentage or child refs are already known, prefer `record_and_rollup` so ancestor totals refresh in the same write; otherwise still write the direct entry, and if trustworthy runtime usage is unavailable, write `source: unavailable` with nullable token/cost fields instead of skipping the row.
|
|
25
26
|
4. Dispatch:
|
|
@@ -13,6 +13,7 @@ See the `config-resolution` rule for configuration and dispatch table.
|
|
|
13
13
|
## Workflow
|
|
14
14
|
|
|
15
15
|
1. Resolve tracker config (same logic as `lisa-tracker-write`).
|
|
16
|
+
Then, when an installed stack plugin ships a `journey-guidance` skill (the Expo and Rails plugins do), invoke it and carry its guidance — how to satisfy prerequisites, run the steps (for example, once per viewport), and name the captured evidence — into the vendor skill below. It is tracker-neutral, so it applies to `jira`, `github`, and `linear` alike. When no stack plugin ships one, continue with the base behaviour; that is not an error.
|
|
16
17
|
2. Dispatch:
|
|
17
18
|
- Missing / empty → stop and report `"No tracker configured in .lisa.config.json. Run /lisa:setup:jira, /lisa:setup:github, or /lisa:setup:linear first."`
|
|
18
19
|
- `jira` → invoke `lisa-jira-journey` with `$ARGUMENTS` verbatim. Arg shape: `<TICKET_ID> [PR_NUMBER]`.
|
|
@@ -3,7 +3,7 @@ name: spec-conformance-specialist
|
|
|
3
3
|
description: "Checks that shipped work matches its spec — acceptance criteria, Out of Scope, technical approach, journey, deliverables — with a coverage matrix, scope creep flagged separately, and a CONFORMS / PARTIAL / DIVERGES verdict."
|
|
4
4
|
skills:
|
|
5
5
|
- spec-conformance
|
|
6
|
-
-
|
|
6
|
+
- tracker-read
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Spec Conformance Specialist Agent
|
|
@@ -6,7 +6,7 @@ allowed-tools: ["Read", "Glob", "Grep", "Bash"]
|
|
|
6
6
|
|
|
7
7
|
# Ticket Triage: $ARGUMENTS
|
|
8
8
|
|
|
9
|
-
Perform analytical triage on the ticket. The caller MUST have run `lisa-tracker-read` (or its vendor-specific underlying skill — `lisa-jira-read-ticket` for JIRA, `lisa-github-read-issue` for GitHub) first and provided the resulting context bundle — which includes the primary ticket, all linked tickets (blocks / is blocked by / relates to / duplicates), parent (Epic in JIRA, parent sub-issue in GitHub), siblings, sub-tasks / sub-issues, and remote PR state. Do not triage from a bare ticket summary — if the bundle is missing link or parent context, stop and instruct the caller to run `/tracker-read` first.
|
|
9
|
+
Perform analytical triage on the ticket. The caller MUST have run `lisa-tracker-read` (or its vendor-specific underlying skill — `lisa-jira-read-ticket` for JIRA, `lisa-github-read-issue` for GitHub, `lisa-linear-read-issue` for Linear) first and provided the resulting context bundle — which includes the primary ticket, all linked tickets (blocks / is blocked by / relates to / duplicates), parent (Epic in JIRA, parent sub-issue in GitHub, parent Project or parent Issue in Linear), siblings, sub-tasks / sub-issues, and remote PR state. Do not triage from a bare ticket summary — if the bundle is missing link or parent context, stop and instruct the caller to run `/tracker-read` first.
|
|
10
10
|
|
|
11
11
|
Repository name for scoped labels and comment headers: determine via `basename $(git rev-parse --show-toplevel)`.
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ Repository name for scoped labels and comment headers: determine via `basename $
|
|
|
14
14
|
|
|
15
15
|
Before any analytical work, confirm the ticket carries the content an implementer needs to start. The caller should already have run `lisa-tracker-verify`; this phase consumes its output. If `lisa-tracker-verify` returned `FAIL` for any of the following, emit `BLOCKED` immediately with the missing-requirements list and skip to Phase 6:
|
|
16
16
|
|
|
17
|
-
- Parent missing (Epic parent for JIRA non-bug-non-epic; parent sub-issue for GitHub non-bug-non-epic)
|
|
17
|
+
- Parent missing (Epic parent for JIRA non-bug-non-epic; parent sub-issue for GitHub non-bug-non-epic; parent Project — or parent Issue for a sub-Issue — for Linear non-bug-non-epic)
|
|
18
18
|
- Description quality failures (no Gherkin acceptance criteria, missing audience sections)
|
|
19
19
|
- Validation Journey missing on a runtime-behavior ticket
|
|
20
20
|
- Target backend environment missing on a runtime-behavior ticket
|
|
@@ -23,7 +23,7 @@ Before any analytical work, confirm the ticket carries the content an implemente
|
|
|
23
23
|
|
|
24
24
|
Single-repo scope is handled separately — see below.
|
|
25
25
|
|
|
26
|
-
The caller (jira-agent or
|
|
26
|
+
The caller (jira-agent, github-agent, or linear-agent) is responsible for moving the ticket to the configured `blocked` lifecycle role — the `Blocked` status in JIRA, the `status:blocked` label in GitHub, the configured `blocked` workflow state in Linear — reassigning to the **Reporter / original author**, and posting a comment listing the missing requirements. This skill only emits the verdict and the missing-requirements list.
|
|
27
27
|
|
|
28
28
|
**Single-repo scope is split, not blocked.** A cross-repo leaf work unit (Bug / Task / Sub-task / Improvement spanning repos) is a decomposition error the agent owns, not a terminal BLOCKED. Do not emit BLOCKED for it. The caller runs the **work-time split procedure** in the `repo-scope-split` rule (narrow the original to one repo, spin off a sibling per additional repo, link the producer→consumer dependency), then re-runs `tracker-verify` and re-enters triage on the now single-repo ticket. Only fall back to BLOCKED if the split is ambiguous (see "When to block instead of split" in that rule).
|
|
29
29
|
|
|
@@ -170,7 +170,7 @@ Evaluate the findings and produce exactly one verdict:
|
|
|
170
170
|
|
|
171
171
|
- **`NOT_RELEVANT`** -- No relevant code was found in this repository (Phase 1). The caller should add the triage label and skip implementation in this repo.
|
|
172
172
|
- **`DUPLICATE_ALREADY_FIXED`** -- This ticket duplicates canonical work whose fix is already merged/deployed and empirically confirmed present on the relevant base branch. Work MUST NOT proceed. The caller must post the triage finding, ensure the native `duplicates <canonical>` link exists when the tracker supports one, and return the structured canonical reference/evidence to build intake for terminal duplicate closeout.
|
|
173
|
-
- **`BLOCKED`** -- Blocking conditions were found in Phase 0 (missing required description content), Phase 1.5 (open blockers, duplicate-of-open), and/or Phase 3 (ambiguities). Work MUST NOT proceed until resolved by a human. When the block is from Phase 0, the caller (jira-agent) MUST
|
|
173
|
+
- **`BLOCKED`** -- Blocking conditions were found in Phase 0 (missing required description content), Phase 1.5 (open blockers, duplicate-of-open), and/or Phase 3 (ambiguities). Work MUST NOT proceed until resolved by a human. When the block is from Phase 0, the caller (jira-agent, github-agent, or linear-agent) MUST move the ticket to the configured `blocked` lifecycle role and reassign to the Reporter — not just leave it in place. For Phase 1.5 / Phase 3 blocks, post findings, add the triage label, and STOP.
|
|
174
174
|
- **`PASSED_WITH_FINDINGS`** -- No ambiguities, but edge cases or verification findings were identified. Work can proceed. The caller should post findings and add the triage label.
|
|
175
175
|
- **`PASSED`** -- No ambiguities, edge cases, or verification gaps found. Work can proceed. The caller should add the triage label.
|
|
176
176
|
|
|
@@ -207,8 +207,8 @@ Structure all output with clear section headers so the caller can parse and post
|
|
|
207
207
|
```
|
|
208
208
|
|
|
209
209
|
The caller is responsible for:
|
|
210
|
-
1. Posting the findings as comments on the ticket
|
|
210
|
+
1. Posting the findings as comments on the ticket with the configured tracker's comment mechanism — the vendor agent's triage step owns it: jira-agent for JIRA, github-agent (`gh issue comment`) for GitHub, linear-agent (`lisa-linear-access`) for Linear
|
|
211
211
|
2. Adding the `claude-triaged-{repo}` label to the ticket
|
|
212
|
-
3. If `BLOCKED` due to Phase 0 (missing required description content):
|
|
212
|
+
3. If `BLOCKED` due to Phase 0 (missing required description content): moving the ticket to the configured `blocked` lifecycle role, reassigning to the **Reporter**, posting a comment listing the missing requirements, and stopping all work.
|
|
213
213
|
4. If `DUPLICATE_ALREADY_FIXED`: return the canonical ticket reference and empirical base-branch evidence to build intake so it can close the ticket as a terminal duplicate without opening a PR.
|
|
214
214
|
5. If `BLOCKED` due to Phase 1.5 (open blockers, duplicate-of-open) or Phase 3 (ambiguities): stopping all work and reporting to the human; do NOT auto-transition status in these cases.
|
|
@@ -13,6 +13,7 @@ See the `config-resolution` rule for configuration and dispatch table.
|
|
|
13
13
|
## Workflow
|
|
14
14
|
|
|
15
15
|
1. Resolve tracker config (same logic as `lisa-tracker-write`).
|
|
16
|
+
Then, when an installed stack plugin ships a `journey-guidance` skill (the Expo and Rails plugins do), invoke it and carry its guidance — when a ticket needs a journey and how to write its steps, markers, viewports, and assertions — into the vendor skill below. It is tracker-neutral, so it applies to `jira`, `github`, and `linear` alike. When no stack plugin ships one, continue with the base behaviour; that is not an error.
|
|
16
17
|
2. Dispatch:
|
|
17
18
|
- Missing / empty → stop and report `"No tracker configured in .lisa.config.json. Run /lisa:setup:jira, /lisa:setup:github, or /lisa:setup:linear first."`
|
|
18
19
|
- `jira` → invoke `lisa-jira-add-journey` with `$ARGUMENTS` verbatim. Arg: a JIRA ticket key.
|
|
@@ -13,6 +13,7 @@ See the `config-resolution` rule for configuration and dispatch table.
|
|
|
13
13
|
## Workflow
|
|
14
14
|
|
|
15
15
|
1. Resolve tracker config (same logic as `lisa-tracker-write`).
|
|
16
|
+
Then, when an installed stack plugin ships a `journey-guidance` skill (the Expo and Rails plugins do), invoke it and carry its guidance — which planned tickets need a Validation Journey and how to draft it, plus stack reuse expectations — into the vendor skill below. It is tracker-neutral, so it applies to `jira`, `github`, and `linear` alike. When no stack plugin ships one, continue with the base behaviour; that is not an error.
|
|
16
17
|
2. Dispatch:
|
|
17
18
|
- Missing / empty → stop and report `"No tracker configured in .lisa.config.json. Run /lisa:setup:jira, /lisa:setup:github, or /lisa:setup:linear first."`
|
|
18
19
|
- `jira` → invoke `lisa-jira-create` with `$ARGUMENTS` verbatim.
|
|
@@ -20,6 +20,7 @@ or publishing completion proof. It ships with the skill even on runtimes that
|
|
|
20
20
|
omit the plugin rules tree; do not assume a runtime-specific rules directory.
|
|
21
21
|
|
|
22
22
|
1. Resolve tracker config (same logic as `lisa-tracker-write`).
|
|
23
|
+
Then, when an installed stack plugin ships a `journey-guidance` skill (the Expo and Rails plugins do), invoke it and carry its guidance — how the stack names its evidence files — into the vendor skill below. It is tracker-neutral, so it applies to `jira`, `github`, and `linear` alike. When no stack plugin ships one, continue with the base behaviour; that is not an error.
|
|
23
24
|
2. Missing / empty → stop and report `"No tracker configured in .lisa.config.json. Run /lisa:setup:jira, /lisa:setup:github, or /lisa:setup:linear first."`
|
|
24
25
|
3. Before dispatching, update the generated evidence artifact through `lisa-usage-accounting` so the comment body / PR evidence section carries a direct `lisa-verify` usage entry in the canonical `## Lisa Usage` section. If the originating work item's parentage or child refs are already known, prefer `record_and_rollup` so ancestor totals refresh in the same write; otherwise still write the direct entry, and if trustworthy runtime usage is unavailable, write `source: unavailable` with nullable token/cost fields instead of skipping the row.
|
|
25
26
|
4. Dispatch:
|
|
@@ -13,6 +13,7 @@ See the `config-resolution` rule for configuration and dispatch table.
|
|
|
13
13
|
## Workflow
|
|
14
14
|
|
|
15
15
|
1. Resolve tracker config (same logic as `lisa-tracker-write`).
|
|
16
|
+
Then, when an installed stack plugin ships a `journey-guidance` skill (the Expo and Rails plugins do), invoke it and carry its guidance — how to satisfy prerequisites, run the steps (for example, once per viewport), and name the captured evidence — into the vendor skill below. It is tracker-neutral, so it applies to `jira`, `github`, and `linear` alike. When no stack plugin ships one, continue with the base behaviour; that is not an error.
|
|
16
17
|
2. Dispatch:
|
|
17
18
|
- Missing / empty → stop and report `"No tracker configured in .lisa.config.json. Run /lisa:setup:jira, /lisa:setup:github, or /lisa:setup:linear first."`
|
|
18
19
|
- `jira` → invoke `lisa-jira-journey` with `$ARGUMENTS` verbatim. Arg shape: `<TICKET_ID> [PR_NUMBER]`.
|
|
@@ -3,7 +3,7 @@ name: spec-conformance-specialist
|
|
|
3
3
|
description: "Checks that shipped work matches its spec — acceptance criteria, Out of Scope, technical approach, journey, deliverables — with a coverage matrix, scope creep flagged separately, and a CONFORMS / PARTIAL / DIVERGES verdict."
|
|
4
4
|
skills:
|
|
5
5
|
- spec-conformance
|
|
6
|
-
-
|
|
6
|
+
- tracker-read
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Spec Conformance Specialist Agent
|
|
@@ -46,21 +46,23 @@ Testing Discipline:
|
|
|
46
46
|
- Never lower thresholds to pass a pre-push hook. Increase test coverage to make it pass.
|
|
47
47
|
- Never duplicate test helper functions without appropriate lint suppression when duplication is intentional for test isolation.
|
|
48
48
|
|
|
49
|
-
|
|
50
|
-
-
|
|
51
|
-
- If working on a
|
|
52
|
-
-
|
|
53
|
-
- When
|
|
54
|
-
-
|
|
49
|
+
Tracker Discipline:
|
|
50
|
+
These rules apply whichever tracker the project uses — the `tracker` in `.lisa.config.json` (`jira`, `github`, or `linear`). Route the vendor mechanics through the tracker dispatch skills — `lisa-tracker-read` to read, `lisa-tracker-write` to create or edit, `lisa-tracker-sync` to post progress — rather than calling one vendor's tools from generic work. The Jira-specific commands below are the Jira case only.
|
|
51
|
+
- If working on a ticket, make sure the branch you're working on references it and is attached to it (`lisa-tracker-sync` posts the branch and PR links).
|
|
52
|
+
- If working on a ticket, update it as you work through it. For example, if working on a Bug Triage, update the ticket with your questions/feedback/suggestions.
|
|
53
|
+
- When reading a ticket, always read ALL comments — not just the description. Comments contain critical context: stakeholder decisions, scope changes, blockers, triage findings from other repos, and implementation notes. `lisa-tracker-read` fetches the complete comment collection for every tracker (GitHub through the paginated comments endpoint, Linear by paging `list-comments` to exhaustion) and reports when it could not read them all.
|
|
54
|
+
- Jira case: use the Atlassian MCP, or first resolve the project root from `$CLAUDE_PROJECT_DIR` or `git rev-parse --show-toplevel`. When `$PROJECT_ROOT/.lisa/jira-cli/.config.yml` exists, run both `jira --config "$PROJECT_ROOT/.lisa/jira-cli/.config.yml" issue view <TICKET_ID>` and `jira --config "$PROJECT_ROOT/.lisa/jira-cli/.config.yml" issue comment list <TICKET_ID>`; the dedicated comment-list command returns the complete comment collection instead of a fixed recent-comment window. If that project config is absent, omit `--config` from both commands to use the machine's own `~/.config/.jira/.config.yml`.
|
|
55
|
+
- When requesting clarification on a ticket, post the question as a comment and @mention the reporter (the GitHub issue author, the Linear creator, the Jira Reporter) so they receive a notification. Jira case: write the comment in ADF (Atlassian Document Format) so the mention resolves.
|
|
56
|
+
- When creating tickets, establish relationship links (e.g. "is blocked by", "blocks", "relates to", "is duplicated by") between tickets that have dependencies or logical connections, using the tracker's native relations — Jira issue links, GitHub sub-issues and issue references, Linear relations. Do not leave related tickets unlinked. Relationship discovery is mandatory on every create and update — search BOTH the local git history (`git log --all --grep=<keyword>`, `git log -- <path>`) AND the tracker (Jira: JQL by component, keyword, label, epic siblings; GitHub: `gh issue list --search`; Linear: issue search by keyword, label, project) before declaring "no related work." Record the searches you ran and their outcomes in the description (or a comment) so a reviewer can see the search was real.
|
|
55
57
|
- Ticket scope by type: Bug, Task, and Sub-task tickets MUST be single-repo (one work unit, one repo). Epic, Spike, and Story tickets MAY span multiple repos. If a Bug/Task/Sub-task crosses repos, split it per the `repo-scope-split` rule — at PRD-decomposition time via `task-decomposition` step 1.5 (parent Story + per-repo children); at work-time (an existing ticket an agent is about to implement) via the work-time split procedure (narrow the original to one repo, spin off a sibling per additional repo cloning its metadata, link the producer→consumer dependency, then proceed). A cross-repo work unit is a decomposition error the agent fixes by splitting, not a reason to bounce the ticket to the reporter.
|
|
56
58
|
- Ticket descriptions MUST contain everything an implementer needs to start work without asking the reporter. In particular:
|
|
57
59
|
- **Target backend environment** (`dev` / `staging` / `prod`) when the ticket has runtime behavior. QA/product report against a deployed env; the implementer verifies locally first against that backend before CI/CD. Skip only for doc-only, config-only, type-only, test-only, or Epic tickets (the closed no-runtime reason set shared with `NO_RUNTIME_REASONS` in `scripts/lib/completion-proof-shape.mjs`).
|
|
58
60
|
- **Sign-in account / credentials** when the work requires being signed in. Name the account (or the source — 1Password item, env var, seeded fixture) and the role. Omit entirely when sign-in is not required.
|
|
59
61
|
- **Gherkin acceptance criteria** (Given/When/Then) so the implementer can verify behavior without guessing.
|
|
60
|
-
- **Relationship discovery evidence** — either an issue link to a related ticket, or a documented search showing none was found (see Relationship Discovery in
|
|
62
|
+
- **Relationship discovery evidence** — either an issue link to a related ticket, or a documented search showing none was found (see Relationship Discovery in the vendor write skill `lisa-tracker-write` dispatches to).
|
|
61
63
|
- Ticket metadata MUST include an **epic parent** for non-bug, non-epic tickets so every Story/Task/Sub-task is traceable to a strategic goal.
|
|
62
64
|
- Pre-flight gate before starting work on any ticket: if the description is missing target backend environment (when applicable), sign-in credentials (when applicable), Gherkin acceptance criteria, epic parent (non-bug/non-epic), or relationship discovery evidence, first **draft** the authorable missing sections into the ticket as clearly-labeled assumptions (the `pre-flight-autofill` draft-then-block procedure — the agent writes spec, never code, here), then transition the ticket to Blocked, reassign to the **Reporter**, and post a **confirmation** comment asking them to confirm the drafted assumptions (not a bare "go write all this" checklist). Do not start work. This is the one place where auto-transitioning status is allowed.
|
|
63
|
-
- When checking for associated pull requests on a
|
|
65
|
+
- When checking for associated pull requests on a ticket, check the tracker's own record of linked development work — not just comments or description text. `lisa-tracker-read` returns the linked PRs for every tracker (GitHub: PRs referenced from the issue and its `Resolves`/`Closes`/`Fixes` links; Linear: PR attachments on the issue). Jira case: check the **Development panel**, which shows PRs, commits, branches, and builds linked via the GitHub-Jira integration. Query it via the dev-status API:
|
|
64
66
|
```bash
|
|
65
67
|
ISSUE_ID=$(curl -s -u "${JIRA_LOGIN}:${JIRA_API_TOKEN}" \
|
|
66
68
|
"${JIRA_SERVER}/rest/api/2/issue/${TICKET_ID}?fields=id" | jq -r '.id')
|