@codyswann/lisa 4.107.10 → 4.107.12

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 (98) hide show
  1. package/dist/core/learnings-retire.d.ts +59 -0
  2. package/dist/core/learnings-retire.d.ts.map +1 -0
  3. package/dist/core/learnings-retire.js +131 -0
  4. package/dist/core/learnings-retire.js.map +1 -0
  5. package/dist/core/learnings.d.ts +1 -0
  6. package/dist/core/learnings.d.ts.map +1 -1
  7. package/dist/core/learnings.js +1 -0
  8. package/dist/core/learnings.js.map +1 -1
  9. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  10. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  11. package/dist/core/upstream-evidence-manifest.js +12 -5
  12. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  13. package/nestjs/create-only/.github/k6/README.md +18 -15
  14. package/nestjs/create-only/.github/k6/scenarios/smoke.js +4 -1
  15. package/package.json +4 -4
  16. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  17. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  18. package/plugins/lisa/.codex-plugin/skills/lisa-learnings-audit/SKILL.md +30 -1
  19. package/plugins/lisa/rules/reference/project-learnings.md +21 -0
  20. package/plugins/lisa/skills/lisa-learnings-audit/SKILL.md +30 -1
  21. package/plugins/lisa-agy/plugin.json +1 -1
  22. package/plugins/lisa-agy/skills/lisa-learnings-audit/SKILL.md +30 -1
  23. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  24. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  25. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  26. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  27. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  28. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  29. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  30. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  31. package/plugins/lisa-copilot/rules/reference/project-learnings.md +21 -0
  32. package/plugins/lisa-copilot/skills/lisa-learnings-audit/SKILL.md +30 -1
  33. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  34. package/plugins/lisa-cursor/rules/project-learnings-reference.mdc +21 -0
  35. package/plugins/lisa-cursor/skills/lisa-learnings-audit/SKILL.md +30 -1
  36. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  37. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  38. package/plugins/lisa-devin/rules/reference/project-learnings.md +21 -0
  39. package/plugins/lisa-devin/skills/lisa-learnings-audit/SKILL.md +30 -1
  40. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  41. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  42. package/plugins/lisa-expo-agy/plugin.json +1 -1
  43. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  44. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  45. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  46. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  47. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  48. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  49. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  50. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  51. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  52. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  53. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  54. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  55. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  56. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  57. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  58. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  59. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  60. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  61. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  62. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  63. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  64. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  65. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  66. package/plugins/lisa-openclaw-devin/.claude-plugin/plugin.json +1 -1
  67. package/plugins/lisa-openclaw-devin/.devin-plugin/plugin.json +1 -1
  68. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  69. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  70. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  71. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  72. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  73. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  74. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  75. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  76. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  77. package/plugins/lisa-rails-agy/plugin.json +1 -1
  78. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  79. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  80. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  81. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  82. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  83. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  84. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  85. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  86. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  87. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  88. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  89. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  90. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  91. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  92. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  93. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  94. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  95. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  96. package/plugins/src/base/rules/reference/project-learnings.md +21 -0
  97. package/plugins/src/base/skills/lisa-learnings-audit/SKILL.md +30 -1
  98. package/typescript/copy-overwrite/.github/GITHUB_ACTIONS.md +5 -0
@@ -0,0 +1,59 @@
1
+ import { type LearningEntry } from "./learnings-contract.js";
2
+ import { type StaleSupersedeTarget } from "./learnings-supersede.js";
3
+ /** Outcome vocabulary for {@link retireLearningEntry}. */
4
+ export type RetireLearningStatus = "retired" | "stale" | "not-found";
5
+ /** Caller diagnostics for {@link retireLearningEntry}. */
6
+ export interface RetireLearningOptions {
7
+ /**
8
+ * Called, inside the lock and before returning, when the live entry's
9
+ * fingerprint no longer equals the caller's expected fingerprint. Uses the
10
+ * same report shape as a stale consolidation target so one handler can
11
+ * serve both writers.
12
+ */
13
+ readonly onStale?: (target: StaleSupersedeTarget) => void;
14
+ }
15
+ /** Structured no-throw outcome of a fingerprint-guarded retirement. */
16
+ export interface RetireLearningResult {
17
+ /** Removed, refused because the entry drifted, or nothing to remove. */
18
+ readonly status: RetireLearningStatus;
19
+ /** The entry id the caller asked to retire. */
20
+ readonly id: string;
21
+ /**
22
+ * Absolute learnings file path whenever the file exists. Absent only when
23
+ * the learnings file itself does not exist.
24
+ */
25
+ readonly file?: string;
26
+ /** The full fingerprint the caller observed when it proposed the retire. */
27
+ readonly expectedFingerprint: string;
28
+ /** The live fingerprint, reported only when it refused a `stale` retire. */
29
+ readonly actualFingerprint?: string;
30
+ /** The exact entry removed, present only when `status` is `retired`. */
31
+ readonly retired?: LearningEntry;
32
+ }
33
+ /**
34
+ * Remove exactly one ledger entry, but only if it is still the version the
35
+ * caller audited (CodySwannGT/lisa#4530).
36
+ *
37
+ * This is a compare-and-swap delete. A gardener RETIRE row is approved some
38
+ * time after it was audited, and in between a learner run may consolidate new
39
+ * lessons into the same id — `persistConsolidatedLearning` keeps the target id
40
+ * while the fingerprint changes. Deleting by id alone would silently discard
41
+ * those merged lessons, so inside the ledger lock this re-reads the live entry
42
+ * and refuses (`stale`, nothing written, `onStale` called) unless its
43
+ * fingerprint equals `expectedFingerprint`. On a match it removes that entry,
44
+ * re-checks the shared budgets on the rendered document, and writes atomically
45
+ * behind the same unchanged-guard the persist writers use. On a v2 ledger every
46
+ * other entry stays byte-identical; a v1 ledger is migrated to v2 by this write,
47
+ * exactly as `confirmLearningEntry` migrates it. A missing file or unknown id
48
+ * is a structured `not-found` no-op; a missing file creates no directories or
49
+ * locks.
50
+ * @param projectRoot - Absolute path to the host project root
51
+ * @param id - Stable id of the entry to retire
52
+ * @param expectedFingerprint - The FULL live `entry.fingerprint` observed at
53
+ * audit time — never the 12-hex gardener marker hash or any prefix of it
54
+ * @param options - Optional stale-target diagnostic
55
+ * @returns Structured outcome; throws only for invalid input, an unsafe or
56
+ * malformed ledger, or a concurrent write
57
+ */
58
+ export declare function retireLearningEntry(projectRoot: string, id: string, expectedFingerprint: string, options?: RetireLearningOptions): Promise<RetireLearningResult>;
59
+ //# sourceMappingURL=learnings-retire.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"learnings-retire.d.ts","sourceRoot":"","sources":["../../src/core/learnings-retire.ts"],"names":[],"mappings":"AAOA,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,yBAAyB,CAAC;AAajC,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAcrE,0DAA0D;AAC1D,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,OAAO,GAAG,WAAW,CAAC;AAErE,0DAA0D;AAC1D,MAAM,WAAW,qBAAqB;IACpC;;;;;OAKG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAC;CAC3D;AAED,uEAAuE;AACvE,MAAM,WAAW,oBAAoB;IACnC,wEAAwE;IACxE,QAAQ,CAAC,MAAM,EAAE,oBAAoB,CAAC;IACtC,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,4EAA4E;IAC5E,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,4EAA4E;IAC5E,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACpC,wEAAwE;IACxE,QAAQ,CAAC,OAAO,CAAC,EAAE,aAAa,CAAC;CAClC;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAsB,mBAAmB,CACvC,WAAW,EAAE,MAAM,EACnB,EAAE,EAAE,MAAM,EACV,mBAAmB,EAAE,MAAM,EAC3B,OAAO,GAAE,qBAA0B,GAClC,OAAO,CAAC,oBAAoB,CAAC,CAkD/B"}
@@ -0,0 +1,131 @@
1
+ /**
2
+ * @file learnings-retire.ts
3
+ * @description Fingerprint-guarded removal of one project-learnings entry
4
+ * @module core/learnings-retire
5
+ */
6
+ import * as path from "node:path";
7
+ import { writeFileAtomically } from "../utils/atomic-file-write.js";
8
+ import { MAX_STABLE_TOKEN_BYTES, } from "./learnings-contract.js";
9
+ import { assertDocumentBudget, parseLearningsFile, renderLearningsFile, } from "./learnings-document.js";
10
+ import { assertLearningsUnchanged, assertSafeLearningParents, readExistingLearnings, resolveSafeLearningTarget, } from "./learnings-file-safety.js";
11
+ import { withLearningTargetLock } from "./learnings-lock.js";
12
+ import { readProjectConfig, resolveProjectLearningsFile, } from "./project-config.js";
13
+ const STABLE_TOKEN = /^[a-z0-9]+(?:[._-][a-z0-9]+)*$/;
14
+ /** The 12-hex invariant hash a `[lisa-gardener] key=ledger:<id>+<hash>` marker carries. */
15
+ const GARDENER_MARKER_HASH = /^[0-9a-f]{12}$/;
16
+ /** A `learningFingerprint` value, complete or cut short. */
17
+ const HASH_FINGERPRINT = /^learning-([0-9a-f]+)$/;
18
+ /** Hex digits `learningFingerprint` emits after its `learning-` prefix. */
19
+ const HASH_FINGERPRINT_HEX_LENGTH = 20;
20
+ /**
21
+ * Remove exactly one ledger entry, but only if it is still the version the
22
+ * caller audited (CodySwannGT/lisa#4530).
23
+ *
24
+ * This is a compare-and-swap delete. A gardener RETIRE row is approved some
25
+ * time after it was audited, and in between a learner run may consolidate new
26
+ * lessons into the same id — `persistConsolidatedLearning` keeps the target id
27
+ * while the fingerprint changes. Deleting by id alone would silently discard
28
+ * those merged lessons, so inside the ledger lock this re-reads the live entry
29
+ * and refuses (`stale`, nothing written, `onStale` called) unless its
30
+ * fingerprint equals `expectedFingerprint`. On a match it removes that entry,
31
+ * re-checks the shared budgets on the rendered document, and writes atomically
32
+ * behind the same unchanged-guard the persist writers use. On a v2 ledger every
33
+ * other entry stays byte-identical; a v1 ledger is migrated to v2 by this write,
34
+ * exactly as `confirmLearningEntry` migrates it. A missing file or unknown id
35
+ * is a structured `not-found` no-op; a missing file creates no directories or
36
+ * locks.
37
+ * @param projectRoot - Absolute path to the host project root
38
+ * @param id - Stable id of the entry to retire
39
+ * @param expectedFingerprint - The FULL live `entry.fingerprint` observed at
40
+ * audit time — never the 12-hex gardener marker hash or any prefix of it
41
+ * @param options - Optional stale-target diagnostic
42
+ * @returns Structured outcome; throws only for invalid input, an unsafe or
43
+ * malformed ledger, or a concurrent write
44
+ */
45
+ export async function retireLearningEntry(projectRoot, id, expectedFingerprint, options = {}) {
46
+ if (typeof id !== "string" || id.trim() === "") {
47
+ throw new Error("Invalid learning id: expected a non-empty string");
48
+ }
49
+ const fingerprint = requireFullFingerprint(expectedFingerprint);
50
+ const config = await readProjectConfig(projectRoot);
51
+ const relativeFile = resolveProjectLearningsFile(config);
52
+ const { root, target } = resolveSafeLearningTarget(projectRoot, relativeFile);
53
+ await assertSafeLearningParents(root, path.dirname(target));
54
+ // Probe outside the lock so a missing file creates no directories or locks.
55
+ const probe = await readExistingLearnings(target);
56
+ if (probe === undefined) {
57
+ return { status: "not-found", id, expectedFingerprint: fingerprint };
58
+ }
59
+ return withLearningTargetLock(target, async () => {
60
+ await assertSafeLearningParents(root, path.dirname(target));
61
+ const existing = await readExistingLearnings(target);
62
+ const entries = existing === undefined ? [] : parseLearningsFile(existing);
63
+ const current = entries.find(entry => entry.id === id);
64
+ const base = {
65
+ id,
66
+ file: target,
67
+ expectedFingerprint: fingerprint,
68
+ };
69
+ if (current === undefined) {
70
+ return { status: "not-found", ...base };
71
+ }
72
+ if (current.fingerprint !== fingerprint) {
73
+ options.onStale?.({
74
+ expected: { id, fingerprint },
75
+ actualFingerprint: current.fingerprint,
76
+ reason: "fingerprint-mismatch",
77
+ });
78
+ return {
79
+ status: "stale",
80
+ ...base,
81
+ actualFingerprint: current.fingerprint,
82
+ };
83
+ }
84
+ const rendered = renderRetiredDocument(entries.filter(entry => entry.id !== id));
85
+ await writeFileAtomically(target, rendered, {
86
+ beforeRename: async () => {
87
+ await assertSafeLearningParents(root, path.dirname(target));
88
+ await assertLearningsUnchanged(target, existing);
89
+ },
90
+ });
91
+ return { status: "retired", ...base, retired: current };
92
+ });
93
+ }
94
+ /**
95
+ * Reject anything that is not a complete entry fingerprint before any
96
+ * filesystem work. The gardener marker's 12-hex hash and a truncated
97
+ * `learning-<hex>` value are the two plausible caller mistakes: either would
98
+ * only ever produce `stale`, hiding the bug behind a safe-looking refusal.
99
+ * Legacy non-hash fingerprints (a v1 id carried forward) stay valid.
100
+ * @param value - Untrusted expected fingerprint
101
+ * @returns The validated full fingerprint
102
+ */
103
+ function requireFullFingerprint(value) {
104
+ if (typeof value !== "string" || value === "") {
105
+ throw new Error("Invalid expectedFingerprint: expected the full entry fingerprint string");
106
+ }
107
+ if (Buffer.byteLength(value, "utf8") > MAX_STABLE_TOKEN_BYTES ||
108
+ !STABLE_TOKEN.test(value)) {
109
+ throw new Error("Invalid expectedFingerprint: expected a stable token");
110
+ }
111
+ if (GARDENER_MARKER_HASH.test(value)) {
112
+ throw new Error("Invalid expectedFingerprint: this is the 12-hex gardener marker hash, not the entry fingerprint");
113
+ }
114
+ const hex = HASH_FINGERPRINT.exec(value)?.[1];
115
+ if (hex !== undefined && hex.length !== HASH_FINGERPRINT_HEX_LENGTH) {
116
+ throw new Error(`Invalid expectedFingerprint: learning-<hex> fingerprints carry exactly ${HASH_FINGERPRINT_HEX_LENGTH} hex digits`);
117
+ }
118
+ return value;
119
+ }
120
+ /**
121
+ * Render and budget-check the post-retirement document through the same path
122
+ * every other writer uses, so a retire can never persist an invalid ledger.
123
+ * @param entries - Entries that remain after the retired one is removed
124
+ * @returns Next canonical document
125
+ */
126
+ function renderRetiredDocument(entries) {
127
+ const rendered = renderLearningsFile(entries);
128
+ assertDocumentBudget(rendered, entries.length, "Learnings file");
129
+ return rendered;
130
+ }
131
+ //# sourceMappingURL=learnings-retire.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"learnings-retire.js","sourceRoot":"","sources":["../../src/core/learnings-retire.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EACL,sBAAsB,GAEvB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,oBAAoB,EACpB,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AqB,CAAC,OAAiC;IAC9D,MAAM,QAAQ,GAAG,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAC9C,oBAAoB,CAAC,QAAQ,EAAE,OAAO,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;IACjE,OAAO,QAAQ,CAAC;AAClB,CAAC"}
@@ -5,6 +5,7 @@ export { parseLearningsDocument, type ParsedLearningsDocument, } from "./learnin
5
5
  export * from "./learnings-merge.js";
6
6
  export * from "./learnings-overflow.js";
7
7
  export * from "./learnings-projection.js";
8
+ export * from "./learnings-retire.js";
8
9
  export * from "./learnings-supersede.js";
9
10
  export * from "./learnings-writer.js";
10
11
  export * from "./upstream-attribution-body.js";
@@ -1 +1 @@
1
- {"version":3,"file":"learnings.d.ts","sourceRoot":"","sources":["../../src/core/learnings.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,OAAO,EACL,sBAAsB,EACtB,KAAK,uBAAuB,GAC7B,MAAM,yBAAyB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,OAAO,EACL,8BAA8B,EAC9B,8BAA8B,EAC9B,cAAc,EACd,uBAAuB,EACvB,yBAAyB,EACzB,0BAA0B,EAC1B,iBAAiB,EACjB,wBAAwB,EACxB,iCAAiC,EACjC,6BAA6B,EAC7B,2BAA2B,EAC3B,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,yBAAyB,GAC/B,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"learnings.d.ts","sourceRoot":"","sources":["../../src/core/learnings.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,OAAO,EACL,sBAAsB,EACtB,KAAK,uBAAuB,GAC7B,MAAM,yBAAyB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,OAAO,EACL,8BAA8B,EAC9B,8BAA8B,EAC9B,cAAc,EACd,uBAAuB,EACvB,yBAAyB,EACzB,0BAA0B,EAC1B,iBAAiB,EACjB,wBAAwB,EACxB,iCAAiC,EACjC,6BAA6B,EAC7B,2BAA2B,EAC3B,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,yBAAyB,GAC/B,MAAM,qBAAqB,CAAC"}
@@ -5,6 +5,7 @@ export { parseLearningsDocument, } from "./learnings-document.js";
5
5
  export * from "./learnings-merge.js";
6
6
  export * from "./learnings-overflow.js";
7
7
  export * from "./learnings-projection.js";
8
+ export * from "./learnings-retire.js";
8
9
  export * from "./learnings-supersede.js";
9
10
  export * from "./learnings-writer.js";
10
11
  export * from "./upstream-attribution-body.js";
@@ -1 +1 @@
1
- {"version":3,"file":"learnings.js","sourceRoot":"","sources":["../../src/core/learnings.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,OAAO,EACL,sBAAsB,GAEvB,MAAM,yBAAyB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,OAAO,EACL,8BAA8B,EAC9B,8BAA8B,EAC9B,cAAc,EACd,uBAAuB,EACvB,yBAAyB,EACzB,0BAA0B,EAC1B,iBAAiB,EACjB,wBAAwB,EACxB,iCAAiC,EACjC,6BAA6B,EAC7B,2BAA2B,GAK5B,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"learnings.js","sourceRoot":"","sources":["../../src/core/learnings.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,OAAO,EACL,sBAAsB,GAEvB,MAAM,yBAAyB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,OAAO,EACL,8BAA8B,EAC9B,8BAA8B,EAC9B,cAAc,EACd,uBAAuB,EACvB,yBAAyB,EACzB,0BAA0B,EAC1B,iBAAiB,EACjB,wBAAwB,EACxB,iCAAiC,EACjC,6BAA6B,EAC7B,2BAA2B,GAK5B,MAAM,qBAAqB,CAAC"}
@@ -41,9 +41,9 @@ export const NIGHTLY_E2E_GUARD_BEHAVIOR_CERTIFICATES = Object.freeze({
41
41
  }),
42
42
  d1b26caeaf65950e3b60ff41964d234c032c50470072e7643310b1f6722e34e6: Object.freeze({
43
43
  contractVersion: "1.9.0",
44
- packageVersions: Object.freeze(["4.107.10"]),
44
+ packageVersions: Object.freeze(["4.107.12"]),
45
45
  provenances: Object.freeze([
46
- "workspace package @codyswann/lisa@4.107.10 (typescript/copy-overwrite/scripts/check-nightly-e2e-health.mjs)",
46
+ "workspace package @codyswann/lisa@4.107.12 (typescript/copy-overwrite/scripts/check-nightly-e2e-health.mjs)",
47
47
  ]),
48
48
  }),
49
49
  dfd2fef680de5ef03e63075e8a61c62ca4d95cdfdff6201939b79c748d3397f6: Object.freeze({
@@ -1 +1 @@
1
- {"version":3,"file":"upstream-evidence-manifest.d.ts","sourceRoot":"","sources":["../../src/core/upstream-evidence-manifest.ts"],"names":[],"mappings":"AACA,iFAAiF;AACjF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAojGpE,CAAC;AAEL,4EAA4E;AAC5E,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CA0vVjE,CAAC;AAEL,sFAAsF;AACtF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAk6I/D,CAAC"}
1
+ {"version":3,"file":"upstream-evidence-manifest.d.ts","sourceRoot":"","sources":["../../src/core/upstream-evidence-manifest.ts"],"names":[],"mappings":"AACA,iFAAiF;AACjF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAojGpE,CAAC;AAEL,4EAA4E;AAC5E,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAiwVjE,CAAC;AAEL,sFAAsF;AACtF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAk6I/D,CAAC"}
@@ -353,13 +353,13 @@ export const UPSTREAM_EVIDENCE_MANIFEST = Object.freeze({
353
353
  "nestjs/copy-overwrite/vitest.nestjs.ts": "18aef942beb656da8566c41419c005055c1816cc42482f796e4870f3e4891ab4",
354
354
  "nestjs/create-only/.github/k6/BROWSER_TESTING_NOTE.md": "7895bd154311aff6a730a11148338ecf71dd339811288b975eacad60265dbe5d",
355
355
  "nestjs/create-only/.github/k6/INTEGRATION_GUIDE.md": "a7da14fd26ed279f61cb476cefef436a6623a0878a64f0c724d01016d32a4dab",
356
- "nestjs/create-only/.github/k6/README.md": "199cde3d0ac7282f3cd72fdb9167f9b11e134dd00cc0bbf3dbd71ea4266005eb",
356
+ "nestjs/create-only/.github/k6/README.md": "c538b69b1f35e5ad9e97bf585fba0fb994b0734ca403560d52c2dcf27b322915",
357
357
  "nestjs/create-only/.github/k6/SCENARIO_SELECTION_GUIDE.md": "64c2e83e2871fc187e227252a17522c4ba70d75685f67a0be6980c64803bfd35",
358
358
  "nestjs/create-only/.github/k6/examples/customer-deploy-integration.yml": "d275c7217bd06f0728967284197ee99a039c607e55f0dcd3198007bbafcc25c2",
359
359
  "nestjs/create-only/.github/k6/examples/data-driven-test.js": "557e0dca440176f8b4d6574f743a25d2a158b6d7e4ab36360affa4a3a56d7e03",
360
360
  "nestjs/create-only/.github/k6/scenarios/load.js": "bde97e31a99dd0d0416d172b57c7943ffb204b646d424c31cc0380d4f3503b37",
361
361
  "nestjs/create-only/.github/k6/scenarios/load.json": "1970bee0b48024cd1c38515522c78dd8aeacad09606880b227d49721afa44d37",
362
- "nestjs/create-only/.github/k6/scenarios/smoke.js": "4a09443e2eb6b35eae33eb93f6fc6518f60a9a8b6d6fdaf9609a35125fe804f7",
362
+ "nestjs/create-only/.github/k6/scenarios/smoke.js": "c21d605fb0bd9ce1e99db15d4ff368c3096d8cffbcbb8be088eaa4091d031dd6",
363
363
  "nestjs/create-only/.github/k6/scenarios/smoke.json": "eb6d80b580cadc7ea137fad5acae93b06096cd2162404f7054889e1af9208886",
364
364
  "nestjs/create-only/.github/k6/scenarios/soak.js": "f9346b74724e7cae890f039469fbd4929af5060d27b3b20104aa5c190604a43e",
365
365
  "nestjs/create-only/.github/k6/scenarios/soak.json": "00e3d43e434f67d19d4591d8b3e3ece0b2106f2f65f0efe618723bc2e0e23b2c",
@@ -632,7 +632,7 @@ export const UPSTREAM_EVIDENCE_MANIFEST = Object.freeze({
632
632
  "plugins/src/base/rules/reference/prd-definition-of-ready.md": "3388bc1acf47c5cadc5fcefb8fd16b66b23e09aae5e290a208ffcb9c2e7a8a9a",
633
633
  "plugins/src/base/rules/reference/prd-lifecycle-rollup.md": "de8aa6881f815f58326c797159b149dd3f838692b8e622b562d1ea578341e741",
634
634
  "plugins/src/base/rules/reference/pre-flight-autofill.md": "3cb2a0e402ae468640d9021a7086e00323fa3cd34d9f061910f6caaff51f9e5f",
635
- "plugins/src/base/rules/reference/project-learnings.md": "e51677d91c6dfeaa33e91e1f9f16f6a39b2ea007b852822cf7970e607c05c0ec",
635
+ "plugins/src/base/rules/reference/project-learnings.md": "b54fd7f549d8a2b81504f49114feccb097caf6ee77823312a03a53ae40deb830",
636
636
  "plugins/src/base/rules/reference/promotion-contract.md": "fe07cbdbd15393471d08903cce53b80b8899b2ff3bc0b0041b46c1c7003b7e6c",
637
637
  "plugins/src/base/rules/reference/readiness-rubric.md": "d3ebc3fa6bacd80696613e116ab9c3ece5384d47238ad78ae6cde2f85ebf32d7",
638
638
  "plugins/src/base/rules/reference/ready-role-filing.md": "ab6ef509ee3560b55cf0a7cb03edb0c63d97c71334ee3baafd54bdeb06451f81",
@@ -767,7 +767,7 @@ export const UPSTREAM_EVIDENCE_MANIFEST = Object.freeze({
767
767
  "plugins/src/base/skills/lisa-jira-write-ticket/SKILL.md": "19b96e544f74a275b43c63ff70f23a90cceb2213ae34179f55f6d8ade266e211",
768
768
  "plugins/src/base/skills/lisa-jsdoc-best-practices/SKILL.md": "c70ebb143c511cd09c789611bf5dbd636d769c462de000dd694c53f8fcf6f444",
769
769
  "plugins/src/base/skills/lisa-kane-browser/SKILL.md": "e082517cb42f437eeb22b3935aa0fef09299874736e55184e88d2b64f7860a7d",
770
- "plugins/src/base/skills/lisa-learnings-audit/SKILL.md": "6739727d9e3fb2cfad65ebd3f92da8bc40159521196c77ddf451915d67cf1fca",
770
+ "plugins/src/base/skills/lisa-learnings-audit/SKILL.md": "fc9ba0804e8f6772f232678c5a31bead4527e06e1caa4d5f35931bb1f1189625",
771
771
  "plugins/src/base/skills/lisa-linear-access/SKILL.md": "83cbf20e7a9f5e5289f609f16079a95897aac5964380305d4a5193438230f965",
772
772
  "plugins/src/base/skills/lisa-linear-add-journey/SKILL.md": "e63ae35df1a928dac7b42535ce11e77e8c617e60838ba319f22081400e87886e",
773
773
  "plugins/src/base/skills/lisa-linear-build-intake/SKILL.md": "53aa467f1ce06647e8467df54ff72b7b2dd011bcdc637fac811e52c08e63ea5d",
@@ -1500,7 +1500,7 @@ export const UPSTREAM_EVIDENCE_MANIFEST = Object.freeze({
1500
1500
  "typescript/copy-contents/.husky/pre-push": "ece830e70f522c417fe7fad5e6a834eda9838bc645a83279b49d9c30381046c9",
1501
1501
  "typescript/copy-contents/.husky/prepare-commit-msg": "4a719c20da65653f266e7c8a346b5546ad05f1dfa34665fc7fec47e89d2f58d1",
1502
1502
  "typescript/copy-overwrite/.claude/hooks/worktree-create.sh": "888cfd16bd1ac04f9f8a835eae62f8bd2c956de654bce12ce9a6a52947b121ca",
1503
- "typescript/copy-overwrite/.github/GITHUB_ACTIONS.md": "f4753f66ec63a147b3c835963f35c068e91fcf6981947ab44c490268dd306330",
1503
+ "typescript/copy-overwrite/.github/GITHUB_ACTIONS.md": "f653b89707214adf29b21ff885a990addde002d794aba973926dc4def7854996",
1504
1504
  "typescript/copy-overwrite/.lintstagedrc.json": "773a3e0a2bc20b69a16fc247e74c76eeb20ced8fae654702190bdfade964e364",
1505
1505
  "typescript/copy-overwrite/.nvmrc": "73fb1b615e2043a933be1c0895cde4358036acc28d785692509b822aa53c761f",
1506
1506
  "typescript/copy-overwrite/.prettierignore": "3f874b33730e86f19e38c35fd53399104ef79dbafdc16ada279a148817b62c02",
@@ -9673,6 +9673,7 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
9673
9673
  "src/core/learnings-overflow-path.ts": true,
9674
9674
  "src/core/learnings-overflow.ts": true,
9675
9675
  "src/core/learnings-projection.ts": true,
9676
+ "src/core/learnings-retire.ts": true,
9676
9677
  "src/core/learnings-stray-ledger.ts": true,
9677
9678
  "src/core/learnings-supersede.ts": true,
9678
9679
  "src/core/learnings-writer.ts": true,
@@ -10298,6 +10299,8 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
10298
10299
  "tests/integration/lisa-test-run-packed-bin.test.ts": true,
10299
10300
  "tests/integration/lisa-test-run-shard-cli.test.ts": true,
10300
10301
  "tests/integration/lisa.test.ts": true,
10302
+ "tests/integration/load-test-workflow-runner.test.ts": true,
10303
+ "tests/integration/load-test-workflow.test.ts": true,
10301
10304
  "tests/integration/maestro-build-reuse.test.ts": true,
10302
10305
  "tests/integration/maestro-caller-template.test.ts": true,
10303
10306
  "tests/integration/maestro-checkout-credentials.test.ts": true,
@@ -10458,7 +10461,9 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
10458
10461
  "tests/integration/standards-proof-typescript.test.ts": true,
10459
10462
  "tests/integration/support/bun-free-node-bin.ts": true,
10460
10463
  "tests/integration/support/cdk-ci-role-selection-harness.ts": true,
10464
+ "tests/integration/support/fixtures/load-test-pre-fix.yml": true,
10461
10465
  "tests/integration/support/jira-evidence-run.ts": true,
10466
+ "tests/integration/support/load-test-workflow-harness.ts": true,
10462
10467
  "tests/integration/support/maestro-android-retry-fixtures.ts": true,
10463
10468
  "tests/integration/support/maestro-android-retry-harness.ts": true,
10464
10469
  "tests/integration/support/maestro-build-step-harness.ts": true,
@@ -10938,6 +10943,8 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
10938
10943
  "tests/unit/core/learnings-overflow-identity.test.ts": true,
10939
10944
  "tests/unit/core/learnings-overflow.test.ts": true,
10940
10945
  "tests/unit/core/learnings-projection.test.ts": true,
10946
+ "tests/unit/core/learnings-retire-race.test.ts": true,
10947
+ "tests/unit/core/learnings-retire.test.ts": true,
10941
10948
  "tests/unit/core/learnings-stable-ids.test.ts": true,
10942
10949
  "tests/unit/core/learnings-stray-ledger.test.ts": true,
10943
10950
  "tests/unit/core/learnings-supersede-race.test.ts": true,