@tarcisiopgs/lisa 1.29.0 → 1.31.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/README.md CHANGED
@@ -40,11 +40,15 @@ If something fails — pre-push hooks, quota limits, stuck processes — Lisa ha
40
40
  - **7 issue trackers** — Linear, GitHub Issues, GitLab Issues, Jira, Trello, Plane, Shortcut
41
41
  - **8 AI agents** — Claude Code, Gemini CLI, GitHub Copilot CLI, Cursor Agent, Aider, Goose, OpenCode, Codex
42
42
  - **AI planning** — describe a goal, the AI brainstorms with you, decomposes it into issues with dependencies, created in your tracker
43
- - **Language-aware** — detects your goal's language (pt/en/es) and generates issues in the same language
43
+ - **Language-aware** — responds in the same language you write your goal in
44
+ - **Spec compliance** — LLM-verified acceptance criteria check before PR creation, with auto-retry
44
45
  - **Concurrent execution** — process multiple issues in parallel, each in its own worktree
45
46
  - **Multi-repo** — plans across repos, creates one PR per repo in the correct order
46
47
  - **Model fallback** — chain models; transient errors (429, quota, timeout) auto-switch to the next
47
- - **Real-time TUI** — Kanban board with live provider output, plan mode, PR merge detection
48
+ - **Real-time TUI** — Kanban board with live provider output, plan mode, merge PRs with `m`
49
+ - **CI monitoring** — polls CI after PR creation, re-invokes the agent to fix failures automatically
50
+ - **Progress comments** — posts real-time status updates on issues as Lisa works through stages
51
+ - **Context enrichment** — greps for issue-related files and surfaces them in the agent prompt
48
52
  - **Self-healing** — orphan recovery on startup, push failure retry, stuck process detection
49
53
  - **Guardrails** — past failures are injected into future prompts to avoid repeating mistakes
50
54
  - **Project context** — auto-generates `.lisa/context.md` with your stack, conventions, and constraints
@@ -98,6 +102,9 @@ lisa plan --no-brainstorm "goal" # skip brainstorming, decompose directly
98
102
  lisa plan --yes "goal" # skip confirmations (CI/scripts)
99
103
  lisa init # create .lisa/config.yaml interactively
100
104
  lisa status # show session stats
105
+ lisa config --show # print current config
106
+ lisa config --get loop.cooldown # query a specific value
107
+ lisa config --set loop.cooldown=5 # set nested config values
101
108
  lisa doctor # diagnose setup issues (config, provider, env, git)
102
109
  lisa context refresh # regenerate project context
103
110
  lisa feedback --pr URL # inject PR review feedback into guardrails
@@ -231,10 +238,49 @@ proof_of_work:
231
238
 
232
239
  validation:
233
240
  require_acceptance_criteria: true
241
+
242
+ spec_compliance:
243
+ enabled: true
244
+ max_retries: 1 # retry agent to fix unmet criteria (default: 1)
245
+ block_on_failure: true # skip PR when criteria aren't met (default: false)
246
+
247
+ ci_monitor:
248
+ enabled: true
249
+ max_retries: 3 # fix attempts on CI failure
250
+ poll_interval: 30 # seconds between CI status checks
251
+ poll_timeout: 600 # max seconds to wait for CI
252
+ block_on_failure: false # revert issue if CI never passes
253
+
254
+ progress_comments:
255
+ enabled: true # post real-time status on issues
256
+
257
+ hooks:
258
+ before_run: "./scripts/setup.sh"
259
+ after_run: "./scripts/cleanup.sh"
260
+ timeout: 60000 # ms, default 60000
234
261
  ```
235
262
 
236
263
  </details>
237
264
 
265
+ ## Validation Pipeline
266
+
267
+ After the agent implements an issue, Lisa runs a multi-stage validation pipeline before creating a PR:
268
+
269
+ ```
270
+ Agent implements → Proof of Work (lint/test/typecheck) → Spec Compliance → PR
271
+ ```
272
+
273
+ **Proof of Work** runs configured shell commands (lint, typecheck, test). If any fail, the agent is re-invoked with the error output to fix the issue.
274
+
275
+ **Spec Compliance** extracts acceptance criteria from the issue description (`- [ ]` checklists) and asks the LLM to verify each one against the git diff. The result is a structured JSON with met/not-met verdicts and evidence. If criteria are unmet, the agent is re-invoked to fix them. Results are appended to the PR body as a Markdown table:
276
+
277
+ | Criterion | Status | Evidence |
278
+ |-----------|--------|----------|
279
+ | Returns 429 on rate limit | Met | Rate limit middleware returns 429 |
280
+ | Headers include X-RateLimit | Not Met | No header injection found |
281
+
282
+ Both stages support `max_retries` and `block_on_failure` — when blocking is enabled, the PR is skipped entirely on failure.
283
+
238
284
  ## Writing Good Issues
239
285
 
240
286
  Issue quality = PR quality. Lisa validates issues and skips vague ones (labeling them `needs-spec`).
@@ -274,17 +320,26 @@ The real-time Kanban board shows issue progress, streams provider output, and de
274
320
  |-----|--------|
275
321
  | `↑` `↓` | Scroll output log |
276
322
  | `o` | Open PR in browser |
323
+ | `m` | Merge PR (warns if CI not passed) |
277
324
  | `Esc` | Back to board |
278
325
 
279
- **Plan mode**
326
+ **Plan chat**
327
+
328
+ | Key | Action |
329
+ |-----|--------|
330
+ | `↵` | Send message |
331
+ | `↑` `↓` | Scroll chat history |
332
+ | `Esc` | Cancel |
333
+
334
+ **Plan review**
280
335
 
281
336
  | Key | Action |
282
337
  |-----|--------|
283
- | `↵` | Send message / view detail |
338
+ | `↵` | View issue detail |
284
339
  | `e` | Edit issue in $EDITOR |
285
340
  | `d` | Delete issue |
286
341
  | `a` | Approve and create issues |
287
- | `Esc` | Cancel / back |
342
+ | `Esc` | Back |
288
343
 
289
344
  In CLI mode, the plan wizard also offers **Regenerate with feedback** — describe what to change and the AI regenerates the entire plan incorporating your feedback.
290
345