@codyswann/lisa 5.6.0 → 5.8.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 (176) hide show
  1. package/all/copy-overwrite/scripts/lib/push-timing.mjs +135 -9
  2. package/all/copy-overwrite/scripts/lisa-push-timing-report.mjs +58 -4
  3. package/all/copy-overwrite/scripts/lisa-run-gates.mjs +13 -1
  4. package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +2 -2
  5. package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
  6. package/dist/core/lisa-owned-hash-ledger.js +18 -0
  7. package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
  8. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  9. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  10. package/dist/core/upstream-evidence-manifest.js +67 -21
  11. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  12. package/package.json +5 -5
  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/scripts/operator-id-kinds.mjs +17 -4
  16. package/plugins/lisa/.codex-plugin/scripts/ready-queue-order.mjs +62 -5
  17. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/validate-config.mjs +75 -38
  18. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/SKILL.md +23 -7
  19. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/references/runbook-template.md +1 -1
  20. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-cycle.mjs +4 -3
  21. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-human.mjs +12 -7
  22. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-orphans.mjs +3 -1
  23. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-runtime.mjs +1 -0
  24. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-usage.mjs +4 -3
  25. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/config.mjs +26 -0
  26. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/human-needed.mjs +1 -1
  27. package/plugins/lisa/.codex-plugin/skills/lisa-setup-session-manager/SKILL.md +7 -3
  28. package/plugins/lisa/rules/reference/config-resolution.md +3 -2
  29. package/plugins/lisa/scripts/operator-id-kinds.mjs +17 -4
  30. package/plugins/lisa/scripts/ready-queue-order.mjs +62 -5
  31. package/plugins/lisa/skills/lisa-secrets-access/scripts/validate-config.mjs +75 -38
  32. package/plugins/lisa/skills/lisa-session-manager/SKILL.md +23 -7
  33. package/plugins/lisa/skills/lisa-session-manager/references/runbook-template.md +1 -1
  34. package/plugins/lisa/skills/lisa-session-manager/scripts/cli-cycle.mjs +4 -3
  35. package/plugins/lisa/skills/lisa-session-manager/scripts/cli-human.mjs +12 -7
  36. package/plugins/lisa/skills/lisa-session-manager/scripts/cli-orphans.mjs +3 -1
  37. package/plugins/lisa/skills/lisa-session-manager/scripts/cli-runtime.mjs +1 -0
  38. package/plugins/lisa/skills/lisa-session-manager/scripts/cli-usage.mjs +4 -3
  39. package/plugins/lisa/skills/lisa-session-manager/scripts/config.mjs +26 -0
  40. package/plugins/lisa/skills/lisa-session-manager/scripts/human-needed.mjs +1 -1
  41. package/plugins/lisa/skills/lisa-setup-session-manager/SKILL.md +7 -3
  42. package/plugins/lisa-agy/plugin.json +1 -1
  43. package/plugins/lisa-agy/scripts/operator-id-kinds.mjs +17 -4
  44. package/plugins/lisa-agy/scripts/ready-queue-order.mjs +62 -5
  45. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/validate-config.mjs +75 -38
  46. package/plugins/lisa-agy/skills/lisa-session-manager/SKILL.md +23 -7
  47. package/plugins/lisa-agy/skills/lisa-session-manager/references/runbook-template.md +1 -1
  48. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-cycle.mjs +4 -3
  49. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-human.mjs +12 -7
  50. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-orphans.mjs +3 -1
  51. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-runtime.mjs +1 -0
  52. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-usage.mjs +4 -3
  53. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/config.mjs +26 -0
  54. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/human-needed.mjs +1 -1
  55. package/plugins/lisa-agy/skills/lisa-setup-session-manager/SKILL.md +7 -3
  56. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  57. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  58. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  59. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  60. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  61. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  62. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  63. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  64. package/plugins/lisa-copilot/rules/reference/config-resolution.md +3 -2
  65. package/plugins/lisa-copilot/scripts/operator-id-kinds.mjs +17 -4
  66. package/plugins/lisa-copilot/scripts/ready-queue-order.mjs +62 -5
  67. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/validate-config.mjs +75 -38
  68. package/plugins/lisa-copilot/skills/lisa-session-manager/SKILL.md +23 -7
  69. package/plugins/lisa-copilot/skills/lisa-session-manager/references/runbook-template.md +1 -1
  70. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-cycle.mjs +4 -3
  71. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-human.mjs +12 -7
  72. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-orphans.mjs +3 -1
  73. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-runtime.mjs +1 -0
  74. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-usage.mjs +4 -3
  75. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/config.mjs +26 -0
  76. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/human-needed.mjs +1 -1
  77. package/plugins/lisa-copilot/skills/lisa-setup-session-manager/SKILL.md +7 -3
  78. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  79. package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +3 -2
  80. package/plugins/lisa-cursor/scripts/operator-id-kinds.mjs +17 -4
  81. package/plugins/lisa-cursor/scripts/ready-queue-order.mjs +62 -5
  82. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/validate-config.mjs +75 -38
  83. package/plugins/lisa-cursor/skills/lisa-session-manager/SKILL.md +23 -7
  84. package/plugins/lisa-cursor/skills/lisa-session-manager/references/runbook-template.md +1 -1
  85. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-cycle.mjs +4 -3
  86. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-human.mjs +12 -7
  87. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-orphans.mjs +3 -1
  88. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-runtime.mjs +1 -0
  89. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-usage.mjs +4 -3
  90. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/config.mjs +26 -0
  91. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/human-needed.mjs +1 -1
  92. package/plugins/lisa-cursor/skills/lisa-setup-session-manager/SKILL.md +7 -3
  93. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  94. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  95. package/plugins/lisa-devin/rules/reference/config-resolution.md +3 -2
  96. package/plugins/lisa-devin/scripts/operator-id-kinds.mjs +17 -4
  97. package/plugins/lisa-devin/scripts/ready-queue-order.mjs +62 -5
  98. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/validate-config.mjs +75 -38
  99. package/plugins/lisa-devin/skills/lisa-session-manager/SKILL.md +23 -7
  100. package/plugins/lisa-devin/skills/lisa-session-manager/references/runbook-template.md +1 -1
  101. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-cycle.mjs +4 -3
  102. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-human.mjs +12 -7
  103. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-orphans.mjs +3 -1
  104. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-runtime.mjs +1 -0
  105. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-usage.mjs +4 -3
  106. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/config.mjs +26 -0
  107. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/human-needed.mjs +1 -1
  108. package/plugins/lisa-devin/skills/lisa-setup-session-manager/SKILL.md +7 -3
  109. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  110. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  111. package/plugins/lisa-expo-agy/plugin.json +1 -1
  112. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  113. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  114. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  115. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  116. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  117. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  118. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  119. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  120. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  121. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  122. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  123. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  124. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  125. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  126. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  127. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  128. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  129. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  130. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  131. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  132. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  133. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  134. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  135. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  136. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  137. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  138. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  139. package/plugins/lisa-rails-agy/plugin.json +1 -1
  140. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  141. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  142. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  143. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  144. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  145. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  146. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  147. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  148. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  149. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  150. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  151. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  152. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  153. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  154. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  155. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  156. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  157. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  158. package/plugins/src/base/rules/reference/config-resolution.md +3 -2
  159. package/plugins/src/base/scripts/operator-id-kinds.mjs +17 -4
  160. package/plugins/src/base/scripts/ready-queue-order.mjs +62 -5
  161. package/plugins/src/base/skills/lisa-secrets-access/scripts/validate-config.mjs +75 -38
  162. package/plugins/src/base/skills/lisa-session-manager/SKILL.md +23 -7
  163. package/plugins/src/base/skills/lisa-session-manager/references/runbook-template.md +1 -1
  164. package/plugins/src/base/skills/lisa-session-manager/scripts/cli-cycle.mjs +4 -3
  165. package/plugins/src/base/skills/lisa-session-manager/scripts/cli-human.mjs +12 -7
  166. package/plugins/src/base/skills/lisa-session-manager/scripts/cli-orphans.mjs +3 -1
  167. package/plugins/src/base/skills/lisa-session-manager/scripts/cli-runtime.mjs +1 -0
  168. package/plugins/src/base/skills/lisa-session-manager/scripts/cli-usage.mjs +4 -3
  169. package/plugins/src/base/skills/lisa-session-manager/scripts/config.mjs +26 -0
  170. package/plugins/src/base/skills/lisa-session-manager/scripts/human-needed.mjs +1 -1
  171. package/plugins/src/base/skills/lisa-setup-session-manager/SKILL.md +7 -3
  172. package/rails/copy-overwrite/scripts/lisa-rails-gates.mjs +6 -0
  173. package/scripts/check-shell-guard-refusal-coverage.mjs +10 -0
  174. package/scripts/check-test-files-executed.mjs +149 -0
  175. package/scripts/lib/nightly-slow-suites.mjs +58 -0
  176. package/scripts/plan-integration-shards.mjs +12 -3
@@ -84,6 +84,7 @@ export function notifyProvider(config) {
84
84
  * stall: StallBlock,
85
85
  * notify: NotifyBlock,
86
86
  * trustedAuthorIds: string[] | null,
87
+ * trustedReleaseIds?: string[] | null,
87
88
  * operatorIds?: string[] | null,
88
89
  * backlogPickup?: boolean,
89
90
  * }} SessionManagerConfig
@@ -140,12 +141,37 @@ export function resolveSessionManagerConfig(globalConfig, localConfig) {
140
141
  ...merged,
141
142
  repos,
142
143
  trustedAuthorIds: merged.trustedAuthorIds ?? null,
144
+ // Left as declared, like operatorIds: an explicit null must reach the
145
+ // validator and be refused, never read as "unset" and fall back (#4895).
146
+ trustedReleaseIds: merged.trustedReleaseIds,
143
147
  // Left as declared: absent stays undefined and an explicit null stays null,
144
148
  // so validation can refuse the null instead of reading it as "no operators".
145
149
  operatorIds: merged.operatorIds,
146
150
  };
147
151
  }
148
152
 
153
+ /**
154
+ * Who may discharge a human gate: release a hold, or answer the manager's
155
+ * question on the item (CodySwannGT/lisa#4895).
156
+ *
157
+ * `trustedAuthorIds` answers a different question — whose item text may reach
158
+ * a bypass-permissions worker — and may name integrations, which are never a
159
+ * person. `trustedReleaseIds` separates the two; unset, it falls back to
160
+ * `trustedAuthorIds`, so a project that never declared it behaves exactly as
161
+ * before. Neither set means nobody, and a hold fails closed. A declared
162
+ * value that is not a list (an explicit null) also means nobody: it never
163
+ * falls back, so a malformed release list cannot widen who may release.
164
+ * @param {{ trustedAuthorIds?: string[] | null, trustedReleaseIds?: string[] | null } | null | undefined} config
165
+ * - Resolved block (only its two trust lists are read)
166
+ * @returns {string[]} The configured release entries (unparsed)
167
+ */
168
+ export function trustedReleaseEntries(config) {
169
+ const release = config?.trustedReleaseIds;
170
+ if (release !== undefined) return Array.isArray(release) ? release : [];
171
+ const authors = config?.trustedAuthorIds;
172
+ return Array.isArray(authors) ? authors : [];
173
+ }
174
+
149
175
  /**
150
176
  * Turn a project name into a slug the validator accepts.
151
177
  * @param {string} projectSlug Project name, possibly with dots or capitals.
@@ -296,7 +296,7 @@ function chooseMarker(label, blocked) {
296
296
  * overruled?: boolean}}
297
297
  * input - The item, why, the question, the configured human-needed label
298
298
  * and `blocked` role value, whether a notification channel exists, whether
299
- * anyone (operatorIds / trustedAuthorIds) may answer on the item, and the
299
+ * anyone (operatorIds / trustedReleaseIds / trustedAuthorIds) may answer on the item, and the
300
300
  * cause the planning-miss signal needs (default `planning`), and whether
301
301
  * the item carries the wrongly-escalated label (`overruled`)
302
302
  * @returns {{ref: string, kind: string, marker: {type: string, value: string},
@@ -66,7 +66,11 @@ writes `$SM`, and pass `--project-root "$ROOT"` (the absolute project root) on e
66
66
  `AWS CDK`, ...). Ask the operator to correct them and add the areas that identify the repo
67
67
  (e.g. `api`: `["NestJS","migrations"]`, `web`: `["Expo","screens"]`), and whether to
68
68
  set `sessionManager.trustedAuthorIds`. Without it, any author's Ready item reaches a
69
- bypass-permissions worker; say so plainly. The list holds stable tracker user ids as strings,
69
+ bypass-permissions worker; say so plainly. If an integration files Ready items with no person
70
+ behind them (Linear's Sentry integration does), add `integration:<service>` (the value `queue`
71
+ prints as `authorIntegration`) rather than dropping the key, which would also drop every hold
72
+ releaser. To let different people release holds than author work, set
73
+ `sessionManager.trustedReleaseIds` (people only; it defaults to `trustedAuthorIds`). The list holds stable tracker user ids as strings,
70
74
  never logins: the GitHub numeric user id (`gh api users/<login> --jq .id`), the Jira
71
75
  `accountId`, or the Linear user id. A plain login matches no one in the queue and silently
72
76
  excludes every item; to trust a GitHub login on purpose write it as `login:<login>`, and to say
@@ -92,8 +96,8 @@ writes `$SM`, and pass `--project-root "$ROOT"` (the absolute project root) on e
92
96
  warns about it (in `warnings`, never failing) and names both forms. An unknown prefix
93
97
  (`user:octocat`) or an empty value (`login:`) fails `validate`, naming the entry.
94
98
  **Recommend setting it in every setup**, even a single-user one: it is also who may answer a
95
- human-needed question by replying on the item. With neither `operatorIds` nor
96
- `trustedAuthorIds` set, the manager reads no answer off the item at all, because the tracker
99
+ human-needed question by replying on the item. With none of `operatorIds`,
100
+ `trustedReleaseIds` and `trustedAuthorIds` set, the manager reads no answer off the item at all, because the tracker
97
101
  credential's identity is the one the workers and the manager post as, so its comments cannot be
98
102
  told apart from a human's answer. The operator then answers only at the terminal, with the
99
103
  `answerCommand` that `status` lists. Say so plainly.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Expo and React Native-specific skills, agents, rules, and MCP servers.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Harper/Fabric-specific Lisa rules for TypeScript component apps.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (hand-written migration warning)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "NestJS-specific skills and a hand-written migration warning hook.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (hand-written migration warning)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (hand-written migration warning)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (hand-written migration warning)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (hand-written migration warning)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (hand-written migration warning)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Ruby on Rails-specific skills and hooks for RuboCop and ast-grep scanning on edit.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting 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": "5.6.0",
3
+ "version": "5.8.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": "5.6.0",
3
+ "version": "5.8.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": "5.6.0",
3
+ "version": "5.8.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": "5.6.0",
3
+ "version": "5.8.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": "5.6.0",
3
+ "version": "5.8.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": "5.6.0",
3
+ "version": "5.8.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": "5.6.0",
3
+ "version": "5.8.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": "5.6.0",
3
+ "version": "5.8.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": "5.6.0",
3
+ "version": "5.8.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": "5.6.0",
3
+ "version": "5.8.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": "5.6.0",
3
+ "version": "5.8.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": "5.6.0",
3
+ "version": "5.8.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": "5.6.0",
3
+ "version": "5.8.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": "5.6.0",
3
+ "version": "5.8.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"
@@ -721,7 +721,8 @@ operator chooses Telegram (`init-config --notify telegram`).
721
721
  | `sessionManager.stall.requestionHours` | no | `4` | How long an unanswered worker question waits before the manager asks again (zero or positive). |
722
722
  | `sessionManager.notify.provider` | no | `none` | `none` (no notification channel) or `telegram`. Absent, like an absent `notify` block, means `none`. Any other value fails validation. |
723
723
  | `sessionManager.notify.stateDir` | **yes** with `telegram`; must be absent otherwise | — | This project's own Telegram state dir. A `stateDir` without the `telegram` provider fails validation, because no bot would use it. Never the shared default `~/.claude/channels/telegram`, because one bot per state dir is how projects stay isolated. Setup writes `~/.claude/channels/telegram-<project>`. |
724
- | `sessionManager.trustedAuthorIds` | no | — | Optional list of **stable tracker user ids**, as strings: the GitHub numeric user id (`gh api users/<login> --jq .id`), the Jira `accountId`, or the Linear user id. Not logins or display names: matching compares ids, so a plain login silently matches no one and excludes every item. An entry may name its kind: `id:<v>` is an id, `login:<v>` a GitHub login (matched by the queue and on-item answers; the hold-release check compares ids only and ignores it). A login GitHub frees (after a rename or a deleted account) can be re-registered by someone else, so prefer `id:` for trust. An unknown prefix or an empty value fails validation. When set, the manager takes only items authored by these people. |
724
+ | `sessionManager.trustedAuthorIds` | no | — | Optional list of **stable tracker user ids**, as strings: the GitHub numeric user id (`gh api users/<login> --jq .id`), the Jira `accountId`, or the Linear user id. Not logins or display names: matching compares ids, so a plain login silently matches no one and excludes every item. An entry may name its kind: `id:<v>` is an id, `login:<v>` a GitHub login (matched by the queue and on-item answers; the hold-release check compares ids only and ignores it). A login GitHub frees (after a rename or a deleted account) can be re-registered by someone else, so prefer `id:` for trust. `integration:<service>` trusts items an integration files with no person behind them (Linear's `botActor`, by `subType` such as `sentry`, else its bot `id`, never its self-chosen display name; never an item a person or an outside user filed; it trusts who filed the item, not text an outsider can get into it, such as a quoted error message); GitHub Apps and Jira automation file as an account, so trust them by `id:`. An unknown prefix or an empty value fails validation. When set, the manager takes only items authored by these people or integrations. It is also who may release a human hold, unless `trustedReleaseIds` is set — so removing it removes every hold releaser too. |
725
+ | `sessionManager.trustedReleaseIds` | no | `trustedAuthorIds` | Optional, non-empty list of the **people** who may release a human hold (`blocked-plan`, the orphan sweep) and answer a question on the item. Same entry grammar as `trustedAuthorIds` minus `integration:`, which is refused: an integration is not a person. Unset, it falls back to `trustedAuthorIds`, so existing projects are unaffected; with neither set, no hold is released. |
725
726
  | `sessionManager.operatorIds` | no | — | Optional, non-empty list of the people the manager works for, as tracker user ids matched against the **assignee** the same way "me" is: the GitHub **login**, the Jira `accountId`, or the Linear user id, spelled exactly as the tracker API returns it (matching is case-sensitive, so look the OPERATOR up rather than typing from memory: `gh api users/<operator-login> --jq .login` returns the canonical GitHub spelling. Do not use `gh api user`, which returns whoever the credential belongs to — the agent account, when that is the case this key exists for). Dispatch order is assigned to an operator, then to "me" (the tracker credential's identity), then unassigned; items assigned to anyone else are skipped. Set it whenever the tracker credential is not the operator's own (an agent account), or the operator's Ready items are never dispatched. Prefer the kind-keyed form, which the queue, the claim and on-item answers all match the same way: `login:<GitHub login>` matches only a GitHub login, `id:<v>` only an account id (GitHub numeric id, Jira `accountId`, Linear user id). A plain entry keeps its meaning, but a plain all-digit entry is a login to the queue and the claim and a numeric id to on-item answers, so validation warns about it (without failing) and names both forms. An unknown prefix or an empty value fails validation. A Jira accountId holding a colon (`557058:…`, `qm:…`) is still plain. |
726
727
  | `sessionManager.backlogPickup` | no | `false` | Opt-in lowest dispatch tier. When the Ready queue is exhausted and capacity remains, the manager considers backlog items (open leaves in no lifecycle role) with the Ready exclusions plus any unfinished blocker; each one that passes the tracker validator (all gates, including the stateless-pickup dry-run) is assigned to the first `operatorIds` entry (without its `login:` / `id:` prefix), moved to Ready in one write, read back and dispatched. A failed validation is cached against the item's `updatedAt`, so it is re-judged only after the item changes. Requires `operatorIds`. |
727
728
 
@@ -748,7 +749,7 @@ operator chooses Telegram (`init-config --notify telegram`).
748
749
  no label resolves, and moves an `exhausted` item to the `blocked` role; `mark-plan` resolves
749
750
  both, so neither name is ever hard-coded.
750
751
  - **Who may answer on the item.** A reply on a human-needed item is taken as the answer only from
751
- `sessionManager.operatorIds` or `trustedAuthorIds`, matched on stable ids (GitHub login or
752
+ `sessionManager.operatorIds` or `trustedReleaseIds` (else `trustedAuthorIds`), matched on stable ids (GitHub login or
752
753
  numeric id, Jira `accountId`, Linear user id; never a display name or email; a plain all-digit
753
754
  entry is a numeric id only, `login:<v>` only a login, `id:<v>` only an id), and never from a
754
755
  machine comment, which is excluded first, whoever wrote it: one starting with a Lisa or Claude
@@ -16,6 +16,17 @@
16
16
  * - `login:<v>` is a GitHub login and matches only a `login` field.
17
17
  * - `id:<v>` is an account id (a GitHub numeric id, a Jira accountId, a
18
18
  * Linear user id) and matches only an id field.
19
+ * - `integration:<service>` names an integration that files items with no
20
+ * person behind them (CodySwannGT/lisa#4895), and is meaningful only in
21
+ * `trustedAuthorIds`. Linear's Sentry integration creates issues whose
22
+ * `creator` is null, so there is no person id to trust; the entry matches
23
+ * such an item by the integration Linear records on it instead (`botActor`:
24
+ * its service, else its bot id, never its self-chosen display name).
25
+ * It never matches an item a person authored, never an item a non-Linear
26
+ * user filed through an integration (`externalUserCreator`), and never a
27
+ * person, so it cannot answer a question or release a human hold: those
28
+ * readers drop it (`idComparableValues`, the answer matcher), and the
29
+ * validator refuses it in `operatorIds` and `trustedReleaseIds`.
19
30
  * - A plain entry (no prefix) keeps exactly the meaning each reader gave it
20
31
  * before kind-keyed entries existed. Changing that is a later, breaking
21
32
  * change.
@@ -38,7 +49,7 @@
38
49
  */
39
50
 
40
51
  /** The kinds a prefixed entry may name. */
41
- export const ID_ENTRY_KINDS = Object.freeze(["login", "id"]);
52
+ export const ID_ENTRY_KINDS = Object.freeze(["login", "id", "integration"]);
42
53
 
43
54
  /** A letters-only prefix at the start of an entry. */
44
55
  const PREFIX = /^([A-Za-z]+):/;
@@ -50,7 +61,7 @@ const PREFIX = /^([A-Za-z]+):/;
50
61
  const PLAIN_ID_STARTS = new Set(["qm"]);
51
62
 
52
63
  /**
53
- * @typedef {{ kind: "login" | "id" | "plain", value: string }
64
+ * @typedef {{ kind: "login" | "id" | "integration" | "plain", value: string }
54
65
  * | { kind: "invalid", problem: "unknown-prefix" | "empty-value", prefix: string }} IdEntry
55
66
  */
56
67
 
@@ -93,9 +104,11 @@ export function parseIdEntries(entries) {
93
104
  * Whether one parsed entry names the identity whose fields are given. Each
94
105
  * field is the reader's value for that kind: `plain` is what a plain entry
95
106
  * has always been compared with there, `login` the GitHub login (null when
96
- * the tracker has none), `id` the account id. A missing field never matches.
107
+ * the tracker has none), `id` the account id, `integration` the integration
108
+ * that filed an item with no person author (null otherwise, and absent for
109
+ * every reader that matches people). A missing field never matches.
97
110
  * @param {IdEntry} entry - Parsed entry
98
- * @param {{ plain?: string | null, login?: string | null, id?: string | null }} fields
111
+ * @param {{ plain?: string | null, login?: string | null, id?: string | null, integration?: string | null }} fields
99
112
  * @returns {boolean} Whether it matches
100
113
  */
101
114
  export function entryMatches(entry, fields) {