Skip to content

fix(cron): scheduled automations run on whatever runtime their session copies instead of the one they were bound for - #185070

Merged
jalehman merged 8 commits into
mainfrom
openclaw-0d5.13/inference-runtime-capture
Oct 27, 2026
Merged

jalehman merged 8 commits into
mainfrom
openclaw-0d5.13/inference-runtime-capture

Conversation

@jalehman

@jalehman jalehman commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Related: #178812

What Problem This Solves

Fixes: a scheduled automation's runtime is decided at run time from whatever runtime override its cron session copies, not from what the job was created with. A job created from a conversation that runs Claude through claude-cli was bound to an account chosen for the embedded runtime, then ran on the CLI. On 2026-10-20, before #180492, that failed twice with "Automation candidate is incompatible with its recorded inference account and route". Since #180492, a forwarding CLI accepts the account, but the runtime still follows the copied override on each run. The error also didn't say which account or runtime was involved.

A related failure on 2026-10-25: an hourly automation with no recorded account failed 10 times in a row after the default model moved to a provider with a stored profile. The message ("Automation has no recorded inference account…") named neither the account nor the runtime, so it was unclear what to record.

User Impact

User impact: new automations record the runtime they will run on next to their account, and every run executes on that runtime. The account is unchanged: capture binds exactly the account it bound before this PR, so nothing changes who pays for a run. A job created from a claude-cli conversation records that account with runtime: "claude-cli", and claude-cli keeps receiving it, as #180492 does today. A job bound for the embedded runtime stays embedded, even if its cron session later copies a different runtime override.

  • Errors name what's wrong. A bound job whose account was removed fails with Automation inference account <profile> on runtime <runtime> was removed or signed out…. A job with no recorded account fails with …Runtime <runtime> would run <provider/model> with stored account <profile>. Record the account with openclaw automations edit <jobId> --model <provider/model>@<profile>, or with openclaw doctor --fix.
  • Doctor's existing account-adoption warning now also says the job's runs are refused until it records the account.
  • Existing jobs are not migrated. Bindings recorded before this change have no runtime and keep today's resolution, and their errors say (no recorded runtime). Older Gateways ignore the extra field, so a downgrade keeps working.

Why This Change Was Made

Phase 5 of the scheduled-run execution context (design: "One tuple, one resolver"):

  • One resolver. resolveCronCandidateExecution decides a candidate's runtime and execution route. It's shared by inference capture and every scheduled-run candidate, so the two can't disagree for the same inputs.
  • Capture records the tuple. Account selection is unchanged from main. Capture adds the runtime, resolved from the same entry the cron session will copy: the target row for session: jobs, or the runtime the creating conversation carries for current jobs. That carry rule is extracted from isolated-agent/session.ts unchanged, so both sides use one rule. Capture stores the result as runtime on the binding.
  • Runs use the captured runtime. On detached runs and on session: jobs (the shared reply path), run preparation, harness selection and candidate dispatch read the binding's runtime instead of the session's override.
  • Account edits keep the runtime. automations edit --model <ref>@<profile> records the new account with the job's existing runtime. If that runtime is no longer available for the same provider, the edit is rejected and the stored binding stays unchanged, so an edit never silently moves a job to another runtime. An edit to an unbound or legacy job resolves the runtime the same way create does.
  • One drift guard. assertCandidate refuses a candidate whose provider or runtime differs from the binding, naming both. The unrecorded-account refusal now has one helper, shared by the embedded auth plan, the cron CLI path, the reply-path CLI candidate and CLI preparation.

Deferred to openclaw-84c: Codex app authority (row N1) still reads trigger and scheduledRuntimeAuthority. Moving it to ScheduledExecutionFacts needs the same plugin SDK harness facts contract as rows 41/43. Behavior is the same either way.

Evidence

Crabbox (AWS), head 943f9065578: (12df361d7fc changes only the dev replay script scripts/dev/cron-context-replay.mts and its test, which this Gateway proof does not run.)

Command CRABBOX_AWS_REGION=us-east-1 CRABBOX_CAPACITY_REGIONS=us-east-1,us-east-2,us-west-2 crabbox run --provider aws --ttl 75m --timing-json --download proof-out.tgz=… --shell -- "bash proof/0d513-remote.sh" (host OPENCLAW_* variables unset)
Tested source The box syncs the working tree onto its seed commit, so it reports 543c92ba688 as git HEAD. SHA-256 of all 26 changed files on the box matches local head 943f9065578e0ec3d0ca79ac752da5c3d8cd89fb. The proof scripts, mock endpoint and QA CLI plugin are local tooling and are not committed.
Provider / lease aws, c7a.8xlarge, lease cbx_8afa4291833a, stopped; inspect reports "state":"released"
Run run_65e166a15062952a84c2219a677fa022, exit 0

Real Gateway upgrade proof. v2026.10.7 (latest stable) creates state, then this build runs it. The provider is a mock OpenAI-compatible endpoint qa-proof/m1 with a stored API key qa-proof:manual. A QA plugin registers qa-proof-cli, a CLI backend for that provider that does not forward stored accounts. 12/12 assertions passed:

  1. v2026.10.7 (latest stable) stores qa-proof:manual and creates an isolated job. Stable releases record no binding.
  2. This build, no migration: the stored job is unchanged. Its run is refused with Automation has no recorded inference account. Runtime openclaw would run qa-proof/m1 with stored account qa-proof:manual. Record the account with openclaw automations edit <jobId> --model qa-proof/m1@qa-proof:manual, or with openclaw doctor --fix. This is the 2026-10-25 shape.
  3. Doctor previews retain qa-proof:manual for qa-proof/m1 … Its runs are refused until it records this account. doctor --fix records the binding without a runtime, and the job then runs embedded (QA-PROOF-EMBEDDED-REPLY). Existing jobs keep today's resolution.
  4. Conversation on a CLI runtime: a conversation on qa-proof/m1 with agentRuntimeOverride: qa-proof-cli. A current job created from it binds qa-proof:manual, the same account main binds, now with runtime: "qa-proof-cli". This backend can't use a stored account, so the run is refused as it is on main. The message now names the account and the runtime: …incompatible with its recorded inference account and route (account qa-proof:manual on runtime qa-proof-cli). The selected runtime uses a CLI login that cannot use this job's stored account…. A new isolated job records runtime: "openclaw" and runs embedded.
  5. Drift guard: after models.authLogout removes qa-proof:manual, the new bound job fails with Automation inference account qa-proof:manual on runtime openclaw was removed or signed out…. The Doctor-bound job fails with …qa-proof:manual (no recorded runtime) was removed…, and the CLI-runtime job fails with …qa-proof:manual on runtime qa-proof-cli was removed….

The same box ran the focused tests: propagation, binding normalization, context fixtures, auth-continuity integration, Doctor migration and gateway cron.inference-binding. 7 files, 138 tests passed, including the shared-session reply-path suite.

Focused tests (src/cron/isolated-agent.auth-profile-propagation.test.ts):

  • A current job from a claude-cli creator, on an Anthropic model, with a stored Anthropic API key, binds that API key, as main does, with runtime: "claude-cli". claude-cli receives the key. With a stored Anthropic token, it records that token the same way.
  • A binding recorded without a runtime resolves exactly as before: with the same copied claude-cli override, it runs on claude-cli with the bound account.
  • session: job on the shared reply path: the target row carries agentRuntimeOverride: "claude-cli" and the binding records openclaw. Candidates resolve and are checked on openclaw, and the run is embedded (agent-runner-execution-session-events.test.ts).
  • Account edit: a job recorded on claude-cli keeps runtime: "claude-cli" after --model …@<profile>, even though config alone would pick the embedded runtime. When that recorded runtime is no longer a CLI backend, the same edit is rejected with runs on runtime claude-cli, which is unavailable… and the binding is left as it was.
  • These tests fail with their fix reverted and pass with it.
  • The unrecorded-account refusal text is pinned in full on the embedded path (isolated-agent.auth-continuity.integration.test.ts, real runner) and on the CLI path.
  • A bound job captured for the embedded runtime runs embedded even when its cron session copies agentRuntimeOverride: "claude-cli". It also stays embedded when config later moves its model to a CLI runtime.
  • A bound claude-cli job whose runtime is no longer a CLI backend fails with account … on runtime claude-cli and captured for runtime claude-cli.
  • A removed account fails embedded and CLI candidates with one message naming the account and the captured runtime.

Static replay (scripts/dev/cron-context-replay.mts on Josh's Gateway, read-only copies, at 6e4ae6c0f67; from 12df361d7fc the replay picks each bound job's model through resolveCronModelSelection, the owner capture and runs use, and reports inference runtime unresolved instead of guessing when that selection fails or leaves the bound provider): Rerun at 12df361d7fc: 108 jobs, all 39 bound jobs report inference runtime unresolved, because the selection owner refuses this Gateway's agent databases (schema 35; this checkout expects 37 until Doctor upgrades them). No inference label is guessed. The figures below are from the earlier head. 108 jobs. The new inference field: 31 bound jobs equal, 77 unbound or runtime-owned with no label. No gain-unexpected on any field. Every stored binding predates the runtime field and keeps the runtime its run picks today. The remaining loss labels (automationsCli, requesterYield, ownerEmbedded) and the pauses come from earlier phases and are explained in #183987 and #183913.

Pinned fixtures for this phase:

  • equal: bound with runtime: "claude-cli" (same account as main), and the run would pick claude-cli from the copied override. This is the fix(cron): bind forwarded CLI accounts for scheduled runs #180492 shape.
  • equal: bound without a runtime, run copies a CLI override. It resolves as today.
  • retarget: bound with runtime: "claude-cli", but the conversation's override has since changed to the embedded runtime. Named cause: the job stays on its captured runtime instead of following the creator.

Local: pnpm tsgo:core, pnpm tsgo:core:test, oxlint and oxfmt on changed files pass. Autoreview found no P0/P1 issues. It used Claude, because the Codex CLI failed authentication on this host.

@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime scripts Repository scripts commands Command implementations agents Agent runtime and tooling labels Oct 26, 2026
@jalehman

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Security sensitive changes

This maintainer PR changes sensitive security components.

No secops approval is required. This comment is informational because the PR author has Maintain or Admin access.

  • Current SHA: 12df361d7fcdf097ea4a7b0b91850277698c20db
  • Maintainer: @jalehman
  • Repository role: admin

These security sensitive changes were made:

  • src/agents/embedded-agent-runner/run/auth-plan.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.

Carefully review these changes before merging.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 26, 2026
@clawsweeper

clawsweeper Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR records an automation’s execution runtime alongside its account and preserves that runtime during runs and account edits.

Example: An automation records runtime openclaw, but its session later carries agentRuntimeOverride: claude-cli.

  • Before: The automation follows the copied claude-cli override.
  • After: The automation runs on openclaw with its recorded account.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful, coherent repair with supplied Gateway upgrade and account-boundary evidence, focused runtime regressions, and no remaining actionable findings.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (logs): The supplied Crabbox Gateway report exercises runtime capture, successful embedded inference, refusal by a CLI backend unable to forward the account, and rejection after logout; focused regressions additionally cover copied-runtime drift and shared-session dispatch.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Scheduled automations can change execution engines when copied session overrides or runtime configuration change.
Reason: Stable scheduled execution has clear value, and the maintainer-authored direction preserves account ownership and existing-job behavior.

Merge readiness

✅ Ready for maintainer review

This PR fixes runtime drift that remains on main. The earlier findings are resolved, and no new actionable defect was found.

Priority: P2
Reviewed head: 12df361d7fcdf097ea4a7b0b91850277698c20db

Before merge

None.

Findings

None.

Agent review details

How this fits together

Gateway job creation captures inference ownership; scheduled execution combines the stored binding with current account authorization to select and launch an embedded or CLI runtime.

flowchart LR
  A[Gateway job creation] --> B[Model and runtime selection]
  B --> C[Stored inference binding]
  C --> D[Scheduled candidate preparation]
  D --> E[Live account authorization]
  E --> F[Embedded or CLI execution]
Loading

Technical review

Best possible solution:

Preserve the captured runtime through the existing selection and authorization owners while retaining legacy binding behavior.

Do we have a high-confidence way to reproduce the issue?

Current-main source derives execution from copied session runtime fields, establishing the reported drift path; this read-only review did not execute target code.

Is this the best way to solve the issue?

The change addresses the producer and both execution consumers through shared selection owners, preserves account identity, and avoids migrating legacy jobs.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 16baf7b73960.

Provenance checked

  • Scheduled account ownership and CLI forwarding keeps the original intent (fix: automations switch accounts when interactive defaults change #172590: Prevent automations from changing account identity or billing when interactive defaults change; fix(cron): bind forwarded CLI accounts for scheduled runs #180492 subsequently enabled exact-account CLI forwarding.)
  • Fresh cron session model carry keeps the original intent (f0ceb4b: Clear stale runtime artifacts while retaining intentional model and account preferences; the extracted carry helper preserves the existing rule.)
  • Candidate runtime resolution changes intended behavior with a stated reason (3fceb86: Preserve execution placement and explicit runtime choices across fallback; this PR deliberately substitutes captured job runtime for mutable session runtime.)
  • Scheduled decision replay keeps the original intent (240a90e: Compare existing and proposed scheduled decisions before consumer cutover; the additional runtime comparison retains that purpose.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

  • Current-main behavior: Main still derives candidate execution from session overrides and configuration; it has no captured-runtime binding enforcement. (src/cron/isolated-agent/run-candidate-runtime.ts:13, 16baf7b73960)
  • Captured-runtime owner: The shared binding projection supplies the recorded runtime to detached preparation and shared-session candidates; legacy bindings retain their previous resolution. (src/cron/inference-binding.ts:59, 12df361d7fcd)
  • Previous findings resolved: Shared-session candidates use the captured runtime, same-provider account edits reject loss of an unavailable runtime, and the latest replay change uses resolveCronModelSelection instead of guessing the model. (scripts/dev/cron-context-replay.mts:157, 12df361d7fcd)
  • Upgrade and authority evidence: The PR body reports an isolated Gateway upgrade from v2026.10.7, unchanged legacy jobs, Doctor adoption, new runtime-bearing bindings, refusal by a non-forwarding CLI backend, and rejection after models.authLogout; the tested production files are unchanged at the reviewed head. (943f9065578e)
  • Existing credential boundary preserved: The recorded account remains explicit, fallback remains disabled, and live authorization is forwarded through asynchronous CLI preparation rather than replaced by the stored runtime. (src/cron/run-inference.ts:108, 12df361d7fcd)
  • Accepted runtime behavior: The maintainer-authored direction explicitly preserves existing account selection, leaves legacy bindings unmigrated, and intentionally prevents newly bound jobs from following later runtime changes. (12df361d7fcd)

Likely related people:

  • Josh Lehman: Raw commit 240a90e adds src/cron/execution-context-projection.ts:24 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 240a90ef9f95; files: src/cron/execution-context-projection.ts)
  • Jason (Json): Raw commit d25a316 adds src/cron/inference-binding.runtime.ts:90 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: d25a316fc7c3; files: src/cron/inference-binding.runtime.ts)
  • Vito Cappello: Raw commit ad505b9 adds src/cron/run-inference.ts:79 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: ad505b96e763; files: src/cron/run-inference.ts)

PR surface

Source +494, Tests +435, Other +99. Total +1028 across 27 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 18 631 137 +494
Tests 8 445 10 +435
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 101 2 +99
Total 27 1177 149 +1028

Review metrics

Metric Value Why it matters
Production versus regression coverage Production +464/-137 lines; tests and fixtures +612/-10 lines. Growth covers capture, detached execution, shared-session execution, account edits, and legacy persistence; the extracted selectors replace existing implementations.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: Runtime drift affects scheduled automation execution with a limited, configuration-dependent blast radius.
  • merge-risk: 🚨 auth-provider: Captured runtime selection crosses embedded and CLI authentication routes; preserving that selection despite later configuration changes is an explicitly accepted behavior.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (4 earlier review cycles)
  • reviewed 2026-10-26T21:59:33.726Z sha ea0bffa :: blocked before merge. :: [P2] Apply the captured runtime before selecting shared-session candidates | [P2] Preserve the job runtime when recapturing an explicitly selected account
  • reviewed 2026-10-26T22:49:09.639Z sha de264af :: blocked before merge. :: [P2] Apply the captured runtime before selecting shared-session candidates | [P2] Preserve the job runtime when recapturing an explicitly selected account
  • reviewed 2026-10-26T23:56:26.577Z sha 6e4ae6c :: needs changes before merge. :: [P2] Preserve the recorded runtime when compatibility resolution drops it
  • reviewed 2026-10-27T00:52:35.626Z sha 943f906 :: needs changes before merge. :: [P3] Resolve replay models with the scheduled-model selection owner

Reviewed October 26, 2026, 9:08 PM ET / October 27, 2026, 01:08 UTC (Revision 5).

@jalehman jalehman changed the title fix(cron): automations created from a CLI-runtime conversation fail on a recorded account mismatch fix(cron): scheduled automations run on whatever runtime their session copies instead of the one they were bound for Oct 26, 2026
@jalehman

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. labels Oct 26, 2026
@jalehman

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper clawsweeper Bot removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 27, 2026
@jalehman
jalehman merged commit f31b33f into main Oct 27, 2026
157 checks passed
@jalehman
jalehman deleted the openclaw-0d5.13/inference-runtime-capture branch October 27, 2026 01:23
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 27, 2026
…n copies instead of the one they were bound for (openclaw#185070)

* fix(cron): capture the inference runtime with the account and run scheduled jobs on it

* test(cron): expect the captured runtime in bindings and account errors

* test(cron): pin the inference runtime replay shapes once

* fix(cron): keep the bound account and record only its runtime

* fix(cron): keep the captured runtime on session-job candidates and account edits

* fix(cron): type the runtime-entry loader

* fix(cron): reject account edits that would drop an unavailable recorded runtime

* fix(cron): select replay models through the scheduled-model owner
amittell added a commit to amittell/openclaw that referenced this pull request Oct 31, 2026
The openclaw#173411 carry added three lines to src/agents/cli-runner/prepare.ts, which
was already over the 700-line cap. The line-cap ratchet against
v2026.10.10-beta.4 then counted 1728 -> 1731 lines and refused the growth.

The three refusal sites openclaw#173411 touched now throw
createUnrecordedScheduledAccountRefusal() from a sibling module,
src/agents/scheduled-unrecorded-account.ts. Upstream main later extracted the
same module under the same name in openclaw#185070. This copy keeps beta.4's message
text. Behaviour is unchanged: the same Error message, and
recordModelFallbackStop still runs before the throw.
NEXTAltair added a commit to NEXTAltair/openclaw that referenced this pull request Nov 10, 2026
承認済みの cron.sessionGroup を復元する。設定すると、グループ未設定の
専用実行セッション (agent:<id>:cron:<job>) が実行時にそのサイドバー
グループへ入る。手動で付けたグループは新しい isolated 実行でも残す。
current-bound の実行セッションは独自に分類し、元の会話や配送先、
main/custom の会話ターゲットは動かさない。設定を外しても既存の割り当ては
消さない。グループの catalog 登録は、割り当てを保存した後にだけ行い、
失敗しても自動化は止めずに次の書き込みで再試行する。

退避ブランチ backup/personal-wip-20261029 (f82c572cdc4) の未コミット作業を
新しいベースへ載せ直した。コンフリクト解決:
- docs/automation/cron-jobs/managing-jobs.md: 上流 0738f13 (openclaw#177855) が
  「Disable automations」の段落を host 実行制限の説明に書き換えた。上流の
  段落を残し、その前に cron.sessionGroup の説明を置いた
- cron/isolated-agent/session.ts: 上流 f31b33f (openclaw#185070) が
  session-carried-model の import を追加。両方の import を残した
- cron/isolated-agent/session.test.ts: 上流 3655433 (openclaw#183506) が未使用の
  delivery fixture を削除。sessionGroup のテストだけを残し、fixture は戻さない
- session.test.ts の store 参照を、core テストの indexed access 規則
  (openclaw#105375) に合わせて optional chaining にした

rebase 時のコンフリクト解決 (onto 258d034, 元コミット b7547efa95e):
- src/config/zod-schema.root-shape.ts: 上流 87ff32d が
  repository-branch-prefix.js の import を追加。両方の import を残した
- docs/.generated/config-baseline.*: 上流版を基に counts の core を +1 (2587)。
  sha256 は依存を入れた別 worktree で pnpm config:docs:gen により再生成した
  (counts は +1 の値のまま一致)

rebase 時のコンフリクト解決 (onto 638a185, 元コミット d1e0995b1d7):
- 上流が cron に delivery / failureAlert (extend 形式) / agents / creators を追加した
  (zod-schema.root-shape.ts, schema.help.automation.ts, config-automation.md)。
  上流の定義はそのまま残し、sessionRetention の直後に sessionGroup を、
  help と許可キー一覧の文にも cron.sessionGroup を足した。
  上流の isValidCronExpression import と SESSION_LABEL_MAX_LENGTH import は両方残した。
- docs/.generated/config-baseline.*: counts は上流の core 2638 に本コミットの +1 を足して
  2639 とした。config-baseline.sha256 は上流版のまま (未再生成)。依存を入れた別 worktree で
  pnpm config:docs:gen を実行して再生成する必要がある (今回は install 禁止のため未実施)。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling commands Command implementations gateway Gateway runtime merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts security-sensitive-changed size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant