@codyswann/lisa 3.23.0 → 3.23.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/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +20 -69
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/dist/migrations/ensure-quality-caller-scopes.d.ts.map +1 -1
- package/dist/migrations/ensure-quality-caller-scopes.js +1 -2
- package/dist/migrations/ensure-quality-caller-scopes.js.map +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/.codex-plugin/skills/lisa-doctor/SKILL.md +3 -5
- package/plugins/lisa/.codex-plugin/skills/lisa-drive-pr-to-merge/SKILL.md +3 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-sync-down/SKILL.md +9 -16
- package/plugins/lisa/rules/reference/config-resolution.md +2 -2
- package/plugins/lisa/skills/lisa-doctor/SKILL.md +3 -5
- package/plugins/lisa/skills/lisa-drive-pr-to-merge/SKILL.md +3 -3
- package/plugins/lisa/skills/lisa-sync-down/SKILL.md +10 -17
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-doctor/SKILL.md +3 -5
- package/plugins/lisa-agy/skills/lisa-drive-pr-to-merge/SKILL.md +3 -3
- package/plugins/lisa-agy/skills/lisa-sync-down/SKILL.md +10 -17
- 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-copilot/rules/reference/config-resolution.md +2 -2
- package/plugins/lisa-copilot/skills/lisa-doctor/SKILL.md +3 -5
- package/plugins/lisa-copilot/skills/lisa-drive-pr-to-merge/SKILL.md +3 -3
- package/plugins/lisa-copilot/skills/lisa-sync-down/SKILL.md +10 -17
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +2 -2
- package/plugins/lisa-cursor/skills/lisa-doctor/SKILL.md +3 -5
- package/plugins/lisa-cursor/skills/lisa-drive-pr-to-merge/SKILL.md +3 -3
- package/plugins/lisa-cursor/skills/lisa-sync-down/SKILL.md +10 -17
- 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-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-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-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-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/base/rules/reference/config-resolution.md +2 -2
- package/plugins/src/base/skills/lisa-doctor/SKILL.md +3 -5
- package/plugins/src/base/skills/lisa-drive-pr-to-merge/SKILL.md +3 -3
- package/plugins/src/base/skills/lisa-sync-down/SKILL.md +10 -17
- package/rails/deletions.json +6 -1
- package/scripts/detect-stale-workflow-inputs.mjs +7 -7
- package/scripts/generate-upstream-evidence-manifest.mjs +1 -0
- package/scripts/verify-health-deterministic-built.mjs +1 -1
- package/typescript/copy-contents/.husky/commit-msg +4 -1
- package/typescript/copy-contents/.husky/pre-commit +4 -1
- package/typescript/copy-contents/.husky/pre-push +8 -2
- package/typescript/copy-contents/.husky/prepare-commit-msg +4 -1
- package/typescript/deletions.json +14 -1
- package/rails/create-only/.github/workflows/claude-code-review-response.yml +0 -31
- package/rails/create-only/.github/workflows/claude-nightly-code-complexity.yml +0 -22
- package/rails/create-only/.github/workflows/claude-nightly-test-coverage.yml +0 -30
- package/rails/create-only/.github/workflows/claude-nightly-test-improvement.yml +0 -33
- package/rails/create-only/.github/workflows/claude-sync-down-branches.yml +0 -46
- package/scripts/migrate-deploy-order.sh +0 -161
- package/typescript/create-only/.github/workflows/claude-ci-auto-fix.yml +0 -42
- package/typescript/create-only/.github/workflows/claude-code-review-response.yml +0 -31
- package/typescript/create-only/.github/workflows/claude-deploy-auto-fix.yml +0 -39
- package/typescript/create-only/.github/workflows/claude-nightly-code-complexity.yml +0 -24
- package/typescript/create-only/.github/workflows/claude-nightly-test-coverage.yml +0 -31
- package/typescript/create-only/.github/workflows/claude-nightly-test-improvement.yml +0 -34
- package/typescript/create-only/.github/workflows/claude-sync-down-branches.yml +0 -46
- package/typescript/create-only/.github/workflows/claude.yml +0 -37
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ensure-quality-caller-scopes.d.ts","sourceRoot":"","sources":["../../src/migrations/ensure-quality-caller-scopes.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,SAAS,EACT,gBAAgB,EAChB,eAAe,EAChB,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"ensure-quality-caller-scopes.d.ts","sourceRoot":"","sources":["../../src/migrations/ensure-quality-caller-scopes.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,SAAS,EACT,gBAAgB,EAChB,eAAe,EAChB,MAAM,0BAA0B,CAAC;AAgLlC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,qBAAa,kCAAmC,YAAW,SAAS;IAClE,QAAQ,CAAC,IAAI,kCAAkC;IAC/C,QAAQ,CAAC,WAAW,kHAC6F;IAEjH;;;;OAIG;YACW,IAAI;IAgElB;;;;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;CAmF7D"}
|
|
@@ -50,8 +50,7 @@ const TRACKER_SECRETS = {
|
|
|
50
50
|
*
|
|
51
51
|
* Line scanning rather than a YAML round-trip: these files are human-maintained
|
|
52
52
|
* and full of explanatory comments that parse-and-reserialize would delete.
|
|
53
|
-
* Mirrors the technique in scripts/
|
|
54
|
-
* scripts/detect-stale-workflow-inputs.mjs.
|
|
53
|
+
* Mirrors the technique in scripts/detect-stale-workflow-inputs.mjs.
|
|
55
54
|
* @param lines - The workflow file split into lines
|
|
56
55
|
* @returns Start (inclusive) and end (exclusive) line indices, or null
|
|
57
56
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ensure-quality-caller-scopes.js","sourceRoot":"","sources":["../../src/migrations/ensure-quality-caller-scopes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAOhC,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;AAC5D,MAAM,WAAW,GAAG,mBAAmB,CAAC;AAExC;;;GAGG;AACH,MAAM,WAAW,GACf,gFAAgF,CAAC;AAEnF,yEAAyE;AACzE,MAAM,OAAO,GAAG,oBAAoB,CAAC;AAErC,uEAAuE;AACvE,MAAM,YAAY,GAAG,sBAAsB,CAAC;AAK5C;;;;;;;;;;;;;;GAcG;AACH,MAAM,kBAAkB,GAEpB;IACF,QAAQ,EAAE;QACR,CAAC,UAAU,EAAE,MAAM,CAAC;QACpB,CAAC,QAAQ,EAAE,MAAM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;gBACf,MAAM,EAAE,SAAS;gBACjB,YAAY,EAAE,CAAC,OAAO,CAAC;gBACvB,OAAO;aACR,CAAC;QACJ,CAAC;QAED,MAAM,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,OAAO,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QACtE,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAC5B,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,MAAM,EAAE,SAAS;YACjB,YAAY,EAAE,CAAC,OAAO,CAAC;YACvB,OAAO;SACR,CAAC;IACJ,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
}
|
|
130
130
|
},
|
|
131
131
|
"name": "@codyswann/lisa",
|
|
132
|
-
"version": "3.23.
|
|
132
|
+
"version": "3.23.2",
|
|
133
133
|
"description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
|
|
134
134
|
"main": "dist/index.js",
|
|
135
135
|
"exports": {
|
|
@@ -119,11 +119,9 @@ this order:
|
|
|
119
119
|
single distinct branch, so there is nothing to back-sync, the chain is the empty no-op, and
|
|
120
120
|
`deploy.order` is not required. Do not WARN.
|
|
121
121
|
- `WARN` when `deploy.branches` resolves to **more than one distinct** branch but `deploy.order`
|
|
122
|
-
is absent. Config-driven back-sync
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
`claude-sync-down-branches.yml` wrapper. WARN not FAIL because the explicit-chain override is
|
|
126
|
-
a valid configuration.
|
|
122
|
+
is absent. Config-driven back-sync cannot derive a source→target chain without the env
|
|
123
|
+
ranking; the repo must add `deploy.order` (low→high, e.g.
|
|
124
|
+
`["dev","staging","production"]`).
|
|
127
125
|
- `FAIL` when `deploy.order` is present but its env-name set does not exactly match the keys of
|
|
128
126
|
`deploy.branches` (every env in one must appear in the other). A mismatch silently breaks the
|
|
129
127
|
derived chain.
|
|
@@ -58,9 +58,9 @@ Use plain `gh` + `git` so Claude and Codex execute identically.
|
|
|
58
58
|
|
|
59
59
|
## 0. Take the babysitter lease
|
|
60
60
|
|
|
61
|
-
This skill is the branch's owner while it runs. Declare that ownership so
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
This skill is the branch's owner while it runs. Declare that ownership so any CI
|
|
62
|
+
repair automation stands down instead of pushing competing fixes to the same
|
|
63
|
+
branch (the single-writer rule):
|
|
64
64
|
|
|
65
65
|
```bash
|
|
66
66
|
gh label create "lisa:babysitter-on-duty" \
|
|
@@ -8,9 +8,7 @@ allowed-tools: ["Bash", "Read", "Edit", "Write", "Grep", "Glob"]
|
|
|
8
8
|
|
|
9
9
|
Back-sync a source environment branch DOWN the deploy chain, one hop at a time,
|
|
10
10
|
all the way to the lowest environment. This is the on-demand, manual-or-CI
|
|
11
|
-
|
|
12
|
-
same logic automatically when a PR is merged. Both derive their chain from the
|
|
13
|
-
same config, so a manual run and an automatic run behave identically.
|
|
11
|
+
entrypoint for applying the config-derived sync chain.
|
|
14
12
|
|
|
15
13
|
Argument (`$ARGUMENTS`): the **source** to start syncing from. Accepts:
|
|
16
14
|
|
|
@@ -156,16 +154,11 @@ needs human conflict resolution.
|
|
|
156
154
|
## Invocation
|
|
157
155
|
|
|
158
156
|
- **Developer:** `/lisa:sync-down production` (or a branch: `/lisa:sync-down main`).
|
|
159
|
-
- **
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
This skill and `reusable-claude-sync-down-branches.yml` are deliberately
|
|
168
|
-
equivalent: same config-derived chain, same merge/conflict strategy, same
|
|
169
|
-
deterministic sync-branch naming, same auto-merge behavior. The Action is the
|
|
170
|
-
automatic (PR-merged) trigger; this skill is the manual/dispatch trigger. Keep
|
|
171
|
-
their chain-derivation and conflict-resolution rules in sync when either changes.
|
|
157
|
+
- **CI:** invoke this skill from the runtime-native automation surface with
|
|
158
|
+
`/lisa:sync-down <env>` when an automatic sync is required.
|
|
159
|
+
|
|
160
|
+
## Contract
|
|
161
|
+
|
|
162
|
+
This skill is the source of truth for back-sync behavior: config-derived chain,
|
|
163
|
+
merge/conflict strategy, deterministic sync-branch naming, and auto-merge
|
|
164
|
+
behavior all live here.
|
|
@@ -611,8 +611,8 @@ cannot: the relative rank of environments. `deploy.branches` is an unordered map
|
|
|
611
611
|
so without `deploy.order` the rank of a custom env name (`preprod`, `qa`, …) is
|
|
612
612
|
unknowable.
|
|
613
613
|
|
|
614
|
-
The back-sync
|
|
615
|
-
|
|
614
|
+
The Lisa back-sync flow consumes `deploy.order` to derive its source → target
|
|
615
|
+
chain. It walks the order from the
|
|
616
616
|
**highest** environment **down**, mapping each env's branch to the next-lower
|
|
617
617
|
env's branch:
|
|
618
618
|
|
|
@@ -119,11 +119,9 @@ this order:
|
|
|
119
119
|
single distinct branch, so there is nothing to back-sync, the chain is the empty no-op, and
|
|
120
120
|
`deploy.order` is not required. Do not WARN.
|
|
121
121
|
- `WARN` when `deploy.branches` resolves to **more than one distinct** branch but `deploy.order`
|
|
122
|
-
is absent. Config-driven back-sync
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
`claude-sync-down-branches.yml` wrapper. WARN not FAIL because the explicit-chain override is
|
|
126
|
-
a valid configuration.
|
|
122
|
+
is absent. Config-driven back-sync cannot derive a source→target chain without the env
|
|
123
|
+
ranking; the repo must add `deploy.order` (low→high, e.g.
|
|
124
|
+
`["dev","staging","production"]`).
|
|
127
125
|
- `FAIL` when `deploy.order` is present but its env-name set does not exactly match the keys of
|
|
128
126
|
`deploy.branches` (every env in one must appear in the other). A mismatch silently breaks the
|
|
129
127
|
derived chain.
|
|
@@ -58,9 +58,9 @@ Use plain `gh` + `git` so Claude and Codex execute identically.
|
|
|
58
58
|
|
|
59
59
|
## 0. Take the babysitter lease
|
|
60
60
|
|
|
61
|
-
This skill is the branch's owner while it runs. Declare that ownership so
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
This skill is the branch's owner while it runs. Declare that ownership so any CI
|
|
62
|
+
repair automation stands down instead of pushing competing fixes to the same
|
|
63
|
+
branch (the single-writer rule):
|
|
64
64
|
|
|
65
65
|
```bash
|
|
66
66
|
gh label create "lisa:babysitter-on-duty" \
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: lisa-sync-down
|
|
3
|
-
description: This skill should be used to run a back-sync of an environment branch DOWN the deploy chain on demand — propagating merges (e.g. hotfixes) from a higher environment to every lower one. Given a source environment name or branch (e.g. `production`), it derives the source→target chain from `.lisa.config.json` `deploy.order` + `deploy.branches
|
|
3
|
+
description: This skill should be used to run a back-sync of an environment branch DOWN the deploy chain on demand — propagating merges (e.g. hotfixes) from a higher environment to every lower one. Given a source environment name or branch (e.g. `production`), it derives the source→target chain from `.lisa.config.json` `deploy.order` + `deploy.branches`, then for each downward hop creates a sync branch, merges, resolves conflicts, opens or updates a PR, and enables auto-merge. Runnable by a developer locally or by CI.
|
|
4
4
|
allowed-tools: ["Bash", "Read", "Edit", "Write", "Grep", "Glob"]
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -8,9 +8,7 @@ allowed-tools: ["Bash", "Read", "Edit", "Write", "Grep", "Glob"]
|
|
|
8
8
|
|
|
9
9
|
Back-sync a source environment branch DOWN the deploy chain, one hop at a time,
|
|
10
10
|
all the way to the lowest environment. This is the on-demand, manual-or-CI
|
|
11
|
-
|
|
12
|
-
same logic automatically when a PR is merged. Both derive their chain from the
|
|
13
|
-
same config, so a manual run and an automatic run behave identically.
|
|
11
|
+
entrypoint for applying the config-derived sync chain.
|
|
14
12
|
|
|
15
13
|
Argument (`$ARGUMENTS`): the **source** to start syncing from. Accepts:
|
|
16
14
|
|
|
@@ -156,16 +154,11 @@ needs human conflict resolution.
|
|
|
156
154
|
## Invocation
|
|
157
155
|
|
|
158
156
|
- **Developer:** `/lisa:sync-down production` (or a branch: `/lisa:sync-down main`).
|
|
159
|
-
- **
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
This skill and `reusable-claude-sync-down-branches.yml` are deliberately
|
|
168
|
-
equivalent: same config-derived chain, same merge/conflict strategy, same
|
|
169
|
-
deterministic sync-branch naming, same auto-merge behavior. The Action is the
|
|
170
|
-
automatic (PR-merged) trigger; this skill is the manual/dispatch trigger. Keep
|
|
171
|
-
their chain-derivation and conflict-resolution rules in sync when either changes.
|
|
157
|
+
- **CI:** invoke this skill from the runtime-native automation surface with
|
|
158
|
+
`/lisa:sync-down <env>` when an automatic sync is required.
|
|
159
|
+
|
|
160
|
+
## Contract
|
|
161
|
+
|
|
162
|
+
This skill is the source of truth for back-sync behavior: config-derived chain,
|
|
163
|
+
merge/conflict strategy, deterministic sync-branch naming, and auto-merge
|
|
164
|
+
behavior all live here.
|
|
@@ -119,11 +119,9 @@ this order:
|
|
|
119
119
|
single distinct branch, so there is nothing to back-sync, the chain is the empty no-op, and
|
|
120
120
|
`deploy.order` is not required. Do not WARN.
|
|
121
121
|
- `WARN` when `deploy.branches` resolves to **more than one distinct** branch but `deploy.order`
|
|
122
|
-
is absent. Config-driven back-sync
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
`claude-sync-down-branches.yml` wrapper. WARN not FAIL because the explicit-chain override is
|
|
126
|
-
a valid configuration.
|
|
122
|
+
is absent. Config-driven back-sync cannot derive a source→target chain without the env
|
|
123
|
+
ranking; the repo must add `deploy.order` (low→high, e.g.
|
|
124
|
+
`["dev","staging","production"]`).
|
|
127
125
|
- `FAIL` when `deploy.order` is present but its env-name set does not exactly match the keys of
|
|
128
126
|
`deploy.branches` (every env in one must appear in the other). A mismatch silently breaks the
|
|
129
127
|
derived chain.
|
|
@@ -58,9 +58,9 @@ Use plain `gh` + `git` so Claude and Codex execute identically.
|
|
|
58
58
|
|
|
59
59
|
## 0. Take the babysitter lease
|
|
60
60
|
|
|
61
|
-
This skill is the branch's owner while it runs. Declare that ownership so
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
This skill is the branch's owner while it runs. Declare that ownership so any CI
|
|
62
|
+
repair automation stands down instead of pushing competing fixes to the same
|
|
63
|
+
branch (the single-writer rule):
|
|
64
64
|
|
|
65
65
|
```bash
|
|
66
66
|
gh label create "lisa:babysitter-on-duty" \
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: lisa-sync-down
|
|
3
|
-
description: This skill should be used to run a back-sync of an environment branch DOWN the deploy chain on demand — propagating merges (e.g. hotfixes) from a higher environment to every lower one. Given a source environment name or branch (e.g. `production`), it derives the source→target chain from `.lisa.config.json` `deploy.order` + `deploy.branches
|
|
3
|
+
description: This skill should be used to run a back-sync of an environment branch DOWN the deploy chain on demand — propagating merges (e.g. hotfixes) from a higher environment to every lower one. Given a source environment name or branch (e.g. `production`), it derives the source→target chain from `.lisa.config.json` `deploy.order` + `deploy.branches`, then for each downward hop creates a sync branch, merges, resolves conflicts, opens or updates a PR, and enables auto-merge. Runnable by a developer locally or by CI.
|
|
4
4
|
allowed-tools: ["Bash", "Read", "Edit", "Write", "Grep", "Glob"]
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -8,9 +8,7 @@ allowed-tools: ["Bash", "Read", "Edit", "Write", "Grep", "Glob"]
|
|
|
8
8
|
|
|
9
9
|
Back-sync a source environment branch DOWN the deploy chain, one hop at a time,
|
|
10
10
|
all the way to the lowest environment. This is the on-demand, manual-or-CI
|
|
11
|
-
|
|
12
|
-
same logic automatically when a PR is merged. Both derive their chain from the
|
|
13
|
-
same config, so a manual run and an automatic run behave identically.
|
|
11
|
+
entrypoint for applying the config-derived sync chain.
|
|
14
12
|
|
|
15
13
|
Argument (`$ARGUMENTS`): the **source** to start syncing from. Accepts:
|
|
16
14
|
|
|
@@ -156,16 +154,11 @@ needs human conflict resolution.
|
|
|
156
154
|
## Invocation
|
|
157
155
|
|
|
158
156
|
- **Developer:** `/lisa:sync-down production` (or a branch: `/lisa:sync-down main`).
|
|
159
|
-
- **
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
This skill and `reusable-claude-sync-down-branches.yml` are deliberately
|
|
168
|
-
equivalent: same config-derived chain, same merge/conflict strategy, same
|
|
169
|
-
deterministic sync-branch naming, same auto-merge behavior. The Action is the
|
|
170
|
-
automatic (PR-merged) trigger; this skill is the manual/dispatch trigger. Keep
|
|
171
|
-
their chain-derivation and conflict-resolution rules in sync when either changes.
|
|
157
|
+
- **CI:** invoke this skill from the runtime-native automation surface with
|
|
158
|
+
`/lisa:sync-down <env>` when an automatic sync is required.
|
|
159
|
+
|
|
160
|
+
## Contract
|
|
161
|
+
|
|
162
|
+
This skill is the source of truth for back-sync behavior: config-derived chain,
|
|
163
|
+
merge/conflict strategy, deterministic sync-branch naming, and auto-merge
|
|
164
|
+
behavior all live here.
|
|
@@ -611,8 +611,8 @@ cannot: the relative rank of environments. `deploy.branches` is an unordered map
|
|
|
611
611
|
so without `deploy.order` the rank of a custom env name (`preprod`, `qa`, …) is
|
|
612
612
|
unknowable.
|
|
613
613
|
|
|
614
|
-
The back-sync
|
|
615
|
-
|
|
614
|
+
The Lisa back-sync flow consumes `deploy.order` to derive its source → target
|
|
615
|
+
chain. It walks the order from the
|
|
616
616
|
**highest** environment **down**, mapping each env's branch to the next-lower
|
|
617
617
|
env's branch:
|
|
618
618
|
|
|
@@ -119,11 +119,9 @@ this order:
|
|
|
119
119
|
single distinct branch, so there is nothing to back-sync, the chain is the empty no-op, and
|
|
120
120
|
`deploy.order` is not required. Do not WARN.
|
|
121
121
|
- `WARN` when `deploy.branches` resolves to **more than one distinct** branch but `deploy.order`
|
|
122
|
-
is absent. Config-driven back-sync
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
`claude-sync-down-branches.yml` wrapper. WARN not FAIL because the explicit-chain override is
|
|
126
|
-
a valid configuration.
|
|
122
|
+
is absent. Config-driven back-sync cannot derive a source→target chain without the env
|
|
123
|
+
ranking; the repo must add `deploy.order` (low→high, e.g.
|
|
124
|
+
`["dev","staging","production"]`).
|
|
127
125
|
- `FAIL` when `deploy.order` is present but its env-name set does not exactly match the keys of
|
|
128
126
|
`deploy.branches` (every env in one must appear in the other). A mismatch silently breaks the
|
|
129
127
|
derived chain.
|
|
@@ -58,9 +58,9 @@ Use plain `gh` + `git` so Claude and Codex execute identically.
|
|
|
58
58
|
|
|
59
59
|
## 0. Take the babysitter lease
|
|
60
60
|
|
|
61
|
-
This skill is the branch's owner while it runs. Declare that ownership so
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
This skill is the branch's owner while it runs. Declare that ownership so any CI
|
|
62
|
+
repair automation stands down instead of pushing competing fixes to the same
|
|
63
|
+
branch (the single-writer rule):
|
|
64
64
|
|
|
65
65
|
```bash
|
|
66
66
|
gh label create "lisa:babysitter-on-duty" \
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: lisa-sync-down
|
|
3
|
-
description: This skill should be used to run a back-sync of an environment branch DOWN the deploy chain on demand — propagating merges (e.g. hotfixes) from a higher environment to every lower one. Given a source environment name or branch (e.g. `production`), it derives the source→target chain from `.lisa.config.json` `deploy.order` + `deploy.branches
|
|
3
|
+
description: This skill should be used to run a back-sync of an environment branch DOWN the deploy chain on demand — propagating merges (e.g. hotfixes) from a higher environment to every lower one. Given a source environment name or branch (e.g. `production`), it derives the source→target chain from `.lisa.config.json` `deploy.order` + `deploy.branches`, then for each downward hop creates a sync branch, merges, resolves conflicts, opens or updates a PR, and enables auto-merge. Runnable by a developer locally or by CI.
|
|
4
4
|
allowed-tools: ["Bash", "Read", "Edit", "Write", "Grep", "Glob"]
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -8,9 +8,7 @@ allowed-tools: ["Bash", "Read", "Edit", "Write", "Grep", "Glob"]
|
|
|
8
8
|
|
|
9
9
|
Back-sync a source environment branch DOWN the deploy chain, one hop at a time,
|
|
10
10
|
all the way to the lowest environment. This is the on-demand, manual-or-CI
|
|
11
|
-
|
|
12
|
-
same logic automatically when a PR is merged. Both derive their chain from the
|
|
13
|
-
same config, so a manual run and an automatic run behave identically.
|
|
11
|
+
entrypoint for applying the config-derived sync chain.
|
|
14
12
|
|
|
15
13
|
Argument (`$ARGUMENTS`): the **source** to start syncing from. Accepts:
|
|
16
14
|
|
|
@@ -156,16 +154,11 @@ needs human conflict resolution.
|
|
|
156
154
|
## Invocation
|
|
157
155
|
|
|
158
156
|
- **Developer:** `/lisa:sync-down production` (or a branch: `/lisa:sync-down main`).
|
|
159
|
-
- **
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
This skill and `reusable-claude-sync-down-branches.yml` are deliberately
|
|
168
|
-
equivalent: same config-derived chain, same merge/conflict strategy, same
|
|
169
|
-
deterministic sync-branch naming, same auto-merge behavior. The Action is the
|
|
170
|
-
automatic (PR-merged) trigger; this skill is the manual/dispatch trigger. Keep
|
|
171
|
-
their chain-derivation and conflict-resolution rules in sync when either changes.
|
|
157
|
+
- **CI:** invoke this skill from the runtime-native automation surface with
|
|
158
|
+
`/lisa:sync-down <env>` when an automatic sync is required.
|
|
159
|
+
|
|
160
|
+
## Contract
|
|
161
|
+
|
|
162
|
+
This skill is the source of truth for back-sync behavior: config-derived chain,
|
|
163
|
+
merge/conflict strategy, deterministic sync-branch naming, and auto-merge
|
|
164
|
+
behavior all live here.
|
|
@@ -616,8 +616,8 @@ cannot: the relative rank of environments. `deploy.branches` is an unordered map
|
|
|
616
616
|
so without `deploy.order` the rank of a custom env name (`preprod`, `qa`, …) is
|
|
617
617
|
unknowable.
|
|
618
618
|
|
|
619
|
-
The back-sync
|
|
620
|
-
|
|
619
|
+
The Lisa back-sync flow consumes `deploy.order` to derive its source → target
|
|
620
|
+
chain. It walks the order from the
|
|
621
621
|
**highest** environment **down**, mapping each env's branch to the next-lower
|
|
622
622
|
env's branch:
|
|
623
623
|
|
|
@@ -119,11 +119,9 @@ this order:
|
|
|
119
119
|
single distinct branch, so there is nothing to back-sync, the chain is the empty no-op, and
|
|
120
120
|
`deploy.order` is not required. Do not WARN.
|
|
121
121
|
- `WARN` when `deploy.branches` resolves to **more than one distinct** branch but `deploy.order`
|
|
122
|
-
is absent. Config-driven back-sync
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
`claude-sync-down-branches.yml` wrapper. WARN not FAIL because the explicit-chain override is
|
|
126
|
-
a valid configuration.
|
|
122
|
+
is absent. Config-driven back-sync cannot derive a source→target chain without the env
|
|
123
|
+
ranking; the repo must add `deploy.order` (low→high, e.g.
|
|
124
|
+
`["dev","staging","production"]`).
|
|
127
125
|
- `FAIL` when `deploy.order` is present but its env-name set does not exactly match the keys of
|
|
128
126
|
`deploy.branches` (every env in one must appear in the other). A mismatch silently breaks the
|
|
129
127
|
derived chain.
|
|
@@ -58,9 +58,9 @@ Use plain `gh` + `git` so Claude and Codex execute identically.
|
|
|
58
58
|
|
|
59
59
|
## 0. Take the babysitter lease
|
|
60
60
|
|
|
61
|
-
This skill is the branch's owner while it runs. Declare that ownership so
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
This skill is the branch's owner while it runs. Declare that ownership so any CI
|
|
62
|
+
repair automation stands down instead of pushing competing fixes to the same
|
|
63
|
+
branch (the single-writer rule):
|
|
64
64
|
|
|
65
65
|
```bash
|
|
66
66
|
gh label create "lisa:babysitter-on-duty" \
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: lisa-sync-down
|
|
3
|
-
description: This skill should be used to run a back-sync of an environment branch DOWN the deploy chain on demand — propagating merges (e.g. hotfixes) from a higher environment to every lower one. Given a source environment name or branch (e.g. `production`), it derives the source→target chain from `.lisa.config.json` `deploy.order` + `deploy.branches
|
|
3
|
+
description: This skill should be used to run a back-sync of an environment branch DOWN the deploy chain on demand — propagating merges (e.g. hotfixes) from a higher environment to every lower one. Given a source environment name or branch (e.g. `production`), it derives the source→target chain from `.lisa.config.json` `deploy.order` + `deploy.branches`, then for each downward hop creates a sync branch, merges, resolves conflicts, opens or updates a PR, and enables auto-merge. Runnable by a developer locally or by CI.
|
|
4
4
|
allowed-tools: ["Bash", "Read", "Edit", "Write", "Grep", "Glob"]
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -8,9 +8,7 @@ allowed-tools: ["Bash", "Read", "Edit", "Write", "Grep", "Glob"]
|
|
|
8
8
|
|
|
9
9
|
Back-sync a source environment branch DOWN the deploy chain, one hop at a time,
|
|
10
10
|
all the way to the lowest environment. This is the on-demand, manual-or-CI
|
|
11
|
-
|
|
12
|
-
same logic automatically when a PR is merged. Both derive their chain from the
|
|
13
|
-
same config, so a manual run and an automatic run behave identically.
|
|
11
|
+
entrypoint for applying the config-derived sync chain.
|
|
14
12
|
|
|
15
13
|
Argument (`$ARGUMENTS`): the **source** to start syncing from. Accepts:
|
|
16
14
|
|
|
@@ -156,16 +154,11 @@ needs human conflict resolution.
|
|
|
156
154
|
## Invocation
|
|
157
155
|
|
|
158
156
|
- **Developer:** `/lisa:sync-down production` (or a branch: `/lisa:sync-down main`).
|
|
159
|
-
- **
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
This skill and `reusable-claude-sync-down-branches.yml` are deliberately
|
|
168
|
-
equivalent: same config-derived chain, same merge/conflict strategy, same
|
|
169
|
-
deterministic sync-branch naming, same auto-merge behavior. The Action is the
|
|
170
|
-
automatic (PR-merged) trigger; this skill is the manual/dispatch trigger. Keep
|
|
171
|
-
their chain-derivation and conflict-resolution rules in sync when either changes.
|
|
157
|
+
- **CI:** invoke this skill from the runtime-native automation surface with
|
|
158
|
+
`/lisa:sync-down <env>` when an automatic sync is required.
|
|
159
|
+
|
|
160
|
+
## Contract
|
|
161
|
+
|
|
162
|
+
This skill is the source of truth for back-sync behavior: config-derived chain,
|
|
163
|
+
merge/conflict strategy, deterministic sync-branch naming, and auto-merge
|
|
164
|
+
behavior all live here.
|