@codyswann/lisa 8.10.3 → 8.10.5
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/lisa-work-item.mjs +55 -4
- package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +1 -1
- package/dist/core/lisa-owned-hash-ledger.json +8 -0
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.json +35 -12
- package/package.json +4 -4
- 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-implement/SKILL.md +2 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +20 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-action.mjs +7 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-context-write.mjs +25 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-intake-read.mjs +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-tracker-create.mjs +423 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs +72 -14
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-unbound.mjs +1 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-write/SKILL.md +2 -0
- package/plugins/lisa/rules/reference/tool-access-gate.md +14 -0
- package/plugins/lisa/rules/reference/tracked-work.md +3 -2
- package/plugins/lisa/skills/lisa-implement/SKILL.md +2 -2
- package/plugins/lisa/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +20 -1
- package/plugins/lisa/skills/lisa-secrets-access/scripts/task-action.mjs +7 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/task-context-write.mjs +25 -1
- package/plugins/lisa/skills/lisa-secrets-access/scripts/task-intake-read.mjs +1 -1
- package/plugins/lisa/skills/lisa-secrets-access/scripts/task-tracker-create.mjs +423 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs +72 -14
- package/plugins/lisa/skills/lisa-secrets-access/scripts/task-unbound.mjs +1 -0
- package/plugins/lisa/skills/lisa-tracker-write/SKILL.md +2 -0
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-implement/SKILL.md +2 -2
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +20 -1
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-action.mjs +7 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-context-write.mjs +25 -1
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-intake-read.mjs +1 -1
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-tracker-create.mjs +423 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs +72 -14
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-unbound.mjs +1 -0
- package/plugins/lisa-agy/skills/lisa-tracker-write/SKILL.md +2 -0
- 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-cdk-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/rules/reference/tool-access-gate.md +14 -0
- package/plugins/lisa-copilot/rules/reference/tracked-work.md +3 -2
- package/plugins/lisa-copilot/skills/lisa-implement/SKILL.md +2 -2
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +20 -1
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-action.mjs +7 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-context-write.mjs +25 -1
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-intake-read.mjs +1 -1
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-tracker-create.mjs +423 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs +72 -14
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-unbound.mjs +1 -0
- package/plugins/lisa-copilot/skills/lisa-tracker-write/SKILL.md +2 -0
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/rules/tool-access-gate-reference.mdc +14 -0
- package/plugins/lisa-cursor/rules/tracked-work-reference.mdc +3 -2
- package/plugins/lisa-cursor/skills/lisa-implement/SKILL.md +2 -2
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +20 -1
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-action.mjs +7 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-context-write.mjs +25 -1
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-intake-read.mjs +1 -1
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-tracker-create.mjs +423 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs +72 -14
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-unbound.mjs +1 -0
- package/plugins/lisa-cursor/skills/lisa-tracker-write/SKILL.md +2 -0
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/rules/reference/tool-access-gate.md +14 -0
- package/plugins/lisa-devin/rules/reference/tracked-work.md +3 -2
- package/plugins/lisa-devin/skills/lisa-implement/SKILL.md +2 -2
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +20 -1
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-action.mjs +7 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-context-write.mjs +25 -1
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-intake-read.mjs +1 -1
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-tracker-create.mjs +423 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs +72 -14
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-unbound.mjs +1 -0
- package/plugins/lisa-devin/skills/lisa-tracker-write/SKILL.md +2 -0
- 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-expo-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.devin-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-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.devin-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-nestjs-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.devin-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-phaser-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.devin-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-rails-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.devin-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-typescript-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.devin-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/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/src/base/rules/reference/tool-access-gate.md +14 -0
- package/plugins/src/base/rules/reference/tracked-work.md +3 -2
- package/plugins/src/base/skills/lisa-implement/SKILL.md +2 -2
- package/plugins/src/base/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +20 -1
- package/plugins/src/base/skills/lisa-secrets-access/scripts/task-action.mjs +7 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/task-context-write.mjs +25 -1
- package/plugins/src/base/skills/lisa-secrets-access/scripts/task-intake-read.mjs +1 -1
- package/plugins/src/base/skills/lisa-secrets-access/scripts/task-tracker-create.mjs +423 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs +72 -14
- package/plugins/src/base/skills/lisa-secrets-access/scripts/task-unbound.mjs +1 -0
- package/plugins/src/base/skills/lisa-tracker-write/SKILL.md +2 -0
|
@@ -1175,6 +1175,60 @@ function canonicalizeRef(raw, contract = trackerContract()) {
|
|
|
1175
1175
|
return `${match[1]}-${match[2]}`;
|
|
1176
1176
|
}
|
|
1177
1177
|
|
|
1178
|
+
/** The work-item context a prepared ticket leaves in its worktree. */
|
|
1179
|
+
const CONTEXT_FILE = ".lisa/work-item-context.md";
|
|
1180
|
+
/** The requirements header's opening line; it names the ticket. */
|
|
1181
|
+
const CONTEXT_HEADER = "<!-- lisa-required-access:v1\n";
|
|
1182
|
+
|
|
1183
|
+
/**
|
|
1184
|
+
* The ticket a context's requirements header names.
|
|
1185
|
+
* @param {string} text The context file's text.
|
|
1186
|
+
* @returns {string|null} The ref, or null when no header names one.
|
|
1187
|
+
*/
|
|
1188
|
+
function contextItem(text) {
|
|
1189
|
+
const end = text.indexOf("\n-->\n");
|
|
1190
|
+
if (!text.startsWith(CONTEXT_HEADER) || end < 0) return null;
|
|
1191
|
+
try {
|
|
1192
|
+
const ref = JSON.parse(
|
|
1193
|
+
text.slice(CONTEXT_HEADER.length, end)
|
|
1194
|
+
)?.work_item_ref;
|
|
1195
|
+
return typeof ref === "string" ? ref : null;
|
|
1196
|
+
} catch {
|
|
1197
|
+
return null;
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
/**
|
|
1202
|
+
* Clear the binding, and the context of the ticket it named.
|
|
1203
|
+
*
|
|
1204
|
+
* `clear` runs only after terminal completion, so that ticket's context is
|
|
1205
|
+
* finished too. Left behind, it blocked the next ticket's prepare step until
|
|
1206
|
+
* someone deleted it by hand (CodySwannGT/lisa#5199). A context naming a
|
|
1207
|
+
* different ticket is kept: nothing here says that work is finished.
|
|
1208
|
+
* @returns {string} What was cleared.
|
|
1209
|
+
*/
|
|
1210
|
+
function clearBinding() {
|
|
1211
|
+
let bound;
|
|
1212
|
+
try {
|
|
1213
|
+
bound = readState(true)?.ref;
|
|
1214
|
+
} catch {
|
|
1215
|
+
bound = undefined;
|
|
1216
|
+
}
|
|
1217
|
+
const file = join(projectRoot(), CONTEXT_FILE);
|
|
1218
|
+
const named = existsSync(file)
|
|
1219
|
+
? contextItem(readFileSync(file, "utf8"))
|
|
1220
|
+
: undefined;
|
|
1221
|
+
const keep = typeof named === "string" && named !== bound;
|
|
1222
|
+
// The context goes first: if removing it fails, the binding survives, so
|
|
1223
|
+
// a retry still knows whose context it is.
|
|
1224
|
+
if (named !== undefined && !keep) rmSync(file, { force: true });
|
|
1225
|
+
rmSync(statePath(), { force: true });
|
|
1226
|
+
if (named === undefined) return "work-item binding cleared";
|
|
1227
|
+
if (keep)
|
|
1228
|
+
return `work-item binding cleared; kept ${CONTEXT_FILE}, which holds the context of ${named}, not of ${bound ?? "a bound ticket"}`;
|
|
1229
|
+
return `work-item binding cleared; removed ${CONTEXT_FILE}${named ? ` (${named})` : ""}`;
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1178
1232
|
function readState(optional = true) {
|
|
1179
1233
|
const file = statePath();
|
|
1180
1234
|
if (!existsSync(file)) {
|
|
@@ -7185,10 +7239,7 @@ function main() {
|
|
|
7185
7239
|
);
|
|
7186
7240
|
return commitPendingLisaUpdate(ref, contract);
|
|
7187
7241
|
}
|
|
7188
|
-
if (command === "clear")
|
|
7189
|
-
rmSync(statePath(), { force: true });
|
|
7190
|
-
return console.log("work-item binding cleared");
|
|
7191
|
-
}
|
|
7242
|
+
if (command === "clear") return console.log(clearBinding());
|
|
7192
7243
|
if (command === "backlink") return backlink(args);
|
|
7193
7244
|
// `finish` and `complete` are one operation under two names, for the same
|
|
7194
7245
|
// reason as `link` and `bind` above (#4683). `complete` is a bash builtin
|
|
@@ -1719,7 +1719,7 @@
|
|
|
1719
1719
|
"children": []
|
|
1720
1720
|
},
|
|
1721
1721
|
"lisa-work-item.mjs": {
|
|
1722
|
-
"sha256": "
|
|
1722
|
+
"sha256": "587ab36da61b141731f037f7a53de2f0812d0a5c98d2e6a366dbad160f1dafe2",
|
|
1723
1723
|
"staticImports": [
|
|
1724
1724
|
"lib/completion-authorization.mjs",
|
|
1725
1725
|
"lib/completion-proof-adapters.mjs",
|
|
@@ -2698,6 +2698,7 @@
|
|
|
2698
2698
|
"50e3a04a3e5c961b7f70d1a23cab1a6b560ec463a4b76727fe64e6e773d42b0e",
|
|
2699
2699
|
"5431cf37016c8096c7c8e570a95f3b09ef7943917a1eb6ec2ebe599e240bec8f",
|
|
2700
2700
|
"56d3718b1243506965b5898c3eb81cb3ff3c6233a2a5185be80fb099933a5a26",
|
|
2701
|
+
"587ab36da61b141731f037f7a53de2f0812d0a5c98d2e6a366dbad160f1dafe2",
|
|
2701
2702
|
"58cdf4db05dbf6463d405e0691e078034fd3c99d2859a978c0d332458db5c3f3",
|
|
2702
2703
|
"5a0b82045d9795284a109c28e5e9dd97a5488ff540bb7034b84077d1447ffd7c",
|
|
2703
2704
|
"5ba15f6126e253ce9554579ddde86fc0bd744cd0c5c1395cb4e4b8f0472cc134",
|
|
@@ -2742,6 +2743,7 @@
|
|
|
2742
2743
|
"921265687800d90430ca5f96e3b392f90f41349cf9b911bfa2a564dcbcec12d8",
|
|
2743
2744
|
"9223856be4618fb1e3e731b259ae5bf5328decc322f0b4a0d0fd18d6b12cd45a",
|
|
2744
2745
|
"922cd8fc859fc6e92a6a82955c4ceec309e13ec64991dad04d0880ec78c4258f",
|
|
2746
|
+
"92a2974543e833138cac67054557731c3f367f0ba7104ae0abd77203e034418d",
|
|
2745
2747
|
"94bca23e535b5e77558f48221fc374c2e46a98eba18b2fc38b27ca0918fb54d9",
|
|
2746
2748
|
"96a87c131606b3edd43e52485e68f8ffbf5c528cb4beb7a1185263519a9632ce",
|
|
2747
2749
|
"9a470f2590772e144b6ed08512e51244fa1293dfd08d5c42daaa38fed22bdafb",
|
|
@@ -3138,7 +3140,9 @@
|
|
|
3138
3140
|
"c0e3315b7905a5a883eec397d8c3c06e10ea414bbbd271ee1cf0ad7cbacb4668",
|
|
3139
3141
|
"c11328d3d4fd6d0f82ad51afc21f710877bd8dd2643c9d1a7d0fd2fed60358eb",
|
|
3140
3142
|
"c17d09e07c614df6843ba3bb6ae0c80874108eff22a68ef324db5f50110a27c8",
|
|
3143
|
+
"c23846654944698eba5f882fe1fdc7e0a79dcb3b0d2a5b549dd82fbd18a89fe5",
|
|
3141
3144
|
"c280b6a8f075eb9cf5cdcc115ff0825155c20bd1d8164d9b919836a826e85e85",
|
|
3145
|
+
"c2f58026136b7ac31bcf819ca31839a8cb80dcc762ac38b44a2bea0d6588cc50",
|
|
3142
3146
|
"c44ad834962bb5f2f4af0a261d648759e4dfe5e4ddb8e15389facac938417340",
|
|
3143
3147
|
"c4db1ebcf54e3177213639199b81acf301dc68bf796d291d23ad86ef00127a71",
|
|
3144
3148
|
"c4e4d9b8c20d014e90f24368e49406f62745d6e172c6323816e70e1d1bf4c83b",
|
|
@@ -5902,6 +5906,7 @@
|
|
|
5902
5906
|
"50e3a04a3e5c961b7f70d1a23cab1a6b560ec463a4b76727fe64e6e773d42b0e",
|
|
5903
5907
|
"5431cf37016c8096c7c8e570a95f3b09ef7943917a1eb6ec2ebe599e240bec8f",
|
|
5904
5908
|
"56d3718b1243506965b5898c3eb81cb3ff3c6233a2a5185be80fb099933a5a26",
|
|
5909
|
+
"587ab36da61b141731f037f7a53de2f0812d0a5c98d2e6a366dbad160f1dafe2",
|
|
5905
5910
|
"58cdf4db05dbf6463d405e0691e078034fd3c99d2859a978c0d332458db5c3f3",
|
|
5906
5911
|
"5a0b82045d9795284a109c28e5e9dd97a5488ff540bb7034b84077d1447ffd7c",
|
|
5907
5912
|
"5ba15f6126e253ce9554579ddde86fc0bd744cd0c5c1395cb4e4b8f0472cc134",
|
|
@@ -5945,6 +5950,7 @@
|
|
|
5945
5950
|
"921265687800d90430ca5f96e3b392f90f41349cf9b911bfa2a564dcbcec12d8",
|
|
5946
5951
|
"9223856be4618fb1e3e731b259ae5bf5328decc322f0b4a0d0fd18d6b12cd45a",
|
|
5947
5952
|
"922cd8fc859fc6e92a6a82955c4ceec309e13ec64991dad04d0880ec78c4258f",
|
|
5953
|
+
"92a2974543e833138cac67054557731c3f367f0ba7104ae0abd77203e034418d",
|
|
5948
5954
|
"94bca23e535b5e77558f48221fc374c2e46a98eba18b2fc38b27ca0918fb54d9",
|
|
5949
5955
|
"96a87c131606b3edd43e52485e68f8ffbf5c528cb4beb7a1185263519a9632ce",
|
|
5950
5956
|
"9a470f2590772e144b6ed08512e51244fa1293dfd08d5c42daaa38fed22bdafb",
|
|
@@ -6340,7 +6346,9 @@
|
|
|
6340
6346
|
"c0e3315b7905a5a883eec397d8c3c06e10ea414bbbd271ee1cf0ad7cbacb4668",
|
|
6341
6347
|
"c11328d3d4fd6d0f82ad51afc21f710877bd8dd2643c9d1a7d0fd2fed60358eb",
|
|
6342
6348
|
"c17d09e07c614df6843ba3bb6ae0c80874108eff22a68ef324db5f50110a27c8",
|
|
6349
|
+
"c23846654944698eba5f882fe1fdc7e0a79dcb3b0d2a5b549dd82fbd18a89fe5",
|
|
6343
6350
|
"c280b6a8f075eb9cf5cdcc115ff0825155c20bd1d8164d9b919836a826e85e85",
|
|
6351
|
+
"c2f58026136b7ac31bcf819ca31839a8cb80dcc762ac38b44a2bea0d6588cc50",
|
|
6344
6352
|
"c44ad834962bb5f2f4af0a261d648759e4dfe5e4ddb8e15389facac938417340",
|
|
6345
6353
|
"c4db1ebcf54e3177213639199b81acf301dc68bf796d291d23ad86ef00127a71",
|
|
6346
6354
|
"c4e4d9b8c20d014e90f24368e49406f62745d6e172c6323816e70e1d1bf4c83b",
|
|
@@ -27,9 +27,9 @@ export const NIGHTLY_E2E_GUARD_BEHAVIOR_CERTIFICATES = Object.freeze({
|
|
|
27
27
|
}),
|
|
28
28
|
"4679c1e7cc92f960bad81854b9ce68a14aa0e404f2264cca0c2d6186008a17eb": Object.freeze({
|
|
29
29
|
contractVersion: "1.9.0",
|
|
30
|
-
packageVersions: Object.freeze(["8.10.
|
|
30
|
+
packageVersions: Object.freeze(["8.10.5"]),
|
|
31
31
|
provenances: Object.freeze([
|
|
32
|
-
"workspace package @codyswann/lisa@8.10.
|
|
32
|
+
"workspace package @codyswann/lisa@8.10.5 (typescript/copy-overwrite/scripts/check-nightly-e2e-health.mjs)",
|
|
33
33
|
]),
|
|
34
34
|
}),
|
|
35
35
|
"898ee0247806c7aa6e98328662d80bcff22ff067999298865462a58daef8bb22": Object.freeze({
|
|
@@ -211,12 +211,12 @@
|
|
|
211
211
|
"all/copy-overwrite/scripts/lisa-run-gates.mjs": "d124e35b28292948ee4cf94c99b81bb346eb5fa40f8d826877acaedcbd1ec69b",
|
|
212
212
|
"all/copy-overwrite/scripts/lisa-schema-validate.mjs": "f70ecd3712dd2ca77a8851c7505ce79f948a57e5a2e28f56c5d0ccd047712688",
|
|
213
213
|
"all/copy-overwrite/scripts/lisa-test-node.mjs": "cd436584d756442fc393557a3244bbdacdf915bd0fb1a472ebe7afa8103d3475",
|
|
214
|
-
"all/copy-overwrite/scripts/lisa-work-item.mjs": "
|
|
214
|
+
"all/copy-overwrite/scripts/lisa-work-item.mjs": "587ab36da61b141731f037f7a53de2f0812d0a5c98d2e6a366dbad160f1dafe2",
|
|
215
215
|
"all/copy-overwrite/scripts/lisa-worktree-guard.mjs": "2535ef2a60b3413dacb8491c008ab28f0a07929196277d1d1fed54a04740c025",
|
|
216
216
|
"all/copy-overwrite/scripts/npm-updater-gate-runtime.json": "5c2af03360bfd59df26934ea0a2e47baa3999cbaa0ad3a9a03dd74575589218d",
|
|
217
217
|
"all/copy-overwrite/scripts/npm-updater-gate-supervisor.c": "e7d6ed62ce27a466a097c879372b8c2ec18731371e682d04542de4d83f3daa00",
|
|
218
218
|
"all/copy-overwrite/scripts/npm-updater-gate.Dockerfile": "850a4ee809d49e3d9da6bdd674cb43e4f5a6dcfa0aa73116b1a43caeed42748c",
|
|
219
|
-
"all/copy-overwrite/scripts/npm-updater-helper-graph.json": "
|
|
219
|
+
"all/copy-overwrite/scripts/npm-updater-helper-graph.json": "c23846654944698eba5f882fe1fdc7e0a79dcb3b0d2a5b549dd82fbd18a89fe5",
|
|
220
220
|
"all/copy-overwrite/scripts/review-evidence-event.mjs": "61720cafcbab2d0193cb5fb377264008a765f338e12415b7adf30322342f634c",
|
|
221
221
|
"all/copy-overwrite/scripts/schemas/lisa-command-envelope.v1.schema.json": "d153b7c2953a30f180e38f09e98240c63327f5196eeba9bdf545e5a1f125a879",
|
|
222
222
|
"all/copy-overwrite/scripts/schemas/lisa-state-contract.v1.schema.json": "6b7afe4ffeba8aaa53871d8855172f7eacde05953b1321145218ec638ff5c1c4",
|
|
@@ -681,8 +681,8 @@
|
|
|
681
681
|
"plugins/src/base/rules/reference/session-status-updates.md": "dc4d782da9428c90fbb419787c937f4a08bdee894eff3acfe3fffa942e2438d0",
|
|
682
682
|
"plugins/src/base/rules/reference/settled-decisions.md": "53064fc04010e330cce04459bb2e26e39b4868117376319fe303caafffe0f910",
|
|
683
683
|
"plugins/src/base/rules/reference/stale-state-claims.md": "ea788d884c297ef8c8b573625172cdb123bb80690907cea0efa789b8dd60e466",
|
|
684
|
-
"plugins/src/base/rules/reference/tool-access-gate.md": "
|
|
685
|
-
"plugins/src/base/rules/reference/tracked-work.md": "
|
|
684
|
+
"plugins/src/base/rules/reference/tool-access-gate.md": "aad1678a046d84d742e416aba0a783584ba281a2a7de3bd12cd66b1a1ea8bd04",
|
|
685
|
+
"plugins/src/base/rules/reference/tracked-work.md": "c81363721c0ec113eaa76ceacfa33ed48fbbd49036b51c913507ff5d13404c65",
|
|
686
686
|
"plugins/src/base/rules/reference/upstream-to-lisa.md": "6b82577bf182fa1ed05e8dc3e1f68d9f76eb1eb7497de75031595db488c396de",
|
|
687
687
|
"plugins/src/base/rules/reference/usage-accounting.md": "53dec94f4cba696d4b4f6e990565173c6aa0c9972432b8b127517fc3617ca7cc",
|
|
688
688
|
"plugins/src/base/rules/reference/verification.md": "cb8d03601dcc4ed4fb8e2bfd0aa9d7879dfa00be3401d6a33864a8c34cde38ef",
|
|
@@ -795,7 +795,7 @@
|
|
|
795
795
|
"plugins/src/base/skills/lisa-github-write-prd/SKILL.md": "9beb1af0314ab3e9cdcac6c2a7c2d9028e57695e9e140e92f64e863904a2313f",
|
|
796
796
|
"plugins/src/base/skills/lisa-health-drift-cron/SKILL.md": "146641c3a0114dba3e2ce63d347d2fa750ac8e9d0fbb5a301a0b0e0e030a1b92",
|
|
797
797
|
"plugins/src/base/skills/lisa-health/SKILL.md": "dfdb08a863e78bff42671793dcec29cfae0654db18ebf66a4aa77aeb56ddb775",
|
|
798
|
-
"plugins/src/base/skills/lisa-implement/SKILL.md": "
|
|
798
|
+
"plugins/src/base/skills/lisa-implement/SKILL.md": "789201d600d99df7f401395e7cf38aa2cf5a7ef8d869dabffccd9bec85378b6a",
|
|
799
799
|
"plugins/src/base/skills/lisa-improve-code-complexity/SKILL.md": "24ab5b193b409db6ee6bee981a1c0a48d08991782d7846116ad01658c8bc1ae8",
|
|
800
800
|
"plugins/src/base/skills/lisa-improve-harness/SKILL.md": "9abc2c7049423c96b52dfe5a5f8da9719bff06225b15f66f03df5e05f0cd0da7",
|
|
801
801
|
"plugins/src/base/skills/lisa-improve-max-lines-per-function/SKILL.md": "032f66df86573fd1130f928dd6ada5ced3f890230a97544a4777f0a5e17efddc",
|
|
@@ -891,7 +891,7 @@
|
|
|
891
891
|
"plugins/src/base/skills/lisa-secrets-access/scripts/materialize-secrets.mjs": "91b443b7c54272f7b94fe3a592eeddd9f45b00901301bf769297a87b01cf18f1",
|
|
892
892
|
"plugins/src/base/skills/lisa-secrets-access/scripts/note-format.mjs": "09bd6904bc84a5a93a32499ac94db5ec7728db68908a661698445ef5e6974f3e",
|
|
893
893
|
"plugins/src/base/skills/lisa-secrets-access/scripts/owner.mjs": "576b146e3f60306967b15e382105fe8a27644965b9fbb2870f701b042952461a",
|
|
894
|
-
"plugins/src/base/skills/lisa-secrets-access/scripts/preflight-secrets.mjs": "
|
|
894
|
+
"plugins/src/base/skills/lisa-secrets-access/scripts/preflight-secrets.mjs": "015bc1edee0cf494e25df3a7e23a34d87d36ea861e555c68cf66c12fef55cfc0",
|
|
895
895
|
"plugins/src/base/skills/lisa-secrets-access/scripts/prompt-secret.mjs": "22b28bcdf49b9b0fcd1b15639e031655efacc028b74d48d57e2275f3e1557508",
|
|
896
896
|
"plugins/src/base/skills/lisa-secrets-access/scripts/providers.mjs": "cff2018a0298b833e51efe8626b51b20409e84f4fb3c6cbe4b4e13da33121a95",
|
|
897
897
|
"plugins/src/base/skills/lisa-secrets-access/scripts/publish-aws-bootstrap.mjs": "2ab1e70fe8b8f6ccf7b5e589ea80031be755ddce8c30009ead71790542c68e2b",
|
|
@@ -903,12 +903,12 @@
|
|
|
903
903
|
"plugins/src/base/skills/lisa-secrets-access/scripts/surfaces.mjs": "d9259269fd2d0a8387bef8a13c9d167bd1f9d20dd58e6b51ce02119dfe1d4c87",
|
|
904
904
|
"plugins/src/base/skills/lisa-secrets-access/scripts/sync-secret-to-ci.mjs": "8c5b8e5aa775420d0778436666c9b03b67fae443809d9b5fd57ebf0f04d9a4e2",
|
|
905
905
|
"plugins/src/base/skills/lisa-secrets-access/scripts/task-access.mjs": "ee88c5f1d39e11c2d7233df255bdbb2246be808baa7825173111edaa8517a490",
|
|
906
|
-
"plugins/src/base/skills/lisa-secrets-access/scripts/task-action.mjs": "
|
|
906
|
+
"plugins/src/base/skills/lisa-secrets-access/scripts/task-action.mjs": "49a3801bceddb0cf8383f98bfb570c33aa8b2b20a1c71340a97e5c5d0b09a8cc",
|
|
907
907
|
"plugins/src/base/skills/lisa-secrets-access/scripts/task-atlassian-native.mjs": "b9231c667bb62d3d30edf1a45d632696fc3c1d81ae8b32652e5e37a9635cb2f4",
|
|
908
908
|
"plugins/src/base/skills/lisa-secrets-access/scripts/task-context-data.mjs": "14a1a873e92e45cc4e1f50ca6bf93484ad78315249e39c62772c6e4d2d305eed",
|
|
909
|
-
"plugins/src/base/skills/lisa-secrets-access/scripts/task-context-write.mjs": "
|
|
909
|
+
"plugins/src/base/skills/lisa-secrets-access/scripts/task-context-write.mjs": "ed0beb0fdf8443e6cf3ac551fde582fc40b0ffd44b9050ec781f35dec1e837c9",
|
|
910
910
|
"plugins/src/base/skills/lisa-secrets-access/scripts/task-github.mjs": "0bf7565d018b08650a66a94ad147a5fc201ce1c1ca9fc2289ddf72a445217a3e",
|
|
911
|
-
"plugins/src/base/skills/lisa-secrets-access/scripts/task-intake-read.mjs": "
|
|
911
|
+
"plugins/src/base/skills/lisa-secrets-access/scripts/task-intake-read.mjs": "8ee26ae5c3ae4591618a1938795d1a6d90da6e52f5fbdd138e63654c3232e5dd",
|
|
912
912
|
"plugins/src/base/skills/lisa-secrets-access/scripts/task-intake.mjs": "fff789e59bd91ede71eefaffe38cc166c821e5a9291efb401fc81710cf8f6118",
|
|
913
913
|
"plugins/src/base/skills/lisa-secrets-access/scripts/task-native-context.mjs": "0d91e2d565cab388e25b5d0dfa64443ee6f29b28bdf429e6c86ac1e57734a61c",
|
|
914
914
|
"plugins/src/base/skills/lisa-secrets-access/scripts/task-native-contract.mjs": "6de06596bfe9125288719b56f140732ffd26d5214e952a6d8c232e3636d91b01",
|
|
@@ -917,8 +917,9 @@
|
|
|
917
917
|
"plugins/src/base/skills/lisa-secrets-access/scripts/task-native-state.mjs": "1125f4ed73ccec4c85ef5a117d1e6b79ac0dd22a4bf784affe6ec5f9ad977e4f",
|
|
918
918
|
"plugins/src/base/skills/lisa-secrets-access/scripts/task-readiness.mjs": "dc29611bc57a0cabefe1e7631659bc6d85b487eed19b7483bfb7fc443b175273",
|
|
919
919
|
"plugins/src/base/skills/lisa-secrets-access/scripts/task-requirements.mjs": "e184ed7fb4eacb448553cca5a1c440707449066ef9edddb81f6eeba8b79e879d",
|
|
920
|
-
"plugins/src/base/skills/lisa-secrets-access/scripts/task-tracker-
|
|
921
|
-
"plugins/src/base/skills/lisa-secrets-access/scripts/task-
|
|
920
|
+
"plugins/src/base/skills/lisa-secrets-access/scripts/task-tracker-create.mjs": "7d8c3a37cf2806a872835af340c4f8171fcfc760002ebf97a5d6155dbbaa32b8",
|
|
921
|
+
"plugins/src/base/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs": "35be572aa5596a44e31aff71440ab274afd5147d3e38c785747bf3f458821c74",
|
|
922
|
+
"plugins/src/base/skills/lisa-secrets-access/scripts/task-unbound.mjs": "73153219153097f3ab451f9e93b1d50075c0554be26aff565b5b0d5b1c3e8c72",
|
|
922
923
|
"plugins/src/base/skills/lisa-secrets-access/scripts/tools-from-notes.mjs": "6ab78776157345992224c5f74f1e6b82867d003961499faf2e51f1473c78dbb8",
|
|
923
924
|
"plugins/src/base/skills/lisa-secrets-access/scripts/validate-config.mjs": "dac2bad3b92355c71fa9ecb5c484b17ad042e7e33dcdbcadf381d4fc13ab15f9",
|
|
924
925
|
"plugins/src/base/skills/lisa-security-audit-handling/SKILL.md": "cc0fd59927cc13fc3cfa59eb07852b8c8373c9021b42e016229e632b8fbcc916",
|
|
@@ -1034,7 +1035,7 @@
|
|
|
1034
1035
|
"plugins/src/base/skills/lisa-tracker-sync/SKILL.md": "663939dee94240b9dc709fcdc8fb849fbe03202ec9304069ab7015d3dd73db40",
|
|
1035
1036
|
"plugins/src/base/skills/lisa-tracker-validate/SKILL.md": "1ba962d11ebc69b29ea2f47fda64389913b2db90ce5480caecc387a1e8a92fda",
|
|
1036
1037
|
"plugins/src/base/skills/lisa-tracker-verify/SKILL.md": "9339a13703829ba9a839b24361f3242453bfa57925868e5e8458f23cdac2bd86",
|
|
1037
|
-
"plugins/src/base/skills/lisa-tracker-write/SKILL.md": "
|
|
1038
|
+
"plugins/src/base/skills/lisa-tracker-write/SKILL.md": "d0c97d300afb2d4104f8b37c98699392e2bfbd7d769c0698e2adccabbee78137",
|
|
1038
1039
|
"plugins/src/base/skills/lisa-usage-accounting/SKILL.md": "6bb2df57757e3c2c5a48a8bea6ca593adeba84a9d12581e917b9b0331e9619df",
|
|
1039
1040
|
"plugins/src/base/skills/lisa-usage-accounting/references/effectiveness.md": "d34e7b4951bc26caf15625e081e8273a11ee8ca1bde6137750f4b687fca7e8bf",
|
|
1040
1041
|
"plugins/src/base/skills/lisa-usage-accounting/references/estimate.md": "42f8872d84ae874124a80f6cd48a7322a6423a6cce940e6eb90dfb96d54de8a8",
|
|
@@ -3711,6 +3712,7 @@
|
|
|
3711
3712
|
"plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-native-state.mjs": true,
|
|
3712
3713
|
"plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-readiness.mjs": true,
|
|
3713
3714
|
"plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-requirements.mjs": true,
|
|
3715
|
+
"plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-tracker-create.mjs": true,
|
|
3714
3716
|
"plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs": true,
|
|
3715
3717
|
"plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-unbound.mjs": true,
|
|
3716
3718
|
"plugins/lisa-agy/skills/lisa-secrets-access/scripts/tools-from-notes.mjs": true,
|
|
@@ -4309,6 +4311,7 @@
|
|
|
4309
4311
|
"plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-native-state.mjs": true,
|
|
4310
4312
|
"plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-readiness.mjs": true,
|
|
4311
4313
|
"plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-requirements.mjs": true,
|
|
4314
|
+
"plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-tracker-create.mjs": true,
|
|
4312
4315
|
"plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs": true,
|
|
4313
4316
|
"plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-unbound.mjs": true,
|
|
4314
4317
|
"plugins/lisa-copilot/skills/lisa-secrets-access/scripts/tools-from-notes.mjs": true,
|
|
@@ -4891,6 +4894,7 @@
|
|
|
4891
4894
|
"plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-native-state.mjs": true,
|
|
4892
4895
|
"plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-readiness.mjs": true,
|
|
4893
4896
|
"plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-requirements.mjs": true,
|
|
4897
|
+
"plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-tracker-create.mjs": true,
|
|
4894
4898
|
"plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs": true,
|
|
4895
4899
|
"plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-unbound.mjs": true,
|
|
4896
4900
|
"plugins/lisa-cursor/skills/lisa-secrets-access/scripts/tools-from-notes.mjs": true,
|
|
@@ -5402,6 +5406,7 @@
|
|
|
5402
5406
|
"plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-native-state.mjs": true,
|
|
5403
5407
|
"plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-readiness.mjs": true,
|
|
5404
5408
|
"plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-requirements.mjs": true,
|
|
5409
|
+
"plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-tracker-create.mjs": true,
|
|
5405
5410
|
"plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs": true,
|
|
5406
5411
|
"plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-unbound.mjs": true,
|
|
5407
5412
|
"plugins/lisa-devin/skills/lisa-secrets-access/scripts/tools-from-notes.mjs": true,
|
|
@@ -7649,6 +7654,7 @@
|
|
|
7649
7654
|
"plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-native-state.mjs": true,
|
|
7650
7655
|
"plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-readiness.mjs": true,
|
|
7651
7656
|
"plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-requirements.mjs": true,
|
|
7657
|
+
"plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-tracker-create.mjs": true,
|
|
7652
7658
|
"plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs": true,
|
|
7653
7659
|
"plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-unbound.mjs": true,
|
|
7654
7660
|
"plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/tools-from-notes.mjs": true,
|
|
@@ -8416,6 +8422,7 @@
|
|
|
8416
8422
|
"plugins/lisa/skills/lisa-secrets-access/scripts/task-native-state.mjs": true,
|
|
8417
8423
|
"plugins/lisa/skills/lisa-secrets-access/scripts/task-readiness.mjs": true,
|
|
8418
8424
|
"plugins/lisa/skills/lisa-secrets-access/scripts/task-requirements.mjs": true,
|
|
8425
|
+
"plugins/lisa/skills/lisa-secrets-access/scripts/task-tracker-create.mjs": true,
|
|
8419
8426
|
"plugins/lisa/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs": true,
|
|
8420
8427
|
"plugins/lisa/skills/lisa-secrets-access/scripts/task-unbound.mjs": true,
|
|
8421
8428
|
"plugins/lisa/skills/lisa-secrets-access/scripts/tools-from-notes.mjs": true,
|
|
@@ -9058,6 +9065,7 @@
|
|
|
9058
9065
|
"plugins/src/base/skills/lisa-secrets-access/scripts/task-native-state.mjs": true,
|
|
9059
9066
|
"plugins/src/base/skills/lisa-secrets-access/scripts/task-readiness.mjs": true,
|
|
9060
9067
|
"plugins/src/base/skills/lisa-secrets-access/scripts/task-requirements.mjs": true,
|
|
9068
|
+
"plugins/src/base/skills/lisa-secrets-access/scripts/task-tracker-create.mjs": true,
|
|
9061
9069
|
"plugins/src/base/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs": true,
|
|
9062
9070
|
"plugins/src/base/skills/lisa-secrets-access/scripts/task-unbound.mjs": true,
|
|
9063
9071
|
"plugins/src/base/skills/lisa-secrets-access/scripts/tools-from-notes.mjs": true,
|
|
@@ -11007,6 +11015,7 @@
|
|
|
11007
11015
|
"tests/helpers/task-readiness-fixture.ts": true,
|
|
11008
11016
|
"tests/helpers/task-readiness-matched.ts": true,
|
|
11009
11017
|
"tests/helpers/task-readiness-tools.ts": true,
|
|
11018
|
+
"tests/helpers/task-tracker-create-fixture.ts": true,
|
|
11010
11019
|
"tests/helpers/template-toolchain.ts": true,
|
|
11011
11020
|
"tests/helpers/test-run-child-process-analysis.ts": true,
|
|
11012
11021
|
"tests/helpers/test-run-child-process-binding-plan.ts": true,
|
|
@@ -13134,6 +13143,7 @@
|
|
|
13134
13143
|
"tests/unit/scripts/work-item-backlink-exactness.test.ts": true,
|
|
13135
13144
|
"tests/unit/scripts/work-item-cli-acli-isolation.test.ts": true,
|
|
13136
13145
|
"tests/unit/scripts/work-item-cli-binding.test.ts": true,
|
|
13146
|
+
"tests/unit/scripts/work-item-cli-clear-context.test.ts": true,
|
|
13137
13147
|
"tests/unit/scripts/work-item-cli-commit.test.ts": true,
|
|
13138
13148
|
"tests/unit/scripts/work-item-cli-lane.test.ts": true,
|
|
13139
13149
|
"tests/unit/scripts/work-item-cli-pull-request.test.ts": true,
|
|
@@ -13290,6 +13300,8 @@
|
|
|
13290
13300
|
"tests/unit/secrets/task-readiness.test.ts": true,
|
|
13291
13301
|
"tests/unit/secrets/task-requirements.test.ts": true,
|
|
13292
13302
|
"tests/unit/secrets/task-review-regressions.test.ts": true,
|
|
13303
|
+
"tests/unit/secrets/task-tracker-create-vendors.test.ts": true,
|
|
13304
|
+
"tests/unit/secrets/task-tracker-create.test.ts": true,
|
|
13293
13305
|
"tests/unit/secrets/tenant-profile-names.test.ts": true,
|
|
13294
13306
|
"tests/unit/secrets/tool-executable-preflight.test.ts": true,
|
|
13295
13307
|
"tests/unit/secrets/tool-floor.test.ts": true,
|
|
@@ -13304,6 +13316,7 @@
|
|
|
13304
13316
|
"tests/unit/secrets/validate-config-operator-id-kinds.test.ts": true,
|
|
13305
13317
|
"tests/unit/secrets/validate-config-session-manager.test.ts": true,
|
|
13306
13318
|
"tests/unit/secrets/validate-config.test.ts": true,
|
|
13319
|
+
"tests/unit/secrets/work-item-clear-context.test.ts": true,
|
|
13307
13320
|
"tests/unit/session-manager/answer-record-requeue.test.ts": true,
|
|
13308
13321
|
"tests/unit/session-manager/answer-record.test.ts": true,
|
|
13309
13322
|
"tests/unit/session-manager/capacity-stats.test.ts": true,
|
|
@@ -15777,6 +15790,7 @@
|
|
|
15777
15790
|
"18784e9d39ade002694ad9e6ac39aab198bd5c2b": true,
|
|
15778
15791
|
"18887b2645596c66b083458835ec2c652e1437ee": true,
|
|
15779
15792
|
"1889689b337dceb5279a631069959c218af28503": true,
|
|
15793
|
+
"188df26e23d2f6e09756d5d4980508ffcea38528": true,
|
|
15780
15794
|
"1896734beb8ef3b41034950748b467491977e5bb": true,
|
|
15781
15795
|
"1896d872bee2c38e4df221b352c973e36055713b": true,
|
|
15782
15796
|
"189927db10ed8e753592ba65a48e693539d176f6": true,
|
|
@@ -15971,6 +15985,7 @@
|
|
|
15971
15985
|
"1b47a8cdaac6be5a28a72eab2e615e0496120d72": true,
|
|
15972
15986
|
"1b47d7af186f5adc6579f2d3b27ceddef380c9f2": true,
|
|
15973
15987
|
"1b4ac81011e69e5ded087f9a6199d2fced8f2334": true,
|
|
15988
|
+
"1b4b2c8bae80bc0f48977bb9d7322c86461b9d2a": true,
|
|
15974
15989
|
"1b5e98b7636954c8fe5c2c5e8069d960fd822d1d": true,
|
|
15975
15990
|
"1b69d5bd97e4325dd3d69d8c87f183846aa95e12": true,
|
|
15976
15991
|
"1b6a5d0b9582335434218336cdc60b9044dd9bfc": true,
|
|
@@ -17617,6 +17632,7 @@
|
|
|
17617
17632
|
"35000a0822e84bc57db2a0065d61bb4274ee6f8b": true,
|
|
17618
17633
|
"3501788253ae6d2482e32ab45d952e5101e7a6ef": true,
|
|
17619
17634
|
"35051d46a827ea5fb62ec7cec811fbde2deb0f37": true,
|
|
17635
|
+
"3516b1ea76a42bbc93051d81e8ec7f75c544f1b0": true,
|
|
17620
17636
|
"351d278af5ff12bbb77b64a8a91ca5c437a75420": true,
|
|
17621
17637
|
"3520699d79b8494627665a3f13965f89de7ab2b7": true,
|
|
17622
17638
|
"35248c656721a7bb7374ea3cfc37584411874b8b": true,
|
|
@@ -18399,6 +18415,7 @@
|
|
|
18399
18415
|
"4080a6333912f57df475074279b212ae0c89aeec": true,
|
|
18400
18416
|
"40826008d15c471da30faa58ee2cab1acb00c452": true,
|
|
18401
18417
|
"40831b6810009a901834db2c2d778de2f9749528": true,
|
|
18418
|
+
"4083adba4217cc001ac7f99373dfa47a800f6888": true,
|
|
18402
18419
|
"40946c8c959ae1aed8c8a368da21f392217f4085": true,
|
|
18403
18420
|
"40a1a1d9ec58cdf477779b0181a1cf903542696c": true,
|
|
18404
18421
|
"40a3384a45d00dc33030eece62c2a8e98aabfea3": true,
|
|
@@ -20966,6 +20983,7 @@
|
|
|
20966
20983
|
"672f099fdeb643c651e19155863739747c520ce9": true,
|
|
20967
20984
|
"6736ac56b1aef7b02f77f2ff6536ff1638f06e85": true,
|
|
20968
20985
|
"673743e3321c404457f2fdcd8b032df92babf4ba": true,
|
|
20986
|
+
"673981f61c321d5e85e5898e94d41a2997eb543f": true,
|
|
20969
20987
|
"674109c05612d142146bc9a6e547d3e682fe1abe": true,
|
|
20970
20988
|
"6745998cbb46de757d2baee68baa9ee0b84c4b39": true,
|
|
20971
20989
|
"6749147c9b81f62468b79ed6cbcd456185380cc4": true,
|
|
@@ -26062,6 +26080,7 @@
|
|
|
26062
26080
|
"b32d5e9d02073f85321f266738ee646610bacb0c": true,
|
|
26063
26081
|
"b32e4264802d9e5b88243e4f2de17b3c7f6e20ba": true,
|
|
26064
26082
|
"b32ffe0e271570094f7f1f4fc51a575418cb9cb9": true,
|
|
26083
|
+
"b3319b141ef3ea8109f6e874bb3fcf4d52611f0b": true,
|
|
26065
26084
|
"b333e017f18ca270e0cc889faef6b6177fee667b": true,
|
|
26066
26085
|
"b33480d7a603ce2c8736d79d75f40bd9873d48ec": true,
|
|
26067
26086
|
"b3360694988625037d5cc60c594278b0275dff75": true,
|
|
@@ -26791,6 +26810,7 @@
|
|
|
26791
26810
|
"be0738181603d7a48a742576c99b519de35b135e": true,
|
|
26792
26811
|
"be073937174b6c4da89cad329b7b1b5d3c299111": true,
|
|
26793
26812
|
"be0996dde0e3d5723a1e62db40e141ed469ff598": true,
|
|
26813
|
+
"be0cda9fafacc01e2c33ff10dc7f0d60ad469fd3": true,
|
|
26794
26814
|
"be11926e7428721ace07582c5f1434b4e99b72f4": true,
|
|
26795
26815
|
"be13405693f03aa6b646555b0fe7700dce297516": true,
|
|
26796
26816
|
"be177d7a5afbbb9daa0249363703bdeea3fa5f3e": true,
|
|
@@ -29168,6 +29188,7 @@
|
|
|
29168
29188
|
"e0810a785b9024731ec309ebfda906cadc0a5dde": true,
|
|
29169
29189
|
"e0856edddc5fbac7d1f09aa44feaea2325a5c057": true,
|
|
29170
29190
|
"e08699c4eefb87f93eee8887b9c69cbf9f7183dc": true,
|
|
29191
|
+
"e089e04ccdc565ca849266e26c3cdcfaf635aa06": true,
|
|
29171
29192
|
"e0987b8c7ca97c192304793cf700122f2901e6e8": true,
|
|
29172
29193
|
"e099868082edd9328851cdeda6bc19f4067da80a": true,
|
|
29173
29194
|
"e09fd83ae5d83c3b3536a08b38cfe4b1c7493bb4": true,
|
|
@@ -29956,6 +29977,7 @@
|
|
|
29956
29977
|
"ec5d3ffe4ae48ae4fadd5cf1fc41859b48527899": true,
|
|
29957
29978
|
"ec6bb064f0333d4173dfedd55b2cb99d247dab75": true,
|
|
29958
29979
|
"ec6c1eecb4f3284f60f340058c3ba2ee69255d48": true,
|
|
29980
|
+
"ec6d817a557e00cce4d4aa88ed0d19f96a5acf49": true,
|
|
29959
29981
|
"ec6e09f56a0424ad4fd4ee6052e272aea826e8f3": true,
|
|
29960
29982
|
"ec6ed8e2a99cf593f24fbb8004253ab5d1c63871": true,
|
|
29961
29983
|
"ec73053ecaa34ef8088a500a7ff77367b65c5ded": true,
|
|
@@ -30530,6 +30552,7 @@
|
|
|
30530
30552
|
"f572b30a55ffbf944904e03b1b1f5b3c7b828523": true,
|
|
30531
30553
|
"f5745a11981579e23a0d4f5b98b5e4959685ddca": true,
|
|
30532
30554
|
"f57a676b5cd85b926905e830952fe63c3cc930a8": true,
|
|
30555
|
+
"f57a852986572c44bd82251e9e704fc808d16ac7": true,
|
|
30533
30556
|
"f57ba02c306456f690605ab8d273ca7e4f3c44d8": true,
|
|
30534
30557
|
"f57d1abba755fa928289f97b0626a38009ac0d38": true,
|
|
30535
30558
|
"f580069eb46151711458b88c66d4c40f46b8e847": true,
|
package/package.json
CHANGED
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
"zod": "^4.6.7"
|
|
201
201
|
},
|
|
202
202
|
"name": "@codyswann/lisa",
|
|
203
|
-
"version": "8.10.
|
|
203
|
+
"version": "8.10.5",
|
|
204
204
|
"description": "Governance-as-code for AI coding agents: turns a repository into agent-operated software factories with guardrails, guidance and automated enforcement for Claude Code, Codex, Cursor, OpenCode, Antigravity, Copilot and Devin",
|
|
205
205
|
"main": "dist/index.js",
|
|
206
206
|
"exports": {
|
|
@@ -371,7 +371,7 @@
|
|
|
371
371
|
"optional": true
|
|
372
372
|
}
|
|
373
373
|
},
|
|
374
|
-
"lisaReleaseCommit": "
|
|
375
|
-
"gitHead": "
|
|
376
|
-
"lisaReleaseTag": "v8.10.
|
|
374
|
+
"lisaReleaseCommit": "c75173306d5e2b69e8dc38e6d54fa9325ad0037b",
|
|
375
|
+
"gitHead": "c75173306d5e2b69e8dc38e6d54fa9325ad0037b",
|
|
376
|
+
"lisaReleaseTag": "v8.10.5"
|
|
377
377
|
}
|
|
@@ -79,7 +79,7 @@ These tracker and local-binding operations come first because they establish wha
|
|
|
79
79
|
|
|
80
80
|
**CI-rework route.** `lisa-track` decides the route from the item's comments before it writes anything, ignoring claim comments so a claim (including the session manager's earlier one) never hides the `[lisa-ci-failed]` marker, using the same shared helper (`scripts/lisa-ci-rework-route.mjs`) as build intake 3b. With `route: implement` nothing changes. With `route: ci-rework pr=<n>`, a required check failed on this item's existing pull request, so the work goes back to that pull request — never a new branch or a second pull request for the same item (CodySwannGT/lisa#4677). Skip the full build: no planning, research or implementation phases, no claim-time archaeology or triage — the item was already triaged and built, and only its PR's checks are red. Run this instead:
|
|
81
81
|
|
|
82
|
-
1. Put the PR's head branch (`head_ref`, or `gh pr view <n> --repo <org>/<repo> --json headRefName`) in a dedicated worktree bound to the item. If `git worktree list` already shows a worktree with `<headRefName>` checked out, reuse it (pull it up to `origin/<headRefName>` first). Otherwise run `git fetch origin <headRefName>`, then check for a local `<headRefName>` branch. If one exists and `git rev-list --count origin/<headRefName>..<headRefName>` is greater than zero, it holds a prior agent's unpushed commits: add the worktree on that local branch with `git worktree add <path> <headRefName>`, then merge `origin/<headRefName>` into it and push, so that work is published rather than discarded. Use `git worktree add -B <headRefName> <path> origin/<headRefName>` only when the local branch is absent or has nothing unpushed. Then run `node scripts/lisa-work-item.mjs link <canonical-ref>` from inside it and read it back through `node scripts/lisa-work-item.mjs current`. Run the ignore guard above there and copy the resolved `.lisa/work-item-context.md` into that worktree unchanged. Only after that copy, and only when the resolution ran in a different worktree, clean that worktree up: run `node scripts/lisa-work-item.mjs clear` there
|
|
82
|
+
1. Put the PR's head branch (`head_ref`, or `gh pr view <n> --repo <org>/<repo> --json headRefName`) in a dedicated worktree bound to the item. If `git worktree list` already shows a worktree with `<headRefName>` checked out, reuse it (pull it up to `origin/<headRefName>` first). Otherwise run `git fetch origin <headRefName>`, then check for a local `<headRefName>` branch. If one exists and `git rev-list --count origin/<headRefName>..<headRefName>` is greater than zero, it holds a prior agent's unpushed commits: add the worktree on that local branch with `git worktree add <path> <headRefName>`, then merge `origin/<headRefName>` into it and push, so that work is published rather than discarded. Use `git worktree add -B <headRefName> <path> origin/<headRefName>` only when the local branch is absent or has nothing unpushed. Then run `node scripts/lisa-work-item.mjs link <canonical-ref>` from inside it and read it back through `node scripts/lisa-work-item.mjs current`. Run the ignore guard above there and copy the resolved `.lisa/work-item-context.md` into that worktree unchanged. Only after that copy, and only when the resolution ran in a different worktree, clean that worktree up: run `node scripts/lisa-work-item.mjs clear` there, which also removes its `.lisa/work-item-context.md`, so no stale binding and no secret-bearing copy of the bundle are left behind.
|
|
83
83
|
2. In the PR worktree's `.lisa/work-item-context.md`, append the marker comment's failing check names under `## CI failure`. Pass no rejection evidence, because nobody rejected the work.
|
|
84
84
|
3. From that worktree, invoke `lisa-drive-pr-to-merge pr=<n>`, naming the failing checks: it fixes them on the existing branch and drives the pull request to merge.
|
|
85
85
|
4. Record no rejection learning: no `lisa-persist-learning` candidate and no `[lisa-rejection-candidate]` marker (the `rejection-detection` rule's CI-rework exemption). The item is not complete while the marker is uncleared: record no success outcome, done role or close until the pull request merges with every required check green. The producer's next all-green run clears the marker, and a merged or closed pull request's marker counts as cleared. On merge, finish as a build success does (tracker sync, evidence, lifecycle transition). If the pull request cannot be driven green, leave the item claimed and report why. Under `managedBy=`, the terminal `DONE:` / `FAILED:` line is sent exactly as for a build.
|
|
@@ -363,6 +363,6 @@ Before finishing, execute the Verify flow:
|
|
|
363
363
|
13a. **Switched-off work** (the item's `## Release Switch` says `Switched off — <switch-name>`, in a project with live users): steps 12 and 13 verify it with the switch **on** in a non-production environment, or, in a project with one environment, locally or for a test account only. Read back that the switch is **off** in production and record that read as evidence; if you cannot read the production value, you cannot claim the work is dark, so treat it as missing access (`tool-access-gate`). Only the item that removes the switch turns the feature on, and only once the whole feature is verified: when the declaration names another item as the remover, verify this item's part and leave the switch off in production. For the removing item, once verification passes, first confirm that the version you verified is what production is running (the production deployment includes the feature's last merge), because turning the switch on over an earlier, incomplete version shows users unfinished work. Then turn the switch on in production yourself. No person is needed, unless `node scripts/lisa-release-switch.mjs config` reports `"turnOn": "human"` (the project lists `feature-release` in `humanGate.humanOnly`); then that one step is a declared human gate: post a plain-English comment saying the feature is verified and waiting to be turned on, and hold the item there with a human-gate reason that names the class, for example `feature-release: turn <switch-name> on in production` (a reason that does not name `feature-release` is refused as a decision the agent should make). If the same command lists a `humanGate.humanOnly` problem, the project's setting is malformed: report it and do not turn the feature on. Remove the switch only after it is on in production and healthy, in a follow-on change on the same work item (or the item the declaration names): never while verification is failing or the turn-on is still waiting at the human gate, because removing the guard keeps the enabled path. That removal change is verified differently: the switch is on, or already gone, so there is no "off in production" to read back. Verify instead that the feature works in production with the switch removed and that nothing still reads it. `lisa-work-item.mjs finish` refuses the removing item while tracked source still references the switch.
|
|
364
364
|
14. If remote verification fails, find out why. **A change whose failure is live is reverted, not fixed forward** (`coding-philosophy`, "Always Promotable"). Judge that by what users can reach, not only by the declaration: the failure is live when the item's `## Release Switch` says `Live` (or it has none), and also when the item is switched off but the failure shows with the switch off (it broke existing behavior). In a project with live users, that change is on a shared branch that must stay promotable. Revert it at once: open a pull request that reverts the merged change, drive it to merge with `lisa-drive-pr-to-merge`, then return the work item to the ready queue with the failure evidence so the rework arrives as a fresh claim. Never leave the change in place while you fix it, and never hold a promotion for it. Write the verdict with `status: "blocked"`, marking each criterion the failure affects as `blocked` with the failure and the revert as its evidence, and end the flow there: the completion gate releases on a `blocked` verdict, and the rework is already back in the ready queue. Once the switch is on in production, every failure of the feature is live: turn the switch off again at once, which is the fastest way back, and revert the removal change if it has already shipped. **A failure that only shows with the switch on while the switch is still off in production, and any failure in a project that sets `release.liveUsers: false`, is fixed forward**: nothing users can reach is broken and nothing is blocked, so fix it and return to step 5. **Bound this loop**: after a small number of full fix→deploy→reverify cycles without reaching a passing remote verdict (treat ~3 as the ceiling unless the work item states otherwise), stop retrying — file a build-ready fix ticket, write the verdict with `status: "blocked"` and the diagnosis, and move the work item to blocked rather than looping indefinitely. The completion gate releases on a `blocked` verdict, so the flow ends with a recorded outcome instead of a silent spin or a self-declared success.
|
|
365
365
|
15. **Post evidence to the originating work item** via `lisa-tracker-evidence` (vendor-neutral; dispatches to `lisa-jira-evidence`, `lisa-github-evidence`, or `lisa-linear-evidence` per `.lisa.config.json` `tracker`), including the list of codified tests added on this branch. **If the work is UI-visible** (any verification step ran in a browser, or the change touches a user-facing surface), author `evidence/comment.md` per the **UI Evidence Checklist** in `lisa-tracker-evidence` — numbered live-session steps, one screenshot per step captured through the interactive browser controller and uploaded to the configured GitHub evidence release (default `pr-assets`) as plain URLs, and an explicit invitation to be corrected. This step is what makes the proof visible to a non-technical operator standing at the gate; a terminal work item with no posted evidence is an incomplete flow, not a finished one.
|
|
366
|
-
16. After true terminal completion — required merge/deploy/verification passed, usage/evidence and two-way PR linkage are recorded, and the work item is terminal (terminal completion is `lisa-work-item.mjs finish`, run by `lisa-drive-pr-to-merge` §3d) — run `node scripts/lisa-work-item.mjs clear`,
|
|
366
|
+
16. After true terminal completion — required merge/deploy/verification passed, usage/evidence and two-way PR linkage are recorded, and the work item is terminal (terminal completion is `lisa-work-item.mjs finish`, run by `lisa-drive-pr-to-merge` §3d) — run `node scripts/lisa-work-item.mjs clear`, which also removes this ticket's work-item context file (`.lisa/work-item-context.md`) so comment-borne secrets do not outlive the work, and verify the worktree has no current binding and no context file. If `clear` reports that it kept the file because it names another ticket, leave it: that work is not finished. Do not clear on an interruption or blocked outcome; preserving the binding is what keeps resumed work attributable.
|
|
367
367
|
|
|
368
368
|
**Ticket status transitions throughout this flow are config-bound** per the **Tracker status vocabulary** section of the `config-resolution` rule: whoever performs the tracker write may only target statuses named in the configured workflow map (`claimed`, `blocked`, env-keyed `done`, and `review`/`qa` when configured). Never adopt a status discovered from the tracker's live workflow; a lifecycle stage with no configured status gets a comment, not a transition.
|
|
@@ -365,6 +365,19 @@ function main() {
|
|
|
365
365
|
runIntakeRead();
|
|
366
366
|
return;
|
|
367
367
|
}
|
|
368
|
+
if (process.argv.includes("--tracker-create")) {
|
|
369
|
+
// Loaded on demand: it reaches into sibling skills and the plugin's
|
|
370
|
+
// scripts, and a missing file there must never break this module's hooks.
|
|
371
|
+
import("./task-tracker-create.mjs").then(
|
|
372
|
+
module => module.runTrackerCreate(),
|
|
373
|
+
() => {
|
|
374
|
+
const result = failure("tool-missing");
|
|
375
|
+
console.error(`${result.code}: ${result.action}`);
|
|
376
|
+
process.exitCode = 2;
|
|
377
|
+
}
|
|
378
|
+
);
|
|
379
|
+
return;
|
|
380
|
+
}
|
|
368
381
|
if (process.argv.includes("--prepare")) {
|
|
369
382
|
const cfg = readTaskConfig();
|
|
370
383
|
const index = process.argv.indexOf("--ref");
|
|
@@ -431,7 +444,13 @@ if (invokedAsScript(import.meta.url)) {
|
|
|
431
444
|
const result = failure(
|
|
432
445
|
error instanceof AccessFailure ? error.code : "config-invalid"
|
|
433
446
|
);
|
|
434
|
-
|
|
447
|
+
// A prepare refusal whose cause is known says it, instead of the generic
|
|
448
|
+
// resolver text that names neither the file nor the ticket (#5199).
|
|
449
|
+
const detail =
|
|
450
|
+
error instanceof AccessFailure && typeof error.detail === "string"
|
|
451
|
+
? error.detail
|
|
452
|
+
: result.action;
|
|
453
|
+
console.error(`${result.code}: ${detail}`);
|
|
435
454
|
process.exitCode = process.argv.includes("--prepare") ? 2 : 1;
|
|
436
455
|
}
|
|
437
456
|
}
|
|
@@ -46,6 +46,13 @@ export function readinessOwnerInvocation(command, root = process.cwd()) {
|
|
|
46
46
|
for (const runtime of ["node", process.execPath, quote(process.execPath)])
|
|
47
47
|
for (const script of [owner, quote(owner)]) {
|
|
48
48
|
if (command === `${runtime} ${script} --task`) return true;
|
|
49
|
+
// Filing the ticket the work needs is tracker bookkeeping; the owner
|
|
50
|
+
// files only into the configured tracker and enforces readiness itself.
|
|
51
|
+
const create = `${runtime} ${script} --tracker-create --input-file `;
|
|
52
|
+
if (command.startsWith(create)) {
|
|
53
|
+
const file = command.slice(create.length);
|
|
54
|
+
return plainPath.test(file) && outsideEveryRepository(file, root);
|
|
55
|
+
}
|
|
49
56
|
for (const mode of ["task", "prepare"]) {
|
|
50
57
|
const prefix = `${runtime} ${script} --${mode} --ref `;
|
|
51
58
|
if (!command.startsWith(prefix)) continue;
|
package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-context-write.mjs
CHANGED
|
@@ -20,6 +20,18 @@ const fail = () => {
|
|
|
20
20
|
throw new AccessFailure("requirements-stale");
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
+
/** A refusal whose cause can be said exactly; the code is unchanged. */
|
|
24
|
+
const failWith = detail => {
|
|
25
|
+
throw Object.assign(new AccessFailure("requirements-stale"), { detail });
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** A ticket reference safe to print, or a neutral stand-in. */
|
|
29
|
+
const shown = ref =>
|
|
30
|
+
typeof ref === "string" &&
|
|
31
|
+
/^(?:[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+#\d+|[A-Z][A-Z0-9]+-\d+)$/u.test(ref)
|
|
32
|
+
? ref
|
|
33
|
+
: "another ticket";
|
|
34
|
+
|
|
23
35
|
/** The existing resolver contract permits only this one Git-private exclusion. */
|
|
24
36
|
function ensureIgnored(root) {
|
|
25
37
|
const ignored = () => {
|
|
@@ -81,7 +93,11 @@ export function writeRequirementsContext(
|
|
|
81
93
|
input.requirements_complete !== true
|
|
82
94
|
)
|
|
83
95
|
fail();
|
|
84
|
-
if (!configuredRef(cfg, ref)
|
|
96
|
+
if (!configuredRef(cfg, ref)) fail();
|
|
97
|
+
if (binding && binding.ref !== ref)
|
|
98
|
+
failWith(
|
|
99
|
+
`this checkout is bound to ${shown(binding.ref)}, and prepare runs only for the bound ticket. When ${shown(binding.ref)} is finished, run \`node scripts/lisa-work-item.mjs clear\`, which also removes its .lisa/work-item-context.md; or bind this ticket with \`node scripts/lisa-work-item.mjs link ${shown(ref)}\` first.`
|
|
100
|
+
);
|
|
85
101
|
const path = join(cfg.projectRoot, ".lisa/work-item-context.md");
|
|
86
102
|
let initial = false;
|
|
87
103
|
try {
|
|
@@ -112,6 +128,14 @@ export function writeRequirementsContext(
|
|
|
112
128
|
binding?.ref === ref &&
|
|
113
129
|
previous !== null &&
|
|
114
130
|
previous !== ref;
|
|
131
|
+
// Unbound, another ticket's context may be prepared but not yet linked,
|
|
132
|
+
// so it is kept; the refusal says whose it is and how to move on (#5199).
|
|
133
|
+
if (!replacing && previous !== null && previous !== ref)
|
|
134
|
+
failWith(
|
|
135
|
+
binding?.ref === ref
|
|
136
|
+
? `.lisa/work-item-context.md holds the context of ${shown(previous)}, not ${shown(ref)}. Run this prepare again with this ticket's full text as "context_body": it then replaces the old context.`
|
|
137
|
+
: `.lisa/work-item-context.md holds the context of ${shown(previous)}, not ${shown(ref)}, and it is kept because no binding names ${shown(ref)}. If ${shown(previous)} is finished, bind this ticket with \`node scripts/lisa-work-item.mjs link ${shown(ref)}\` and run this prepare again: it then replaces the old context.`
|
|
138
|
+
);
|
|
115
139
|
if (input.context_body !== undefined && !replacing) fail();
|
|
116
140
|
}
|
|
117
141
|
const eas = join(cfg.projectRoot, ".easignore");
|
|
@@ -93,7 +93,7 @@ function requireThreadRepository(value, repo) {
|
|
|
93
93
|
throw new AccessFailure("identity-mismatch");
|
|
94
94
|
}
|
|
95
95
|
/** Probe native first; only genuine unavailability may select the supported fallback. */
|
|
96
|
-
function selectedAccess(cfg, repo) {
|
|
96
|
+
export function selectedAccess(cfg, repo) {
|
|
97
97
|
const requirement = { operation: "repository-read", resource: repo };
|
|
98
98
|
const native = githubAccess(cfg, requirement, undefined, { intake: true });
|
|
99
99
|
if (native.code === "identity-mismatch" || native.code === "tool-missing")
|