lastlight-core 0.38.4 → 0.40.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.
@@ -17,31 +17,31 @@ managedRepos: []
17
17
  botName: last-light
18
18
 
19
19
  models:
20
- default: anthropic/claude-sonnet-4-6
20
+ default: anthropic/claude-sonnet-5-5
21
21
  # The unit survey (`survey-units`), and the fall-through of `review-site`
22
22
  # and `review-falsify`. SET, not an example — see the note below: this is the
23
23
  # measured RECALL winner for hypothesis generation, not a cost downgrade. A
24
24
  # deployment whose `models.default` points at a non-Anthropic provider MUST
25
25
  # override this in its overlay `config.yaml`, or these phases reach for a
26
26
  # provider it has no key for.
27
- review-survey: anthropic/claude-haiku-4-5-20251001
27
+ review-survey: anthropic/claude-haiku-5-5
28
28
  # The `triage` phase of `pr-review.yaml` — "how much review is this push
29
29
  # owed?". SET, not an example: the phase exists to save spend, so it must
30
30
  # never default to the deployment's main review model. Same tier as
31
31
  # `review-survey`, and the task is smaller — read a bounded diff, answer with
32
32
  # one word.
33
- review-triage: anthropic/claude-haiku-4-5-20251001
33
+ review-triage: anthropic/claude-haiku-5-5
34
34
  # Per-task overrides keyed by phase or helper name, e.g.:
35
35
  # architect: anthropic/claude-opus-4-8
36
- # classifier: anthropic/claude-haiku-4-5-20251001 # the intent-routing helper
37
- # screener: anthropic/claude-haiku-4-5-20251001 # the prompt-injection screener
38
- # diagnose: anthropic/claude-haiku-4-5-20251001 # the CI-failure classifier
36
+ # classifier: anthropic/claude-haiku-5-5 # the intent-routing helper
37
+ # screener: anthropic/claude-haiku-5-5 # the prompt-injection screener
38
+ # diagnose: anthropic/claude-haiku-5-5 # the CI-failure classifier
39
39
  # pr-fix-retry: anthropic/claude-opus-4-8 # used above fix.escalateModelAfterAttempt
40
40
  # review-summary: openai/gpt-5.4-mini # post-review's summary, written after the caps
41
- # review-falsify: anthropic/claude-haiku-4-5-20251001 # the probe oracle
42
- # review-site: anthropic/claude-haiku-4-5-20251001 # a site investigator
43
- # review-site-pair: opencode/deepseek-v4.1-flash # a second investigator per site (opt-in)
44
- # review-select: anthropic/claude-sonnet-4-6 # the sites engine's selection pass
41
+ # review-falsify: anthropic/claude-haiku-5-5 # the probe oracle
42
+ # review-site: anthropic/claude-haiku-5-5 # a site investigator
43
+ # review-site-pair: anthropic/claude-haiku-5-5 # a second investigator per site (opt-in)
44
+ # review-select: anthropic/claude-sonnet-5-5 # the sites engine's selection pass
45
45
  # A per-task entry wins over `default`. `classifier`/`screener` are the cheap
46
46
  # one-shot helpers (src/engine/llm.ts); when unset they fall back to the first
47
47
  # configured provider's fast model, NOT `default`.
@@ -58,9 +58,12 @@ models:
58
58
  # not an example. It is the model of `survey-units` (one call per unit), and
59
59
  # the fall-through of `review-site` and `review-falsify`.
60
60
  #
61
- # Pinning it to Haiku 4.5 is NOT a cost downgrade: on review RECALL, Haiku
62
- # 4.5 BEAT Sonnet 4.6 on two independent evals — 41.2% vs 22.1% on the
63
- # Martian corpus — for HYPOTHESIS GENERATION, which is what a survey does.
61
+ # Pinning it to Haiku is NOT a cost downgrade: on review RECALL, Haiku 4.5
62
+ # BEAT Sonnet 4.6 on two independent evals — 41.2% vs 22.1% on the Martian
63
+ # corpus — for HYPOTHESIS GENERATION, which is what a survey does. It moved
64
+ # to Haiku 5.5 (v0.40.0) with Haiku 4.5's retirement window open: Haiku 5.5
65
+ # beat both Haiku 4.5 and gpt-6-luna as a site investigator on the
66
+ # 2026-10-07 micro-site-review replay; the survey itself is unmeasured on it.
64
67
  # It is a different question from the SAYING phases (`review`, `select`),
65
68
  # which are not pinned here.
66
69
  #
@@ -42,7 +42,7 @@ ANTHROPIC_API_KEY=CHANGE_ME
42
42
  # LASTLIGHT_OTEL_COLLECTOR_HOSTS=CHANGE_ME
43
43
 
44
44
  # Per-task model overrides (optional). JSON keyed by phase/skill name.
45
- # LASTLIGHT_MODELS={"architect":"openai/gpt-5.5","triage":"anthropic/claude-haiku-4-5-20251001"}
45
+ # LASTLIGHT_MODELS={"architect":"openai/gpt-5.5","triage":"anthropic/claude-haiku-5-5"}
46
46
 
47
47
  # ── Web search (optional, explore workflow only) ─────────────────────────
48
48
  # Set any one to enable agentic-pi's `web_search` / `web_fetch` tools for
@@ -375,7 +375,7 @@ function applySiteConcurrencyAlias(layer, label) {
375
375
  export function getHoldLabel() {
376
376
  return currentConfig?.holdLabel || HOLD_LABEL;
377
377
  }
378
- const DEFAULT_MODEL = "anthropic/claude-sonnet-4-6";
378
+ const DEFAULT_MODEL = "anthropic/claude-sonnet-5-5";
379
379
  function defaultConfigPath() {
380
380
  const cwdPath = resolve("config/default.yaml");
381
381
  if (existsSync(cwdPath))
@@ -9,7 +9,7 @@ import { PR_NOTES_FILE_NAME, VERIFY_SCRIPT_NAME } from "../fix-scratch.js";
9
9
  * executors or the dispatcher, so the import DAG stays acyclic:
10
10
  * shared → backends → agent-executor.
11
11
  */
12
- export declare const DEFAULT_MODEL = "anthropic/claude-sonnet-4-6";
12
+ export declare const DEFAULT_MODEL = "anthropic/claude-sonnet-5-5";
13
13
  export declare const DOCKER_WORKSPACE_DIR = "/home/agent/workspace";
14
14
  export declare const SKILL_BUNDLE_ROOT = ".lastlight-skills";
15
15
  export declare const THINKING_LEVELS: ReadonlySet<string>;
@@ -11,7 +11,7 @@ const log = logger("executor");
11
11
  * executors or the dispatcher, so the import DAG stays acyclic:
12
12
  * shared → backends → agent-executor.
13
13
  */
14
- export const DEFAULT_MODEL = "anthropic/claude-sonnet-4-6";
14
+ export const DEFAULT_MODEL = "anthropic/claude-sonnet-5-5";
15
15
  export const DOCKER_WORKSPACE_DIR = "/home/agent/workspace";
16
16
  // Directory holding one skill bundle per phase. Deliberately NOT named
17
17
  // `.agents/skills` (pi's auto-discovery path): we map each phase's bundle
@@ -186,7 +186,7 @@ export class DockerSandbox {
186
186
  const info = this.activeContainers.get(taskId);
187
187
  if (!info)
188
188
  throw new Error(`No sandbox for task ${taskId}`);
189
- const model = opts?.model || "anthropic/claude-sonnet-4-6";
189
+ const model = opts?.model || "anthropic/claude-sonnet-5-5";
190
190
  const timeout = requirePositiveSeconds(opts.timeoutSeconds, "timeoutSeconds");
191
191
  const gateTimeout = Math.ceil(requirePositiveSeconds(opts.gateTimeoutSeconds, "gateTimeoutSeconds"));
192
192
  // `cmd` is interpolated into `sh -c <cmd>` below, so any value we
@@ -179,7 +179,7 @@ export class SmolSandbox {
179
179
  const info = this.machines.get(taskId);
180
180
  if (!info)
181
181
  throw new Error(`No smol machine for task ${taskId}`);
182
- const model = opts?.model || "anthropic/claude-sonnet-4-6";
182
+ const model = opts?.model || "anthropic/claude-sonnet-5-5";
183
183
  const timeout = requirePositiveSeconds(opts.timeoutSeconds, "timeoutSeconds");
184
184
  const gateTimeout = Math.ceil(requirePositiveSeconds(opts.gateTimeoutSeconds, "gateTimeoutSeconds"));
185
185
  const piArgs = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lastlight-core",
3
- "version": "0.38.4",
3
+ "version": "0.40.0",
4
4
  "description": "GitHub repository maintenance agent — Agent SDK harness",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -45,7 +45,7 @@
45
45
  "node": ">=22.12"
46
46
  },
47
47
  "dependencies": {
48
- "@earendil-works/pi-ai": "^0.87.1",
48
+ "@earendil-works/pi-ai": "^1.1.0",
49
49
  "@hono/node-server": "^2.1.1",
50
50
  "@kubernetes/client-node": "1.4.0",
51
51
  "@libsql/client": "^0.18.0",
@@ -75,9 +75,9 @@
75
75
  "pino-pretty": "13.1.3",
76
76
  "yaml": "^2.9.1",
77
77
  "zod": "^4.6.5",
78
- "agentic-pi": "0.7.0",
79
- "lastlight-workflow-engine": "0.11.0",
80
- "lastlight-shared": "0.11.2"
78
+ "lastlight-shared": "0.13.0",
79
+ "agentic-pi": "0.8.0",
80
+ "lastlight-workflow-engine": "0.11.0"
81
81
  },
82
82
  "devDependencies": {
83
83
  "@electric-sql/pglite": "^0.5.8",