@tarcisiopgs/lisa 1.33.2 → 1.34.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 +37 -5
- package/dist/{chunk-TFSN45HD.js → chunk-2DONWCCQ.js} +4054 -3950
- package/dist/{chunk-KO5JN57P.js → chunk-5FODVMWF.js} +409 -25
- package/dist/{chunk-MAT63YLV.js → chunk-S2PRXET6.js} +20 -4
- package/dist/{chunk-PPRXJHPW.js → chunk-V44FTYWZ.js} +7 -1
- package/dist/index.js +83 -36
- package/dist/{kanban-MKRXRMTL.js → kanban-CRHTDRBU.js} +13 -3
- package/dist/{loop-ZXNFUM5M.js → loop-D4AKZUXG.js} +3 -3
- package/dist/{tui-bridge-XTNCKLXF.js → tui-bridge-6C4IRKUQ.js} +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ lisa # start the agent loop
|
|
|
28
28
|
## How It Works
|
|
29
29
|
|
|
30
30
|
```
|
|
31
|
-
Plan → Create issues → Fetch → Implement → Push → Open PR → Update board → Next
|
|
31
|
+
Plan → Create issues → Fetch → Implement → Push → Open PR → CI Monitor → Review Monitor → Update board → Next
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
Lisa starts and shows a Kanban board. If the queue is empty, press `n` to plan — describe a goal and the AI brainstorms with you (asking clarifying questions), presents its understanding for your confirmation, then decomposes the goal into atomic issues created directly in your tracker. You can review, edit, reorder, delete, or regenerate the plan with feedback before approving. Press `r` to start processing. Lisa picks the highest-priority labeled issue, moves it to "In Progress", sends a structured prompt to the AI agent, and monitors execution. The agent works in an isolated git worktree, implements the change, runs tests, and commits. Lisa pushes, opens a PR, moves the ticket to "In Review", and picks up the next one.
|
|
@@ -47,11 +47,16 @@ If something fails — pre-push hooks, quota limits, stuck processes — Lisa ha
|
|
|
47
47
|
- **Model fallback** — chain models; transient errors (429, quota, timeout) auto-switch to the next
|
|
48
48
|
- **Real-time TUI** — Kanban board with live provider output, plan mode, merge PRs with `m`
|
|
49
49
|
- **CI monitoring** — polls CI after PR creation, re-invokes the agent to fix failures automatically
|
|
50
|
+
- **Review monitoring** — polls PR reviews after CI, auto-addresses reviewer feedback (GitHub)
|
|
51
|
+
- **Reaction engine** — configurable actions for CI failures, review changes, stuck agents
|
|
52
|
+
- **Session state tracking** — real-time visibility into agent pipeline phase (implementing → validating → CI → review)
|
|
53
|
+
- **Smart activity detection** — reads agent session logs to prevent false stuck kills during analysis phases
|
|
50
54
|
- **Progress comments** — posts real-time status updates on issues as Lisa works through stages
|
|
51
55
|
- **Context enrichment** — greps for issue-related files and surfaces them in the agent prompt
|
|
52
56
|
- **PR reviewers & assignees** — auto-request reviews and assign PRs via config; `self` keyword resolves to the authenticated user
|
|
53
57
|
- **Self-healing** — orphan recovery on startup, push failure retry, stuck process detection
|
|
54
58
|
- **Guardrails** — past failures are injected into future prompts to avoid repeating mistakes
|
|
59
|
+
- **Lineage context** — plan-decomposed issues get sibling task awareness, preventing duplicate work in concurrent mode
|
|
55
60
|
- **Project context** — auto-generates `.lisa/context.md` with your stack, conventions, and constraints
|
|
56
61
|
|
|
57
62
|
## Providers
|
|
@@ -109,6 +114,7 @@ lisa config --set loop.cooldown=5 # set nested config values
|
|
|
109
114
|
lisa doctor # diagnose setup issues (config, provider, env, git)
|
|
110
115
|
lisa context refresh # regenerate project context
|
|
111
116
|
lisa feedback --pr URL # inject PR review feedback into guardrails
|
|
117
|
+
lisa sessions # list active session states (supports --json)
|
|
112
118
|
```
|
|
113
119
|
|
|
114
120
|
Append `--json` to any command for machine-readable output. Use `--verbose` / `--quiet` to control log verbosity.
|
|
@@ -252,6 +258,31 @@ ci_monitor:
|
|
|
252
258
|
poll_timeout: 600 # max seconds to wait for CI
|
|
253
259
|
block_on_failure: false # revert issue if CI never passes
|
|
254
260
|
|
|
261
|
+
# Post-PR review monitoring (GitHub only)
|
|
262
|
+
review_monitor:
|
|
263
|
+
enabled: true
|
|
264
|
+
max_retries: 2 # fix attempts on review changes (default: 2)
|
|
265
|
+
poll_interval: 60 # seconds between review checks (default: 60)
|
|
266
|
+
poll_timeout: 3600 # max seconds to wait for review (default: 3600)
|
|
267
|
+
|
|
268
|
+
# Configurable reactions (override defaults)
|
|
269
|
+
reactions:
|
|
270
|
+
ci_failed:
|
|
271
|
+
action: reinvoke # reinvoke | notify | skip
|
|
272
|
+
max_retries: 3
|
|
273
|
+
escalate_after: 30m
|
|
274
|
+
changes_requested:
|
|
275
|
+
action: reinvoke
|
|
276
|
+
max_retries: 2
|
|
277
|
+
escalate_after: 1h
|
|
278
|
+
approved:
|
|
279
|
+
action: notify
|
|
280
|
+
agent_stuck:
|
|
281
|
+
action: notify
|
|
282
|
+
validation_failed:
|
|
283
|
+
action: reinvoke
|
|
284
|
+
max_retries: 2
|
|
285
|
+
|
|
255
286
|
progress_comments:
|
|
256
287
|
enabled: true # post real-time status on issues
|
|
257
288
|
|
|
@@ -275,7 +306,7 @@ hooks:
|
|
|
275
306
|
After the agent implements an issue, Lisa runs a multi-stage validation pipeline before creating a PR:
|
|
276
307
|
|
|
277
308
|
```
|
|
278
|
-
Agent implements → Proof of Work (lint/test/typecheck) → Spec Compliance → PR
|
|
309
|
+
Agent implements → Proof of Work (lint/test/typecheck) → Spec Compliance → PR → CI Monitor → Review Monitor
|
|
279
310
|
```
|
|
280
311
|
|
|
281
312
|
**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.
|
|
@@ -318,9 +349,10 @@ The real-time Kanban board shows issue progress, streams provider output, and de
|
|
|
318
349
|
| Key | Action | Key | Action |
|
|
319
350
|
|-----|--------|-----|--------|
|
|
320
351
|
| `←` `→` | Switch columns | `k` | Kill current issue |
|
|
321
|
-
| `↑` `↓` | Navigate cards | `
|
|
322
|
-
| `↵` | Open detail view | `
|
|
323
|
-
| `p` | Pause / resume | `
|
|
352
|
+
| `↑` `↓` | Navigate cards | `s` | Skip current issue |
|
|
353
|
+
| `↵` | Open detail view | `n` | Open plan mode |
|
|
354
|
+
| `p` | Pause / resume | `r` | Run (from idle) |
|
|
355
|
+
| `m` | Merge PR (opens detail + triggers merge) | `q` | Quit |
|
|
324
356
|
|
|
325
357
|
**Detail view**
|
|
326
358
|
|