Skip to content

feat(plugins): add conversation fork command capability - #158030

Open
clawSean wants to merge 2 commits into
openclaw:mainfrom
clawSean:feat/plugin-conversation-fork
Open

clawSean wants to merge 2 commits into
openclaw:mainfrom
clawSean:feat/plugin-conversation-fork

Conversation

@clawSean

@clawSean clawSean commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Related: #157627. This adds a plugin host capability, not the built-in /fork command. The independent native command is #162287; neither PR depends on the other.

What Problem This Solves

An owner-authorized plugin command has no bounded public way to fork its resolved conversation, place the branch, replay an exact saved text turn, and return. A plugin would otherwise need private Gateway/session access or an unsafe approximation.

User Impact and Contract

The invocation-bound conversationFork capability lets an eligible command prepare a tip or exact saved-text-reply fork, execute one placement, inspect its bounded outcome, and request Back. The host owns transcript selection/cut, session creation, channel bindings, replay, and authority checks. This PR does not install a command or make the published dev.2 plugin work on stock OpenClaw.

Eligible native Telegram/Discord user turns persist provider message ID and canonical channel/account/conversation reference in protected message.__openclaw.transport, not model-visible content. This expands durable transcript data and requires maintainer product/privacy acceptance.

Upstream-Compatibility Revision

This revision is based on upstream 9ed1b9d70a88a6bd9701bf9c40cbba556dc87af4. Exact reply cuts now use the canonical agent-executor forkSessionAtMessage transaction and its commit/publication owner, rather than a parallel worker. A small follow-up gives a test-fixture helper a distinct exported name to satisfy the hosted source-contract check. The public seam remains invocation-bound; it exposes no general session-store or Gateway mutation API.

The port follows current worker-owned binding and transcript-read paths. It retains exact protected transport provenance, generation-fenced placement/Back, absolute Back deadlines across restart, and owner/route checks through queued replay, model/tool admission, and final delivery. Generation-less legacy bindings remain routable when unchanged but cannot authorize a new fork mutation. Unsupported placement owners fail closed, and ambiguous external topic creation is not blindly retried.

Evidence for This Revision

  • Signed head 3ef0f9d0e60dbde99d316cbbb35309773e92dec1 on frozen upstream 9ed1b9d70a88a6bd9701bf9c40cbba556dc87af4; the prior port head was 1759f0814bc3b274d3f6682379810272675cf992.
  • Exact-head deterministic pre-push receipt: passed in a disposable Ubuntu/Node 24.16 container with frozen-lockfile dependencies. The receipt passed frozen-base, revision, clean-worktree, merge-tree, changed-scope, diff, dependency-policy, risk-review, hosted-mirror, and check:changed gates. The separate behavior-proof gate was skipped, not claimed.
  • On that head, session-publication regressions passed 19/19 and the packaged third-party command consumer passed 1/1. The Gateway plugin-reload test that failed in a hosted shard passed on both frozen upstream and this head with pinned dependencies in the disposable container; its production lifecycle files are unchanged in this PR. The export-name checker passes locally. check:changed passed all 27 core test-typecheck shards, extension production/test typechecks, three Knip unused-export scans, targeted core/extension/script lint, import-cycle check, and remaining guards. Full pnpm build passed on the same head.
  • Hosted CI completed successfully on this exact head, including source-contract, changed-test, and aggregate gate jobs.

The real Telegram Bot API, restart, and published-version upgrade qualifications recorded on the previous public head a5dc34a do not qualify this rewritten head. They remain historical evidence of the UX, not current-head transport proof. This revision has not changed the installed OpenClaw package, plugin, or Gateway.

Persistent-Data and Maintainer Decisions

  • Default redaction preserves protected provider IDs; raw transcript archives can retain them after session deletion under the existing archive lifecycle. Session deletion is not identifier erasure. Maintainers should accept this contract or request selective export/redaction/deletion/retention changes.
  • A packaged third-party consumer is generated in a temporary directory by the integration test; this PR adds no dependency or package manifest.
  • Focused regressions cover authority revocation and persistence but do not prove every physical network race. Official Telegram Test Server, real Discord transport, and production-local activation are outside this revision's proof.

@clawsweeper

clawsweeper Bot commented Sep 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 channel: telegram Channel integration: telegram size: XL triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. and removed triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. labels Sep 25, 2026
@clawsweeper clawsweeper Bot added 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. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. proof: telegram-e2e This PR needs Telegram Test Server proof with the repository E2E skill. 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. labels Sep 25, 2026
@clawsweeper

clawsweeper Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge.

What this changes

Adds an invocation-bound plugin capability to fork a Telegram or Discord conversation, replay an exact saved text turn, and restore its previous route.

Example: An authorized plugin requests a branch titled Tangent from Telegram topic 41.

  • Before: The command receives no conversationFork capability.
  • After: The capability can place the branch in topic 99 and return a Back link to topic 41.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Useful extension work with synthetic qualification, two unresolved defects, and an undecided public contract.
Proof confidence 🦐 gold shrimp (3/6) Real behavior proof is necessary before merge. See Before merge.
Patch quality 🦐 gold shrimp (3/6) Security review found an item that needs attention.

Product

Kind: Feature · Worth it: Needs a maintainer decision · Fix scope: Partial
User problem: Messaging users cannot let an independently distributed plugin branch their conversation and provide a safe route back without private host access.
Reason: The extension gap is real and the command can remain outside core. Telegram/Discord text-only support covers part of the linked proposal, while the public mutation capability and persistent return contract require an owner decision.

Merge readiness

⛔ Blocked before merge - 7 items remain

This PR fills a distinct plugin capability gap that current main does not provide. Both previously reported defects remain on the unchanged reviewed head, and the public capability still needs an area-owner decision.

Priority: P2
Reviewed head: 3ef0f9d0e60dbde99d316cbbb35309773e92dec1
Owner decision: Required. See Decision needed.

Decision needed

  • Question: Should third-party owner-authorized commands receive the version-1 fork/replay/Back capability with persistent return receipts and the documented transcript-data lifecycle?
  • Recommendation: Approve the bounded capability: Sponsor the Telegram/Discord text-turn capability and its persistent return contract, subject to resolving defects and qualifying authorization and upgrades.
  • Why: This adds public session and routing authority plus persistent return state; no inspected area-owner decision accepts that contract. Canonical transport identifiers already exist in ordinary transcripts, so acceptance should distinguish existing data from proposed fork-specific additions.

Before merge

  • Add real behavior proof - Authority-chain proof required: show this head's registered-plugin fork/replay/Back flow for an allowed owner and the nearest forbidden owner, including revocation or reassignment before session commit, provider/tool I/O, and queued delivery. The author excludes historical live runs from this rewritten head, and inspected screenshots show unrelated Control UI activity. Redacted Telegram Test Server output or recordings and relevant Discord transport observations should hide credentials, private identifiers, IP addresses, phone numbers, and endpoints. Current-head latest-stable upgrade compatibility for binding metadata, return deadlines, and pending placement records is also unproven. 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.
  • Carry chat type through text-command fork dispatch (P2) - The prior finding remains unresolved on this unchanged head. When an owner replies to a saved user turn with a text-dispatched plugin command, this context forwards replyToId but omits chatType. The fork selector consequently cannot derive conversationRef and falls back to matching transport.conversation; ordinary persistence stores channel and conversationRef instead. The valid reply is rejected as reply_unavailable. Forward the authoritative normalized chat type through this dispatch path.
  • Release child reservations rejected before topic creation (P2) - The prior finding remains unresolved on this unchanged head. If the source binding changes while reserveChildPlacement is awaited, the next assertion throws before service.bind or topic creation starts. The SourceBindingChangedError catch returns without settling the persisted reservation. Later invocations, including Back, then remain pending across restart. Release this operation's reservation on a proven pre-I/O rejection while preserving markers for genuinely ambiguous placement effects.
  • Resolve security concern: Retained replay authority crosses effect boundaries - Replay can outlive its invoking command and reach session creation, provider/tool execution, and channel delivery; the inspected synthetic tests do not establish rejection of revoked or reassigned authority at those real boundaries.
  • Resolve merge risk - Qualify the binding changes against current main through a clean merge and focused routing behavior checks; the supplied test merge is stale.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.
  • Add data-model compatibility proof - The review found that existing stored data may not work after upgrade. Show that existing data still loads and works with this change.

Findings

  • [P2] Carry chat type through text-command fork dispatch — src/auto-reply/reply/commands-context.ts:40-42
  • [P2] Release child reservations rejected before topic creation — src/plugins/plugin-command-conversation-fork.ts:456-462
  • [medium] Retained replay authority crosses effect boundaries — src/plugins/plugin-command-conversation-fork.ts:492

Tests

  • Low-value test src/plugins/plugin-command-conversation-fork-reply-cut.test.ts: Remove this forwarding-wrapper test: it asserts that a mock receives the supplied arguments and returns its own supplied result.
  • Low-value test src/plugins/plugin-command-fork-source-target.test.ts: reads persistent fork source metadata through the worker-backed resolver: Remove this mock-call-shape test; it verifies forwarding and fixture-provided data, while the separate revocation case protects meaningful behavior.
  • Missing end-to-end proof: Current-head registered-plugin fork/replay/restart/Back, allowed and forbidden final effects, and a latest-stable upgrade preserving routes, deadlines, transcript state, and settings remain unqualified.
Agent review details

How this fits together

Plugin commands receive host-resolved messaging and session context. The proposed capability connects existing session-fork, conversation-binding, and reply-delivery owners while keeping their mutations inside OpenClaw.

flowchart TD
 A[Authorized plugin command] --> B[Invocation-bound capability]
 B --> C[Check owner and current route]
 C --> D[Select saved text or conversation tip]
 D --> E[Existing session fork owner]
 E --> F[Channel binding owner]
 F --> G[Replay and deliver reply]
 F --> H[Restore route or return source link]
Loading

Technical review

Best possible solution:

If sponsored, keep the plugin-facing contract narrow and compose the existing session, binding, and delivery owners, with reliable return settlement and explicit persistent-state semantics.

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

Yes for the patch defects: source shows a valid saved reply rejected by text-command dispatch and a pre-topic binding change leaving a durable reservation pending. No runtime reproduction was executed in this read-only review.

Is this the best way to solve the issue?

Unclear: a narrow host capability fits the extension gap and reuses canonical fork transactions, but the proposed combined authority and persistence contract needs owner acceptance.

Full review comments:

  • [P2] Carry chat type through text-command fork dispatch — src/auto-reply/reply/commands-context.ts:40-42
    The prior finding remains unresolved on this unchanged head. When an owner replies to a saved user turn with a text-dispatched plugin command, this context forwards replyToId but omits chatType. The fork selector consequently cannot derive conversationRef and falls back to matching transport.conversation; ordinary persistence stores channel and conversationRef instead. The valid reply is rejected as reply_unavailable. Forward the authoritative normalized chat type through this dispatch path.
    Confidence: 0.99
  • [P2] Release child reservations rejected before topic creation — src/plugins/plugin-command-conversation-fork.ts:456-462
    The prior finding remains unresolved on this unchanged head. If the source binding changes while reserveChildPlacement is awaited, the next assertion throws before service.bind or topic creation starts. The SourceBindingChangedError catch returns without settling the persisted reservation. Later invocations, including Back, then remain pending across restart. Release this operation's reservation on a proven pre-I/O rejection while preserving markers for genuinely ambiguous placement effects.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.97

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 6b2afbfe981a.

Merge-risk options

Maintainer options:

  1. Qualify the integrated binding owners (recommended)
    Check a clean merge against current main and exercise placement, next-turn routing, and Back with its binding-owner changes.

Provenance checked

Testing

Proof path: in-process harness.

Security

Needs attention: No concrete authorization bypass or supply-chain regression was established, but the retained replay authority needs final-effect qualification.

Evidence

Security concerns:

  • [medium] Retained replay authority crosses effect boundaries — src/plugins/plugin-command-conversation-fork.ts:492
    Replay can outlive its invoking command and reach session creation, provider/tool execution, and channel delivery; the inspected synthetic tests do not establish rejection of revoked or reassigned authority at those real boundaries.
    Confidence: 0.96

What I checked:

  • Pinned introduced changes: Inspected the merge-base-to-head production changes independently of endpoint drift; the checkout remains clean. (3ef0f9d0e60d)
  • Text-command reply selection: The changed text-command context forwards replyToId but omits chatType. The reply selector needs chatType to derive conversationRef; its fallback instead expects transport.conversation. (src/auto-reply/reply/commands-context.ts:40, 3ef0f9d0e60d)
  • Canonical persisted transport shape: Ordinary user-turn persistence already records channel, conversationRef, and messageId, rather than the fallback conversation object. The new attachment helper has only test callers, so those tests do not establish ordinary production attachment of that object. (src/auto-reply/reply/get-reply-run-execute.ts:302, 3ef0f9d0e60d)
  • Durable reservation leak: A successful child reservation precedes assertSourceBinding. Its SourceBindingChangedError handler returns without settling the reservation; prepare, execute, back, and status subsequently return pending. (src/plugins/plugin-command-conversation-fork.ts:456, 3ef0f9d0e60d)
  • Current-head proof limits: The captured PR body, sourceRevision 0bb395f3bb827044e9c00948150f1786b0204ac4bbe46afecba5a90f2c57f83a, explicitly excludes older Telegram transport, restart, and upgrade runs from qualification of this rewritten head. Current validation is deterministic checks and synthetic tests. (3ef0f9d0e60d)
  • Inspected downloaded media: Both prepared images show Control UI conversation checkpoints and task progress; neither shows registered-plugin fork, replay, placement, or Back behavior.

Likely related people:

  • Peter Steinberger: Raw commit c69b8b9 adds src/plugins/plugin-command-execution.ts:202 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: c69b8b986867; files: src/plugins/plugin-command-execution.ts)

PR surface

PR surface statistics unavailable: the file list is incomplete.

Review metrics

Metric Value Why it matters
Public command capabilities 2 added: getCurrentConversation and conversationFork These expand the plugin command contract, including a new host-controlled mutation capability.

Root-cause cluster

Relationship: partial_overlap
Canonical: #157627
Summary: This PR supplies part of the broader plugin-supported conversation-fork proposal; the native command is a distinct implementation direction.

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: This is a bounded workflow improvement rather than an established production incident.
  • merge-risk: 🚨 compatibility: The PR expands public plugin contracts and persisted binding metadata, with current-head upgrade and integrated-base qualification unresolved.
  • merge-risk: 🚨 security-boundary: Plugins gain invocation-bound session and routing effects, and retained replay authority remains unqualified at real final-effect boundaries.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🦐 gold shrimp.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask.
  • proof: telegram-e2e: This PR needs Telegram Test Server proof with the repository E2E skill. A consuming plugin changes visible Telegram topic placement, saved-turn replay, and Back navigation, which need the Telegram Test Server userbot flow.

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 (16 earlier review cycles; latest 8 shown)
  • reviewed 2026-10-01T10:38:31.721Z sha 491ba325e7a7a2cee236c2ceec70d0dd12250572 :: needs real behavior proof before merge. :: [P1] Ignore benign activity refreshes when fencing a fork route | [P1] Give queued replay delivery its own execution lifetime
  • reviewed 2026-10-01T11:37:06.785Z sha 03c2400dda6803b05a5a45f9dcc64653f657c8eb :: needs real behavior proof before merge. :: [P1] [P1] Ignore benign activity refreshes when fencing a fork route | [P1] [P1] Give queued replay delivery its own execution lifetime | [P1] [P1] Fence queued origin sends with the retained replay authority
  • reviewed 2026-10-01T13:17:22.057Z sha f5e9ed1558cfa47f9e462f4295fbb4ea8fbf4d0f :: needs real behavior proof before merge. :: [P1] [P1] Withhold fork capability from incompatible binding adapters | [P2] [P2] Preserve uncertain topic creation before allowing ticket reuse | [P2] [P2] Run reply-fork database mutation through the worker owner
  • reviewed 2026-10-01T19:50:12.153Z sha cbd27e727339e580fa5b9dcdcebe25e9688d2044 :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-01T20:53:08.979Z sha a5dc34a965abe198fecc4045bd9ed2a7f7458ee9 :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-01T21:06:27.677Z sha a5dc34a965abe198fecc4045bd9ed2a7f7458ee9 :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-08T22:01:37.124Z sha 1759f08 :: needs real behavior proof before merge. :: [P2] Carry chat type through text-command fork dispatch
  • reviewed 2026-10-08T23:19:55.319Z sha 3ef0f9d :: needs real behavior proof before merge. :: [P2] Carry chat type through text-command fork dispatch | [P2] Release child reservations rejected before topic creation

Reviewed October 8, 2026, 7:39 PM ET / 23:39 UTC (Revision 17).

@clawSean
clawSean marked this pull request as draft September 30, 2026 18:02
@clawSean
clawSean force-pushed the feat/plugin-conversation-fork branch from 860e156 to 581bfd3 Compare September 30, 2026 18:06
@openclaw-barnacle openclaw-barnacle Bot added channel: discord Channel integration: discord agents Agent runtime and tooling labels Sep 30, 2026
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. P2 Normal backlog priority with limited blast radius. and removed P2 Normal backlog priority with limited blast radius. P1 High-priority user-facing bug, regression, or broken workflow. labels Sep 30, 2026
@clawSean
clawSean force-pushed the feat/plugin-conversation-fork branch from 581bfd3 to 9cffdbf Compare October 1, 2026 02:00
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Oct 1, 2026
@clawSean
clawSean force-pushed the feat/plugin-conversation-fork branch 2 times, most recently from 180891b to 19d38e9 Compare October 1, 2026 08:30
@openclaw-barnacle openclaw-barnacle Bot added the docs Improvements or additions to documentation label Oct 1, 2026
@github-actions github-actions Bot added the dependencies-changed PR changes dependency-related files label Oct 1, 2026
@github-actions

github-actions Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Dependency graph guard cleared

This PR no longer has dependency changes awaiting review. A future dependency graph change from an external contributor requires a maintainer's /allow-dependencies-change comment after the guard notice identifies that revision.

  • Current SHA: 3ef0f9d0e60dbde99d316cbbb35309773e92dec1

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. labels Oct 1, 2026
@clawSean
clawSean force-pushed the feat/plugin-conversation-fork branch from cbd27e7 to a5dc34a Compare October 1, 2026 20:43
@clawSean

clawSean commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

Exact-head validation for a5dc34a965abe198fecc4045bd9ed2a7f7458ee9 (plugin API PR only; native /fork is separate #162287):

  • Node 26.7/frozen-dependency pnpm check:changed, pnpm build, and the deterministic pre-PR wrapper all exited 0. Wrapper: 10m42s, selected node/Windows/changed-smoke/fast-install lanes. Build: 7m11s. Focused plugin host/replay 41/41 (4.13s), SQLite message cut 13/13 (27.21s), queue Stop 21/21 (3.65s Vitest), overflow companion 43/43 (8.90s), and two packaged plugin consumers 2/2 (2.52s) passed. Package inventory/extracted import-graph integrity passed; candidate tarball SHA-256 22cc1819a7ab587da3bc55a426db372e86c5de6382355f197f1866120c97df8d.
  • Four serialized real Telegram Bot API scenarios passed on dedicated QA bots with a disposable loopback-only Gateway/mock provider and published dev.2 plugin pinned by SHA-256 170dcf17ca2a23edc7fbfd847a95972a829d042ef5818c5ba87f9378c5265160: flat fork→process restart→Back (14/14 messages deleted); exact reply to an earlier user turn with selected history present, later source turn excluded in child and restored after Back (19/19 deleted); forum child topic→restart→Back/source link (14/14 messages and 2/2 run-owned topics deleted); published 2026.9.6→candidate updater ok, schema 18/23→20/24, plugin fork/restart/Back, stock rollback to 18/23 with baseline context continuation (18/18 deleted). Every case checked forbidden-owner denial without a binding/model effect. Cleanup was read back in each run.
  • This head repairs two branch-caused non-draft CI failures from cbd27e7: synthetic overflow Stop custody preserved by retaining exact run identity, and the dynamically loaded independent plugin fixture registered as a narrow Knip root. Dependency, unused-file, and export scans pass locally. Two other old hosted gateway shards failed on unchanged tests and passed targeted locally (143/143); new-head hosted CI is still the authority.
  • A new hermetic fixture test/fixtures/conversation-fork-workflow/package.json declares no external dependencies, but the dependency-graph policy requires a maintainer to post /allow-dependencies-change for this exact PR SHA. Any later push resets that approval. This is an explicit policy gate, not an asserted dependency vulnerability.

Proof boundary: bot-to-bot QA is not the official Telegram Test Server/human client, Discord network, production rollout, or a physical revoked-owner race through non-mocked model/tool I/O. Default transcript redaction retains the new protected transport IDs, raw archives export them, and deletion can retain them in .jsonl.deleted.* with default archive retention null; maintainers need to accept or revise this data lifecycle and SDK contract. Production OpenClaw/config/plugin stayed stock. ClawSweeper Rev12 reviewed the superseded cbd27e7 head with no code findings; this head needs fresh review and hosted CI.

@clawSean
clawSean force-pushed the feat/plugin-conversation-fork branch from a5dc34a to 1759f08 Compare October 8, 2026 21:52
@github-actions github-actions Bot removed the dependencies-changed PR changes dependency-related files label Oct 8, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the gateway Gateway runtime label Oct 8, 2026
@clawSean

clawSean commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

Upstream reconciliation

The core channel workflow has now landed through #190783 (b515cc7f9f1f): native /fork [title] for Telegram forum topics, built on OpenClaw's existing session-fork and conversation-binding owners.

That merge does not add this PR's general third-party plugin capability, cross-channel placement/fallback, reply-to-earlier-turn replay, or return-stack contract. Those remain separate product/API decisions.

I will not rebase or expand this conflicting API proposal merely to duplicate the merged native slice. The branch remains available as implementation/proof history if maintainers later want the broader invocation-bound plugin contract.

This branch has not been deployed

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

Labels

agents Agent runtime and tooling channel: discord Channel integration: discord channel: telegram Channel integration: telegram docs Improvements or additions to documentation 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. P2 Normal backlog priority with limited blast radius. plugin: file-transfer proof: telegram-e2e This PR needs Telegram Test Server proof with the repository E2E skill. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XL 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.

1 participant