@codyswann/lisa 4.62.3 → 4.63.0
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/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +2 -10
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/ui-cmd.d.ts +24 -0
- package/dist/cli/ui-cmd.d.ts.map +1 -1
- package/dist/cli/ui-cmd.js +40 -13
- package/dist/cli/ui-cmd.js.map +1 -1
- package/dist/cli/ui-health.d.ts.map +1 -1
- package/dist/cli/ui-health.js +1 -40
- package/dist/cli/ui-health.js.map +1 -1
- package/dist/cli/ui-request-origin.d.ts +8 -0
- package/dist/cli/ui-request-origin.d.ts.map +1 -0
- package/dist/cli/ui-request-origin.js +41 -0
- package/dist/cli/ui-request-origin.js.map +1 -0
- package/dist/cli/ui-starter-sync.d.ts +17 -0
- package/dist/cli/ui-starter-sync.d.ts.map +1 -0
- package/dist/cli/ui-starter-sync.js +75 -0
- package/dist/cli/ui-starter-sync.js.map +1 -0
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +25 -4
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/package.json +4 -4
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-setup-automations/SKILL.md +20 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-starter-sync/SKILL.md +35 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-starter-sync/agents/openai.yaml +4 -0
- package/plugins/lisa/commands/starter-sync.md +6 -0
- package/plugins/lisa/scripts/automation-status-expected-fleet.mjs +15 -0
- package/plugins/lisa/skills/lisa-setup-automations/SKILL.md +20 -0
- package/plugins/lisa/skills/lisa-starter-sync/SKILL.md +35 -0
- package/plugins/lisa/skills/lisa-starter-sync/agents/openai.yaml +4 -0
- package/plugins/lisa-agy/commands/lisa/starter-sync.md +6 -0
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/scripts/automation-status-expected-fleet.mjs +15 -0
- package/plugins/lisa-agy/skills/lisa-setup-automations/SKILL.md +20 -0
- package/plugins/lisa-agy/skills/lisa-starter-sync/SKILL.md +35 -0
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/commands/lisa/starter-sync.md +6 -0
- package/plugins/lisa-copilot/scripts/automation-status-expected-fleet.mjs +15 -0
- package/plugins/lisa-copilot/skills/lisa-setup-automations/SKILL.md +20 -0
- package/plugins/lisa-copilot/skills/lisa-starter-sync/SKILL.md +35 -0
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/commands/lisa/starter-sync.md +6 -0
- package/plugins/lisa-cursor/scripts/automation-status-expected-fleet.mjs +15 -0
- package/plugins/lisa-cursor/skills/lisa-setup-automations/SKILL.md +20 -0
- package/plugins/lisa-cursor/skills/lisa-starter-sync/SKILL.md +35 -0
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-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/commands/starter-sync.md +6 -0
- package/plugins/src/base/scripts/automation-status-expected-fleet.mjs +15 -0
- package/plugins/src/base/skills/lisa-setup-automations/SKILL.md +20 -0
- package/plugins/src/base/skills/lisa-starter-sync/SKILL.md +35 -0
- package/ui/README.md +30 -0
- package/ui/index.html +129 -12
package/package.json
CHANGED
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
"zod-validation-error": "^4.0.0"
|
|
188
188
|
},
|
|
189
189
|
"name": "@codyswann/lisa",
|
|
190
|
-
"version": "4.
|
|
190
|
+
"version": "4.63.0",
|
|
191
191
|
"description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
|
|
192
192
|
"main": "dist/index.js",
|
|
193
193
|
"exports": {
|
|
@@ -336,7 +336,7 @@
|
|
|
336
336
|
"test": "tests"
|
|
337
337
|
},
|
|
338
338
|
"types": "./dist/index.d.ts",
|
|
339
|
-
"lisaReleaseCommit": "
|
|
340
|
-
"gitHead": "
|
|
341
|
-
"lisaReleaseTag": "v4.
|
|
339
|
+
"lisaReleaseCommit": "e771330eff75036e3199b7b7b4ff2dc5e62065b8",
|
|
340
|
+
"gitHead": "e771330eff75036e3199b7b7b4ff2dc5e62065b8",
|
|
341
|
+
"lisaReleaseTag": "v4.63.0"
|
|
342
342
|
}
|
|
@@ -197,6 +197,26 @@ closed by the next run's dedupe or the human), not mutual exclusion; manual
|
|
|
197
197
|
runs should first confirm the cron is not due or running. Tear-down removes
|
|
198
198
|
it with the rest of the `lisa-auto-<project>-*` set.
|
|
199
199
|
|
|
200
|
+
**Optional automation — starter sync.** Read `starter.sync.auto` from the
|
|
201
|
+
project's current config. Only the boolean `true` opts in (default **false**).
|
|
202
|
+
When true, reconcile exactly one `lisa-auto-<project>-starter-sync` registration
|
|
203
|
+
running `/lisa:starter-sync` once a **day** (`FREQ=DAILY;INTERVAL=1`) in the
|
|
204
|
+
verified durable project checkout. Use the current runtime's native scheduler
|
|
205
|
+
and update an existing registration by its exact name rather than duplicating
|
|
206
|
+
it. Its prompt must identify this as a scheduled invocation, require a fresh
|
|
207
|
+
check of `starter.sync.auto` before mutation, and carry the literal command on
|
|
208
|
+
its own line. The `lisa-starter-sync` skill calls the shipped CLI and preserves
|
|
209
|
+
its configured landing strategy; an open PR is not an applied update.
|
|
210
|
+
|
|
211
|
+
When false or absent, remove any exact `lisa-auto-<project>-starter-sync`
|
|
212
|
+
registration using that same native scheduler, leaving all other schedules
|
|
213
|
+
alone. Read the scheduler back after either operation and report the observed
|
|
214
|
+
name, target, cadence, or verified absence. Saving the console toggle only saves
|
|
215
|
+
config: run this reconciliation to change the registration. If scheduler access
|
|
216
|
+
is unavailable, report registration/removal as **unverified**, not successful;
|
|
217
|
+
do not write its backing files or install another scheduler. This representation
|
|
218
|
+
gap applies to any runtime without a native recurring-task tool.
|
|
219
|
+
|
|
200
220
|
**Optional automation — the health cron.** When `health.schedule` in
|
|
201
221
|
`.lisa.config.json` is `daily` or `weekly` (default **off**, which registers
|
|
202
222
|
nothing), additionally create `lisa-auto-<project>-health-drift` running
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: lisa-starter-sync
|
|
3
|
+
description: "Run one starter sync using…"
|
|
4
|
+
allowed-tools: ["Bash", "Read", "Skill"]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Sync the project's starter
|
|
8
|
+
|
|
9
|
+
Run one `lisa starter sync --json` in the verified project checkout using the
|
|
10
|
+
installed Lisa CLI. The CLI owns diffing, ownership rules, isolated PR worktrees,
|
|
11
|
+
direct-when-clean refusal, and reuse of an existing PR. Do not reproduce them.
|
|
12
|
+
|
|
13
|
+
For a scheduled invocation, re-read `starter.sync.auto` from the project's
|
|
14
|
+
current config before any mutation. If it is not exactly `true`, report
|
|
15
|
+
`no-change — automatic starter sync is off` and stop. A stale registration must
|
|
16
|
+
not keep applying changes after the operator turns the setting off.
|
|
17
|
+
|
|
18
|
+
Use a real existing work item when supplied (`--work-item <ref>`) and the actual
|
|
19
|
+
runtime's identity with `--co-author <identity>`. Never invent attribution,
|
|
20
|
+
disable hooks, or open a ticket merely to make an empty sync pass. If project
|
|
21
|
+
commit policy needs attribution that is unavailable, surface that requirement.
|
|
22
|
+
|
|
23
|
+
Report the returned outcome accurately:
|
|
24
|
+
|
|
25
|
+
- `current`: **nothing to do**; no changes landed.
|
|
26
|
+
- `committed`: name the resulting commit.
|
|
27
|
+
- `pull-request`: link the existing or newly opened PR; it is awaiting review,
|
|
28
|
+
not merged and not an advanced consumer baseline. Continue the existing
|
|
29
|
+
`lisa-drive-pr-to-merge` review workflow with `auto_merge=false` when available.
|
|
30
|
+
- Nonzero exit or malformed output: report the actual failure and any retained
|
|
31
|
+
worktree location. Do not reset or delete those recovery files.
|
|
32
|
+
|
|
33
|
+
Never write to the starter repository. Never enable auto-merge as part of this
|
|
34
|
+
command. The same skill is distributed to all six agent runtimes; native slash
|
|
35
|
+
commands use `/lisa:starter-sync`, and Codex uses `$lisa-starter-sync`.
|
|
@@ -41,6 +41,10 @@ export const AUTOMATION_EXPECTED_CADENCES = {
|
|
|
41
41
|
human: "once a day",
|
|
42
42
|
rrule: "FREQ=DAILY;INTERVAL=1",
|
|
43
43
|
},
|
|
44
|
+
"starter-sync": {
|
|
45
|
+
human: "once a day",
|
|
46
|
+
rrule: "FREQ=DAILY;INTERVAL=1",
|
|
47
|
+
},
|
|
44
48
|
"learnings-audit": {
|
|
45
49
|
human: "once a week",
|
|
46
50
|
rrule: "FREQ=WEEKLY;INTERVAL=1",
|
|
@@ -336,6 +340,17 @@ export function resolveExpectedAutomationFleet(input = {}) {
|
|
|
336
340
|
);
|
|
337
341
|
}
|
|
338
342
|
|
|
343
|
+
if (config.starter?.sync?.auto === true) {
|
|
344
|
+
expected.push(
|
|
345
|
+
createExpectedEntry(
|
|
346
|
+
identity,
|
|
347
|
+
"starter-sync",
|
|
348
|
+
"/lisa:starter-sync",
|
|
349
|
+
"opt-in"
|
|
350
|
+
)
|
|
351
|
+
);
|
|
352
|
+
}
|
|
353
|
+
|
|
339
354
|
return {
|
|
340
355
|
...identity,
|
|
341
356
|
expected,
|
|
@@ -197,6 +197,26 @@ closed by the next run's dedupe or the human), not mutual exclusion; manual
|
|
|
197
197
|
runs should first confirm the cron is not due or running. Tear-down removes
|
|
198
198
|
it with the rest of the `lisa-auto-<project>-*` set.
|
|
199
199
|
|
|
200
|
+
**Optional automation — starter sync.** Read `starter.sync.auto` from the
|
|
201
|
+
project's current config. Only the boolean `true` opts in (default **false**).
|
|
202
|
+
When true, reconcile exactly one `lisa-auto-<project>-starter-sync` registration
|
|
203
|
+
running `/lisa:starter-sync` once a **day** (`FREQ=DAILY;INTERVAL=1`) in the
|
|
204
|
+
verified durable project checkout. Use the current runtime's native scheduler
|
|
205
|
+
and update an existing registration by its exact name rather than duplicating
|
|
206
|
+
it. Its prompt must identify this as a scheduled invocation, require a fresh
|
|
207
|
+
check of `starter.sync.auto` before mutation, and carry the literal command on
|
|
208
|
+
its own line. The `lisa-starter-sync` skill calls the shipped CLI and preserves
|
|
209
|
+
its configured landing strategy; an open PR is not an applied update.
|
|
210
|
+
|
|
211
|
+
When false or absent, remove any exact `lisa-auto-<project>-starter-sync`
|
|
212
|
+
registration using that same native scheduler, leaving all other schedules
|
|
213
|
+
alone. Read the scheduler back after either operation and report the observed
|
|
214
|
+
name, target, cadence, or verified absence. Saving the console toggle only saves
|
|
215
|
+
config: run this reconciliation to change the registration. If scheduler access
|
|
216
|
+
is unavailable, report registration/removal as **unverified**, not successful;
|
|
217
|
+
do not write its backing files or install another scheduler. This representation
|
|
218
|
+
gap applies to any runtime without a native recurring-task tool.
|
|
219
|
+
|
|
200
220
|
**Optional automation — the health cron.** When `health.schedule` in
|
|
201
221
|
`.lisa.config.json` is `daily` or `weekly` (default **off**, which registers
|
|
202
222
|
nothing), additionally create `lisa-auto-<project>-health-drift` running
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: lisa-starter-sync
|
|
3
|
+
description: "Run one starter sync using Lisa's existing engine and landing command. Also used by the opt-in daily starter-sync automation."
|
|
4
|
+
allowed-tools: ["Bash", "Read", "Skill"]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Sync the project's starter
|
|
8
|
+
|
|
9
|
+
Run one `lisa starter sync --json` in the verified project checkout using the
|
|
10
|
+
installed Lisa CLI. The CLI owns diffing, ownership rules, isolated PR worktrees,
|
|
11
|
+
direct-when-clean refusal, and reuse of an existing PR. Do not reproduce them.
|
|
12
|
+
|
|
13
|
+
For a scheduled invocation, re-read `starter.sync.auto` from the project's
|
|
14
|
+
current config before any mutation. If it is not exactly `true`, report
|
|
15
|
+
`no-change — automatic starter sync is off` and stop. A stale registration must
|
|
16
|
+
not keep applying changes after the operator turns the setting off.
|
|
17
|
+
|
|
18
|
+
Use a real existing work item when supplied (`--work-item <ref>`) and the actual
|
|
19
|
+
runtime's identity with `--co-author <identity>`. Never invent attribution,
|
|
20
|
+
disable hooks, or open a ticket merely to make an empty sync pass. If project
|
|
21
|
+
commit policy needs attribution that is unavailable, surface that requirement.
|
|
22
|
+
|
|
23
|
+
Report the returned outcome accurately:
|
|
24
|
+
|
|
25
|
+
- `current`: **nothing to do**; no changes landed.
|
|
26
|
+
- `committed`: name the resulting commit.
|
|
27
|
+
- `pull-request`: link the existing or newly opened PR; it is awaiting review,
|
|
28
|
+
not merged and not an advanced consumer baseline. Continue the existing
|
|
29
|
+
`lisa-drive-pr-to-merge` review workflow with `auto_merge=false` when available.
|
|
30
|
+
- Nonzero exit or malformed output: report the actual failure and any retained
|
|
31
|
+
worktree location. Do not reset or delete those recovery files.
|
|
32
|
+
|
|
33
|
+
Never write to the starter repository. Never enable auto-merge as part of this
|
|
34
|
+
command. The same skill is distributed to all six agent runtimes; native slash
|
|
35
|
+
commands use `/lisa:starter-sync`, and Codex uses `$lisa-starter-sync`.
|
|
@@ -41,6 +41,10 @@ export const AUTOMATION_EXPECTED_CADENCES = {
|
|
|
41
41
|
human: "once a day",
|
|
42
42
|
rrule: "FREQ=DAILY;INTERVAL=1",
|
|
43
43
|
},
|
|
44
|
+
"starter-sync": {
|
|
45
|
+
human: "once a day",
|
|
46
|
+
rrule: "FREQ=DAILY;INTERVAL=1",
|
|
47
|
+
},
|
|
44
48
|
"learnings-audit": {
|
|
45
49
|
human: "once a week",
|
|
46
50
|
rrule: "FREQ=WEEKLY;INTERVAL=1",
|
|
@@ -336,6 +340,17 @@ export function resolveExpectedAutomationFleet(input = {}) {
|
|
|
336
340
|
);
|
|
337
341
|
}
|
|
338
342
|
|
|
343
|
+
if (config.starter?.sync?.auto === true) {
|
|
344
|
+
expected.push(
|
|
345
|
+
createExpectedEntry(
|
|
346
|
+
identity,
|
|
347
|
+
"starter-sync",
|
|
348
|
+
"/lisa:starter-sync",
|
|
349
|
+
"opt-in"
|
|
350
|
+
)
|
|
351
|
+
);
|
|
352
|
+
}
|
|
353
|
+
|
|
339
354
|
return {
|
|
340
355
|
...identity,
|
|
341
356
|
expected,
|
|
@@ -197,6 +197,26 @@ closed by the next run's dedupe or the human), not mutual exclusion; manual
|
|
|
197
197
|
runs should first confirm the cron is not due or running. Tear-down removes
|
|
198
198
|
it with the rest of the `lisa-auto-<project>-*` set.
|
|
199
199
|
|
|
200
|
+
**Optional automation — starter sync.** Read `starter.sync.auto` from the
|
|
201
|
+
project's current config. Only the boolean `true` opts in (default **false**).
|
|
202
|
+
When true, reconcile exactly one `lisa-auto-<project>-starter-sync` registration
|
|
203
|
+
running `/lisa:starter-sync` once a **day** (`FREQ=DAILY;INTERVAL=1`) in the
|
|
204
|
+
verified durable project checkout. Use the current runtime's native scheduler
|
|
205
|
+
and update an existing registration by its exact name rather than duplicating
|
|
206
|
+
it. Its prompt must identify this as a scheduled invocation, require a fresh
|
|
207
|
+
check of `starter.sync.auto` before mutation, and carry the literal command on
|
|
208
|
+
its own line. The `lisa-starter-sync` skill calls the shipped CLI and preserves
|
|
209
|
+
its configured landing strategy; an open PR is not an applied update.
|
|
210
|
+
|
|
211
|
+
When false or absent, remove any exact `lisa-auto-<project>-starter-sync`
|
|
212
|
+
registration using that same native scheduler, leaving all other schedules
|
|
213
|
+
alone. Read the scheduler back after either operation and report the observed
|
|
214
|
+
name, target, cadence, or verified absence. Saving the console toggle only saves
|
|
215
|
+
config: run this reconciliation to change the registration. If scheduler access
|
|
216
|
+
is unavailable, report registration/removal as **unverified**, not successful;
|
|
217
|
+
do not write its backing files or install another scheduler. This representation
|
|
218
|
+
gap applies to any runtime without a native recurring-task tool.
|
|
219
|
+
|
|
200
220
|
**Optional automation — the health cron.** When `health.schedule` in
|
|
201
221
|
`.lisa.config.json` is `daily` or `weekly` (default **off**, which registers
|
|
202
222
|
nothing), additionally create `lisa-auto-<project>-health-drift` running
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: lisa-starter-sync
|
|
3
|
+
description: "Run one starter sync using Lisa's existing engine and landing command. Also used by the opt-in daily starter-sync automation."
|
|
4
|
+
allowed-tools: ["Bash", "Read", "Skill"]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Sync the project's starter
|
|
8
|
+
|
|
9
|
+
Run one `lisa starter sync --json` in the verified project checkout using the
|
|
10
|
+
installed Lisa CLI. The CLI owns diffing, ownership rules, isolated PR worktrees,
|
|
11
|
+
direct-when-clean refusal, and reuse of an existing PR. Do not reproduce them.
|
|
12
|
+
|
|
13
|
+
For a scheduled invocation, re-read `starter.sync.auto` from the project's
|
|
14
|
+
current config before any mutation. If it is not exactly `true`, report
|
|
15
|
+
`no-change — automatic starter sync is off` and stop. A stale registration must
|
|
16
|
+
not keep applying changes after the operator turns the setting off.
|
|
17
|
+
|
|
18
|
+
Use a real existing work item when supplied (`--work-item <ref>`) and the actual
|
|
19
|
+
runtime's identity with `--co-author <identity>`. Never invent attribution,
|
|
20
|
+
disable hooks, or open a ticket merely to make an empty sync pass. If project
|
|
21
|
+
commit policy needs attribution that is unavailable, surface that requirement.
|
|
22
|
+
|
|
23
|
+
Report the returned outcome accurately:
|
|
24
|
+
|
|
25
|
+
- `current`: **nothing to do**; no changes landed.
|
|
26
|
+
- `committed`: name the resulting commit.
|
|
27
|
+
- `pull-request`: link the existing or newly opened PR; it is awaiting review,
|
|
28
|
+
not merged and not an advanced consumer baseline. Continue the existing
|
|
29
|
+
`lisa-drive-pr-to-merge` review workflow with `auto_merge=false` when available.
|
|
30
|
+
- Nonzero exit or malformed output: report the actual failure and any retained
|
|
31
|
+
worktree location. Do not reset or delete those recovery files.
|
|
32
|
+
|
|
33
|
+
Never write to the starter repository. Never enable auto-merge as part of this
|
|
34
|
+
command. The same skill is distributed to all six agent runtimes; native slash
|
|
35
|
+
commands use `/lisa:starter-sync`, and Codex uses `$lisa-starter-sync`.
|
|
@@ -41,6 +41,10 @@ export const AUTOMATION_EXPECTED_CADENCES = {
|
|
|
41
41
|
human: "once a day",
|
|
42
42
|
rrule: "FREQ=DAILY;INTERVAL=1",
|
|
43
43
|
},
|
|
44
|
+
"starter-sync": {
|
|
45
|
+
human: "once a day",
|
|
46
|
+
rrule: "FREQ=DAILY;INTERVAL=1",
|
|
47
|
+
},
|
|
44
48
|
"learnings-audit": {
|
|
45
49
|
human: "once a week",
|
|
46
50
|
rrule: "FREQ=WEEKLY;INTERVAL=1",
|
|
@@ -336,6 +340,17 @@ export function resolveExpectedAutomationFleet(input = {}) {
|
|
|
336
340
|
);
|
|
337
341
|
}
|
|
338
342
|
|
|
343
|
+
if (config.starter?.sync?.auto === true) {
|
|
344
|
+
expected.push(
|
|
345
|
+
createExpectedEntry(
|
|
346
|
+
identity,
|
|
347
|
+
"starter-sync",
|
|
348
|
+
"/lisa:starter-sync",
|
|
349
|
+
"opt-in"
|
|
350
|
+
)
|
|
351
|
+
);
|
|
352
|
+
}
|
|
353
|
+
|
|
339
354
|
return {
|
|
340
355
|
...identity,
|
|
341
356
|
expected,
|
|
@@ -197,6 +197,26 @@ closed by the next run's dedupe or the human), not mutual exclusion; manual
|
|
|
197
197
|
runs should first confirm the cron is not due or running. Tear-down removes
|
|
198
198
|
it with the rest of the `lisa-auto-<project>-*` set.
|
|
199
199
|
|
|
200
|
+
**Optional automation — starter sync.** Read `starter.sync.auto` from the
|
|
201
|
+
project's current config. Only the boolean `true` opts in (default **false**).
|
|
202
|
+
When true, reconcile exactly one `lisa-auto-<project>-starter-sync` registration
|
|
203
|
+
running `/lisa:starter-sync` once a **day** (`FREQ=DAILY;INTERVAL=1`) in the
|
|
204
|
+
verified durable project checkout. Use the current runtime's native scheduler
|
|
205
|
+
and update an existing registration by its exact name rather than duplicating
|
|
206
|
+
it. Its prompt must identify this as a scheduled invocation, require a fresh
|
|
207
|
+
check of `starter.sync.auto` before mutation, and carry the literal command on
|
|
208
|
+
its own line. The `lisa-starter-sync` skill calls the shipped CLI and preserves
|
|
209
|
+
its configured landing strategy; an open PR is not an applied update.
|
|
210
|
+
|
|
211
|
+
When false or absent, remove any exact `lisa-auto-<project>-starter-sync`
|
|
212
|
+
registration using that same native scheduler, leaving all other schedules
|
|
213
|
+
alone. Read the scheduler back after either operation and report the observed
|
|
214
|
+
name, target, cadence, or verified absence. Saving the console toggle only saves
|
|
215
|
+
config: run this reconciliation to change the registration. If scheduler access
|
|
216
|
+
is unavailable, report registration/removal as **unverified**, not successful;
|
|
217
|
+
do not write its backing files or install another scheduler. This representation
|
|
218
|
+
gap applies to any runtime without a native recurring-task tool.
|
|
219
|
+
|
|
200
220
|
**Optional automation — the health cron.** When `health.schedule` in
|
|
201
221
|
`.lisa.config.json` is `daily` or `weekly` (default **off**, which registers
|
|
202
222
|
nothing), additionally create `lisa-auto-<project>-health-drift` running
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: lisa-starter-sync
|
|
3
|
+
description: "Run one starter sync using Lisa's existing engine and landing command. Also used by the opt-in daily starter-sync automation."
|
|
4
|
+
allowed-tools: ["Bash", "Read", "Skill"]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Sync the project's starter
|
|
8
|
+
|
|
9
|
+
Run one `lisa starter sync --json` in the verified project checkout using the
|
|
10
|
+
installed Lisa CLI. The CLI owns diffing, ownership rules, isolated PR worktrees,
|
|
11
|
+
direct-when-clean refusal, and reuse of an existing PR. Do not reproduce them.
|
|
12
|
+
|
|
13
|
+
For a scheduled invocation, re-read `starter.sync.auto` from the project's
|
|
14
|
+
current config before any mutation. If it is not exactly `true`, report
|
|
15
|
+
`no-change — automatic starter sync is off` and stop. A stale registration must
|
|
16
|
+
not keep applying changes after the operator turns the setting off.
|
|
17
|
+
|
|
18
|
+
Use a real existing work item when supplied (`--work-item <ref>`) and the actual
|
|
19
|
+
runtime's identity with `--co-author <identity>`. Never invent attribution,
|
|
20
|
+
disable hooks, or open a ticket merely to make an empty sync pass. If project
|
|
21
|
+
commit policy needs attribution that is unavailable, surface that requirement.
|
|
22
|
+
|
|
23
|
+
Report the returned outcome accurately:
|
|
24
|
+
|
|
25
|
+
- `current`: **nothing to do**; no changes landed.
|
|
26
|
+
- `committed`: name the resulting commit.
|
|
27
|
+
- `pull-request`: link the existing or newly opened PR; it is awaiting review,
|
|
28
|
+
not merged and not an advanced consumer baseline. Continue the existing
|
|
29
|
+
`lisa-drive-pr-to-merge` review workflow with `auto_merge=false` when available.
|
|
30
|
+
- Nonzero exit or malformed output: report the actual failure and any retained
|
|
31
|
+
worktree location. Do not reset or delete those recovery files.
|
|
32
|
+
|
|
33
|
+
Never write to the starter repository. Never enable auto-merge as part of this
|
|
34
|
+
command. The same skill is distributed to all six agent runtimes; native slash
|
|
35
|
+
commands use `/lisa:starter-sync`, and Codex uses `$lisa-starter-sync`.
|
|
@@ -41,6 +41,10 @@ export const AUTOMATION_EXPECTED_CADENCES = {
|
|
|
41
41
|
human: "once a day",
|
|
42
42
|
rrule: "FREQ=DAILY;INTERVAL=1",
|
|
43
43
|
},
|
|
44
|
+
"starter-sync": {
|
|
45
|
+
human: "once a day",
|
|
46
|
+
rrule: "FREQ=DAILY;INTERVAL=1",
|
|
47
|
+
},
|
|
44
48
|
"learnings-audit": {
|
|
45
49
|
human: "once a week",
|
|
46
50
|
rrule: "FREQ=WEEKLY;INTERVAL=1",
|
|
@@ -336,6 +340,17 @@ export function resolveExpectedAutomationFleet(input = {}) {
|
|
|
336
340
|
);
|
|
337
341
|
}
|
|
338
342
|
|
|
343
|
+
if (config.starter?.sync?.auto === true) {
|
|
344
|
+
expected.push(
|
|
345
|
+
createExpectedEntry(
|
|
346
|
+
identity,
|
|
347
|
+
"starter-sync",
|
|
348
|
+
"/lisa:starter-sync",
|
|
349
|
+
"opt-in"
|
|
350
|
+
)
|
|
351
|
+
);
|
|
352
|
+
}
|
|
353
|
+
|
|
339
354
|
return {
|
|
340
355
|
...identity,
|
|
341
356
|
expected,
|
|
@@ -197,6 +197,26 @@ closed by the next run's dedupe or the human), not mutual exclusion; manual
|
|
|
197
197
|
runs should first confirm the cron is not due or running. Tear-down removes
|
|
198
198
|
it with the rest of the `lisa-auto-<project>-*` set.
|
|
199
199
|
|
|
200
|
+
**Optional automation — starter sync.** Read `starter.sync.auto` from the
|
|
201
|
+
project's current config. Only the boolean `true` opts in (default **false**).
|
|
202
|
+
When true, reconcile exactly one `lisa-auto-<project>-starter-sync` registration
|
|
203
|
+
running `/lisa:starter-sync` once a **day** (`FREQ=DAILY;INTERVAL=1`) in the
|
|
204
|
+
verified durable project checkout. Use the current runtime's native scheduler
|
|
205
|
+
and update an existing registration by its exact name rather than duplicating
|
|
206
|
+
it. Its prompt must identify this as a scheduled invocation, require a fresh
|
|
207
|
+
check of `starter.sync.auto` before mutation, and carry the literal command on
|
|
208
|
+
its own line. The `lisa-starter-sync` skill calls the shipped CLI and preserves
|
|
209
|
+
its configured landing strategy; an open PR is not an applied update.
|
|
210
|
+
|
|
211
|
+
When false or absent, remove any exact `lisa-auto-<project>-starter-sync`
|
|
212
|
+
registration using that same native scheduler, leaving all other schedules
|
|
213
|
+
alone. Read the scheduler back after either operation and report the observed
|
|
214
|
+
name, target, cadence, or verified absence. Saving the console toggle only saves
|
|
215
|
+
config: run this reconciliation to change the registration. If scheduler access
|
|
216
|
+
is unavailable, report registration/removal as **unverified**, not successful;
|
|
217
|
+
do not write its backing files or install another scheduler. This representation
|
|
218
|
+
gap applies to any runtime without a native recurring-task tool.
|
|
219
|
+
|
|
200
220
|
**Optional automation — the health cron.** When `health.schedule` in
|
|
201
221
|
`.lisa.config.json` is `daily` or `weekly` (default **off**, which registers
|
|
202
222
|
nothing), additionally create `lisa-auto-<project>-health-drift` running
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: lisa-starter-sync
|
|
3
|
+
description: "Run one starter sync using Lisa's existing engine and landing command. Also used by the opt-in daily starter-sync automation."
|
|
4
|
+
allowed-tools: ["Bash", "Read", "Skill"]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Sync the project's starter
|
|
8
|
+
|
|
9
|
+
Run one `lisa starter sync --json` in the verified project checkout using the
|
|
10
|
+
installed Lisa CLI. The CLI owns diffing, ownership rules, isolated PR worktrees,
|
|
11
|
+
direct-when-clean refusal, and reuse of an existing PR. Do not reproduce them.
|
|
12
|
+
|
|
13
|
+
For a scheduled invocation, re-read `starter.sync.auto` from the project's
|
|
14
|
+
current config before any mutation. If it is not exactly `true`, report
|
|
15
|
+
`no-change — automatic starter sync is off` and stop. A stale registration must
|
|
16
|
+
not keep applying changes after the operator turns the setting off.
|
|
17
|
+
|
|
18
|
+
Use a real existing work item when supplied (`--work-item <ref>`) and the actual
|
|
19
|
+
runtime's identity with `--co-author <identity>`. Never invent attribution,
|
|
20
|
+
disable hooks, or open a ticket merely to make an empty sync pass. If project
|
|
21
|
+
commit policy needs attribution that is unavailable, surface that requirement.
|
|
22
|
+
|
|
23
|
+
Report the returned outcome accurately:
|
|
24
|
+
|
|
25
|
+
- `current`: **nothing to do**; no changes landed.
|
|
26
|
+
- `committed`: name the resulting commit.
|
|
27
|
+
- `pull-request`: link the existing or newly opened PR; it is awaiting review,
|
|
28
|
+
not merged and not an advanced consumer baseline. Continue the existing
|
|
29
|
+
`lisa-drive-pr-to-merge` review workflow with `auto_merge=false` when available.
|
|
30
|
+
- Nonzero exit or malformed output: report the actual failure and any retained
|
|
31
|
+
worktree location. Do not reset or delete those recovery files.
|
|
32
|
+
|
|
33
|
+
Never write to the starter repository. Never enable auto-merge as part of this
|
|
34
|
+
command. The same skill is distributed to all six agent runtimes; native slash
|
|
35
|
+
commands use `/lisa:starter-sync`, and Codex uses `$lisa-starter-sync`.
|