@codyswann/lisa 4.27.4 → 4.27.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.
Files changed (75) hide show
  1. package/all/copy-overwrite/scripts/lisa-work-item.mjs +167 -2
  2. package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
  3. package/dist/core/lisa-owned-hash-ledger.js +6 -0
  4. package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
  5. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  6. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  7. package/dist/core/upstream-evidence-manifest.js +8 -4
  8. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  9. package/dist/migrations/ensure-push-default-safe.d.ts +50 -0
  10. package/dist/migrations/ensure-push-default-safe.d.ts.map +1 -0
  11. package/dist/migrations/ensure-push-default-safe.js +159 -0
  12. package/dist/migrations/ensure-push-default-safe.js.map +1 -0
  13. package/dist/migrations/index.d.ts +1 -0
  14. package/dist/migrations/index.d.ts.map +1 -1
  15. package/dist/migrations/index.js +3 -0
  16. package/dist/migrations/index.js.map +1 -1
  17. package/package.json +3 -3
  18. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  19. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  20. package/plugins/lisa/.codex-plugin/skills/lisa-sync-down/SKILL.md +8 -1
  21. package/plugins/lisa/skills/lisa-sync-down/SKILL.md +8 -1
  22. package/plugins/lisa-agy/plugin.json +1 -1
  23. package/plugins/lisa-agy/skills/lisa-sync-down/SKILL.md +8 -1
  24. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  25. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  26. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  27. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  28. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  29. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  30. package/plugins/lisa-copilot/skills/lisa-sync-down/SKILL.md +8 -1
  31. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  32. package/plugins/lisa-cursor/skills/lisa-sync-down/SKILL.md +8 -1
  33. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  34. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  35. package/plugins/lisa-expo-agy/plugin.json +1 -1
  36. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  37. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  38. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  39. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  40. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  41. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  42. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  43. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  44. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  45. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  46. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  47. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  48. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  49. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  50. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  51. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  52. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  53. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  54. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  55. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  56. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  57. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  58. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  59. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  60. package/plugins/lisa-rails-agy/plugin.json +1 -1
  61. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  62. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  63. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  64. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  65. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  66. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  67. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  68. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  69. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  70. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  71. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  72. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  73. package/plugins/src/base/skills/lisa-sync-down/SKILL.md +8 -1
  74. package/scripts/lisa-commit-and-pr-local.sh +22 -6
  75. package/typescript/copy-contents/.husky/pre-push +70 -0
@@ -0,0 +1,50 @@
1
+ import type { Migration, MigrationContext, MigrationResult } from "./migration.interface.js";
2
+ /**
3
+ * Migration: stop a push from inheriting its destination from the upstream ref.
4
+ *
5
+ * With `push.default=upstream`, git resolves a push's destination from the
6
+ * branch's upstream instead of from the branch it was told to push. A working
7
+ * branch created the ordinary way — `git checkout -b <branch> origin/main` —
8
+ * has `main` as its upstream, so the ordinary `git push -u origin <branch>`
9
+ * resolves to `refs/heads/main` and lands there. The push reports success;
10
+ * branch protection and every required check are bypassed; the operator is told
11
+ * only afterwards, if at all.
12
+ *
13
+ * Measured in Lisa's own repository (CodySwannGT/lisa#3495): two commits
14
+ * reached the default branch this way. Every detection control afterwards fired
15
+ * correctly — the bypass was reported, the agent force-push was refused, the
16
+ * release run was caught and cancelled — and the commits shipped in a published
17
+ * release regardless, because an ordinary unrelated merge cut a release before
18
+ * anyone could rewind. Nothing had prevented the original push, and prevention
19
+ * turned out to be the only control that would have mattered.
20
+ *
21
+ * The rewrite is deliberately narrow. Only `upstream` and `tracking` are
22
+ * touched; `simple`, `current`, `matching`, and `nothing` are left exactly as
23
+ * the host set them, because none of them resolve a destination the pusher did
24
+ * not name. The write is `--local`, which shadows a global setting rather than
25
+ * editing the user's global config — this repository's problem to fix is this
26
+ * repository, not the machine.
27
+ *
28
+ * This is one half of the fix and the weaker half: it disarms the trap but
29
+ * cannot bind a clone made before it ran, and it does not survive a host
30
+ * setting the value back. The `validate-push-destination` guard in the pre-push
31
+ * hook is the other half, and it reads the destination git actually resolved
32
+ * rather than the config that produced it.
33
+ */
34
+ export declare class EnsurePushDefaultSafeMigration implements Migration {
35
+ readonly name = "ensure-push-default-safe";
36
+ readonly description = "Set push.default=simple locally where it currently resolves a push's destination from the upstream ref, so a feature-branch push cannot land on the default branch";
37
+ /**
38
+ * Applies only where `push.default` currently inherits the destination.
39
+ * @param ctx - Migration context
40
+ * @returns True when there is work to do
41
+ */
42
+ applies(ctx: MigrationContext): Promise<boolean>;
43
+ /**
44
+ * Rewrite the inheriting value to the safe one in local git config.
45
+ * @param ctx - Migration context
46
+ * @returns Result describing the action taken
47
+ */
48
+ apply(ctx: MigrationContext): Promise<MigrationResult>;
49
+ }
50
+ //# sourceMappingURL=ensure-push-default-safe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ensure-push-default-safe.d.ts","sourceRoot":"","sources":["../../src/migrations/ensure-push-default-safe.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,gBAAgB,EAChB,eAAe,EAChB,MAAM,0BAA0B,CAAC;AAgGlC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,qBAAa,8BAA+B,YAAW,SAAS;IAC9D,QAAQ,CAAC,IAAI,8BAA8B;IAC3C,QAAQ,CAAC,WAAW,wKAA+K;IAEnM;;;;OAIG;IACG,OAAO,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAAC,OAAO,CAAC;IAKtD;;;;OAIG;IACG,KAAK,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;CAgB7D"}
@@ -0,0 +1,159 @@
1
+ /** Minimal environment for project-scoped git commands, free of caller hook state. */
2
+ const GIT_COMMAND_ENV = {
3
+ PATH: "/usr/bin:/bin:/usr/sbin:/sbin",
4
+ };
5
+ /**
6
+ * The two `push.default` values that resolve a push's destination from the
7
+ * branch's UPSTREAM rather than from its own name.
8
+ *
9
+ * `tracking` is the deprecated spelling of `upstream`; git still honours it, so
10
+ * a guard that only knew the modern name would leave half the trap armed.
11
+ */
12
+ const INHERITING_VALUES = new Set([
13
+ "upstream",
14
+ "tracking",
15
+ ]);
16
+ /** What the inheriting values are rewritten to — git's own default since 2.0. */
17
+ const SAFE_VALUE = "simple";
18
+ /**
19
+ * Read the effective `push.default` for a project, or undefined when unset.
20
+ *
21
+ * Reads the EFFECTIVE value, not the local one. A repository inherits
22
+ * `push.default` from the user's global config just as readily as from its own
23
+ * `.git/config`, and the accident this migration disarms does not care which
24
+ * file the value came from.
25
+ * @param cwd - Project directory
26
+ * @returns The configured value lowercased, or undefined when unset or unreadable
27
+ */
28
+ async function readPushDefault(cwd) {
29
+ const { exec } = await import("node:child_process");
30
+ const { promisify } = await import("node:util");
31
+ const run = promisify(exec);
32
+ try {
33
+ const { stdout } = await run("git config --get push.default", {
34
+ cwd,
35
+ env: GIT_COMMAND_ENV,
36
+ });
37
+ const value = stdout.trim().toLowerCase();
38
+ return value === "" ? undefined : value;
39
+ }
40
+ catch {
41
+ // Exit 1 means "not set", which is git's default `simple` and needs no fix.
42
+ // Any other failure means this is not a readable git directory, which is
43
+ // equally nothing to do here.
44
+ return undefined;
45
+ }
46
+ }
47
+ /**
48
+ * Write the safe value into one git config scope.
49
+ * @param cwd - Project directory
50
+ * @param scope - Config scope flag, `--local` or `--worktree`
51
+ * @returns True when the write succeeded
52
+ */
53
+ async function writePushDefault(cwd, scope) {
54
+ const { exec } = await import("node:child_process");
55
+ const { promisify } = await import("node:util");
56
+ const run = promisify(exec);
57
+ try {
58
+ await run(`git config ${scope} push.default ${SAFE_VALUE}`, {
59
+ cwd,
60
+ env: GIT_COMMAND_ENV,
61
+ });
62
+ return true;
63
+ }
64
+ catch {
65
+ return false;
66
+ }
67
+ }
68
+ /**
69
+ * Set `push.default` to the safe value and PROVE it took effect.
70
+ *
71
+ * A `--local` write is not always the last word. With
72
+ * `extensions.worktreeConfig` enabled, a `push.default` living in
73
+ * `config.worktree` outranks `config`, so the local write lands, exits zero,
74
+ * and the effective value is still `upstream` — a migration reporting success
75
+ * over a trap that is still armed. That is the same shape as the defect this
76
+ * whole change is about (a command that reports what it did rather than what
77
+ * happened), so it is checked rather than assumed: write, re-read the
78
+ * EFFECTIVE value, and escalate to `--worktree` only if the local write did
79
+ * not move it.
80
+ * @param cwd - Project directory
81
+ * @returns True only when the effective value is now safe
82
+ */
83
+ async function applySafePushDefault(cwd) {
84
+ if (!(await writePushDefault(cwd, "--local")))
85
+ return false;
86
+ if (!INHERITING_VALUES.has((await readPushDefault(cwd)) ?? SAFE_VALUE)) {
87
+ return true;
88
+ }
89
+ if (!(await writePushDefault(cwd, "--worktree")))
90
+ return false;
91
+ return !INHERITING_VALUES.has((await readPushDefault(cwd)) ?? SAFE_VALUE);
92
+ }
93
+ /**
94
+ * Migration: stop a push from inheriting its destination from the upstream ref.
95
+ *
96
+ * With `push.default=upstream`, git resolves a push's destination from the
97
+ * branch's upstream instead of from the branch it was told to push. A working
98
+ * branch created the ordinary way — `git checkout -b <branch> origin/main` —
99
+ * has `main` as its upstream, so the ordinary `git push -u origin <branch>`
100
+ * resolves to `refs/heads/main` and lands there. The push reports success;
101
+ * branch protection and every required check are bypassed; the operator is told
102
+ * only afterwards, if at all.
103
+ *
104
+ * Measured in Lisa's own repository (CodySwannGT/lisa#3495): two commits
105
+ * reached the default branch this way. Every detection control afterwards fired
106
+ * correctly — the bypass was reported, the agent force-push was refused, the
107
+ * release run was caught and cancelled — and the commits shipped in a published
108
+ * release regardless, because an ordinary unrelated merge cut a release before
109
+ * anyone could rewind. Nothing had prevented the original push, and prevention
110
+ * turned out to be the only control that would have mattered.
111
+ *
112
+ * The rewrite is deliberately narrow. Only `upstream` and `tracking` are
113
+ * touched; `simple`, `current`, `matching`, and `nothing` are left exactly as
114
+ * the host set them, because none of them resolve a destination the pusher did
115
+ * not name. The write is `--local`, which shadows a global setting rather than
116
+ * editing the user's global config — this repository's problem to fix is this
117
+ * repository, not the machine.
118
+ *
119
+ * This is one half of the fix and the weaker half: it disarms the trap but
120
+ * cannot bind a clone made before it ran, and it does not survive a host
121
+ * setting the value back. The `validate-push-destination` guard in the pre-push
122
+ * hook is the other half, and it reads the destination git actually resolved
123
+ * rather than the config that produced it.
124
+ */
125
+ export class EnsurePushDefaultSafeMigration {
126
+ name = "ensure-push-default-safe";
127
+ description = `Set push.default=${SAFE_VALUE} locally where it currently resolves a push's destination from the upstream ref, so a feature-branch push cannot land on the default branch`;
128
+ /**
129
+ * Applies only where `push.default` currently inherits the destination.
130
+ * @param ctx - Migration context
131
+ * @returns True when there is work to do
132
+ */
133
+ async applies(ctx) {
134
+ const current = await readPushDefault(ctx.projectDir);
135
+ return current !== undefined && INHERITING_VALUES.has(current);
136
+ }
137
+ /**
138
+ * Rewrite the inheriting value to the safe one in local git config.
139
+ * @param ctx - Migration context
140
+ * @returns Result describing the action taken
141
+ */
142
+ async apply(ctx) {
143
+ const current = await readPushDefault(ctx.projectDir);
144
+ if (current === undefined || !INHERITING_VALUES.has(current)) {
145
+ return { name: this.name, action: "noop" };
146
+ }
147
+ const detail = `push.default was "${current}", which resolves a push's destination from the branch's upstream — a feature branch created from the default branch would push straight to it. Set to "${SAFE_VALUE}" locally.`;
148
+ if (ctx.dryRun) {
149
+ ctx.logger.dry(`Would set push.default=${SAFE_VALUE} (was "${current}")`);
150
+ return { name: this.name, action: "applied", message: detail };
151
+ }
152
+ if (!(await applySafePushDefault(ctx.projectDir))) {
153
+ return { name: this.name, action: "noop" };
154
+ }
155
+ ctx.logger.success(detail);
156
+ return { name: this.name, action: "applied", message: detail };
157
+ }
158
+ }
159
+ //# sourceMappingURL=ensure-push-default-safe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ensure-push-default-safe.js","sourceRoot":"","sources":["../../src/migrations/ensure-push-default-safe.ts"],"names":[],"mappings":"AAMA,sFAAsF;AACtF,MAAM,eAAe,GAAsB;IACzC,IAAI,EAAE,+BAA+B;CACtC,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,iBAAiB,GAAwB,IAAI,GAAG,CAAC;IACrD,UAAU;IACV,UAAU;CACX,CAAC,CAAC;AAEH,iFAAiF;AACjF,MAAM,UAAU,GAAG,QAAQ,CAAC;AAE5B;;;;;;;;;GASG;AACH,KAAK,UAAU,eAAe,CAAC,GAAW;IACxC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,CAAC;IACpD,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,CAAC;IAChD,MAAM,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,CAAC,+BAA+B,EAAE;YAC5D,GAAG;YACH,GAAG,EAAE,eAAe;SACrB,CAAC,CAAC;QACH,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;QAC1C,OAAO,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC;IAC1C,CAAC;IAAC,MAAM,CAAC;QAC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EAAE,CAAC;IACjE,CAAC;CACF"}
@@ -9,6 +9,7 @@ export { EnsureNightlyE2EWorkflowPinsMigration } from "./ensure-nightly-e2e-work
9
9
  export { EnsureLisaPostinstallMigration } from "./ensure-lisa-postinstall.js";
10
10
  export { EnsureOxlintBaseConfigsMigration } from "./ensure-oxlint-base-configs.js";
11
11
  export { EnsurePlaywrightDedicatedCallerMigration } from "./ensure-playwright-dedicated-caller.js";
12
+ export { EnsurePushDefaultSafeMigration } from "./ensure-push-default-safe.js";
12
13
  export { EnsureQualityCallerScopesMigration } from "./ensure-quality-caller-scopes.js";
13
14
  export { EnsureSeededGatesMigration } from "./ensure-seeded-gates.js";
14
15
  export { EnsureSonarExcludesLisaHarnessMigration } from "./ensure-sonar-excludes-lisa-harness.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/migrations/index.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EACV,SAAS,EACT,gBAAgB,EAChB,eAAe,EAChB,MAAM,0BAA0B,CAAC;AAElC,YAAY,EACV,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,eAAe,GAChB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,yCAAyC,EAAE,MAAM,2CAA2C,CAAC;AACtG,OAAO,EAAE,6CAA6C,EAAE,MAAM,gDAAgD,CAAC;AAC/G,OAAO,EAAE,qCAAqC,EAAE,MAAM,qCAAqC,CAAC;AAC5F,OAAO,EAAE,mCAAmC,EAAE,MAAM,oCAAoC,CAAC;AACzF,OAAO,EAAE,uCAAuC,EAAE,MAAM,wCAAwC,CAAC;AACjG,OAAO,EAAE,qCAAqC,EAAE,MAAM,uCAAuC,CAAC;AAC9F,OAAO,EAAE,8BAA8B,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,gCAAgC,EAAE,MAAM,iCAAiC,CAAC;AACnF,OAAO,EAAE,wCAAwC,EAAE,MAAM,yCAAyC,CAAC;AACnG,OAAO,EAAE,k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AAiB,CAE3D"}
@@ -7,6 +7,7 @@ import { EnsureNightlyE2EWorkflowPinsMigration } from "./ensure-nightly-e2e-work
7
7
  import { EnsureLisaPostinstallMigration } from "./ensure-lisa-postinstall.js";
8
8
  import { EnsureOxlintBaseConfigsMigration } from "./ensure-oxlint-base-configs.js";
9
9
  import { EnsurePlaywrightDedicatedCallerMigration } from "./ensure-playwright-dedicated-caller.js";
10
+ import { EnsurePushDefaultSafeMigration } from "./ensure-push-default-safe.js";
10
11
  import { EnsureQualityCallerScopesMigration } from "./ensure-quality-caller-scopes.js";
11
12
  import { EnsureSeededGatesMigration } from "./ensure-seeded-gates.js";
12
13
  import { EnsureSonarExcludesLisaHarnessMigration } from "./ensure-sonar-excludes-lisa-harness.js";
@@ -24,6 +25,7 @@ export { EnsureNightlyE2EWorkflowPinsMigration } from "./ensure-nightly-e2e-work
24
25
  export { EnsureLisaPostinstallMigration } from "./ensure-lisa-postinstall.js";
25
26
  export { EnsureOxlintBaseConfigsMigration } from "./ensure-oxlint-base-configs.js";
26
27
  export { EnsurePlaywrightDedicatedCallerMigration } from "./ensure-playwright-dedicated-caller.js";
28
+ export { EnsurePushDefaultSafeMigration } from "./ensure-push-default-safe.js";
27
29
  export { EnsureQualityCallerScopesMigration } from "./ensure-quality-caller-scopes.js";
28
30
  export { EnsureSeededGatesMigration } from "./ensure-seeded-gates.js";
29
31
  export { EnsureSonarExcludesLisaHarnessMigration } from "./ensure-sonar-excludes-lisa-harness.js";
@@ -54,6 +56,7 @@ export class MigrationRegistry {
54
56
  new EnsureLisaPostinstallMigration(),
55
57
  new EnsureOxlintBaseConfigsMigration(),
56
58
  new EnsurePlaywrightDedicatedCallerMigration(),
59
+ new EnsurePushDefaultSafeMigration(),
57
60
  new EnsureQualityCallerScopesMigration(),
58
61
  new EnsureSeededGatesMigration(),
59
62
  new EnsureSonarExcludesLisaHarnessMigration(),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/migrations/index.ts"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AC,mBAAmB,CAAC,GAAqB;QAC7C,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACxC,IAAI,SAAS,CAAC,gBAAgB,EAAE,CAAC;gBAC/B,MAAM,SAAS,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;YACxC,CAAC;QACH,CAAC;IACH,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,MAAM,CAAC,GAAqB;QAChC,MAAM,OAAO,GAAsB,EAAE,CAAC;QACtC,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACxC,MAAM,SAAS,GAAG,MAAM,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;YAC/C,IAAI,CAAC,SAAS,EAAE,CAAC;gBACf,OAAO,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;gBAC1D,SAAS;YACX,CAAC;YACD,MAAM,MAAM,GAAG,MAAM,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC1C,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACvB,CAAC;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;CACF;AAED;;;GAGG;AACH,MAAM,UAAU,uBAAuB;IACrC,OAAO,IAAI,iBAAiB,EAAE,CAAC;AACjC,CAAC"}
package/package.json CHANGED
@@ -161,7 +161,7 @@
161
161
  "zod-validation-error": "^4.0.0"
162
162
  },
163
163
  "name": "@codyswann/lisa",
164
- "version": "4.27.4",
164
+ "version": "4.27.5",
165
165
  "description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
166
166
  "main": "dist/index.js",
167
167
  "exports": {
@@ -305,6 +305,6 @@
305
305
  "test": "tests"
306
306
  },
307
307
  "types": "./dist/index.d.ts",
308
- "lisaReleaseCommit": "97d9811b1db340406a0060ffa52677c0c0a2ea37",
309
- "gitHead": "97d9811b1db340406a0060ffa52677c0c0a2ea37"
308
+ "lisaReleaseCommit": "46804f12d708b7761a53eb11ece870eba5964f60",
309
+ "gitHead": "46804f12d708b7761a53eb11ece870eba5964f60"
310
310
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "Universal governance: agents, skills, commands, hooks, and rules for all projects.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -127,8 +127,15 @@ source-only work downward.
127
127
  If residue remains after applying the appropriate pattern, abort that hop and
128
128
  report the unresolved files and the evidence gathered. Do not silently choose
129
129
  source-wins when the target may already contain the change or has moved the code.
130
- 5. **Push** the sync branch: `git push -u origin sync/<source>-to-<target> --force-with-lease`.
130
+ 5. **Push** the sync branch with a fully qualified destination refspec:
131
+ `git push origin sync/<source>-to-<target>:refs/heads/sync/<source>-to-<target> --force-with-lease`.
131
132
  Only ever force-push the sync branch — never the target environment branch.
133
+ The refspec is not decoration. `push -u origin <branch>` names only a
134
+ source, so git resolves the destination from the branch's upstream; where
135
+ `push.default` is `upstream` and the sync branch was created from the
136
+ target, that resolves to the TARGET ENVIRONMENT BRANCH and a force-push
137
+ lands there (CodySwannGT/lisa#3495). Naming the destination in full is
138
+ what makes the sentence above enforceable rather than advisory.
132
139
  6. **Open or update the PR.** Check for an existing open PR
133
140
  (`gh pr list --head sync/<source>-to-<target> --base <target> --state open`).
134
141
  Update its body if it exists, otherwise create it
@@ -127,8 +127,15 @@ source-only work downward.
127
127
  If residue remains after applying the appropriate pattern, abort that hop and
128
128
  report the unresolved files and the evidence gathered. Do not silently choose
129
129
  source-wins when the target may already contain the change or has moved the code.
130
- 5. **Push** the sync branch: `git push -u origin sync/<source>-to-<target> --force-with-lease`.
130
+ 5. **Push** the sync branch with a fully qualified destination refspec:
131
+ `git push origin sync/<source>-to-<target>:refs/heads/sync/<source>-to-<target> --force-with-lease`.
131
132
  Only ever force-push the sync branch — never the target environment branch.
133
+ The refspec is not decoration. `push -u origin <branch>` names only a
134
+ source, so git resolves the destination from the branch's upstream; where
135
+ `push.default` is `upstream` and the sync branch was created from the
136
+ target, that resolves to the TARGET ENVIRONMENT BRANCH and a force-push
137
+ lands there (CodySwannGT/lisa#3495). Naming the destination in full is
138
+ what makes the sentence above enforceable rather than advisory.
132
139
  6. **Open or update the PR.** Check for an existing open PR
133
140
  (`gh pr list --head sync/<source>-to-<target> --base <target> --state open`).
134
141
  Update its body if it exists, otherwise create it
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -127,8 +127,15 @@ source-only work downward.
127
127
  If residue remains after applying the appropriate pattern, abort that hop and
128
128
  report the unresolved files and the evidence gathered. Do not silently choose
129
129
  source-wins when the target may already contain the change or has moved the code.
130
- 5. **Push** the sync branch: `git push -u origin sync/<source>-to-<target> --force-with-lease`.
130
+ 5. **Push** the sync branch with a fully qualified destination refspec:
131
+ `git push origin sync/<source>-to-<target>:refs/heads/sync/<source>-to-<target> --force-with-lease`.
131
132
  Only ever force-push the sync branch — never the target environment branch.
133
+ The refspec is not decoration. `push -u origin <branch>` names only a
134
+ source, so git resolves the destination from the branch's upstream; where
135
+ `push.default` is `upstream` and the sync branch was created from the
136
+ target, that resolves to the TARGET ENVIRONMENT BRANCH and a force-push
137
+ lands there (CodySwannGT/lisa#3495). Naming the destination in full is
138
+ what makes the sentence above enforceable rather than advisory.
132
139
  6. **Open or update the PR.** Check for an existing open PR
133
140
  (`gh pr list --head sync/<source>-to-<target> --base <target> --state open`).
134
141
  Update its body if it exists, otherwise create it
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "AWS CDK-specific Lisa plugin.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -127,8 +127,15 @@ source-only work downward.
127
127
  If residue remains after applying the appropriate pattern, abort that hop and
128
128
  report the unresolved files and the evidence gathered. Do not silently choose
129
129
  source-wins when the target may already contain the change or has moved the code.
130
- 5. **Push** the sync branch: `git push -u origin sync/<source>-to-<target> --force-with-lease`.
130
+ 5. **Push** the sync branch with a fully qualified destination refspec:
131
+ `git push origin sync/<source>-to-<target>:refs/heads/sync/<source>-to-<target> --force-with-lease`.
131
132
  Only ever force-push the sync branch — never the target environment branch.
133
+ The refspec is not decoration. `push -u origin <branch>` names only a
134
+ source, so git resolves the destination from the branch's upstream; where
135
+ `push.default` is `upstream` and the sync branch was created from the
136
+ target, that resolves to the TARGET ENVIRONMENT BRANCH and a force-push
137
+ lands there (CodySwannGT/lisa#3495). Naming the destination in full is
138
+ what makes the sentence above enforceable rather than advisory.
132
139
  6. **Open or update the PR.** Check for an existing open PR
133
140
  (`gh pr list --head sync/<source>-to-<target> --base <target> --state open`).
134
141
  Update its body if it exists, otherwise create it
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -127,8 +127,15 @@ source-only work downward.
127
127
  If residue remains after applying the appropriate pattern, abort that hop and
128
128
  report the unresolved files and the evidence gathered. Do not silently choose
129
129
  source-wins when the target may already contain the change or has moved the code.
130
- 5. **Push** the sync branch: `git push -u origin sync/<source>-to-<target> --force-with-lease`.
130
+ 5. **Push** the sync branch with a fully qualified destination refspec:
131
+ `git push origin sync/<source>-to-<target>:refs/heads/sync/<source>-to-<target> --force-with-lease`.
131
132
  Only ever force-push the sync branch — never the target environment branch.
133
+ The refspec is not decoration. `push -u origin <branch>` names only a
134
+ source, so git resolves the destination from the branch's upstream; where
135
+ `push.default` is `upstream` and the sync branch was created from the
136
+ target, that resolves to the TARGET ENVIRONMENT BRANCH and a force-push
137
+ lands there (CodySwannGT/lisa#3495). Naming the destination in full is
138
+ what makes the sentence above enforceable rather than advisory.
132
139
  6. **Open or update the PR.** Check for an existing open PR
133
140
  (`gh pr list --head sync/<source>-to-<target> --base <target> --state open`).
134
141
  Update its body if it exists, otherwise create it
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "Expo and React Native-specific skills, agents, rules, and MCP servers.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "Harper/Fabric-specific Lisa rules for TypeScript component apps.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "NestJS-specific skills and migration write-protection hooks.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "4.27.4",
3
+ "version": "4.27.5",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"