Skip to content

fix: reach the configured owner on project-parent sessions_spawn preflight - #183761

Closed
ric03uec wants to merge 1 commit into
openclaw:mainfrom
ric03uec:worktree-fix-182467-project-parent-spawn
Closed

ric03uec wants to merge 1 commit into
openclaw:mainfrom
ric03uec:worktree-fix-182467-project-parent-spawn

Conversation

@ric03uec

Copy link
Copy Markdown

Closes #182467

What Problem This Solves

Fixes: project-attached sessions_spawn rejects a plugin-resolved child model (deepseek/*, native anthropic/claude-haiku-4-5) as Unknown model or selected account or native runtime is unavailable, even though the agent's configured owner knows the model and a normal session on the same installation accepts it.

User Impact

User impact: a Child spawned from a project-parent session resolves provider-plugin and native-runtime models the agent's configured owner already knows, without the operator having to detach the project or /reset the session.

Why This Change Was Made

A project-parent read supplies the project workspace to withPreparedModelCatalogOwner({ readOnly: true }). resolveReadOnlyPublishedModelCatalogOwner builds two candidates (full, activationFull); both carry the explicit project workspace, so the resolver's exact-key lookup misses the single configured owner published at the agent's workspace. The configured-workspace fallback inside resolvePublishedOwner is also gated on strict workspace equality, so it misses too. The code then falls through to acquireReadOnlyPreparedModelRuntime, which builds a runtime-free ephemeral catalog without the provider plugin registry — the plugin's resolveDynamicModel hook is never invoked and the model is reported as unknown.

This change narrows the preflight to a third read-only candidate that probes at the agent's known configured workspace (resolved via resolveAgentWorkspaceDir, not any arbitrary workspace) with every other identity dimension carried from the caller and env bound to the effective process environment so the resolver's env match stays exact instead of degrading to the wildcard branch. If the configured workspace is not resolvable, the fallback is suppressed and the existing ephemeral read-only path takes over, preserving the prior behavior for that shape.

Agent, agent-directory, inherited-auth, environment, and generation isolation are preserved exactly. Writable publications and non-read-only paths are unchanged.

Evidence

  • New unit coverage in src/agents/prepared-model-catalog.test.ts:
    • Positive: project-parent read falls back to the configured workspace with agent, agent-dir, env, and workspace identity verified in the fallback input; the fallback carries a plugin-provider model that is absent from the ephemeral read-only snapshot.
    • Negative: when a competing publication matches by workspace but diverges on agent / agent-dir / env, the fallback rejects it and the ephemeral read-only path takes over.
    • Suppression: a workspace-less caller does not synthesize a second workspace-less probe.
    • Guard: when the agent's configured workspace is unknown, the preflight skips the project-parent fallback and lands on the ephemeral read-only build.
  • Full targeted test suite (6 files, 119 tests) passes locally:
    • src/agents/prepared-model-catalog.test.ts
    • src/agents/prepared-model-runtime.owner-selection.test.ts
    • src/agents/model-runtime-choice.test.ts
    • src/agents/model-runtime-choice.native.test.ts
    • src/agents/subagents/spawn/subagent-spawn.workspace.test.ts
    • src/agents/openclaw-tools.subagents.sessions-spawn.plan.test.ts
Review notes

Marked draft pending maintainer sign-off on scope. ATX reviews surfaced a residual architectural suggestion to gate configured-workspace reuse behind an explicit, validated project-parent predicate; introducing such a predicate expands scope beyond the acceptance criteria recorded in the issue's Codex review ("preserve agent, account, environment, and generation isolation"; "a focused inventory-owner correction"), so it is deferred.

…light

Closes openclaw#182467

Project-attached sessions_spawn supplies the project workspaceDir to the
read-only preflight. The exact and activation candidates both carry that
workspace, so neither matches the configured owner published at the agent's
workspace, and the preflight falls through to a runtime-free ephemeral
catalog without provider plugin registries — rejecting plugin-resolved
models (DeepSeek, native Haiku) as "Unknown" even though the configured
owner knows them.

Add a third read-only candidate that probes at the agent's known configured
workspace with every other identity dimension preserved and env bound to the
effective process environment so the resolver's env match stays exact.
@clawsweeper

clawsweeper Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: S labels Oct 25, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment 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: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 25, 2026
@clawsweeper

clawsweeper Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge.

What this changes

This PR lets read-only model catalog requests fall back to an owner published at the agent's configured workspace.

Example: A parent session in /work/project spawns deepseek/deepseek-flash while its agent inventory is published at /work/agent.

  • Before: Preflight can miss the published plugin registry and reject the model as unknown.
  • After: Preflight can reuse the configured-workspace owner and resolve the plugin model.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The repair has clear user value, but an introduced standalone workspace regression and mocked-only behavior evidence prevent merge.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is necessary before merge. See Before merge.
Patch quality 🦪 silver shellfish (2/6) 1 actionable review finding remain.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Project-attached parent sessions can reject child models that work from ordinary sessions on the same installation.
Reason: Preserving model availability across Gateway execution folders is an existing documented contract, and the repair belongs in the shared catalog owner.

Merge readiness

⛔ Blocked before merge - 3 items remain

Keep this PR open: it addresses a concrete catalog-owner mismatch, but the fallback can also substitute a standalone host's catalog across workspaces.

Priority: P2
Reviewed head: 1332f7a52b43f7df8e73c241e04949500c3fbb2a

Before merge

  • Add real behavior proof - The supplied after-fix evidence is targeted unit-test coverage with publication and owner selection mocked; neither the PR body nor comments demonstrate the changed resolver through a real Gateway project-parent spawn for plugin-resolved models or native Haiku. The linked reporter archive describes pre-fix observations and explicitly excludes real Gateway and Haiku verification. The contributor should supply redacted terminal output or logs of those after-fix flows, removing IPs, API keys, phone numbers, and non-public endpoints. After adding proof, update the PR body, then request a new review with @clawsweeper re-review. The PR author or someone with repository write access can request it.
  • Restrict cross-workspace reuse to Gateway configured inventory (P2) - This candidate is tried for standalone SDK reads as well as Gateway preflight, and the configured workspace path does not constrain publication provenance. For example, first call loadPreparedModelCatalog with agentId main, workspaceDir /work/agent, an explicit env object, and readOnly:false in a standalone host; then read /work/project with the same config/env and readOnly:true. The project candidates miss, but this fallback rewrites the workspace to /work/agent, and resolvePublishedOwner returns that standalone publication from its exact-key lookup before its configured-provenance filter. The second request therefore receives /work/agent's inventory instead of the requested workspace's read-only catalog. Preserve standalone workspace matching by selecting cross-workspace inventory through the existing Gateway/configured publication boundary, and cover this sequence with real owner selection.
  • Explain or restore the original intent of Inventory workspace versus execution workspace - fix: resolve plugin-discovered models outside the agent workspace #169539: Gateway admission shares configured inventory across execution folders while standalone discovery remains workspace-scoped.

Findings

  • [P2] Restrict cross-workspace reuse to Gateway configured inventory — src/agents/prepared-model-catalog.ts:281-288

Provenance

Tests

  • Low-value test src/agents/prepared-model-catalog.test.ts: Replace the mocked competing-publication test with real owner selection: it manufactures acceptance from input fields and never publishes a competing agent, environment, or directory owner. Remove the workspace-less call-count case, which succeeds on the first mocked candidate and cannot exercise suppression, and replace the unknown-workspace mock-call assertion with an observable boundary check.
  • Missing end-to-end proof: Provide an after-fix Gateway project-parent sessions_spawn trace for plugin-only model resolution and native Haiku availability, preserving execution cwd; red-on-base/green-on-head production-owner regression evidence is also absent.
Agent review details

How this fits together

The prepared catalog layer maps agent, workspace, configuration, and environment inputs to lifecycle-owned model inventory and runtime facts consumed by model selection and subagent preflight.

flowchart TD
  A[Project parent session] --> B[Spawn model preflight]
  B --> C[Prepared catalog resolver]
  C --> D[Requested workspace owner]
  C --> E[Configured workspace fallback]
  C --> F[Ephemeral read-only catalog]
  D --> G[Model validation]
  E --> G
  F --> G
Loading

Technical review

Best possible solution:

Resolve Gateway inventory reuse through the existing publication owner while preserving exact standalone workspace selection and the session's execution directory.

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

Source confirms that explicit project workspaces miss the configured publication and reach the ephemeral fallback; the linked report's fixture supports this mechanism, but a real Gateway reproduction of the reported installation remains unverified.

Is this the best way to solve the issue?

Reusing the existing Gateway inventory owner fits the documented contract, but changing the workspace before an unrestricted exact lookup is broader than the required repair.

Full review comments:

  • [P2] Restrict cross-workspace reuse to Gateway configured inventory — src/agents/prepared-model-catalog.ts:281-288
    This candidate is tried for standalone SDK reads as well as Gateway preflight, and the configured workspace path does not constrain publication provenance. For example, first call loadPreparedModelCatalog with agentId main, workspaceDir /work/agent, an explicit env object, and readOnly:false in a standalone host; then read /work/project with the same config/env and readOnly:true. The project candidates miss, but this fallback rewrites the workspace to /work/agent, and resolvePublishedOwner returns that standalone publication from its exact-key lookup before its configured-provenance filter. The second request therefore receives /work/agent's inventory instead of the requested workspace's read-only catalog. Preserve standalone workspace matching by selecting cross-workspace inventory through the existing Gateway/configured publication boundary, and cover this sequence with real owner selection.
    Confidence: 0.94

Overall correctness: patch is incorrect
Overall confidence: 0.93

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 8f4fe7407101.

Provenance checked

  • Lifecycle-owned catalog selection keeps the original intent (06f5f73: Publish coherent per-agent catalog, registry, and auth generations rather than rebuilding discovery on request paths.)
  • Passive published-owner reads keeps the original intent (11d36eb: Ordinary observations consume published facts without restarting provider discovery or stalling agent runs.)

Testing

Proof path: unit tests only.

Security

None.

Evidence

Acceptance criteria:

  • pnpm test src/agents/prepared-model-catalog.test.ts src/agents/prepared-model-runtime.owner-selection.test.ts src/agents/prepared-model-runtime.gateway-leases.test.ts
  • pnpm test src/agents/model-runtime-choice.test.ts src/agents/model-runtime-choice.native.test.ts src/agents/subagents/spawn/subagent-spawn.workspace.test.ts src/agents/openclaw-tools.subagents.sessions-spawn.plan.test.ts
  • pnpm test src/plugin-sdk/agent-runtime-model-catalog-contract.test.ts
  • git diff --check

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 11d36eb adds src/agents/prepared-model-catalog.ts:248 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 11d36ebc2583; files: src/agents/prepared-model-catalog.ts)
  • Ayaan Zaidi: Raw commit 76a1a80 adds src/agents/prepared-model-catalog.ts:64 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 76a1a8043866; files: src/agents/prepared-model-catalog.ts)

PR surface

Source +22, Tests +105. Total +127 across 2 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 27 5 +22
Tests 1 105 0 +105
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 132 5 +127

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #182467
Summary: This PR targets the linked issue's read-only preflight mismatch; the earlier merged repair covers adjacent run-admission matching.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: The reported failure affects project-parent model validation and delegation with a limited demonstrated blast radius.
  • merge-risk: 🚨 compatibility: The shared resolver also serves public SDK reads, and the new fallback can replace a standalone caller's requested workspace inventory.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦪 silver shellfish.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

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.

Reviewed October 25, 2026, 2:26 PM ET / 18:26 UTC.

@VQuesada

VQuesada commented Nov 1, 2026

Copy link
Copy Markdown

Additional live evidence (2026.10.9, Linux, native claude-cli route)

Independent reproduction on a different installation. This may help with the needs-live-repro label and the "needs proof" status on #183761.

Environment

  • OpenClaw 2026.10.9 (8b18b55), Linux x64, global npm install, managed Node toolchain
  • Single configured agent main, workspace <agent-ws>
  • anthropic/* is routed through agentRuntime.id = claude-cli and authenticates only with the host Claude CLI login. There is no stored anthropic auth profile.
  • xai and openai use stored OAuth profiles

Live Gateway behavior

  • Parent session A: workspaceDir = <agent-ws>, projectId set. sessions_spawn with anthropic/claude-haiku-5-5 is accepted.
  • Parent session B: same agent and same model. Its workspaceDir is a subdirectory, <agent-ws>/<subdir>, and it is not a registered project (projectId empty). sessions_spawn with anthropic/* (Haiku and Opus) is rejected:
    The selected account or native runtime is unavailable for anthropic/claude-haiku-5-5. Restore that account before spawning this model.
  • In session B, sessions_spawn with xai/grok-* is accepted.
  • models.list with B's sessionKey reports the Anthropic models as available.

This means the trigger is broader than project-attached parents. In our case, any parent whose workspaceDir differs from the agent's configured workspace was rejected, including a plain subdirectory.

Isolated harness (Gateway-less, read-only copy of state, real host CLI login)
The harness called the installed dist functions that sessions_spawn uses (prepareModelChoice → prepared catalog owner).

Phase workspaceDir Catalog used claude-cli in authModes anthropic/* xai/*
A (nothing published) agent ws ephemeral read-only missing (only openai, xai) rejected, same error resolved
A (nothing published) subdir ephemeral read-only missing rejected resolved
B (owner published for agent ws only) agent ws published present resolved resolved
B (owner published for agent ws only) subdir ephemeral read-only missing rejected resolved

Phase A shows that the failure follows the catalog kind, not the workspace: even the agent's own workspace fails when it falls through to the ephemeral read-only catalog. The ephemeral build drops the synthetic CLI-backend credential. Stored OAuth profiles survive, which is why xAI is unaffected. With the authModes["claude-cli"] entry missing, native availability evaluates to a definitive false.

This matches the mechanism described in #183761, where the read-only owner lookup misses the configured owner and falls back to a runtime-free ephemeral catalog. Reusing the configured-workspace owner should fix our case too. We have not tested the PR branch itself.

Minimal reproduction recipe (no project registration, no third-party provider plugin)

Note: this recipe is distilled from the live observations above. We have not re-run it from scratch on a clean installation, so treat it as the expected path rather than a verified one.

  1. Configure one agent main with workspace = W. We used a git repo with commits; whether that matters here is untested.
  2. Route anthropic/* through agentRuntime.id = "claude-cli". Log in with claude on the host and do not add an anthropic auth profile. Optionally add any provider that uses a stored profile (e.g. xai) as a control.
  3. Create a plain subdirectory W/sub. Do not register it as a project.
  4. Restart the Gateway so the configured owner for W is published.
  5. Start a new top-level session whose working directory is W/sub (any client that lets you choose the session's working directory). Confirm that sessions_list shows workspaceDir = W/sub with no projectId.
  6. In that session, call sessions_spawn with model: "anthropic/claude-haiku-5-5".
    • Actual: sessions_spawn model "anthropic/claude-haiku-5-5" is not usable: The selected account or native runtime is unavailable …
    • Same session, control: model: "xai/<any>" is accepted.
    • Separate control: repeat steps 5–6 with the working directory set to W. The Anthropic spawn is accepted.
  7. Read-only cross-check without spawning: models.list with the failing session's sessionKey lists the Anthropic models as available, so the rejection comes from the spawn preflight, not the inventory.

Running the same steps on a build of #183761 should give the after-fix Gateway proof requested in the review: step 6 should be accepted from W/sub.

@resinoftree97

Copy link
Copy Markdown

Thank you, @ric03uec, for taking the time to develop the fix and regression tests, and @VQuesada for the independent live reproduction and detailed investigation.

I originally reported this issue based on failures in my installation, and I appreciate the substantial work you've both contributed toward understanding and resolving it.

I'm happy to leave the implementation and further validation to the contributors and maintainers. Thank you again!

@resinoftree97

resinoftree97 commented Nov 8, 2026 •

Copy link
Copy Markdown

openclaw-182467-native-evidence-20261108.zip

Reporter follow-up: operating Gateway red → restart-only red → forward-port green; P2-safe candidate and hosted CI limitations

I can now report successful real child execution from the original project-parent installation after applying a narrowly scoped candidate. I am the reporter of #182467. This is a version-specific 2026.10.10 compiled forward-port of the PR prerequisite plus the proposed Option 4 change, not a run of PR head 1332f7a itself. No upstream source/PR code was changed by this local trial.

1. Live operating-Gateway result (2026-11-08 KST)

Environment: one existing WSL-hosted OpenClaw 2026.10.10 Gateway (build-reported commit 7dc3350cb9f08fcf9a0af5c4845a20d5b2f1a8be), user-systemd service, existing project workspace and existing Codex parent session. No second Gateway was launched; provider configuration, credentials, project workspace and AO settings were not edited.

Requested child Unpatched project parent Unpatched after restart-only control After compiled forward-port + restart
anthropic/claude-haiku-4-5 Preflight rejected: selected account/native runtime unavailable Still rejected Accepted; actual Claude CLI child answer 2, normal stop
deepseek/deepseek-flash Preflight rejected: Unknown model, provider registration guidance Still rejected Accepted; actual DeepSeek child answer 2, normal stop

Both after-patch calls used the same pre-existing project parent, project/workspace, requested IDs, exact prompt (1+1은? 답만 짧게 답하세요.), sessions_spawn, low thinking, and the previous timeout/cleanup choices; one invocation per model, sequentially. The operator report identifies corresponding child run IDs and final assistant messages and checked actual provider/model/stop metadata: Claude claude-cli / cli / claude-haiku-4-5; DeepSeek deepseek / openai-completions / deepseek-flash. These are not just accepted spawn plans: real assistant replies were observed.

The unpatched restart-only control matters because restarting the Gateway with original file hashes did not clear the two preflight failures. During the later operator-controlled apply, the existing Gateway exited fully before two compiled .mjs chunks were replaced, then started successfully. The final reported service state was a single healthy Gateway; candidate file hashes and unmodified configuration/service anchors were checked; original backups were retained.

Limits: The exact owner/provenance chosen at the failure instant was not logged; the successful sequence is a live forward-port test on 2026.10.10, not proof that PR head is production-green. Child process OS cwd, unrelated model/workspace cases and production standalone isolation were not fully measured. This does not fix the unrelated shutdown EPIPE report. Main-parent DeepSeek worked before patch, but the main parent runtime differed; main Haiku control was 5.5 rather than 4.5. I am not claiming an exactly matched main-parent Haiku control.

2. Why the hosted GitHub Actions trials did not demonstrate this earlier

We used a separate temporary GitHub-hosted real Gateway through workflow Run #7, comparing base 54c0e4d and PR head 1332f7a with configured, subdirectory and project parent modes.

  • Base already accepted all six recorded preflight cases. The fix job recorded three acceptances before its remaining steps were cut short by disk/shell failure. Thus CI did not reproduce the red baseline and cannot establish red→green on PR head.
  • Real native Haiku children on the hosted base answered PONG.
  • Hosted DeepSeek passed preflight but the downstream provider returned HTTP 401 Authentication Fails. The cause of that 401 was not established; it is a different failure stage from the operator's project-parent Unknown model. It should not be attributed to a proven bad key type.

The operating installation, unlike hosted CI, supplied a repeatable red baseline and then real replies after the narrow candidate.

3. Separate P2 reviewer blocker: standalone catalog isolation

I also reproduced the P2 found in ClawSweeper's review on head 1332f7a using the real owner publication and selection functions, with peripheral plugin/auth/catalog construction stubbed (not a live Gateway). With standalone A published using explicit env, a read-only B request improperly got A's owner 6/6 times on PR head. A non-Gateway configured owner also leaked across workspaces 3/3. This occurs because an exact owner-key match precedes the configured-provenance check.

The proposed small correction (Option 4, source diff in the attachment) is:

-    agentConfiguredWorkspaceDir !== full.workspaceDir
+    agentConfiguredWorkspaceDir !== full.workspaceDir &&
+    isPreparedModelRuntimeGatewayLifecycleActive()
       ? {
           ...full,
-          workspaceDir: agentConfiguredWorkspaceDir,
+          workspaceDir: undefined,
           env: full.env ?? process.env,
         }

It also adds a small exported read of the existing Gateway-lifecycle boolean. This preserves the intent of #169539: configured inventory is shareable across execution directories during Gateway lifecycle, while standalone discovery remains workspace-scoped. In the targeted harness, configured Gateway owner reuse remained 6/6, while standalone cross-workspace leakage dropped to 0/6 and non-Gateway configured sharing to 0/3. Selected local catalog/scoped-thinking tests reported 59/59 passing. This is targeted source-level evidence, not a full regression suite. A workspace-less standalone-owner/lifecycle-transition edge case and broader database-worker lanes still need examination. The assertion that a workspace-less probe always resolves only through configured provenance is not yet proven for every lifecycle history.

4. Files and requested next step

Attachment: openclaw-182467-evidence-20261108.zip (SHA-256: b9546907aecb9ca9ce23c5c6846d35795299fb0ba288fb39a9757941412c9eb5), containing a provenance-marked timeline, hosted CI findings, P2 owner-selection matrix, proposed source diff, and test-mock correction. The ZIP does not contain raw operating PC logs or the compiled deployed diff; these remain in private local records and may be exported separately in redacted form. Please do not treat the narrative as a substitute for the native logs if independently auditable traces are required.

Request to @ric03uec / maintainers: Please evaluate integrating a Gateway-scoped, standalone-isolating fallback (Option 4 or an equivalent implementation), replace mock-only owner assertions with real publication/selection coverage, and verify the additional edge cases/required integration tests. The live forward-port result addresses the original user-visible failure in its actual environment, while the remaining PR-head merge blockers still need source-level resolution. Once the PR's actual code and evidence have been updated, an authorized contributor can request @clawsweeper re-review.

Independent earlier pre-fix reproduction: VQuesada's Linux/Claude CLI report. Original report: #182467.
openclaw-182467-native-evidence-20261108.zip

Copy link
Copy Markdown

Superseding fix merged upstream: #197238

For visibility and to avoid duplicate work, #197238 has been merged into main as 8ae6b385.

It fixes the same project-session read-only published-catalog lookup mismatch targeted by this draft PR. The merged version gates its workspace-less inventory candidate on an active Gateway lifecycle, preserving standalone workspace scoping, and adds owner-selection regression coverage. The author also reports project-session child execution in an isolated real Gateway with a stand-in discovery plugin.

This appears to supersede the proposed fix in #183761, although my original Haiku 4.5 / DeepSeek Flash installation has not been re-tested on the merged upstream commit. My earlier operating-Gateway validation of a version-specific forward-port remains a separate data point.

Thank you, @ric03uec, for the original fix and investigation, and to the other contributors. The PR author/maintainers may wish to close this draft as superseded after reviewing the overlap.

@openclaw-barnacle

Copy link
Copy Markdown

This pull request has been automatically marked as stale after 7 days without qualifying human activity.
Without new human activity, Barnacle may close it as not planned 7 days after this message was posted. This is administrative inactivity cleanup, not a claim that the problem is fixed.
A human update restarts the inactivity clock; a new PR head also restarts it. A maintainer can add no-stale for a durable hold, or bad-barnacle to suppress Barnacle. Remove the hold when work can resume.

@openclaw-barnacle openclaw-barnacle Bot added the stale Marked as stale due to inactivity label Nov 20, 2026
@openclaw-barnacle

Copy link
Copy Markdown

Closing due to inactivity.
If you believe this PR should be revived, post in #clawtributors on Discord to talk to a maintainer.
That channel is the escape hatch for high-quality PRs that get auto-closed.

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

Labels

agents Agent runtime and tooling merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: S stale Marked as stale due to inactivity status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Project-parent sessions_spawn fails model validation while models.list reports available models (2026.10.6)

3 participants