@codyswann/lisa 4.22.7 → 4.22.8

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 (137) hide show
  1. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  2. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  3. package/dist/core/upstream-evidence-manifest.js +20 -12
  4. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  5. package/dist/sync/lifecycle-defaults.d.ts +21 -0
  6. package/dist/sync/lifecycle-defaults.d.ts.map +1 -1
  7. package/dist/sync/lifecycle-defaults.js +21 -1
  8. package/dist/sync/lifecycle-defaults.js.map +1 -1
  9. package/dist/sync/registry.d.ts.map +1 -1
  10. package/dist/sync/registry.js +7 -1
  11. package/dist/sync/registry.js.map +1 -1
  12. package/package.json +3 -3
  13. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  14. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  15. package/plugins/lisa/.codex-plugin/skills/lisa-github-build-intake/SKILL.md +6 -5
  16. package/plugins/lisa/.codex-plugin/skills/lisa-github-prd-intake/SKILL.md +6 -5
  17. package/plugins/lisa/.codex-plugin/skills/lisa-github-sync/SKILL.md +2 -0
  18. package/plugins/lisa/.codex-plugin/skills/lisa-github-write-prd/SKILL.md +7 -3
  19. package/plugins/lisa/.codex-plugin/skills/lisa-jira-build-intake/SKILL.md +6 -5
  20. package/plugins/lisa/.codex-plugin/skills/lisa-jira-sync/SKILL.md +3 -1
  21. package/plugins/lisa/.codex-plugin/skills/lisa-linear-build-intake/SKILL.md +6 -5
  22. package/plugins/lisa/.codex-plugin/skills/lisa-linear-evidence/SKILL.md +12 -11
  23. package/plugins/lisa/.codex-plugin/skills/lisa-linear-prd-intake/SKILL.md +6 -5
  24. package/plugins/lisa/.codex-plugin/skills/lisa-linear-sync/SKILL.md +36 -20
  25. package/plugins/lisa/.codex-plugin/skills/lisa-tracker-sync/SKILL.md +22 -2
  26. package/plugins/lisa/rules/reference/config-resolution.md +30 -3
  27. package/plugins/lisa/scripts/resolve-lifecycle-role.mjs +340 -0
  28. package/plugins/lisa/skills/lisa-github-build-intake/SKILL.md +6 -5
  29. package/plugins/lisa/skills/lisa-github-prd-intake/SKILL.md +6 -5
  30. package/plugins/lisa/skills/lisa-github-sync/SKILL.md +2 -0
  31. package/plugins/lisa/skills/lisa-github-write-prd/SKILL.md +7 -3
  32. package/plugins/lisa/skills/lisa-jira-build-intake/SKILL.md +6 -5
  33. package/plugins/lisa/skills/lisa-jira-sync/SKILL.md +3 -1
  34. package/plugins/lisa/skills/lisa-linear-build-intake/SKILL.md +6 -5
  35. package/plugins/lisa/skills/lisa-linear-evidence/SKILL.md +12 -11
  36. package/plugins/lisa/skills/lisa-linear-prd-intake/SKILL.md +6 -5
  37. package/plugins/lisa/skills/lisa-linear-sync/SKILL.md +36 -20
  38. package/plugins/lisa/skills/lisa-tracker-sync/SKILL.md +22 -2
  39. package/plugins/lisa-agy/plugin.json +1 -1
  40. package/plugins/lisa-agy/scripts/resolve-lifecycle-role.mjs +340 -0
  41. package/plugins/lisa-agy/skills/lisa-github-build-intake/SKILL.md +6 -5
  42. package/plugins/lisa-agy/skills/lisa-github-prd-intake/SKILL.md +6 -5
  43. package/plugins/lisa-agy/skills/lisa-github-sync/SKILL.md +2 -0
  44. package/plugins/lisa-agy/skills/lisa-github-write-prd/SKILL.md +7 -3
  45. package/plugins/lisa-agy/skills/lisa-jira-build-intake/SKILL.md +6 -5
  46. package/plugins/lisa-agy/skills/lisa-jira-sync/SKILL.md +3 -1
  47. package/plugins/lisa-agy/skills/lisa-linear-build-intake/SKILL.md +6 -5
  48. package/plugins/lisa-agy/skills/lisa-linear-evidence/SKILL.md +12 -11
  49. package/plugins/lisa-agy/skills/lisa-linear-prd-intake/SKILL.md +6 -5
  50. package/plugins/lisa-agy/skills/lisa-linear-sync/SKILL.md +36 -20
  51. package/plugins/lisa-agy/skills/lisa-tracker-sync/SKILL.md +22 -2
  52. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  53. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  54. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  55. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  56. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  57. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  58. package/plugins/lisa-copilot/rules/reference/config-resolution.md +30 -3
  59. package/plugins/lisa-copilot/scripts/resolve-lifecycle-role.mjs +340 -0
  60. package/plugins/lisa-copilot/skills/lisa-github-build-intake/SKILL.md +6 -5
  61. package/plugins/lisa-copilot/skills/lisa-github-prd-intake/SKILL.md +6 -5
  62. package/plugins/lisa-copilot/skills/lisa-github-sync/SKILL.md +2 -0
  63. package/plugins/lisa-copilot/skills/lisa-github-write-prd/SKILL.md +7 -3
  64. package/plugins/lisa-copilot/skills/lisa-jira-build-intake/SKILL.md +6 -5
  65. package/plugins/lisa-copilot/skills/lisa-jira-sync/SKILL.md +3 -1
  66. package/plugins/lisa-copilot/skills/lisa-linear-build-intake/SKILL.md +6 -5
  67. package/plugins/lisa-copilot/skills/lisa-linear-evidence/SKILL.md +12 -11
  68. package/plugins/lisa-copilot/skills/lisa-linear-prd-intake/SKILL.md +6 -5
  69. package/plugins/lisa-copilot/skills/lisa-linear-sync/SKILL.md +36 -20
  70. package/plugins/lisa-copilot/skills/lisa-tracker-sync/SKILL.md +22 -2
  71. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  72. package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +30 -3
  73. package/plugins/lisa-cursor/scripts/resolve-lifecycle-role.mjs +340 -0
  74. package/plugins/lisa-cursor/skills/lisa-github-build-intake/SKILL.md +6 -5
  75. package/plugins/lisa-cursor/skills/lisa-github-prd-intake/SKILL.md +6 -5
  76. package/plugins/lisa-cursor/skills/lisa-github-sync/SKILL.md +2 -0
  77. package/plugins/lisa-cursor/skills/lisa-github-write-prd/SKILL.md +7 -3
  78. package/plugins/lisa-cursor/skills/lisa-jira-build-intake/SKILL.md +6 -5
  79. package/plugins/lisa-cursor/skills/lisa-jira-sync/SKILL.md +3 -1
  80. package/plugins/lisa-cursor/skills/lisa-linear-build-intake/SKILL.md +6 -5
  81. package/plugins/lisa-cursor/skills/lisa-linear-evidence/SKILL.md +12 -11
  82. package/plugins/lisa-cursor/skills/lisa-linear-prd-intake/SKILL.md +6 -5
  83. package/plugins/lisa-cursor/skills/lisa-linear-sync/SKILL.md +36 -20
  84. package/plugins/lisa-cursor/skills/lisa-tracker-sync/SKILL.md +22 -2
  85. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  86. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  87. package/plugins/lisa-expo-agy/plugin.json +1 -1
  88. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  89. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  90. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  91. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  92. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  93. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  94. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  95. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  96. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  97. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  98. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  99. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  100. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  101. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  102. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  103. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  104. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  105. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  106. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  107. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  108. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  109. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  110. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  111. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  112. package/plugins/lisa-rails-agy/plugin.json +1 -1
  113. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  114. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  115. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  116. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  117. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  118. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  119. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  120. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  121. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  122. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  123. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  124. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  125. package/plugins/src/base/rules/reference/config-resolution.md +30 -3
  126. package/plugins/src/base/scripts/resolve-lifecycle-role.mjs +340 -0
  127. package/plugins/src/base/skills/lisa-github-build-intake/SKILL.md +6 -5
  128. package/plugins/src/base/skills/lisa-github-prd-intake/SKILL.md +6 -5
  129. package/plugins/src/base/skills/lisa-github-sync/SKILL.md +2 -0
  130. package/plugins/src/base/skills/lisa-github-write-prd/SKILL.md +7 -3
  131. package/plugins/src/base/skills/lisa-jira-build-intake/SKILL.md +6 -5
  132. package/plugins/src/base/skills/lisa-jira-sync/SKILL.md +3 -1
  133. package/plugins/src/base/skills/lisa-linear-build-intake/SKILL.md +6 -5
  134. package/plugins/src/base/skills/lisa-linear-evidence/SKILL.md +12 -11
  135. package/plugins/src/base/skills/lisa-linear-prd-intake/SKILL.md +6 -5
  136. package/plugins/src/base/skills/lisa-linear-sync/SKILL.md +36 -20
  137. package/plugins/src/base/skills/lisa-tracker-sync/SKILL.md +22 -2
@@ -21,7 +21,27 @@ See the `config-resolution` rule for configuration and dispatch table.
21
21
  - Anything else → stop and report `"Unknown tracker '<value>' in .lisa.config.json. Expected 'jira', 'github', or 'linear'."`
22
22
  3. Pass through the output.
23
23
 
24
- `$ARGUMENTS` is forwarded verbatim, including the optional `--rollup` flag (see "Parent status rollup" below), the vendor lane-write flag (`--update-label` on GitHub, `--update-state` on Linear), `pr_url=<url>`, and `merge_sha=<sha>`. The shim never interprets these — the vendor skill does.
24
+ `$ARGUMENTS` is forwarded verbatim, including the optional `--rollup` flag (see "Parent status rollup" below), `pr_url=<url>`, and `merge_sha=<sha>`. The shim never interprets these — the vendor skill does.
25
+
26
+ > **There is no per-milestone lane-write flag on any vendor.** This paragraph previously documented `--update-label` on GitHub and `--update-state` on Linear. `--update-label` was never implemented — `lisa-github-sync` says flatly *"This skill never relabels"* — so a caller passing it got a silent no-op on GitHub and a real write on Linear for the equivalent flag. Both are gone. `--rollup` is the only write path a sync skill has.
27
+
28
+ ## Tracker status vocabulary — binding on all three arms
29
+
30
+ Every suggested or performed transition names **only a role the project configured**, never a status, state or label discovered from the tracker's live workflow (transition lists, board columns, `type`-derived matches, other tickets). This binds a lead performing tracker writes exactly as it binds a subagent.
31
+
32
+ Two consequences the vendor arms must not restate differently:
33
+
34
+ - **A milestone whose role is unset gets a comment, not a transition.** `review` and the `qa.*` roles are optional and carry **no default** — omitting one means the project does not run that step, and the lifecycle skips it. "Unset" must never resolve to a built-in name; that is the difference between "not customized" and "we deliberately don't do this".
35
+ - **A fallback may inform a read; it may never supply a write target.** Where a vendor exposes one (Linear resolves states by `type`), it selects by board position rather than intent — so on a board carrying more than one plausible state it returns whichever sits earliest, which is exactly the human-only lane a project left out of its config on purpose.
36
+
37
+ Resolve roles through the shared resolver rather than an inlined helper:
38
+
39
+ ```bash
40
+ node "${CLAUDE_PLUGIN_ROOT}/scripts/resolve-lifecycle-role.mjs" \
41
+ --role <role> --vendor <jira|linear|github> --intent <read|write> [--env <env>]
42
+ ```
43
+
44
+ Exit `0` with a value means configured; exit `0` with **empty** output means an optional role is unset — skip the transition; exit `2` means a required role is unset or a write was refused a fallback value.
25
45
 
26
46
  If `$ARGUMENTS` is empty, all vendor skills auto-detect a ticket reference from the active plan file (most recently modified `.md` in `plans/`).
27
47
 
@@ -65,6 +85,6 @@ This is the reverse half of `lisa-git-submit-pr`'s PR body linkage. A PR that me
65
85
  ## Rules
66
86
 
67
87
  - Idempotent updates — running sync at the same milestone twice should not produce duplicate comments. Vendor skills enforce this.
68
- - Never auto-transition a lane the caller did not ask for. On GitHub the canonical signal is the `status:*` label, written only with `--update-label`; on Linear it is the native workflow state, written only with `--update-state`. Without the flag, every vendor arm only suggests.
88
+ - Never transition a leaf's lane from a sync milestone on any vendor. The canonical signal differs — the `status:*` label on GitHub, the workflow status on JIRA, the native workflow state on Linear — but the owner is the same everywhere: build-intake / the vendor agent. Every arm only suggests. `--rollup` (parent derivation) is the sole exception, and it derives the parent from its children rather than advancing a leaf.
69
89
  - Parent rollup derives state from children per the `leaf-only-lifecycle` rule; it never sets a parent to `ready` and never resolves a dev/staging `done` in this single-environment repo.
70
90
  - Pull request backlinks are mandatory when `pr_url=<url>` is present: native first, managed-comment fallback, never silently dropped.