@codyswann/lisa 2.61.1 → 2.62.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/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/agents/confluence-prd-intake.md +1 -1
- package/plugins/lisa/agents/github-prd-intake.md +1 -1
- package/plugins/lisa/agents/linear-prd-intake.md +1 -1
- package/plugins/lisa/agents/notion-prd-intake.md +1 -1
- package/plugins/lisa/commands/intake.md +1 -1
- package/plugins/lisa/commands/project-ideation.md +3 -3
- package/plugins/lisa/commands/repair-intake.md +6 -0
- package/plugins/lisa/commands/research.md +3 -3
- package/plugins/lisa/commands/setup-automations.md +6 -0
- package/plugins/lisa/commands/tear-down-automations.md +6 -0
- package/plugins/lisa/commands/verify-prd.md +2 -2
- package/plugins/lisa/rules/config-resolution.md +60 -0
- package/plugins/lisa/rules/intent-routing.md +4 -3
- package/plugins/lisa/rules/prd-lifecycle-rollup.md +10 -2
- package/plugins/lisa/rules/repo-scope-split.md +18 -1
- package/plugins/lisa/skills/confluence-prd-intake/SKILL.md +11 -1
- package/plugins/lisa/skills/confluence-write-prd/SKILL.md +103 -0
- package/plugins/lisa/skills/confluence-write-prd/agents/openai.yaml +4 -0
- package/plugins/lisa/skills/github-build-intake/SKILL.md +13 -0
- package/plugins/lisa/skills/github-prd-intake/SKILL.md +15 -1
- package/plugins/lisa/skills/github-write-issue/SKILL.md +13 -4
- package/plugins/lisa/skills/github-write-prd/SKILL.md +100 -0
- package/plugins/lisa/skills/github-write-prd/agents/openai.yaml +4 -0
- package/plugins/lisa/skills/implement/SKILL.md +13 -6
- package/plugins/lisa/skills/intake/SKILL.md +3 -2
- package/plugins/lisa/skills/jira-build-intake/SKILL.md +13 -0
- package/plugins/lisa/skills/jira-write-ticket/SKILL.md +8 -0
- package/plugins/lisa/skills/linear-build-intake/SKILL.md +13 -0
- package/plugins/lisa/skills/linear-prd-intake/SKILL.md +11 -1
- package/plugins/lisa/skills/linear-write-issue/SKILL.md +10 -2
- package/plugins/lisa/skills/linear-write-prd/SKILL.md +90 -0
- package/plugins/lisa/skills/linear-write-prd/agents/openai.yaml +4 -0
- package/plugins/lisa/skills/notion-access/SKILL.md +2 -0
- package/plugins/lisa/skills/notion-prd-intake/SKILL.md +11 -1
- package/plugins/lisa/skills/notion-write-prd/SKILL.md +107 -0
- package/plugins/lisa/skills/notion-write-prd/agents/openai.yaml +4 -0
- package/plugins/lisa/skills/prd-source-write/SKILL.md +80 -0
- package/plugins/lisa/skills/prd-source-write/agents/openai.yaml +4 -0
- package/plugins/lisa/skills/project-ideation/SKILL.md +183 -80
- package/plugins/lisa/skills/repair-intake/SKILL.md +403 -0
- package/plugins/lisa/skills/repair-intake/agents/openai.yaml +4 -0
- package/plugins/lisa/skills/research/SKILL.md +19 -3
- package/plugins/lisa/skills/research/agents/openai.yaml +2 -2
- package/plugins/lisa/skills/setup-automations/SKILL.md +78 -0
- package/plugins/lisa/skills/setup-automations/agents/openai.yaml +4 -0
- package/plugins/lisa/skills/tear-down-automations/SKILL.md +34 -0
- package/plugins/lisa/skills/tear-down-automations/agents/openai.yaml +4 -0
- package/plugins/lisa/skills/tracker-build-intake/SKILL.md +4 -0
- package/plugins/lisa/skills/verify-prd/SKILL.md +41 -38
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -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/commands/exploratory-qa.md +3 -3
- package/plugins/lisa-expo/skills/exploratory-qa/SKILL.md +48 -18
- package/plugins/lisa-expo/skills/exploratory-qa/agents/openai.yaml +2 -2
- 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/commands/exploratory-qa.md +3 -3
- package/plugins/lisa-harper-fabric/skills/exploratory-qa/SKILL.md +48 -18
- package/plugins/lisa-harper-fabric/skills/exploratory-qa/agents/openai.yaml +2 -2
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-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-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/commands/exploratory-qa.md +3 -3
- package/plugins/lisa-rails/skills/exploratory-qa/SKILL.md +48 -18
- package/plugins/lisa-rails/skills/exploratory-qa/agents/openai.yaml +2 -2
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-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/skills/lisa-wiki-ingest/SKILL.md +30 -1
- package/plugins/src/base/agents/confluence-prd-intake.md +1 -1
- package/plugins/src/base/agents/github-prd-intake.md +1 -1
- package/plugins/src/base/agents/linear-prd-intake.md +1 -1
- package/plugins/src/base/agents/notion-prd-intake.md +1 -1
- package/plugins/src/base/commands/intake.md +1 -1
- package/plugins/src/base/commands/project-ideation.md +3 -3
- package/plugins/src/base/commands/repair-intake.md +6 -0
- package/plugins/src/base/commands/research.md +3 -3
- package/plugins/src/base/commands/setup-automations.md +6 -0
- package/plugins/src/base/commands/tear-down-automations.md +6 -0
- package/plugins/src/base/commands/verify-prd.md +2 -2
- package/plugins/src/base/rules/config-resolution.md +60 -0
- package/plugins/src/base/rules/intent-routing.md +4 -3
- package/plugins/src/base/rules/prd-lifecycle-rollup.md +10 -2
- package/plugins/src/base/rules/repo-scope-split.md +18 -1
- package/plugins/src/base/skills/confluence-prd-intake/SKILL.md +11 -1
- package/plugins/src/base/skills/confluence-write-prd/SKILL.md +103 -0
- package/plugins/src/base/skills/github-build-intake/SKILL.md +13 -0
- package/plugins/src/base/skills/github-prd-intake/SKILL.md +15 -1
- package/plugins/src/base/skills/github-write-issue/SKILL.md +13 -4
- package/plugins/src/base/skills/github-write-prd/SKILL.md +100 -0
- package/plugins/src/base/skills/implement/SKILL.md +13 -6
- package/plugins/src/base/skills/intake/SKILL.md +3 -2
- package/plugins/src/base/skills/jira-build-intake/SKILL.md +13 -0
- package/plugins/src/base/skills/jira-write-ticket/SKILL.md +8 -0
- package/plugins/src/base/skills/linear-build-intake/SKILL.md +13 -0
- package/plugins/src/base/skills/linear-prd-intake/SKILL.md +11 -1
- package/plugins/src/base/skills/linear-write-issue/SKILL.md +10 -2
- package/plugins/src/base/skills/linear-write-prd/SKILL.md +90 -0
- package/plugins/src/base/skills/notion-access/SKILL.md +2 -0
- package/plugins/src/base/skills/notion-prd-intake/SKILL.md +11 -1
- package/plugins/src/base/skills/notion-write-prd/SKILL.md +107 -0
- package/plugins/src/base/skills/prd-source-write/SKILL.md +80 -0
- package/plugins/src/base/skills/project-ideation/SKILL.md +183 -80
- package/plugins/src/base/skills/repair-intake/SKILL.md +403 -0
- package/plugins/src/base/skills/research/SKILL.md +19 -3
- package/plugins/src/base/skills/setup-automations/SKILL.md +78 -0
- package/plugins/src/base/skills/tear-down-automations/SKILL.md +34 -0
- package/plugins/src/base/skills/tracker-build-intake/SKILL.md +4 -0
- package/plugins/src/base/skills/verify-prd/SKILL.md +41 -38
- package/plugins/src/expo/commands/exploratory-qa.md +3 -3
- package/plugins/src/expo/skills/exploratory-qa/SKILL.md +48 -18
- package/plugins/src/harper-fabric/commands/exploratory-qa.md +3 -3
- package/plugins/src/harper-fabric/skills/exploratory-qa/SKILL.md +48 -18
- package/plugins/src/rails/commands/exploratory-qa.md +3 -3
- package/plugins/src/rails/skills/exploratory-qa/SKILL.md +48 -18
- package/plugins/src/wiki/skills/lisa-wiki-ingest/SKILL.md +30 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.62.0",
|
|
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,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "Run a Playwright-backed exploratory QA pass: audit the app like a human, find user-noticeable bugs and gaps in automated test coverage, and
|
|
2
|
+
description: "Run a Playwright-backed exploratory QA pass: audit the app like a human, find user-noticeable bugs, usability issues, and gaps in automated test coverage, and file each finding as a tracked work item via lisa:tracker-write. The optional ready flag marks bug/suggestion tickets build-ready (auto-picked-up by lisa:intake) or leaves them in the backlog for human triage (default); missing-test tickets are always build-ready."
|
|
3
3
|
allowed-tools: ["Skill"]
|
|
4
|
-
argument-hint: "[target-url | env] [
|
|
4
|
+
argument-hint: "[target-url | env] [ready=true|false]"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
Use the /lisa-rails:exploratory-qa skill to run a human-style exploratory QA pass informed by the existing Playwright suite, then
|
|
7
|
+
Use the /lisa-rails:exploratory-qa skill to run a human-style exploratory QA pass informed by the existing Playwright suite, then file every finding (bugs, usability issues, missing Playwright tests) as a tracked work item via lisa:tracker-write — bug/suggestion tickets build-ready or in triage per the ready flag (default: triage), missing-test tickets always build-ready. $ARGUMENTS
|
|
@@ -1,19 +1,30 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: exploratory-qa
|
|
3
|
-
description: Playwright-backed exploratory QA workflow for web apps. Use when asked to audit an app
|
|
3
|
+
description: Playwright-backed exploratory QA workflow for web apps that FEEDS THE LIFECYCLE. Use when asked to audit an app with Playwright/e2e tests, find human-noticeable bugs and usability issues, identify gaps in automated test coverage, test responsive breakpoints, observe slow or unclear load states, or exercise mutable workflows with cleanup. Instead of writing a report file, it files every finding as a tracked work item via lisa:tracker-write (bugs, usability suggestions, and missing Playwright tests). A `ready` parameter controls whether bug and suggestion tickets are created build-ready (auto-picked-up by lisa:intake) or in the backlog for human triage (default); missing-test tickets are always created build-ready.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Exploratory QA
|
|
7
7
|
|
|
8
8
|
## Overview
|
|
9
9
|
|
|
10
|
-
Run a human-style exploratory QA pass informed by the existing Playwright suite. The goal is to find issues users notice and machines often miss,
|
|
10
|
+
Run a human-style exploratory QA pass informed by the existing Playwright suite, then **file every finding as a tracked work item** in the project's configured tracker so it enters the Lisa lifecycle. The goal is to find issues users notice and machines often miss — bugs, usability friction, and coverage gaps — and turn each into actionable, automatable work, not a static report.
|
|
11
|
+
|
|
12
|
+
## Parameters
|
|
13
|
+
|
|
14
|
+
- **`target-url | env`** (first positional) — what to audit.
|
|
15
|
+
- **`ready=true|false`** — the build-ready state for the **bug** and **usability/suggestion** tickets this pass creates.
|
|
16
|
+
- `ready=true` → created build-ready, so `lisa:intake` / the build-intake scanner auto-picks them up.
|
|
17
|
+
- `ready=false` (**default**) → created in the backlog (not build-ready) for a human to review and promote into the queue.
|
|
18
|
+
- **Missing Playwright test tickets are ALWAYS created build-ready, regardless of this flag** — adding missing coverage is always safe to queue.
|
|
19
|
+
|
|
20
|
+
`ready` maps directly to the `build_ready` write-control input on `lisa:tracker-write`.
|
|
11
21
|
|
|
12
22
|
## Core Workflow
|
|
13
23
|
|
|
14
24
|
### 1. Establish Scope
|
|
15
25
|
|
|
16
|
-
- Identify the target environment, account type, browser requirement, and
|
|
26
|
+
- Identify the target environment, account type, browser requirement, and the `ready` flag value (default `false`).
|
|
27
|
+
- **Confirm the tracker is configured.** Findings are filed as tickets, so read `tracker` from `.lisa.config.json` (local overrides global). If it is unset, stop and report that the tracker must be configured (via `/lisa:setup:jira` / `:github` / `:linear`) before exploratory QA can file findings — do not silently fall back to a report file.
|
|
17
28
|
- If credentials, tenant, seed data, or mutation boundaries are missing and cannot be discovered safely, ask a concise clarifying question.
|
|
18
29
|
- Treat production-like environments conservatively. Do not mutate production data unless the user explicitly approves it.
|
|
19
30
|
- Prefer a test user, dev/staging environment, or isolated seeded account for mutation testing.
|
|
@@ -57,7 +68,7 @@ Exploratory QA should exercise mutable workflows when the environment is safe.
|
|
|
57
68
|
- Prefer high-value user workflows: create/edit/delete records, lists, boards, tags, notes, comments, scenarios, uploads, messages, settings, invitations, or assignments.
|
|
58
69
|
- Use unique names with a clear prefix such as `qa-`, `pw-`, or `codex-`.
|
|
59
70
|
- Before mutating, identify the cleanup path. After mutating, make a best effort to clean up through the UI, then verify cleanup.
|
|
60
|
-
- If UI cleanup is unavailable,
|
|
71
|
+
- If UI cleanup is unavailable, file that as a product/test gap (a finding — see below). Use documented API cleanup only if appropriate for the project and account.
|
|
61
72
|
- Record all mutations performed, cleanup attempts, and residue left behind.
|
|
62
73
|
- Avoid destructive bulk actions unless the user explicitly asks or the test account is clearly disposable.
|
|
63
74
|
|
|
@@ -83,26 +94,45 @@ Measure perceived latency, not just eventual success.
|
|
|
83
94
|
- Treat long waits without clear progress, error, retry, or cancellation as bugs or test gaps.
|
|
84
95
|
- Do not overfit exact milliseconds unless the project has defined budgets. Use practical labels such as noticeable, slow, or unacceptable and include observed durations when available.
|
|
85
96
|
|
|
86
|
-
##
|
|
97
|
+
## Filing findings as tracked work
|
|
98
|
+
|
|
99
|
+
This skill does **not** write a report file. Every finding becomes a **leaf work item** created via `lisa:tracker-write` (the vendor-neutral writer — it dispatches to the configured tracker and runs the validation gate; never call a vendor `*-write-*` skill directly). Map each finding to a type and a build-ready state:
|
|
100
|
+
|
|
101
|
+
| Finding | `issue_type` | `build_ready` |
|
|
102
|
+
|---------|--------------|---------------|
|
|
103
|
+
| User-visible **bug** | `Bug` | the `ready` flag (default `false`) |
|
|
104
|
+
| **Usability / UX issue** (suggestion) | `Improvement` | the `ready` flag (default `false`) |
|
|
105
|
+
| **Missing Playwright test** (coverage gap) | `Task` | **`true` (always)** |
|
|
106
|
+
|
|
107
|
+
Each finding is a flat leaf (no children), so `build_ready` applies directly. Pass it explicitly on every create — `build_ready: <ready flag>` for bugs and suggestions, `build_ready: true` for missing tests.
|
|
108
|
+
|
|
109
|
+
Each ticket MUST be a complete spec (`lisa:tracker-write` runs the validator and rejects thin tickets):
|
|
110
|
+
|
|
111
|
+
- **Three-audience description** (context / business value, technical approach, stakeholder impact).
|
|
112
|
+
- **For a bug:** exact reproduction steps, observed-vs-expected, the env / account / breakpoint it occurred at, and console/network evidence.
|
|
113
|
+
- **For a usability issue:** the observed friction, who it affects, and the proposed improvement.
|
|
114
|
+
- **For a missing test:** the user behavior the test must assert and the stable selector/flow to use — concrete and automatable.
|
|
115
|
+
- **Gherkin acceptance criteria** describing the fixed (bug / usability) or added (test) behavior.
|
|
116
|
+
|
|
117
|
+
### Idempotency — don't spam duplicates
|
|
118
|
+
|
|
119
|
+
Re-running a QA pass must not refile the same finding. Before creating a ticket, search the tracker for an **open** ticket carrying a stable marker `[lisa-exploratory-qa] <finding-key>` in its body (the `<finding-key>` is a stable slug of surface + symptom, e.g. `settings-modal/horizontal-overflow@tablet`). If one exists, reference/update it instead of creating a duplicate; only create when none exists. **Match by the marker, never by title** (titles get edited). A *closed* prior ticket does not suppress a new one — a recurrence after a fix is a genuine regression.
|
|
87
120
|
|
|
88
|
-
|
|
121
|
+
## Output
|
|
89
122
|
|
|
90
|
-
|
|
123
|
+
No report file. Emit a concise in-session summary:
|
|
91
124
|
|
|
92
|
-
- Scope
|
|
93
|
-
- Existing Playwright coverage
|
|
94
|
-
-
|
|
95
|
-
-
|
|
96
|
-
- Load-state findings: observed delays, blank/spinner/connecting states, suggested budgets/tests.
|
|
97
|
-
- Mutation findings: data created, behavior observed, cleanup attempt, cleanup result, residue.
|
|
98
|
-
- Missing Playwright tests to add: prioritized, concrete, and automatable.
|
|
99
|
-
- Maintenance notes: selector scoping, fixture cleanup, flaky/stale-state risks.
|
|
125
|
+
- **Scope:** target URL/env, browser/tool, account type, build/version if visible, date.
|
|
126
|
+
- **Existing Playwright coverage:** strengths and thin areas observed during research.
|
|
127
|
+
- **Findings filed**, bucketed by type — bugs, usability suggestions, missing tests — each with its **created or referenced ticket ref** and its **build-ready state** (`ready` vs `triage/backlog`).
|
|
128
|
+
- **Observed but not filed:** anything noticed but intentionally not ticketed, with why.
|
|
100
129
|
|
|
101
130
|
## Quality Bar
|
|
102
131
|
|
|
103
132
|
- Be honest about what was and was not tested.
|
|
104
|
-
- Distinguish user-visible bugs from missing automated coverage.
|
|
105
|
-
- Prefer concrete
|
|
133
|
+
- Distinguish user-visible bugs from missing automated coverage — they map to different issue types (`Bug` vs `Task`).
|
|
134
|
+
- Prefer concrete, reproducible findings. Every ticket must stand alone for an implementer who was not in the session.
|
|
106
135
|
- Do not claim cleanup succeeded unless verified.
|
|
107
136
|
- Do not let broad locators pass against hidden/inactive content.
|
|
108
|
-
-
|
|
137
|
+
- File missing-test tickets build-ready; file bug and usability tickets per the `ready` flag (default: backlog for human triage).
|
|
138
|
+
- Preserve unrelated repo changes.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
display_name: "Exploratory QA"
|
|
2
|
-
short_description: "Playwright-backed exploratory QA workflow for web apps"
|
|
2
|
+
short_description: "Playwright-backed exploratory QA workflow for web apps that FEEDS THE LIFECYCLE"
|
|
3
3
|
default_prompt:
|
|
4
|
-
- "Use $exploratory-qa: Playwright-backed exploratory QA workflow for web apps."
|
|
4
|
+
- "Use $exploratory-qa: Playwright-backed exploratory QA workflow for web apps that FEEDS THE LIFECYCLE."
|
|
@@ -19,6 +19,24 @@ performs the shared, ordered pipeline.
|
|
|
19
19
|
run includes explicit external-write intent**.
|
|
20
20
|
- **Dry run:** `/ingest --dry-run` — list the sources a full ingest would run; perform no writes.
|
|
21
21
|
|
|
22
|
+
## Before ingesting — sync the branch (once per run)
|
|
23
|
+
|
|
24
|
+
Run this **once per ingest invocation, before any source is processed** (skip for `--dry-run`, which
|
|
25
|
+
writes nothing). The point is to ingest on top of fresh state, never stale state.
|
|
26
|
+
|
|
27
|
+
1. **Resolve the default remote branch** — `gh repo view --json defaultBranchRef -q .defaultBranchRef.name`,
|
|
28
|
+
or `git remote show origin | sed -n 's/.*HEAD branch: //p'`, or the `origin/HEAD` symbolic ref. If
|
|
29
|
+
the repo has no remote, note "no remote — skipping branch sync" and proceed.
|
|
30
|
+
2. **Fetch** — `git fetch <remote>` to update remote-tracking refs.
|
|
31
|
+
3. **Bring the working branch up to date with the default remote branch** so the ingest lands on
|
|
32
|
+
current state:
|
|
33
|
+
- On the default branch → fast-forward to `<remote>/<default>` (`git pull --ff-only`).
|
|
34
|
+
- On a non-default branch → merge or rebase `<remote>/<default>` in (per the project's convention)
|
|
35
|
+
so the branch is not behind the default.
|
|
36
|
+
4. If the sync cannot complete cleanly (merge conflict, diverged history, or a dirty tree that would
|
|
37
|
+
conflict), **stop and surface it** rather than ingesting on top of stale or conflicted state — the
|
|
38
|
+
human resolves and re-runs. **Never discard unrelated working-tree changes** to force a sync.
|
|
39
|
+
|
|
22
40
|
## The ordered pipeline (per source) — never reorder
|
|
23
41
|
1. **Connector** validates (tenant guard + auth), reads its state cursor (first-run vs incremental),
|
|
24
42
|
fetches read-only, and writes a sanitized **source note** under `wiki/sources/<system>/` plus run
|
|
@@ -29,9 +47,20 @@ performs the shared, ordered pipeline.
|
|
|
29
47
|
4. **Log**: append a `wiki/log.md` entry (fixed operation vocabulary).
|
|
30
48
|
5. **Verify**: `git diff --check`, secret/tenant/contamination scans, touched-file guard.
|
|
31
49
|
6. **State**: advance the connector's `wiki/state/<system>/*.json` cursor — only now, after 1–5 pass.
|
|
32
|
-
7. **Commit/PR**: per `config.git` policy.
|
|
50
|
+
7. **Commit/PR**: commit only the ingestion changes per `config.git` policy. If the ingest started on
|
|
51
|
+
the default branch, create a dedicated ingestion branch first — never commit ingestion straight to
|
|
52
|
+
the default. Push the branch and **open a PR targeting the default remote branch** (via the host's
|
|
53
|
+
PR mechanism — e.g. `gh pr create --base <default>`), then **enable auto-merge when possible**
|
|
54
|
+
(`gh pr merge --auto`, or the host's equivalent). `external-write` runs and sensitive content are
|
|
55
|
+
the exception — open the PR **without** auto-merge so a human reviews them before it lands. If
|
|
56
|
+
auto-merge cannot be enabled (the host doesn't support it, or branch protection forbids it), leave
|
|
57
|
+
the PR open and note that a human must merge.
|
|
33
58
|
|
|
34
59
|
## Rules
|
|
60
|
+
- **Bookend every ingest with git hygiene:** sync the branch with the default remote branch *before*
|
|
61
|
+
writing (see "Before ingesting"), and *after* a successful ingest open a PR to the default remote
|
|
62
|
+
branch with auto-merge enabled when possible — never auto-merging `external-write`/sensitive runs.
|
|
63
|
+
`--dry-run` does neither (it writes nothing).
|
|
35
64
|
- Source-note-before-synthesis; state advanced **only** after verification.
|
|
36
65
|
- Project-scoped only; memory ingestion never touches global/Codex-global stores.
|
|
37
66
|
- Respect `sourceRetention` and `sensitivity`; do not invent facts.
|
|
@@ -53,7 +53,7 @@ After a successful cycle, if any PRDs ended in the `blocked` label, mention to t
|
|
|
53
53
|
|
|
54
54
|
When reporting `blocked` outcomes, distinguish the cause: **pre-write gate failure** (per-ticket validator caught a problem before any tickets were created) vs **post-write coverage gap** (tickets were created and remain in the destination tracker, but the PRD has uncovered requirements that the next intake cycle will address). Both result in the `blocked` label, but the implication for product is different — coverage gaps mean some tickets are already real and product should not re-author the PRD from scratch.
|
|
55
55
|
|
|
56
|
-
If all PRDs ended in the `ticketed` label with coverage `COMPLETE`, mention that the next step is for product to monitor the created tickets and apply the configured `shipped` label after delivery, then run `/lisa:verify-prd` to empirically verify the shipped product against the PRD and move it to `verified` (or
|
|
56
|
+
If all PRDs ended in the `ticketed` label with coverage `COMPLETE`, mention that the next step is for product to monitor the created tickets and apply the configured `shipped` label after delivery, then run `/lisa:verify-prd` to empirically verify the shipped product against the PRD and move it to `verified` (or, on failure, re-open it to `ticketed` with build-ready fix tickets that auto-build and re-verify — never `blocked`). If any are `COMPLETE_WITH_SCOPE_CREEP`, point that out so product can review the flagged tickets.
|
|
57
57
|
|
|
58
58
|
## Rules
|
|
59
59
|
|
|
@@ -53,7 +53,7 @@ After a successful cycle, if any PRDs ended in the `blocked` label, mention to t
|
|
|
53
53
|
|
|
54
54
|
When reporting `blocked` outcomes, distinguish the cause: **pre-write gate failure** (per-ticket validator caught a problem before any tickets were created) vs **post-write coverage gap** (tickets were created and remain in the destination tracker, but the PRD has uncovered requirements that the next intake cycle will address). Both result in the `blocked` label, but the implication for product is different — coverage gaps mean some tickets are already real and product should not re-author the PRD from scratch.
|
|
55
55
|
|
|
56
|
-
If all PRDs ended in the `ticketed` label with coverage `COMPLETE`, mention that the next step is for product to monitor the created tickets and apply the configured `shipped` label after delivery, then run `/lisa:verify-prd` to empirically verify the shipped product against the PRD and move it to `verified` (or
|
|
56
|
+
If all PRDs ended in the `ticketed` label with coverage `COMPLETE`, mention that the next step is for product to monitor the created tickets and apply the configured `shipped` label after delivery, then run `/lisa:verify-prd` to empirically verify the shipped product against the PRD and move it to `verified` (or, on failure, re-open it to `ticketed` with build-ready fix tickets that auto-build and re-verify — never `blocked`). If any are `COMPLETE_WITH_SCOPE_CREEP`, point that out so product can review the flagged tickets.
|
|
57
57
|
|
|
58
58
|
## Rules
|
|
59
59
|
|
|
@@ -53,7 +53,7 @@ After a successful cycle, if any PRDs ended in the `blocked` label, mention to t
|
|
|
53
53
|
|
|
54
54
|
When reporting `blocked` outcomes, distinguish the cause: **pre-write gate failure** (per-ticket validator caught a problem before any tickets were created) vs **post-write coverage gap** (tickets were created and remain in the destination tracker, but the PRD has uncovered requirements that the next intake cycle will address). Both result in the `blocked` label, but the implication for product is different — coverage gaps mean some tickets are already real and product should not re-author the PRD from scratch.
|
|
55
55
|
|
|
56
|
-
If all PRDs ended in the `ticketed` label with coverage `COMPLETE`, mention that the next step is for product to monitor the created tickets and apply the configured `shipped` label after delivery, then run `/lisa:verify-prd` to empirically verify the shipped product against the PRD and move it to `verified` (or
|
|
56
|
+
If all PRDs ended in the `ticketed` label with coverage `COMPLETE`, mention that the next step is for product to monitor the created tickets and apply the configured `shipped` label after delivery, then run `/lisa:verify-prd` to empirically verify the shipped product against the PRD and move it to `verified` (or, on failure, re-open it to `ticketed` with build-ready fix tickets that auto-build and re-verify — never `blocked`). If any are `COMPLETE_WITH_SCOPE_CREEP`, point that out so product can review the flagged tickets.
|
|
57
57
|
|
|
58
58
|
## Rules
|
|
59
59
|
|
|
@@ -51,7 +51,7 @@ After a successful cycle, if any PRDs ended in the `blocked` status, mention to
|
|
|
51
51
|
|
|
52
52
|
When reporting `blocked` outcomes, distinguish the cause: **pre-write gate failure** (per-ticket validator caught a problem before any tickets were created) vs **post-write coverage gap** (tickets were created and remain in the destination tracker, but the PRD has uncovered requirements that the next intake cycle will address). Both result in the `blocked` status, but the implication for product is different — coverage gaps mean some tickets are already real and product should not re-author the PRD from scratch.
|
|
53
53
|
|
|
54
|
-
If all PRDs ended in the `ticketed` status with coverage `COMPLETE`, mention that the next step is for product to monitor the created tickets and flip the PRDs to the configured `shipped` status after delivery, then run `/lisa:verify-prd` to empirically verify the shipped product against the PRD and move it to `verified` (or
|
|
54
|
+
If all PRDs ended in the `ticketed` status with coverage `COMPLETE`, mention that the next step is for product to monitor the created tickets and flip the PRDs to the configured `shipped` status after delivery, then run `/lisa:verify-prd` to empirically verify the shipped product against the PRD and move it to `verified` (or, on failure, re-open it to `ticketed` with build-ready fix tickets that auto-build and re-verify — never `blocked`). If any are `COMPLETE_WITH_SCOPE_CREEP`, point that out so product can review the flagged tickets.
|
|
55
55
|
|
|
56
56
|
## Rules
|
|
57
57
|
|
|
@@ -3,4 +3,4 @@ description: "Vendor-agnostic batch scanner for Ready queues. Notion PRD databas
|
|
|
3
3
|
argument-hint: "<Notion-PRD-database-URL | Confluence-space-URL | Confluence-parent-page-URL | Linear-workspace-URL | Linear-team-URL | GitHub-repo-URL | org/repo | JIRA-project-key | JQL-filter>"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
Use the /lisa:intake skill to scan the queue for Ready items and dispatch
|
|
6
|
+
Use the /lisa:intake skill to scan the queue for Ready items and dispatch one eligible Ready item per invocation through the appropriate single-item lifecycle skill — and, on the PRD side, close the loop by dispatching /lisa:verify-prd for one shipped PRD per cycle (shipped → verified on pass, or re-opened to ticketed with build-ready fix tickets that auto-build and re-verify on fail — never blocked). $ARGUMENTS
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "Generate
|
|
3
|
-
argument-hint: "[target
|
|
2
|
+
description: "Generate persona-grounded, verifiable product ideas for the host project, then create PRDs for the selected build-ready ideas via lisa:research. First derives the personas the project actually serves (from its docs, code, data model, and releases — never invented), ideates per persona, and gates each idea on an obtainable data/source path and an empirical verification plan. Creates one PRD by default (top-ranked idea); max_prds widens the batch. prd_ready=true creates them prd-ready for auto-pickup by lisa:intake; default is draft for human review."
|
|
3
|
+
argument-hint: "[target path | external product] [prd_ready=true|false] [max_prds=<n>|all]"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
Use the /lisa:project-ideation skill to
|
|
6
|
+
Use the /lisa:project-ideation skill to derive evidence-grounded personas, ideate per persona, gate the ideas, and create PRDs for the selected build-ready ideas via lisa:research — in draft state by default, or prd-ready when prd_ready=true; one PRD by default, more with max_prds. $ARGUMENTS
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Repair counterpart to /lisa:intake. Vendor-agnostic batch scanner that finds stuck work — items left in `blocked` or stalled in an in-progress role (build `claimed`, PRD `in_review`) — across the same queues /lisa:intake serves (Notion / Confluence / Linear / GitHub PRDs; JIRA / GitHub / Linear build issues), and attempts to repair the first materially actionable one per cycle: resumes stalled in-progress work in place, re-validates blocked PRDs, and re-dispatches blocked build items whose blockers have cleared. One actionable repair per invocation; cron-safe. Designed as a /schedule target alongside /lisa:intake."
|
|
3
|
+
argument-hint: "<Notion-PRD-database-URL | Confluence-space-URL | Confluence-parent-page-URL | Linear-workspace-URL | Linear-team-URL | GitHub-repo-URL | org/repo | JIRA-project-key | JQL-filter> [intake_mode=prd|build|both] [stale_after=24h] [max_candidates=100] [force=true]"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Use the /lisa:repair-intake skill to scan the queue for stuck items (blocked, or stalled in an in-progress role) and repair the first materially actionable one. $ARGUMENTS
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "Research a problem space and
|
|
3
|
-
argument-hint: "<problem-statement-or-feature-idea>"
|
|
2
|
+
description: "Research a problem space and create a PRD in the configured PRD source. Investigates the codebase, defines user flows, assesses technical feasibility, synthesizes the spec, then creates it in the source (Notion / Confluence / GitHub / Linear) via lisa:prd-source-write — no loose document. prd_ready=true creates it prd-ready for auto-pickup by lisa:intake; default is draft for the Plan flow / human review."
|
|
3
|
+
argument-hint: "<problem-statement-or-feature-idea> [prd_ready=true|false]"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
Use the /lisa:research skill to research the problem and
|
|
6
|
+
Use the /lisa:research skill to research the problem and create a PRD in the configured source — in draft state by default, or prd-ready when prd_ready=true. $ARGUMENTS
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Set up the recurring Lisa automations on the local workstation using the runtime's native scheduler (Codex automations / Claude /schedule): intake-repair (60 min), intake PRD (60 min), intake tickets (10 min), exploratory-bugs (daily), exploratory-prds (daily). A declarative spec — it states what to schedule and how often; the runtime's native automation mechanism does the creating. auto-start-prds / auto-start-tickets control whether ideated PRDs / filed bug tickets are created auto-pickup-ready (default: left for human review)."
|
|
3
|
+
argument-hint: "[auto-start-prds=true|false] [auto-start-tickets=true|false]"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Use the /lisa:setup-automations skill to create the five recurring Lisa automations via this runtime's native scheduler (Codex automations / Claude /schedule), passing the auto-start-prds / auto-start-tickets flags through to the exploratory automations. $ARGUMENTS
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Remove the recurring Lisa automations /setup-automations created for this project (the lisa-auto-<project>-* set) using the runtime's native scheduler (Codex automations / Claude /schedule). A declarative spec — it states which automations to remove; the runtime's native mechanism does the removing. Removes only this project's Lisa automations, never others."
|
|
3
|
+
argument-hint: ""
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Use the /lisa:tear-down-automations skill to remove this project's lisa-auto-<project>-* automations via this runtime's native scheduler (Codex automations / Claude /schedule), leaving other projects' and non-Lisa automations untouched. $ARGUMENTS
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "Initiative-level PRD acceptance gate. Reads a shipped PRD and its generated child work, confirms all generated top-level work is terminal, then runs spec-conformance against the PRD plus empirical verification of the shipped surface
|
|
2
|
+
description: "Initiative-level PRD acceptance gate. Reads a shipped PRD and its generated child work, confirms all generated top-level work is terminal, then runs spec-conformance against the PRD plus empirical verification of the shipped surface. On a CONFORMS verdict with all checks passing it transitions the PRD shipped → verified with evidence; on a conformance miss (PARTIAL/DIVERGES) or any failing empirical check it re-opens the PRD shipped → ticketed (never blocked), creates build-ready fix tickets for the gaps, and posts a failure report — the fix tickets auto-build, the PRD re-ships, and it re-verifies (a self-healing loop). Idempotent across re-runs."
|
|
3
3
|
argument-hint: "<prd>"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
Use the /lisa:verify-prd skill to read the PRD, confirm its generated top-level work is terminal, run spec-conformance against the PRD and empirical verification of the shipped surface,
|
|
6
|
+
Use the /lisa:verify-prd skill to read the PRD, confirm its generated top-level work is terminal, run spec-conformance against the PRD and empirical verification of the shipped surface, then transition the PRD shipped → verified with evidence on a pass, or — on a fail — re-open it shipped → ticketed (never blocked) and create build-ready fix tickets that auto-build and trigger a re-verify. $ARGUMENTS
|
|
@@ -120,6 +120,13 @@ fi
|
|
|
120
120
|
"staging": "staging",
|
|
121
121
|
"production": "main"
|
|
122
122
|
}
|
|
123
|
+
},
|
|
124
|
+
|
|
125
|
+
"intake": {
|
|
126
|
+
"repair": {
|
|
127
|
+
"staleAfterHours": 24,
|
|
128
|
+
"maxCandidates": 100
|
|
129
|
+
}
|
|
123
130
|
}
|
|
124
131
|
}
|
|
125
132
|
```
|
|
@@ -226,6 +233,22 @@ The `rollup` object lives in each PRD-source vendor section (`github.labels.prd.
|
|
|
226
233
|
|
|
227
234
|
Like every other vocabulary key, `prd.rollup` is **optional** — a missing block inherits `closeOnShipped: false`. The `shipped` transition itself is unconditional on the all-terminal condition; only the close/archive step is gated by this flag.
|
|
228
235
|
|
|
236
|
+
### Repair intake config (`intake.repair`)
|
|
237
|
+
|
|
238
|
+
`lisa:repair-intake` (the recovery counterpart to `lisa:intake`) reads two optional tuning keys
|
|
239
|
+
from the top-level `intake.repair` block. Both are **optional** — a missing block inherits the
|
|
240
|
+
documented defaults, so existing projects need no config change.
|
|
241
|
+
|
|
242
|
+
| Key | Required | Default | Notes |
|
|
243
|
+
|-----|----------|---------|-------|
|
|
244
|
+
| `intake.repair.staleAfterHours` | no | `24` | How long an in-progress item (build `claimed`, PRD `in_review`) may show no observable activity before repair-intake treats it as stalled and resumes it. `blocked` items are judged on blocker/answer state, not this threshold. Overridable per-run via `stale_after=<dur>` in `$ARGUMENTS` (which always wins). The same value is the default backoff window for loop-prevention notes. |
|
|
245
|
+
| `intake.repair.maxCandidates` | no | `100` | Upper bound on how many stuck items repair-intake enumerates while searching for the first actionable one. Bounds scan cost. Overridable per-run via `max_candidates=<n>`. |
|
|
246
|
+
|
|
247
|
+
Resolution order matches every other key: `$ARGUMENTS` override → `.lisa.config.local.json` →
|
|
248
|
+
`.lisa.config.json` → built-in default. The role SEMANTICS repair-intake operates on (which
|
|
249
|
+
roles count as "stuck", what each repair does) are fixed like every other lifecycle transition;
|
|
250
|
+
only these thresholds are tunable.
|
|
251
|
+
|
|
229
252
|
### Env-keyed `done`
|
|
230
253
|
|
|
231
254
|
The `done` role is special: the terminal status/label depends on which environment a PR was merged into. A hotfix to staging ends at `On Stg`; a production hotfix ends at `Done`. So `done` is a **map** keyed by env name (`dev`, `staging`, `production`).
|
|
@@ -238,6 +261,16 @@ Skills that transition to `done` MUST resolve the env first:
|
|
|
238
261
|
|
|
239
262
|
If a project's terminal state is the same regardless of env, set `done` to a string instead of a map (lifecycle skills accept either shape).
|
|
240
263
|
|
|
264
|
+
### Env → base branch (forward: the build base and PR base)
|
|
265
|
+
|
|
266
|
+
`deploy.branches` is also read in the **forward** direction by the build flow (`lisa:implement`): the environment a work item targets determines the branch the work is built on and the branch the PR opens against.
|
|
267
|
+
|
|
268
|
+
1. **Resolve the work item's target environment** — its `## Target Backend Environment` field. If the item names no environment, use the **remote default branch** (`gh repo view --json defaultBranchRef`, or `origin/HEAD`).
|
|
269
|
+
2. **Map env → base branch** via `deploy.branches` (e.g. `staging → staging`, `production → main`). Absent env or missing branch → stop and report; never guess.
|
|
270
|
+
3. **Before any code is written**, `lisa:implement` fetches and **rebases the working branch onto `origin/<base>`, resolving conflicts**, so implementation builds on the latest target-environment code. **The PR then opens against that same base branch** (`target_branch=<base>` to `lisa:git-submit-pr`).
|
|
271
|
+
|
|
272
|
+
This is the exact inverse of the env-keyed `done` "Branch inference" above: `done` derives the env *from* the PR base branch (reverse); the build flow derives the base branch *from* the env (forward). Both use the one `deploy.branches` map, so the branch a PR targets and the `done` status it earns always agree.
|
|
273
|
+
|
|
241
274
|
The true terminal `done` value is also the only value that triggers provider-native closure / resolution per `leaf-only-lifecycle`:
|
|
242
275
|
|
|
243
276
|
- If `done` is a string, that value is terminal.
|
|
@@ -437,6 +470,33 @@ GitHub and Linear PRD lifecycles use labels (`prd-ready` / `prd-in-review` / etc
|
|
|
437
470
|
|
|
438
471
|
**Why curl is still needed**: acli's Confluence surface only covers `space` and `page view`. v1 page-write endpoints accept scoped tokens but return 410 Gone (deprecated); v2 endpoints require granular OAuth scopes acli doesn't request. API tokens via Basic auth bypass this with full user scope, so curl is the headless-friendly path for ops neither acli nor MCP can do.
|
|
439
472
|
|
|
473
|
+
## Repo scoping (multi-repo trackers)
|
|
474
|
+
|
|
475
|
+
A ticketing system can oversee **multiple repos** — e.g. one JIRA project (or Linear team) for `frontend`, `backend`, and `infrastructure`. When build-intake runs inside one repo, it must claim only the tickets that belong to **that** repo and skip the rest. Two pieces make this work; the claim-time enforcement lives in the `repo-scope-split` rule.
|
|
476
|
+
|
|
477
|
+
### The `repo:<name>` label (the repo marker)
|
|
478
|
+
|
|
479
|
+
A work item's target repo is recorded as a **label** `repo:<name>`, where `<name>` is the repo's short name (e.g. `repo:frontend`). The convention is uniform across trackers (JIRA / GitHub / Linear), consistent with the other namespaced labels (`status:`, `type:`, `component:`). On JIRA a **component** equal to the repo name is accepted as an alias (matches the legacy `component = "frontend"` JQL pattern). A leaf work unit carries **exactly one** `repo:<name>` (leaves are single-repo per `repo-scope-split`); a container (Epic/Story/Spike) may carry several or none.
|
|
480
|
+
|
|
481
|
+
The label is not required to exist up front: build-intake **determines** the target repo from the ticket's content + code surfaces when the label is absent and **stamps** `repo:<name>` so later cycles filter cheaply (see `repo-scope-split` "claim-time repo scoping").
|
|
482
|
+
|
|
483
|
+
### Current-repo resolution (which repo am I?)
|
|
484
|
+
|
|
485
|
+
Resolve the name of the repo intake is running in, highest priority first:
|
|
486
|
+
|
|
487
|
+
1. `.lisa.config.local.json` then `.lisa.config.json` `repo` (an explicit override, e.g. `"repo": "frontend"`).
|
|
488
|
+
2. `.lisa.config.json` `github.repo` when set (the repo's own identity).
|
|
489
|
+
3. The git remote basename: `basename -s .git "$(git remote get-url origin)"` (e.g. `git@github.com:acme/frontend.git` → `frontend`).
|
|
490
|
+
|
|
491
|
+
```bash
|
|
492
|
+
read_g() { local lv gv; lv=$(jq -r "$1 // empty" .lisa.config.local.json 2>/dev/null); gv=$(jq -r "$1 // empty" .lisa.config.json 2>/dev/null); echo "${lv:-${gv}}"; }
|
|
493
|
+
CURRENT_REPO=$(read_g '.repo')
|
|
494
|
+
[ -z "$CURRENT_REPO" ] && CURRENT_REPO=$(read_g '.github.repo')
|
|
495
|
+
[ -z "$CURRENT_REPO" ] && CURRENT_REPO=$(basename -s .git "$(git remote get-url origin 2>/dev/null)" 2>/dev/null)
|
|
496
|
+
```
|
|
497
|
+
|
|
498
|
+
If the current repo cannot be resolved by any tier, build-intake stops with a clear error rather than claiming tickets it cannot scope. The match is by repo short name (`repo:<CURRENT_REPO>`), case-insensitive.
|
|
499
|
+
|
|
440
500
|
## Invariants
|
|
441
501
|
|
|
442
502
|
- Project tracker selection is **persistent** within a project — always read from config, never infer from the shape of `$ARGUMENTS`. If a developer wants a different destination for one run, they edit `.lisa.config.local.json`.
|
|
@@ -67,11 +67,12 @@ Sequence:
|
|
|
67
67
|
2. `product-specialist` -- define user goals, user flows (Gherkin), acceptance criteria, error states, UX concerns, and out-of-scope items
|
|
68
68
|
3. **Edge Case Brainstorm sub-flow** -- run the PRD candidate through the edge-case checklist; fold accepted cases into acceptance criteria, out-of-scope, or open questions
|
|
69
69
|
4. `architecture-specialist` -- assess technical feasibility, identify constraints, map existing system boundaries
|
|
70
|
-
5. Synthesize findings into a PRD
|
|
70
|
+
5. Synthesize findings into a PRD containing: problem statement, user stories, acceptance criteria, technical constraints, open questions, and proposed scope
|
|
71
71
|
6. **Plan Phase Tooling** -- review all available skills and agents (project-defined, plugin-provided, and built-in) and determine which ones the Plan phase will need. For each recommended skill or agent, state why it is needed. If no skills or agents beyond the defaults are identified, explicitly justify why the standard set is sufficient. Include this as a "Recommended Tooling for Plan Phase" section in the PRD.
|
|
72
|
-
7. `
|
|
72
|
+
7. **Create the PRD in the configured source** -- invoke `lisa:prd-source-write` with the synthesized PRD (`title`, `body`, `initial_role` resolved from the caller's `prd_ready` flag — `draft` by default, `ready` when `prd_ready=true`, plus any `dedupe_key`/`marker`/`source_ref` the caller passed). The PRD **lives in the source** (Notion page / Confluence page / GitHub issue / Linear project per `.lisa.config.json` `source`); there is no separate document artifact. A `source` must be configured — if it is not, stop and report it. `prd-source-write` dedupes by marker, so re-running against the same idea references the existing PRD instead of creating a duplicate.
|
|
73
|
+
8. `learner` -- capture discoveries for future sessions
|
|
73
74
|
|
|
74
|
-
Output: A PRD
|
|
75
|
+
Output: A PRD created in the configured source, carrying a "Recommended Tooling for Plan Phase" section, in the `draft` role by default (or `ready` when `prd_ready=true`, so `lisa:intake` auto-claims it). If there is not enough context to produce a complete PRD, stop and report what is missing rather than creating an incomplete one. If no `source` is configured, stop and report it rather than emitting a loose document.
|
|
75
76
|
|
|
76
77
|
### Plan
|
|
77
78
|
|
|
@@ -108,9 +108,17 @@ The PRD never advances to `shipped` on its own authority — it is **derived** f
|
|
|
108
108
|
**`/lisa:verify` (one work item) vs `/lisa:verify-prd` (the whole initiative).** These are deliberately separate scopes:
|
|
109
109
|
|
|
110
110
|
- **`/lisa:verify`** empirically verifies a **single work item** (a ticket / story / sub-task) in its target environment as part of that item's Build/Fix/Improve flow. It is what drives a build ticket to its `done` state; it operates at the *leaf/build* level (see `leaf-only-lifecycle`). It does **not** read the PRD or judge initiative-level acceptance, and it is **not** replaced by PRD verification.
|
|
111
|
-
- **`/lisa:verify-prd`** is the **initiative-level acceptance gate**. It runs *after* the PRD is `shipped` (all generated top-level work terminal), reads the PRD and its generated child set, confirms the children are terminal, then runs spec-conformance against the original PRD requirements plus empirical verification of the shipped surface. On pass it transitions the PRD `shipped → verified` and posts evidence; on fail it
|
|
111
|
+
- **`/lisa:verify-prd`** is the **initiative-level acceptance gate**. It runs *after* the PRD is `shipped` (all generated top-level work terminal), reads the PRD and its generated child set, confirms the children are terminal, then runs spec-conformance against the original PRD requirements plus empirical verification of the shipped surface. On pass it transitions the PRD `shipped → verified` and posts evidence; on fail it **re-opens the PRD `shipped → ticketed`** (never `blocked`), creates **build-ready fix tickets** for the missing or incorrect behavior (registered as the PRD's generated work) and posts a product-readable failure report — the fix tickets auto-build, rollup re-ships the PRD once they are terminal, and a later cycle re-verifies (self-healing; see "Closing the loop" below). Re-runs are idempotent (no duplicate evidence, fix tickets, or lifecycle transitions).
|
|
112
112
|
|
|
113
|
-
**No extra failure states
|
|
113
|
+
**No extra failure states, and verification never uses `blocked`.** A failed PRD verification does **not** move the PRD to `blocked`; it re-opens the PRD `shipped → ticketed` and creates build-ready fix tickets (see "Closing the loop"), forming a self-healing loop rather than parking the PRD for a human. It introduces no `prd-verifying` or `prd-verification-failed` state — the lifecycle stays intentionally small, and `blocked` remains the *intake* (ready-stage validation) failure state, not the verification one. `verified` is terminal and product-owned (like `draft` and `shipped`); a PRD is never moved to `verified` solely because its tickets are closed, and a PRD is never closed/archived before verification has passed. The vendor maps for the `verified` role (`prd-verified` label for GitHub/Linear, `Verified` status for Notion, the verified parent page for Confluence) live in the `config-resolution` rule.
|
|
114
|
+
|
|
115
|
+
### Closing the loop: PRD intake dispatches `/lisa:verify-prd` for shipped PRDs
|
|
116
|
+
|
|
117
|
+
`shipped → verified` does not happen on its own — something has to run the acceptance gate. The PRD-intake scanners close that loop: in addition to the `ticketed → shipped` rollup, each PRD-intake cycle **dispatches `/lisa:verify-prd` for a shipped PRD** so a shipped PRD does not sit unverified forever. This is a **dispatch**, not a transition — the intake scanner still never *sets* the verification outcome itself; `/lisa:verify-prd` (which it invokes) performs the `shipped → verified` (pass) or, on fail, the `shipped → ticketed` re-open (it **never** uses `blocked`), with its own guard, evidence, and build-ready fix-ticket creation.
|
|
118
|
+
|
|
119
|
+
**The self-healing FAIL loop.** When verify-prd fails it re-opens the PRD `shipped → ticketed` and creates **build-ready** fix tickets (registered as the PRD's generated work). Because the fix tickets are build-ready they are auto-claimed by the build queue with no human promotion; once they reach terminal, the `ticketed → shipped` rollup (Phase 3f) re-ships the PRD, and the next cycle's verify dispatch (Phase 3g) re-verifies. PASS ends at `verified`; FAIL starts another round. The loop **never auto-halts** (the failure report carries a verification-round count for human visibility) and **never** parks the PRD in `blocked`.
|
|
120
|
+
|
|
121
|
+
Bounded, like the ready claim: `/lisa:verify-prd` is a heavy full flow (spec-conformance + empirical verification + fix-ticket creation), so a scanner verifies **one shipped PRD per cycle** and lets the scheduler drain the rest — the same one-item-per-cycle discipline the `ready` claim uses. After verify-prd runs, the PRD leaves `shipped` (to `verified` on pass, or `ticketed` on fail), so it is not re-picked by the shipped query that cycle; a PRD whose generated work is not actually terminal is guard-stopped by verify-prd and left `shipped` (verify-prd's gate, not the scanner's). A PRD that the project chose to close on ship (`*.rollup.closeOnShipped = true`) is out of the open verification queue — closing on ship is an explicit opt-out of the open loop. This dispatch is **behaviorally identical across all four PRD-intake skills** (the `github` / `linear` / `notion` / `confluence` `*-prd-intake` Phase 3g); only the `shipped`-role query surface differs.
|
|
114
122
|
|
|
115
123
|
## Idempotency dedupe key
|
|
116
124
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Leaf work units are single-repo. A **leaf work unit** is an individually implementable ticket with no child tickets — issue types **Bug, Task, Sub-task, Improvement**. Each must name exactly one repository. **Epic, Story, Spike** are coordination containers and may span repos.
|
|
4
4
|
|
|
5
|
-
This invariant is enforced at
|
|
5
|
+
This invariant is enforced at four points: gate **S10** in the `*-validate-*` skills (write time), `task-decomposition` step 1.5 (PRD-decomposition time), **claim-time repo scoping** in the build-intake skills (when intake decides whether to claim a ready ticket for the current repo — see below), and the work-time split procedure below (when an agent picks up an existing ticket to implement it).
|
|
6
6
|
|
|
7
7
|
## Two splitting strategies, by phase
|
|
8
8
|
|
|
@@ -32,6 +32,23 @@ Auto-split only when the split is unambiguous. Fall back to the standard BLOCK +
|
|
|
32
32
|
- Splitting would strand stakeholder context that only the reporter can re-scope (e.g. the acceptance criteria describe a single indivisible cross-repo behavior with no clean per-repo boundary).
|
|
33
33
|
- The metadata required to clone (parent, environment, credentials) is itself missing — block on the missing metadata first; do not propagate gaps into the siblings.
|
|
34
34
|
|
|
35
|
+
## Claim-time repo scoping (build-intake)
|
|
36
|
+
|
|
37
|
+
A ticketing system can oversee multiple repos (one JIRA project / Linear team for `frontend`, `backend`, `infrastructure`). When `lisa:*-build-intake` runs inside one repo, it claims only tickets for **that** repo — it never pulls a ready ticket meant for a sibling repo. This is the fourth enforcement point of the single-repo-leaf invariant; it runs in each vendor build-intake's claim gate (Phase 3a), **before** the leaf-only container gate and the claim.
|
|
38
|
+
|
|
39
|
+
Resolve the current repo per the `config-resolution` "Repo scoping" section (config `repo` → `github.repo` → git remote basename; stop with a clear error if unresolvable). Then walk the ready candidates in priority order and apply the **repo-scope decision** to each before claiming:
|
|
40
|
+
|
|
41
|
+
1. **Read the candidate's repo marker** — the `repo:<name>` label (JIRA: also a component equal to a repo name).
|
|
42
|
+
- **Labeled for another repo** → **skip** cheaply (do not claim, do not re-determine); it stays `ready` for that repo's own intake. Move to the next candidate.
|
|
43
|
+
- **Labeled for the current repo** → proceed to the leaf-only gate + claim (the cheap, common path once labels exist).
|
|
44
|
+
- **Unlabeled** → **determine** the target repo(s) from the ticket (description, acceptance criteria, technical approach) confirmed against the actual code surfaces the change requires — the same detection as step 1 of the work-time split. Then **stamp** the resolved `repo:<name>` label(s) so future cycles filter cheaply, and re-apply this decision with the now-known repo.
|
|
45
|
+
2. **Multi-repo leaf → split, never claim.** If determination finds the leaf touches more than one repo, run the **work-time split procedure** below to break it into single-repo siblings — each created **build-ready** (`build_ready: true`, so the build queue auto-claims it) and stamped with its own `repo:<name>`. After the split, the current repo's sibling (if any) becomes a normal current-repo candidate; the others are separate single-repo `ready` leaves for their repos. A multi-repo leaf is never claimed as-is.
|
|
46
|
+
3. **Wrong repo → skip.** A single-repo leaf whose `repo:<name>` ≠ the current repo is left `ready` (and labeled) and skipped; intake moves on until it finds a claimable current-repo leaf, then stops (one item per cycle).
|
|
47
|
+
|
|
48
|
+
**Cost.** Only **unlabeled** candidates need content determination; once stamped, wrong-repo candidates are skipped by label alone. Prefer candidates already labeled `repo:<current>` first (cheap claim), falling through to unlabeled candidates (determine + stamp) only when no pre-labeled current-repo leaf is ready.
|
|
49
|
+
|
|
50
|
+
A container (Epic/Story/Spike) is handled by the leaf-only gate, not here — containers may span repos and are never claimed/built directly.
|
|
51
|
+
|
|
35
52
|
## Vendor mechanics
|
|
36
53
|
|
|
37
54
|
The procedure is vendor-neutral; the create + link + edit mechanics differ:
|
|
@@ -108,7 +108,7 @@ draft → ready → in_review → blocked | ticketed → shipped → verified
|
|
|
108
108
|
|
|
109
109
|
(Each role corresponds to a dedicated parent page; the `verified` parent is resolved from `confluence.parents.verified`.)
|
|
110
110
|
|
|
111
|
-
`verified` is the terminal state after `shipped`: it means the shipped product has been empirically checked against the PRD (set by `/lisa:verify-prd`, not by this intake skill). A failed post-ship verification re-parents
|
|
111
|
+
`verified` is the terminal state after `shipped`: it means the shipped product has been empirically checked against the PRD (set by `/lisa:verify-prd`, not by this intake skill). A failed post-ship verification does **not** use `blocked`; `/lisa:verify-prd` re-parents the PRD `shipped → ticketed` and creates build-ready fix tickets that auto-build and trigger a re-verify (the self-healing loop), introducing no `verifying` / `verification-failed` parent. Like `draft` and `shipped`, `verified` is **product-owned** — this intake skill never re-parents a PRD into or out of the `verified` parent. See the "PRD-level verification vs ticket verification" section of the `prd-lifecycle-rollup` rule.
|
|
112
112
|
|
|
113
113
|
A PRD's current state is determined entirely by which lifecycle parent it sits under. Re-parenting is the transition.
|
|
114
114
|
|
|
@@ -352,6 +352,16 @@ The set of **required** children for the all-terminal check is the top-level chi
|
|
|
352
352
|
|
|
353
353
|
This phase implements exactly one PRD-lifecycle hop — `ticketed → shipped` — and the optional config-gated archive that follows it. All terminal-state semantics, the generated-top-level-work boundary, and the dedupe-by-child-ref idempotency come from the `prd-lifecycle-rollup` rule; this skill is its Confluence implementation, not a second source of truth.
|
|
354
354
|
|
|
355
|
+
#### 3g. PRD verification dispatch (close the loop on shipped PRDs)
|
|
356
|
+
|
|
357
|
+
`shipped` and `verified` are distinct facts about a PRD (see the `prd-lifecycle-rollup` rule's "PRD-level verification vs ticket verification" and "Closing the loop" sections). Rollup (3f) only reaches the shipped parent; the `shipped → verified` (pass) / `shipped → ticketed` (fail) hops are owned by `/lisa:verify-prd`. This phase **closes that loop** by dispatching the initiative-level acceptance gate for shipped PRDs. It never performs the verification transition itself — the "never sets the verification outcome" invariant holds: `lisa:verify-prd`, not this skill, sets `verified` (or, on failure, re-opens the PRD to `ticketed`).
|
|
358
|
+
|
|
359
|
+
Re-query the PRDs currently parented under the shipped lifecycle parent via `lisa:atlassian-access` `operation: read-page-descendants id: <confluence.parents.shipped>`. Pick the **first** one and invoke `lisa:verify-prd <page-url>`. Process **one shipped PRD per cycle** — `lisa:verify-prd` is a heavy full flow (spec-conformance + empirical verification + fix-issue creation), so it is bounded exactly like the single-ready-PRD claim in Phase 3; the scheduler drains the rest.
|
|
360
|
+
|
|
361
|
+
**Per-cycle combined bound:** each scheduler cycle dispatches at most one ready PRD (the Phase 3 single-ready-PRD claim) **and** at most one shipped PRD for verification (this Phase 3g dispatch), for a maximum of two PRD operations per cycle. Ready intake runs first (Phase 3), then shipped verify (Phase 3g).
|
|
362
|
+
|
|
363
|
+
`lisa:verify-prd` owns the outcome: on a CONFORMS verdict with all empirical checks passing it transitions the PRD to the verified parent and posts evidence; on a conformance miss or a failing/unavailable check it **re-parents the PRD shipped → ticketed** (never the blocked parent) and creates **build-ready** fix tickets registered as the PRD's generated work, then posts a failure report — the fix tickets auto-build, rollup (3f) re-ships the PRD once they are terminal, and a later cycle re-verifies (the self-healing loop). Either branch moves the PRD out of the shipped parent, so it is not re-picked this cycle; a PRD whose generated work is not actually terminal is guard-stopped by `lisa:verify-prd` (left under shipped) — that is verify-prd's gate, not this skill's. A PRD archived on ship (`confluence.rollup.closeOnShipped = true`) is out of the open verification queue. This phase, like 3f, is **behaviorally identical across all four intake skills** (`github-prd-intake`, `linear-prd-intake`, `notion-prd-intake`, `confluence-prd-intake`) — only the `$SHIPPED` query surface differs; keep them aligned. Record the dispatched PRD + verify-prd's verdict in the summary.
|
|
364
|
+
|
|
355
365
|
### Phase 4 — Summary report
|
|
356
366
|
|
|
357
367
|
After processing the single selected PRD, emit a summary:
|