Skip to content

feat: attribute delegated work to the initiating human - #178493

Merged
roboclaw-bot merged 11 commits into
mainfrom
openclaw/human-creators-current-delegation
Oct 21, 2026
Merged

roboclaw-bot merged 11 commits into
mainfrom
openclaw/human-creators-current-delegation

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

Related: #169139 (closed predecessor), #157806 (upstream requester identity plumbing).

What Problem This Solves

Agent-delegated sessions and automations can appear agent-created even when a verified human initiated the work, leaving that human without creator-only management controls.

User Impact

New sessions created through agent tools, native/visible/ACP delegations, and agent-created automations retain the verified initiating human as creator. This is normal behavior, not a Lab. No configuration change is required. The previously proposed toggle and experimental setting have been removed.

  • Creator identity affects discovery, sharing/public-link management, archive/restore, attribution, and creator-based owner/personal-profile fallbacks—not only archiving. Assigned ownership remains separate.
  • Existing creators are not rewritten. A selected tool-execution user is not automatically the initiating human. Autonomous work without a retained human stays agent/system-created.
  • Execution authority, model/tool permissions, required sandbox containment, and its original identity namespace remain separate from creator attribution. Public links still require explicit publication; anonymous access, exclusions, revocation, and subsequent-message behavior are unchanged.
  • Compatible older readers use their original creator semantics and preserve the nested attribution for a later upgrade. Ordinary schema-compatibility safeguards still apply: this does not make unrelated newer database formats downgradeable.

Why This Change Was Made

Build on the existing requester-provenance path from #157806 rather than treating assignment or selected execution identity as evidence of who initiated the work. Creator attribution is retained inside the immutable creation record; the original actor remains available to isolation owners and compatible older readers. No database schema/version change is introduced.

The creator/admin archive rule is retained. No Labs UI or configuration-schema delta remains against main. Documentation lives in the normal sessions guide.

Requested by and developed with @VACInc.

Work sessions

Evidence

Latest head: 3f0e121.

Default-attribution fixture repair: CI39515202388 exposed eight stale fixture/assertion failures across hosted session scopes, independent input transfer, and cron validation. All eight were reproduced locally. Human-initiated test callers now explicitly carry their authenticated request origin; scheduled/unidentified callers remain un-attributed. Autonomous cron expectations retain the original isolation actor and separately expect agent creator attribution. No production permission or creator logic changed in this repair. All 202 selected tests across six files pass (32 hosted/read/real-Gateway + 170 input/cron/transport); three-file type-aware lint and formatting pass. Independent P0–P2 review is scoped-clean. Exact-head CI39519573314 passed on attempt1 (73 jobs successful, 24 skipped, none failed/pending). ClawSweeper revision9 cleared this head with no findings or before-merge items.

Inherited CI repair: the preceding run exposed typescript(unbound-method) in src/flows/doctor-repair-flow.ts, introduced upstream by #178767. The extracted callback lost the direct check's receiver. This revision binds that callback to the check; it does not alter creator attribution. The new regression failed on the unchanged implementation, then passed with all 11 selected Doctor tests (38.23s Vitest duration; approximately 0.6s test time), type-aware lint, formatting, and independent P0–P2 review. ClawSweeper revision 8 cleared that exact 715efea head with no findings; its CI subsequently exposed the fixture failures repaired above.

Earlier integration 194ab6d incorporates main 598e945 after GitHub reported a conflict; removal of the setting eliminated the generated-config overlap, so no manual merge resolution was needed.

  • Default-behavior regression: the real Gateway test first failed against the gated implementation because the causal creator stamp was missing. It passes after removal without enabling any experimental setting.
  • Real Gateway final effects: an isolated TLS Gateway authenticates four synthetic principals and executes the actual agent sessions-create tool. The causal human can publish/unpublish and archive/restore; selected execution/isolation identity and assignee cannot. Live role revocation after admission prevents the persistent mutation. Model-provider HTTP responses are replayed, not live external inference.
  • Delegation: 95 tests pass across the full native spawn seam and production-boundary files, including hidden/visible/queued delegation, guest-owned children, cancellation, rollback, and retained requester custody. Seven ACP authority tests and seven provenance tests pass. Guest fixtures now supply the authenticated causal request separately from execution authority; assertions retain model restrictions and required isolation.
  • Refreshed-main proof: 11 Gateway, cron, and provenance tests pass on the integrated candidate. Cron coverage checks causal-human, autonomous, and explicit no-human origin with a selected execution user; updates preserve the original creation stamp.
  • Static checks: core TypeScript checking, type-aware lint of all 27 changed TypeScript files, formatting, diff checks, and generated configuration baseline checks pass on the removal revision. Frozen dependency installation and config-baseline verification pass after integration. Independent P0–P2 review of the removal revision found no actionable findings; it reviewed supplied source/evidence and did not independently rerun tests.
  • Current-head CI and ClawSweeper: exact 3f0e121 passed CI39519573314 attempt1. ClawSweeper revision9 cleared the same head. All currently reported checks are passing or intentionally skipped; no inherited-failure exception or CI rerun was used for this head.
Retained compatibility evidence and limits

Published OpenClaw 2026.10.5 (build 1b58cb9) created synthetic state through released production writers. After producer processes stopped, the original four state/config files were backed up and byte-compared; SQLite integrity checks passed. Candidate Doctor, SDK writes, and fresh-process cold reopen passed on earlier head 48aef8b.

Original creators, assigned owners, settings, two crons, all six transcript events, dedicated ACP metadata, and required isolation namespaces were preserved. New causal-human and autonomous sessions/crons survived reopen. Earlier same-schema baseline → candidate → baseline-write → candidate proof preserved three sessions and three crons. Six selected automatic-rollback owner scenarios passed, including refusal to discard post-migration writes.

This removal does not change the persisted representation, but those historical runs are not claimed as exact-current-head full upgrade tests. These are isolated stored-state and controlled rollback-owner proofs, not production deployment, live external model inference, container startup, complete updater package swapping, or cross-schema downgrade. No production settings/state were changed. Exact first-party package-age exceptions used for disposable historical installs did not relax third-party, integrity, or global policy.

@clawsweeper

clawsweeper Bot commented Oct 20, 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 docs Improvements or additions to documentation app: web-ui App: web-ui gateway Gateway runtime commands Command implementations agents Agent runtime and tooling size: XL labels Oct 20, 2026
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review October 20, 2026 14:56
@github-actions

github-actions Bot commented Oct 20, 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: 3f0e121451973deef51ee10f1c63f0e36c6f4319
  • Maintainer: @roboclaw-bot
  • Repository role: maintain

These security sensitive changes were made:

  • src/agents/cron-creator-authority-context.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/sandbox/runtime-status.ts: Controls sandbox containment or tool execution authority. Check filesystem and network isolation, approval scope, and command allowlists.
  • src/gateway/cron-creator-authority-grant.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.

Carefully review these changes before merging.

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature 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. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. 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:feature Preliminary submission classification; full source review pending. labels Oct 20, 2026
@clawsweeper

clawsweeper Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

New delegated sessions and automations retain the initiating human as creator while preserving execution identity, sandbox isolation, and assigned ownership.

Example: Alice requests a task, the agent selects Bob’s execution identity, and Carol becomes the assigned owner.

  • Before: Creator controls follow the recorded execution actor rather than Alice.
  • After: Alice receives creator controls; Bob’s execution identity and Carol’s assignment remain separate.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful and coherent, with strong production-boundary authority proof and retained released-state compatibility evidence; full current-head CI remains pending.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (live_output): The supplied successful isolated TLS Gateway run exercises the actual agent sessions_create tool and persistent publish/archive effects for the causal human, denies the selected user and assignee, and rejects post-admission revocation before persistence; provider HTTP is replayed, and the latest revision changes only fixtures.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: Humans who initiate delegated work can lack creator-only controls because its creation record follows an agent or selected execution identity.
Reason: Maintainer direction approves default attribution, and the implementation preserves assignment, isolation, existing creators, and current authorization checks.

Merge readiness

✅ Ready for maintainer review

This PR provides useful, maintainer-approved creator attribution absent from current main; no actionable findings remain at the reviewed head, and exact-head CI is pending.

Priority: P2
Reviewed head: 3f0e121451973deef51ee10f1c63f0e36c6f4319

Before merge

None.

Findings

None.

Agent review details

How this fits together

Authenticated requester facts enter agent-tool and delegation owners, which persist immutable creation attribution consumed by discovery, sharing, archive, and profile projections.

flowchart TD
  A[Authenticated human request] --> B[Requester origin]
  B --> C[Session and automation creation]
  D[Selected execution authority] --> C
  C --> E[Immutable creation record]
  E --> F[Creator controls and discovery]
  E --> G[Original sandbox identity]
Loading

Technical review

Best possible solution:

Retain causal attribution in the existing immutable creation record and consume it through shared creator projections while preserving original isolation identity.

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

Current main records the agent or selected execution actor without the separate causal-creator representation; source inspection establishes the missing capability, and no target code was executed during this review.

Is this the best way to solve the issue?

The change uses existing requester, creation-stamp, authority, and projection owners without introducing a parallel attribution store or configuration surface.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 13c25be3c713.

Provenance checked

  • Qualified creator identity keeps the original intent (036e0d9: Keep creator rights tied to profile-qualified identities and verified aliases rather than raw actor IDs, assignment, or participation.)
  • Required sandbox identity keeps the original intent (076b7b5: Stamp new creation paths and preserve the parent's recorded isolation identity across delegation and role changes.)
  • Selected requester execution identity keeps the original intent (fd2a6ca: Bind selected participant authority to its authenticated requester facts without interpreting selection as intent or approval.)
  • Visible child ownership keeps the original intent (00f7785: Derive assigned ownership from the locked parent's effective owner and matching verified requester while preserving creator provenance.)
  • Doctor repair progress callback keeps the original intent (c6f14b2: Show progress while Doctor checks and repairs run; binding the extracted repair callback restores its original receiver.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 036e0d9 adds src/config/sessions/session-entry-provenance.ts:17 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 036e0d9bf714; files: src/config/sessions/session-entry-provenance.ts)

PR surface

Source +276, Tests +1008, Docs +30. Total +1314 across 59 files. Added test files: 4.

View PR surface stats
Area Files Added Removed Net
Source 34 369 93 +276
Tests 24 1025 17 +1008
Docs 1 30 0 +30
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 59 1424 110 +1314

Review metrics

Metric Value Why it matters
Production versus tests Production +361/-93; tests and support +1033/-17 Growth covers distinct creation transports, persisted compatibility, creator projections, sandbox identity, and allowed, forbidden, and revoked final effects.

Root-cause cluster

Relationship: canonical
Canonical: #178493
Summary: This PR carries forward the closed attribution predecessor on the merged requester-identity foundation.

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: Creator discovery and management improve for delegated work without evidence of an urgent outage.
  • merge-risk: 🚨 compatibility: New delegated records intentionally change creator-control and profile-fallback semantics; maintainer direction accepts this behavior, while existing records and original isolation identities remain intact.
  • 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 (8 earlier review cycles)
  • reviewed 2026-10-20T15:15:11.073Z sha 9768b15 :: needs real behavior proof before merge. :: [P2] Update the selected-requester consumer assertion | [P3] Preserve exports in the new node-availability mock
  • reviewed 2026-10-20T16:26:18.256Z sha b3892a4 :: blocked before merge. :: none
  • reviewed 2026-10-20T16:34:25.383Z sha b3892a4 :: blocked before merge. :: none
  • reviewed 2026-10-20T19:31:50.023Z sha 48aef8b :: needs maintainer review before merge. :: none
  • reviewed 2026-10-20T20:05:29.853Z sha 0bcbb67 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-20T20:41:41.826Z sha 24a9ba9 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-20T20:58:11.034Z sha 8cde7a2 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-20T23:36:09.397Z sha 715efea :: needs maintainer review before merge. :: none

Reviewed October 20, 2026, 8:17 PM ET / October 21, 2026, 00:17 UTC (Revision 9).

Apply opt-in causal creator attribution to operator-tool session creation without changing the selected execution identity or live authority checks. Prove creation, creator effects, and revocation through the authenticated Gateway.

Co-authored-by: VACInc <[email protected]>
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

Head: b3892a426b2bb95466679e371d3e85b0535a6ff0. The body now includes observed output and the runnable real Gateway creation/final-effect proof, default-off and enabled. It exposed and repairs a missing causal stamp on the operator-tool sessions_create path without changing selected execution identity or live authority fences. Creator publication/archive succeed; selected/isolation users and assignees are denied; role revocation after actual admission prevents persistent mutation after handler settlement. Model-provider HTTP is replayed; this is not claimed as a live external-provider test.

Both reported CI fixture defects are repaired; the duplicate mocked Labs assertion is removed, retaining browser coverage. 20 focused tests pass. Lint/format pass; all 29 selected compiler graphs pass. The type wrapper remains nonzero on inherited root-count limits reproduced on exact base 77d9f42c86bf42ee05f997ec5f838ad95d268a0a; no guard was relaxed. Earlier CI baseline-ratchet logs show only mock-exports failed. Both Codex contention failures reproduce on that same base.

Published latest-stable upgrade qualification remains explicitly incomplete: its disposable install requires the previously requested exact first-party package-age exception. Same-schema source upgrade/downgrade/reopen and selected rollback-owner proof remain available but are not substituted for released-binary upgrade proof. No merge or deployment requested.

@clawsweeper

clawsweeper Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. labels Oct 20, 2026
@clawsweeper

clawsweeper Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

Integrate upstream 92477a7. Regenerate configuration baseline artifacts through their owner; preserve the opt-in core setting and upstream plugin additions. Real Gateway creator controls and provenance tests pass.

Co-authored-by: VACInc <[email protected]>
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review — head 24a9ba9 integrates main 92477a7 after an actual merge conflict. Only the generated config hash conflicted; canonical generation/check passes and retains the one-field core opt-in plus upstream plugin additions. Feature-owned production/tests are unchanged from your cleared 0bcbb67 head; 9 real Gateway creator-control/provenance tests passed again, including Lab off/on and live revocation. Updated body keeps earlier upgrade proof and incomplete CI scoped to their actual revisions.

@clawsweeper

clawsweeper Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

Integrate c909114 and resolve the overlapping completion-test repair with upstream's equivalent release-before-readiness ordering. The full five-test fixture and generated config baseline check pass with the refreshed frozen dependencies.

Co-authored-by: VACInc <[email protected]>
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review please. Current head 8cde7a263274a78c156f0df75aeb85ccff6aa8e2 resolves the subsequent main conflict by retaining the exact equivalent upstream Codex completion test. Frozen upstream dependency install, all 5 full-suite tests, config baseline and diff checks pass. No feature production paths changed. Earlier real Gateway/provenance and released-upgrade evidence retains its explicit revision scope in the updated PR body. CI run 39495101024 is pending; landing still requires exact-head green CI and current review clearance.

@clawsweeper

clawsweeper Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

roboclaw-bot and others added 2 commits October 20, 2026 23:10
Remove the unshipped Labs toggle and experimental config. Preserve execution authority and the original isolation identity while applying causal creator attribution to new delegated work. Exercise default behavior and capture authentic requester facts in guest boundary fixtures.

Co-authored-by: VACInc <[email protected]>
Integrate 598e945 after GitHub reported a conflict. Removing the setting eliminated the generated-config overlap; no manual merge resolutions were required. Frozen dependency install, config baseline, and 11 real Gateway/cron/provenance tests pass.

Co-authored-by: VACInc <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot removed the app: web-ui App: web-ui label Oct 20, 2026
@roboclaw-bot

roboclaw-bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

Please review exact head 3f0e121 of this VACInc-requested creator-attribution change. Your revision 8 cleared 715efea. The only new change is a three-file test-fixture repair after CI39515202388 exposed eight failures, all reproduced locally: explicit authenticated requesterOrigin for human-initiated hosted/input fixtures, and agent causal-attribution expectations for autonomous cron callers while retaining original isolation provenance. Scheduled/unidentified callers remain without human origin. No production code or permission checks changed. All 202 selected tests in six files, scoped type-aware lint/format, and independent P0-P2 review pass.

The Lab and config remain removed; attribution is ordinary default behavior. The body preserves prior exact-head proof and compatibility limits. Review only; no merge request to ClawSweeper. The human has authorized native landing only after current-head green CI and your clearance.

Repair the inherited check-lint-core-2 failure from #178767 without changing creator attribution. Bind the direct HealthCheck repair method to its check so it retains the pre-progress receiver. A new regression fails before this fix; 11 Doctor tests and type-aware lint pass. Independent P0-P2 review found no actionable issues.

Co-authored-by: VACInc <[email protected]>
@clawsweeper

clawsweeper Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 20, 2026
Supply authenticated request origins in human-initiated creation fixtures and retain agent attribution for autonomous cron calls without changing runtime permissions.

Co-authored-by: VACInc <[email protected]>
@clawsweeper

clawsweeper Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 21, 2026
@roboclaw-bot
roboclaw-bot merged commit 3097cee into main Oct 21, 2026
167 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/human-creators-current-delegation branch October 21, 2026 00:34
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

roboclaw-bot added a commit that referenced this pull request Oct 21, 2026
Repair the stale creation-notice fixture after #178493 without changing production provenance or authorization policy. Exercise autonomous agent creation, human isolation without a human requester, and explicit causal-human attribution. Preserve exact stored identity and required-sandbox assertions. Full file and provenance siblings pass on Node; the affected file passes on Bun.

Co-authored-by: VACInc <[email protected]>
steipete added a commit that referenced this pull request Oct 21, 2026
PR #178493 (3097cee) separated the public causal creator from the
stored isolation actor. A human isolation identity alone no longer proves
that a human initiated a spawned session.

This single-file test hunk mirrors PR #178485 byte-for-byte. Cover agent
creation, human isolation without a human initiator, and retained causal
human attribution while preserving exact storage and sandbox assertions.
Production code is unchanged.

Proof: repository wrapper, one worker, passes under both Bun and Node.
Targeted Gateway test types, typed lint, formatting and independent P2
review pass.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 21, 2026
* feat: attribute delegated work to the initiating human

Co-authored-by: VACInc <[email protected]>

* fix: retain initiating creator for agent-created tasks

Apply opt-in causal creator attribution to operator-tool session creation without changing the selected execution identity or live authority checks. Prove creation, creator effects, and revocation through the authenticated Gateway.

Co-authored-by: VACInc <[email protected]>

* test: repair creator branch CI fixtures

Observe native receipts before waiting for retirement readiness, and assert agent-resolution context through the existing error message.

Co-authored-by: VACInc <[email protected]>

* test: await transcript indexing in PostgreSQL fixture

Queue the fixture transcript explicitly after broad synchronization so an in-flight memory-only watcher pass cannot leave the lexical transcript assertion racing the session debounce.

Co-authored-by: VACInc <[email protected]>

* fix: give initiating humans creator controls by default

Remove the unshipped Labs toggle and experimental config. Preserve execution authority and the original isolation identity while applying causal creator attribution to new delegated work. Exercise default behavior and capture authentic requester facts in guest boundary fixtures.

Co-authored-by: VACInc <[email protected]>

* fix(doctor): preserve repair method receiver during progress

Repair the inherited check-lint-core-2 failure from openclaw#178767 without changing creator attribution. Bind the direct HealthCheck repair method to its check so it retains the pre-progress receiver. A new regression fails before this fix; 11 Doctor tests and type-aware lint pass. Independent P0-P2 review found no actionable issues.

Co-authored-by: VACInc <[email protected]>

* test: distinguish causal creators in gateway fixtures

Supply authenticated request origins in human-initiated creation fixtures and retain agent attribution for autonomous cron calls without changing runtime permissions.

Co-authored-by: VACInc <[email protected]>

---------

Co-authored-by: VACInc <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 21, 2026
PR openclaw#178493 (2f32b4a) separated the public causal creator from the
stored isolation actor. A human isolation identity alone no longer proves
that a human initiated a spawned session.

This single-file test hunk mirrors PR openclaw#178485 byte-for-byte. Cover agent
creation, human isolation without a human initiator, and retained causal
human attribution while preserving exact storage and sandbox assertions.
Production code is unchanged.

Proof: repository wrapper, one worker, passes under both Bun and Node.
Targeted Gateway test types, typed lint, formatting and independent P2
review pass.
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 docs Improvements or additions to documentation extensions: memory-core Extension: memory-core gateway Gateway runtime merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. 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. 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.

2 participants