lastlight-core 0.18.0 → 0.18.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/cron/jobs.js +6 -3
- package/dist/cron/jobs.js.map +1 -1
- package/dist/engine/agent-executor.js +35 -3
- package/dist/engine/agent-executor.js.map +1 -1
- package/dist/managed-repos.d.ts +14 -0
- package/dist/managed-repos.js +21 -0
- package/dist/managed-repos.js.map +1 -1
- package/package.json +2 -2
- package/workflows/cron-dependabot-merge.yaml +5 -1
- package/workflows/dependabot-pr-merge.yaml +5 -2
- package/workflows/prompts/dependabot-pr-merge.md +34 -5
package/dist/cron/jobs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getAccessibleManagedRepos } from "../managed-repos.js";
|
|
2
2
|
import { getCronWorkflows } from "../workflows/loader.js";
|
|
3
3
|
/**
|
|
4
4
|
* Get cron jobs based on configuration.
|
|
@@ -28,8 +28,11 @@ export function getJobs(opts) {
|
|
|
28
28
|
name: def.name,
|
|
29
29
|
schedule: override?.schedule || def.schedule,
|
|
30
30
|
workflow: def.workflow,
|
|
31
|
-
// Merge managed repos into the context the workflow receives
|
|
32
|
-
|
|
31
|
+
// Merge managed repos into the context the workflow receives. Use the
|
|
32
|
+
// installation-filtered list so a stale managedRepos entry (repo deleted /
|
|
33
|
+
// transferred / access revoked) doesn't fan out into a doomed scan run
|
|
34
|
+
// whose scoped-token mint 422s.
|
|
35
|
+
context: { repos: getAccessibleManagedRepos(), ...def.context },
|
|
33
36
|
});
|
|
34
37
|
}
|
|
35
38
|
return jobs;
|
package/dist/cron/jobs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jobs.js","sourceRoot":"","sources":["../../src/cron/jobs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"jobs.js","sourceRoot":"","sources":["../../src/cron/jobs.ts"],"names":[],"mapp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
let mintedToken;
|
|
39
|
+
let mintError;
|
|
39
40
|
const access = opts?.githubAccess;
|
|
40
41
|
const allowAppAuth = access?.allowMcpAppAuth === true;
|
|
41
42
|
if (process.env.GITHUB_APP_ID && allowAppAuth) {
|
|
@@ -73,6 +74,10 @@ async function prepareRun(config, opts) {
|
|
|
73
74
|
}
|
|
74
75
|
catch (err) {
|
|
75
76
|
const msg = err instanceof Error ? err.message : String(err);
|
|
77
|
+
// A repo-scoped mint that 422s means the installation can't access this
|
|
78
|
+
// repo (deleted / transferred to another org / access revoked). Record it
|
|
79
|
+
// so the caller fails the phase loudly instead of running a toolless agent.
|
|
80
|
+
mintError = msg;
|
|
76
81
|
console.warn(`[executor] Could not mint git token (repo=${access.repo || "none"}, ` +
|
|
77
82
|
`profile=${access.profile}): ${msg}`);
|
|
78
83
|
}
|
|
@@ -174,11 +179,36 @@ async function prepareRun(config, opts) {
|
|
|
174
179
|
recreateFromBase: access.recreateFromBase,
|
|
175
180
|
}
|
|
176
181
|
: undefined;
|
|
177
|
-
return { taskId, stateDir, backend, ghEnv, mintedToken, prePopulate };
|
|
182
|
+
return { taskId, stateDir, backend, ghEnv, mintedToken, prePopulate, mintError };
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Build the failed {@link ExecutionResult} returned when a scoped GitHub token
|
|
186
|
+
* was expected but couldn't be minted (see `mintError`). Surfaced as a hard
|
|
187
|
+
* phase failure (`error_fatal`) so the run stops cleanly with an actionable
|
|
188
|
+
* message rather than handing the agent a session with no `github_*` tools.
|
|
189
|
+
*/
|
|
190
|
+
function mintFailureResult(access, mintError) {
|
|
191
|
+
const target = access ? `${access.owner}/${access.repo}` : "the target repo";
|
|
192
|
+
return {
|
|
193
|
+
success: false,
|
|
194
|
+
output: "",
|
|
195
|
+
turns: 0,
|
|
196
|
+
durationMs: 0,
|
|
197
|
+
stopReason: "error_fatal",
|
|
198
|
+
error: `Could not mint a scoped GitHub token for ${target} ` +
|
|
199
|
+
`(profile=${access?.profile ?? "?"}): ${mintError}. The GitHub App ` +
|
|
200
|
+
`installation likely can't access this repo (deleted, transferred to ` +
|
|
201
|
+
`another org, or access revoked) — remove it from managedRepos or ` +
|
|
202
|
+
`reinstall the App on the repo.`,
|
|
203
|
+
};
|
|
178
204
|
}
|
|
179
205
|
export async function executeAgent(prompt, config, opts) {
|
|
180
|
-
const { taskId, stateDir, backend, ghEnv, prePopulate } = await prepareRun(config, opts);
|
|
206
|
+
const { taskId, stateDir, backend, ghEnv, prePopulate, mintError } = await prepareRun(config, opts);
|
|
181
207
|
const access = opts?.githubAccess;
|
|
208
|
+
// Fail fast: an expected-but-failed token mint means no github_* tools (and a
|
|
209
|
+
// doomed pre-clone). Don't burn a sandbox on a toolless run.
|
|
210
|
+
if (mintError)
|
|
211
|
+
return mintFailureResult(access, mintError);
|
|
182
212
|
const spanAttrs = safeSpanAttributes({
|
|
183
213
|
"agent.runtime": "agentic-pi",
|
|
184
214
|
"sandbox.backend": backend,
|
|
@@ -214,8 +244,10 @@ export async function executeAgent(prompt, config, opts) {
|
|
|
214
244
|
// and `lastlight session log` exactly like an agent turn: the command renders
|
|
215
245
|
// as a `bash` tool_use and its stdout/stderr as the tool_result.
|
|
216
246
|
export async function executeCommand(spec, config, opts) {
|
|
217
|
-
const { taskId, stateDir, backend, ghEnv, prePopulate } = await prepareRun(config, opts);
|
|
247
|
+
const { taskId, stateDir, backend, ghEnv, prePopulate, mintError } = await prepareRun(config, opts);
|
|
218
248
|
const access = opts?.githubAccess;
|
|
249
|
+
if (mintError)
|
|
250
|
+
return mintFailureResult(access, mintError);
|
|
219
251
|
const spanAttrs = safeSpanAttributes({
|
|
220
252
|
"agent.runtime": spec.kind,
|
|
221
253
|
"sandbox.backend": backend,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-executor.js","sourceRoot":"","sources":["../../src/engine/agent-executor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AA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E,MAAM;QACjB,IAAI,EAAE,MAAM,EAAE,IAAI;QAClB,gBAAgB,EAAE,MAAM,EAAE,OAAO;QACjC,mBAAmB,EAAE,MAAM,CAAC,kBAAkB,KAAK,IAAI;QACvD,eAAe,EAAE,MAAM,CAAC,SAAS,EAAE,YAAY;QAC/C,YAAY,EAAE,MAAM,CAAC,SAAS,EAAE,SAAS;KAC1C,CAAC,CAAC;IAEH,MAAM,GAAG,GAAsB;QAC7B,MAAM;QACN,MAAM;QACN,QAAQ;QACR,OAAO;QACP,GAAG,EAAE,KAAK;QACV,WAAW;QACX,MAAM;QACN,WAAW,EAAE,IAAI,EAAE,WAAW;QAC9B,cAAc,EAAE,IAAI,EAAE,cAAc;KACrC,CAAC;IACF,OAAO,QAAQ,CAAC,2BAA2B,EAAE,SAAS,EAAE,GAAG,EAAE,CAC3D,mBAAmB,CAAC,IAAI,EAAE,GAAG,EAAE;QAC7B,cAAc,EAAE,IAAI,EAAE,cAAc;QACpC,UAAU,EAAE,IAAI,EAAE,UAAU;QAC5B,YAAY,EAAE,IAAI,EAAE,YAAY;KACjC,CAAC,CACH,CAAC;AACJ,CAAC"}
|
package/dist/managed-repos.d.ts
CHANGED
|
@@ -28,3 +28,17 @@ export declare function resetInstallationReposForTests(): void;
|
|
|
28
28
|
*/
|
|
29
29
|
export declare function getManagedRepos(): string[];
|
|
30
30
|
export declare function isManagedRepo(repo: string | undefined | null): boolean;
|
|
31
|
+
/**
|
|
32
|
+
* The managed repos the GitHub App installation can actually access right now.
|
|
33
|
+
*
|
|
34
|
+
* Filters the configured `managedRepos` down to the discovered installation set
|
|
35
|
+
* when that set is known, so a stale config entry — a repo that was deleted,
|
|
36
|
+
* transferred to another org, or had App access revoked — doesn't spawn doomed
|
|
37
|
+
* cron scan runs whose per-repo scoped-token mint 422s (which silently disables
|
|
38
|
+
* the agent's github_* tools). When installation discovery hasn't populated yet
|
|
39
|
+
* (empty set — e.g. before the boot fetch, or a fetch failure) this returns the
|
|
40
|
+
* configured list unfiltered rather than dropping every repo. Webhook routing
|
|
41
|
+
* still uses the raw configured list via {@link isManagedRepo}; only the cron
|
|
42
|
+
* fan-out (a best-effort backstop) narrows to what's reachable.
|
|
43
|
+
*/
|
|
44
|
+
export declare function getAccessibleManagedRepos(): string[];
|
package/dist/managed-repos.js
CHANGED
|
@@ -69,4 +69,25 @@ export function isManagedRepo(repo) {
|
|
|
69
69
|
return false;
|
|
70
70
|
return getManagedRepos().includes(repo);
|
|
71
71
|
}
|
|
72
|
+
/**
|
|
73
|
+
* The managed repos the GitHub App installation can actually access right now.
|
|
74
|
+
*
|
|
75
|
+
* Filters the configured `managedRepos` down to the discovered installation set
|
|
76
|
+
* when that set is known, so a stale config entry — a repo that was deleted,
|
|
77
|
+
* transferred to another org, or had App access revoked — doesn't spawn doomed
|
|
78
|
+
* cron scan runs whose per-repo scoped-token mint 422s (which silently disables
|
|
79
|
+
* the agent's github_* tools). When installation discovery hasn't populated yet
|
|
80
|
+
* (empty set — e.g. before the boot fetch, or a fetch failure) this returns the
|
|
81
|
+
* configured list unfiltered rather than dropping every repo. Webhook routing
|
|
82
|
+
* still uses the raw configured list via {@link isManagedRepo}; only the cron
|
|
83
|
+
* fan-out (a best-effort backstop) narrows to what's reachable.
|
|
84
|
+
*/
|
|
85
|
+
export function getAccessibleManagedRepos() {
|
|
86
|
+
const configured = getManagedRepos();
|
|
87
|
+
const installed = getInstallationRepos();
|
|
88
|
+
if (installed.length === 0)
|
|
89
|
+
return configured;
|
|
90
|
+
const accessible = new Set(installed);
|
|
91
|
+
return configured.filter((r) => accessible.has(r));
|
|
92
|
+
}
|
|
72
93
|
//# sourceMappingURL=managed-repos.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managed-repos.js","sourceRoot":"","sources":["../src/managed-repos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,qBAA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,UAAU,CAAC;IAC9C,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,SAAS,CAAC,CAAC;IACtC,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;AACrD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lastlight-core",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.2",
|
|
4
4
|
"description": "GitHub repository maintenance agent — Agent SDK harness",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"octokit": "^5.0.5",
|
|
64
64
|
"yaml": "^2.8.3",
|
|
65
65
|
"zod": "^4.3.6",
|
|
66
|
-
"lastlight-shared": "0.1.0",
|
|
67
66
|
"lastlight-workflow-engine": "0.1.0",
|
|
67
|
+
"lastlight-shared": "0.1.0",
|
|
68
68
|
"agentic-pi": "0.2.18"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
kind: cron
|
|
2
2
|
name: merge-green-dependency-prs
|
|
3
|
-
|
|
3
|
+
# Once a day, mid-afternoon (server-local time). The pr.checks_passed webhook
|
|
4
|
+
# does the real-time merging; this sweep is only a backstop for PRs that went
|
|
5
|
+
# green before boot or during a missed delivery, so a daily cadence is plenty
|
|
6
|
+
# (and keeps a stale managedRepos entry from spamming failed runs every 30 min).
|
|
7
|
+
schedule: "0 14 * * *"
|
|
4
8
|
workflow: dependabot-pr-merge
|
|
5
9
|
context:
|
|
6
10
|
mode: scan
|
|
@@ -30,8 +30,11 @@ phases:
|
|
|
30
30
|
# Single phase. Runs under this workflow's repo-write profile, so agentic-pi's
|
|
31
31
|
# `github_enable_auto_merge` tool is available. Conservative by design: enable
|
|
32
32
|
# auto-merge ONLY for trivial, non-functional dependency bumps; anything with
|
|
33
|
-
# runtime-logic impact is left for a human. No repo checkout — the agent
|
|
34
|
-
# each
|
|
33
|
+
# runtime-logic impact is left for a human. No repo checkout — the agent
|
|
34
|
+
# inspects each PR via `github_list_pull_request_files` (file list + line
|
|
35
|
+
# counts) and skips lockfile diffs, only pulling `github_get_pull_request_diff`
|
|
36
|
+
# for a small non-lockfile source change. Reading full lockfile diffs used to
|
|
37
|
+
# overflow the model context in scan mode; see prompts/dependabot-pr-merge.md.
|
|
35
38
|
- name: assess
|
|
36
39
|
label: Assess & maybe auto-merge
|
|
37
40
|
prompt: prompts/dependabot-pr-merge.md
|
|
@@ -20,15 +20,38 @@ STEP 0 — Find candidate PRs.
|
|
|
20
20
|
List open PRs with `github_list_pull_requests` ({ owner: "{{owner}}",
|
|
21
21
|
repo: "{{repo}}", state: "open" }). Keep only those authored by a dependency
|
|
22
22
|
bot — `user.login` is `dependabot[bot]` or `renovate[bot]` (or a title like
|
|
23
|
-
"Bump …", "chore(deps): …", "Update … requirement"). Skip drafts.
|
|
24
|
-
|
|
23
|
+
"Bump …", "chore(deps): …", "Update … requirement"). Skip drafts. Assess at
|
|
24
|
+
most 10 candidates in one run, oldest first; if there are more, say so and stop
|
|
25
|
+
— the daily cron scan picks up the rest next tick. If there are none, say so and
|
|
26
|
+
stop.
|
|
25
27
|
{{/if}}
|
|
26
28
|
|
|
27
29
|
For each PR you assess (call it `pull_number`):
|
|
28
30
|
|
|
29
|
-
STEP 1 — Inspect the change.
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
STEP 1 — Inspect the change WITHOUT pulling giant diffs.
|
|
32
|
+
Dependency PRs are dominated by lockfile churn (`package-lock.json`,
|
|
33
|
+
`pnpm-lock.yaml`, `yarn.lock`, `Cargo.lock`, `go.sum`, …). A single lockfile diff
|
|
34
|
+
can run to tens of thousands of lines — reading it burns the whole context
|
|
35
|
+
window, and on repos with several open bumps it has overflowed the model outright
|
|
36
|
+
(the run then dies mid-assessment). So NEVER call `github_get_pull_request_diff`
|
|
37
|
+
as your first move. Inspect in tiers instead:
|
|
38
|
+
|
|
39
|
+
a. Call `github_list_pull_request_files` ({ owner: "{{owner}}", repo: "{{repo}}",
|
|
40
|
+
pull_number }) to get the changed files with per-file `additions`/`deletions`.
|
|
41
|
+
This file list — plus the PR title — is your primary signal.
|
|
42
|
+
b. A lockfile / `go.sum` change is expected noise for a version bump. NEVER read
|
|
43
|
+
its diff; judge the bump from the PR title and the manifest change alone.
|
|
44
|
+
c. If the only NON-lockfile files touched are the manifest (`package.json`,
|
|
45
|
+
`pyproject.toml`, `go.mod`, `Cargo.toml`) or a GitHub Actions workflow
|
|
46
|
+
tag/SHA, you already have enough to classify — do NOT fetch the diff.
|
|
47
|
+
d. Only when a non-lockfile *source* file changed AND the non-lockfile change is
|
|
48
|
+
small (a handful of lines) may you read it — prefer `github_get_file_contents`
|
|
49
|
+
for that one file, or `github_get_pull_request_diff` only if the whole diff
|
|
50
|
+
excluding lockfiles is clearly small. If the non-lockfile change is large, or
|
|
51
|
+
you can't cheaply bound it, treat the PR as **FUNCTIONAL** and leave it for a
|
|
52
|
+
human — do NOT force the diff into context.
|
|
53
|
+
|
|
54
|
+
Apply the **code-review** skill's rubric to whatever you inspected.
|
|
32
55
|
|
|
33
56
|
STEP 2 — Classify the change, conservatively.
|
|
34
57
|
Call it **TRIVIAL** only if ALL of these hold:
|
|
@@ -56,6 +79,12 @@ STEP 3 — Act on the classification.
|
|
|
56
79
|
per functional PR is enough, and skip PRs you have clearly already commented
|
|
57
80
|
on.
|
|
58
81
|
|
|
82
|
+
You MUST reach an explicit outcome for every PR you assess — enable auto-merge,
|
|
83
|
+
post a comment, or note it was already handled (e.g. you already commented, or
|
|
84
|
+
auto-merge is already enabled). Do NOT end the run having only read files with no
|
|
85
|
+
verdict and no action; a run that inspects diffs and then stops silently is a
|
|
86
|
+
failure, not a success.
|
|
87
|
+
|
|
59
88
|
OUTPUT: For each PR, state its number, your verdict (TRIVIAL or FUNCTIONAL), a
|
|
60
89
|
one-line justification, and whether you enabled auto-merge or left it for a
|
|
61
90
|
human.
|