Skip to content

fix(sessions): preserve fixed-store owner during migration - #123235

Merged
hannesrudolph merged 11 commits into
mainfrom
codex/main-preserve-legacy-binding-ownership
Aug 13, 2026
Merged

hannesrudolph merged 11 commits into
mainfrom
codex/main-preserve-legacy-binding-ownership

Conversation

@Solvely-Colin

@Solvely-Colin Solvely-Colin commented Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes the remaining multi-agent upgrade failure for a configured fixed session store.

The Codex migration now resolves legacy sidecar ownership on main via #123331. Core session-key canonicalization still built ownership from every configured agent sharing the fixed path, ignored agents.defaults.sessionStore.agentId, and treated raw rows as ambiguous. That warning blocks startup migration checkpointing, so the same build retries it on every process start.

This PR makes the core canonicalizer consume the persisted fixed-store owner. Other configured agents can no longer make that store's unscoped rows look ambiguous. Real ownership ambiguity still fails closed.

Why This Is the Owner-Boundary Fix

  • The durable owner is already recorded in agents.defaults.sessionStore.agentId.
  • Store-path canonicalization is the producer of the false ambiguity.
  • The repair changes that producer instead of adding a Codex fallback, startup retry, or runtime compatibility reader.
  • The Codex regression proves its importer and core canonicalization agree when the fixed-store owner differs from the system agent.

No config surface, database schema, runtime fallback, or session-history behavior changes.

Exact-Head Evidence

Validated commit: 85edbc34a2705788f33e0869067df3e94b2ab810

  • Production and test TypeScript checks passed.
  • Lint passed.
  • All 123 plugin package-boundary compiles passed.
  • Focused migration suites passed: 71/71.
  • The full-suite ownership audit passes; the newly landed Codex state test is assigned to the attempt-light shard.
  • Full build passed; build metadata reports version 2026.8.1 and exact commit 85edbc34a27.
  • Isolated production bundle on port 19789 canonicalized legacy-fixed-store to agent:ops:legacy-fixed-store, imported the Codex binding under ops, archived the legacy sidecar, and emitted zero migration warnings.
  • Two cold starts returned /healthz, /startupz, and /readyz HTTP 200 with reachable, healthy RPC.
  • Real Codex canaries passed for main and ops with agentHarnessId: codex.
  • Shared SQLite verification: quick_check=ok, foreign-key check clean, migration checkpoints persisted.
  • The harness used synthetic temporary config/state only. The managed gateway, live config, live SQLite database, and session history were not modified.

Direct Codex source inspection at sibling commit 000d2540ad73996f3589ae178bfe447bfd67cef2 confirmed that app-server resumes and lists threads by Codex thread identity/history/path; it has no OpenClaw agent-owner contract. OpenClaw's migration layer owns this mapping (codex-rs/app-server-protocol/src/protocol/v2/thread.rs:310-325,1099-1148; codex-rs/app-server/src/request_processors/thread_processor.rs:1968-2068).

Review Metrics

  • Production: +16/-2 (net +14).
  • Tests/test routing: +94/-3 (net +91).
  • Config/default surfaces: 0 added, 0 changed, 0 removed.

The production growth wires an existing durable ownership fact into the canonical store map and documents why competing configured agents must not override it.

Release note: fixes fixed-store session ownership during multi-agent gateway upgrades.

Copilot AI lite review requested due to automatic review settings August 13, 2026 15:21
@clawsweeper

clawsweeper Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a Codex doctor-migration startup failure on gateways configured with explicit multi-agent ownership by ensuring legacy/unscoped Codex binding surfaces can still resolve a deterministic owner during upgrade. It does so by using the persisted agents.defaults.systemAgent.agentId as a migration-only fallback when resolving session agent IDs, avoiding AGENT_SELECTION_REQUIRED during legacy sidecar detection/migration.

Changes:

  • Add a small helper to derive a migration fallback agent id from config.agents.defaults.systemAgent.agentId.
  • Pass fallbackAgentId into resolveSessionAgentIds(...) at the two legacy binding owner-resolution sites so unscoped legacy surfaces have a stable owner in explicit-ownership configs.
  • Add a regression test covering multi-agent explicit ownership using the persisted system owner for legacy bindings.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
extensions/codex/src/migration/session-binding-sidecars.ts Uses persisted system-agent owner as a migration fallback when resolving legacy/unscoped binding ownership.
extensions/codex/doctor-contract-api.test.ts Adds regression coverage ensuring legacy binding migration succeeds under explicit multi-agent ownership with a system owner set.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@hannesrudolph

Copy link
Copy Markdown
Member

Independent production-shaped acceptance from a real multi-agent Claw Patrol clone:

  • Built an immutable OCM runtime from exact PR head bde1ccf9c62cc1559e74e6ec25a78e8f2a9fca5f, with commit-matched Codex, iMessage, and WhatsApp companions.
  • Upgraded an isolated clone of the state/config that previously entered the legacy Codex ownership restart loop. External channels were disabled before startup.
  • Update finalization completed successfully.
  • Two consecutive cold starts reached ready/HTTP 200 with supervisor restart count 0; neither start emitted the prior legacy Codex binding migration failure.
  • Real explicit-owner Codex runs succeeded after each start with no reroute/fallback:
    • 261386d6-0695-42b6-9cf2-0b9da8c34e0f → PR123235_CODEX_CANARY_OK
    • 433ea6a5-cc16-4818-972b-dc1bba194b3f → PR123235_RESTART_CANARY_OK
  • Core and both agent SQLite stores passed PRAGMA quick_check and foreign-key checks after the second run.

This directly covers the failed production upgrade path that motivated the PR. Separate ambient-owner warnings from generic Doctor/plugin-inventory subchecks remain outside this focused Codex migration fix.

@Solvely-Colin Solvely-Colin reopened this Aug 13, 2026
@openclaw-barnacle openclaw-barnacle Bot removed gateway Gateway runtime agents Agent runtime and tooling labels Aug 13, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 13, 2026
@clawsweeper

clawsweeper Bot commented Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 13, 2026, 7:15 PM ET / 23:15 UTC.

ClawSweeper review

What this changes

The PR makes startup migration assign unscoped legacy session rows in a configured fixed session store to that store’s persisted agent owner, with regression coverage and a Codex test-shard routing update.

Regression provenance

Possible regression — suspected (reviewed change). No predecessor PR is attributed.

Merge readiness

⚠️ Needs maintainer review before merge - 4 items remain

Keep open for maintainer review. The patch plausibly repairs the owner-boundary defect and has detailed exact-head acceptance evidence, but it changes upgrade-time assignment of persisted session keys and needs explicit confirmation that the fixed-store owner is the intended canonical authority.

Priority: P1
Reviewed head: 85edbc34a2705788f33e0869067df3e94b2ab810
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The after-fix acceptance evidence is strong, while the durable upgrade contract still needs maintainer confirmation and independent source inspection was unavailable.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): The PR contains exact-head, production-shaped isolated gateway acceptance with observed canonicalization, persisted checkpoints, healthy cold starts, and Codex canaries; redact any private setup details in future updates.
Patch quality 🦐 gold shrimp (3/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The PR contains exact-head, production-shaped isolated gateway acceptance with observed canonicalization, persisted checkpoints, healthy cold starts, and Codex canaries; redact any private setup details in future updates.
Evidence reviewed 5 items Owner-boundary change: The supplied exact-head patch resolves the persisted session-store owner and substitutes it only when a configured store path matches the fixed-store path; other stores retain their configured-agent mapping.
Focused regression coverage: The supplied diff adds coverage for raw keys in a fixed multi-agent store and verifies the Codex migration agrees when the fixed-store owner is different from the system owner.
After-fix behavior proof: The PR body and final contributor update report an isolated exact-head gateway run that canonicalized the key under ops, archived the legacy sidecar, persisted checkpoints, and completed two healthy cold starts plus Codex canaries.
Findings None None.
Security None None.

How this fits together

Gateway startup migrates legacy session-store data before serving requests. The session-key canonicalizer produces owner-scoped keys that later migration checkpoints and plugin state importers consume.

flowchart LR
  A[Legacy session rows] --> B[Startup migration]
  C[Persisted fixed-store owner] --> D[Ownership resolution]
  B --> D
  D --> E[Canonical owner-scoped keys]
  E --> F[Migration checkpoints]
  F --> G[Gateway readiness]
Loading

Decision needed

Question Recommendation
Should an unscoped legacy row in a path matching the configured fixed session store always migrate to that store’s persisted sessionStore.agentId? Confirm fixed-store ownership: Approve the persisted fixed-store owner as the canonical assignment for matching unscoped legacy rows and merge after normal exact-head CI gates.

Why: The answer establishes a persisted-data upgrade contract; automated review cannot choose whether historical unscoped rows should be reassigned rather than retained for operator repair.

Before merge

  • Resolve merge risk (P1) - This migration rewrites previously unscoped persisted keys to agents.defaults.sessionStore.agentId; maintainers must confirm that this is the intended upgrade contract for every matching fixed store.
  • Resolve merge risk (P1) - The PR’s Codex contract claim is affirmative because its regression exercises the bundled Codex migration, but the sandbox prevented the required direct sibling Codex-source inspection and independent current-main/history review.
  • Complete next step (P2) - A maintainer must choose the persisted-data migration contract before this compatibility-sensitive repair can land.
Agent review details

Security

None.

PR surface

Source +14, Tests +91. Total +105 across 4 files.

View PR surface stats
Area Files Added Removed Net
Source 1 16 2 +14
Tests 3 94 3 +91
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 4 110 5 +105

Review metrics

Metric Value Why it matters
Production versus test delta production +14 net; tests and test routing +91 net The production growth wires the persisted ownership fact into migration; the larger test delta exercises the fixed-store and Codex paths.

Stored data model

Persistent data-model change detected: migration/backfill/repair: extensions/codex/doctor-contract-api.test.ts, serialized state: src/infra/state-migrations.orphan-keys.test.ts, serialized state: src/infra/state-migrations.session-store.ts, unknown-data-model-change: extensions/codex/doctor-contract-api.test.ts, unknown-data-model-change: src/infra/state-migrations.session-store.ts. Migration or upgrade compatibility proof is recorded; maintainers should verify it before merge.

Merge-risk options

Maintainer options:

  1. Confirm the upgrade assignment rule (recommended)
    Confirm that the persisted fixed-store owner is authoritative for matching legacy rows, then allow the existing exact-head validation and CI gates to decide landing.
  2. Preserve ambiguity instead
    Pause this change if unscoped fixed-store rows must remain operator-repairable rather than being assigned during migration.

Technical review

Best possible solution:

Define the persisted fixed-store owner as the canonical migration authority, retain failure for genuinely ambiguous stores, and document or test the intended upgrade boundary before landing.

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

No independent high-confidence reproduction was possible because the sandbox rejected read-only inspection commands; the PR nevertheless contains detailed exact-head production-shaped acceptance evidence.

Is this the best way to solve the issue?

Unclear: assigning the persisted owner at the canonicalization producer is the plausible owner-boundary fix, but maintainers must decide whether reassignment is the desired persisted-data upgrade contract.

AGENTS.md: unclear because the file could not be read completely.

Codex review notes: model internal, reasoning high; reviewed against d9d970240022.

Labels

Label justifications:

  • P1: A failed startup migration can repeatedly block affected explicit multi-agent gateways from becoming ready.
  • merge-risk: 🚨 compatibility: The patch changes the durable owner assigned to legacy unscoped session data during upgrade.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦐 gold shrimp.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The PR contains exact-head, production-shaped isolated gateway acceptance with observed canonicalization, persisted checkpoints, healthy cold starts, and Codex canaries; redact any private setup details in future updates.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR contains exact-head, production-shaped isolated gateway acceptance with observed canonicalization, persisted checkpoints, healthy cold starts, and Codex canaries; redact any private setup details in future updates.

Evidence

What I checked:

  • Owner-boundary change: The supplied exact-head patch resolves the persisted session-store owner and substitutes it only when a configured store path matches the fixed-store path; other stores retain their configured-agent mapping. (src/infra/state-migrations.session-store.ts:615, 85edbc34a270)
  • Focused regression coverage: The supplied diff adds coverage for raw keys in a fixed multi-agent store and verifies the Codex migration agrees when the fixed-store owner is different from the system owner. (src/infra/state-migrations.orphan-keys.test.ts:906, 85edbc34a270)
  • After-fix behavior proof: The PR body and final contributor update report an isolated exact-head gateway run that canonicalized the key under ops, archived the legacy sidecar, persisted checkpoints, and completed two healthy cold starts plus Codex canaries. (85edbc34a270)
  • Related migration provenance: Merged fix(codex): preserve explicit migration ownership #123331 owns the adjacent Codex legacy-surface migration; this PR retains the separate core fixed-store canonicalization path. (extensions/codex/doctor-contract-api.test.ts:216, eefe8bdc1657)
  • Local inspection unavailable: The review sandbox rejected all read-only terminal commands before execution with bwrap: loopback: Failed RTM_NEWADDR: Operation not permitted; current-main source, history, scoped policy files, and sibling Codex source could not be independently inspected.

Likely related people:

  • steipete: Authored the branch’s original Codex ownership commit and the merged adjacent migration repair in fix(codex): preserve explicit migration ownership #123331. (role: related migration owner; confidence: medium; commits: bde1ccf9c62c, eefe8bdc1657; files: extensions/codex/doctor-contract-api.test.ts)
  • hannesrudolph: Provided production-shaped multi-agent upgrade acceptance evidence for the original failing migration path in the PR discussion. (role: independent acceptance verifier; confidence: medium; files: src/infra/state-migrations.session-store.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Confirm the fixed-store reassignment contract before merge.
  • Allow the pending exact-head CI checks to complete.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (3 earlier review cycles)
  • reviewed 2026-08-13T20:09:59.767Z sha edbf773 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-13T22:06:43.188Z sha 5ab0e8e :: needs maintainer review before merge. :: none
  • reviewed 2026-08-13T23:08:55.935Z sha 8d5ae29 :: needs maintainer review before merge. :: none

@Solvely-Colin

Copy link
Copy Markdown
Contributor Author

Exact-head production acceptance is complete on 552f35143345019d9516f56e044d0ff357e73d1d.

The acceptance run uncovered and repaired the remaining owner consumer: core session-key canonicalization was still treating the persisted fixed store as shared, even after the Codex importer correctly retained agents.defaults.sessionStore.agentId. That warning is fatal during startup and prevents the migration checkpoint from being recorded.

Proof on the final commit:

  • frozen install + full build passed; build metadata reports 552f3514
  • 70/70 focused migration tests passed
  • two seeded legacy sidecars migrated and archived with zero warnings
  • two cold starts: health/startup/readiness HTTP 200, ready: true, RPC reachable and healthy
  • real Codex canaries passed for both main and fixed-store owner ops (agentHarnessId: codex)
  • SQLite quick_check=ok; foreign-key check clean; checkpoints persisted
  • isolated synthetic state and port 19789 only; no live gateway/config/database/session mutation

The PR body now includes the complete evidence and production-vs-test LOC metric. No merge or auto-merge was requested.

@Solvely-Colin

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 13, 2026
@Solvely-Colin Solvely-Colin changed the title fix(codex): preserve legacy binding ownership on upgrade fix(sessions): preserve fixed-store owner during migration Aug 13, 2026
@Solvely-Colin

Copy link
Copy Markdown
Contributor Author

Updated PR #123235 to exact head eb66b8c6ff5ca0e6def170f09a4d016a4b1120fb.

main advanced with #123331, which now owns the Codex legacy-surface fix. I merged current main, removed this PR's superseded Codex production fallback, and narrowed the change to the still-missing core fixed-store owner repair. The retained Codex test proves the importer and core canonicalizer agree when systemAgent=main and sessionStore=ops.

Exact-head proof:

  • production + test types, lint, and all 123 plugin package-boundary compiles pass
  • focused migration suites: 71/71 pass
  • full build passes with build metadata at eb66b8c6ff5
  • isolated gateway canonicalizes the raw shared-store key to agent:ops:legacy-fixed-store, persists the Codex binding under ops, archives the legacy source, and records migration checkpoints with no warnings
  • two cold starts: health/startup/ready HTTP 200, RPC healthy/reachable, real Codex canaries pass for main and ops
  • SQLite quick_check=ok, foreign-key check clean

The earlier ClawSweeper TypeScript narrowing finding is fixed. No merge or auto-merge was enabled.

@Solvely-Colin

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Aug 13, 2026
@Solvely-Colin

Copy link
Copy Markdown
Contributor Author

Final current-main head: 85edbc34a2705788f33e0869067df3e94b2ab810.

The prior CI red was test/vitest-projects-config.test.ts: current main had added run-attempt-state.test.ts but excluded it from the catch-all Codex shard without assigning it to a dedicated shard. This PR now assigns that two-test file to the existing Codex attempt-light lane.

Reproduction and repair proof:

  • pre-fix ownership audit: failed with exactly extensions/codex/src/app-server/run-attempt-state.test.ts missing
  • post-fix ownership audit: 22/22 passed
  • routed Codex state test: 2/2 passed
  • migration suites: 71/71 passed
  • full build passed at exact commit 85edbc34a27
  • isolated exact-head gateway acceptance passed: fixed-store key canonicalized to agent:ops:legacy-fixed-store; binding persisted under ops; no migration warnings; two ready cold starts; RPC healthy/reachable; real Codex canaries for main and ops; SQLite/checkpoints clean

PR #123303 does not conflict: its merged commit babba7124df is already an ancestor of this head, with zero overlapping changed files. It owns heartbeat accounting/delivery; this PR owns fixed-store startup migration.

No merge or auto-merge is enabled.

@Solvely-Colin

Copy link
Copy Markdown
Contributor Author

Final CI is green on 85edbc34a2705788f33e0869067df3e94b2ab810.

  • CI run 31752881835: 94/94 jobs completed successfully
  • openclaw/ci-gate: passed
  • CodeQL/OpenGrep/security checks: passed
  • build, production/test types, lint, all Node shards, four QA smoke profiles, and plugin boundaries: passed
  • exact-head isolated gateway acceptance: passed

The PR is open and mergeable. Auto-merge remains disabled; this is ready for maintainer review/approval only.

@hannesrudolph
hannesrudolph merged commit f66a2c6 into main Aug 13, 2026
148 of 150 checks passed
@hannesrudolph
hannesrudolph deleted the codex/main-preserve-legacy-binding-ownership branch August 13, 2026 23:52
steipete added a commit that referenced this pull request Aug 14, 2026
Main is red on the full-suite ownership audit from the #123235 x #123363 double-registration race. Keep run-attempt-state.test.ts beside its run-attempt siblings in the extra lane and heal the audit here per the land-onto-red-main policy.
steipete added a commit that referenced this pull request Aug 14, 2026
…23387)

* feat(skills): resolve explicit $skill references on every channel

Explicit $skill-name references from authorized senders now resolve on all
channels, not only WebChat/Control UI, and explicitly referenced skills are
always invoked: disable-model-invocation keeps a skill out of model-initiated
selection but no longer blocks user-initiated explicit references. Hidden
skills carry their SKILL.md path in the injected instruction since the model
cannot discover them from the available-skills prompt.

Part of #123367

* fix(ci): dedupe run-attempt-state vitest lane ownership

Main is red on the full-suite ownership audit from the #123235 x #123363 double-registration race. Keep run-attempt-state.test.ts beside its run-attempt siblings in the extra lane and heal the audit here per the land-onto-red-main policy.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 14, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 14, 2026
…enclaw#123387)

* feat(skills): resolve explicit $skill references on every channel

Explicit $skill-name references from authorized senders now resolve on all
channels, not only WebChat/Control UI, and explicitly referenced skills are
always invoked: disable-model-invocation keeps a skill out of model-initiated
selection but no longer blocks user-initiated explicit references. Hidden
skills carry their SKILL.md path in the injected instruction since the model
cannot discover them from the available-skills prompt.

Part of openclaw#123367

* fix(ci): dedupe run-attempt-state vitest lane ownership

Main is red on the full-suite ownership audit from the openclaw#123235 x openclaw#123363 double-registration race. Keep run-attempt-state.test.ts beside its run-attempt siblings in the extra lane and heal the audit here per the land-onto-red-main policy.
@hannesrudolph

Copy link
Copy Markdown
Member

Follow-up: this merged PR resolves the Codex legacy-binding migration failure reported in #123320. The issue has been linked and closed as completed after production-shaped multi-agent cold-start validation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codex extensions: codex maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: S 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.

4 participants