@codyswann/lisa 4.8.0 → 4.8.2
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-gates.mjs +72 -0
- package/dist/codex/hooks-installer.d.ts +24 -0
- package/dist/codex/hooks-installer.d.ts.map +1 -1
- package/dist/codex/hooks-installer.js +46 -7
- package/dist/codex/hooks-installer.js.map +1 -1
- package/dist/codex/scripts/block-migration-edits.sh +75 -3
- package/dist/codex/scripts/block-suppress-directives.sh +72 -2
- package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.js +2 -0
- package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +15 -4
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/dist/migrations/ensure-lighthouse-collect-options.d.ts +3 -1
- package/dist/migrations/ensure-lighthouse-collect-options.d.ts.map +1 -1
- package/dist/migrations/ensure-lighthouse-collect-options.js +12 -4
- package/dist/migrations/ensure-lighthouse-collect-options.js.map +1 -1
- package/dist/migrations/ensure-nightly-e2e-workflow-pins.d.ts +51 -0
- package/dist/migrations/ensure-nightly-e2e-workflow-pins.d.ts.map +1 -0
- package/dist/migrations/ensure-nightly-e2e-workflow-pins.js +122 -0
- package/dist/migrations/ensure-nightly-e2e-workflow-pins.js.map +1 -0
- package/dist/migrations/index.d.ts +1 -0
- package/dist/migrations/index.d.ts.map +1 -1
- package/dist/migrations/index.js +3 -0
- package/dist/migrations/index.js.map +1 -1
- package/expo/create-only/lighthouserc.js +1 -1
- package/package.json +1 -1
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- 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-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- 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-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-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/hooks/block-migration-edits.sh +79 -10
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/hooks/block-migration-edits.sh +79 -10
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/hooks/block-migration-edits.sh +79 -10
- package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-agy/plugin.json +1 -1
- package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-cursor/.claude-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-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-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/hooks/block-suppress-directives.sh +71 -3
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/hooks/block-suppress-directives.sh +71 -3
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/hooks/block-suppress-directives.sh +71 -3
- 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/src/nestjs/hooks/block-migration-edits.sh +79 -10
- package/plugins/src/typescript/hooks/block-suppress-directives.sh +71 -3
|
@@ -1820,6 +1820,46 @@ function onEditInvocation(gate, artifact, command) {
|
|
|
1820
1820
|
});
|
|
1821
1821
|
}
|
|
1822
1822
|
|
|
1823
|
+
/**
|
|
1824
|
+
* One `PreToolUse` refusal hook entry.
|
|
1825
|
+
*
|
|
1826
|
+
* Separate from `onEditInvocation` because the difference is not cosmetic: this
|
|
1827
|
+
* surface runs BEFORE the write and its written-in check decides whether the
|
|
1828
|
+
* write happens. An on-edit hook that cannot run costs a report; one of these
|
|
1829
|
+
* that cannot run either blocks every agent write or permits the exact text it
|
|
1830
|
+
* exists to stop.
|
|
1831
|
+
*
|
|
1832
|
+
* They were absent from this table entirely until #3007 — the population it was
|
|
1833
|
+
* kept true against was globbed as `-on-edit.sh`, which is a naming convention
|
|
1834
|
+
* and not a moment, so two shipped hooks on the same boundary were invisible to
|
|
1835
|
+
* an inventory whose whole job is to make ungoverned invocations visible.
|
|
1836
|
+
* @param {string} gate Registry gate id the built-in proves.
|
|
1837
|
+
* @param {string} artifact Repository-relative path to the source hook.
|
|
1838
|
+
* @param {string} command The check written into the script.
|
|
1839
|
+
* @returns {object} A frozen inventory entry.
|
|
1840
|
+
*/
|
|
1841
|
+
function preToolRefusalInvocation(gate, artifact, command) {
|
|
1842
|
+
return Object.freeze({
|
|
1843
|
+
gate,
|
|
1844
|
+
moment: PRE_TOOL,
|
|
1845
|
+
hookEvent: "PreToolUse",
|
|
1846
|
+
surface: "pre-tool-refusal-hook",
|
|
1847
|
+
artifact,
|
|
1848
|
+
job: null,
|
|
1849
|
+
command,
|
|
1850
|
+
steps: Object.freeze([]),
|
|
1851
|
+
// Nothing to seed, and for a sharper reason than the on-edit entries have.
|
|
1852
|
+
// Both gates are `declareOnly` in the registry above: no npm stack ships a
|
|
1853
|
+
// script for either, because the shipped prover reads the text a tool is
|
|
1854
|
+
// ABOUT to write and refuses it, which no `npm run` invocation can do — a
|
|
1855
|
+
// task can only report on what is already in the file. Seeding a default
|
|
1856
|
+
// would declare a check that proves something weaker at a moment where the
|
|
1857
|
+
// stronger one is available.
|
|
1858
|
+
seedRun: Object.freeze([]),
|
|
1859
|
+
facade: CONSULTS_THEN_FALLS_BACK,
|
|
1860
|
+
});
|
|
1861
|
+
}
|
|
1862
|
+
|
|
1823
1863
|
/**
|
|
1824
1864
|
* Every invocation Lisa ships with a command written into the artifact rather
|
|
1825
1865
|
* than resolved from the project's declaration, and the gate that should
|
|
@@ -1979,6 +2019,38 @@ export const HARDCODED_INVOCATIONS = Object.freeze([
|
|
|
1979
2019
|
`${CODEX_SCRIPTS}/rubocop-on-edit.sh`,
|
|
1980
2020
|
"rubocop -a (safe autocorrect) <edited-file>"
|
|
1981
2021
|
),
|
|
2022
|
+
// ── Class B: the two `PreToolUse` refusal hooks, on both agent surfaces.
|
|
2023
|
+
// Same boundary as the on-edit scripts and the opposite consequence: these
|
|
2024
|
+
// decide whether the write happens at all. Recorded here from #3007, which
|
|
2025
|
+
// also wired them through the façade — before that they read no declaration
|
|
2026
|
+
// of any kind AND had no entry, so `unconfigured --moment=pre-tool` was
|
|
2027
|
+
// silent about two shipped enforcements rather than reporting them as
|
|
2028
|
+
// ungoverned. Silence and "nothing to report" are indistinguishable, which
|
|
2029
|
+
// is the failure mode this table exists to remove.
|
|
2030
|
+
preToolRefusalInvocation(
|
|
2031
|
+
"suppression-residue",
|
|
2032
|
+
"plugins/src/typescript/hooks/block-suppress-directives.sh",
|
|
2033
|
+
"grep -E '(//|/*) *(@ts-ignore|@ts-nocheck|eslint-disable|biome-ignore|prettier-ignore)' <proposed-text>"
|
|
2034
|
+
),
|
|
2035
|
+
preToolRefusalInvocation(
|
|
2036
|
+
"migration-provenance",
|
|
2037
|
+
"plugins/src/nestjs/hooks/block-migration-edits.sh",
|
|
2038
|
+
"refuse any write matching */migrations/*.ts|*/migrations/*.js"
|
|
2039
|
+
),
|
|
2040
|
+
// The Codex copies, recorded separately for the same reason the Codex
|
|
2041
|
+
// on-edit copies are: they DIFFER from the originals — a shared path
|
|
2042
|
+
// extractor, multi-file apply_patch envelopes, and no `cd` — so representing
|
|
2043
|
+
// them by the originals would describe a file that is not the one that runs.
|
|
2044
|
+
preToolRefusalInvocation(
|
|
2045
|
+
"suppression-residue",
|
|
2046
|
+
`${CODEX_SCRIPTS}/block-suppress-directives.sh`,
|
|
2047
|
+
"grep -E '(//|/*) *(@ts-ignore|@ts-nocheck|eslint-disable|biome-ignore|prettier-ignore)' <added-lines>"
|
|
2048
|
+
),
|
|
2049
|
+
preToolRefusalInvocation(
|
|
2050
|
+
"migration-provenance",
|
|
2051
|
+
`${CODEX_SCRIPTS}/block-migration-edits.sh`,
|
|
2052
|
+
"refuse any write matching */migrations/*[0-9]*-*.ts"
|
|
2053
|
+
),
|
|
1982
2054
|
// ── Class A: the pre-commit hook. Three `lisa_gate_covers` sites guarding
|
|
1983
2055
|
// five properties, each with a written-in else branch, and no report step —
|
|
1984
2056
|
// so a project could not see what its commit hook proved ungoverned.
|
|
@@ -8,10 +8,34 @@ export declare const LISA_HOOKS_SUBDIR: string;
|
|
|
8
8
|
* installed so the apply_patch parsing lives in exactly one place.
|
|
9
9
|
*/
|
|
10
10
|
export declare const EDIT_PATHS_LIB = "_extract-edit-paths.sh";
|
|
11
|
+
/**
|
|
12
|
+
* Shared shell helper sourced by every edit-time hook to resolve the project's
|
|
13
|
+
* gate declaration before the hook reaches for its own tool. Copied alongside
|
|
14
|
+
* the hook scripts whenever an installed hook sources it.
|
|
15
|
+
*
|
|
16
|
+
* Absent from this installer until #3007, while six scripts sourced it. See
|
|
17
|
+
* `needsEditGate` for what that absence did.
|
|
18
|
+
*/
|
|
19
|
+
export declare const EDIT_GATE_LIB = "lisa-edit-gate.sh";
|
|
11
20
|
/** Subdirectory inside `.codex/` for Lisa rules content (read by inject-rules) */
|
|
12
21
|
export declare const LISA_RULES_SUBDIR = "lisa-rules";
|
|
13
22
|
/** Filename of the Codex hooks config file inside `.codex/` */
|
|
14
23
|
export declare const HOOKS_FILENAME = "hooks.json";
|
|
24
|
+
/**
|
|
25
|
+
* Every bundled Codex script that fires on the agent write boundary.
|
|
26
|
+
*
|
|
27
|
+
* DERIVED from the catalog above rather than listed, so a hook added to a tool
|
|
28
|
+
* moment tomorrow joins the controls that read this with no test edited. That
|
|
29
|
+
* matters here specifically: the population those controls used before #3007
|
|
30
|
+
* was globbed as `-on-edit.sh`, a naming convention rather than a moment, and
|
|
31
|
+
* the two `PreToolUse` refusal hooks fell outside it while firing on exactly
|
|
32
|
+
* the same boundary.
|
|
33
|
+
*
|
|
34
|
+
* Scripts sourced from another plugin are excluded — they are that plugin's
|
|
35
|
+
* artifacts, not this catalog's, and they are not resolved out of
|
|
36
|
+
* `src/codex/scripts`.
|
|
37
|
+
*/
|
|
38
|
+
export declare const EDIT_TIME_HOOK_SCRIPTS: readonly string[];
|
|
15
39
|
/** Result of the hooks install pass */
|
|
16
40
|
export interface HooksInstallResult {
|
|
17
41
|
/** Files written, relative to `.codex/`. Used to update the manifest. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks-installer.d.ts","sourceRoot":"","sources":["../../src/codex/hooks-installer.ts"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAWrD,kEAAkE;AAClE,eAAO,MAAM,iBAAiB,QAA6B,CAAC;AAE5D;;;;;GAKG;AACH,eAAO,MAAM,cAAc,2BAA2B,CAAC;AAEvD,kFAAkF;AAClF,eAAO,MAAM,iBAAiB,eAAe,CAAC;AAE9C,+DAA+D;AAC/D,eAAO,MAAM,cAAc,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"hooks-installer.d.ts","sourceRoot":"","sources":["../../src/codex/hooks-installer.ts"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAWrD,kEAAkE;AAClE,eAAO,MAAM,iBAAiB,QAA6B,CAAC;AAE5D;;;;;GAKG;AACH,eAAO,MAAM,cAAc,2BAA2B,CAAC;AAEvD;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,sBAAsB,CAAC;AAEjD,kFAAkF;AAClF,eAAO,MAAM,iBAAiB,eAAe,CAAC;AAE9C,+DAA+D;AAC/D,eAAO,MAAM,cAAc,eAAe,CAAC;AAmL3C;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,sBAAsB,EAAE,SAAS,MAAM,EAInD,CAAC;AAEF,uCAAuC;AACvC,MAAM,WAAW,kBAAkB;IACjC,yEAAyE;IACzE,QAAQ,CAAC,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;IACzC,0DAA0D;IAC1D,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,iEAAiE;IACjE,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;CACrC;AAED;;;;;;;;GAQG;AACH,wBAAsB,YAAY,CAChC,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,SAAS,WAAW,EAAE,EACrC,oBAAoB,GAAE,SAAS,MAAM,EAAO,GAC3C,OAAO,CAAC,kBAAkB,CAAC,CAsF7B"}
|
|
@@ -42,6 +42,15 @@ export const LISA_HOOKS_SUBDIR = path.join("hooks", "lisa");
|
|
|
42
42
|
* installed so the apply_patch parsing lives in exactly one place.
|
|
43
43
|
*/
|
|
44
44
|
export const EDIT_PATHS_LIB = "_extract-edit-paths.sh";
|
|
45
|
+
/**
|
|
46
|
+
* Shared shell helper sourced by every edit-time hook to resolve the project's
|
|
47
|
+
* gate declaration before the hook reaches for its own tool. Copied alongside
|
|
48
|
+
* the hook scripts whenever an installed hook sources it.
|
|
49
|
+
*
|
|
50
|
+
* Absent from this installer until #3007, while six scripts sourced it. See
|
|
51
|
+
* `needsEditGate` for what that absence did.
|
|
52
|
+
*/
|
|
53
|
+
export const EDIT_GATE_LIB = "lisa-edit-gate.sh";
|
|
45
54
|
/** Subdirectory inside `.codex/` for Lisa rules content (read by inject-rules) */
|
|
46
55
|
export const LISA_RULES_SUBDIR = "lisa-rules";
|
|
47
56
|
/** Filename of the Codex hooks config file inside `.codex/` */
|
|
@@ -118,6 +127,7 @@ const HOOK_CATALOG = [
|
|
|
118
127
|
scriptFilename: "format-on-edit.sh",
|
|
119
128
|
forProjectTypes: ["typescript"],
|
|
120
129
|
needsEditPathLib: true,
|
|
130
|
+
needsEditGate: true,
|
|
121
131
|
},
|
|
122
132
|
{
|
|
123
133
|
id: "lint-on-edit",
|
|
@@ -126,6 +136,7 @@ const HOOK_CATALOG = [
|
|
|
126
136
|
scriptFilename: "lint-on-edit.sh",
|
|
127
137
|
forProjectTypes: ["typescript"],
|
|
128
138
|
needsEditPathLib: true,
|
|
139
|
+
needsEditGate: true,
|
|
129
140
|
},
|
|
130
141
|
{
|
|
131
142
|
id: "sg-scan-on-edit",
|
|
@@ -134,6 +145,7 @@ const HOOK_CATALOG = [
|
|
|
134
145
|
scriptFilename: "sg-scan-on-edit.sh",
|
|
135
146
|
forProjectTypes: ["typescript", "rails"],
|
|
136
147
|
needsEditPathLib: true,
|
|
148
|
+
needsEditGate: true,
|
|
137
149
|
},
|
|
138
150
|
{
|
|
139
151
|
id: "rubocop-on-edit",
|
|
@@ -142,6 +154,7 @@ const HOOK_CATALOG = [
|
|
|
142
154
|
scriptFilename: "rubocop-on-edit.sh",
|
|
143
155
|
forProjectTypes: ["rails"],
|
|
144
156
|
needsEditPathLib: true,
|
|
157
|
+
needsEditGate: true,
|
|
145
158
|
},
|
|
146
159
|
{
|
|
147
160
|
id: "block-migration-edits",
|
|
@@ -150,6 +163,7 @@ const HOOK_CATALOG = [
|
|
|
150
163
|
scriptFilename: "block-migration-edits.sh",
|
|
151
164
|
forProjectTypes: ["nestjs"],
|
|
152
165
|
needsEditPathLib: true,
|
|
166
|
+
needsEditGate: true,
|
|
153
167
|
},
|
|
154
168
|
{
|
|
155
169
|
id: "block-suppress-directives",
|
|
@@ -158,6 +172,8 @@ const HOOK_CATALOG = [
|
|
|
158
172
|
scriptFilename: "block-suppress-directives.sh",
|
|
159
173
|
forProjectTypes: ["typescript"],
|
|
160
174
|
statusMessage: "Checking for error-suppression directives",
|
|
175
|
+
needsEditPathLib: true,
|
|
176
|
+
needsEditGate: true,
|
|
161
177
|
},
|
|
162
178
|
{
|
|
163
179
|
id: "block-generated-artifact-edits",
|
|
@@ -178,6 +194,21 @@ const HOOK_CATALOG = [
|
|
|
178
194
|
needsEditPathLib: true,
|
|
179
195
|
},
|
|
180
196
|
];
|
|
197
|
+
/**
|
|
198
|
+
* Every bundled Codex script that fires on the agent write boundary.
|
|
199
|
+
*
|
|
200
|
+
* DERIVED from the catalog above rather than listed, so a hook added to a tool
|
|
201
|
+
* moment tomorrow joins the controls that read this with no test edited. That
|
|
202
|
+
* matters here specifically: the population those controls used before #3007
|
|
203
|
+
* was globbed as `-on-edit.sh`, a naming convention rather than a moment, and
|
|
204
|
+
* the two `PreToolUse` refusal hooks fell outside it while firing on exactly
|
|
205
|
+
* the same boundary.
|
|
206
|
+
*
|
|
207
|
+
* Scripts sourced from another plugin are excluded — they are that plugin's
|
|
208
|
+
* artifacts, not this catalog's, and they are not resolved out of
|
|
209
|
+
* `src/codex/scripts`.
|
|
210
|
+
*/
|
|
211
|
+
export const EDIT_TIME_HOOK_SCRIPTS = Object.freeze(HOOK_CATALOG.filter(entry => entry.matcher === WRITE_MATCHER && entry.sourcePlugin === undefined).map(entry => entry.scriptFilename));
|
|
181
212
|
/**
|
|
182
213
|
* Install Lisa hook scripts + rules + hooks.json entries.
|
|
183
214
|
* @param lisaDir - Absolute path to the Lisa repo root (or installed package)
|
|
@@ -204,13 +235,21 @@ export async function installHooks(lisaDir, destDir, detectedTypes, previousMana
|
|
|
204
235
|
// Step 1b: link the shared edit-path helper when any installed hook sources
|
|
205
236
|
// it. Edit-aware hooks (format/lint/sg-scan/rubocop/block-migration) source
|
|
206
237
|
// this for apply_patch path parsing.
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
238
|
+
//
|
|
239
|
+
// Step 1c does the same for the gate façade helper, which every edit-time
|
|
240
|
+
// hook sources before it resolves a tool. It was missing here for as long as
|
|
241
|
+
// the façade has existed, which made the façade inert on this surface — see
|
|
242
|
+
// `needsEditGate`.
|
|
243
|
+
const sharedLibs = [
|
|
244
|
+
...(applicable.some(entry => entry.needsEditPathLib)
|
|
245
|
+
? [EDIT_PATHS_LIB]
|
|
246
|
+
: []),
|
|
247
|
+
...(applicable.some(entry => entry.needsEditGate) ? [EDIT_GATE_LIB] : []),
|
|
248
|
+
];
|
|
249
|
+
const libFiles = await Promise.all(sharedLibs.map(async (lib) => {
|
|
250
|
+
await linkManagedFile(resolveBundledScript(lib), path.join(hooksDir, lib));
|
|
251
|
+
return path.join(LISA_HOOKS_SUBDIR, lib);
|
|
252
|
+
}));
|
|
214
253
|
const harperSupportFiles = applicable.some(entry => entry.sourcePlugin === HARPER_PLUGIN)
|
|
215
254
|
? await linkHarperSupportFiles(lisaDir, hooksDir)
|
|
216
255
|
: [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks-installer.js","sourceRoot":"","sources":["../../src/codex/hooks-installer.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAIL,cAAc,EACd,cAAc,EACd,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAE3B,kEAAkE;AAClE,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;AAE5D;;;;;GAKG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,wBAAwB,CAAC;AAEvD,kFAAkF;AAClF,MAAM,CAAC,MAAM,iBAAiB,GAAG,YAAY,CAAC;AAE9C,+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hB,MAAM,OAAO,GAAG;QACd;YACE,MAAM,EAAE,IAAI,CAAC,IAAI,CACf,OAAO,EACP,SAAS,EACT,aAAa,EACb,OAAO,EACP,+BAA+B,CAChC;YACD,QAAQ,EAAE,+BAA+B;SAC1C;QACD;YACE,MAAM,EAAE,IAAI,CAAC,IAAI,CACf,OAAO,EACP,SAAS,EACT,aAAa,EACb,8BAA8B,CAC/B;YACD,QAAQ,EAAE,8BAA8B;SACzC;KACO,CAAC;IACX,MAAM,OAAO,CAAC,GAAG,CACf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE,CACnC,eAAe,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CACvD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CAAC,CAAC;AAC/E,CAAC;AAED;;;;GAIG;AACH,KAAK,UAAU,eAAe,CAC5B,MAAc,EACd,WAAmB;IAEnB,MAAM,EAAE,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;IACvC,MAAM,OAAO,CACX,MAAM,EACN,WAAW,EACX,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAClD,CAAC;AACJ,CAAC;AACD,+DAA+D"}
|
|
@@ -8,18 +8,90 @@
|
|
|
8
8
|
# on stderr (exit 2). The shared extractor resolves every target path from the
|
|
9
9
|
# tool envelope — including multi-file apply_patch patches — so an edit can't
|
|
10
10
|
# slip a migration change past this guard.
|
|
11
|
+
#
|
|
12
|
+
# WHAT A REFUSAL HOOK OWES THAT AN ON-EDIT HOOK DOES NOT. The PostToolUse
|
|
13
|
+
# scripts on this surface may bail out when they cannot run: the write has
|
|
14
|
+
# already happened and a skipped lint is a missed report. This one decides
|
|
15
|
+
# whether the write happens at all, so a bail-out is a PERMIT. Every exit below
|
|
16
|
+
# is out of scope, judged by the declared task, or judged by the built-in.
|
|
17
|
+
# "Could not judge" refuses.
|
|
11
18
|
set -uo pipefail
|
|
12
19
|
|
|
13
20
|
JSON_INPUT="$(cat)"
|
|
14
21
|
|
|
15
|
-
#
|
|
16
|
-
#
|
|
17
|
-
|
|
22
|
+
# Project rule: never parse JSON with grep/sed/cut/awk — use jq.
|
|
23
|
+
#
|
|
24
|
+
# FAIL CLOSED, reversed from the `exit 0` this shipped with. Without jq the
|
|
25
|
+
# extractor returns an EMPTY path list, the loop below runs zero times, and the
|
|
26
|
+
# script exits 0 — a guard that inspected nothing and reported success. Unscoped
|
|
27
|
+
# for the same reason: with no parse there is no path to scope the refusal to.
|
|
28
|
+
if ! command -v jq >/dev/null 2>&1; then
|
|
29
|
+
cat >&2 <<'MSG'
|
|
30
|
+
⚠ block-migration-edits: refusing this write — it cannot be inspected.
|
|
31
|
+
|
|
32
|
+
`jq` is not installed, so the tool payload cannot be parsed and this hook cannot
|
|
33
|
+
tell whether the write targets a TypeORM migration. It refuses rather than
|
|
34
|
+
permitting an edit it was unable to check.
|
|
35
|
+
|
|
36
|
+
Install jq (`brew install jq`, `apt-get install jq`), or declare the
|
|
37
|
+
`migration-provenance` gate at `pre-tool` in .lisa.config.json to have your own
|
|
38
|
+
check decide instead.
|
|
39
|
+
MSG
|
|
40
|
+
exit 2
|
|
41
|
+
fi
|
|
18
42
|
|
|
19
43
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
20
44
|
# shellcheck source=/dev/null
|
|
21
45
|
. "${SCRIPT_DIR}/_extract-edit-paths.sh"
|
|
22
46
|
|
|
47
|
+
# FAIL CLOSED on a missing extractor, for the same reason as jq and with the
|
|
48
|
+
# same consequence: an absent `lisa_extract_edit_paths` makes every loop below
|
|
49
|
+
# iterate over nothing, so the hook waves the write through having examined no
|
|
50
|
+
# path at all. A sourced file that is not there fails quietly under
|
|
51
|
+
# `set -uo pipefail` — there is no `-e` — so nothing else would notice.
|
|
52
|
+
if ! declare -F lisa_extract_edit_paths >/dev/null 2>&1; then
|
|
53
|
+
cat >&2 <<'MSG'
|
|
54
|
+
⚠ block-migration-edits: refusing this write — it cannot be inspected.
|
|
55
|
+
|
|
56
|
+
`_extract-edit-paths.sh` is missing beside this hook, so the paths this tool
|
|
57
|
+
call touches cannot be resolved. It refuses rather than permitting an edit it
|
|
58
|
+
was unable to check. Re-run `lisa apply` to reinstall the hook helpers.
|
|
59
|
+
MSG
|
|
60
|
+
exit 2
|
|
61
|
+
fi
|
|
62
|
+
|
|
63
|
+
# ---------------------------------------------------------------------------
|
|
64
|
+
# Gate façade. The project's declaration decides BEFORE the built-in refuses.
|
|
65
|
+
# Full contract, and why an undeclared project sees no change at all, in
|
|
66
|
+
# lisa-edit-gate.sh beside this file.
|
|
67
|
+
#
|
|
68
|
+
# Scoped to the migration paths this hook acts on, the same way the Claude copy
|
|
69
|
+
# is: outside them the hook does nothing, so there is nothing for a declaration
|
|
70
|
+
# to take over. Codex hooks run with the project as the working directory, so
|
|
71
|
+
# there is no `cd` here — the Claude copy needs one because a PreToolUse hook
|
|
72
|
+
# there establishes none.
|
|
73
|
+
#
|
|
74
|
+
# ONE PROPERTY, so there is no all-or-nothing question here: this hook proves
|
|
75
|
+
# `migration-provenance` and nothing else.
|
|
76
|
+
# ---------------------------------------------------------------------------
|
|
77
|
+
# shellcheck source=/dev/null
|
|
78
|
+
. "${SCRIPT_DIR}/lisa-edit-gate.sh"
|
|
79
|
+
if LISA_GATE_COMMANDS="$(lisa_edit_gate_tasks pre-tool migration-provenance)"; then
|
|
80
|
+
LISA_GATE_STATUS=0
|
|
81
|
+
while IFS= read -r LISA_GATE_FILE; do
|
|
82
|
+
[ -n "${LISA_GATE_FILE}" ] || continue
|
|
83
|
+
case "${LISA_GATE_FILE}" in
|
|
84
|
+
*/migrations/*[0-9]*-*.ts) ;;
|
|
85
|
+
*) continue ;;
|
|
86
|
+
esac
|
|
87
|
+
lisa_edit_gate_run "${LISA_GATE_FILE}" "$LISA_GATE_COMMANDS" ||
|
|
88
|
+
LISA_GATE_STATUS=2
|
|
89
|
+
done <<LISA_GATE_PATHS
|
|
90
|
+
$(lisa_extract_edit_paths "$JSON_INPUT")
|
|
91
|
+
LISA_GATE_PATHS
|
|
92
|
+
exit "$LISA_GATE_STATUS"
|
|
93
|
+
fi
|
|
94
|
+
|
|
23
95
|
# Walk every candidate path; deny on the first migration match.
|
|
24
96
|
while IFS= read -r FILE_PATH; do
|
|
25
97
|
[ -n "${FILE_PATH}" ] || continue
|
|
@@ -12,12 +12,42 @@
|
|
|
12
12
|
# and inspect added (`+`) lines under JS/TS file headers. Edit/Write inspect the
|
|
13
13
|
# new text directly. Only comment-syntax matches count, so prose/strings that
|
|
14
14
|
# merely mention these tokens are not flagged.
|
|
15
|
+
#
|
|
16
|
+
# WHAT A REFUSAL HOOK OWES THAT AN ON-EDIT HOOK DOES NOT. The PostToolUse
|
|
17
|
+
# scripts on this surface may bail out when they cannot run: the write has
|
|
18
|
+
# already happened and a skipped lint is a missed report. This one decides
|
|
19
|
+
# whether the write happens at all, so a bail-out is a PERMIT. Every exit below
|
|
20
|
+
# is out of scope, judged by the declared task, or judged by the built-in.
|
|
21
|
+
# "Could not judge" refuses.
|
|
15
22
|
set -uo pipefail
|
|
16
23
|
|
|
17
24
|
JSON_INPUT="$(cat)"
|
|
18
25
|
|
|
19
|
-
# Project rule: never parse JSON with grep/sed/cut/awk — use jq.
|
|
20
|
-
|
|
26
|
+
# Project rule: never parse JSON with grep/sed/cut/awk — use jq.
|
|
27
|
+
#
|
|
28
|
+
# FAIL CLOSED, reversed from the `exit 0` this shipped with. Without jq neither
|
|
29
|
+
# the tool name, the path, nor the added lines can be read, so the hook cannot
|
|
30
|
+
# tell a suppression from any other write and must not permit one it did not
|
|
31
|
+
# inspect. Unscoped for the same reason: with no parse there is no file type to
|
|
32
|
+
# scope the refusal to.
|
|
33
|
+
if ! command -v jq >/dev/null 2>&1; then
|
|
34
|
+
cat >&2 <<'MSG'
|
|
35
|
+
⚠ block-suppress-directives: refusing this write — it cannot be inspected.
|
|
36
|
+
|
|
37
|
+
`jq` is not installed, so the tool payload cannot be parsed and this hook cannot
|
|
38
|
+
tell whether the write adds an error-suppression directive. It refuses rather
|
|
39
|
+
than permitting an edit it was unable to check.
|
|
40
|
+
|
|
41
|
+
Install jq (`brew install jq`, `apt-get install jq`), or declare the
|
|
42
|
+
`suppression-residue` gate at `pre-tool` in .lisa.config.json to have your own
|
|
43
|
+
check decide instead.
|
|
44
|
+
MSG
|
|
45
|
+
exit 2
|
|
46
|
+
fi
|
|
47
|
+
|
|
48
|
+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
49
|
+
# shellcheck source=/dev/null
|
|
50
|
+
. "${SCRIPT_DIR}/_extract-edit-paths.sh"
|
|
21
51
|
|
|
22
52
|
# Comment-syntax-only match: // or /* opener, optional whitespace, directive.
|
|
23
53
|
# @ts-expect-error is intentionally NOT matched — it is the safer alternative.
|
|
@@ -47,6 +77,46 @@ MSG
|
|
|
47
77
|
exit 2
|
|
48
78
|
}
|
|
49
79
|
|
|
80
|
+
# ---------------------------------------------------------------------------
|
|
81
|
+
# Gate façade. The project's declaration decides BEFORE the built-in judges
|
|
82
|
+
# anything. Full contract, and why an undeclared project sees no change at all,
|
|
83
|
+
# in lisa-edit-gate.sh beside this file.
|
|
84
|
+
#
|
|
85
|
+
# This surface differs from the Claude one in shape only: one invocation can
|
|
86
|
+
# carry several edited paths, so the declared task runs once per JS/TS path with
|
|
87
|
+
# LISA_EDITED_FILE set, and a failure on any path refuses the write. Codex hooks
|
|
88
|
+
# run with the project as the working directory, so there is no `cd` here — the
|
|
89
|
+
# Claude copy needs one because a PreToolUse hook there establishes none.
|
|
90
|
+
#
|
|
91
|
+
# ONE PROPERTY, so there is no all-or-nothing question here: this hook proves
|
|
92
|
+
# `suppression-residue` and nothing else.
|
|
93
|
+
# ---------------------------------------------------------------------------
|
|
94
|
+
# shellcheck source=/dev/null
|
|
95
|
+
. "${SCRIPT_DIR}/lisa-edit-gate.sh"
|
|
96
|
+
if LISA_GATE_COMMANDS="$(lisa_edit_gate_tasks pre-tool suppression-residue)"; then
|
|
97
|
+
# FAIL CLOSED on a missing extractor. Without it the path list is EMPTY, the
|
|
98
|
+
# loop below runs zero times, and the script exits 0 having run the declared
|
|
99
|
+
# task against nothing — a permit wearing the declaration's authority. The
|
|
100
|
+
# built-in never reaches this helper, so the guard belongs here and not at
|
|
101
|
+
# the top, where it would change what an undeclared project does.
|
|
102
|
+
if ! declare -F lisa_extract_edit_paths >/dev/null 2>&1; then
|
|
103
|
+
echo "⚠ block-suppress-directives: refusing this write — the declared" >&2
|
|
104
|
+
echo " suppression-residue task cannot be scoped because" >&2
|
|
105
|
+
echo " _extract-edit-paths.sh is missing beside this hook. Re-run \`lisa apply\`." >&2
|
|
106
|
+
exit 2
|
|
107
|
+
fi
|
|
108
|
+
LISA_GATE_STATUS=0
|
|
109
|
+
while IFS= read -r LISA_GATE_FILE; do
|
|
110
|
+
[ -n "${LISA_GATE_FILE}" ] || continue
|
|
111
|
+
is_js_ts "${LISA_GATE_FILE}" || continue
|
|
112
|
+
lisa_edit_gate_run "${LISA_GATE_FILE}" "$LISA_GATE_COMMANDS" ||
|
|
113
|
+
LISA_GATE_STATUS=2
|
|
114
|
+
done <<LISA_GATE_PATHS
|
|
115
|
+
$(lisa_extract_edit_paths "$JSON_INPUT")
|
|
116
|
+
LISA_GATE_PATHS
|
|
117
|
+
exit "$LISA_GATE_STATUS"
|
|
118
|
+
fi
|
|
119
|
+
|
|
50
120
|
TOOL_NAME="$(printf '%s' "$JSON_INPUT" | jq -r '.tool_name // .tool // empty')"
|
|
51
121
|
|
|
52
122
|
if [ "$TOOL_NAME" = "apply_patch" ]; then
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lisa-owned-hash-ledger.d.ts","sourceRoot":"","sources":["../../src/core/lisa-owned-hash-ledger.ts"],"names":[],"mappings":"AACA,6EAA6E;AAE7E;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAC3C,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"lisa-owned-hash-ledger.d.ts","sourceRoot":"","sources":["../../src/core/lisa-owned-hash-ledger.ts"],"names":[],"mappings":"AACA,6EAA6E;AAE7E;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAC3C,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAgnBjC,CAAC"}
|
|
@@ -340,6 +340,7 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
|
|
|
340
340
|
"5d4099e9c6fe5978fba206a069ae6a68d899ef33a57e110ea65e1d4c39328ee1",
|
|
341
341
|
"5f5eeda36a19fc6b99f621128b192d07ec79e4735b4514c9b20ae94a3e29c4b5",
|
|
342
342
|
"60b961b1bd4a01f17fc0c19dd09b2505958bdeaa5c1030868835ac628e77d97f",
|
|
343
|
+
"6725541cb96461aba72822f4f54071a0163101ea00086b242213f36eb4725a03",
|
|
343
344
|
"6d9bc1c708a7cc585e7f8c4539ec28e4a29cbfd9a0c08b5a96760f8f0865453d",
|
|
344
345
|
"710038fcbc5a507e5012a1c13929a4d1d7dc3e5932f8238a7a91d47977d5ce57",
|
|
345
346
|
"7249cbe9f8fddfa6087331fa7fccd9df9813f5ba764623b747273a0ebbcbb576",
|
|
@@ -376,6 +377,7 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
|
|
|
376
377
|
"ccbbab687ee2dbc572726ae187324af34b971075b6c808e1781005b489500429",
|
|
377
378
|
"cd41b2f04be5ba97be8fd6e618e8bccca4c4d0823acbc8e82c239b6d45dfe020",
|
|
378
379
|
"cebeb1a5a1f87d2f77fb961229be81d9180ab9dafe977559b71d527bf32397c9",
|
|
380
|
+
"cf47b1251059c245f9e0f2aa35c51b5813b99dd126e369d4911ef4e3c81cd8e0",
|
|
379
381
|
"d1b7ef530ea29a4ab1c5b1aaa13bd94262d2a0d16cfd7066345efc526457f44c",
|
|
380
382
|
"d404a7f78facf07abf5633e3aeb9ba779334bfebd2989cc4cb38d1b37d96a2ba",
|
|
381
383
|
"d545c49bbe6bf31c224d4205ee1fcb8e849c057d5241913c19f83d4ba7195793",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lisa-owned-hash-ledger.js","sourceRoot":"","sources":["../../src/core/lisa-owned-hash-ledger.ts"],"names":[],"mappings":"AAAA,mEAAmE;AACnE,6EAA6E;AAE7E;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAE/B,MAAM,CAAC,MAAM,CAAC;IAChB,wBAAwB,EAAE,MAAM,CAAC,MAAM,CAAC;QACtC,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;KACnE,CAAC;IACF,0BAA0B,EAAE,MAAM,CAAC,MAAM,CAAC;QACxC,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;KACnE,CAAC;IACF,0BAA0B,EAAE,MAAM,CAAC,MAAM,CAAC;QACxC,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;KACnE,CAAC;IACF,0BAA0B,EAAE,MAAM,CAAC,MAAM,CAAC;QACxC,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;KACnE,CAAC;IACF,0BAA0B,EAAE,MAAM,CAAC,MAAM,CAAC;QACxC,kEAAkE;QAClE,k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E;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;KACnE,CAAC;IACF,wCAAwC,EAAE,MAAM,CAAC,MAAM,CAAC;QACtD,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;KACnE,CAAC;IACF,sDAAsD,EAAE,MAAM,CAAC,MAAM,CAAC;QACpE,kEAAkE;KACnE,CAAC;IACF,oDAAoD,EAAE,MAAM,CAAC,MAAM,CAAC;QAClE,kEAAkE;KACnE,CAAC;IACF,uCAAuC,EAAE,MAAM,CAAC,MAAM,CAAC;QACrD,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;KACnE,CAAC;IACF,wCAAwC,EAAE,MAAM,CAAC,MAAM,CAAC;QACtD,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;KACnE,CAAC;CACH,CAAC,CAAC;AACH,sEAAsE"}
|
|
1
|
+
{"version":3,"file":"lisa-owned-hash-ledger.js","sourceRoot":"","sources":["../../src/core/lisa-owned-hash-ledger.ts"],"names":[],"mappings":"AAAA,mEAAmE;AACnE,6EAA6E;AAE7E;;;;;;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AwC,EAAE,MAAM,CAAC,MAAM,CAAC;QACtD,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;KACnE,CAAC;IACF,sDAAsD,EAAE,MAAM,CAAC,MAAM,CAAC;QACpE,kEAAkE;KACnE,CAAC;IACF,oDAAoD,EAAE,MAAM,CAAC,MAAM,CAAC;QAClE,kEAAkE;KACnE,CAAC;IACF,uCAAuC,EAAE,MAAM,CAAC,MAAM,CAAC;QACrD,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;KACnE,CAAC;IACF,wCAAwC,EAAE,MAAM,CAAC,MAAM,CAAC;QACtD,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;QAClE,kEAAkE;KACnE,CAAC;CACH,CAAC,CAAC;AACH,sEAAsE"}
|
|
@@ -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,CAg5EpE,CAAC;AAEL,4EAA4E;AAC5E,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,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,CAg5EpE,CAAC;AAEL,4EAA4E;AAC5E,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAumPjE,CAAC;AAEL,sFAAsF;AACtF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAk6I/D,CAAC"}
|
|
@@ -15,7 +15,7 @@ export const UPSTREAM_EVIDENCE_MANIFEST = Object.freeze({
|
|
|
15
15
|
"all/copy-overwrite/scripts/lisa-enforcement-fallback.sh": "b4cc14d5dc02c790ea3e51b0134b9c3d5e4a0e8ef08a652817f7485a0badde17",
|
|
16
16
|
"all/copy-overwrite/scripts/lisa-environment-prepare.mjs": "63879152ebb67f289e900167daf035f2d03d7773c6e110ed5ab708c95417c55c",
|
|
17
17
|
"all/copy-overwrite/scripts/lisa-floor-collisions.mjs": "41060648b4394d417528f4f560a52f296b4df5b6ec8a5633e08afe4588b6a088",
|
|
18
|
-
"all/copy-overwrite/scripts/lisa-gates.mjs": "
|
|
18
|
+
"all/copy-overwrite/scripts/lisa-gates.mjs": "6725541cb96461aba72822f4f54071a0163101ea00086b242213f36eb4725a03",
|
|
19
19
|
"all/copy-overwrite/scripts/lisa-hooks/block-direct-issue-create.sh": "2e030d5a394d3edb48c391db49661fb3d45545c85f88ea03d1ab07ad3787c089",
|
|
20
20
|
"all/copy-overwrite/scripts/lisa-hooks/block-instruction-file-edits.sh": "3e709e1ec8a5843c00684bc477ad32ddab2c5fdb11f71d5aeec0c49609eaf025",
|
|
21
21
|
"all/copy-overwrite/scripts/lisa-hooks/block-managed-file-edits.sh": "d3ef2562b718156912f0877f8a0668026f5966fcca43eb9e064aa57a4e9a4976",
|
|
@@ -139,7 +139,7 @@ export const UPSTREAM_EVIDENCE_MANIFEST = Object.freeze({
|
|
|
139
139
|
"expo/create-only/jest.setup.local.ts": "f0266cf872f41b6599e476e135f0b8947c3d226abe5bc4e02fb4087c836abac0",
|
|
140
140
|
"expo/create-only/jest.setup.pre.local.js": "92d24da88f69ac3d5325d2221b570308d13e81d02deaa936c24866ed1acd8363",
|
|
141
141
|
"expo/create-only/lighthouserc-config.json": "48637345034564923cefc96ea8192d807b7d64f4f94a6daa63625ca71e1bea5b",
|
|
142
|
-
"expo/create-only/lighthouserc.js": "
|
|
142
|
+
"expo/create-only/lighthouserc.js": "2e3d7e45cbf9fdd907fa4eea98943df1ce6e1043f51127ee55f66e46e5218efb",
|
|
143
143
|
"expo/create-only/scripts/zap-baseline.sh": "7ecfcb911f2f2284eb672c9eb960a1588792a984a713cb2e5f5d9963b32af910",
|
|
144
144
|
"expo/create-only/stryker.conf.json": "a49c9563b2a3337a7b4bc198e259cd06e681ed043b194506a90f9fe0e8eb6ab3",
|
|
145
145
|
"expo/create-only/tsconfig.json": "fdb99e32d1588e75735755d7b5caab406ad8387c21a3d820cd3b40cb9218a191",
|
|
@@ -869,7 +869,7 @@ export const UPSTREAM_EVIDENCE_MANIFEST = Object.freeze({
|
|
|
869
869
|
"plugins/src/harper-fabric/skills/harper-rest-queries/SKILL.md": "cadccf7c4a3d9ebf9557c2739e65dd0bd8be08e6f65b1e89d416cc85e5183dec",
|
|
870
870
|
"plugins/src/harper-fabric/skills/harper-schema-graphql/SKILL.md": "e60a691b0586d7554ea01ece4a71f9a7a4f1e585b94c46ad64c4edd32327fde6",
|
|
871
871
|
"plugins/src/harper-fabric/skills/harper-testing/SKILL.md": "5a3c91d80ea2ac97df5b085114e2111a2c749ff0ad259a291cf16cb2f96258b8",
|
|
872
|
-
"plugins/src/nestjs/hooks/block-migration-edits.sh": "
|
|
872
|
+
"plugins/src/nestjs/hooks/block-migration-edits.sh": "9198c36725cfa5254b7f93267f3075e51ca54c65f63537cee5272ff297af3450",
|
|
873
873
|
"plugins/src/nestjs/hooks/lisa-edit-gate.sh": "0a8d9a043f04b15b71bb500ff03cf1e67e4ac292181a5d596ddf078f301e671f",
|
|
874
874
|
"plugins/src/nestjs/skills/nestjs-graphql/SKILL.md": "205b4be76dfe9b2cc4688a7e2cb1754c68aedf67bdc00187af40af0e49ba854a",
|
|
875
875
|
"plugins/src/nestjs/skills/nestjs-graphql/references/advanced-features.md": "57b2c69daa4c91ccd1556db363ea1dd0912ba942222571839ba0e5eca064196f",
|
|
@@ -954,7 +954,7 @@ export const UPSTREAM_EVIDENCE_MANIFEST = Object.freeze({
|
|
|
954
954
|
"plugins/src/rails/skills/ops-run-local/SKILL.md": "f43176a07e6f863c948194511d18d0bc64ec2917042613b147732efaed496b4a",
|
|
955
955
|
"plugins/src/rails/skills/ops-verify-jobs/SKILL.md": "3458ea2ced915f35f6fef32aaa5491c64c9a64e9f6ef68d3f9ef36d38388e1f4",
|
|
956
956
|
"plugins/src/rails/skills/ops-verify-telemetry/SKILL.md": "ef62ffd2115a67b29ccc2356e555a5e590f7045503400eec5c7289c9c76bb7d4",
|
|
957
|
-
"plugins/src/typescript/hooks/block-suppress-directives.sh": "
|
|
957
|
+
"plugins/src/typescript/hooks/block-suppress-directives.sh": "89c8b356b2edd59d48524bcc74a59eba273a7375574cbde23951babcf971566e",
|
|
958
958
|
"plugins/src/typescript/hooks/format-on-edit.sh": "c9b91f4470a9f96c556124b902a6d86c32c1efe643988b6dcb28dc9b2c127d06",
|
|
959
959
|
"plugins/src/typescript/hooks/lint-on-edit.sh": "7f913add754a9accdc99daf9ff50611e65c5cc363dd99dbc0668e9c928f4eeb4",
|
|
960
960
|
"plugins/src/typescript/hooks/lisa-edit-gate.sh": "0a8d9a043f04b15b71bb500ff03cf1e67e4ac292181a5d596ddf078f301e671f",
|
|
@@ -7443,6 +7443,7 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
|
|
|
7443
7443
|
"src/migrations/ensure-learnings-merge-driver.ts": true,
|
|
7444
7444
|
"src/migrations/ensure-lighthouse-collect-options.ts": true,
|
|
7445
7445
|
"src/migrations/ensure-lisa-postinstall.ts": true,
|
|
7446
|
+
"src/migrations/ensure-nightly-e2e-workflow-pins.ts": true,
|
|
7446
7447
|
"src/migrations/ensure-oxlint-base-configs.ts": true,
|
|
7447
7448
|
"src/migrations/ensure-playwright-dedicated-caller.ts": true,
|
|
7448
7449
|
"src/migrations/ensure-quality-caller-scopes.ts": true,
|
|
@@ -7593,6 +7594,10 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
|
|
|
7593
7594
|
"tests/fixtures/harness-parity-council/probe-command-missing.json": true,
|
|
7594
7595
|
"tests/fixtures/harness-parity-council/probe-success.json": true,
|
|
7595
7596
|
"tests/fixtures/intake-prework-denominator/linear-team-lanes.json": true,
|
|
7597
|
+
"tests/fixtures/pre-tool-refusal-pre-facade/codex-block-migration-edits.sh": true,
|
|
7598
|
+
"tests/fixtures/pre-tool-refusal-pre-facade/codex-block-suppress-directives.sh": true,
|
|
7599
|
+
"tests/fixtures/pre-tool-refusal-pre-facade/nestjs-block-migration-edits.sh": true,
|
|
7600
|
+
"tests/fixtures/pre-tool-refusal-pre-facade/typescript-block-suppress-directives.sh": true,
|
|
7596
7601
|
"tests/fixtures/queue-status-build-readers/github-umbrella.json": true,
|
|
7597
7602
|
"tests/fixtures/queue-status-build-readers/github.json": true,
|
|
7598
7603
|
"tests/fixtures/queue-status-build-readers/jira.json": true,
|
|
@@ -7720,6 +7725,9 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
|
|
|
7720
7725
|
"tests/integration/playwright-caller-template.test.ts": true,
|
|
7721
7726
|
"tests/integration/playwright-e2e-workflow.test.ts": true,
|
|
7722
7727
|
"tests/integration/postinstall-safe-reports-stale-root-configs.test.ts": true,
|
|
7728
|
+
"tests/integration/pre-tool-refusal-equivalence.test.ts": true,
|
|
7729
|
+
"tests/integration/pre-tool-refusal-inventory.test.ts": true,
|
|
7730
|
+
"tests/integration/pre-tool-refusal-scripts-resolve-gates.test.ts": true,
|
|
7723
7731
|
"tests/integration/prepare-setup-command.test.ts": true,
|
|
7724
7732
|
"tests/integration/presence-gated-absence-fail-closed.test.ts": true,
|
|
7725
7733
|
"tests/integration/push-collects-integration-tree-once.test.ts": true,
|
|
@@ -7760,6 +7768,8 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
|
|
|
7760
7768
|
"tests/integration/support/maestro-android-retry-harness.ts": true,
|
|
7761
7769
|
"tests/integration/support/maestro-build-step-harness.ts": true,
|
|
7762
7770
|
"tests/integration/support/maestro-leg-order-harness.ts": true,
|
|
7771
|
+
"tests/integration/support/pre-tool-refusal-fixture.ts": true,
|
|
7772
|
+
"tests/integration/support/pre-tool-refusal-harness.ts": true,
|
|
7763
7773
|
"tests/integration/support/rails-learnings-budget-gate.ts": true,
|
|
7764
7774
|
"tests/integration/support/reusable-workflow-scopes.ts": true,
|
|
7765
7775
|
"tests/integration/threshold-ratchet-gate-fail-closed.test.ts": true,
|
|
@@ -8146,6 +8156,7 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
|
|
|
8146
8156
|
"tests/unit/migrations/ensure-learnings-merge-driver.test.ts": true,
|
|
8147
8157
|
"tests/unit/migrations/ensure-lighthouse-collect-options.test.ts": true,
|
|
8148
8158
|
"tests/unit/migrations/ensure-lisa-postinstall.test.ts": true,
|
|
8159
|
+
"tests/unit/migrations/ensure-nightly-e2e-workflow-pins.test.ts": true,
|
|
8149
8160
|
"tests/unit/migrations/ensure-oxlint-base-configs.test.ts": true,
|
|
8150
8161
|
"tests/unit/migrations/ensure-playwright-dedicated-caller.test.ts": true,
|
|
8151
8162
|
"tests/unit/migrations/ensure-quality-caller-scopes.test.ts": true,
|