@codyswann/lisa 4.101.5 → 4.101.7

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 (127) 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 +23 -7
  4. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  5. package/package.json +4 -4
  6. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  7. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  8. package/plugins/lisa/.codex-plugin/scripts/automation-run-record.mjs +678 -0
  9. package/plugins/lisa/.codex-plugin/scripts/blocker-edge-resolution.mjs +150 -0
  10. package/plugins/lisa/.codex-plugin/scripts/intake-blocker-reprobe.mjs +1379 -0
  11. package/plugins/lisa/.codex-plugin/scripts/intake-prework-denominator.mjs +249 -0
  12. package/plugins/lisa/.codex-plugin/scripts/operator-id-kinds.mjs +120 -0
  13. package/plugins/lisa/.codex-plugin/scripts/qa-signal-lifecycle.mjs +523 -0
  14. package/plugins/lisa/.codex-plugin/scripts/ready-queue-order.mjs +549 -0
  15. package/plugins/lisa/.codex-plugin/scripts/resolve-lifecycle-role.mjs +347 -0
  16. package/plugins/lisa/.codex-plugin/skills/lisa-jira-evidence/SKILL.md +10 -5
  17. package/plugins/lisa/.codex-plugin/skills/lisa-jira-journey/SKILL.md +14 -11
  18. package/plugins/lisa/.codex-plugin/skills/lisa-tracker-evidence/references/completion-authorization.md +7 -3
  19. package/plugins/lisa/skills/lisa-jira-evidence/SKILL.md +10 -5
  20. package/plugins/lisa/skills/lisa-jira-journey/SKILL.md +14 -11
  21. package/plugins/lisa/skills/lisa-tracker-evidence/references/completion-authorization.md +7 -3
  22. package/plugins/lisa-agy/plugin.json +1 -1
  23. package/plugins/lisa-agy/skills/lisa-jira-evidence/SKILL.md +10 -5
  24. package/plugins/lisa-agy/skills/lisa-jira-journey/SKILL.md +14 -11
  25. package/plugins/lisa-agy/skills/lisa-tracker-evidence/references/completion-authorization.md +7 -3
  26. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  27. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  28. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  29. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  30. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  31. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  32. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  33. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  34. package/plugins/lisa-copilot/skills/lisa-jira-evidence/SKILL.md +10 -5
  35. package/plugins/lisa-copilot/skills/lisa-jira-journey/SKILL.md +14 -11
  36. package/plugins/lisa-copilot/skills/lisa-tracker-evidence/references/completion-authorization.md +7 -3
  37. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  38. package/plugins/lisa-cursor/skills/lisa-jira-evidence/SKILL.md +10 -5
  39. package/plugins/lisa-cursor/skills/lisa-jira-journey/SKILL.md +14 -11
  40. package/plugins/lisa-cursor/skills/lisa-tracker-evidence/references/completion-authorization.md +7 -3
  41. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  42. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  43. package/plugins/lisa-devin/skills/lisa-jira-evidence/SKILL.md +10 -5
  44. package/plugins/lisa-devin/skills/lisa-jira-journey/SKILL.md +14 -11
  45. package/plugins/lisa-devin/skills/lisa-tracker-evidence/references/completion-authorization.md +7 -3
  46. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  47. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  48. package/plugins/lisa-expo/.codex-plugin/skills/jira-evidence/SKILL.md +10 -5
  49. package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/SKILL.md +14 -11
  50. package/plugins/lisa-expo/skills/jira-evidence/SKILL.md +10 -5
  51. package/plugins/lisa-expo/skills/jira-journey/SKILL.md +14 -11
  52. package/plugins/lisa-expo-agy/plugin.json +1 -1
  53. package/plugins/lisa-expo-agy/skills/jira-evidence/SKILL.md +10 -5
  54. package/plugins/lisa-expo-agy/skills/jira-journey/SKILL.md +14 -11
  55. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  56. package/plugins/lisa-expo-copilot/skills/jira-evidence/SKILL.md +10 -5
  57. package/plugins/lisa-expo-copilot/skills/jira-journey/SKILL.md +14 -11
  58. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  59. package/plugins/lisa-expo-cursor/skills/jira-evidence/SKILL.md +10 -5
  60. package/plugins/lisa-expo-cursor/skills/jira-journey/SKILL.md +14 -11
  61. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  62. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  63. package/plugins/lisa-expo-devin/skills/jira-evidence/SKILL.md +10 -5
  64. package/plugins/lisa-expo-devin/skills/jira-journey/SKILL.md +14 -11
  65. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  66. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  67. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  68. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  69. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  70. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  71. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  72. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  73. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  74. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  75. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  76. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  77. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  78. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  79. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  80. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  81. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  82. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  83. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  84. package/plugins/lisa-openclaw-devin/.claude-plugin/plugin.json +1 -1
  85. package/plugins/lisa-openclaw-devin/.devin-plugin/plugin.json +1 -1
  86. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  87. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  88. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  89. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  90. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  91. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  92. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  93. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  94. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  95. package/plugins/lisa-rails/.codex-plugin/skills/jira-evidence/SKILL.md +10 -5
  96. package/plugins/lisa-rails/skills/jira-evidence/SKILL.md +10 -5
  97. package/plugins/lisa-rails-agy/plugin.json +1 -1
  98. package/plugins/lisa-rails-agy/skills/jira-evidence/SKILL.md +10 -5
  99. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  100. package/plugins/lisa-rails-copilot/skills/jira-evidence/SKILL.md +10 -5
  101. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  102. package/plugins/lisa-rails-cursor/skills/jira-evidence/SKILL.md +10 -5
  103. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  104. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  105. package/plugins/lisa-rails-devin/skills/jira-evidence/SKILL.md +10 -5
  106. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  107. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  108. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  109. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  110. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  111. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  112. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  113. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  114. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  115. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  116. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  117. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  118. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  119. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  120. package/plugins/src/base/skills/lisa-jira-evidence/SKILL.md +10 -5
  121. package/plugins/src/base/skills/lisa-jira-journey/SKILL.md +14 -11
  122. package/plugins/src/base/skills/lisa-tracker-evidence/references/completion-authorization.md +7 -3
  123. package/plugins/src/expo/skills/jira-evidence/SKILL.md +10 -5
  124. package/plugins/src/expo/skills/jira-journey/SKILL.md +14 -11
  125. package/plugins/src/rails/skills/jira-evidence/SKILL.md +10 -5
  126. package/scripts/generate-codex-plugin-artifacts.mjs +6 -0
  127. package/scripts/lib/codex-shared-scripts.mjs +156 -0
@@ -0,0 +1,150 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * What to do with a dependency edge once its blocker has been judged.
4
+ *
5
+ * ## The gap this fills
6
+ *
7
+ * `blocker-containment` decides ONE question — given an edge, is it satisfied —
8
+ * and says so in its own words: it "does not decide when a dependency edge
9
+ * should exist, dissolve an edge once satisfied, or govern what a surface does
10
+ * after clearing". Nothing else claimed that job. So a repair pass that ruled a
11
+ * dependency satisfied moved the STATE and left the EDGE, recording the ruling
12
+ * as a comment; the next reader parses relations, not prose, and blocks again
13
+ * (CodySwannGT/lisa#3472). The durable artifact of "this is satisfied" had no
14
+ * mechanical effect.
15
+ *
16
+ * Measured on this repository while writing this: of 11 open `status:blocked`
17
+ * items carrying a parsable `Blocked by #N`, 5 were held behind blockers that
18
+ * were all closed.
19
+ *
20
+ * ## Why closure is not the test, and neither is "it is finished"
21
+ *
22
+ * Two different mistakes converge on the same wrong answer.
23
+ *
24
+ * The first is testing a state NAME. That half is already fixed: the triage
25
+ * gate now clear-checks by containment, because a promotion workflow types its
26
+ * merged-and-deployed rungs `started`, so `Done` strands every dependent behind
27
+ * work already merged where the dependent needs it.
28
+ *
29
+ * The second is treating CLOSED as satisfied. An `is blocked by` edge is a
30
+ * DEVELOPMENT dependency: it is satisfied when the blocker's code is on the
31
+ * branch this work builds from. A blocker can be closed with no code — and a
32
+ * blocker closed `NOT_PLANNED` is the sharp case, because it means the thing
33
+ * depended on will never be built. Dissolving that edge silently converts "what
34
+ * we needed is cancelled" into "we are unblocked", which is the same wrong-write
35
+ * family as CodySwannGT/lisa#3479, where a reason-blind repair would have
36
+ * stamped a production terminal on abandoned work. So an abandoned blocker
37
+ * ESCALATES to a human rather than dissolving or silently holding forever:
38
+ * somebody has to decide whether the dependent still makes sense.
39
+ *
40
+ * ## What this module does not decide
41
+ *
42
+ * How an edge is dissolved on a given tracker. That is vendor work with its own
43
+ * hazard: on Linear, `issueRelationCreate` CONVERTS an existing relation rather
44
+ * than adding one (CodySwannGT/lisa#3605), so a writer that "updates" an edge
45
+ * can destroy a different one. This module returns a decision; the vendor
46
+ * surface performs it and reads it back.
47
+ * @module blocker-edge-resolution
48
+ */
49
+
50
+ /** Every action a surface may take on a judged edge. */
51
+ export const EDGE_ACTIONS = Object.freeze(["dissolve", "keep", "escalate"]);
52
+
53
+ /** GitHub's closure reason for work that will deliberately not be done. */
54
+ const NOT_PLANNED = "not_planned";
55
+
56
+ /**
57
+ * Decide what happens to one `is blocked by` edge.
58
+ *
59
+ * `contained` is the containment verdict — the blocker's merged code is an
60
+ * ancestor of the branch this work builds from — and it is deliberately the
61
+ * ONLY positive signal. Everything else here exists to keep a non-containment
62
+ * signal from being mistaken for one.
63
+ * @param {{
64
+ * contained?: boolean | null,
65
+ * blockerState?: string,
66
+ * blockerReason?: string,
67
+ * }} input The containment verdict and the blocker's tracker state.
68
+ * @returns {{action: string, reason: string}} What to do, and why.
69
+ */
70
+ export function resolveBlockerEdge(input = {}) {
71
+ const state = String(input.blockerState ?? "")
72
+ .trim()
73
+ .toLowerCase();
74
+ const reason = String(input.blockerReason ?? "")
75
+ .trim()
76
+ .toLowerCase();
77
+
78
+ // Checked BEFORE containment, because an abandoned blocker whose branch
79
+ // happens to contain some earlier commit of its own is still abandoned. The
80
+ // question a human has to answer is whether the dependent still makes sense,
81
+ // and a containment true would silently answer it for them.
82
+ if (state === "closed" && reason === NOT_PLANNED) {
83
+ return {
84
+ action: "escalate",
85
+ reason:
86
+ "the blocker was closed as NOT PLANNED, so the work this item depends on will never be " +
87
+ "delivered. Dissolving the edge would read as 'unblocked' when nothing was built, and " +
88
+ "holding it forever hides a decision somebody has to make: does this item still make sense " +
89
+ "without its blocker? That is a human call, not a sweep's.",
90
+ };
91
+ }
92
+
93
+ if (input.contained === true) {
94
+ return {
95
+ action: "dissolve",
96
+ reason:
97
+ "the blocker's merged code is present on the branch this item builds from, so the " +
98
+ "development dependency is satisfied. Remove the edge in the same write that records the " +
99
+ "ruling, and read it back — a state move plus a comment is a claim about a clearance, not " +
100
+ "a clearance, and the next reader parses relations rather than prose.",
101
+ };
102
+ }
103
+
104
+ if (input.contained === null || input.contained === undefined) {
105
+ return {
106
+ action: "escalate",
107
+ reason:
108
+ "containment could not be computed for this blocker, so whether the dependency is satisfied " +
109
+ "is unknown. An unknown is not a clearance: dissolving here would be a guess in the " +
110
+ "direction that releases work, which is the direction nothing downstream re-checks.",
111
+ };
112
+ }
113
+
114
+ return {
115
+ action: "keep",
116
+ reason:
117
+ state === "closed"
118
+ ? "the blocker is closed but its code is not on the branch this item builds from. Closing an " +
119
+ "item is not the same as shipping it, and an `is blocked by` edge is a development " +
120
+ "dependency, not a bookkeeping one."
121
+ : "the blocker's code is not yet on the branch this item builds from, so the dependency " +
122
+ "still holds.",
123
+ };
124
+ }
125
+
126
+ /**
127
+ * Decide a whole set of edges, and say whether the item can proceed.
128
+ *
129
+ * An item proceeds only when every edge dissolves. One escalation holds the
130
+ * item — reporting it, rather than proceeding on the majority verdict, is what
131
+ * keeps a single unanswerable edge from being rounded away.
132
+ * @param {readonly object[]} edges Per-edge inputs, in the item's own order.
133
+ * @returns {{
134
+ * proceed: boolean,
135
+ * decisions: {action: string, reason: string}[],
136
+ * escalations: number,
137
+ * }} The per-edge decisions and whether the item is free to move.
138
+ */
139
+ export function resolveBlockerEdges(edges = []) {
140
+ const decisions = (edges ?? []).map(edge => ({
141
+ ...edge,
142
+ ...resolveBlockerEdge(edge),
143
+ }));
144
+ return {
145
+ proceed:
146
+ decisions.length > 0 && decisions.every(one => one.action === "dissolve"),
147
+ decisions,
148
+ escalations: decisions.filter(one => one.action === "escalate").length,
149
+ };
150
+ }