@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.
- package/all/copy-overwrite/scripts/lib/process-tree-runner.mjs +45 -15
- package/all/copy-overwrite/scripts/lisa-hooks/sonar-secrets.sh +8 -4
- package/all/copy-overwrite/scripts/lisa-work-item.mjs +193 -8
- package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.js +10 -0
- package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/nightly-e2e-guard-behavior-certificate.js.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +6 -6
- package/package.json +3 -3
- 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-drive-pr-to-merge/SKILL.md +7 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-evidence/SKILL.md +13 -3
- package/plugins/lisa/hooks/sonar-secrets.sh +8 -4
- package/plugins/lisa/skills/lisa-drive-pr-to-merge/SKILL.md +7 -2
- package/plugins/lisa/skills/lisa-linear-evidence/SKILL.md +13 -3
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-drive-pr-to-merge/SKILL.md +7 -2
- package/plugins/lisa-agy/skills/lisa-linear-evidence/SKILL.md +13 -3
- 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-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/hooks/sonar-secrets.sh +8 -4
- package/plugins/lisa-copilot/skills/lisa-drive-pr-to-merge/SKILL.md +7 -2
- package/plugins/lisa-copilot/skills/lisa-linear-evidence/SKILL.md +13 -3
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/hooks/sonar-secrets.sh +8 -4
- package/plugins/lisa-cursor/skills/lisa-drive-pr-to-merge/SKILL.md +7 -2
- package/plugins/lisa-cursor/skills/lisa-linear-evidence/SKILL.md +13 -3
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- 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-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-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-agy/plugin.json +1 -1
- package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-cursor/.claude-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-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- 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-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/src/base/hooks/sonar-secrets.sh +8 -4
- package/plugins/src/base/skills/lisa-drive-pr-to-merge/SKILL.md +7 -2
- package/plugins/src/base/skills/lisa-linear-evidence/SKILL.md +13 -3
|
@@ -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.
|
|
57
|
-
#
|
|
58
|
-
#
|
|
59
|
-
|
|
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}"
|
|
20
|
+
--role "$1" --vendor linear --intent "${2:-read}"
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
CLAIMED=$(resolve claimed write)
|
|
24
|
-
|
|
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.
|