@codyswann/lisa 4.22.13 → 4.23.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.
Files changed (76) hide show
  1. package/all/copy-overwrite/scripts/lib/process-tree-runner.mjs +45 -15
  2. package/all/copy-overwrite/scripts/lisa-hooks/sonar-secrets.sh +8 -4
  3. package/all/copy-overwrite/scripts/lisa-work-item.mjs +193 -8
  4. package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
  5. package/dist/core/lisa-owned-hash-ledger.js +10 -0
  6. package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
  7. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  8. package/dist/core/nightly-e2e-guard-behavior-certificate.js.map +1 -1
  9. package/dist/core/upstream-evidence-manifest.js +6 -6
  10. package/package.json +3 -3
  11. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  12. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  13. package/plugins/lisa/.codex-plugin/skills/lisa-drive-pr-to-merge/SKILL.md +7 -2
  14. package/plugins/lisa/.codex-plugin/skills/lisa-linear-evidence/SKILL.md +13 -3
  15. package/plugins/lisa/hooks/sonar-secrets.sh +8 -4
  16. package/plugins/lisa/skills/lisa-drive-pr-to-merge/SKILL.md +7 -2
  17. package/plugins/lisa/skills/lisa-linear-evidence/SKILL.md +13 -3
  18. package/plugins/lisa-agy/plugin.json +1 -1
  19. package/plugins/lisa-agy/skills/lisa-drive-pr-to-merge/SKILL.md +7 -2
  20. package/plugins/lisa-agy/skills/lisa-linear-evidence/SKILL.md +13 -3
  21. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  22. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  23. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  24. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  25. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  26. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  27. package/plugins/lisa-copilot/hooks/sonar-secrets.sh +8 -4
  28. package/plugins/lisa-copilot/skills/lisa-drive-pr-to-merge/SKILL.md +7 -2
  29. package/plugins/lisa-copilot/skills/lisa-linear-evidence/SKILL.md +13 -3
  30. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  31. package/plugins/lisa-cursor/hooks/sonar-secrets.sh +8 -4
  32. package/plugins/lisa-cursor/skills/lisa-drive-pr-to-merge/SKILL.md +7 -2
  33. package/plugins/lisa-cursor/skills/lisa-linear-evidence/SKILL.md +13 -3
  34. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  35. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  36. package/plugins/lisa-expo-agy/plugin.json +1 -1
  37. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  38. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  39. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  40. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  41. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  42. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  43. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  44. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  45. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  46. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  47. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  48. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  49. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  50. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  51. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  52. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  53. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  54. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  55. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  56. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  57. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  58. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  59. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  60. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  61. package/plugins/lisa-rails-agy/plugin.json +1 -1
  62. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  63. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  64. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  65. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  66. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  67. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  68. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  69. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  70. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  71. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  72. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  73. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  74. package/plugins/src/base/hooks/sonar-secrets.sh +8 -4
  75. package/plugins/src/base/skills/lisa-drive-pr-to-merge/SKILL.md +7 -2
  76. package/plugins/src/base/skills/lisa-linear-evidence/SKILL.md +13 -3
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.22.13",
3
+ "version": "4.23.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.22.13",
3
+ "version": "4.23.0",
4
4
  "description": "TypeScript-specific hooks for formatting, linting, and ast-grep scanning on edit.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.22.13",
3
+ "version": "4.23.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.22.13",
3
+ "version": "4.23.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.22.13",
3
+ "version": "4.23.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.22.13",
3
+ "version": "4.23.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.22.13",
3
+ "version": "4.23.0",
4
4
  "description": "Distributable LLM Wiki kernel — ingest, query, lint, and maintain a git-native markdown knowledge base across Claude and Codex.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.22.13",
3
+ "version": "4.23.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.22.13",
3
+ "version": "4.23.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.22.13",
3
+ "version": "4.23.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -53,10 +53,14 @@ set -uo pipefail
53
53
  # costing re-runs (CodySwannGT/lisa#2949).
54
54
  #
55
55
  # Reading first is the fix that also covers real callers, rather than only the
56
- # tests: every exit below now happens after stdin has reached EOF. The same
57
- # obligation is discharged as an explicit `cat >/dev/null` drain in
58
- # install-pkgs.sh and setup-jira-cli.sh, which never use the payload at all.
59
- payload="$(cat)"
56
+ # tests: every exit below now happens after stdin has reached EOF. Use Bash's
57
+ # `read` builtin instead of `cat`: the no-CLI path deliberately works with a
58
+ # PATH that contains no executables, and making the drain depend on PATH removes
59
+ # the drain at exactly the moment this wrapper is proving `sonar` is absent
60
+ # (CodySwannGT/lisa#3308). An empty delimiter means "read through NUL or EOF";
61
+ # hook envelopes contain no NUL, so the non-zero EOF result is expected.
62
+ payload=""
63
+ IFS= read -r -d '' payload || true
60
64
 
61
65
  event="${1:-}"
62
66
  [[ -n "$event" ]] || exit 0
@@ -526,11 +526,16 @@ merge, confirming that sync ran satisfies this step.
526
526
  Run this once the PR reports `MERGED` and the ancestry check has passed:
527
527
 
528
528
  ```
529
- node scripts/lisa-work-item.mjs complete --ref <work-item>
529
+ node scripts/lisa-work-item.mjs complete --ref <work-item> --pr-url <merged-pr-url>
530
530
  ```
531
531
 
532
532
  resolving the script the usual three ways (installed package, host `scripts/`,
533
- this repo's own tree).
533
+ this repo's own tree). Always pass the canonical GitHub pull-request URL shown
534
+ by the merge read. The Linear writer requires that exact evidence, verifies the
535
+ pull request is merged in the current repository, confirms the managed tracker
536
+ backlink, writes the team's resolved completed-type state, and immediately
537
+ rereads the issue before reporting success. The GitHub writer accepts the same
538
+ invocation, so this command does not need a tracker-specific branch.
534
539
 
535
540
  **This step exists because the previous arrangement did not work, measured.**
536
541
  The instruction to move a work item to its terminal role lived in
@@ -17,11 +17,21 @@ Resolve every lifecycle role through the shared resolver — never an inlined `r
17
17
  ```bash
18
18
  resolve() { # role, intent -> value on stdout; empty when an optional role is unset
19
19
  node "${CLAUDE_PLUGIN_ROOT}/scripts/resolve-lifecycle-role.mjs" \
20
- --role "$1" --vendor linear --intent "${2:-read}" 2>/dev/null
20
+ --role "$1" --vendor linear --intent "${2:-read}"
21
21
  }
22
22
 
23
- CLAIMED=$(resolve claimed write)
24
- REVIEW=$(resolve review write)
23
+ CLAIMED=$(resolve claimed write) || {
24
+ echo "ERROR: failed to resolve the required Linear claimed role" >&2
25
+ exit 1
26
+ }
27
+ [ -n "$CLAIMED" ] || {
28
+ echo "ERROR: the required Linear claimed role resolved empty" >&2
29
+ exit 1
30
+ }
31
+ REVIEW=$(resolve review write) || {
32
+ echo "ERROR: failed to resolve the optional Linear review role" >&2
33
+ exit 1
34
+ }
25
35
  ```
26
36
 
27
37
  **`review` is OPTIONAL and has no default.** An empty `REVIEW` means the project does not run an agent review step, and this skill **skips the transition entirely**, leaving the Issue in `claimed` — the same behaviour `lisa-jira-evidence/scripts/post-evidence.sh` has always had. Do not substitute `In Review`, and do not fall back to a state resolved by `type` or board position: a fallback may inform a read but must never supply a write target (`config-resolution`, R2). Resolving a state nobody configured is how agents reach human-only review lanes.